That printer does not seem to support PJL which is what you have 
configured.
See 
https://www.ibm.com/support/pages/node/644553
I think you will need to configure for LPR using a remote writer.
This may assist in creating the output queue for the remote writer.
Don
From:   "Gary Kuznitz" <docfxit@xxxxxxxxxxxx>
To:     "Midrange Systems Technical Discussion" 
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date:   10/10/2021 07:53 AM
Subject:        How to configure an HP printer on my LAN
Sent by:        "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
I would like to print from a P9 V7r4 to an HP8620 printer 
on my network.
I've tried:
CRTDEVPRT  DEVD(&DEVNAME) DEVCLS(*LAN) 
TYPE(3812) + 
             MODEL(1) LANATTACH(*IP) PORT(9100) + 
             ATTACH(*DIRECT) ONLINE(*YES) FONT(011 + 
             *NONE) FORMFEED(*AUTOCUT) + 
             SEPDRAWER(*FILE) PRTERRMSG(*INQ) + 
             MSGQ(*CTLD) ACTTMR(170) 
INACTTMR(*SEC15) + 
             LINESPEED(19200) WORDLEN(8) 
PARITY(*NONE) + 
             STOPBITS(1) TRANSFORM(*YES) + 
             MFRTYPMDL(*HP5SI) PPRSRC1(*LETTER) + 
             PPRSRC2(*LETTER) ENVELOPE(*NUMBER10) + 
             ASCII899(*NO) IMGCFG(*NONE) + 
             CHRID(*SYSVAL) + 
             RMTLOCNAME('192.168.168.27') + 
             USRDFNOPT(*IBMSHRCNN) + 
             SYSDRVPGM(*IBMSNMPDRV) 
PUBLISHINF(*DUPLEX + 
             *COLOR *UNKNOWN *UNKNOWN *BLANK 
*UNKNOWN) + 
             TEXT('HP8620 ') 
Then I WRKWTR  Go to outq press 2 to change 
        enter options below: 
CRTOUTQ    OUTQ(QUSRSYS/HP86202) 
RMTSYS(*INTNETADR) + 
             RMTPRTQ(PASS) AUTOSTRWTR(1) 
CNNTYPE(*IP) + 
             DESTTYPE(*OTHER) MFRTYPMDL(*HP4) + 
             INTNETADR('192.168.168.27') SEPPAGE(*NO) 
I'm getting an error saying:
Message ID . . . . . . :   CPA405C       Severity . . . . . . . : 
99 
Message type . . . . . :   Inquiry  
Date sent  . . . . . . :   10/09/21      Time sent  . . . . . . : 
14:43:56 
  
Message . . . . :   An input tray needs attention on device 
HP86202 (C R). 
Cause . . . . . :   An error was detected on device 
HP86202.  This may have 
  been caused by something like an input tray missing or 
an input tray empty. 
  Look at the printer to determine the cause of the 
problem. 
Possible choices for replying to message . . . . . . . . . . . . 
. . . : 
  C -- Enter C to cancel the writer.  
  R -- Enter R to continue printing the file after the 
problem at the printer 
    has been corrected.  
  
Does anyone know how to configure an HP inkjet printer?
Thanks,
Gary Kuznitz
As an Amazon Associate we earn from qualifying purchases.