Name of output file / report printing

Maik_Swiss
Member Posts: 17
hi out there,
nice to have a source where good ppl help newbs like me
I have a question about the output file name when printing a report.
We have a report called order, when i print the report it is send to the printer with the name order.
Due to remote printing we cant see what we print. Now and then one jobs is not printed, is seems it get lost on the way to the printer.
The printer stores the jobs in a log, so we can see that there are x jobs done, the problem is, the jobs have all the same name "order".
If there is a way to define a unique name for each printfile, it would be so easy to keep track.
ie. we have a Order Number, if it is possible to name the file like order12345 where the number is taken from the order number.
So my question is, is there a way to control the name of the output file.
Hoop you'll have the answers for me,
regards
maik
we use MS Dynamice NAV 5 SP1
nice to have a source where good ppl help newbs like me

I have a question about the output file name when printing a report.
We have a report called order, when i print the report it is send to the printer with the name order.
Due to remote printing we cant see what we print. Now and then one jobs is not printed, is seems it get lost on the way to the printer.
The printer stores the jobs in a log, so we can see that there are x jobs done, the problem is, the jobs have all the same name "order".
If there is a way to define a unique name for each printfile, it would be so easy to keep track.
ie. we have a Order Number, if it is possible to name the file like order12345 where the number is taken from the order number.
So my question is, is there a way to control the name of the output file.
Hoop you'll have the answers for me,
regards
maik
we use MS Dynamice NAV 5 SP1
0
Comments
-
No there is no option to change the name. The name of the printed job is the name of the report ID.
You could some code to change the name of the report in the object table, but I wouldn't suggest it.
You can suggest. this to MS as feature to name the printing job with filters associated with the report.0 -
A workaround is to use pdfcreator/bullzip and change your code to save it as pdf file first and then send it to printer. this way you can control the name of the pdf file.0
-
If the log is timestamped you could log when a report is printed. Then you can compare the logs to see what order is missing.0
-
Maybe i need to give some more info.
We need PrinterShare to deliver the "order" printouts to two external offices.
It was quiet hard to tech the stuff to chose another printer, so the solution must be very easy.
The workaround:
User x prints the report "order" and select "External Office" (PrinterShare)" as printer, than the Window pops up to select one of the locations.
PrinterShare shows than a status "delivered success"
Now it occur, that a job does not reach the external office, atm i cant find out if this is a user fault or PrinterShare has some troubles.
On my test prints, around 100 Pages from diff locations, there was 100% success.
PrinterShare sends a status mail, when the job is finished on the other end. This contains, Time of sending, time of printing and job name (order)
If it is successful printed, there is no need of other informations.
In the case a job is lost, i have no status mail and i have not enough information to determine, with job has failed.
There are 3 users printing to diff times, and it occur that they send 30-50 jobs within 30min from each station.
So only the send time isnt enough to check witch job is lost.
Only a unique Job ID ie Order1234 makes it easy or possible to track the job.
I need to make sure, that 100% of the jobs are printed because it is really necessary that a job isnt printed two times.
We will look forward to get a fitting solution, thx for any input so far.
greetings
Maik0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions