IGP®/PGL® Programmer’s Reference Manual 5525B/31/32 Line Matrix Printer
5525B/31/32 Line Matrix Printer IGP®/PGL® Programmer’s Reference Manual P/N 422803-001
Compaq® 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. Compaq shall not be held responsible for errors contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or consequential, in connection with the furnishing, distribution, performance or use of this material.
Trademark Acknowledgements IBM is a registered trademark of the International Business Machines Corp. Compaq is a registered trademark of Compaq Computer Corporation. IGP, LinePrinter Plus, PGL and Printronix are registered trademarks of Printronix, Inc. Code V is a trademark of Quality Micro Systems, Inc. This product uses Intellifont Scalable typefaces and Intellifont technology. Intellifont is a registered trademark of Agfa Division, Miles Incorporated (Agfa).
Table of Contents 1 Introduction........................................................... 13 About this Manual ................................................................................ 13 Warnings and Special Information ................................................ 13 The IGP/PGL Emulation ...................................................................... 13 Features ........................................................................................ 13 How the IGP Operates ...........
Table of Contents Corners ......................................................................................... 49 Create ........................................................................................... 51 Delete Form .................................................................................. 52 Delete Logo................................................................................... 53 Directory ....................................................................................
Table of Contents Overview.............................................................................................. 87 User-Defined Variable Bar Code Ratios........................................ 89 PDF Character Sizes [PDF [;LOC] [;FONT]] ................................. 90 Bar Codes............................................................................................ 92 Codabar ........................................................................................ 92 Code 39................
Table of Contents Directory Command............................................................................. 237 Example ........................................................................................ 237 Delete Command................................................................................. 238 Example ........................................................................................ 238 Solving Program Errors .....................................................................
Table of Contents Paper Motion Using the PI Line (Relative Line Slewing) ..................... 273 Paper Motion Using the EVFU............................................................. 275 General EVFU Programming ........................................................ 275 EVFU Programming Sequence ..................................................... 275 Using the EVFU ............................................................................ 276 Clearing the EVFU Memory ............................
Table of Contents
1 Introduction About this Manual This manual explains how to use the IGP/PGL (Intelligent Graphics Printing/Printronix Graphics Language) on line matrix printers. Use this manual and your printer User’s Manual for complete printer-IGP compatibility. Warnings and Special Information Information requiring special attention is indicated under special headings . Always read and comply with this information.
Chapter 1 The IGP/PGL Emulation Selectable Bar Codes provide appropriate bar codes for your application, using standard wide-to-narrow ratios. A wide selection of bar codes are available: Codabar; Code 39; Code 93; Interleaved 2 of 5; German I-2/5; ITF14; FIM; Matrix; MSI A through D; Code 128 Subset A, B, and C; UCC/EAN128; EAN 8; EAN 13; PDF417; POSTNET; PostBar; Royal Mail; UPC-A; UPC-E and UPC-E0; and UPS 11. UPC and EAN bar codes can also specify add-on data.
Modes of Operation When you execute a form, you can print it as many times as you wish. This saves you time downloading the form each time you want to print it. Printer Operating Mode Normal Mode Create Form Mode Execute Form Mode Normal Mode What It Means Printer receives data and prints text/graphics. You send IGP commands to the printer. Printer prints the form designed in Create Form Mode. Printer returns to Normal Mode. Figure 1.
Chapter 1 The IGP/PGL Emulation Normal Mode Normal Mode commands print data in a line printer format until a Special Function Control Code (SFCC) is detected. Commands accessible in the Normal Mode are summarized in Table 1 and fully described on the referenced page.
Modes of Operation Table 1. Normal Mode Commands Command Mnemonic Description Page # Compressed Print DENSITY Defines the horizontal print density in characters per inch (cpi). 45 Configuration CONFIG Reconfigures IGP/PGL parameters 46 Create CREATE Places the IGP in the Create Form Mode where all the Create Form Mode commands are available to design form elements. 51 Create Logo LOGO Places the IGP in the Create Logo Mode, where logos can be defined using the appropriate dot placements.
Chapter 1 The IGP/PGL Emulation Table 1. Normal Mode Commands (continued) Command Mnemonic Description Page # Special Function Control Code SFCC Changes the current Special Function Control Code (SFCC). 85 Select Format On/Off SFON SFOFF Ignores all host-generated paper movement commands. See note on page 20. 83 Set Up SETUP Automatically executes and loads the IGP/PGL commands into the printer at power-up or after a RESET command is sent.
Modes of Operation Table 2. Create Form Mode Commands Command Mnemonic Description Page # Alphanumerics ALPHA Defines size, location, and content of alphanumeric characters and dynamic alphanumeric data fields. 29 Alpha, Incremental ALPHA Defines starting data and increment amount for fixed autoincrement fields. 34 Bar Codes BARCODE Each bar code type has its own command to define size, location, orientation, and data as described in the “Bar Codes” chapter.
Chapter 1 The IGP/PGL Emulation Execute Form Mode The Execute Form Mode prints forms created in the Create Form Mode. Execute Form Mode commands are summarized in Table 3 and fully described on the referenced pages. Carriage Return, Form Feed, and Line Feed commands also operate in the Execute Form Mode. The EXECUTE Form command must be entered in UPPERCASE, and a single line spacing or a line containing overlay data must separate an EXECUTE command from a NORMAL command.
Modes of Operation Table 3. Execute Form Mode Commands Command Mnemonic Description Page # Compressed Print DENSITY Defines the horizontal print density in characters per inch (cpi). 45 Dynamic Alphanumeric Data AFn Executes the dynamic alphanumeric data provided after the (cc) EXECUTE command. 62 Dynamic Bar Code Data BFn Executes the dynamic bar code data provided after the (cc) EXECUTE command. 63 Expanded Print EXPAND Expands fonts vertically and horizontally.
Chapter 1 The IGP/PGL Emulation Alphanumeric Data Based on the requirements of a specific application, you can use one of three methods to print alphanumeric data on a form: Fixed data, Overlay data, and Dynamic data. These methods are described in more detail in Chapter 2. • Fixed data prints on each form in the same “prepositioned” location, unless the location changes in the form definition.
2 Commands IGP/PGL Command Standards IGP/PGL commands have many options and a specific format that you must follow to obtain the desired results. Certain elements are standard for all IGP/PGL commands. These command standards are described in the following sections. Familiarize yourself with the meaning and use of these standards before operating the IGP/PGL. Special Function Control Code (SFCC) The SFCC identifies a command directed to the IGP/PGL to enable a specific IGP/PGL function.
Chapter 2 IGP/PGL Command Standards All IGP/PGL commands begin with the Special Function Control Code (SFCC) and must end with a line terminator. Line Terminator Each command line must be terminated by a line feed (or a carriage return with a line feed), or a paper motion command. The command line will not be accepted if not properly terminated. Refer to the system controls for your system keyboard and printer configuration codes to determine which key(s) (such as ENTER, LINE FEED, FORM FEED, etc.
Prompt Table 4. Valid Form Name Characters A through Z (upper and lowercase) 0 through 9 Dollar sign $ Percent sign % Dash — At sign @ Left and right braces { } Left and right parenthesis ( ) Tilde ~ Single quotes ‘ ’ Exclamation point ! Pound sign # Ampersand & Prompt The prompt is the symbol (e.g., a dollar sign, period, or greater than symbol) used to indicate that the host computer is ready for data input. In this manual, the prompt is shown as a period (.).
Chapter 2 IGP/PGL Command Standards Executing a form or calling a logo will access the default flash automatically if the object is not found in memory. NOTE: While the printer no longer contains an actual floppy disk drive, the ;DISK command has been retained to provide backward compatibility with earlier printer models and command syntax. Character Position.Dot Position (CP.DP) Format The CP.DP format is a special parameter available with the IGP/PGL commands. CP.
Data Fields for Alphanumeric and Incremental Data Command Codes Data Fields for Alphanumeric and Incremental Data Based on the requirements of a specific application, three methods are used to print alphanumeric data on the form: fixed (or prepositioned) data, overlay data, and dynamic data. Fixed Data Fixed data is entered during the Create Form mode as part of the form definition. It appears as prepositioned information similar to other form elements.
Chapter 2 Command Codes Dark Printing A DARK parameter, available in the Alpha, Reverse, and Bar Code commands, is a double-strike feature which produces bolder, darker text, denser black backgrounds for reverse print, and extra-dark, more readable bar codes. A DARK parameter used with alphanumeric text in the ALPHA command will print using a bold font. The extra darkness provided by the DARK parameter improves the Print Contrast Ratio (PCR) and effectively extends the life of the ribbon.
Alphanumerics Alphanumerics Purpose Defines and positions alphanumeric data on a form as a “preprinted” static data field or as a dynamic data field. Mode CREATE Format ALPHA [R;] [E;] [Cn;] [AFn;L;] [DIR;] [UC;] [DARK;] [POINT;] [HSn; or HSDn;] SR; SC; VE; HE; (D)text(D) STOP ALPHA The Alphanumeric command; enter ALPHA. R The optional reverse printing (white on black) parameter. Enter R to specify a black background. NOTE: The D parameter, used in earlier IGP/PGL versions, is ignored.
Chapter 2 Command Codes DIR c. Replace L with a number equal to the number of characters in the dynamic alphanumeric string ranging from 1 through 512. d. Dynamically enter the alphanumeric string itself in the Execute Form mode. The length of the alphanumeric string must be equal to or less than the value assigned to the length (L) parameter. Refer to “Execute Form: Dynamic Alphanumeric Data” on page 62. e. If the dynamic data field is used, do not enter the ASCII TEXT parameter.
Alphanumerics POINT Optional parameter that changes the units for the vertical and horizontal expansion values. When the point parameter is present the VE value defines the font height in 1/72 of an inch (i.e. points). If the HE value is non-zero, it defines the character width in 1/72 of an inch, otherwise the character width is the standard width for the chosen height. Cannot be used with elongated (E) and compressed (Cn) parameters. HSn or HSDn Horizontal Spacing.
Chapter 2 Command Codes Comments As dynamic data, the location of the alphanumeric field is established in the Create Form mode and the actual alphanumeric data is continuously redefined before placement on the form in the Execute Form mode. You can also rotate and reverse print the alphanumeric string using this command. Example The following program and example in Figure 4 illustrates the Alphanumeric command capabilities.
Alphanumerics ROW 36 ROW 39.2 COLUMN 37 COLUMN 49 COLUMN 48 ROW 45 COLUMN 60 ROW 54.5 ROW 58 COLUMN 58 COLUMN 26 Figure 4.
Chapter 2 Command Codes Alphanumerics, Incremental Fields Purpose The incremental fields feature updates alphanumeric (and bar code) data fields in a numeric or alphabetical manner automatically using just one set of data sent from the host computer. Incremental alphanumeric data fields can be applied to fixed (static) data (page 38), or dynamic data (page 40).
Alphanumerics, Incremental Fields Linked and unlinked masking of subfields within the STARTDATA is defined by the L value in the STEPMASK field. L indicates linked but non-incremental data in the corresponding position of the STARTDATA field; any alpha character other than L in the STEPMASK field indicates a non-incremental, non-linked STARTDATA subfield. Table 5.
Chapter 36 2 Command Codes Value Description STARTDATA: STEPMASK: ABC123 000001 Printed Results: ABC123 ABC124 ...... ...... ...... ABC999 ABD000 ...... ...... ...... ZZZ999 AAA000 Linked subfields: ABC and 123 RPT = 1 RST = 0 Value Description STARTDATA: STEPMASK: 1ABC123 0LLL001 Printed Results: 1ABC123 1ABC124 . ... . ... . ...
Alphanumerics, Incremental Fields Value Description STARTDATA: STEPMASK: ___1 0001 Printed Results: ___1 ___2 .... .... .... __10 Single numeric field with leading spaces (_) RPT = 1 RPT = 0 Value Description STARTDATA: STEPMASK: _AA98 0LL01 Printed Results: _AA98 . . . . . . 1AA00 Two separate but linked numeric subfields: AA and 98, with leading space (_); fixed data AA is nonincrementing RPT = 1 RST = 0 Value Description STARTDATA: STEPMASK: _42AR 0LL01 Printed Results: _42AR _42AS .
Chapter 2 Command Codes Alphanumerics, Incremental: Fixed Data Fields Purpose To automatically increment/decrement fixed alphanumeric data fields. Mode CREATE NOTE: In the command format below, incremental alphanumeric command parameters are shown in boldface type. Standard alphanumeric command parameters and optional nonincremental parameters are shown in italics and are described in the Alphanumerics section (starting on page 29).
Alphanumerics, Incremental: Fixed Data Fields RSTn The optional incremental reset count parameter to specify the number of times an incremented field is printed (on one or more forms) before it is reset to the starting value. A reset count is useful when printing a hierarchy of fields where a low-level field generates a sequence of numbers, is reset, and the next higher field level is incremented (such as in a unit/box/carton application).
Chapter 2 Command Codes Alphanumerics, Incremental: Dynamic Data Fields Purpose Automatically increments/decrements dynamic alphanumeric data fields. Specifies the location and size of the incremental dynamic data field during the Create Form mode. STEPMASK and STARTDATA parameters are supplied in the Execute command during the Execute Form mode.
Alphanumerics, Incremental: Dynamic Data Fields Comments The Incremental Alphanumeric Dynamic Data Fields command is a variation of the standard Alphanumeric command, but does not replace the standard alphanumeric command. As with standard dynamic data fields, incremental dynamic data fields allow the starting data to be changed without changing the form definition program. Increment parameters can also change with each new job without changing the form definition program.
Chapter 2 Command Codes ~CREATE;TEST HDUP;3;6 VDUP;3;1 ALPHA I;1;1;0;0;001;RPT3;RST9;*A01* STOP VDUP;OFF HDUP;OFF ALPHA I;1;18;0;0;001;RPT1;*B01* STOP END ~EXECUTE;TEST;2 ~NORMAL where: I;1;1;0;0;001;RPT3;RST9;*A01* Incremental alphanumeric command; SR of 1; SC of 1; VE and HE are 0; 001 stepmask increments by 1; RPT3 repeats each field value 3 times; RST9 prints and increments each field 9 times before resetting; *A01* is the starting value.
Boxes Boxes Purpose Produces any variety of rectangular boxes. Mode CREATE Format BOX LT; SR; SC; ER; EC STOP BOX The Box command; enter BOX. Boxes expand down and to the right from the given row and column. LT Defines the line thickness, measured in dots. Line thickness is based on dot dimensions of 1/72 inch both horizontally and vertically, so that line thickness is equal in both directions. Enter a value of 1 or greater. SR Defines the starting row of the box.
Chapter 2 Command Codes Example The following program and example in Figure 5 defines two boxes. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page. (Note the position of the ending row and column.) BOX 3;24;16;51;63 2;44;48;46;58 STOP (One box three dot rows thick) (One box two dot rows thick) COLUMN 16 ROW 24 COLUMN 48 ROW 44 ROW 46 COLUMN 58 ROW 51 COLUMN 63 Figure 5. Box Example 44 box.
Compressed Print (Density) Compressed Print (Density) Purpose Defines the horizontal print density in characters per inch (cpi). Mode NORMAL, EXECUTE Format (cc) DENSITY;n (cc) The Special Function Control Code. DENSITY The Density command; enter DENSITY. n Selects the density in cpi, OCR-A, or OCR-B; enter a value of 10, 12, 13, 15, 17, or 20 to specify the density in characters per inch (the default is 10 cpi), or 10A to select 10 cpi OCR-A or 10B to select 10 cpi OCR-B.
Chapter 2 Command Codes Configuration Purpose Places the IGP/PGL in the Configuration mode, where changes to any or all of the IGP/PGL configuration parameters via software control can be made instead of from the printer control panel. Mode NORMAL NOTE: A separate line is required for the CONFIG command, the parameters and values, and the END command. Format (cc)CONFIG parameter;value END (cc) The Special Function Control Code. CONFIG The Configuration command; enter CONFIG.
Configuration Table 6.
Chapter 2 Command Codes Comments The IGP/PGL configuration parameters available are defined in your User’s Manual. Any or all parameters can be used within one CONFIG command, and they can be listed in any order. List each parameter;value on a separate line, terminating with the END command. Default configuration values can be reset using the CONFIG command. Parameters not followed by a value, and parameters followed by any non-zero value are interpreted as “true” or “enabled” values.
Corners Corners Purpose Defines corner sets. Mode CREATE Format CORNER LT; SR; SC; ER; EC; VL; HL STOP CORNER The Corner command; enter CORNER. Corners expand down and to the right from the given row and column. LT Defines the line thickness, measured in dots. Line thickness is based on dot dimensions of 1/72 inch both horizontally and vertically, so that line thickness is equal in both directions. Enter a value of 1 or greater. SR Defines the starting row of the corner.
Chapter 2 Command Codes STOP Example Stop indicates the end of the CORNER command; enter STOP, and the IGP/PGL will wait for a new command. If not entered, the IGP/PGL will wait for another set of Corner command parameters. The following program specifies a corner set as shown in Figure 6. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page.
Create Create Purpose Places the IGP/PGL in the Create Form mode, where forms and form elements can be defined using the appropriate commands. Mode NORMAL Format (cc)CREATE; [/]formname [;FL] [;DISK] (cc) The Special Function Control Code. CREATE The Create Form mode command; enter CREATE. / The optional debug character to check the program line by line for incorrect parameters and print boundaries using the current page size; enter the slash symbol (/) to debug the program.
Chapter 2 Command Codes c. DISK Example To specify the default forms length of 792 dot rows (11 inches at 6 lpi), do not enter a value in the form length parameter. Optional parameter to store the form in the printer’s flash memory. Enter DISK. The following command creates a form named ORDER with the default forms length: (cc)CREATE;ORDER Delete Form Purpose Deletes the form identified by the form name from the directory and the IGP/PGL memory.
Delete Logo Delete Logo Purpose Deletes the logo identified by the logo name from the directory and the IGP/PGL memory. Mode NORMAL Format (cc)DELETE LOGO; logoname [;DISK] (cc) The Special Function Control Code. DELETE LOGO The Delete Form command; enter DELETE LOGO. logoname Identifies the logo to be deleted. Enter the name of the logo exactly as it was created. You can delete an entire logo directory by inputting *ALL as the logo name.
Chapter 2 Command Codes Duplication, Horizontal 54 Purpose Defines both the number of times form elements are duplicated horizontally and the spacing between each duplication. Mode CREATE Format HDUP; dup#; offset# elements to be duplicated HDUP;OFF HDUP The Horizontal Duplication command; enter HDUP. dup# Specifies number of times the entered form element(s) will repeat horizontally. Enter a value ranging from 1 through 512.
Duplication, Horizontal Example The following example is a horizontal duplication of a series of vertical lines. To illustrate positioning, starting row and column are indicated on the example but do not necessarily reflect actual location on the page. HDUP;14;4 VERT 1;10;59;59.6 1;10.3;58.9;59.9 1;11;58.6;60 1;11.3;58.3;60.3 1;12;58;60.6 1;12.3;58.3;60.3 1;13;58.6;60 1;13.3;58.9;59.9 STOP HDUP;OFF (14 dupes with 4-character column spacing) (Command to be duplicated horizontally) (Note CP.DP format: 59.
Chapter 2 Command Codes Duplication, Vertical Purpose Defines both the number of times elements are duplicated vertically and the spacing between each duplication. Mode CREATE Format VDUP; dup#; offset# elements to be duplicated VDUP;OFF Example VDUP;3;2 HORZ 1;52;15;65 STOP VDUP;OFF COLUMN 15 ROW 52 ROW 54 ROW 56 56 VDUP The Vertical Duplication command; enter VDUP. dup# Specifies number of times the entered form element(s) will repeat vertically. Enter a value ranging from 1 through 512.
Emulation Switching Emulation Switching Purpose To switch the active emulation from IGP/PGL to the emulation selected. Mode NORMAL Format (cc)EMULATION; emulation (cc) The Special Function Control Code. EMULATION The Emulation Switch command. Enter EMULATION. emulation Specifies the emulation to activate. Currently, the only selection is VGL (Code V). Enter VGL. If VGL is not the selection, this command is then ignored.
Chapter 2 Command Codes Execute Form Mode How to Use the Execute Command Forms are printed in the Execute Form mode. In addition to printing the form in the Execute Form mode, variable data can also be entered onto the form “dynamically” during the Execute Form mode. This dynamic data input during the Execute Form mode includes page numbers, alphanumeric data fields, and bar code data fields. Pagination, described on page 77, is performed in the Execute Form mode.
Execute Form: General Format Execute Form: General Format Purpose Prints forms created in the CREATE mode. Mode NORMAL Format (cc)EXECUTE ;formname [;PAGE n] [;FC] [;ICNTn] [;IRSTn] [;DISK] [EVFU Data] [(cc)AFn; (D)ASCII text(D)] [(cc)BFn; (D)data(D)] [(cc)IAFn; [idir] STEPMASK; [RPTn;] [RSTn;](D)STARTDATA(D)] [(cc)IBFn; [idir] STEPMASK; [RPTn;] [RSTn;](D)STARTDATA(D)] [Overlay Data] [Form Feed character] (cc)NORMAL (cc) The Special Function Control Code.
Chapter 2 Command Codes EVFU Data Optional parameter to use the EVFU to overlay data onto the form. (“EVFU Data” is not part of the Execute command. It is shown in the command sequence to indicate that actual EVFU data can be entered following the Execute command.) Enter EVFU data as described in Appendix C and on page 61. (cc)AFn;(D)ASCII text(D) The Execute Dynamic Alphanumeric Data command.
Execute Form: Electronic Vertical Format Unit (cc)NORMAL The Normal mode command. If the form count parameter was not used in the Execute command, enter the SFCC and NORMAL to return the IGP/PGL to the Normal mode. The Normal mode command is input following all other Execute commands to enter variable data. (Refer to the following sections.) Input a line terminator to leave a blank line before entering the Normal command.
Chapter 2 Command Codes Execute Form: Dynamic Alphanumeric Data Purpose Incorporates the dynamic alphanumeric data into a previously identified location on a form. Mode EXECUTE Format (cc)AFn; (D)ASCII text(D) (cc) The Special Function Control Code. AFn Indicates a dynamic alphanumeric field (AF) and its data (n).
Execute Form: Dynamic Bar Code Data Execute Form: Dynamic Bar Code Data Purpose Incorporates the dynamic bar code data into a previously identified location on a form. Mode EXECUTE Format (cc)BFn; (D)data field(D) (cc) The Special Function Control Code. BFn Indicates a dynamic bar code field (BF) and its data (n). Enter BF and replace n with the number of the data field corresponding to the number used to identify the field when it was defined with the bar code command during the Create Form mode.
Chapter 2 Command Codes Execute Form: Incremental Dynamic Data Purpose Incorporates incremental/decremental capability to dynamic alphanumeric or bar code data supplied as a part of the Execute Form mode. Mode NORMAL NOTE: In the command below, incremental execute parameters are shown in boldface type; standard execute command parameters are shown in italics. The general execute format is shown on page 59.
Execute Form: Incremental Dynamic Data Supplying Dynamic Data for Incremental Fields Incremental dynamic data fields are created in the Create Form mode using the incremental alphanumeric or bar code commands. The incremental dynamic data itself is supplied during the Execute Form mode at the top of the form prior to any overlay data. The incremental dynamic data (either alphanumeric or bar code data) can be changed with each new batch of forms.
Chapter 2 Command Codes RSTn The optional incremental reset count parameter to specify the number of times an incremented field is printed (on one or more forms) before it is reset to the starting value. A reset count is useful when printing a hierarchy of fields where a low-level field generates a sequence of numbers, is reset, and the next higher field level is incremented (such as in a unit/box/carton application).
Expanded Print Expanded Print Purpose Selects font sizes other than the default font. Mode NORMAL, EXECUTE Format (cc)EXPAND; VE; HE (cc) The Special Function Control Code. EXPAND The Expanded Print command; enter EXPAND. VE Specifies the vertical expansion factor; enter a value ranging from 0 through 113. HE Specifies the horizontal expansion factor; enter a value ranging from 0 through 113. Both VE and HE parameters must be zero or non-zero. If one expansion value is 0, they must both be 0.
Chapter 2 Command Codes Font Purpose Selects typeface options other than the default Gothic font options. Mode NORMAL, CREATE, EXECUTE Format (cc)FONT [;FACE #] [;BOLD #] [;SLANT #] [;SYMSET #] [;POINT #] [;SPACE #] NOTE: The font is activated according to the changed options upon receipt of the font command. (cc) The Special Function Control Code. (If you are using the Font command in the CREATE mode, do not enter the SFCC.) FONT The Font command; enter FONT.
Form Length You can use any or all Font parameters, listed in any order, in a single Font command. (Do not list font parameters on separate lines.) Parameters and symbol sets not specified retain the previously selected value. Parameters incorrectly specified retain the previously selected value. All Font command parameters are reset to default values upon receiving a NORMAL, RESET, CONFIG;RESET, or new CREATE command.
Chapter 2 Command Codes Ignore Sequence Purpose Enables the IGP/PGL to ignore all characters after the Ignore Sequence On (IGON) command is entered. All characters are ignored until the Ignore Sequence Off (IGOFF) command is entered. Mode NORMAL, CREATE, or EXECUTE Format (cc)IGON or (cc)IGOFF NOTE: A line terminator is not required in the Ignore Sequence. (cc) The Special Function Control Code. IGON Ignore Sequence On command; enter IGON. IGOFF Exits Ignore Sequence; enter IGOFF.
Lines, Horizontal Lines, Horizontal Purpose Defines horizontal lines. Mode CREATE Format HORZ LT; R; SC; EC STOP Example HORZ The Horizontal Line command; enter HORZ. LT Defines the line thickness, measured in 1/72-inch dots. Enter a value of 1 or greater. Horizontal line thickness expands downward from the given row. R Defines the row to draw the horizontal line. Enter a value ranging from row 1 through one less than the length of the form.
Chapter 2 Command Codes Lines, Vertical Purpose Defines vertical lines. Mode CREATE Format VERT LT; C; SR; ER STOP Example 72 VERT The Vertical Line command; enter VERT. LT Defines the line thickness, measured in 1/60-inch dots. Enter a value of 1 or greater. Vertical line thickness expands to the right from the starting column. C Defines the column where the vertical line begins. Enter a value ranging from column 1 through one less than the width of the form.
Listen VERT 2;36;53;61 2;50;53;61 2;60;53;61 2;70;53;61 STOP COLUMN 36 COLUMN 50 ROW 53 ROW 61 vert.ex Listen Purpose Disables the IGP/PGL from the quiet state and enables the IGP/PGL for standard operation. (The Quiet command is explained on page 80.) Mode NORMAL Format (cc)LISTEN (cc) The Special Function Control Code. LISTEN The Listen command; enter LISTEN. NOTE: When the IGP/PGL is in the quiet state, P-Series line printer emulation commands are active.
Chapter 2 Command Codes Example SR Defines the starting row of the logo. The SR (and SC) parameter specifies the location for the logo based on the upper left corner of the grid in which the logo was defined. Enter a value ranging from row 1 through one less than the length of the form. Character row or dot row is specified based on the Scale command (page 82), or use the CP.DP format (page 26). SC Defines the starting column of the logo.
Logo Mode, Create Logo Mode, Create Purpose Places the IGP/PGL in the Create Logo mode, where logos can be defined using the appropriate dot placements. Mode NORMAL Format (cc)LOGO; logoname; VL; HL [;DISK] row#; dot; dot1-dot2; dot END (cc) The Special Function Control Code. LOGO The Logo command; enter LOGO. logoname Enter a maximum of 15 alphanumeric characters for the name of the logo. (Refer to page 24 for a list of allowable Logo Name characters.
Chapter 2 Command Codes Comments The logo is defined by specifying the overall size and the rows of data used. The actual number of logos you can create and store depends on the memory required for each logo. The maximum logo size allowed is 252 rows high (3.5 inches) and 240 columns wide (4 inches). Values exceeding either of these dimensions will produce an error. To maximize memory space, do not define the vertical and horizontal length of the logo grid larger than is required to capture the design.
Normal Mode Normal Mode Purpose Places the IGP/PGL in the Normal mode of operation, where the data stream is not changed but monitored for a Special Function Control Code followed by an IGP/PGL command. Mode NORMAL, EXECUTE Format (cc)NORMAL (cc) The Special Function Control Code. NORMAL The Normal mode command; enter NORMAL. Comments Normal mode is entered automatically when the printer is powered on with IGP/PGL. In Normal mode, the IGP/PGL uses the default font and line spacing values.
Chapter 2 Command Codes Paper Purpose Controls printer paper options. Mode NORMAL, EXECUTE Format (cc)PAPER [;option] (cc) The Special Function Control Code. PAPER The PAPER command; enter PAPER. EJECT Prints all pages that are in the buffer. Enter EJECT. This is currently the only PAPER command available for line matrix printers. Paper Instruction - Data Bit 8 Purpose Enables or disables data bit 8 as the paper instruction signal when the IGP/PGL is configured for a serial interface.
Paper Instruction (PI) Enable/Disable Paper Instruction (PI) Enable/Disable Purpose Enables or disables use of the PI line using a parallel I/O device. (This command does not enable/disable PI line sensing; it enables or disables use of the “sensed” PI line.) Mode NORMAL Format (cc)EN-PI or (cc)DIS-PI (cc) The Special Function Control Code. EN-PI The Enable PI command; enter EN-PI.
Chapter 2 Command Codes Quiet Purpose Places the IGP/PGL in the Quiet mode, where all data passed to the ASCII emulation is unaffected by IGP/PGL commands except for the LISTEN, SFON/SFOFF, and IGON/IGOFF. Mode NORMAL Format (cc)QUIET (cc) The Special Function Control Code. QUIET The Quiet command; enter QUIET. The IGP/PGL remains in the quiet state until the Listen command is received. Comments In the Quiet mode IGP/PGL ignores all commands except LISTEN, SFON/SFOFF, and IGON/IGOFF.
Reset Reset Purpose Deletes all forms and logos from IGP/PGL memory. The Reset performs the following tasks: • Prints any objects in the current page • Deletes all forms and logos resident in memory • Sets the font to the default Gothic 12 point/10CPI • Releases all user defined character mappings • Runs the SETUP.PTX file if present Mode NORMAL or EXECUTE Format (cc)RESET (cc) The Special Function Control Code. RESET The Reset command; enter RESET.
Chapter 2 Command Codes If the ending row is less than the starting row, the rows are automatically switched. The same is done with the ending and starting column. EC Defines the ending column of the reverse print field. Enter a value ranging from column 2 through the last column of the form. The ending column must be greater than the starting column. Character column or dot column is specified based on the Scale command (page 82), or use the CP.DP format (page 26).
Select Format If the dot scale is selected, the parameters are specified in dot row and column. For example, based on a 60 dpi horizontal and 72 dpi vertical dot scale, a form of 8-1/2 x 11 inches has 792 rows (72 dpi x 11 inches) and 510 columns (60 dpi x 8-1/2 inches), and a form of 8 x 11 inches has 792 rows and 480 columns. The default scale factor uses character row and column (6 lpi and 10 cpi). Anytime CP.DP format (page 26) is used, the scale assumes 6 lpi and 10 cpi and a 60 x 72 dpi format.
Chapter 2 Command Codes Setup Purpose Automatically executes and loads IGP/PGL commands such as forms, logos, customized print environments, etc., from flash memory to the printer whenever printer power is applied or when the RESET command (page 81) is sent. Mode NORMAL Format (cc)SETUP HOST DATA (cc)SETUPEND (cc) The Special Function Control Code. SETUP The Setup command; enter SETUP. HOST DATA Any IGP/PGL commands, form definitions, text, etc. to be stored and executed at power-up.
Special Function Control Code Change Special Function Control Code Change Purpose Changes the current Special Function Control Code (SFCC). Mode NORMAL or EXECUTE Format (cc)SFCC; n or (cc)SFCC; ‘n’ (cc) The current Special Function Control Code. SFCC; Specifies the Special Function Control Code change command. Enter SFCC; (the semicolon is required.) n Represents the ASCII decimal numeric value for the new SFCC. Replace n with a decimal value between 0 and 255.
Chapter 86 2 Command Codes
3 Bar Codes Overview A bar code is a graphic representation of alphanumeric characters. Bar codes are produced by entering bar code commands in the Create Form mode. The IGP/PGL bar codes are listed in Table 7, with detailed bar code information provided on the referenced pages. All parameters must be separated by a semicolon (;) unless noted otherwise.
Chapter 3 Overview Table 7.
User-Defined Variable Bar Code Ratios User-Defined Variable Bar Code Ratios The user-defined variable ratio for bar codes is an optional parameter. The default ratios shown in Table 8 and Table 9 are overridden by the variable ratio feature. Four- and eight-digit ratios can be used, depending upon the bar code selected. Ratio data must be decimal values greater than 0. Enter R, followed by the actual bar code ratio. A colon must separate each element of the ratio.
Chapter 3 Overview PDF Character Sizes [PDF [;LOC] [;FONT]] UPC and EAN For UPC and EAN bar codes, a smaller Letter Gothic font will be substituted for OCR-A or OCR-B when the bar code symbol is not large enough to accommodate a 10 CPI font. Other Bar Codes For all other bar codes, OCR-A and OCR-B will print at 10 CPI. If necessary, when using the Normal font, the PDF will be automatically sized to fit the length of the bar code symbol. Table 8.
PDF Character Sizes [PDF [;LOC] [;FONT]] Table 9. IGP/PGL Bar Code Specification Summary for 12-Mil Tip Printers Description Magnification Parameter Average Narrow Element Width (mils) Character Density (cpi) Ratio Codabar X1 16.7 5.4 4:3:2:1 Code 39 X1 X1A X1B X2 X3 X4 13.8 13.8 13.8 31.0 44.8 58.6 4.5 5.5 5.0 2.3 1.5 1.2 3:1 2:1 2.5:1 2.3:1 2.5:1 2.4:1 Code 128A Code 128B Code 93 UPS 11 X1 X1.5 X2 X3 X4 13.8 20.7 27.3 41.4 55.2 6.5 5.0 3.3 2.2 1.
Chapter 3 Bar Codes Bar Codes The rest of this chapter describes each of the bar codes available with the IGP/PGL emulation. Codabar The Codabar structure is shown in Figure 7 and described on the following pages.
Codabar Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop code is a unique character identifying the leading and trailing end of the bar code. The start/stop code is automatically produced with each bar code.
Chapter 3 Bar Codes MAG Optional parameter to magnify (horizontally expand) the bar code symbol. The magnification default value is X1. As required for scanning, enter a magnification value from Table 8 or Table 9 to increase the magnification. Increasing the magnification adjusts printed character density. You can also use XR or XRD, defined on page 89. Hn[.m] Optional parameter to adjust the overall height (vertical expansion) of the bar code symbol (including the upper and lower 0.
Codabar SR Defines the starting row for the bar code. Enter a value ranging from row 1 to one less than the length of the form. Character row or dot row is specified based on the Scale command (page 82), or use the CP.DP format (page 26). SC Defines the starting column of the bar code. Enter a value ranging from column 1 to one less than the width of the form. Character column or dot column is specified based on the Scale command (page 82), or use the CP.DP format (page 26).
Chapter 3 Bar Codes Table 10. Codabar Character Set Character Hex Character Hex 0 30 - 2D 1 31 $ 24 2 32 : 3A 3 33 / 2F 4 34 .
Code 39 Code 39 The Code 39 structure is shown in Figure 8 and described on the following pages.
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop code is a unique character identifying the leading and trailing end of the bar code.
Code 39 Code 39 Command Format Although commonly referred to as Code “39,” you must enter the command as “C3/9” (including the slash) during IGP/PGL input. BARCODE C3/9 [CD]; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. C3/9 CD Designates bar code type C39; enter C3/9. To calculate and plot the optional mod-43 check digit with the bar code symbol automatically, enter CD.
Chapter 100 3 Bar Codes c. Replace L with a number equaling the total number of characters in the field. (The actual data provided dynamically during the Execute Form mode can be less than L.) d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn;L parameters are used. However, refer to the data field description for available characters.
Code 39 enter X for OCR-B font; enter N for 10 cpi; enter P for 12 cpi; enter Q for 13 cpi; enter R for 15 cpi; enter T for 17 cpi; enter V for 20 cpi. STOP Ends the Bar Code command while the IGP/PGL continues in the Create Form mode. Enter STOP. If STOP is not entered, an error message results. Table 11.
Chapter 3 Bar Codes Code 39 Example Figure 9 illustrates a horizontal and vertical Code 39 bar code generated by the following program: ~CREATE;C39 (Enter Create Form mode) BARCODE (Bar Code Command) C3/9;DARK;40;15 (Dark Code 39 at SR 40, SC 15) *SAMPLE C3/9* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code Command) BARCODE (New Bar Code Command) C3/9;VSCAN;H14;DARK;27;58 (Vert Dark Code 39, H 1.
Code 93 Code 93 The Code 93 structure is shown in Figure 10 and described on the following pages.
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop code is a unique character identifying the leading and trailing end of the bar code.
Code 93 Code 93 Command Format BARCODE CODE93; [DIR;] [MAG;] [Hn[.m];] [BFn;L;][DARK;] SR;SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. CODE93 Designates bar code type Code 93; enter CODE93. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation. Enter CCW or VSCAN for counter-clockwise rotation. Enter INV for inverted rotation. If DIR is not entered, the barcode is horizontally oriented.
Chapter 3 Bar Codes d. 106 The information for the data field is entered dynamically during the Execute Form Mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn;L parameters are used. However, refer to the data field description for available characters. DARK Optional parameter to produce darker looking bar codes. Enter DARK. Refer to “Dark Printing” on page 28 for more information.
Code 93 FONT Optional parameter to select the font for the human readable data field. Enter O to select OCR-A font; enter X to select OCR-B font; enter N to select 10 cpi; enter P to select 12 cpi; enter Q to select 13 cpi; enter R to select 15 cpi; enter T to select 17 cpi; enter V to select 20 cpi. STOP Ends the Bar Code command while the IGP/PGL continues in the Create Form Mode. Enter STOP. If STOP is not entered, an error message results. Table 12.
Chapter 3 Bar Codes Code 93 Example The illustration below shows a horizontal Code 93 bar code generated by the following program: ~CREATE;TEST;288 SCALE;CHAR BARCODE CODE93;X1;H7;10;20 *ABCD5678* PDF;B;N STOP END ~EXECUTE;TEST ~NORMAL 108 (Enters Create Form mode) (Bar code command) (Printable data field) (Ends bar code command) (Terminates Create Form mode) (Prints form)
Code 128A, 128B and 128C Code 128A, 128B and 128C The Code 128 structure is shown in Figure 11 and described on the following pages.
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop codes identify the leading and trailing end of the bar code.
Code 128A, 128B and 128C Code 128 Command Format BARCODE C128A or C128B or C128C;[DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;]SR;SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. C128A, C128B or C128C Designates bar code type; enter C128A, C128B or C128C. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation. Enter CCW or VSCAN for counter-clockwise rotation. Enter INV for inverted rotation.
Chapter 112 3 Bar Codes c. Replace L with a number equaling the total number of characters in the field. (The actual data provided dynamically during the Execute Form mode can be less than L.) d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn;L parameters are used. Refer to the data field description for available characters.
Code 128A, 128B and 128C PDF Optional parameter to enable printing of the human readable data field. Enter PDF to print the data field. If the parameter is not used, the human readable data will not print. This parameter is not allowed if a null data field was specified. LOC Optional parameter to identify the location of the printable data field. The default value is B, locating the human readable data below the bar code. A locates the printable data field above bar code.
Chapter 3 Bar Codes Table 13.
Code 128A, 128B and 128C Table 14. Code 128B Character Set Character Hex Character Hex Character Hex Character Hex SP 20 : 3A T 54 n 6E ! 21 ; 3B U 55 o 6F " 22 < 3C V 56 p 70 # 23 = 3D W 57 q 71 $ 24 > 3E X 58 r 72 % 25 ? 3F Y 59 s 73 & 26 @ 40 Z 5A t 74 ’ 27 A 41 [ 5B u 75 ( 28 B 42 \ 5C v 76 ) 29 C 43 ] 5D w 77 * 2A D 44 5E x 78 + 2B E 45 - 5F y 79 , 2C F 46 ‘ 60 z 7A - 2D G 47 a 61 { 7B .
Chapter 3 Bar Codes Table 15.
Code 128A, 128B and 128C Code 128B Example Figure 12 illustrates a horizontal and vertical Code 128B bar code generated by the following program: ~CREATE;128B (Enter Create Form mode) BARCODE (Bar Code command) C128B;DARK;40;15 (Dark Code 128B at SR 40, SC 15) *SAMPLE CODE 128B* (Data Field) PDF;A (Upper Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) C128B;VSCAN;H12;DARK;31;55 (Vert. Dark C128B, H 1.
Chapter 3 Bar Codes Code 128C Example Figure 13 illustrates a horizontal and vertical Code 128C bar code generated by the following program: ~CREATE;128C (Enter Create Form mode) BARCODE (Bar Code command) C128C;DARK;35;15 (Dark Code 128C at SR 35,SC 15) *1234567890* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) C128C;VSCAN;H12;DARK;27;50 (Vert. Dark C128C, H 1.
EAN 8 EAN 8 The EAN 8 bar code structure is shown in Figure 14 and described on the following pages.
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure have blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. The IGP/PGL automatically produces the left quiet zone; you must provide sufficient space on the form for the right quiet zone.
EAN 8 EAN 8 Command Format BARCODE EAN8 [+n];[DIR;][SCB;][MAG;][Hn[.m];][BFn;][DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. EAN8 Designates bar code type EAN 8; enter EAN8. +n Optional parameter to provide a 2- or 5-digit add-on code at the end of the bar code data field. Enter a plus sign (+) and a value of 2 or 5. The first bar of the add-on code is separated by nine modules from the last bar of the EAN symbol and a left guard pattern.
Chapter 122 3 Bar Codes b. Replace n with a number ranging from 1 through 512 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c. The length of the data field need not be specified since it is fixed at seven digits, plus any add-on data. d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.
EAN 8 LOC Optional parameter to identify the location of the printable data field. The default value is B, locating the human readable data below the bar code. A locates the printable data field above the bar code. To compensate for printing the 0.1-inch high data, the height of the bar code body is reduced 0.1 inch. FONT Optional parameter to select the font for the human readable data field.
Chapter 3 Bar Codes EAN 13 The EAN 13 bar code structure is shown in Figure 16 and described on the following pages.
EAN 13 Quiet Zone Quiet zones extend on both ends of the bar code to permit the scan to begin and end in a blank area. The IGP/PGL automatically produces an 11-module wide left quiet zone; you are responsible for providing sufficient space (minimum of seven modules) on the form for the right quiet zone. The number system character is also printed automatically in the left quiet zone. Start/Center/Stop Codes The start/center/stop codes are special character codes marking those portions of the bar code.
Chapter 3 Bar Codes EAN 13 Command Format BARCODE EAN13 [+n];[DIR;][SCB;][MAG;][Hn[.m];][BFn;][DARK;]SR;SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. EAN13 Designates bar code type EAN 13; enter EAN13. +n Optional parameter to provide a 2- or 5-digit add-on code at the end of the bar code data field. Enter a plus sign (+) and a value of 2 or 5.
EAN 13 b. Replace n with a number ranging from 1 through 512 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c. The length of the data field need not be specified, since it is fixed at 12 digits, plus any add-on data. d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.
Chapter 3 Bar Codes always encoded in format C. Table 16 defines the left side data field format based on the number system character. PDF Optional parameter which affects printing of the human readable data field. The data field will print automatically in the default OCR-B font unless the PDF-suppress command is specified in the FONT parameter. The human readable data field can be printed above or below the bar code symbol. LOC Optional parameter to identify the location of the printable data field.
EAN 13 EAN 13 Example Figure 17 illustrates a horizontal and vertical EAN 13 bar code generated by the following program: ~CREATE;EAN13 BARCODE EAN13+5;D;28;15 *12345678987655555* PDF STOP / BARCODE EAN13+5;VSCAN;H12;D;27;49 *12345678987655555* PDF STOP END ~EXECUTE;EAN13;1 ~NORMAL SC 49 SC 15 SR 27 SR 28 Figure 17.
Chapter 3 Bar Codes FIM The FIM (Facing Identification Mark) bar code structure is shown in Figure 18 and Figure 19 and described on the following pages. The left boundary must begin 3 inches from the right edge of the mail piece. The right-most bar must be 2 inches ± 1/8-inch from the right edge of the mail piece. Bars must be 5/8inch ± 1/8-inch tall; the top of the bars must be no lower than 1/8-inch from the top edge of the mail piece (and may touch the top edge of the mail piece).
FIM 1-3/4" 1-1/4" 1/8" Clear Zone Return Address Area NOTE: Illustration is not to scale 5/8" (Optional Line) NON-ADDRESS DATA (Top Line) NAME OF RECIPIENT (Optional Line) INFORMATION/ATTENTION LINE (Line Above Last) DELIVERY ADDRESS (Last Line) POST OFFICE STATE ZIP SR, SC POSITION 3" Figure 19. FIM Structure (VSCAN or CCW) NOTE: Additional information regarding FIM bar code requirements can be obtained from the U.S. Postal Service’s Publication 25: A Guide to Business Mail Preparation.
Chapter 3 Bar Codes Clear Zone The bar code structure requires a completely blank, 1/4-inch wide, 5/8-inch tall clear zone, reserved for only the appropriate FIM pattern. You must provide sufficient space for this zone. Start/Stop Code The start/stop code is a unique character identifying the leading and trailing end of the bar code. The start/stop code is automatically produced with each bar code. The start/stop code structure permits bidirectional bar code scanning.
FIM a. Enter BF. b. Replace n with a number ranging from 1 through 512 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c. The information for the data field is entered dynamically during the Execute Form Mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn parameters are used. Refer to the data field description for available characters.
Chapter 3 Bar Codes D Used on OCR readable mail (usually courtesy reply window envelopes) without a preprinted POSTNET bar code. STOP Ends the Bar Code command while the IGP/PGL continues in the Create Form Mode. Enter STOP. If STOP is not entered, an error message results. FIM Example Figure 20 below illustrates a horizontal FIMB bar code generated by the following program without the POSTNET preprinted bar code (POSTNET is discussed on page 159.
FIM Figure 21 illustrates a horizontal FIMC bar code generated by the following program and bears the preprinted POSTNET bar code. ~CREATE;FIMC (Enter Create Form Mode) ALPHA (Alpha command) 23;11;0;0;*PRINTRONIX, INC.* 25;11;0;0;*ATTN: CUSTOMER SERVICE* 27;11;0;0;*P.O.
Chapter 3 Bar Codes Interleaved 2/5 (I-2/5), German I-2/5 and ITF-14 The Interleaved 2/5, German I-2/5 and ITF-14 bar code structure is shown in Figure 22 and described on the following pages.
Interleaved 2/5 (I-2/5), German I-2/5 and ITF-14 Quiet Zone Both ends of the bar code structure have blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. You must provide sufficient space on the form for the quiet zones. Start/Stop Codes Unique start and stop codes permit bidirectional scanning. Both start and stop codes contain bars and spaces.
Chapter 3 Bar Codes I-2/5 Command Format BARCODE I-2/5 [CD]; or I25GERMAN; or ITF14; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. I-2/5 CD Designates bar code type Interleaved 2/5; enter I-2/5. To calculate and plot the optional modulo-10 check digit with the bar code symbol automatically, enter CD. I25GERMAN Designates German Interleaved 2/5; enter I25GERMAN. The mod-10 check digit is automatically included.
Interleaved 2/5 (I-2/5), German I-2/5 and ITF-14 BFn;L Optional parameters for assigning a dynamic bar code data field location on a form and for designating the length of the data field. With these parameters, the actual data for the bar code data field is provided dynamically during the Execute Form mode; the data is not specified during the Create Form mode. To use this field, perform the following steps: a. Enter BF. b.
Chapter 3 Bar Codes data field Interleaved 2/5: Enter the characters for the bar code data. A null data field (no characters) is permitted. The length of the data field is variable; however, the maximum length is usually limited to 32 characters to minimize potential reading errors. An even number of characters are required for the interleaving process. Consequently, if an odd number of characters are entered in the data field, a leading zero is added automatically.
Interleaved 2/5 (I-2/5), German I-2/5 and ITF-14 I-2/5 Example Figure 23 illustrates a horizontal and vertical I-2/5 bar code generated by the following program: ~CREATE;I25 (Enter Create Form mode) BARCODE (Bar Code command) I-2/5;DARK;49;27 (Dark Code I-2/5, at SR 49, SC 27) *24688642* (Data Field) PDF;A (Upper Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) I-2/5;VSCAN;H12;DARK;44;52 (Vert. Dark I-2/5, H 1.
Chapter 3 Bar Codes Matrix The structure for the Matrix bar code is shown in Figure 24 and described on the following pages.
Matrix Quiet Zone Both ends of the bar code structure have blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. You must provide sufficient space on the form for quiet zones. Start/Stop Codes Unique start and stop codes permit bidirectional scanning. Both start and stop codes contain bars and spaces. They are automatically produced.
Chapter 3 Bar Codes Matrix Command Format BARCODE MATRIX [CD]; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. MATRIX CD Designates bar code type Matrix; enter MATRIX. To calculate and plot the optional modulo-10 check digit with the bar code symbol automatically, enter CD. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation.
Matrix c. Replace L with a number equaling the total number of characters in the field. (The actual data provided dynamically during the Execute Form Mode can be less than L.) d. The information for the data field is entered dynamically during the Execute Form Mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn;L parameters are used. However, refer to the data field description for available characters.
Chapter 146 3 Bar Codes PDF Optional parameter to enable printing of the human readable data field. Enter PDF to print the data field. If the parameter is not used, the human readable data is not printed. This parameter is not allowed if a null data field was specified. LOC Optional parameter to identify the location of the printable data field. The default value is B, locating the human readable data below the bar code. A locates the printable data field above bar code.
Matrix Matrix Example Figure 25 illustrates a horizontal and vertical Matrix bar code generated by the following program: ~CREATE;MATRIX (Enter Create Form Mode) BARCODE (Bar Code command) MATRIX;DARK;27;49 (Dark Code Matrix, at SR 27, SC 49) *24688642* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) MATRIX;VSCAN;H12;DARK;52;54 (Vertical Dark Matrix, H 1.
Chapter 3 Bar Codes MSI The MSI bar code structure is shown in Figure 26 and described on the following pages.
MSI Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25-inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. You must provide sufficient space on the form for the quiet zones. Start/Stop Code Unique start and stop codes permit bidirectional scanning. Both start and stop codes contain bars and spaces. They are automatically produced.
Chapter 3 Bar Codes MSI Command Format BARCODE MSI n; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. MSI Designates bar code type MSI; enter MSI. n Designates the type of check digit combinations for the bar code. Replace n with one of the following codes to specify the check digit.
MSI BFn;L Optional parameters for assigning a dynamic bar code data field location on a form and for designating the length of the data field. With these parameters, the actual data for the bar code data field is dynamically provided during the Execute Form mode; the data is not specified during the Create Form mode. To use this field: a. Enter BF. b. Replace n with a number ranging from 1 through 512 to identify the bar code field.
Chapter 152 3 Bar Codes data field Enter the characters for the bar code data. A null data field (no characters) is permitted. The length of the data field is variable; however, a maximum of 14 data characters are allowed if a one-character check digit field is specified; a maximum of 13 data characters are allowed if a two-character check digit field is specified. The characters available for the data field are 0 through 9 (hex 30 through 39, respectively).
MSI MSI Example Figure 27 illustrates a horizontal and vertical MSI bar code generated by the following program: ~CREATE;MSI (Enter Create Form mode) BARCODE (Bar Code command) MSIA;DARK;32;27 (Dark Bar Code MSIA at SR 32, SC 27) *24688642* (Data Field) PDF;X (Printable Data Field, OCR-B) STOP (Ends Bar Code command) BARCODE (New Bar Code command) MSIB;VSCAN;X2;H12;DARK;32;54 (Vert. Dark MSIB, Mag 2, H 1.
Chapter 3 Bar Codes PDF417 The PDF417 structure is shown in Figure 28 and described on the following pages.
PDF417 Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop codes identify the leading and trailing end of the bar code. Data Field PDF417 provides twelve modes to encode data.
Chapter 3 Bar Codes PDF417 Command Format BARCODE PDF417; [DIR;] [X[D]n;] [Y[D]n;] [(Hn)| (Wn);] [ASPECTh:w;] [(Rn)|(Cn);] [Sn;] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] STOP BARCODE The Bar Code command; enter BARCODE. PDF417 Designates bar code type PDF417; enter PDF417. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation. Enter CCW or VSCAN for counter-clockwise rotation. Enter INV for inverted rotation.
PDF417 Sn Optional parameter that specifies the security level. Enter S followed by the security level in the range of 0 through 8. The default is 2. BFn;L Optional parameters for assigning a dynamic bar code data field location on a form and for designating the length of the data field. With these parameters, the actual data for the bar code data field is provided dynamically during the Execute Form mode; the data is not specified during the Create Form mode.
Chapter 3 Bar Codes data field Enter the data for the bar code. A null data field (no characters) is not permitted. The data field can contain any character including carriage returns and line feeds. The length of the data field is variable; however, the maximum length is usually limited to 1024 bytes to minimize potential reading errors. NOTE: New lines (i.e. carriage returns/line feeds) are allowed in the PDF417 data field and as PDF417 dynamic data field input.
POSTNET POSTNET The POSTNET bar code structure is illustrated in Figure 30 and Figure 31 and described on the following pages. The POSTNET code can be a part of the address block and appear anywhere within a vertical 4-inch area across the length of the mail piece.
Chapter 3 Bar Codes Postage Area 1/2" QUIET ZONE STOP CODE ADDRESS BLOCK BAR CODE READ AREA CHECK DIGIT SR, SC POSITION BAR CODE DATA FIELD START CODE Return Address Area 4" 1/2" NOTE: Illustration is not to scale Figure 31.
POSTNET Quiet Zone The bar code structure requires a completely blank quiet zone which extends 4.75 inches from the right edge of the mail piece. In addition, a minimum quiet zone of 0.040-inch above and below the bar code data must also be provided. You must provide sufficient space for this zone. Start/Stop Code The start and stop codes are referred to as “framing bars” in POSTNET. The start and stop codes are each one tall bar, one identifying the leading and trailing end of the bar code.
Chapter 3 Bar Codes POSTNET Command Format BARCODE POSTNET; [DIR;] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] STOP 162 BARCODE The Bar Code command; enter BARCODE. POSTNET Designates bar code type POSTNET; enter POSTNET. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation. Enter CCW or VSCAN for counter-clockwise rotation. Enter INV for inverted rotation. If DIR is not entered, the barcode is horizontally oriented.
POSTNET SC Defines the starting column of the bar code. Enter a value between the 1/2-inch left and right margins of the mail piece. Character column or dot column is specified based on the Scale command (page 82), or use the CP.DP format (page 26). (D) The printable character (delimiter) identifying the start and finish of the data field. Enter any printable character other than a slash (/) the SFCC, or a character used within the data.
Chapter 3 Bar Codes PostBar and Royal Mail (KIX) PostBar and Royal Mail bar codes, like POSTNET, are used for mailing applications. However, these bar codes can encode full addresses on labels. These bar codes are similar to POSTNET in terms of bar space and width, but have four different types of bars (Full Height, Ascender, Descender, and Tracker), whereas POSTNET only has two bar types (Tall and Short).
PostBar and Royal Mail (KIX) PostBar and Royal Mail Command Format BARCODE POSTBAR or ROYALBAR; [KIX;][MAG;][BFn;L;][DARK;] SR; SC [(D)data field(D)] STOP BARCODE The Bar Code command; enter BARCODE. POSTBAR or ROYALBAR Designates bar code type PostBar or Royal Mail; enter POSTBAR or ROYALBAR. KIX Optional parameter to specify the KIX format for Royal Mail bar codes only; enter KIX. MAG Optional parameter to magnify (horizontally expand) the bar code symbol. The magnification default value is X1.
Chapter 166 3 Bar Codes SR Defines the starting row for the bar code. Character row or dot row is specified based on the Scale command (page 82), or use the CP.DP format (page 26). SC Defines the starting column of the bar code. Character column or dot column is specified based on the Scale command (page 82), or use the CP.DP format (page 26). (D) The printable character (delimiter) identifying the start and finish of the data field.
PostBar and Royal Mail (KIX) PostBar and Royal Mail Examples Figure 33 illustrates a horizontal Royal Mail bar code generated by the following program: ~CREATE;ROYALBAR BARCODE ROYALBAR;X1A;10;40 (Enter Create Form Mode) (Bar Code command) (Royal Mail bar code at SR 10, SC 40 with Mag 1A) *SN34RD1A* (Data Field) STOP (Ends Bar Code command) END (Terminates Create Form Mode) ~EXECUTE;ROYALBAR;1 (Execute the form, with a form count of 1) Figure 33.
Chapter 3 Bar Codes UCC/EAN-128 The UCC/EAN-128 structure is shown in Figure 35 and described on the following pages.
UCC/EAN-128 UCC/EAN-128 uses the same bar code and character set as Code 128. However, in UCC/EAN-128, the Function 1 character FNC1 immediately follows the start code. The FNC1 character has been reserved exclusively for UCC/EAN-128. The UCC/EAN-128 data structure requires an Application Identifier (AI) at the beginning of bar code data. Each AI determines the format and length of the data which follows. Refer to Table 17 for more detail. Table 17.
Chapter 3 Bar Codes Table 17.
UCC/EAN-128 Table 17. UCC/EAN-128 Application Identifiers (continued) Application Identifier (AI) 369 (***) Content Format Gross Volume, Cubic Inches n4+n6 37 Quantity of Units Contained (For Use With AI 02 Only) n2+n..8 400 Customer’s Purchase Order Number n3+an..30 401 Consignment Number n3+an..
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. You must provide sufficient space on the form for the quiet zones. Start/Stop Codes The start and stop codes identify the leading and trailing ends of the bar code.
UCC/EAN-128 Modulo-103 Check Digit A modulo-103 check digit is automatically calculated and inserted in the bar code symbol immediately in front of the stop code, in the same manner as the C128 bar code. The check digit verifies accurate scanning. The start code is included in the check digit algorithm. The modulo-103 check digit is not displayed in the readable data field.
Chapter 3 Bar Codes Code UCC-128 Command Format BARCODE UCC-128; [DIR;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT] ] STOP BARCODE The Bar Code command; enter BARCODE. UCC-128 Designates bar code type Code UCC/EAN-128; enter UCC-128. DIR Optional parameter that allows for rotating a barcode. Enter CW for clockwise rotation. Enter CCW or VSCAN for counter-clockwise rotation. Enter INV for inverted rotation.
UCC/EAN-128 b. Replace n with a number ranging from 1 through 512 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c. Replace L with the maximum number of characters in the field. The actual data provided dynamically during the Execute Form mode can be less than L. It is permitted to supply no data at all. d. The information for the data field is entered dynamically during the Execute Form mode.
Chapter 3 Bar Codes The start code and subset switching is done automatically by IGP/PGL based on the data field contents so that the bar code length is minimized. Subset C encodes each pair of numbers as a single bar code character, providing a higher character density. If the first four data digits are numbers, the bar code starts in subset C; otherwise it starts in subset B.
UCC/EAN-128 Code UCC/EAN-128 Examples The following example generates the SSCC-18 variant of an UCC/EAN-128 bar code in horizontal orientation at the default ratio, and vertically at a user defined ratio of double normal size. ~CREATE;UCCTEST / Horizontal bar code is dark, nominal width, start row 35, start column 15. / Human-readable field is below the bar code in OCR-B font.
Chapter 3 Bar Codes The program below illustrates incremental UCC/EAN-128 bar codes. Incremental UCC/EAN-128 bar code syntax requires that the STARTMASK field be one character wider than the data field. Put an extra “X” on the left side of the STARTMASK, since the data is right-justified in the STARTMASK field. ~CREATE;UCCINC;140 / Purchase Order number (incremental) / Note that there are 14 characters in the data, / and the STARTMASK is 15 characters wide.
UCC/EAN-128 The following example shows the use of dynamic data. The ship-to-postal code, AI 420, is used to encode 5 digit ZIP Codes.
Chapter 3 Bar Codes UPC-A The UPC-A bar code structure is shown in Figure 36 and described on the following pages.
UPC-A Quiet Zone Quiet zones extend on both ends of the bar code to permit the scan to begin and end in a blank area. The IGP/PGL automatically produces an 11-module wide left quiet zone; you are responsible for providing sufficient space (minimum of seven modules) on the form for the right quiet zone. The number system character is also printed automatically in the left quiet zone. Start/Center/Stop Codes The start/center/stop codes are special character codes marking those portions of the bar code.
Chapter 3 Bar Codes UPC-A Command Format BARCODE UPC-A [+n];[DIR;] [SCB;] [MAG;] [Hn[.m];] [BFn;] [DARK;]SR;SC [(D)data field(D)] [PDF [;LOC] [;FONT] STOP BARCODE The Bar Code command; enter BARCODE. UPC-A Designates bar code type UPC-A; enter UPC-A. +n Optional parameter to provide a 2- or 5-digit add-on code at the end of the bar code data field. Enter a plus sign (+) and a value of 2 or 5.
UPC-A b. Replace n with a number ranging from 1 to 512 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c. The length of the data field need not be specified, since it is fixed at 11 digits, plus any add-on data. d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.
Chapter 184 3 Bar Codes PDF Optional parameter which affects printing of the human readable data field. The data field will print automatically unless the PDF-suppress command is specified in the FONT parameter. UPC-A human readable fields can be printed above or below the bar code symbol. If the PDF command is not entered in the UPC-A command format, the data field automatically prints in OCR-B. LOC Optional parameter to identify the location of the printable data field.
UPC-A UPC-A Example Figure 37 illustrates a horizontal and vertical UPC-A bar code generated by the following program: ~CREATE;UPCA (Enter Create Form mode) BARCODE (Bar Code command) UPC-A+5;H9;DARK;39;15 (Dark Code UPC-A, 5-digit add-on, H 0.9, SR 39, SC 15) *1234567887655555* (Data Field plus 5-digit add-on data field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) UPC-A+5;VSCAN;H12;DARK;39;50 (Vertical Dark UPC-A, 5-digit add-on,H 1.
Chapter 3 Bar Codes UPC-E and UPC-E0 The UPC-E and UPC-E0 bar code structure is shown in Figure 38 and described on the following pages.
UPC-E and UPC-E0 Quiet Zone Quiet zones extend on both ends of the bar code to permit the scan to begin and end in a blank area. The IGP/PGL automatically produces an 11-module wide left quiet zone. You must provide sufficient space (minimum of seven modules) on the form for the right quiet zone. The number system character is also printed automatically in the left quiet zone. Start/Stop Codes The start/stop codes are special character codes marking those portions of the bar code.
Chapter 3 Bar Codes UPC-E Command Format BARCODE type [+n]; [DIR;] [MAG;] [Hn[.m];] [BFn;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP 188 BARCODE The Bar Code command; enter BARCODE. type Designates bar code type UPC-E or UPC-E0; enter UPC-E or UPC-E0. +n Optional parameter to provide a 2- or 5-digit add-on code at the end of the bar code. Enter plus (+) and a value of 2 or 5.
UPC-E and UPC-E0 c. The length of the data field need not be specified, since it is fixed at 6 or 11 digits, plus any add-on data. d. The information for the data field is entered dynamically during the Execute Form mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 63.) Do not use the data field parameter to enter data when the BFn parameters are used. However, refer to the data field description for available characters. DARK Optional parameter to produce darker bar codes. Enter DARK.
Chapter 190 3 Bar Codes PDF Optional parameter which affects printing of the human readable data field. The data field will print automatically unless the PDF-suppress command is specified in the FONT parameter. UPC-E data fields can be printed above or below the bar code symbol. If the PDF is not entered in the UPC-E command format, the data field automatically prints in OCR-B. LOC Optional parameter to identify the location of the printable data field.
UPC-E and UPC-E0 Table 18. Eleven-Digit Compression 1. Manufacturer’s Number X X X X X X 0 1 2 Product Numbers that can be used 00000-00999 0 0 0 0 0 0 2.
Chapter 3 Bar Codes Table 19.
UPS 11 UPS 11 The UPS 11 structure is shown in Figure 40 and described on the following pages.
Chapter 3 Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping. Be sure to provide sufficient space on the form for the quiet zones. Start/Stop Codes The start/stop codes identify the leading and trailing end of the bar code.
UPS 11 Hn[.m] Optional parameter to adjust the overall height (vertical expansion) of the bar code symbol (including the upper and lower 0.1-inch guard bands and any human readable data). Height adjustments are made in 0.1-inch increments; enter H and a value from 3 through 99 to select height adjustments from 0.3 through 9.9 inches. The default value is 0.9 inch. [.m] is an additional number of dots for the bar code height. (Dots are in the current dot scale.) NOTE: If 0.
Chapter 196 3 Bar Codes SC Defines the starting column of the bar code. Enter a value ranging from column 1 to one less than the width of the form. Character column or dot column is specified based on the Scale command (page 82), or use the CP.DP format (page 26). (D) The printable character (delimiter) identifying the start and finish of the data field. Enter any printable character other than a slash (/), the SFCC, or a character used within the data.
UPS 11 UPS 11 Example Figure 41 illustrates a vertical UPS 11 bar code generated by the following program: ~CREATE;UPS11 BARCODE UPS11;VSCAN;H9;34;15 *01234567895* PDF STOP END ~EXECUTE;UPS11;1 ~NORMAL Figure 41.
Chapter 3 Incremental Bar Code Fields Incremental Bar Code Fields With the incremental bar code fields feature, you can update bar code (and alphanumeric) data fields in a numeric or alphabetical manner automatically with just one set of data sent from the host computer. You can print up to 65,535 forms with incremental fields automatically updated.
Incrementing Bar Code Data Table 20. Incremental Bar Code Data STEPMASK STARTDATA Character Type and Function 0-9 A-Z Alpha characters are incremented by amount in STEPMASK field. 0-9 0-9 Numeric characters are incremented by amount in STEPMASK field. 0-9 Space Same character type as character in the next right adjacent, linked increment position. Character type is numeric if in the least significant position.
Chapter 200 3 Incremental Bar Code Fields Value Description STARTDATA: STEPMASK: ABC123 000001 Printed Results: ABC123 ABC124 ...... ...... ...... ABC999 ABD000 ...... ...... ...... ZZZ999 AAA000 Linked subfields: ABC and 123 RPT = 1 RST = 0 Value Description STARTDATA: STEPMASK: 1ABC123 0LLL001 Printed Results: 1ABC123 1ABC124 . ... . ... . ...
Incremental Bar Code Fixed Data Fields Incremental Bar Code Fixed Data Fields The Incremental Bar Code Fixed Data Fields command is a variation of the standard IGP/PGL bar code commands. Use this command with the appropriate parameters from the standard bar code command when automatic incrementing of fixed bar code data fields is required. The Incremental Bar Code Fixed Data Fields command format is shown and defined below.
Chapter 3 Incremental Bar Code Fields STARTDATA Defines the starting value of the incrementing field. The maximum amount of STARTDATA characters must be less than or equal to the number of characters in the STEPMASK field. Characters allowed for incrementing fields is based on the type of bar code; refer to the individual bar code descriptions for information on valid type and quantity of data characters.
Incremental Bar Code Dynamic Data Fields The Incremental Bar Code Dynamic Data Fields command is a variation of the standard IGP/PGL bar code commands. Use this command with the appropriate parameters from the standard Bar Code command when automatic incrementing of dynamic bar code data fields is required. The Incremental Bar Code Dynamic Data Fields command format is shown and defined below.
Chapter 3 Incremental Bar Code Fields Duplicating Incremental Bar Code Fields Fixed and dynamic incremental bar code data fields are duplicated horizontally and vertically in the same way that incremental alphanumeric fixed and dynamic data fields are duplicated. Refer to page 40 for more information on duplicating incremental data.
4 Form Examples and Exercises Form Examples The following example demonstrates how to use Create commands in the Create Form mode using the CP.DP format. The printed output for this program is shown in Figure 42 on page 207. The box surrounding the form represents the paper size. NOTE: If comment lines are used on command lines, they must be preceded by a slash (/). Do not use / comments on lines containing an SFCC (NORMAL, CREATE, EXECUTE, etc.).
Chapter 4 Form Examples 23;1-34 24;1-60 25;1-60 26;1-60 27;1-60 28;1-59 29;1-59 30;1-35 31;1-36 32;1-39 33;1-58 34;1-58 35;1-58 36;1-58 37;1-58 38;1-57 39;4-24 40;7-23 41;8-23 42;9-23 43;11-24 44;12-25 45;14-27 46;15-30 47;17-32 48;18-33 49;22-34 50;25-35 51;26-36 52;28-37 53;30-37 54;32-37 55;33-37 56;35-36 END ~CREATE;LEFTHAND BOX /LT;SR;SC;ER;EC 1;1;1;24;25 STOP ALPHA /[R[D][L];][E;][Cn;][AFn;L;][DIR;[UC;]DARK]SR;SC;VE;HE;(D)ASCII TEXT(D) 3;3;0;0;*STATIC ALPHA DATA* AF1;18;4;3;0;0 /DIR;SR;SC;VE;HE CW;
Example: Basic Create Form LOGO;LEFTHAND 10;13;HAND STOP END ~EXECUTE;LEFTHAND ~AF1;*DYNAMIC ALPHA DATA* OVERLAY DATA ~NORMAL Figure 42.
Chapter 4 Form Examples Example: Dynamic Data The process of executing dynamic alphanumeric and bar code data fields is explained in the following exercises. Each stage includes printing the program; however, the total program may be entered as one unit. Each stage offers the option of choosing features applicable to specific needs. Basic Design The SAMPLE program below, shown in Figure 43, is a basic design in CP.DP format and defined by standard Create Form mode command sequences.
Example: Dynamic Data Figure 43.
Chapter 4 Form Examples Bar Code Fields Identify the location of the data fields for each of the six bar codes (one location at each S.O., S/N, and P/N field on the form). The type of bar code and the human readable data information is also specified within the bar code commands. (Refer to the “Bar Codes” chapter for detailed bar code information.) Each bar code must be designated separately.
Example: Dynamic Data Dynamic Alphanumeric Fields Identify the location of the dynamic alphanumeric fields using the alphanumerics command. Input the following alphanumeric command lines after the HDUP;OFF command and before the Create Form mode END line. A separate alphanumerics command sequence is used in order to assign unique numbers to each dynamic data field.
Chapter 4 Form Examples Dynamic Alphanumeric and Bar Code Data Enter the dynamic data following the Execute command. These dynamic data commands will supply the variable data to the bar code and alphanumeric fields previously identified in the Create Form mode. After entering the data, exit the file (if necessary with your system) and print. The completed form is shown in Figure 44. ~CREATE;SAMPLE;390 HDUP;2;37 BOX 2;3.5;9;30;35 STOP HORZ 1;14.5;9;35 1;19.5;9;35 1;24.5;9;35 STOP CORNER 2;4;11;9;33;1.
Example: Dynamic Data AF6;20;12.8;49;0;0 STOP END ~EXECUTE;SAMPLE ~AF1;*B AND C CO* ~AF2;*P.O. BOX 212* ~AF3;*LOS ANGELES, CA 90051* ~AF4;*M.H. INC.* ~AF5;*101 BEACH RD.* ~AF6;*MALIBU, CA 97772* ~BF1;*S05995* ~BF2;*011233* ~BF3;*190204* ~BF4;*S05996* ~BF5;*000535* ~BF6;*104523* ~NORMAL ~EXECUTE;SAMPLE ~AF1;*ABC CORPORATION* ~AF2;*1234 ANYWHERE ST.* ~AF3;*YOUR TOWN, MA 03498* ~AF4;*XYZ COMPUTERS* ~AF5;*845 N. ALLEN ST.
Chapter 4 Form Examples Figure 44.
Example: Dynamic Data Example: Auto Increment Fields The following program, designed in accordance with current specifications for AIAG-B-3 shipping label standards, creates four automatically incrementing/ decrementing AIAG labels with alphanumeric and bar code data. The printed output of this program is shown on page 217. ~CREATE;AIAG BOX 1;31.2;1;55.2;66.5 STOP HORZ 1;38.5;1;66.5 1;44.9;1;40 1;49.10;1;40 STOP VERT 1;26;38.5;44.9 1;40;44.9;55.2 STOP ALPHA C15;31.8;2;0;0;*PART NO* C15;32.
Chapter 4 Form Examples 1;14.9;1;40 1;19.6;1;40 STOP VERT 1;26;8.4;14.9 1;40;14.9;25.2 STOP ALPHA C15;1.8;2;0;0;*PART NO* C15;2.6;2;0;0;*(P)* I;4.3;9;4;4;00000000002;*A0000000001* C15;8.9;2;0;0;*QUANTITY* C15;9.6;2;0;0;* (Q)* 10.5;8;4;4;*100* C15;11.9;28;0;0;*SPECIAL* C15;12.6;28;0;0;* (C)* I;13.9;34;4;4;-00002;*A2OUG* C15;15;2;0;0;*SUPPLIER* C15;15.10;2;0;0;* (V)* 15.6;7;2;2;* 040898755* C15;20;2;0;0;*SERIAL* C15;21;2;0;0;* (S)* 20.5;7;2;2;* 0002110* C15;24.5;4;0;0;*ACME MOTOR,INC.
Example: Dynamic Data Figure 45.
Chapter 4 Form Exercise Form Exercise In the following example, you will create and execute a form. Using character scaling (discussed in detail on page 82) on a 60 x 72 dot per inch (dpi) grid, your form will include the following: • • • • • • a box a set of corners vertical lines alphanumeric data horizontal lines a bar code This exercise will help you become familiar with the IGP/PGL by taking you through 14 steps to build a complete form.
Creating a Box and Corners 3. The IGP/PGL is now ready for Create Form mode commands. Design a box with a line thickness (LT) of 2 dots, a top left corner at starting row (SR) 35, starting column (SC) 16, and a bottom right corner at ending row (ER) 53, ending column (EC) 61. The STOP command must be entered to inform the IGP/PGL that the Box command is complete. Enter BOX 2;35;16;53;61 STOP Format BOX LT;SR;SC;ER;EC STOP 4.
Chapter 4 Form Exercise SC 13 SR 30 SC 16 SR 35 ER 53 EC 61 ER 57 EC 64 Figure 46. Box and Corner Example Adding Horizontal and Vertical Lines 7. Now return to the file. When the file reopens, the existing program (the contents of the file) is displayed. Use your system commands to reopen the file. For example: Enter .PRACTC.FRM Format (System Format) 8. All Create Form mode commands must be entered into the program before the End command line.
Adding Fixed Alphanumeric Text The last two commands have added to the form definition. PRACTICE now looks like Figure 47. COLUMN 49 ROW 40 ROW 45 ROW 49 Figure 47. Box/Corner Example with Horizontal and Vertical Lines Adding Fixed Alphanumeric Text 10. Use the Create Form mode Alpha command to add some fixed alphanumeric text to the form.
Chapter 4 Form Exercise At this point, the PRACTC.FRM file should contain the following form program data: ~CREATE;PRACTICE BOX 2;35;16;53;61 STOP CORNER 3;30;13;57;64;5;7 STOP HORZ 1;40;16;61 1;45;16;61 1;49;16;61 STOP VERT 1;49;40;45 1;49;49;53 STOP ALPHA 31;22;0;0;*ACME MOTOR, INC* 32;22;0;0;*17500 CARTWRIGHT ROAD* 33;22;0;0;*IRVINE, CA 92714* 35.9;17;0;0;*SERIAL NUMBER* 40.3;17;0;0;*PART NUMBER* 40.3;50;0;0;*MFG. DATE* 45.3;17;0;0;*DESCRIPTION* 49.3;17;0;0;*INTERFACE* 49.
Adding a Bar Code COLUMN 16 COLUMN 22 ROW 31 ROW 32 ROW 33 ROW 35.9 COLUMN 50 COLUMN 17 ROW 40.3 ROW 45.3 ROW 49.3 ROW 54 ROW 55 COLUMN 26 COLUMN 34 Figure 48. Practice Form Example Adding a Bar Code 11. Change the form definition by adding bar code type Code 39 (C3/9), one of the codes available on the IGP/PGL. First, reopen the file. Bar codes are defined in the Create Form mode; therefore, the Bar Code command must be entered before the End command line.
Chapter 4 Form Exercise 12. To dynamically input alphanumeric data fields, first identify the locations for the data in the Create Form mode as part of the form definition. Enter the locations in the existing Alpha command sequence (or use a new Alpha command). In the Alpha command sequence, enter the alphanumeric field (AF), the field number (n), length (L), starting row (SR) and column (SC), and any vertical (VE) or horizontal (HE) expansion.
Adding a Bar Code 40.3;17;0;0;*PART NUMBER* 40.3;50;0;0;*MFG. DATE* 45.3;17;0;0;*DESCRIPTION* 49.3;17;0;0;*INTERFACE* 49.3;50;0;0;*VERSION* C13;31;16;0;0;*FROM:* C15;54;26;0;0;*Call ACME MOTOR for more information.* C15;55;34;0;0;*(714)863-1900* AF1;7;38.7;19.3;3;3 AF2;11;43;20;2;2 AF3;31;47.3;20;2;1 AF4;33;51.3;20;2;1 STOP BARCODE C3/9;H8;BF1;5;DARK;35.
Chapter 4 Logo Exercise Logo Exercise In this exercise, you will generate a logo. The following sample uses a hand logo. Using dot scaling (discussed in detail on page 82) on an 8-1/2 x 11-inch form, a hand was drawn on a grid, with each dot tabulated by row and column position. If a grid coordinate occupies half or more of a dot position, include that position in your logo program. (Grid samples are located in Appendix B.) Each dot position used must be identified individually.
Creating a Logo Creating a Logo 1. Use your system commands to open a file for the logo program with the filename HNDLGO.FOM. For example: Enter HNDLGO.FOM Format (System Format) 2. Input the Special Function Control Code and Logo mode command to put the IGP/PGL in the Create Logo mode. Include HAND as the logo name; specify a vertical length (VL) of 56 (column length) and a horizontal length (HL) of 60 (row length). Enter ~LOGO;HAND;56;60 Format (cc)LOGO;logoname;VL;HL 3.
Chapter 4 Logo Exercise 11;24-33;48-54 12;22-31;45-54 13;19-30;41-54 14;16-29;38-53 15;13-29;36-51 16;11-29;33-48 17;9-44 18;7-42 19;6-39 20;4-36 21;1-34 22;1-34 23;1-34 24;1-60 25;1-60 26;1-60 27;1-60 28;1-59 29;1-59 30;1-35 31;1-36 32;1-39 33;1-58 34;1-58 35;1-58 36;1-58 37;1-58 38;1-57 39;4-24 40;7-23 41;8-23 42;9-23 43;11-24 44;12-25 45;14-27 46;15-30 47;17-32 48;18-33 49;22-34 50;25-35 51;26-36 52;28-37 53;30-37 54;32-37 55;33-37 56;35-36 END ~CREATE;LEFTHAND LOGO 45;33;HAND STOP END ~EXECUTE;LEFTHA
Page Layout Considerations Form Design In this exercise, you will produce a complete form by sketching it out on a grid in the same way the logo was designed. Again, this exercise uses character scaling on an 8-1/2 x 11-inch (60 x 72 dpi) page. Refer to page 82, where character scaling is discussed in detail.
Chapter 4 Form Design 7;30-38 8;29-36 9;28-35 10;27-34;52-54 11;24-33;48-54 12;22-31;45-54 13;19-30;41-54 14;16-29;38-53 15;13-17;19-29;36-51 16;11-17;20-29;33-48 17;9-17;21-44 18;7-17;22-42 19;6-17;22-39 20;4-17;23-36 21;1-17;24-34 22;1-17;25-34 23;1-17;26-34 24;1-17;27-60 25;1-17;28-60 26;1-17;29-60 27;1-17;30-60 28;1-17;31-59 29;1-17;19-59 30;1-17;19-35 31;1-4;33-36 32;1-5;33-39 33;1-6;33-58 34;1-7;33-58 35;1-58 36;1-58 37;1-58 38;1-57 39;4-24 40;7-23 41;8-23 42;9-23 43;11-24 44;12-25 45;14-27 46;15-3
Planning the Form Layout Figure 51.
Chapter 4 Form Design Figure 52.
Creating a Form and Adding Form Components Creating a Form and Adding Form Components 4. Create the form and start adding the form components from the layout grid. (Refer to Figure 51 on page 231.) Use the Special Function Control Code and Create command to define a form named HCBOATS. Use the Box command to define the outer border with a line thickness (LT) 3, top left corner at row (SR) 11 column (SC) 10, and bottom right corner at row (ER) 55, column (EC) 70.
Chapter 4 Form Design 8. All the text shown on the grid is fixed into position on the form with a single Alpha command sequence. The starting row, starting column, and text can be taken right from the grid and put into the program.
Creating a Form and Adding Form Components 10. Add the logo and end the Create Form mode. Use the Logo Call command, specify the starting row (SR) at 12 and column (SC) at 18 as shown on the grid and call the logo by name (HANDCRFT). The starting row and column of the logo refer to the upper left corner of the grid used in the logo design. Enter LOGO 12;18;HANDCRFT STOP END Format LOGO SR;SC;logoname STOP END 11.
Chapter 4 Form Design hcform.ex Figure 53.
Example Directory Command The Directory command lists the contents of the IGP/PGL directory in IGP/ PGL memory. The directory command provides the following information: • • • • All form names and logo names currently defined The association of logos to forms The amount of memory used for form storage The amount of dynamic storage space used and available Example A form will not execute unless enough room exists in the memory as indicated in the work space bytes free portion of the directory listing.
Chapter 4 Delete Command Delete Command The Delete command deletes any individual form or logo from the IGP/PGL memory according to your specifications. The deletion of a form includes its directory entry and any alphanumeric or vector information associated with it. The Delete command is used only when the IGP/PGL is in the Normal mode. Deletion of a logo includes its directory entry and its data in the logo storage area.
Example 4. If the error persists or you cannot locate it in the program, use the debug parameter [/] in the Create command as described in the “Error Codes” chapter. Print the file with the IGP/PGL program. The debug parameter lists the program, line by line (including the error on the line where the error occurs), followed by the error-free sections of the form. Correct the error and print the file again. When the error has been corrected, delete the debug parameter.
Chapter 240 4 Solving Program Errors
5 Multinational Character Sets Introduction The Multinational Character Set accesses one of many international character sets. Each character set is 96 characters long and can be accessed by configuration selection or IGP/PGL command. Individual characters in the font can be accessed with the use of data bit 8. Supported Character Sets The Multinational Character Set provides the IGP/PGL with space for 32 character sets, 96 characters each.
Chapter 5 Introduction Character Addresses Both the ASCII and multinational character sets have hex values for each character and symbol. The primary character set (ASCII characters) resides at hex addresses ranging from 00 through 7F. The extended character set, which contains the multinational characters, resides at hex addresses ranging from 80 through FF. Table 22 shows each multinational character substitution hex value and the applicable ASCII hex values.
OCR Character Sets Accessing Characters and Character Sets OCR Character Sets Purpose Accesses OCR-A and OCR-B character sets. Mode CREATE, NORMAL and EXECUTE Format See Comments Comments In the Create mode, you can access OCR fonts using the alphanumeric command. Use the Cn parameter in the ALPHA command. See page 29 for more information. In the Normal and Execute modes, you can access OCR fonts using the Compressed Print (Density) command (page 45). NOTE: OCR fonts are only available in 10 cpi.
Chapter 5 Accessing Characters and Character Sets User-Defined Set Command (USET) Purpose Creates custom character sets (except OCR fonts) from existing characters stored in memory. Mode NORMAL Format (cc)USET n ca;fa END (cc) Represents the Special Function Control Code. USET The User Set command; enter USET. n Selects USET character set number; enter a value ranging from 1 through 8.
User-Defined Set Command (USET) Table 23. USET-ISET Relationship USETn Example corresponds to ISET;n n=1 n = 24 n=2 n = 25 n=3 n = 26 n=4 n = 27 n=5 n = 28 n=6 n = 29 n=7 n = 30 n=8 n = 31 The following example defines User Set 1 to contain the Multinational font addresses B1 (±), A1 (¡), and BF (¿) at the hex cell addresses 23, 24, and 25, respectively.
Chapter 5 Accessing Characters and Character Sets Character Set Selection Command (ISET) Purpose Accesses one of the 32 multinational character sets from Table 21. Use this command to access a different character set from the configured power-up default character set. Mode NORMAL, CREATE, and EXECUTE Format In Normal and Execute modes: (cc)ISET; n In the Create mode (SFCC not required): ISET; n (cc) Represents the Special Function Control Code.
Multinational Character Sets Multinational Character Sets IGP/PGL MULTINATIONAL Set ASCII Set GERMAN Set 247
Chapter 5 Accessing Characters and Character Sets SWEDISH Set NORWEGIAN Set 248 DANISH Set FINNISH Set
Multinational Character Sets ENGLISH Set DUTCH Set FRENCH Set SPANISH Set 249
Chapter 5 Accessing Characters and Character Sets ITALIAN Set OCR-A Set 250 TURKISH Set OCR-B Set
6 Error Codes IGP/PGL Emulation Error Codes The IGP/PGL provides coded error messages to assist in “debugging” programs. The printer will print an error message number and the program line which contains the error when an error is detected.
Chapter 6 IGP/PGL Emulation Error Codes Horizontal Line Errors 01 HORiZontal line starting row SR out of bounds The row specified by the second parameter in the horizontal line command places the horizontal line outside the boundaries of the form. 02 HORiZontal line starting column SC out of bounds The left (starting) column of the horizontal line specified by the third parameter in the horizontal line command places the horizontal line outside the boundaries of the form.
Vertical Line Errors Vertical Line Errors 10 VERTical line starting column SC out of bounds The column specified by the second parameter in the vertical line command places the vertical line outside the form boundaries. 11 VERTical line starting row SR out of bounds The upper (starting) row of the vertical line specified by the third parameter in the vertical line command places the vertical line outside the boundaries of the form.
Chapter 6 IGP/PGL Emulation Error Codes Box Errors 20 BOX starting column SC out of bounds The left (starting) column specified by the third parameter in the box command places the box outside the form boundaries. 21 BOX starting row SR out of bounds The upper (starting) row of the box specified by the second parameter in the box command will place the box outside the boundaries of the form.
Corner Errors Corner Errors 30 CORNER starting column SC out of bounds The left (starting) column specified by the third parameter in the corner command places the corner outside the form boundaries. 31 CORNER starting row SR out of bounds The upper (starting) row of the corner specified by the second parameter in the corner command will place the corner outside the boundaries of the form.
Chapter 6 IGP/PGL Emulation Error Codes Alpha Errors 40 ALPHA leading and trailing delimiters mismatched The leading delimiter (printable character) of the actual text string was not matched with an ending delimiter before the line terminator was found. 41 ALPHA starting row SR out of bounds The starting row parameter in the Alpha command will cause the text string to print either above or below the limits of the form. NOTE: Expanded print text strings expand up from the specified row.
Logo Errors 49 ALPHA compression factor Cn error (10, 10A, 10B, 12, 13, 15, 17 or 20) The optional compression parameter (Cn) which defines the horizontal pitch of the text was specified incorrectly. The pitches available are 10, 10A, 10B, 12, 13, 15, 17 and 20. Logo Errors 50 LOGO horizontal width HL > 240 or dot col > HL a. The horizontal width of the logo is equal to zero or greater than 240. The IGP/PGL automatically reverts to Normal mode when this occurs. b.
Chapter 6 IGP/PGL Emulation Error Codes 56 Insufficient memory for another LOGO call IGP/PGL memory cannot store another logo call. To create space in the IGP/PGL memory, delete forms with logo elements (including the logos) no longer required. 57 LOGO call starting row SR out of bounds During form creation, the parameter specifying the row position of a logo places the logo outside the form boundaries. The buffer is flushed until a line terminator is found, and then processing continues normally.
Execute Errors 65 CREATE page starting row PAGE SR out of bounds When you specify the position of the page parameters with the Page command in the Create Form mode, the row position specified will place the page number above or below the boundaries of the form. When this error occurs, the IGP/PGL will automatically revert to the Normal mode.
Chapter 6 IGP/PGL Emulation Error Codes 74 Missing delimiter - must be a single quotation mark When issuing an SFCC change command, the new SFCC character must be contained within two single quotation marks. If the new SFCC character is being identified by the ASCII value, no quotation marks are required. 75 Not defined 76 EXECUTE page number error An error was made while specifying the page number used with the form being executed.
Bar Code Errors 84 Missing or wrong delimiter - must be a semicolon ; The delimiter is either wrong or missing. The delimiter expected is a semicolon. 85 Missing or wrong delimiter - must be a colon : The delimiter is either wrong or missing. The delimiter expected is a colon. 86 DENSITY param error - 10, 10A, 10B, 12, 13, 15, 17 or 20 The parameters of the Density command are improperly specified. The densities currently implemented are 10, 10A, 10B, 12, 13, 15, 17 and 20 characters per inch.
Chapter 262 6 IGP/PGL Emulation Error Codes 93 BARCODE starting row SR out of bounds The starting row parameter in the bar code command will cause the bar code symbol to print either above or below the limits of the form. 94 BARCODE starting column SC out of bounds The starting column parameter in the bar code command will cause the bar code symbol to print either beyond the left margin or the right margin of the form.
Reverse Print Errors 104 Dynamic BARCODE data field BFn not previously defined Dynamic data field designated in the Execute Form mode was not defined in the Create Form mode. 105 Dynamic ALPHA/BARCODE field number AFn/BFn error must be 1-512 Dynamic alpha field number (AFn) or bar code field number (BFn) must range from 1 through 512. 106 Not defined. 107 Dynamic ALPHA data field AFn not previously defined The dynamic alpha field number called for was not previously defined in the Create Form mode.
Chapter 6 IGP/PGL Emulation Error Codes 123 EXECUTE form too long for current page setting The form was defined in one orientation while sent to print in another orientation. Use the debug slash (/) when creating a form to show which element is out of bounds. 124-125 Not defined. 126 LFORMx form length parameter n error The number of lines exceeds 66 (for 6 lpi) or 88 (for 8 lpi) lines when using the LFORMx command. 127 Not defined.
Multinational Character Set Errors was expected. Error was caused possibly by an invalid numeric value or an alpha character. 153 USET substituted character illegal - must be 1 of 16 During character substitution in the USET command, the hex value for the character being replaced must be one of the specified 16 hex values. Only the following hex values (Ca) can be replaced by another hex value (Fa): 21, 22, 23, 24, 25, 26, 40, 5B, 5C, 5D, 5E, 60, 7B, 7C, 7D, 7E.
Chapter 266 6 IGP/PGL Emulation Error Codes
A Standard ASCII Character Set B7 B6 BITS KEY 0 B5 0 1 B4 B3 B2 B1 1 0 1 ESC 1 OCTAL DECIMAL HEX 33 27 1B ASCII CHARACTER B7 B6 0 B5 BITS 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 0 1 1 1 1 1 0 1 COLUMN 0 B4 B3 B2 B1 ROW 1 0 0 0 0 0 NUL 0 0 0 0 0 0 1 1 SOH 1 1 1 0 0 1 0 2 STX 2 2 2 0 0 1 1 3 ETX 3 3 3 0 1 0 0 4 EOT 0 1 0 1 5 0 1 1 0 DLE DC1 (XON) 2 20 16 10 21 17 11 SP ! 3 40 32 20 41 33 21 4 0 60 48 30 1 61 49 31 5 6 @ 100 64 40 P 120 80 50
Appendix A 268
B Grid Programs and Samples The Standard Grid. The standard grid is used for form design. The program for the standard grid is listed below, and a sample of the standard grid follows on the next page. Photocopy the grid provided or enter the grid program and make your own printout.
The Logo Grid. The program for a logo grid is listed below and the sample grid follows. It is not the full size logo grid; the grid can measure up to 240 columns wide by 252 rows high for a logo 4 x 3.5 inches. Photocopy the grid or enter the grid program to obtain a printout.
C Vertical Paper Motion Introduction There are three methods of advancing the print position with the IGP/PGL which are explained in this appendix: 1. Using line feeds or form feeds; 2. Using the paper instruction (PI) line; or 3. Using the Electronic Vertical Format Unit (EVFU). Paper Motion Using Line Feeds and Form Feeds The most common method of advancing the print position with IGP/PGL is through the use of line feeds and form feeds.
Appendix C Paper Motion Using the PI Line (Relative Line Slewing) The binary slew commands can skip from 1 through 15 or 1 through 16 lines on the form, depending on how the Slew Range configuration option is configured. Refer to Table 24 which illustrates how lines are skipped for each value. (Note that the state of data bit 5 is the difference between line slewing and using the interface lines as EVFU channel codes.
General EVFU Programming Paper Motion Using the EVFU The Electronic Vertical Format Unit (EVFU) is an efficient method of skipping to a specified print position during repetitive printing tasks. The EVFU affects the vertical placement of overlay data produced in the Execute Form mode. General EVFU Programming The general EVFU programming procedure is as follows: 1. Design a form, determining spacing and channel assignments for each line. 2. Send the programming sequence to the printer.
Appendix C Paper Motion Using the EVFU Start Load Code - Hex 1E or 6E The Start Load code clears and initializes the EVFU memory for channel assignment storage. Refer to Table 25 or Table 26 for the appropriate start load code. Channel Assignment The EVFU memory has the capacity for 192-line forms. The first line identification code (channel code) in the EVFU load data defines the first line on the form; the second line identification code defines the second line on the form, etc.
Using the EVFU 3. Data bit 5 must be 0 (not set). OR: 1. The PI line must be disabled or low; 2. Bits 7 and 6 must be 0 (not set); and 3. Data bit 5 must be 1 (set). Given these conditions, the lower four bits of a byte specify the EVFU channel number. Table 25 lists the EVFU channels and their equivalent data bytes when the PI line is enabled; Table 26 lists the EVFU channel and their equivalent data bytes when the PI line is disabled. Table 25.
Appendix C Paper Motion Using the EVFU Table 26.
EVFU Example EVFU Example The following EVFU example is a 2-inch form at 6 lpi line spacing. Thus, 12 lines on the form must be defined. The form is repeated 3 times. Paper instructions are disabled.
Appendix C Paper Motion Using the EVFU The four lines of EVFU overlay data (shown in boldface type) follow the two lines of dynamic data. This overlay data is positioned on the form according to the specified channel codes called. The superscript hexadecimal numbers enclosed in < > symbols represent calls to the four unique EVFU channel codes.
EVFU Example Form #1 Form #2 Form #3 EVFU Channel Code Sent Line No.
Appendix C 282 Paper Motion Using the EVFU
Index A Codabar, 92 Code 128A, 109 Alphanumeric Code 128B, 109 command, 29 Code 128C, 109 data, 27 Code 39, 97 duplicating incremental fields, 41 Code 93, 103 dynamic data, 224 EAN 13, 124 errors, 256 EAN 8, 119 execute dynamic data, 62 FIM, 130 execute overlay data, 66 German I-2/5, 136 increment fixed data, 38 I-2/5, 136 incremental commands, 34 Interleaved 2/5, 136 incremental dynamic data, 40, 65 ITF-14, 136 Alphanumeric Data, 27 Matrix, 142 dynamic data, 27 MSI, 148 fixed d
accessing, 243 Compressed Print, 45 extended, 14 Configuration (CONFIG), 46 multinational, 14 Corner, 49 OCR, 243 Create, 51 user-defined, 244 Create Form Mode, 18, 19 Character Sizes Printable Data in Barcodes, 90 Characters Create Logo, 75, 227 Data Bit 8, 78 Delete Form, 52 height/width, 14 Delete Logo, 53 printable, 24 density, 45 rotated, 14 Directory, 53 Special Function Control Code, 23 directory, 237 Clearing EVFU memory, 278 Duplicating Incremental Alphanumerics, 41 Codabar, 9
Line Spacing, 70 Create Command, 51 line terminator, 24 Create Errors, 258 Listen, 73 Create Form Mode, 18 Logo Call, 73 Create Form Mode Commands, 19 Matrix, 144 Create Logo Mode, 18, 75 D MSI, 150 Normal Mode, 16, 17, 77 Page Number, 77 Dark Printing, 28 Paper, 78 Data Paper Instruction, data bit 8, 78 alphanumeric, 22, 27 parameters, 24 dynamic, 22 PDF417, 154 fixed, 22 PostBar, 165 incremental, 22, 27 POSTNET, 162 overlay, 22 Print File, 79 placement, 22 printable character, 2
command format, 126 example, 129 structure, 124 EAN 8, 119 start load code, 276 Examples auto increment fields, 215 Create Logo, 226 command format, 121 directory, 237 example, 123 dynamic data, 208 structure, 119 EVFU, 279 Electronic Vertical Format Unit format, 275 forms, 205 logo grid, 271 Electronic Vertical Format Unit (EVFU), 61 PostBar, 167 Elongated Characters, 29 Royal Mail, 167 Emulation Switching Command, 57 standard grid, 269 Enable IGP/PGL (listen command), 73 UCC/EAN-128, 177
Increment Form Count Parameter, 59, 64 incremental data, 22 Increment Reset Parameter, 59, 64 FIM, 130 command format, 132 Increment/decrement capability, 14 example, 134 Incremental Alphanumeric Data, 27 structure, 130 Incremental Bar Code Fields, 198 Fixed Alphanumeric Data, 27 Incremental Barcode Dynamic Data, 202 Font Command, 68 Incremental Barcode Fixed Data, 201 Form Count, 59 Incremental Dynamic Barcodes, 203 Form Design, 229 Incremental Fields Errors, 264 Form Examples Incremental
example, 158 Create Logo, 226 PI line paper motion, 273 Execute Form, 224 PION/PIOFF Command, 78 Modes Create Logo, 75 Point Size, 68 Execute Form, 58 PostBar, 164 command format, 165 Normal, 77 example, 167 Modes of Operation POSTNET, 159 Create Form, 18 Create Logo, 18 command format, 162 Execute Form, 20 structure, 159 Power-Up Character Set Selection introduction, 15 multinational character sets, 243 Normal, 16 Print MSI, 148 command format, 150 boundaries, 18 reversed, 14 example
Semicolon, 23 example, 185 SETUP Command, 80 structure, 180 UPC-E, 186 Setup Files Feature, 84 SFCC, 23 command format, 188 SFON/SFOFF Command, 83 example, 192 Slant (italic) Print, 68 structure, 186 Special Function Control Code (SFCC), 23 Uppercase, 23 Standard Command Format Uppercase Parameter, 30 UPS 11, 193 UCC/EAN-128, 174 command format, 194 Start load code, 276 example, 197 EVFU, 276 STARTDATA Parameter, 39, 66, 202 STEPMASK Parameter, 38, 65, 201 structure, 193 User-Defined Bar
5525B/31/32 Line Matrix Printer Compaq Computer Corporation P/N 422803-001 170140-001A