How to see the file name or document name which printed in the printer spool?

We are using your pdfprinter dll as part of our printing solution , and we found that we cannot get the correct document name in the printer spool.

We use the command pdfprint -$ XXXXXXXXXXXXXXXXXXX -printer "\\192.168.1.10\Brother HL-5450DN" -shell "C:/Users/admin/AppData/Local/ Print/MyDocument.pdf"

But in the printer spool we see some weird name like pdf8E36tmp.pdf as you can see in the below image.

Please tell us which argument to add to the pdfprint so we can see the correct file name.

Thank you,
Customer
----------------------------------------------

image
Thanks for your message, this document name is set by Adobe Reader application, however, you may use "-jobdocname" to change the document name for the print job, for example,

pdfprint.exe -jobdocname "test.doc" -jobusername "MyName" C:\input.pdf

pdfprint.exe -jobdocname "test.doc" -printer "\\resta\Brother HL-5450DN" "C:/Users/chaim.sternbuch/AppData/Local/ Print/MyDocument.pdf"

pdfprint.exe -jobdocname "test.doc" -printer "\\resta\Brother HL-5450DN" -raster2 "C:/Users/chaim.sternbuch/AppData/Local/ Print/MyDocument.pdf"

image

Please notice, the -jobdocname will not work if you use -shell option, you need remove -shell option in order to make -jobdocname option to work properly.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
How to see the file name or document name which printed in the printer spool?, 10.0 out of 10 based on 1 rating

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!