hi all
I am working with nav 2009 R2 in classic client. we have a web application connected to navision by WebService, my customer wants to print a report from the pda and send it to a navision configured printer. The report has a layout and i can create the pdf by report function SAVEASPDF but i don´t know how to send this file to a printer.
i have searched in mibuso but almost everything talking about pdf creator (but i have pdf file).
This is the link that convinces me the most, but doesn´t work for me
http://dynamicslancer.blogspot.com.es/2016/09/how-to-print-pdf-file-directly-to.html
there is another way to do this.
thanks. regards
Answers
If your language is not English you must change the verb name from PRINT to yur local language,
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
The problem i have is how to print a pdf but i have to do this by WS as i have wrote in my topic.
i don´t know why you have moved the topic. maybe a solution works for classic client but maybe doesn´t work for web services. because of this i put the topic in 'NAV Three Tier' forum.
regards.
i have tried your code but NAV send me this error
"the call to member Star failed: No application is asssociated with the specified file for this operation"
i can´t asociate a file when whe have to print. maybe in the Arguments i have to put the printer name.
thanks.Regards
If the file is a PDF you need to have installed Adobe Acrobat Reader, Foxit Reader or other application that deal with PDF files.
You can try to print a Word file (.docx or .doc) in case you have Office installed.
Regards