Printronix is a registered trademark of Printronix, Inc. PSA is a registered trademark of Printronix, Inc. Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not...
Sources of Useful IBM Information... 7 Compatible System Attachments... 8 Defining IPDS ...8 The Protocol ... 8 The Printer Environment ... 8 Emulations and Data Streams... 8 2 Configuring with IPDS Commands ... 9 Overview... 9 The IPDS Emulation ... 9 The Command Sets ...
Page 6
Set Home State (SHS)...28 Execute Order Anystate (XOA)...28 Execute Order Home State (XOH) ... 29 XOH Obtain Printer Characteristics ... 29 Exception Processing and IDs ... 34 A Fonts and Code Pages ... 43 B IPDS Exception Reporting ... 47 Command Reject —...
Page 7
C Contact Information... 81 Printronix Customer Support Center...81 Printronix Supplies Department ...81 Corporate Offices...82 D Glossary... 83...
IBM 9370 Information System: Customizing the Work Station Subsystem • IBM 9370 Information System: Work Station Subsystem and Reference • IBM AS/400* Programming: Data Management Guide • 4234 Printer Models 007, 008, 011, and 012 Product and Programming Description • Guide to Programming for Printing, Version 2...
Defining IPDS IPDS is both a protocol and a printer mode. The two terms do not mean the same thing. The Protocol A protocol is a set of rules governing the exchange of information between the printer and the host computer.
The commands used to store and present overlays that contain text, graphics, image, and bar code information. This set contains commands that let you set up a page and manage printer-host communication.
(PTOCA) commands are a part of the text data tower. This information is necessary to print text in a page, a page segment, or an overlay. The image data enables the printer to print images in a page, a page segment, or an overlay. This is not supported.
Figure 1. State Transition Processing a Page Your printer can print page by page or it can behave as a line printer. This section describes how the printer prints page by page. (The User's Manual explains the two printing methods in more detail.) Your IPDS-capable printer builds a page by gathering all the page descriptor commands and data blocks that are specified in the data stream.
To print a bar code, for example, Bar Code commands must be in the data stream. As each type of data block is stored in memory, the printer moves from state to state. For example, when the printer is reading the Bar Code commands, it is in the bar code state.
The following commands are used to present text blocks in a page, a page segment, or an overlay. Load Equivalence (LE) Byte D61D Count This command allows the printer to use a single suppression ID for more than one suppression pair. Write Text (WT) Byte D62D Count Use this command to send character data and controls to the printer.
Page 16
Chapter The IPDS Emulation Control Sequence Absolute Move Baseline (AMB) Absolute Move Inline (AMI) Begin Line (BLN) Begin Suppression (BSU) Draw B-Axis Rule (DBR) Draw I-Axis Rule (DIR) End Suppression (ESU) No Operation (NOP) Overstrike (OVS) Relative Move Baseline (RMB) Relative Move Inline (RMI) Repeat String (RPS) Set Baseline Increment (SBI)
93953 The fonts listed in Table 2 as standard is available by default in every non- impact build. The optional fonts are available as part of the Printronix Additional Font Diskettes. NOTE: Download the optional fonts to the printer’s flash memory separately to make them available for IPDS.
Chapter The IPDS Emulation Images The physical page is the actual medium used, such as a continuous form or an 8 1/2 x 11 inch sheet of paper. The logical page is mapped onto the physical page; you can set its size and position inside the physical page.
Write Image (WI) Byte Count This command is used to denote image data to be printed. Graphics Graphics contain line drawings, such as arcs and lines. The area containing the entire drawing is called the graphics presentation space. Usually, only a part of the drawing will be printed. This part is referred to as the graphics presentation space window.
Chapter The IPDS Emulation The Graphics Command Set The following commands are used to present graphics in a page, a page segment, or an overlay. Write Graphics Control (WGC) Byte Count WGC specifies the graphics block position, size and orientation; it specifies the graphics presentation space window size and location inside the graphics presentation space;...
Count This command sends Bar Code Object Content Architecture data to the printer and applies to only one bar code symbol. To print another bar code symbol, you must send another WBC command. The following table displays the code and bar code type.
This command identifies the data following as data for a page segment. Delete Page Segment (DPS) Byte Count DPS instructs the printer to delete one or all of the stored page segments. Include Page Segment (IPS) Byte Count When you issue an IPS command, a stored page segment can be processed as if the printer had just received it.
The Apply Finishing Operations (AFO) command is valid only in home state. It directs the printer to apply zero or more finishing operations to the current sheet and each copy of that sheet. The current sheet is the sheet in which the first copy of the next received page is printed.
The IPDS Emulation Begin Page (BP) Byte Count This command indicates the beginning of a page and causes the printer to enter the page state. Byte Count This command notes the end of a block containing: an image, graphics, or bar codes.
Sense Type and Model (STM) Byte D6E4 Count This command asks the printer to identify its capabilities. The printer responds with one or more Acknowledge Replies, which contain general information and command set vectors that identify supported IPDS function sets and subsets.
Page 26
Chapter The IPDS Emulation Table 4. Command-Set Vectors Name Value Device-Control Command Set Length (4028) X’002A’ (3816) X’002C’ Command Set ID X’C4C3’ Subset ID X’FF10’ LCC Property Pair X’6001’ Optional X’7002’ Command Property Pair X’702E’ XOA Property X’8008’ Pairs (3816) X’800A’...
Page 27
SELECT INPUT MEDIA SOURCE SET MEDIA ORIGIN NOTE: Some IPDS hosts will not send an IPDS XOH- SMS to a printer that reports as a Continuous Forms printer and supports XOH-SMO. Reporting of XOH-SET MEDIA ORIGIN Support can be disabled through the IPDS XOH-SMO Support menu setting.
Page 28
Chapter The IPDS Emulation Table 4. Command-Set Vectors Name Value Subset ID X’C9D4’ Level ID X’FF10’ Property Pairs X’1001’ (3816) X’4022’ X’A004’ IO Image Command Set Length (4028) X’0014’ (3816) X’0012’ Subset ID X’C9D6’ Level ID X’FF10’ Property Pairs X’1001’ (3816) X’4020’...
Page 29
Table 4. Command-Set Vectors Name Value Subset ID X’C2C3’ Level ID X’FF10’ Property Pairs X’1001’ X’4022’ X’A004’ Overlay Command Set Length X’0008’ Command Set ID X’D6D3’ Subset ID X’FF10’ Property Pair X’1505’ Page Segment Command Set Length X’0006’ Command Set ID X’D7E2’...
Byte Count SHS instructs the printer to return to the home state. If the printer is in the process of printing (in page state), the current page ends and prints the data up to the time of the SHS command. Depending when the SHS command was sent, either a complete or partially completed page prints.
Execute Order Home State (XOH) Byte Count The following orders are valid only when the printer receives them in the home state. The XOH command identifies these orders. Table 6. Execute Order Home State Commands Order Erase Residual Print Data...
• the printer does not allow any page that has a data stream error to print The first method applies for situations such as printing checks; the second method applies for printing drafts or when troubleshooting the data streams.
Page 37
Table 10. Exceptions: Specification Check - Bar Code Exception ID 040000 Symbol Reference point outside Logical page 040200 Attempt to print Barcode or HRI character out of presentation space 040300 Invalid or unsupported bar code type 040400 Unsupported font local ID or font not available 040500 Invalid or unsupported bar code color 040600...
Page 38
Chapter The IPDS Emulation Table 10. Exceptions: Specification Check - Bar Code Exception ID 040F0D Invalid data within a Macro PDF417 Control Block Table 11. Exceptions: Specification Check - Graphics Data Exception ID 030001 Unallocated or unsupported graphics order or command code 030002 Reserved byte exception or invalid attribute set 030003...
Page 39
Table 11. Exceptions: Specification Check - Graphics Data (continued) Exception ID 03C200 Marker Set not supported 03C201 Undefined marker code 03C202 Mismatched marker set 03C300 Font not available 03C301 Undefined graphics character code 03C302 Mismatched character set 03C601 Arc drawing check 03D100 Truncated graphics image 03D101...
Page 40
Chapter The IPDS Emulation Table 12. Exceptions: Specification Check - General (continued) Exception ID 020601 Invalid Begin Suppression (BSU) 020605 Invalid or unsupported units per unit base 020705 Invalid or unsupported self-defining-field extents 020805 Invalid or unsupported mapping option 020905 Invalid or unsupported axis offsets 020A05 Data within a block might be outside the VP...
Page 41
Table 12. Exceptions: Specification Check - General (continued) Exception ID 022E02 Insufficient font data received 023001 Insufficient storage for LCC copy-control record 023101 Invalid or unsupported value for Load Copy Control number of copies 023201 Invalid or unsupported Load Copy Control Keyword in copy-group entry 023401 Invalid or unsupported value for Load Copy Control entry-byte count 023601...
Page 42
Invalid or unsupported suppression number 029803 Invalid or unsupported value for Temporary Baseline Move control sequence 02A401 Page boundary in the X-direction cannot be represented in the printer 02A501 Page boundary in the Y-direction cannot be represented in the printer Condition...
Page 43
Table 12. Exceptions: Specification Check - General (continued) Exception ID 02AC01 Insufficient main storage to print the sheet 02AD01 Invalid or unsupported value for Logical Page Position command 02AE01 Invalid or unsupported parameter in an IO command 02AF01 Insufficient storage to print the sheet (Asynchronously detected insufficient storage to print the sheet) 02C101 Maximum number of simplex or duplex keywords in an LCC command...
Fonts and Code Pages Table 13: Language, Code Page, and Quality Combinations Language CPGID English/USA/Canada English/US/International International Set 1 Symbols, Set 7 Canadian, French Austrian, German Belgian Brazilian Canadian, French (Alt) Danish, Norwegian Finnish, Swedish Italian Japanese English Portuguese Spanish Speaking English (UK) Austrian, German (Alt) Danish, Norwegian (Alt)
Page 46
Appendix A Table 13: Language, Code Page, and Quality Combinations Language CPGID Arabic Greek Hebrew PC ASCII International Set 5 Hebrew (Alt) PC Multilingual Latin 2/ROECE Icelandic Cyrillic Old OCR-A OCR-B 1002 US Text Subset 1003 Turkish, Latin 5 1026 Euro USA/Canada 1140 Euro Austrian, German...
Page 47
Table 14: Resident Font and Code Page Resident Font OCR-B Courier 10 Prestige 10 Courier Italic 10 OCR-A APL 12 Courier 12 Prestige 12 Courier Italic 12 Prestige Italic 12 Boldface PSM Courier 15 Courier 17.1 Gothic 20 Letter Gothic Letter Gothic Bold Courier Courier Bold...
Page 48
5835 Times Roman BI 12 5835 These fonts are optional, and are available as part of the Printronix Additional Font Diskettes. When an A or B is specified in the code page column, it indicates that the font supports are of the following groups of code pages:...
Equipment Check: Indicates that a hardware error has occurred. Data Check: Indicates that the printer detects a data error when receiving a logical unit from the application program or that the printer detects a data error while printing the page.
Alternate Exception Action: None. X'400100' Printer Out of Forms Alternate Exception Action: None. X'40E000' Forms Jam Alternate Exception Action: None. X'40E400' Cancel Print Key Pressed Explanation: The Cancel Print key was pressed while the printer was receiving IPDS data. Alternate Exception Action: None.
Explanation: 1. The print position cannot be represented within the printer. 2. The result of the calculation cannot be represented in the printer. This may result from the WGC GDD window limits being very close together. 3. There was a coordinate overflow while scaling.
Alternate Exception Action: All physical printing outside the valid printable area is suppressed. All data and controls continue processing. The printer continues to print within the valid printable area to the greatest possible extent. For text, this may mean truncating text lines at the character boundary closest to the edge of the intersection.
Page 53
Descriptor field is not supported. Alternate Exception Action: Use the printer default wide element width. The default wide element width and the specified or default unit/module width should be such that a wide/nar- row ratio of 2.50 or 3.00 results.
Page 54
Explanation: The length of the variable data (as given in bytes 5-n of the Write Bar Code command) to be bar-encoded/printed, plus any printer-generated check digits to be coded/printed, is not a valid or supported value. Alternate Exception Action: None.
Page 55
X'040F00' Explanation: Matrix row size value or number of rows value is not supported. Alternate Exception Action: Use X’0000’ for the unsupported value. X'040F01' Explanation: Invalid structured append sequence indicator. Alternate Exception Action: Present the bar code symbol without structured append information. X'040F02' Explanation: Structured append sequence indicator too large.
Page 56
Appendix B X040F06' Explanation: Invalid number of data symbol characters per row for a PDF417 symbol. Alternate Exception Action: Terminate bar code object processing. X'040F07' Explanation: Invalid desired number of rows value for a PDF417 symbol. Alternate Exception Action: Proceed as if X’FF’ was specified. X'040F08' Explanation: Too much data for a PDF417 symbol.
X'040F0C' Explanation: Invalid Macro PDF417 Control Block length value. Alternate Exception Action: Terminate bar code object processing. X'040F0D' Explanation: Invalid data within a Macro PDF417 Control Block. Alternate Exception Action: Present the bar code symbol without a Macro PDF417 Control Block. Specification Check-Graphics —...
Page 58
Appendix B X'030003' Incorrect Drawing Order Length Explanation: A drawing order length is invalid. Alternate Exception Action: None. X'030004' Invalid Attribute Value Explanation: An attribute value for a graphic order or for a WGC Set Current Default instruction is invalid. Alternate Exception Action: Use the standard default value for that attribute.
Page 59
X'033400' Character Angle Value Not Supported Explanation: The specific character angle requested is not supported. Alternate Exception Action: Use the closest angle supported by the printer. X'033E00' Invalid End Prologue Explanation: An End Prologue was found outside the prologue section of a segment.
Page 60
Appendix B X'036802' Supported Order Invalid in Area Explanation: A supported order is detected that is not valid within an area. Alternate Exception Action: None. X'036803' Pattern Symbol Set Not Available Explanation: The symbol set identified by the current Pattern Set is not available.
Page 61
X'039201' Image Data Discrepancy Explanation: There are insufficient or too many bytes of data in the Image Data order. Alternate Exception Action: None. X'039300' Graphic Image Bracket Error Explanation: An End Image order is executed without a Begin Image order having been previously executed.
Page 62
Appendix B X'03C301' Undefined Graphics Character Code Explanation: A code in a character string is undefined in the current character symbol set. Alternate Exception Action: Use the standard default character symbol. X'03C601' Arc Drawing Check Explanation: The drawing processor has detected an exceptional condition which may prevent the drawing of the arc within the normal limits of pel accuracy.
X'03D104' Image Height Greater Than Maximum Supported Explanation: The Height value specified in the Begin Image order exceeds the maximum image height supported by the product. Alternate Exception Action: The image height is truncated at the maximum height supported. X'03E100' Relative Line Outside Coordinate Space Explanation: The relative line starts inside the drawing order coordinate space but goes outside.
Page 64
X'020402' Acknowledge Reply Response Continuation Request is Invalid Explanation: The printer received a command whose response continuation bit is on but there is no response to continue. Alternate Exception Action: None. X'020405' Area Position Reference System is Not Supported Explanation: The reference system specified in the Area Position structured field of the WGC or WBCC command is not a valid or supported value.
Page 65
1. The units specified in the Output Control or the Data Descriptor structured field of the WGC or WBCC command is not a valid or supported value. 2. The result of the calculation cannot be represented in the printer. This may result from the WGC GDD window limits being very close together.
Page 66
Appendix B X'020805' Invalid Mapping Option Explanation: A mapping option specified in the Output Control structured field of the WGC or WBCC command is not a valid or supported value. Alternate Exception Action: None. X'020905' Invalid Axis Offsets Explanation: The axis offsets specified in the Output Control structured field of the WGC or WBCC command are not valid or supported values.
Page 67
X'021201' Invalid Intercharacter Adjustment Explanation: 1. The value of the intercharacter adjustment is not a valid or supported value. 2. The intercharacter adjustment direction is not a valid or supported value. Alternate Exception Action: 1. Ignore the control sequence and continue presentation with the parameter values according to the hierarchy (the hierarchy is the last valid value received or if none received then use the LPD value).
Page 68
4. The font or symbol set referenced in a Load Page Description, Write Text, or Write Graphics command is defined within the current Load Font Equivalence but is not loaded in the printer. Alternate Exception Action: 1. None. 2. None.
Page 69
X'021902' Multiple Occurrences of the Same LFE Local ID Explanation: The one-byte Local Identifier value in the Load Font Equivalence command has been used more than once, making the Two-Byte Font Identifier reference ambiguous. Alternate Exception Action: None. X'021C01' Invalid Embedded Text Control Sequence Explanation: A text control sequence contains a code other than X'D3' following X'2B'.
Page 70
Appendix B X'021F01' Repeat String Length Error Explanation: Repeat String control on a Write Text command has non-zero fill count but zero string length. Alternate Exception Action: None. X'021F02' Mismatch of LFE Two-Byte Loaded Font ID Parameters Explanation: Two fonts have been assigned the same two-byte Loaded Font ID by the LFE command, but one or more of the following attributes differ: Character Set ID, Code Page ID, Font (Style) ID, Uniform Character Increment, Proportional Increment Coefficient Table.
Page 71
X'023601' Invalid or Unsupported Load Copy Control Simplex/Duplex Parameter Explanation: The LCC command simplex/duplex parameter is invalid or unsupported. Alternate Exception Action: If invalid, none. If unsupported, the printer prints simplex. X'023F02' Font Index Not Loaded Explanation: 1. The font inline sequence in Load Font Equivalence command is not supported or not supported with the current Text Orientation.
Page 72
Appendix B X'024601' Invalid WIC Source Image Format Explanation: 1. The Compression Algorithm value (Byte 8) is not a valid or supported value. 2. The (Pel) Data Format value (Byte 9) in the Write Image Control command is not X'00'. Alternate Exception Action: None.
Page 73
Alternate Exception Action: If the attribute value is not valid, ignore the control and continue presentation with the value that was in effect prior to this control sequence. If the attribute value is valid but unsupported for this printer, use the printer default color.
Page 74
Appendix B X'026102' Invalid LPD Y Units/Unit-Base Explanation: 1. On the Load Page Description command, the Y units per unit-base value is not a valid or supported value. 2. On the Set Media Size command, the units per unit-base value is not a valid or supported value.
Page 75
X'026902' Invalid LPD Baseline Direction Explanation: On a Load Page Description command the Baseline Sequence Direction value is not a valid or supported value. Alternate Exception Action: Use an inline sequence direction of 0 degrees and a baseline sequence direction of 90 degrees. X'026A01' Insufficient Source Image Data Explanation: The number of source image bytes received <...
Page 76
Appendix B X'027202' Invalid SMS X-Extent Explanation: On the Set Media Size command, the X-extent is not a valid or supported value. Alternate Exception Action: None. X'027302' Invalid SMS Y-Extent Explanation: On the Set Media Size command, the Y-extent is not a valid or supported value.
Page 77
Alternate Exception Action: None. X'029101' BO Overlay Number Already Loaded Explanation: The host attempted to download an overlay from the Begin Overlay command that already exists in the printer. Alternate Exception Action: None. X'029102' Invalid Request Resource List Parameter Explanation: 1.
Page 78
Alternate Exception Action: None. X'029501' Page Segment Number Already Loaded Explanation: The host attempted to download a page segment that already exists in the printer. Alternate Exception Action: None. X'029601' Page Segment Number Not Loaded Explanation: The page segment identified by the Page Segment Identifier on the Include Page Segment or Delete Page Segment command was not loaded or was already deleted prior to its attempted use.
Page 79
X'029701' Overlay Nesting Limit Exceeded Explanation: Depth of overlay nesting is greater than the maximum depth. Alternate Exception Action: None. X'029801' Suppression Number Outside Valid Range Explanation: 1. On a Write Text command, the Begin Suppression number value is not a valid or supported value.
Page 80
Appendix B X'02AD01' Invalid Load Page Position Parameter Explanation: The X Coordinate value on the Load Page Position command is not a valid or supported value. The Y Coordinate value on the Load Page Position command is not a valid or supported value.
X'02C602' Invalid Load Equivalence Mapping Type Explanation: The Mapping Type on the Load Equivalence command is not X'0100'. Alternate Exception Action: None. X'02C801' An unsupported Input Media Source ID was Specified Explanation: An unsupported Input Media Source ID was specified in an XOH-SIMS command.
Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/support.aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies. Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/supplies-parts.aspx (714) 368-2686 (31) 24 6489 311...
NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone: (65) 6542 0110 Fax: (65) 6546 1588 Visit the Printronix web site at www.printronix.com...
Glossary Acknowledge Reply A message about printer information or exceptions that the printer sends to the host. It can be a positive or negative reply. ([N]ACK can contain status resource or counter information.) bar code A printed code consisting of parallel bars of varied width and spacing and designed to be read by a one- dimensional scanning device.
Page 86
A value, parameter, attribute, or option assigned by a program or system if another is not specified by the user. The printer prints page by page: It gathers all of the page descriptor commands and data blocks for each page and then prints the page.
Page 87
The initial state of the printer before it begins downloading overlays, page segments, and/or fonts. After the printer prints the page, the printer returns to the home state. host assigned ID The host assigns an ID to every resource (page segment, overlay, or font).
Page 88
The printer behaves like a line printer: It begins printing as soon as you send the data. The degrees of rotation of a presentation space or a data block.
Page 89
ROM is not lost when power is turned off and cannot be written to, hence the term “read-only.” ROM-resident fonts are fonts permanently stored in a printer and available at any time. To turn on, activate, invoke, or enable.
Page 91
Any state, IPDS, 11 Bar Code Command Set, 19 Write Bar Code Control (WBCC), 19 Bar Code command set, 9 Bar Code, Data Towers, 10 Bar Codes, 18 Begin Overlay (BO), 21 Begin Page (BP), 22 Begin Page Segment (BPS), 20 Block states, 10 Byte Count, 12 Center and trim mapping, graphics, 17...
Need help?
Do you have a question about the T5000R Series and is the answer not in the manual?
Questions and answers