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
----------------------------------------------
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"
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.