Troubleshooting
Problem
Writer for HP® printer ends with message CPD337C: Session with device ended abnormally after the firmware is upgraded on the printer or for newer HP printer models. Also seen in the writer message queue is message CPD337F: Remote device rejected an attempt by the writer to open a connection.
Writer for Toshiba® printer ends with message CPD338A: Cannot resolve to remote device name.
If the Printer Error Message (PRTERRMSG) parameter in the LAN printer device description is set to *INQ for an Inquiry message instead of *INFO for an Informational message, message CPA403D: Operator action required on device (C R), will be seen in the message queue.
Symptom
Writer for an HP® or Toshiba® printer ends abnormally, shortly after it is started.
Cause
Recently HP has made some changes, which disabled PJL. Refer to the following document from HP for more detail: http://h10032.www1.hp.com/ctg/Manual/c05818654
Toshiba may have made the same change.
Environment
IBM i OS using LAN attached printer configured to use *HPPJLDRV or *IBMPJLDRV system driver program.
Diagnosing The Problem
If the writer ends shortly after it is started, review the writer job log for message CPD337C and the writer's message queue for CPD337F: Remote device rejected an attempt by the writer to open a connection. Message CPD338A may be seen too.
Resolving The Problem
To resolve the issue, change the system driver program from *HPPJLDRV or *IBMPJLDRV to *IBMSNMPDRV.
VRYCFG CFGOBJ(PrinterDeviceName) CFGTYPE(*DEV) STATUS(*OFF)
CHGDEVPRT DEVD(PrinterDeviceName) USRDFNOPT(*IBMSHRCNN) SYSDRVPGM(*IBMSNMPDRV)
CHGDEVPRT DEVD(PrinterDeviceName) USRDFNOPT(*IBMSHRCNN) SYSDRVPGM(*IBMSNMPDRV)
VRYCFG CFGOBJ(PrinterDeviceName) CFGTYPE(*DEV) STATUS(*ON)
STRPRTWTR DEV(PrinterDeviceName)
STRPRTWTR DEV(PrinterDeviceName)
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CLDAA2","label":"Print-\u003EPrinter Configurations-\u003ELAN 3812 PJL"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Product Synonym
IBM i 7.1; IBM i 7.2; IBM i 7.3; IBM i 7.4
Was this topic helpful?
Document Information
Modified date:
06 May 2025
UID
ibm16189825