Questions tagged [pjl]

The Printer Job Language(PJL) is an extension to the Printer Control Language(PCL) that provides a protocol for communication between a printer and a print server or remote computer.

PJL was defined and implemented by Hewlett-Packard. Any device that supports PCL can also support PJL commands.

References

19 questions
0
votes
1 answer

Java printing PDF with options (staple, duplex, etc)

I have a java program that prints PDFs. It uses Apache PDFBox to create a PDDocument object (from a pdf document or from a stream in some cases) and then sends it to the printer using the javax.print API: private boolean print(File pdf, String…
egerardus
  • 11,316
  • 12
  • 80
  • 123
0
votes
1 answer

Set page scaling in PJL

I have to write a functionality that takes a PDF-document and sends it to a printer with some PJL commands. So far so good, I take the document, convert it to Postscript, send the postscript file to the printer with the required commands and the…
Century
  • 285
  • 6
  • 20
0
votes
3 answers

PJL command to set orientation

I have tried setting the number of copies using PJL and got it working. However I could not get the @PJL SET ORIENTATION=LANDSCAPE working. It always prints in Portrait. I am also looking for options to print particular page range say from page 2 to…
Rachel
  • 763
  • 14
  • 29
0
votes
1 answer

PJL status readback commands

How to receive respond on Windows from printer after send PJL command? I tried to spy network printer with WireShark and read printer socket directly but nothing work.
tosiek
  • 1
  • 2
1
2