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
Thank you,
Bruce Bender
Solution Developer
BruceB@SolutionDynamics.net
Solution Dynamics, Inc.
0
Comments
Did you tried it? Just instead the saving it as PDF, try to print it... it is easy test...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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).
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,
Bruce
Bruce Bender
Solution Developer
BruceB@SolutionDynamics.net
Solution Dynamics, Inc.
I think the report is setup as a RDLC report.
Thanks,
Bruce
Bruce Bender
Solution Developer
BruceB@SolutionDynamics.net
Solution Dynamics, Inc.