|
If the NetportExpress™ print server has an IP address set, AS/400* systems can print to the NetportExpress 10 and 10/100 print servers using either:
- PJL mode printing (Port 9100): If you have a PJL-capable printer, such as most laser printers, then PJL mode is recommended.
- LPR printing: If your printer does not support PJL, you are connecting a printer to the NetportExpress print server serial port, or you are using the printer passwords feature, use LPR printing.
Note: Your NetportExpress™ Print servers must be running firmware version 5.30 and higher to use Passthrough mode.
Requirements
- The installer must have authority level =*IOSYSCFG
- The AS/400 system must have R320, R370, or higher, with TCP/IP installed. For more information on TCP/IP enhancements, contact IBM.
To Set Up an IBM AS/400 System to Print:
Set Up an IBM AS/400 System to Print with PJL Mode:
- On the OS/400* command line, enter the following Create Device Printer command:
CRTDEVPRT
- Type the following choices and press Enter:
DEVICE DESCRIPTION = Name of the printer
- This is the name used for all printing commands, for example, LASER101.
DEVICE CLASS = *LAN DEVICE TYPE = 3812
- This is the IBM code for a laser printer.
DEVICE MODEL = 1 LAN ATTACHMENT = *IP PORT NUMBER = 9100
- LPT1 = 9100, LPT2 = 9101, COM1 = 9102.
ONLINE AT IPL = *YES
- Change this to *no to manually start at initial program load.
FONT:
- IDENTIFIER = 011
- This is the default 10 CPI font. A font ID is required to create the device description. Use this unless special requirements in your operation dictate something different.
- POINT SIZE = *NONE
FORM FEED =
- *AUTOCUT: For printers with single-cut sheets that are fed automatically (recommended.)
- *CUT: For single-cut sheet printers.
- *CONT: For continuous form printers.
ACTIVATION TIMER = 300 (1-2550 seconds)
- The amount of time to wait for the device to respond. If there is no connection before this timer expires, the device is considered not available, and an error message is posted.
INACTIVITY TIMER = *SEC15 (1-30 minutes, *NOMAX)
- This value determines when the print driver closes the connection after no files are in ready status.
- *NOMAX = The print driver maintains the connection until the writer is ended. The device is not capable of being shared.
- *SEC15 is the recommended value.
HOST PRINT TRANSFORM = *YES MANUFACTURER TYPE AND MODEL = printer model
- Press F4 to display a list of printers.
REMOTE LOCATION:
- NAME OR ADDRESS = IP address of the NetportExpress print server
- Example: 10.68.142.170
SYSTEM DRIVER PROGRAM = *HPPJLDRV
- Specify *HPPJLDRV for HP and HP-compatible printers. You can also use *IBMPJLDRV.
TEXT 'DESCRIPTION' = Description or location of this printer Set all other parameters as you would for any other printer. Vary on the printer to start it: Use the WRKDEVD command, choose option 8 (Work with Status), and then choose option 1 (Vary on).
Troubleshooting Notes Getting Message CPD337F: This message can be issued one of the following reasons:
Getting Message CPA338D: This message is issued and the writer ends if the idle timeout value in the printer expires during the printing of a spool file. This can happen during complex transforms. The idle timeout is in the HP LaserJet* printers, and end-of-job timers are in the Lexmark* printers. To alleviate this problem, maximize or disable these timers. The print server terminates the job after two minutes idle time.
For more information, visit the IBM Web site.
Set Up an IBM AS/400* System to Print with LPR
- On the OS/400* command line, enter the following (Create Output Queue command):
CRTOUTQ
- Type the choices, and press Enter as in the following example:
Output queue . . . . . . . . . . > Room240 Name Library . . . . . . . . . . . > QUSRSYS Name, *CURLIBMaximum spooled file size: Number of pages . . . . . . . *NONE Number, *NONE Starting time . . . . . . . . Time Ending time . . . . . . . . . Time + for more valuesOrder of files on queue . . . . *FIFO *FIFO, *JOBNBRRemote system . . . . . . . . . > *INTNETADRRemote printer queue . . . . . . > LPT1_PASSTHRU
For parallel port 1. Use LPT2_PASSTHRU for parallel port 2, and COM1_PASSTHRU for the serial port. You can use TEXT instead of PASSTHRU for text-only files. See the note below, if you have a printer password set on the port.
Writers to autostart . . . . . . 1 1-10, *NONE Queue for writer messages . . . QSYSOPR Name Library . . . . . . . . . . . *LIBL Name, *LIBL, * Connection type . . . . . . . . > *IP *SNA, *IP Destination type . . . . . . . . > *OTHER *OS400, *OS400 Transform SCS to ASCII . . . . . > *YES *YES, *NO Manufacturer type and model . . > printer modelPress F4 to display a list of printers. Internet address . . . . . . . . > IP address of the NetportExpress print serverExample: 10.68.142.170 Destination options . . . . . . > XAUTOQ XAIX Text 'description' . . . . . . . > 'printer in room 240' Password Notes
- If you have set a printer password for the print server port, type one of the following for "Remote printer queue":
1Ppassword@ (for parallel port 1) 2Ppassword@ (for parallel port 2) 3Ppassword@ (for the serial port)
Where password is the password you set for the port. Be sure to include 1P, 2P, or 3P before the password and the @ character after the password.
- To print text only, use a T after the port number in place of the P.
Directing Output to the Remote Output Queue Some applications require a device description to direct the output. This directs the output to the remote output queue that you created in QUSRSYS. You still use the STRRMTWTR to start the writer on the output queue and this device description remains varied off with no writer started on it. On the OS/400 command line, type the following and press Enter:
- CRTDEVPRT DEVD(outq_name) DEVCLS(*VRT) TYPE(3812) +
- MODEL(1) ONLINE(*NO) FONT(11)
These remote writers assume Letter (8.5x11) size paper unless the application defines an exact page size for a different drawer size; for example, legal or A4. This default page size can be changed through changes to the output queue description.
For more information, visit the IBM Web site.
This applies to:
|