Hi, I'm working on a project and the customer asks me to print PDF-files from within navision. Because he doesn't want to see a dialogbox each time, I'm working with /t instead of /p. I do the following:
AcrobatPathName := 'C:\AddOn\AcrobatReader\Reader\AcroRd32.exe';
FileName := 'C:\document1.pdf';
PrinterName := '\\maggy\BROTHER';
SHELL(AcrobatPathName + ' /t ' + FileName + PrinterName)
Does anybody knows what I do wrong here?
Thanks!
R.
0
Comments
AcrobatPathName /t FileName PrinterName
Everything is working fine but now I want to call acrobat in the invisible-mode. (or close it back again at the end). In the Acrobat Reader version 4.0, "/t" has the following meaning: Print the PDF without print-dialogbox and run Acrobat in invisible mode. But I am working with the Acrobat 5.0 version and here the "/t" means that he's only not showing the printer-dialogbox... Does anybody knows how I can run Acrobat 5.0 in the invisible-mode or how I can close it in my batchfile? (maybe this solution is even better because otherwise Acrobat is still open).
Thanks
R.