|
In TCP/IP printing (not via LPR/LPD) with a device type
*LAN (DEVCLS *LAN and LANATTACH *IP) an important parameter
is the port (keyword PORT) since is the number AS400 will
use to dialog with the printer. If your printer server has
a declared port number available you probably will be able
to print (also check out the firewall if you got one
running in your network).
Otherwise the only way is to use a remote queue (LPR or
LPD) but it's not the same.
Anyway this is working with a laser printer connected via
print server (HP 500X):
DEVD MORANDINI
OPTION *BASIC
*PRT
DEVCLS *LAN
TYPE 3812
MODEL 1
LANATTACH *IP
PORT 9100
ATTACH *DIRECT
ONLINE *YES
FONT
11
*NONE
FORMFEED *AUTOCUT
SEPDRAWER *FILE
SEPPGM *NONE
PRTERRMSG *INQ
MSGQ *CTLD
QSYSOPR
QSYS
ACTTMR 170
INACTTMR *SEC15
LINESPEED 19200
WORDLEN 8
PARITY *NONE
STOPBITS 1
TRANSFORM *YES
MFRTYPMDL *HP4
PPRSRC1 *LETTER
PPRSRC2 *LETTER
ENVELOPE *NUMBER10
ASCII899 *NO
IMGCFG *NONE
CHRID *SYSVAL
RMTLOCNAME 192.168.2.91
WSCST *NONE
USRDFNOBJ *NONE
*NONE
USRDTATFM *NONE
SYSDRVPGM *HPPJLDRV
this is working fine on our AS (V4.4)
I also noticed a problem using ports 9101 and 9102: you
must set the timer on your print server to 0.
I hope it can help
Bye
--- KenEggleston@debssystems.com wrote:
> I have an Emulex pocket que Model NQP0 that hooks to a
> centronics parallel
> port on a printer and is accessed via twisted pair port.
> I'm trying to get
> this to work on our 400. I can address it via the arp
> command and even
> print to it via Windows NT, and the 400 can ping it, but
> I can't get it to
> print. I did a crtdevprt using all the settings as
> suggested in an IBM
> document "Setting up a 3812 PJL TCP/LAN printer". I asked
> our IBM support
> and he suggested a half of dozen PTF's for printing but
> before doing that I
> wanted to check here. If anyone has any info on using
> these I would
> appreciated it.
>
> Thank you,
> keneggleston@debssystems.com
>
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to
> MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to
> MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list
> owner/operator: david@midrange.com
> +---
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.