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



Going forward, forget the HP printers and go with the Xerox Work Centre
printers. Xerox publishes a toolkit that allows you to restore their library
to your system. It contains everything you need to configure the printers as
native to the IBM i using the Xerox drivers. You can even modify the drivers
to use different paper drawers as needed. There is a command (CRTXWSC) that
is used to compile your mods to the drivers, and a command (CRTXDEVPRT) that
is used to create the device descriptions. The best thing is that Xerox
provides this library for free, and they provide periodic updates when new
printers are released.

Google xerox xtools library.

https://www.support.xerox.com/en-eg/product/phaser-6128mfp/content/53853


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Gary
Kuznitz
Sent: Monday, October 11, 2021 8:53 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: How to configure an HP printer on my LAN

After a lot of testing, and trial and error I finally found the correct
combination that does print in landscape and does print to Tray 2.

CRTOUTQ OUTQ(QUSRSYS/&DEVNAME)
RMTSYS(*INTNETADR) +
RMTPRTQ(HP5P) AUTOSTRWTR(1)
CNNTYPE(*IP) +
DESTTYPE(*OTHER) TRANSFORM(*YES) +
MFRTYPMDL(*HP5000) WSCST(*NONE) +
INTNETADR('192.168.168.27') DESTOPT('xaix +
xautoq') SEPPAGE(*NO) AUTCHK(*DTAAUT)

The only drawback to using this printer this way is that the first page
prints first. Which means the pages are in the wrong order. Normally the
first page prints last.

Thank you all for your help.

Gary Kuznitz

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

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


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


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