Create IP Printer Device
Most printers can be set up on the AS/400 for printing. The printer must be attached to the network
with a static IP address and be a supported manufacturer. Follow the steps listed below to set up an
AS/400 IP printer session.
·
Start a Client Access TCPIP session by
double-clicking AS/400 TCPIP Connection.
·
CRTDEVPRT Create Device Desc
(Printer)
·
Device description: The name of your printer (in this example
ITHP5)
·
Enter *LAN
for the Device Class, 3812 for the
Device type and 1 for Device Model
·
LAN attachment should be *IP
·
Port Number: Specify 9100 for HP, Lexmark, and most IBM printers.
·
Online at IPL:
*YES
·
Font Identifier: 11 Point Size: *NONE
·
Form Feed: *AUTOCUT
·
Leave the default values for the other
parameters and press Enter to
continue.
·
Leave the default value of *INQ for the Printer error message
·
Page down for other parameters
·
Message queue: QSYSOPR Library:*LIBL
·
Activation Timer: 170
·
Inactivity time:
*SEC15
·
Host Print Transform: *YES
·
Press Enter for more values
·
Manufacture type, model: Enter a value according
to your printer type. In this example (*HP5).
·
Paper Source 1 & 2: *LETTER
·
Envelope source:
*NONE
·
Leave the default values for the other
parameters and PAGE DOWN to continue
·
Remote location: The IP address of your
printer.
·
Skip to
System driver program: *HPPJLDRV
·
Text Description: A description for your printer configuration object.
·
Press Enter
·
Description for that device has been created.
·
Do a WRKCFGSTS
for *DEV and find the device you
created and vary on.
·
WRKWTR
and Start the writer.
·
This will automatically create an outq with the same name. If needed change the outq and library to the
correct writer.
To Add a Workstation Customizing Object to the IP
Printer. Please follow the instructions
below:
AS/400 Modifying a Workstation Customizing Object (WSCST)
Modify a Workstation Customizing Object (WSCST)
AS/400 IP printing allows users to print to their Windows 95
default printer over the LAN. This is
accomplished by setting up an AS/400 writer with the Static IP address of the
printer. There are tags that cause the
font size to be reduced. You need to
Modify the WSCST to edit these tags.
·
Start a Client Access TCPIP session by
double-clicking AS/400 TCPIP Connection.
·
First
step is to retrieve the WSCST by this command RTVWSCST and F4
·
For
device type Enter *transform
·
Enter
the Manufacture type and model ex. *HP8000
·
The
source member specifies the name of the source file member to receive the
retrieved table attributes.
·
The
source file specifies the name of the source file in which a member is created
to contain the retrieved table attributes.
If the source file does not exist, it is created. The coded character set identifier for the
source file is *HEX. Use QTXTSRC
·
Library
is QGPL.
·
Enter
the text description for the WSCST you are modifying.
·
Hit
Enter when you are finished and you should get a message saying: Member HP8000 added to file QTXTSRC in QGPL.
·
Next you need to modify the WSCST.
·
On a command line type WRKMBRPDM FILE(QGPL/QTXTSRC)
MBR(*ALL) MBRTYPE(*ALL) this will bring you to a list of WSCST.
·
Enter a 2 on the WSCST that you
want to modify.
·
Page down until you see the CPICOR Tags. These settings are what causes the
reduced font:
CPICOR
CPI=10
ASCIIFNT= 255
FNTWTH= 84
FNTATR= 1
DATA =''X.
:CPICOR
CPI=12
ASCIIFNT= 255
FNTWTH= 84
FNTATR= 1
DATA =''X.
- Change
these tags to these settings and add the CPI=15 tag. As appears below:
:CPICOR
CPI=10
ASCIIFNT= 204
FNTWTH= 110
FNTATR= 1
DATA =''X.
:CPICOR
CPI=12
ASCIIFNT= 85
FNTWTH = 120
FNTATR= 1
DATA =''X.
:CPICOR
CPI=15
ASCIIFNT= 281
FNTWTH = 72
FNTATR= 1
DATA=''X.
- Press
F3 to exit and then enter Y to change/create member.
- You
should get a message saying: Member
HP8000 in file QGPL/QTXTSRC changed with 621 records.
- Once
the WSCST has been edited and saved, you are ready to create a new WSCST
Table. Type the following:
- CRTWSCST
and hit F4 to prompt the command.
Type the name of the source member you used for the name of the WSCST. The Source member is *WSCST and
the test is *SRCMBRTXT
- You
should get a message: Customization
object HP8000 created successfully.
- When
adding the WSCST to the device, the writer must be ended and the
device must be varied off.
- Type
CHGDEVPRT and ENTER.
- Type
the name of the device you want to change.
- Page
down until the last page and hit F10 for additional parameters.
- Enter
the name of the WSCST and the LIBRARY and hit enter.
- You
should get a message saying Description for device ITHP8100 changed.
- You
have successfully created a WSCST.
- Test
using a job log and see if the font size is larger.