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
6
votes
1 answer

Add PJL command into PDF file with PHP code

How can I insert a PJL command into PDF without having to convert PDF to PostScript *STARTPJL @PJL SET STAPLE=LEFTTOP *ENDPJL after I send it to printer via FTP or LPR. I'm using Zend_Pdf to create PDF documents. **I tried unsuccessfully this…
jack.cap.rooney
  • 1,306
  • 3
  • 21
  • 37
3
votes
2 answers

Problems printing PostScript files with PJL commands using gsprint

We have developed an in-house printing solution that allows users to manage their prints (audit/merge/review/send to multiple printers) etc... but we are having issues with the very end of the process - the final print. Currently our solution stores…
Martyn
  • 229
  • 2
  • 12
2
votes
1 answer

Okidata MB760, MB492, etc. PJL commands

I have used PJL commands with some HP printers to set printer control panel display message and duplexing of PDF documents. I have some customers with similar requirements using Okidata MB760 and MB492 machines. I know the Okidata machines support…
2
votes
1 answer

How to programmatically achieve editing of the spool file header of the normal windows print queue 'spool file' before it is sent to the printer?

How to intercept and change the windows 7 print spool file (.SPL) to add some additional information in the header like '@PJL SET NAME="PainPoint" ' before this file is sent to the printer during the execution of the print job? The .SPL file partial…
PainPoints
  • 461
  • 8
  • 20
2
votes
2 answers

JAVA sockets - execute PJL command

In Java, I am trying to connect to a printer(Canon iR5050 PCL6) using Sockets, using the host IP with port as 9010. I want to get the status of the printer using PJL command. I write the PJL command (\x1B%-12345X@PJL INFO USTATUS…
Rachel
  • 763
  • 14
  • 29
1
vote
0 answers

How to Cancel a Printing Job using PJL and Java after throwing it over netwok?

I have a problem with printing jobs cancellation where I can print success after executing a print method using java like this public static void print(byte[] bytes, String jobName, String printerIpAdd, Integer printerPort, String trayNumber)…
1
vote
0 answers

Printing to port 9100 with PJL and Python

I believe this code should work to print a PDF directly to most printers on port 9100. This source and this one among others seems to agree on the details. My printer wakes up and seems to "spool a job" for a moment, but then just goes quiet…
Alias_Knagg
  • 886
  • 1
  • 7
  • 21
1
vote
1 answer

Using Java to send PJL commands to HP 4515 Printer

I am trying to send Printer Job Language commands to a HP 4515 printer. However, the printer does not print anything. Below is my code. The printer is located remotely and I can only ask someone there to check if anything is printed out.…
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
1
vote
1 answer

Printing using HP Printer via LPR - PJL with PS

I am using the printer HP LaserJet 5000 Series PCL6. Trying to set print attributes like copies and orientation using PJL. Using PostScript as the underlying job language. I am using LPR command (lpr -S{IP} -P{IP} test.txt) to run the below code to…
Rachel
  • 763
  • 14
  • 29
1
vote
1 answer

Delphi: PJL commands to printer and reading the responses back

Im struggling with getting information back from the printer when sending PJL to the printer. The printer supports PJL and it is a USB printer. Now getting information / examples seems to be a problem or I'm looking at the wrong places. I know on…
Paul
  • 157
  • 1
  • 2
  • 14
1
vote
0 answers

PJL commands added to a PCL file breaks barcodes when output to a printer. Possible encoding issue

I am using Redmon Port Redirector to save a PCL stream to file. I then, using C#, add some PJL commands to the file and save it back to disk. Then using LPR send the document to the printer. What happens is that all text prints fine but any barcodes…
Matt Overall
  • 199
  • 1
  • 3
  • 12
1
vote
1 answer

Ghostscript and pxlcolor: how to generate additional PJL entries in generated PCL

I have to set the Outbin in a PCL file that is generated via Ghostscript with the device=pxlcolor. I'm looking araund but didn't find the necessary parameter. Can someone pls advice? My commandline on windows…
Siegfried Storr
  • 67
  • 1
  • 1
  • 6
0
votes
0 answers

how to add the watermark to Printer Command Language Document (PCL) file by PJL command?

Did @PJL command can add the watermark to the PCL file? The official documentation didn't mention any information about the watermark. I expects after adding the watermark to the PCL file, the program passes the PCL file to the printer and outputs…
Clyde Wu
  • 1
  • 1
0
votes
0 answers

SPL file missing the PJL commands when sent from mac

I am printing a document from mac to a windows shared print queue. The spooled file reaches to the print queue but it's missing the PJL commands in the SPL file ? My application needs to read the PJL comments and job attributes. How the SPL file…
Hritik Gupta
  • 611
  • 5
  • 20
0
votes
0 answers

PJL (Printer Job Language) only works when printer is on-line

During a telnet session to an HP JetDirect card using the printer's IP address / port 9100, commands such as: @PJL INFO STATUS are entered which get back CODE=10001 DISPLAY="00 READY" ONLINE=TRUE But when the printer is taken off line there is no…
st2000
  • 286
  • 1
  • 16
1
2