× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I tried this:

To change HP8620 outq to use Tray 2

On this web page:
https://www.ibm.com/support/pages/pre-built-workstatio
n-customizing-objects-wscsts-ibm-system-i-remote-tech
nical-support

CRTSAVF FILE(QGPL/QWSCST)
TEXT('Pre-Built WSCST Objects from iSeries
Support')

Download this file:
https://www.ibm.com/support/pages/system/files/suppor
t/nas/nastech.nsf/0/1ce5e7f5d2a42b0f85257bc10064ed5
1/$FILE/qwscst.savf

upload it to IBMi using FTP
Instructions on how are on the web page.

To verify that the file has been uploaded successfully:
DSPSAVF FILE(QGPL/QWSCST)

RSTOBJ OBJ(*ALL) SAVLIB(QGPL) DEV(*SAVF)
OBJTYPE(*ALL)
SAVF(QGPL/QWSCST)

To see and change the source files:

WRKMBRPDM FILE(QGPL/QWSCSTSRC) MBR(*ALL)
MBRTYPE(*ALL)

I found this source file:
QWSCSTSRC PCL5AUTOSL WSCST PCL5 with modified
CPICOR and auto-select tray

I found this web page that explains how to change the
PCL code on Drawer 1 to the code that Drawer 2 uses.
https://www.ibm.com/support/pages/controlling-and-tro
ubleshooting-drawer-selection-wscst

I changed this code:
DRAWER=DRAWER1
DATA ='1B266C3148'X. --> '1B266C3548'X.
This was in for Drawer 1 ^ I changed it to this ^ which
was in Drawer 2

After the source for PCL5AUTOSL is changed I found this
web page:
https://www.ibm.com/support/pages/creating-workstatio
n-customizing-object-simplified

That explains how to create a new WSCST file:

To Create the WSCST:
CRTWSCST WSCST(QGPL/PCL5AUTOSL)
SRCMBR(*WSCST)
TEXT(*SRCMBRTXT)
SRCFILE(QGPL/QWSCSTSRC)

Then I recreated the OUTQ:
CRTOUTQ OUTQ(QUSRSYS/&DEVNAME)
RMTSYS(*INTNETADR) +
RMTPRTQ(RAW) AUTOSTRWTR(1)
CNNTYPE(*IP) +
DESTTYPE(*OTHER) TRANSFORM(*YES) +
MFRTYPMDL(*HP5) WSCST(PCL5AUTOSL) +
INTNETADR('192.168.168.27') DESTOPT(XAIX)
+
SEPPAGE(*NO)

Then I put a splf in the outq.

It did print in Landscape. It printed from Tray 1. I
wanted it to print from Tray 2

Does anyone know what I did wrong?

Thank you,

Gary Kuznitz


On 10 Oct 2021 at 9:15, Don (Don Brown via
MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>)
commented about Re: How to configure an HP printer on
my LAN:

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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




--
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email, MSD
cannot accept responsibility for any loss or damage arising from the use of
this email or attachments..
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.