Classic Report using a Codeunit Web Service
bbender
Member Posts: 28
Is there a way to print a report via a Codeunit Web Service?
I saw the sample where it takes a Reporting Service Report and save as PDF, but we want to actually print the report out.
Thanks,
Bruce Bender
I saw the sample where it takes a Reporting Service Report and save as PDF, but we want to actually print the report out.
Thanks,
Bruce Bender
0
Comments
-
And how the web service could know on which printer you want to print it? :-)
Did you tried it? Just instead the saving it as PDF, try to print it... it is easy test...0 -
Printing definitely does not work form a web service.
SAVEASPDF will work but only if the RDLC has been defined; this does not work for rendering with the classic client.
I use SAVEASPDF and then a command line tool to print the PDF (which can executed with the RUN method of Windows Script Host).0 -
We set the report not to use request form and that it would use the system printer.
or we were going to set the Report in Printer Selection to go to a specific printer.
We tried the first way and in the App that calls the Web Service, it comes back with an error.
I could give exact error, but the guy that the software is on, is not in yet.
This is why I posted something, we've tried it and it did not work.
We were wondering if their is a work around or a bug with Web Services.
This is NAV 2009 SP1, so it has the latest changes to the Web Services...
Thanks,
Bruce0 -
Which command line do you use to print the PDF?
I think the report is setup as a RDLC report.
Thanks,
Bruce0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
