Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LAN Printer on V3R2

1 view
Skip to first unread message

Jim Parker

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
Could anyone tell me how to define a LAN printer on V3R2. The printer
is a InfoPrint 40 on an TCP/IP line. The V3R2 CRTDEVPRT wants a
switched line (??) and uses the MAC address with no prevision for the IP
address. Could someone point out what I am doing wrong.

Thanks,

Jim

hkno...@my-deja.com

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
Jim just create an outq (CRTOUTQ) and put the *INTNETADR parm in and
the command will allow you to build a TCPIP outq. Also you want to do
transform to ASCII.

Happy Holidays


In article <r7_74.826$2K6....@tw12.nn.bcandid.com>,


Sent via Deja.com http://www.deja.com/
Before you buy.

fabrizio_...@infog.it

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
V3R2 do not support IP device defined by CRTDEVPRT *LAN .
It's possible only from V3R7 ( with PTF ) or V4R1 .
On V3R2 you must create a remote outq .

Bye
Fabrizio

Volker Gueldenpfennig

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
How it works with CRTDEVPRT I don't knoiw at that release. But it should
work, when TCP/IP is installed, with the following command:

CRTOUTQ OUTQ(QGPL/NEWPRINT) RMTSYS(PRINTSERVER)
RMTPRTQ(SHARE) CNNTYPE(*IP) DESTTYPE(*OTHER)
MFRTYPMDL(*HP4)

When you use this printer via Windows, you will use a printer-share as
follows:
\\printserver\share (The names can be both identically)
These names should be entered at the above command. When
PING 'Printserver' doesn't work properly, try the the IP-number and put this
in at RMTSYS.

When this method works and you get into trouble with the paper-type, that
always "letter" is requested. please check the following book:
"IBM-Redbook for Printing: IBM AS/400 - Printing V; FG24-2160-00
There is in chapter 8 on page 175 described, how to retrieve, change,
compile and use WSCST-objects!"

One of the disadvantages of the RMT-Outqs is, that you can't specify
from-page and to-page.

Regards

Volker


Rodney Johnson

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
Jim, If you attach the InfoPrint 40 to the LAN, you can use the CRTDEVPRT
*LAN 3812 model 1 configuration IF you have a network interface in your
printer that understands the LexLink protocol. Another worry you have is
that your routers in your network may not be able to route the LexLink
protocol.

Another method requires some PTFs and PSF/400 product. This will allow
*LAN *IPDS printer devices.

A third method was mentioned in a reply to your post, and that would be the
remote writer method. As was mentioned, you lose Page range capability,
and the normal separator support. You also lose the error
reporting/recovery for the printer device (such as out of paper, paper jam,
low toner, etc).

Other methods would include client access (ie attach the printer to a PC),
or third party software (which also usually requires the printer to be at
least known by the PC).

Jim Parker wrote:

> Could anyone tell me how to define a LAN printer on V3R2. The printer
> is a InfoPrint 40 on an TCP/IP line. The V3R2 CRTDEVPRT wants a
> switched line (??) and uses the MAC address with no prevision for the IP
> address. Could someone point out what I am doing wrong.
>
> Thanks,
>
> Jim

--
Rodney A Johnson
Technical Team Lead for AS/400 Spool
Dept GJC
IBM Rochester, Minnesota

The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, IBM. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.


Tim

unread,
Dec 23, 1999, 3:00:00 AM12/23/99
to
Actually, this is not true. We had IP attached printers on V3R2.

But you could only do this to printers that supported the IPDS data stream

You use the PSFCFG object to specify the IP address and port (usually 5001)
to print to

<fabrizio_...@infog.it> wrote in message
news:83qsfr$p8b$1...@nnrp1.deja.com...


> V3R2 do not support IP device defined by CRTDEVPRT *LAN .
> It's possible only from V3R7 ( with PTF ) or V4R1 .
> On V3R2 you must create a remote outq .
>
> Bye
> Fabrizio
>
> In article <r7_74.826$2K6....@tw12.nn.bcandid.com>,

> "Jim Parker" <jwpa...@cjnetworks.com> wrote:
> > Could anyone tell me how to define a LAN printer on V3R2. The printer
> > is a InfoPrint 40 on an TCP/IP line. The V3R2 CRTDEVPRT wants a
> > switched line (??) and uses the MAC address with no prevision for the
> IP
> > address. Could someone point out what I am doing wrong.
> >
> > Thanks,
> >
> > Jim
> >
> >
>
>

simon

unread,
Dec 23, 1999, 3:00:00 AM12/23/99
to
In article <r7_74.826$2K6....@tw12.nn.bcandid.com>, "Jim Parker"
<jwpa...@cjnetworks.com> wrote:
> Could anyone tell me how to define a LAN printer on V3R2. The
> printer
> is a InfoPrint 40 on an TCP/IP line. The V3R2 CRTDEVPRT wants a
> switched line (??) and uses the MAC address with no prevision for
> the IP
> address. Could someone point out what I am doing wrong.
> Thanks,
> Jim
Hi Jim,
If I've got your question right, you are using the wrong command. If
you want to run an IP print session (it's essentially the same as the
Unix lpr/lpd system AFAIK) then you need to do the following:

1. Establish the IP address of your printer.
2. Optionally, set up your host table to assign a meaningful name to
this address. Use the CFGTCP caommand for this.
3. Use the CRTOUTQ command to create an output queue:

CRTOUTQ OUTQ(QUSRSYS/INFOPRINT) RMTSYS(INFOPRINT) RMTPRTQ(INFOPRINT)
AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE(*OTHER) MFRTYPMDL(*HP4) TEXT('Outq
for Infoprint printer')

where outq = name of your printer queue
rmtsys = name of your printer as defined in host table
rmtprtq = name of the queue on your IP printer. This generally
works using the same name as the printer, but 'lpr' also works ok. I
think it depends on the implementation of the IP print function on the
printer.
autstrwtr = number of writers automatically started. Set this to
one; I've never had cause to do otherwise.
mfrtypmdl = type of emulation. OS/400 3.2 is not bad at this and
will emulate quite a wide variety of printers. Check out the command
for further info.

You don't have to create a physical device. But some software may
demand one for print direction etc. You can create a dummy device (a
3812 printer which is never varied on) and assign your new output queue
to it.

Hope this helps. If you want any other info, or I've got any of this
wrong, drop me a line.

Kind regards

Simon
s.bo...@microstar-computers.net


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Uptgrove

unread,
Dec 23, 1999, 3:00:00 AM12/23/99
to
As I remember, LAN attached can only be IPDS or with many restrictions.

If you don't have IPDS (which can run over TCP/IP), you need to use a remote
outq.

This will give you print capability using host transform, but the status back
from the printer is minimal.

You can find more data on setting up a remote que by going to the redbooks on
AS/400 Printing.

Good Luck!

0 new messages