Nav 2015 - Report printing - Possible to do asynchronous printing?

Kevinsanity
Member Posts: 8
Hello all,
Currently I have a background process which will complete tasks through out the day. One thing that it will do is print out reports; however what I notice is that once the report has run and the pages start printing (and you see the window that displays "Printing xxxx Page X of Y") the background process is blocked until the window disappears, so that even through the report has run, until the pages are completely finished sending to the printer, the process is not able to continue.
Is there a way around this as sometimes we have big prints that block the process for a while. Remember that the report is not really the problem, but the actual printing side of it.
I tried to put the report in a STARTSESSION but I believe that process has issues printing due to permissions etc on the server so I was looking for an alternate
Thanks
Currently I have a background process which will complete tasks through out the day. One thing that it will do is print out reports; however what I notice is that once the report has run and the pages start printing (and you see the window that displays "Printing xxxx Page X of Y") the background process is blocked until the window disappears, so that even through the report has run, until the pages are completely finished sending to the printer, the process is not able to continue.
Is there a way around this as sometimes we have big prints that block the process for a while. Remember that the report is not really the problem, but the actual printing side of it.
I tried to put the report in a STARTSESSION but I believe that process has issues printing due to permissions etc on the server so I was looking for an alternate
Thanks
0
Answers
-
Hey,
My first assumption is, that the report is called with RUNMODAL.
Try to call it with RUN instead.
Alternatively, you could think about to outsource the printing into an independent step, executed in the evening or so.
Good luck,My blog - https://www.HannesHolst.com/0 -
Hi HannesHolst,
No it is using RUN not RUNMODAL and unfortunately the printing needs to occur at that time. For further clarification the printing is actually printing barcode stickers for a warehouse, so a user may start something that prints these stickers, and while they are printing they are blocking other users from doing things as well0 -
I suggest instead of printing it to save it to PDF. and open it with pdf viewer and printing separately in the background.0
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