× 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.



The printer you are trying to configure does not support PJL (Printer Job
Language) and therefore needs to be configured as a remote writer using
LPR

LPR is, from my understanding, a one way request to send a print job to
the printer.

I have found that trying to configure advanced functions like the required
tray and finishing option most difficult with LPR configurations.

The problem is that the printer is not understanding the request.

You are using the WSCST PCL5AUTOSL

You can retrieve this definition using

RTVWSCST DEVTYPE(*TRANSFORM)
MFRTYPMDL(PCL5AUTOSL)
SRCMBR(PCL5AUTOSL)
SRCFILE(YOURLIB/QTXTSRC)

Next you need to find the technical manual for your printer. I have found
this to be difficult at times ... good luck.

Then in the manual for the printer you will need to find the command to
set the drawer and compare that to the command in the file you retrieved
using the RTVWSCST and set the command to match the printer's
requirements. (It may not even exist)

Here is an example of the drawer select in a WSCST; (This is generic and
NOT the WSCST from the one you are using.)

:DWRSLT
DRAWER=PAPER
DATA ='1B266C3248'X.
:DWRSLT
DRAWER=ENVELOPE
DATA ='1B266C3368314F'X.
:DWRSLT
DRAWER=DRAWER1
DATA ='1B266C3148'X.
:DWRSLT
DRAWER=DRAWER2
DATA ='1B266C3448'X.

The DATA is the command being sent to the printer and this MUST match what
your printer requires.

Then once you have made the changes use the CRTWSCST command to create a
new WSCST and test with that.


Having said all that I would recommend investigating the IBMi support for
the printer before purchasing and obtaining a printer that supports PJL
which will make your life much easier to set up these types of functions.


Hope this helps a little.


Don






From: "Gary Kuznitz" <docfxit@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 12/10/2021 07:42 AM
Subject: Re: How to configure an HP printer on my LAN
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>



Thank you for the reply...

I have tried MFRETYPMOD set to *HP520. Which is what
the link at:
https://www.ibm.com/support/pages/node/644553

Recommends.

I still can't get it to print from tray 2.

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

I was hoping someone on the list actually had a similar
printer with this working.

Thanks,

Gary Kuznitz

On 11 Oct 2021 at 19:13, Mayer, (Mayer, Michael via
MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>)
commented about Re: How to configure an HP printer on
my LAN:

May I add my 2 cents to this thread?
I dealt with this type of issue for several years at a shop I was at.
There
were many type's of IP printers.
What was found was usually the MFRTYPMOD was not set correctly AND we
had to
have a tech on site
With the physical printer(s) at times to assure the MAC address was
attached
to the right IP as well.
Sometimes we set that up ahead of time with BlueCat IPAM (IP Asset Mgmt)
tool.

As you can see from the "Information on Printers from HP" on this model,
the
MFRETYPMOD
Should be either *LEXOPTRAT or *HP520.

The config below shows *HP5SI.

Perhaps that'll help a bit.


------------------------------------------------------------------------------
---------------

HP Officejet Pro 8600 e-All-in-One Printer
HP Officejet Pro 8600 e-All-in-One Printer - N911a
HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g/N911h
HP Officejet Pro 8600 Premium e-All-in-One Printer - N911n
HP Officejet Pro 8620 e-All-in-One Printer HP PCL3 GUI
$B!{ (B
----> *LEXOPTRAT
----> *HP520


-----------------------------------------------------------------------------
Very Respectfully,
Michael Mayer
IBM i on Power System Admin.
IT Operations.
The Florida Bar
Tallahassee, Florida 32399-2300
mmayer@xxxxxxxxxxxxxx
https://www.floridabar.org
Office: 850.561.5761
Cell: 518.641.8906

------------------------------------------------------------------------------

message: 3
date: Mon, 11 Oct 2021 13:22:39 -0500
from: Justin Taylor <jtaylor.0ab@xxxxxxxxx>
subject: Re: How to configure an HP printer on my LAN

Have you tried the MFRTYPMDLspecified by IBM for that model?
https://www.ibm.com/support/pages/node/644553


date: Sat, 09 Oct 2021 14:53:22 -0700
from: "Gary Kuznitz " <docfxit@xxxxxxxxxxxx>
subject: How to configure an HP printer on my LAN

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





------------------------------

Subject: Digest Footer

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest
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


------------------------------

End of MIDRANGE-L Digest, Vol 20, Issue 1398
********************************************

________________________________
Please note: Florida has very broad public records laws. Many written
communications to or from The Florida Bar regarding Bar business may be
considered public records, which must be made available to anyone upon
request. Your e-mail communications may therefore be subject to public
disclosure.
--
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 ...

Follow-Ups:
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.