Autoprinting a PDF


#1

Hi
Trying to print a PDF from a batch file using PDF Creator.
I want to choose a profile from PDF creator to pick up the printer stored against it. My batch file is as follows:

Start C:“Program Files”\PDFCreator\PDFCreator.exe /PrintFile=“C:\Users\nick\Desktop\Shelf-01.pdf” /PrinterName=“PDFCreator” /Profile=“Profile1”

Doesn’t seem to work - can anyone see what is wrong?

Thanks


#2

Hi,

the /PrintFile parameter relies on finding a correctly registered “print to” shell verb / command for the file type which you’d like to convert from. Please try using /PdfFile instead, this will directly convert the PDF instead of sending it through the virtual printer and doesn’t rely on any Windows registry settings.

Best regards

Robin


#3

Hi Robin.
Thanks for your reply and sorry for the delay in replying.
I’ve tried this:
Start C:“Program Files”\PDFCreator\PDFCreator.exe /PdfFile=“y:\Printed\ToPrint.pdf” /PrinterName=“PDFCreator” /Profile=“Shelf01”
(also tried without /PrinterName=“PDFCreator” )
Nothing prints… any thoughts?


#4

Hi,

it does look correct on first sight, What happens if you drag&drop the PDF onto a PDFCreator window with the “Shelf01” profile selected for your default PDFCreator printer?
Are there any error messages inside the PDFCreator log (%localappdata%\PDFCreator\PDFCreator.log)?

Best regards

Robin