Bastien
9th November 2005, 14:05
Hello,
I'm trying to launch the printing of a pdf file from BaanV, on the client (or server) using AcrobatReader.
It works fine, but the AcrobatReader program remains opened after the printing, and I don't know how to close it automatically. I also tried unsuccesfully some options (/t ...) from the AcrobatReader help in the command line...
Thanks in advance for your lights!
nick66
9th November 2005, 14:55
Hi Bastien,
I had the same problem, and eventually ended up using a small program called pdfp.exe in stead of acrobat reader to print pdf-files. I found it here: http://forum.planetpdf.com/wb/default.asp?action=9&read=36960&fid=52#129012
Hope this helps,
Nick
p.cole
9th November 2005, 14:56
I don't know of a way of getting Acrobat Reader to automatically print a PDF file. I have ended up opening the pdf file on the users screen in Reader and making them hit the print button.
I know that some printer/photocopiers will print PDFs directly, so you maybe able to send it directly.
Another idea may be to convert the PDF to a postscript (or whatever raster format the printer requires) file using Ghostscript on the server and then send the file directly to the printer. (I've used this method in the past)
george7a
9th November 2005, 15:10
I don't know of a way of getting Acrobat Reader to automatically print a PDF file. I have ended up opening the pdf file on the users screen in Reader and making them hit the print button.
Acroread32.exe /p <FULL FILE NAME> will print the pdf file.. but as mentioned before it won't close unless the process was killed.