Skip to main content
June 17, 2020
Question

Print from command line

  • June 17, 2020
  • 3 replies
  • 10370 views

Hi

How can I Print PDF file from the command line ?

Thanks and Regards

Alon

This topic has been closed for replies.

3 replies

Participant
February 13, 2024

for %%d in (%WorkDirectory%\in\*.pdf) do start AcroRd32.exe /n /s /o /h /t %%d PDFCreator & timeout 4 & taskkill /IM AcroRd32.exe

Participant
February 13, 2024

Try with a loop and kill AcroRd32
For %%d in (%WorkDirectory%\in\*.pdf) do start AcroRd32.exe /n /s /o /h /t %%d PDFCreator & timeout 4 & taskkill AcroRd32.exe

Participant
February 13, 2024

ignore 

Bernd Alheit
Community Expert
Community Expert
June 17, 2020
June 17, 2020

there is somthing with AcroRd32.exe, can any one give some more details about it ?

Thank you

June 18, 2020

Okay,

 

Now I can print using AcroRd32.exe,

is there a way to know when I can kill the process ?

maybe a paramter that I can send to the AcroRd32.exe - and get back the status ?

 

or even better - is there a way to ask AcroRd32.exe to step down once the printing is finished ?

Many thanks for you help !

Alon