Canon IR series printers fail to print if the print job name is greater than 255 characters

  • 7010312
  • 15-Mar-2012
  • 26-Apr-2012

Environment

Novell iPrint for Linux
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

Google docs fail to print when using iPrint.
 
The following error can be seen by accessing the printer agent on the psmstatus page:
LPR Error from LprSendControlFile(): 104 - Connection reset by peer
 
Print job names larger than 255 characters fail to print.

Resolution

Change the gateway load string to RAW using the steps below:
  1. Login to the psmstatus page from a web browser.
    #https://<iPrint Server IP or DNS>/psmstatus
  2. Click on the printer in question.
  3. Click on Configuration options and change the gateway load string.
    Example:
    iprintgw PORT=LPR HOSTADDRESS=1.2.3.4 PRINTERNAME=PASSTHROUGH
    Change to:
    iprintgw PORT=RAW HOSTADDRESS=172.25.120.23
  4. Select Apply and then click the back button.
  5. Click apply and  to shutdown the printer and then apply again to start the printer back up.

Printing should now be working as designed.