How to Create an AS/400 IPDS Device Description for a Network Printer

Document ID:HO1863
 
12/13/12 Properties  

Problem

Unable to print from the AS/400; External print server prints to parallel 1 instead of serial from an OS/400; Port 5100 is invalid

Environment

How to create an AS/400 IPDS device description for a network printer; How to set up an IPDS remote printer; How to print to an external print server on an OS/400

Solution

Overview 
 

With the optional Card for IPDS and a LAN print server installed, the printer can receive, process, and print AFP/IPDS print jobs over TCP/IP from the following IBM software:

PSF/400 V3R1-R3, V3R6-R7, V4R1-R5, V5R1-R4, V6R1, or greater.

 

Requirements

  • Printer with installed IPDS card. NOTE: Not all laser printers have an IPDS option card available. Check lexmark.com for IPDS card availability
  • AS/400, or iSeries with compatible OS versions listed above.
  • The printer must be configured with a Standard Network port or MarkNet internal LAN print server (internal print server or network card).

NOTE: Refer to the IPDS User's Guide for detailed instructions on using the control panel to select and change option settings.

 

Procedure

Summary of IPDS configuration steps before you can print IPDS jobs:

  1. Choose a Printer Port for Use in the Device Description
  2. Create a PSFCFG
  3. Create a Printer Device Description
  4. Configure the Printer's Print Server TCP/IP Settings
  5. Select the IPDS Emulation, Bar Code Size, Host Resolution, and Fax Interrupt Settings
  6. Verify IPDS Printing
  7. Preliminary Troubleshooting

 

Step 1: New ports in device description?

Port  Function
 Port 5001

 This is the recommended port selection for receiving IPDS jobs. This port is only used for receiving IPDS jobs.

 Port 9100/9600  This port is only provided for compatibility with some older printers.

 
NOTE: Some previous printers supported port 9100 for IPDS printing. If you are replacing a printer using port 9100, change to port 5001.

 

Step 2: Create a PSF configuration (PSFCFG)

Define a PSF configuration object for your printer using CRTPSFCFG. You must log in as the system operator or the security officer (QSYSOPR or QSECOFR), or have print operator authority.

 

  1. From a command line, type CRTPSFCFG (create device printer).
  2. Assign the PSF configuration (PSFCFG) a name. For example: OPTRAPRT.
  3. Set IPDS passthrough (IPDSPASTHR) to *YES.
  4. Set the Release timer (RLSTMR) to *SEC15 and save the PSFCFG.

Notes:

  • Examples showing parameters displayed on an iSeries may be different than the parameters displayed on your system.
  • More than one printer can use this object.
  • IPDS pass through may be set to *YES. This may increase job performance. Selecting *YES may change the fonts downloaded from the host and change paper jam recovery action between the host and printer.
  • SEC15 is recommended. Refer to Printer and Host Timeout Values in your ?
  • Use outline fonts controls the type of fonts downloaded to the printer. When set to *YES, outline fonts are downloaded to the printer. When set to *NO, raster fonts are downloaded to the printer. When the outline or raster fonts are marked eligible for capture on the host, the host will send fonts which can be captured at the printer.
  • Capture host fonts at printer must be set to *YES and fonts must be marked eligible to be captured before the host will send fonts which can be captured to
     

 

 

Step 3: Create the device description (CRTDEVPRT)

Note: Examples showing parameters displayed on an AS/400 or iSeries may be different than the parameters displayed on your system.

From a command line, type CRTDEVPRT (create device printer).

a. Give the printer a device name of your choice.

b. Specify the DEVICE CLASS as *LAN (this applies to Ethernet or token ring topologies).

c. Set the TYPE to *IPDS and MODEL to 0.

d. Set the LAN Attachment (LANATTACH) to *IP.

e. Set Advanced function printing (AFP) to  *YES.

f. Set the PORT number to one of those in the following table:

 Port Determination

Device Port
Printers newer than 2003 5001
Internal Network Adapter / 1-Port External Adapter (Legacy/Older printers)
9100/9600
3-Port External Adapter


MarkNet XLe

  • 9100 = parallel 1
  • 9102 = parallel 2
  • 9109 = serial


MarkNet X2000

  • 9100 = parallel 1
  • 9101 = parallel 2
  • 9102 = serial

MarkNet N7020e

  • 9100 = USB 1
  • 9102 = USB 2
  • 9103 = USB 3
  • 9104 = USB 4

 g. Specify the default Font: identifier you want to use for this device. For example: FONT:  identifier 11.

h. FORMFEED to *AUTOCUT.

Example

NOTE: Older device using port 9100.

  

i. Set the Activation timer (ACTTMR) to 170. NOTE: Setting the Activation Timer to *NOMAX allows multiple writers or multiple hosts to use the same printer. The writer does not time out while waiting on the printer to start a new job.

j. For the Remote Location Name or Address (RMTLOCNAME) field, enter the IP address or the host name of your network adapter.

k. Specify the PSFCFG user-defined object (USRDFNOBJ) created earlier and save the printer device description.
Example:
     Object > OPTRAPRT
     Library > *CURLIB
     Object type > *PSFCFG

 

Other Settings Considerations based on versions and Troubleshooting

 

  • "Resident" is the default setting. If you are replacing a printer that used a Native Emulation setting, "Resident" is the recommended emulation.

 

  • If you are replacing a printer that used a 4028 Emulation setting, choose the "Resident" Emulation and change the following settings:

    • Set Bar Code Size to "4028" under BARCODE > Bar Code Size.
    • The recommended Host Resolution setting is "Auto". If you experience printing problems, set Host Resolution to "300".
    • If you are replacing a printer that used a 43xx Emulation setting, choose the "Resident" Emulation and change the following settings:
      •  Set Bar Code Size to "43xx" under BAR CODE > Bar Code Size.
  •  The recommended Host Resolution setting is "Auto". If you experience printing problems, set Host Resolution to "300".
  • Enable RARP On or Off (On, if you use a RARP server and Off, if you set the IP address another way.)
  • Enable BOOTP On or Off (On, if you use a BOOTP server and Off, if you set the IP address another way.)
  • Enable AutoIP Yes or No. (Default is Yes. This is the recommended setting.)

    • WINS Server Address 157.184.100.20 (Address of your WINS Server)
    • DNS Server Address 157.184.115.7 (Address of your DNS Server)
    • TCP/IP Settings:
      • Parameter Value13
  •  If you are replacing a printer that used a 3812/3816 Emulation, select the "3812/3816" Emulation. This emulation only accepts 240 dpi resources (fonts, overlays, etc.) from the host and does not support DBCS printing.
     
  • On MFPs, you can set the print priority of received faxes. This option is found under MENU/Menus > Option Card Menu > IPDS MENU > EMULATION. Reference IPDS Emulation User's Guide for more information.
  • Refer to the IPDS Emulation User?s Guide for information on these options and other IPDS MENU settings to format IPDS jobs.
  • On MFPs, "Copy Interrupt" is supported: an IPDS job can be interrupted by copy jobs and will resume printing automatically.
  • The supported printers and MFPs do not contain an Advanced Function Common Control Unit (AFCCU).
     

 

Step4: Vary the Device On

 

  1. Type WRKDEVD from a command line.
  2. Move your cursor to the printer you have just created, type the number 8, and hit ENTER.
  3. Press number 1 to VARY ON the device and hit ENTER. The device should now show VARIED ON. Press F12 to exit this screen.
  4. Press F12 to exit out of WRKDEVD and back to your command line.
  5. At the command line type WRKWTR.
  6. Move your cursor to the writer that has been created and press 1 to start the writer. Then press ENTER. Note: You can press F5 to refresh this screen until you see that the writer’s status (Sts) is RDY for ready.
  7. Press F12 to exit WRKWTR. You are now ready to print.

Device Varied *ON

VRYCFG CFGOBJ(IPDSPRT) CFGTYPE(*DEV) STATUS(*ON)
 

Start the writer
STRPRTWTR IPDSPRT
 



Link:
Please enter the email address you would like to send a copy of this page to.