Then follow this with more PDF data and then end the job like EOJ NAME = "paultest2.pdf" In my example I am printing another PDF document right away within the same job but from a different tray, like SET MEDIASOURCE = ENTER LANGUAGE = PDF After the PDF you either need to end the job or specify more further printing control. After a bit of trial and error I found that this is actually quite straightforward, and thought I would post the code as I was not able to find any working JOB NAME = "paultest2.pdf" DISPLAY = "Printing & Stapling SET SET SET SET MEDIASOURCE = ENTER LANGUAGE = PDFĪfter setting up the job with the above, you can then add the PDF code.
The key being to set the printer language/personality to PDF and then using the UEL (Universal Exit Language) command to issue more control commands. It is possible however to setup a print job with PJL commands and include the PDF documents within that job.
#Hp laserjet p4015n error stvl0 srvp.s1 how to#
HP Direct PDF printing is a great cross platform driverless printing mechanism which I have used for a number of customers with great results.Ī common problem with Direct PDF printing is that it is not possible to include any printer control commands such as tray calls within the PDF and lots of people have been asking how to do this – I checked with HP Technical support and was told it is not possible.