Retirement Notice
|
|
User login
|
|
Frontpage Sponsor
|
|
Poll
|
What do you expect from your SI Implementation partner for the success of ERP implementation. Bring best practices - Not to offer more CR's Leveraging standard functions 20% Need more honesty to work with the Users until their processes are fully mapped & Users are trained 40% Focus on process automation/ integrations/ Real time data/ BI analytics 13% Stick to basics 27% Total votes: 15 |
|
|
 |

20th September 2023, 06:56
|
 |
Senior Member
|
|
Join Date: Jul 2017
Location: Bangkok, Thailand
Posts: 293
|
|
Baan: LN 10.5, 10.6, 10.7 -
DB: MSSQL -
OS: Windows
|
How to reprint a report from tmp file?
Baan: Infor ERP 10.5 C/S: Server
A report was printed via a session that cannot be done again. The user didn't save the report file. So, they want to have that report file.
We tried to search for tmp files in the server to see if we could get the report that way, but no luck. The tmp files cannot be opened even though we changed the extension to .pdf.
We even tried renamed the extension of the tmp file to .bpf and opened it with bwprint, but only get the xml-like codes as text as a result.
How to reprint a report from tmp file?
or, better, is there any other way to achieve this task?
Last edited by tmannais : 20th September 2023 at 07:37.
Reason: changed format typo
|

20th September 2023, 14:12
|
Senior Member
|
|
Join Date: Jun 2004
Posts: 262
|
|
Baan: Baan4, LN6.1 -
DB: MSSQL -
OS: Linux&Windows
|
I guess you tried to reprint it using the Device Queue (ttaad3520m000) and it didn't work?
It may be, that the setup of the printer is not keeping the output. (This is our setup of the display device in LN 10.7. It generated an PDF, but this will be deleted right after printing is completed).
All I can think of, if you have the tmp file and it does contain readable characters, is trying to convert it with an editor (I use Ultraedit, others use Notepad+). So, you will be able to restore most of the printed information, but not the PDF itself.
|

20th September 2023, 18:22
|
 |
Guru
|
|
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,819
|
|
Baan: Baan 4C4 A&D1 -
DB: Oracle -
OS: Sun Solaris
|
In 4c4 when we setup users we had a delete delay time for the users. What that did was how long to keep the tmp files before they were deleted. Now as Andreas mentioned you can use the device queue to try to re-print the report - but if I recall on our system after about 2 days you could not reprint from the device queue (could have been 1 day).
__________________
Mark
GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
|

21st September 2023, 04:44
|
 |
Senior Member
|
|
Join Date: Jul 2017
Location: Bangkok, Thailand
Posts: 293
|
|
Baan: LN 10.5, 10.6, 10.7 -
DB: MSSQL -
OS: Windows
|
Thanks @andreas.toepper and @mark_h.
I did try the Device Queue (ttaad3520m000) but there is no record for that report to reprint. Maybe it is deleted as you suggested.
Is there any other way?
|

21st September 2023, 10:24
|
Senior Member
|
|
Join Date: Jun 2004
Posts: 262
|
|
Baan: Baan4, LN6.1 -
DB: MSSQL -
OS: Linux&Windows
|
It may depend on the setup of the printer. If you are using DOM (Document Output Management) there may be a directory in BSE/tmp, which holds copies of generated output (it may be call "outbox"). But I think this is related to creating mails from LN with DOM.
Maybe the user downloaded the PDF on his client, then you may want to check the download list of the used browser. I don't think you may find something in the browser cache.
|

23rd September 2023, 22:38
|
 |
Guru
|
|
Join Date: Mar 2002
Location: NetherBelgium
Posts: 1,376
|
|
Baan: Infor LN 6.1 10.2.1 > 10.7 -
DB: MS SQL2017 -
OS: VM WindowsServer2016
|
Quote:
Originally Posted by tmannais
A report was printed via a session that cannot be done again. The user didn't save the report file. So, they want to have that report file.
We tried to search for tmp files in the server to see if we could get the report that way, but no luck. The tmp files cannot be opened even though we changed the extension to .pdf.
We even tried renamed the extension of the tmp file to .bpf and opened it with bwprint, but only get the xml-like codes as text as a result.
How to reprint a report from tmp file?
or, better, is there any other way to achieve this task?
|
tmp files in the $BSE/tmp are "short lived" (depending on sysadmin setup effort) but normally (depeding on device queue) if you have the correct file (grep on content keywords) renaming the file to tmp*.bpf and opening the file in bwprint could work.
__________________
Also read Luke 24:4-8
After that you can find many answers on Infor, LN, BaanIV, BaanV, InforLN and ION and even some questions asked here on baanboard.com
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|