IBM Support

Configuration Settings and Error Messages for *LAN IPDS Device Descriptions

Troubleshooting


Problem

This document contains information on configuration settings and error messages for *LAN *IPDS device descriptions.

Resolving The Problem

This document contains information on configuration settings and error messages for *LAN *IPDS device descriptions. The term IPDS refers to the Intelligent Printer Data Stream. IPDS allows for two-way communication with the printer and supports advanced printing functions such as bar coding, overlays, page segments, and downloadable fonts. IPDS printer can be used to print Advanced Function Printing Data Stream or *AFPDS spooled files, in addition to *IPDS spooled files, when configured to use IBM Print Services Facility/400 (PSF/400).

*LAN *IPDS device descriptions have become a popular and recommended alternative configuration to using twinax attached IPDS printers. This is supported only for laser printers and line printers that have the Intelligent Print Data Stream (IPDS feature) installed or for ASCII laser printers that have an IPDS SIMM installed or use an external print server that supports IPDS emulation. For information on configuration and limitations of *LAN *IPDS device descriptions, please refer to the following document:

N1010169: Configuring a *LAN IPDS Device Description

This document contains the following sections:

1. Timeout Settings on the Print Server discusses the timeout settings in the print server hardware.
2. Timeout Settings on the Printer discusses the timeout settings in the printer hardware.
3. Recommended Timeout Settings for IBM, HP and Lexmark Print Servers lists the recommended timeout settings for certain IBM, HP and Lexmark print servers.
4. Timeout Settings in the OS/400 Printer Device Description discusses some settings in the printer device configuration in the IBM OS/400 or IBM i5/OS that can cause writers to end.
5. TCP/IP Keep-Alive Value on the Operating System discusses setting the TCP/IP Keep Alive value by using the CHGTCPA command on the operating system.
6. Error Messages for *LAN IPDS Device Descriptions contains the messages that are associated with remote output queue printing. These messages are found in the writer job log.
7. Recommended PTF Levels contains links to the latest PTF lists for TCP/IP printing and PSF/400.
8. Checking and Changing the Size of the *SPOOL Pool contains information about how to determine the size of the *SPOOL pool and how to adjust the size.

This document was last updated on 6 December 2013.
 


  • - Timeout Settings on the Print Server



    The print server, sometimes called a LAN adapter or Network Interface (NIC) card (internal or external), has a timeout setting in the hardware configuration. A timeout is the amount of time that the print server waits for data before the print job is canceled. When this timeout expires, the adapter releases the printer so that other print jobs can be started. These other print jobs can be from another protocol, another interface, or another host. This function provides a safety net. If a host fails to send a complete print job, the print server waits for the specified time and then moves on to the next job. If a file is released to print and the timeout expires before a complete OS/400 or i5/OS spooled file is sent to the printer or the timeout expires between the sending of buffers, the printer writer ends with message PQT3621 - The session with device &8 ended abnormally, and the OS/400 or i5/OS spooled file is set to HLD or RDY status.

    The timeout can be configured from the printer panel or through a network utility (for example, the HP JetAdmin utility for internal and external HP JetDirect print servers and the Lexmark MarkVision utility for Lexmark Marknet print servers). For printer panel configuration, the timeout is found under some network option -- under the IO and MIO Menus for HP printers, under the Network Menu for Lexmark printers, and under the Ethernet or Token-Ring Menu for IBM printers.

  • - Timeout Settings on the Printer



    On the printer, the processor timer (sometimes called a job timeout or a wait timeout) should be disabled or set to maximum (usually 300 seconds) because individual pages might have a delay in transmitting to the printer due to transforming considerations. This timer controls the amount of time in seconds (5 to 300) the printer waits before printing the last page that does not end with a command to print the page. This timer should not affect the running of this print driver because each page is terminated with a form feed. We could have a case where a partial page is sent to the printer's buffer while complex transforming is taking place during which this timer expires and, therefore, ejects an incomplete page.

  • - Recommended Timeout Settings for IBM, InfoPrint Solutions Company, Lexmark and HP Printers



    The success of the *LAN *IPDS device description is dependent on the configuration settings at both ends, the IBM System i products system and the printer. The TCP/IP network will also have some bearing on performance and starting of the printer writer. The following suggestions are intended to make this transition smooth and different roles in its success. Because the IBM, Lexmark, and HP printers are the most common types of IPDS printers, the examples will include only these printers.

    IBM Network Printer and Infoprint IPDS printers:

    Set the Port Timeout to 300 (5 minutes). Setting this timeout to 0 does not disable the Port Timeout. IBM does not have an external adapter that supports this configuration at this time. The port timeout can be set through the control panel on the printer.

    If the printer hardware has an IPDS Timeout setting, then change it from Host controlled to 15 (seconds). This setting will be found in the IPDS MENU when available in the printer hardware settings.

    IBM Infoprint 1000 Family IPDS Printers:

    Disable the Job Timeout by setting it to 0. The Job Timeout can typically be set through the control panel on the printer, or it can be set using the Lexmark MarkVision Utility. The Lexmark MarkVision Utility can be downloaded from Lexmark's Web site, www.lexmark.com/.

    If the printer hardware has an IPDS Timeout setting, then change it from Host controlled to 15 (seconds). This setting will be found in the IPDS MENU when available in the printer hardware settings.

    InfoPrint Solutions Company IPDS printers:

    Set the Port Timeout to 300 (5 minutes). Setting this timeout to 0 does not disable the Port Timeout. IBM does not have an external adapter that supports this configuration at this time. The port timeout can be set through the control panel on the printer.

    If the printer hardware has an IPDS Timeout setting, then change it from Host controlled to 15 (seconds). This setting will be found in the IPDS MENU when available in the printer hardware settings.

    Lexmark IPDS printers:

    Disable the End of Job Timeout or Job Timeout by setting it to 0. The End of Job Timeout or Job Timeout can typically be set through the control panel on the printer, or it can be set using the Lexmark MarkVision Utility. The Lexmark MarkVision Utility can be downloaded from the Lexmark Web site, www.lexmark.com/.

    If the printer hardware has an IPDS Timeout setting, then change it from Host controlled to 15 (seconds). This setting will be found in the IPDS MENU when available in the printer hardware settings.

    HP JetDirect cards/print servers:

    Set the IO Timeout (or Job Timeout) to 300 seconds (5 minutes) and set the Idle Timeout to somewhere between 900 seconds (15 minutes) and 3600 seconds (1 hour). Setting the IO Timeout (or Job Timeout) and Idle Timeout to 0 does not disable them. It causes the printer and/or print server to timeout immediately. The IO Timeout can typically be set through the control panel on the printer, or it can be set using the HP JetAdmin Utility. The Idle Timeout can be set by telneting to the TCP/IP address for the printer, or it can be set using the HP JetAdmin Utility. The HP JetAdmin Utility can be downloaded from the HP Web site, www.hp.com/.

  • - Timeout Settings in the Operating System Printer Device Description



    Settings in operating system that can cause writers to end are the Activation timer (ACTTMR) parameter in the *LAN *IPDS device description and the Release timer (RLSTMR) parameter in the PSF Configuration (PSFCFG) object.

    The Activation timer (ACTTMR) parameter in the *LAN *IPDS device description should be set to a value large enough to prevent posting of intervention errors due to TCP/IP transmission delays and printer processing delays. The default setting of 170 seconds is usually large enough to accomplish this unless you send large files to a printer with a slow processor that has a lot of memory. Increasing the activation time will prevent unwanted intervention errors; however, that time will have to pass before you will get a desired intervention error. Note that intervention errors do not stop the print process.

    The Release timer (RLSTMR) parameter in the PSF Configuration (PSFCFG) object should be set to *SEC15 to cause the writer to drop the connection to the printer 15 seconds after the last spooled file has been sent. The default setting of *NOMAX will cause the writer to keep the connection open indefinitely, which can cause a problem where the writer assumes the connection is still open even after the printer has dropped the connection after its hardware timeout has expired. Later when another spooled file is available to print printed, the writer will attempt to use the existing connection and find out that it has been dropped. This will result in the writer ending unexpectedly with message PQT3621 - The session with device &8 ended abnormally. If the printer does not drop connection for an extended period of time, having the RLSTMR parameter set to *NOMAX will also prevent other systems and PCs from printing directly to the LAN attached printer.

    Note: These same problems can occur if the *LAN *IPDS device description has been configured without a PSF Configuration (PSFCFG) object because the writer will use the default value of *NOMAX for the release timer. The only way to avoid this problem is to create a PSF Configuration object with the RLSTMR parameter set to *SEC15 and then specify the PSF Configuration object in the User-defined object (USRDFNOBJ) parameter in the *LAN *IPDS device description.

  • - TCP/IP Keep-Alive Value on the Operating System



    The printer will close the socket if the printer has not processed any communication from the host within the timeout limit for the LAN adapter, which is discussed in the section entitled "Timeout Settings on the Print Server". This can happen if the printer has a large buffer and it is filled with data to print. To prevent this from happening, the TCP/IP Keep-Alive value on the operating system should be set to a value less than the timeout value for the print server. The TCP/IP Keep-Alive value can be changed using the Change TCP/IP Attributes (CHGTCPA) command. This causes a poll to be sent to the printer before the printer times out. We want this timeout value to be as large as possible to prevent unnecessary network traffic. Increasing the TCP keep alive (TCPKEEPALV) parameter to 50 minutes might help if printing large spooled files.

    If all printing for *IPDS printers halt, more specifically, printing over a specific port stops working, a switch may be misidentifying print packets from IBM i as an attack and shut down the port.  Or in an SD-WAN environment, 'packet inspection' is flagging the print data and not forwarding it to the printer.

    Turn the feature off on the switch or SD-WAN.  Refer to the documentation or contact the manufacturer for the switch or SD-WAN for instructions or for more information on the feature.

  • - Error Messages for *LAN IPDS Device Descriptions



    Note: This list of error messages is not all inclusive. If you receive an error message for a *LAN *IPDS device description that is not listed here, call the Rochester Support Center at 1-800-IBM-SERV for assistance.

    Message PQT1009: The grace period for using PSF/400 without paying for it has expired
    A license is required when Print Services Facility/400 (PSF/400) is used to print to a LAN-attached or Twinax-attached IPDS printer. The first usage of PSF/400 without a license starts a 70-day grace period. Once that grace period has expired, attempting to start a writer that uses PSF/400 will result in the writer ending immediately and this error message will be issued to the WTR job log.

    A license is required for one of the following product options:

     
    Product Product Option Description
    57xxSS1 5112 OS/400 - PSF/400 1-45 IPM Printer Support
    57xxSS1 5113 OS/400 - PSF/400 1-100 IPM Printer Support
    57xxSS1 5114 OS/400 - PSF/400 Any Speed Printer Support

    You can enter both the machine type and serial number on IBM's Entitled Software Support web site to verify whether there is already a permanent license key for PSF/400 availble for this system. This web site is availble at:

    http://www.ibm.com/eserver/ess

    If a license key for PSF/400 is found and the keysheet lists "EXPDATE(*NONE)" then a permanent key is available and needs to be entered on the system. If a date is specified in the EXPDATE parameter, then a temporary key has been provided instead, in which case you will need to obtain a permanent key or stop using the Print Services Facility/400 (PSF/400) product.

    Note: A permanent license can be purchased from IBM Marketing or your IBM Business Partner, or you can contact the IBM Key Center at 800-446-8989 (6 am - 6 pm MST M-F) or the Copenhagen Worldwide Key Center at 011-45-4810-1525 (US customers can call this number after hours in an emergency) to see about getting a temporary license. If a temporary license is used, then a permanent license will have to be purchased and entered into the system before the new expiration date has expired, otherwise message PQT1009 will again be issued and the writer will again fail to start.

    Message PQT1012: The grace period for using PSF/400 without paying for it will expire in &2 days on &3
    This message indicates that the grace period has not yet expired, but will be expiring in a certain number of day on a certain date. If a license for PSF/400 has not been entered into the System i by the time the grace period expires, then the writer will fail to start and message PQT1009 will be issued to the writer instead.

    If a license for PSF/400 has been entered into the System i and the message is still received for a specific writer, then end and start the writer listed in the message. If the problem still occurs, apply the latest PTFs for PSF/400.

    Message PQT3621: The session with device &8 ended abnormally
    If the return code is 20 - 39, then this error message indicates that a communications failure occurred. If the return code is 40 - 59, then this indicates that an internal failure occurred.

    This error message is often caused by a timeout value in the printer hardware being set too low, though getting the latest PTFs might help resolve this problem as well. Refer to the section "Recommended Timeout Settings for IBM, HP and Lexmark Print Servers" above for information on increasing (or possibly disabling) the printer time-outs. Refer to section "Recommended PTF Levels" at the bottom of this document for information on getting the latest PTFs.

    This error message can also be caused by not having enough memory allocated to the *SPOOL pool. A minimum size of 5MB is recommended for the *SPOOL pool. A good guideline for determining the size of the *SPOOL pool is to estimate the number of writers expected to be actively printing (not simply active in the QSPL subsystem) at any given time, and then multiply that number by 5MB. This value can be specified through the Work with System Status (WRKSYSSTS) command. However, the only way to determine the optimum size of the *SPOOL pool is through trial and error. In addition, if Performance Adjustment is used, it will gradually bring the size of the *SPOOL pool down unless a minimum percentage is specified using the Work with Shared Storage Pools (WRKSHRPOOL) command. For more information, refer to the section entitled "Checking and Changing the Size of the *SPOOL Pool" below.

    Note: If this error message occurs after printing about 100 pages of a spooled file and the failing printer is an Infoprint 1100, 1200, or 1300 series printer or a Lexmark laser printer, try using the following steps to use port 9600 rather than port 9100. If the printer will not print at all after going through these steps, switch back to port 9100. The steps are:
     
    1. End the writer, if it is not already ended.
    2. Vary off the printer device description.
    3. Change the IPDS Timeout setting in the printer hardware from Host controlled to 15 (seconds). This setting is found in the IPDS MENU on the Infoprint 1100 or 1200 series printer or Lexmark Optra printer.
    4. Change the IPDS Port setting in the printer hardware from 9100 to 9600. This setting is also found in the IPDS MENU on the Infoprint 1100 or 1200 series printer or Lexmark Optra printer.

    Note: The IPDS Port setting is not available for all models of Infoprint 1100 or 1200 or Lexmark Optra printers. If this setting is not found, skip this step and proceed to the next step.
    5. Change the Port number (PORT) parameter in the *LAN *IPDS device description from 9100 to 9600 to match the change in the printer hardware.
    6. Vary the printer device description back on.
    7. Start the writer.

    Message PQT3624: The session with device &8 was ended
    This error message indicates that the session with the printer device was ended by the writer because the device did not respond within the time specified by the Printer response timer (PRTRSPTMR) parameter in the PSF Configuration object. The PRTRSPTMR parameter in the PSF Configuration object defaults to *NOMAX, but can be set to any value from 5 to 3600 seconds (or 1 hour). If currently set to 5 seconds, end the writer and try increasing the PRTRSPTMR parameter to somewhere between 60 seconds (1 minute) and 180 seconds (3 minutes) and test to see if that resolves the problem.

    Message PQT3603: Connection with device &8 cannot be established
    Message PQT3625: Connection with device &8 is being retried
    If message PQT3603 or message PQT3625 is issued with return code 15 (RC15), then this error message indicates that the activation timer (ACTTMR) value specified in the *LAN *IPDS device description expired before the device was available. If the return code is 22 (RC22), then this error message indicates that the device did not respond to a connection request. If the return code is 20 - 39, then this error message indicates that a recoverable communications failure occurred.

    This message can be caused by the *LAN *IPDS device description being set up with the wrong port number (for example, 0). The common port numbers used are Port Number 5001, 9100, and 2501. For a list of port number values to use, based on the printer hardware, please refer to the following document:

    N1019440: Recommended IPDS Port Number Values for *LAN IPDS Device Descriptions

    These error messages are often caused by a communications problem in the Local Area Network (LAN) or Wide Area Network (WAN), though getting the latest PTFs might also help resolve this problem. In addition, increasing the Activation timer (ACTTMR) parameter in the printer device description might help by giving the writer more time to make a successful connection with the printer hardware. Refer to section "Recommended PTF Levels" at the bottom of this document for information on getting the latest PTFs.

    These error messages can also be caused by configuring a *LAN *IPDS device description for an HP LaserJet, Lexmark Optra or similar printer that does not have an IPDS DIMM or IPDS SIMM installed. In addition, the error could be caused by configuring a *LAN *IPDS device description for an HP LaserJet, Lexmark Optra, or similar printer that has an IPDS DIMM or IPDS SIMM installed but is attached to the LAN/WAN using an external print server or network interface card (NIC). *LAN *IPDS device descriptions require the printer to have the IPDS feature installed and to have an internal network interface card (NIC), with the exception of external print servers that perform IPDS emulation and then send an HP PCL data stream to the printer.

    Message PQT3603 RC15 or Message PQT3625 RC15

    Message PQT3603 RC15 and message PQT3625 RC15 can be caused by configuring a *LAN IPDS device description without specifying a PSF Configuration (PSFCFG) object in the User-defined object (USRDFNOBJ) parameter, particularly if the IPDS Timeout setting in the printer hardware is set Host controlled. In one specific instance, a few spooled files would print through the *LAN IPDS DEVD, but if there was a pause then the writer would fail with message PQT3625 RC15 and the printer hardware would have to be powered off and back on in order to continue printing.

    If this is the case, then the problem can be resolved by ending the writer, creating a PSFCFG object with the Release timer (RLSTMR) parameter set to *SEC15, changing the *LAN IPDS DEVD to reference the PSFCFG object in the USRDFNOBJ parameter, then starting the writer again. If needed, follow the instructions in the following document for the recommended settings to use on the Create PSF Configuration (CRTPSFCFG) command:

    N1010169: Configuring a *LAN IPDS Device Description

    Message PQT3603 RC22 or Message PQT3625 RC22

    Message PQT3603 RC22 and message PQT3625 RC22 can be caused by configuring a *LAN *IPDS device description for a printer that has the IPDS feature installed, but does not automatically switch to different emulation modes and that is currently in an emulation mode other than IPDS emulation, such as ASCII or IGP emulation mode. This is most common with IBM 6400 and 4247 line matrix printers.
    If the printer can successfully be used with another configuration, such as LAN SNMP device, it is likely a bad IPDS card or printer controller board.  A trace of the issue shows the printer hardware does not respond to after opening the connection.  Contact the printer manufacturer for further problem determination.
    Ensure the control board on the printer hardware is configured for the correct port.  For example, Lexmark printers use port 5001 and sometimes port 9600.  The control board for the printer should have these ports open for communication.  Contact the manufacturer or refer to the manufacturer's documentation for instructions.

    In some cases, the problem with message PQT3625 RC22 has been resolved by ending the writer, deleting and reconfiguring the PSF Configuration object with the same settings as before, then starting the writer again. If needed, print the current settings in the PSF Configuration object before it is deleted by using the Display PSF Configuration (DSPPSFCFG) command with OUTPUT(*PRINT), or follow the instructions in the following document for the recommended settings to use on the Create PSF Configuration (CRTPSFCFG) command:

    N1010169: Configuring a *LAN IPDS Device Description

    Message PQT3603 RC22, Message PQT3625 RC22 and Message PQT3076 using Infoprint Server on 6.1 or 7.1 i5/OS

    If message PQT3603 RC22, message PQT3625 RC22, and message PQT3076 are issued when using Infoprint Server to convert spooled files to PDF on an IBM System i running 6.1 or 7.1 i5/OS, then it is most likely that you are seeing the issue discussed by Informational APAR II14451 "OSP-MSGPQT3603 STARTING INFOPRINT SERVER PRINTER WRITER". Informational APAR II14451 is available at:

    http://www-912.ibm.com/n_dir/nas4apar.nsf/ALLAPARS/II14451

    Object conversion periodically needs to be performed on the V5R3M0 (R530) Infoprint Server code. The object conversion can take enough time to cause the driver job to fail with messages PQT3625 RC22, PQT3603 RC22 and PQT3076 "Print driver job for device &8 ended because of an error".

    This issue can be circumvented by changing the PSF Configuration (PSFCFG) object to set the APPC and TCP/IP retry count (RETRY) parameter to *NOMAX. For example:

    CHGPSFCFG PSFCFG(library-name/psfcfg-name) RETRY(*NOMAX)

    The programs will be converted the first time they are used. However, object conversion will need to be performance after applying Infoprint Server PTFs, so it is recommended to leave the PSFCFG object set to use RETRY(*NOMAX) even after the program has been initially converted so ample time will be provided to perform the V6R1 object conversion anytime it is needed.

    It is also suggested that you change the command default for CRTPSFCFG, so that you do not run into this error with newly created objects:

    CHGCMDDFT CMD(CRTPSFCFG) NEWDFT('RETRY(*NOMAX)')

    For more information, please refer to the following document:

    N1013400: Infoprint Server Fails with Message PQT3625 RC22 on Systems Running V6R1M0 (R610) i5/OS

    Message PQT3603 RC33 or Message PQT3625 RC33

    Message PQT3603 RC33 and message PQT3625 RC33 can occur when multiple printer devices, either on the same or different systems, are configured to the same physical printer but the release timer is not set in the PSF configuration object.   This is similar to RC15.  Refer to the section titled - Timeout Settings in the Operating System Printer Device Description for more information.  Create or change the PSF configuration object to set the release timer (RLSTMR) to something other than *NOMAX for all printer device configurations for the printer.
    This message has also been known to be caused by a faulty, bad, disconnected or missing IPDS card in the printer hardware. Check the IPDS card in the printer hardware or contact the hardware manufacturer.


    Message PQT3002: The connection to device &3 has been released.
    This error message indicates that the session with the device ended because the release timer (RLSTMR) expired. This error might have occurred for the following reasons.
    1 The Release timer (RLSTMR) parameter is set too low.
    2 An incorrect port number or Internet address was specified in the printer device description. For a list of port number values to use, based on the printer hardware, refer to the following document:

    N1019440: Recommended IPDS Port Number Values for *LAN IPDS Device Descriptions
    3 The remote device, if it is a printer, might be busy printing from another host.
    4 The remote device, if it is a printer, might not be ready to print and might require operator intervention.

    Message PQT3075: Printer or communications error detected for device &8. Print driver job ended.
    This error message indicates that a printer error or communications error has been detected, and that this resulted in the writer ending abnormally. This message is usually preceded by another message, such as message PQT3621 - The session with device &8 ended abnormally.

    Message PQT3076: Print driver job for device &8 ended because of an error.
    This error message indicates that an error occurred and that it resulted in the writer ended abnormally. This message is usually preceded by another message, such as message PQT3075 - Printer or communications error detected for device &8. Print driver job ended. and message PQT3621 - The session with device &8 ended abnormally.

    Message PQT3523: Structured field &17 is missing
    Message PQT3502: Structured field &17 is not allowed or forms a sequence that is not valid.
    These error messages indicate that a structured field in the AFPDS printer data stream is incorrect. This is usually caused by a problem in the application that generated the *AFPDS spooled file.

    Message PQT3630: Device &8 returned negative acknowledgment with sense data.
    This error message indicates that the printer returned a negative acknowledgement (or NACK) to the writer. This is caused by a problem in the AFPDS data stream being sent to the printer, or it can be caused by a problem in the printer hardware or printer microcode or firmware. The sense data in the message indicates what type of problem has occurred.

    When message PQT3630 is received, it is usually accompanied by a second message that provides additional information about the problem, including a shorter version of the sense data. The most common messages received with message PQT3630 are:
     
    PQT3073 - Error detected while processing spooled file. Processing of the print request ended.
    PQT3072 - Error occurred while processing &8 separator page.
    PQT3653 - Device &8 reported a command reject exception.
    PQT3665 - Bar Code Specification Check exception at printer &8.
    PQT3675 - Data stream exception at printer &8.
    CPF3433 - Printing of file &4 by writer &1 not complete.
    CPF3395 - File &4 held by the writer &1 on output queue &2 in &3.
    PQT3621 - The session with device &8 ended abnormally.

    The following document provides a list of common IPDS sense data values that are received when printing to IPDS printers and the common causes and resolutions:

    N1019056: IPDS Sense Data for PQT3630 Messages

    Note: If the sense data is not listed in the above Rochester Support Center knowledgebase document, then refer to the Intelligent Printer Data Stream Reference, S544-3417-06, manual instead. The IPDS Reference manual is available online through the IBM Printing Systems Digital Library Web page at http://www.printers.ibm.com/R5PSC.NSF/Web/manuals.

    Message PQT3665: Bar Code Specification Check exception at printer &8
    This error message indicates that the printer detected a data value in the bar code data that was either not valid or not supported. The sense data provides additional information about the problem. The various sense data values are listed in the Intelligent Printer Data Stream Reference, S544-3417-06, which is available online through the IBM Printing Systems Digital Library Web page at http://www.printers.ibm.com/R5PSC.NSF/Web/manuals.

    The most common sense data returned for bar code errors is X'04110100 DE010001 00000000 D6810101 01010000 00000001' (or the short form is X'0411'..X'00' X'01'). The IPDS Reference information on this sense data indicates that the bar code is attempting to print outside of the printable page area. This is usually resolved by doing one of the following:
    o Position the bar code away from the paper edge so it does not try to print off the page.
    o Turn on the edge-to-edge feature in the printer hardware.

    Note: Some printers do not have this option, but might have other hardware options available. For example, the Infoprint 62 IPDS printer has the option to set the Horizontal/Vertical positions for the Green-bar form type to "30/0" and to set the Green-bar form type to use a Media type of "Paper."
    o There are a few new problems with printing bar codes at V5R1M0. One problem is that the height of the bar code is incorrectly calculated (so that it prints the length of the whole page). There is another problem when specifying several bar codes on the page that they are incorrect. These problems are resolved by applying PTF SI02325 or its supersede.

    Note: This does not correct the problem on existing spooled files; therefore, a new spooled file must be generated after applying the PTF.
    o The attributes of the spooled file do not correctly specify the page size (length, width, lines per inch, and characters per inch) for the paper being used (for example, the page is created too small). Change the printer file (CHGPRTF) or override the printer file (OVRPRTF) to specify the correct page size attributes and create a new spooled file.
    o The bar code is printing larger than expected after an upgrade to R520. There was a bug at earlier releases that if the *WIDTH was not specified for the bar code, then the system was sending x'00' for a width rather than x'FF'. X'00' is actually not even a value width parameter, but it appears that most printers will print with the smallest supported width in this case. That bug has been fixed at R520. The x'FF' width is sent down, and the bar code prints larger.

    Example: The bar codes were specified as follows:

    BARCODE(CODE3OF9 2 *NOHRI (*RATIO 3-) X'01')

    BARCODE(CODE3OF9 *NOHRI (*RATIO 2) - X'01')

    BARCODE(CODE3OF9 *NOHRI (*RATIO 2) - X'01')

    BARCODE(CODE3OF9 *HRI (*RATIO 2) X'- 01')

    The resolution is to set the width (*WIDTH 0.007) in the DDS. For some of the bar code specifications, the height was not specified. To ensure the height is correct, use the height parameter also.

    Example: The new bar code keyword values are:

    BARCODE(CODE3OF9 2 *NOHRI (*RATIO 3) X'01')

    BARCODE(CODE3OF9 2 *NOHRI (*WIDTH 0.007) (*RATIO 2) X'01')

    BARCODE(CODE3OF9 2 *NOHRI (*WIDTH 0.007) (*RATIO 2) X'01')

    BARCODE(CODE3OF9 2 *HRI (*WIDTH 0.007) (*RATIO 2) X'01')

    For additional information about using the BARCODE keyword, refer to the following publication:

    DDS Reference (SC41-3712-01)

    Message PQT3800: Device &8 is not ready
    This indicates that the printer hardware is offline, is having an with the printer hardware, or is in some other state preventing it from receiving print data from the writer.

    In one case, message PQT3800 had been seen when a system operator or end-user had taken an IPDS line matrix printer (such as an IBM Infoprint 4247, IBM Infoprint 6400, or InfoPrint 6500 printer) offline as soon as the printer stopped printing to change a custom set, but the printer had not yet notified the writer that it was finished printing the spooled file. In that case, the printer was taken offline while the spooled file was still in PRT (Printing) status, which caused the writer to put the spooled file in MSGW (Message Waiting) status with message PQT3800. Putting the printer back online resolved the issue.

    In another case, a spooled file was put into MSGW (Message Waiting) status with message PQT3800 after replacing the toner cartridge in an IPDS laser printer. This was probably done while the spooled file was still being printed or immediately after the printer stopped printing, yet before notifying the writer that the spooled file had finished printing. In this case, the issue was resolved by using the End Writer (ENDWTR) command with the When to end writer (OPTION) parameter set to *IMMED to end the writer immediately, and then using the Start Print Writer (STRPRTWTR) command to restart the writer.

    Message CPF3330: Necessary resource not available
    This indicates that a resource is not available and the writer appears to hang. A good circumvention is to change the default wait timeout on the writer. This can be changed through the CHGCLS command, then restart the writer. An example is CHGCLS CLS(QSPL) DFTWAIT(120), to be entered at the command line.

    Message MCH3601: Pointer not set for location referenced
    You should not get this message. Getting the latest PTFs should resolve this problem. Refer to section "Recommended PTF Levels" at the bottom of this document for information on getting the latest PTFs.
  • - Font Substitution Messages



    Note: The Font substitution messages (FNTSUBMSG) parameter in the PSF Configuration (PSFCFG) object is used to specify whether PSF/400 will issue messages indicating when a successful font substitution has been performed. Messages indicating that a font substitution attempt failed will always be issued.

    Message PQT2061: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. However, resident fonts are not supported by printer &10. The resident character set (FGID) and resident code page that were referenced are &22 and &23. An exact match to the resident code page or resident character set (FGID) could not be found. Because you specified absolute fidelity, processing of the print request ended.

    Message PQT2062: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. However, resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute resident character set (FGID) &11 with an equivalent character set, but you were not authorized to character set &18 in library &11 or you were not authorized to library &11. Processing of the print request ended.

    Message PQT2063: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. Resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute an equivalent code page and character set. Two attempts were made to find an equivalent character set, but you were 1) not authorized to the character sets or the library specified for the character sets, or, 2) the character sets could not be found, or, 3) the character set has a pel density (resolution) incompatible with the device. The names of the character sets are &18 and &20. Processing of the print request ended.

    Message PQT2064: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. However, resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute an equivalent code page, but you were not authorized to code page &19 in library &11 or you were not authorized to library &11. Processing of the print request ended.

    Message PQT2065: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. However, resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute an equivalent code page and character set. Two attempts were made to find an equivalent code page, but you were not authorized to the code pages or the library specified for the code pages or the code pages could not be found. The names of the code pages are &19 and &21. Processing of the print request ended.

    Message PQT2066: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to a resident font, and resident fonts are not supported by printer &10. The font refers to resident character set (FGID) &22 and resident code page &23. Character set &18 and code page &19 were substituted for the resident font.

    Message PQT2068: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. Resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute resident character set (FGID) &24 with an equivalent character set, but character set &18 could not 1) be found, or, 2) has a pel density (resolution) incompatible with the device, or, 3) has a font technology incompatible with the device. Processing of the print request ended.

    Message PQT2069: Font substitution failed.
    Cause: An error was encountered while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to a resident font. However, resident fonts are not supported by printer &10. The font in error refers to resident character set (FGID) &22 and resident code page &23. An attempt was made to substitute resident code page &23 with an equivalent code page, but code page &19 could not be found. Processing of the print request ended.

    Message PQT2072: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to resident character set (FGID) &22 and resident code page &23. These resident resources are not present in printer &10. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &24 and resident code page &25 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. If you specified absolute fidelity, processing of the print request ended. If you specified content fidelity, the substitution was performed, and processing of the print request continued.

    Message PQT2077: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to resident character set (FGID) &22 and resident code page &23. These resident resources are not present in printer &10. The substitute font &26 specified in user font table &27 is not supported by the printer. A system specified font was substituted instead. The font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &24 and resident code page &25 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. If you specified absolute fidelity, processing of the print request ended. If you specified content fidelity, the substitution was performed, and processing of the print request continued.

    Message PQT3531: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Printer &10 only supports resident fonts. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &22 and resident code page &23 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. Processing of the print request continued.

    Message PQT3532: Font substitution failed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Printer &10 only supports resident fonts. An attempt was made to substitute resident resources that exactly matched the characteristics of the originally requested font. This substitution failed. Processing of the print request ended.

    Message PQT3533: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Character set &18 1) could not be found, or, 2) has a pel density (resolution) incompatible with the device, or, 3) has a font technology incompatible with the device. Printer &10 supports printer resident fonts. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &22 and resident code page &23 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. Processing of the print request continued.

    Message PQT3534: Font substitution failed.
    Cause: Print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Character set &18 1) could not be found, or, 2) has a pel density (resolution) incompatible with the device, or, 3) has a font technology incompatible with the device. Your printer &10 supports printer resident fonts. An attempt was made to substitute resident resources that exactly matched the characteristics of the originally requested font. This substitution failed. Processing of the print request ended.

    Message PQT3535: Font substitution was performed.
    Cause: Print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Code page &19 could not be found. Your printer &10 supports printer resident fonts. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &22 and resident code page &23 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. Processing of the print request continued.

    Message PQT3536: Font substitution failed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Code page &19 could not be found. Printer &10 supports printer resident fonts. An attempt was made to substitute resident resources that exactly matched the characteristics of the originally requested font. This substitution failed. Processing of the print request ended.

    Message PQT3537: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. You are not authorized to character set &18 or you are not authorized to the library specified for character set &18. Printer &10 supports printer resident fonts. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &22 and resident code page &23 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. Processing of the print request continued.

    Message PQT3538: Font substitution failed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. You are not authorized to character set &18 or you are not authorized to the library specified for character set &18. Printer &10 supports printer resident fonts. An attempt was made to substitute resident resources that exactly matched the characteristics of the originally requested font. This substitution failed. Processing of the print request ended.

    Message PQT3539: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. You are not authorized to code page &19 or you are not authorized to the library specified for code page &19. Printer &10 supports printer resident fonts. A font substitution was performed that keeps as many characteristics as possible of the originally requested font. Resident character set (FGID) &22 and resident code page &23 were substituted. A value of *DFLT for the substituted character set (FGID) or code page means that the printer default was used. Processing of the print request continued.

    Message PQT3540: Font substitution failed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. You are not authorized to code page &19 or you are not authorized to the library specified for code page &19. Printer &10 supports printer resident fonts. An attempt was made to substitute resident resources that exactly matched the characteristics of the originally requested font. This substitution failed. Processing of the print request ended.

    Message PQT3541: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to raster character set &18 and code page &19. You requested that outline fonts be used when possible. Device &10 supports outline fonts. Outline character set &20 and code page &21 were substituted. Processing of the print request continued.

    Message PQT3542: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to character set &18 and code page &19. Device &10 does not support outline fonts. Raster character set &20 and code page &21 were substituted. Processing of the print request continued.

    Message PQT3544: Font substitution was performed.
    Cause: Your print request for file &1 number &7 in job &5/&4/&3 created on system &8 at &9 referred to an outline font, and outline font technology is not supported by printer &10. The font refers to outline character set &22 and code page &23. Raster character set &18 and code page &19 were substituted for the outline font.

    Message PQT3545: Font substitution failed.
    Cause: An error was found while processing file &1 number &7 in job &5/&4/&3 created on system &8 at &9. Your print request referred to an outline font. Outline font technology is not supported by printer &10. The font in error refers to a outline character set &22 and code page &23. An attempt was made to substitute outline character set &22 with an equivalent raster character set, but character set &18 could not be found or has a pel density (resolution) incompatible with the device. Processing of the print request ended.

  • - Recommended PTF Levels



    There are no PTFs that are required PTFs to configure or to print using a *LAN 3812 IPDS printer device description. However, getting the latest Print Group PTF will typically help you avoid problems:

     
    PTF Number Licensed Program Version Description
    SF99366 5770SS1 V7R1M0 710 Print Group PTF for V7R1M0
    SF99356 5761SS1 V6R1M0 610 Print Group PTF for V6R1M0
    SF99347 5722SS1 V5R4M0 540 Print Group PTF for V5R4M0

    Otherwise for a list of the latest PTFs, including PTFs that are not yet included in the latest Print Group PTF, please refer to the Print topic on the Recommended Fixes web site:

    http://www-912.ibm.com/s_dir/slkbase.nsf/recommendedfixes
  • - Checking and Changing the Size of the *SPOOL Pool



    The amount of memory allocated to the *SPOOL pool and the maximum number of active jobs can have an affect on whether a writer is able to print, or how quickly a writer is able to print, to a network attached printer. To check and change the size of the *SPOOL, do the following:

    1. Use the Work with System Status (WRKSYSSTS) command and press the F11 Key twice to display the pool data, including the pool names. Note both the Pool Size and the Max Active settings for the *SPOOL pool. Starting in V4R5 OS/400, the pool size is specified in megabytes (M). Prior to V4R5 OS/400, the pool size was specified in kilobytes (KB).
    2. Check the *SPOOL pool and estimate if it is an acceptable size for the system's printing needs:

    Refer to the Pool Configuration information in the Work Management Guide (SC41-4306) for a list of the suggested values. When using remote output queue printing, in most cases, Host Print Transform is also being used which increases the requirement for the *SPOOL pool. A good suggestion to start with is 5000K. The IBM Redbooks IBM AS/400 Printing V (SG24-2160-01) recommends a minimum of 6 MB. If the system has many, many writers, this should be higher. Contact Work Management or Performance for additional help if needed.
    3. Use the following Display System Value (DSPSYSVAL) command to display the current setting of the QPFRADJ (Performance adjustment) system value:

    DSPSYSVAL SYSVAL(QPFRADJ)
    4. If the QPFRADJ system value is set to 0 (No adjustment), then proceed to the next step to set the size of the *SPOOL pool. If the QPFRADJ system value is set to 1 (Adjustment at IPL), 2 (Adjustment at IPL and automatic adjustment), or 3 (Automatic adjustment), then use the Work with Shared Storage Pools (WRKSHRPOOL) command to first set a minimum percentage for the *SPOOL pool.
    5. To change the size of the *SPOOL pool, use the WRKSYSSTS command and press the F11 Key twice, as was done in Step 1 above. Type over the existing values for the Pool Size and Max Active settings and press the Enter key to change the settings. Any additional memory allocated to the *SPOOL pool will be taken from the *BASE pool.

    Note: If the minimum percentage for the *SPOOL pool is not increased and Performance Adjustment is used, then the pool size will gradually be reduced by Performance Adjustment until it matches the minimum percentage, at which time it will no longer be at an acceptable size for the printing needs of the system. For further assistance with adjusting the performance of the system, contact a Technical Support representative in the Performance (PERF) queue.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.4.0"}]

Historical Number

24483927

Document Information

Modified date:
18 August 2021

UID

nas8N1019439