R t
t R P/N 136458–001, Rev B
Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not 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 Acknowledgments IBM and IBM PC are registered trademarks of International Business Machines Corp. Printronix is a registered trademark of Printronix, Inc. IGP is a registered trademark of Printronix, Inc. ThermaLine is a registered trademark of Printronix, Inc. PSA is a trademark of Printronix, Inc. Scalable type outlines are licensed from Agfa Corporation. Agfa is a registered trademark of Agfa–Gevaert, AG.
Table of Contents 1 Introduction About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 How to Locate Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Warnings and Special Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 How the IGP/PGL Operates . . . . . . . . . . .
Power On IGP/PGL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6 Extended Execute Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6 UPC Descenders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7 Host Form Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7 IGP100 Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overlay Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–9 Dynamic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–9 Incremental Data Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–10 Dark Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–10 Thermal Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Form Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–64 Ignore Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–65 Line Spacing, Vertical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–66 Lines, Horizontal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–67 Lines, Vertical . . . . . . . . . . . . . . . . . .
FIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–67 Interleaved 2/5 (I–2/5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–74 MSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–81 PDF417 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–88 POSTNET . . . . . . . . . . . . .
Data Bit 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7 Power–Up Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7 User–Defined Set Command (USET) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–8 Character Set Selection Command (ISET) . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–10 Multinational Character Set Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Introduction Chapter Contents About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 How to Locate Information . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Warnings and Special Information . . . . . . . . . . . . . . . . . . . . 1–2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 How the IGP/PGL Operates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5 Modes of Operation . . . . . . . . . . .
About this Manual This manual explains how to use the IGP/PGL (Intelligent Graphics Printing/Printronix Graphics Language). Use this manual in conjunction with your printer Setup Guide for complete printer–IGP/PGL compatibility. How to Locate Information You can locate information three ways: • Use the Table of Contents at the front of the manual. • Use the Chapter Contents list on the first page of each chapter. • Use the alphabetical Index at the back of the manual.
Features IGP/PGL is the Intelligent Graphics Printing firmware for the Printronix Graphics Language, which is designed for the new Printronix PSA line of line-matrix, laser and thermal printers. The IGP/PGL provides on–line forms, bar codes, and many alphanumeric text–generation capabilities and is compatible with earlier versions of Printronix IGP protocol and programming. IGP/PGL graphics processing features are detailed below. NOTE: The ThermaLine Series printers are not floppy disk-based printers.
Rotated Alphanumerics permit new concepts in form design. Normal, expanded, and compressed character strings can be rotated 90 degrees clockwise or counterclockwise, or they can be printed upside down. Logos are easily created using alphanumeric commands and add a variety of print and shading features for a “customized” appearance to forms, reports, and labels. You can define the format of the logo using TIFF files and PCX raster data as well as the standard IGP/PGL dots.
How the IGP/PGL Operates IGP/PGL is an emulation that allows you to print sophisticated graphics and bar codes. Depending on what the printer is doing, it is always in a particular mode, which is transparent to the user. These modes are discussed in more detail in Chapter 2. When the printer is receiving text or printing text, it is in Normal mode. Any time the printer is on and is not processing IGP/PGL commands, it is in Normal mode.
Printer Operating Mode What It Means Normal Mode Printer receives data and prints text/graphics. Create Form Mode You send IGP commands to the printer. Execute Form Mode Normal Mode Printer prints the form designed in Create Form mode. Printer returns to Normal mode. Figure 1–1.
Modes of Operation The IGP/PGL has six modes of operation that use specific command sequences to control the IGP/PGL. • In the Normal mode, the printer waits for a Special Function Control Code (SFCC) in order to perform IGP/PGL functions. • In Quiet mode all IGP/PGL commands are ignored. • In the Create Logo and Create Form modes, the printer produces graphics such as forms, logos, bar codes, and alphanumeric data.
Table 1–1. Normal Mode Commands Command Mnemonic Description Page # Compressed Print DENSITY Defines the horizontal print density in characters per inch (cpi). 4–33 Configuration CONFIG Reconfigures IGP/PGL parameters. 4–34 Create CREATE Places the IGP/PGL in the Create Form mode where all the Create Form mode commands are available to design form elements. 4–39 Create Logo LOGO Places the IGP/PGL in the Create Logo mode, where logos can be defined using the appropriate dot placements.
Quiet Mode In this mode, the host sends all data to the LinePrinter+ emulation without any IGP/PGL interpretation––the IGP/PGL is disabled and all IGP/PGL commands are ignored. The IGP/PGL looks only for LISTEN and PTX_SETUP. Create Form Mode Create Form mode commands design forms, all form components, and bar codes. The forms are not printed in the Create Form mode; forms are printed in the Execute Form mode after all form design is completed.
Table 1–2. Create Form Mode Commands Command Mnemonic Description Page # Alphanumerics ALPHA Defines size, location, and content of alphanumeric characters and dynamic alphanumeric data fields. 4–12 Alpha, Incremental ALPHA Defines starting data and increment amount for fixed auto–increment fields. 4–18 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.
Create Logo Mode The Create Logo mode is used in the Create Form mode. The Create Logo mode creates a logo design; this predefined logo is then “called” into a form in the Create Form mode. (The logo must be defined before it is “called.”) Execute Form Mode The Execute Form mode prints forms created in the Create Form mode. Execute Form mode commands are summarized in Table 1–3 and fully described on the referenced pages.
Table 1–3. Execute Form Mode Commands Command Mnemonic Description Page No. Compressed Print DENSITY Defines the horizontal print density in characters per inch (cpi). 4–33 Dynamic Alphanumeric Data AFn Executes the dynamic alphanumeric data provided after the (cc) EXECUTE command. 4–54 Dynamic Bar Code Data BFn Executes the dynamic bar code data provided after the (cc)EXECUTE command. 4–55 Expanded Print EXPAND Expands fonts vertically and horizontally.
Configuration Mode Selecting IGP/PGL options for running IGP/PGL files on your printer is referred to as IGP/PGL configuration. You can select IGP/PGL configuration parameters by sending commands from the host or by pressing keys on the control panel. Chapter 4 describes all the firmware commands. Chapter 2 shows the control panel menu and describes all of the configuration parameters. A list of the parameters is shown in Table 1–4. Table 1–4.
Option Ext Execute Copy Parameter Value DISABLE* ENABLE Host Form Length DISABLE ENABLE* Power On IGP/PGL DISABLE ENABLE* Select SFCC Uppercase 1 – 255 decimal Comments If DISABLED, dynamic data, overlay data, etc. are not allowed if the optional Form Count parameter is specified as part of the Execute command. If ENABLED, dynamic data, overlay data, etc. are allowed within a form in which the Form Count parameter is specified in the Execute command.
Parameter Value Option Select Font Comments 0* 0 = US ASCII 11–23 = Undefined default to ASCII. 1 1 = German 2 = Swedish 24–31 = User–defined symbol set from the USET command. 2 3 4 5 6 7 8 9 10 3 = Danish 4 = Norwegian 5 = Finnish 6 = English 7 = Dutch 8 = French 9 = Spanish 10 = Italian Select LPI 1 – 10 Any integer value from 1 to 10. Default is 6. Skip Cmd Prefix DISABLE DISABLE prints text before a valid IGP/PGL command as if a line feed preceded the command’s SFCC.
Table 1–5.
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 the “Commands” chapter. • Fixed data prints on each form in the same “prepositioned” location, unless the location changes in the form definition. Company name, address, logo, and phone number are typical examples of alphanumeric data that can be “fixed” onto the form.
1–18 Introduction
2 Configuration Chapter Contents Configuring the IPG/PGL with the Control Panel . . . . . . . . . . . 2–2 The IGP/PGL Emulation Submenu . . . . . . . . . . . . . . . . . . . . . . . 2–3 Define CR Code (Carriage Return) . . . . . . . . . . . . . . . . . . . 2–4 Define LF Code (Line Feed) . . . . . . . . . . . . . . . . . . . . . . . . 2–4 Autowrap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–4 Select SFCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring the IGP/PGL with the Control Panel Matching certain printer operational settings to those of the host computer is known as “printer configuration.” The settings, or configuration parameters, such as selecting the host interface, are adjusted according to the printer function key descriptions in your printer’s user manual. Configure the IGP/PGL in the same way you would configure the printer for other features.
The IGP/PGL Emulation Submenu Emulation IGP/PGL Define CR Code CR = CR* CR = CR + LF Define LF Code LF = LF* LF = CR + LF Autowrap Select SFCC Disable* Enable 1–255 126* Select Font Autoeject Select LPI Auto Uppercase Skip Cmd Prefix 0–31 0* Disble* Enable 1–10 6* Disable* Enable Enable* Disable Ext Execute Copy Disable* Enable UPC Descenders Enable* Disable Host Form Length Disable* Enable Power On IGP/PGL Enable* Disable IGP100 Compatibilty Disable* Enable Figure 2–1.
Define CR Code (Carriage Return) This parameter forces the printer to insert an automatic Line Feed code into the data stream whenever a Carriage Return code occurs. This is to be used only if the host computer does not send Line Feeds to the printer. • CR = CR. The default. Does NOT perform a line feed. The next print position will be print position 1 of the current line. • CR = CR + LF. Performs an automatic line feed. The next print position will be print position 1 of the next line.
Select Font This parameter allows you to select a font for the IGP/PGL feature. The default is 0, which is U.S. ASCII. The following values are valid choices: 0 1 2 3 4 5 6 7 8 9 10 U.S. ASCII German Swedish Danish Norwegian Finnish English Dutch French Spanish Italian Values 11–23 are undefined and will default to 0. You can set values 24–31 to specific fonts; refer to the USET command.
Auto Uppercase This parameter enables the printer to print text in all uppercase. Disable. The default. The printer will print text in upper- and lowercase. Enable. The printer will print text in uppercase only. Skip Command Prefix This parameter determines if a data string before an IGP/PGL command will be ignored. Disable. The printer will print any data before an IGP/PGL command. Enable. The default. The printer ignores all text before an IGP/PGL command.
UPC Descenders This parameter allows you to leave a gap for human readable data in the UPC/EAN bar codes. Disable. The IGP/PGL does not leave a gap if there is no human readable data. Enable. The default. The IGP/PGL leaves a gap, even if there is no human readable data. Host Form Length This parameter determines which page length setting (the one specified in the Create Form mode or the one set on the printer) will be used when you send an Execute (print) command. Enable.
2–8 Configuration
3 PTX_Setup Chapter Contents PTX_Setup Command Description . . . . . . . . . . . . . . . . . . . . . . . 3–2 PTX_Setup Command Parameters and Values . . . . . . . . . . . . . . 3–4 DISK_IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–4 ENGINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5 PTX_Setup Command Example . . . . . . . . . . . . . . . . . . . . . . . . .
PTX_Setup Command Description Purpose Enables the host to control PSA printer resources common to all emulations. Mode All modes (Normal, Quiet, etc.) Format (cc) PTX_SETUP [ ...|. : : [ ...|. PTX_END (cc) The Special Function Control Character. This cc is NOT the PGL SFCC. It is the “setup” SFCC and is set under the Maint/Misc configuration menu.
PTX_END The end command for the PTX_SETUP. When the PTX_END command is detected, any unprintable characters following it will be ignored. Therefore, the next printable character from the host will be sent to the active emulation. Comments The PTX_Setup feature will only manage those options that are common between printer emulations. Each emulation is responsible for providing host commands to set emulation–specific options.
PTX_Setup Command Parameters and Values The valid SETUP parameters and value ranges are listed below according to category. DISK_IO Valid parameter/values for performing disk–related functions are listed below. Filenames must follow the MS–DOS standard and be enclosed in double quotation marks; for example, “a:filename.dat”. An invalid filename will cause the PTX_SETUP function to exit and data will be passed directly to the active emulation.
DEL;“” Deletes the given file enclosed in double quotation marks from the printer external memory. If the file is not found, no action is taken. FONT;“[drive]” Allows downloading of HP LaserJet II bitmap fonts into a memory module. The syntax is as follows: DISK_IO–FONT;“[Drive:]” FONT_END Note that when using the FONT command, it should be the only command on the line (i.e.
ALM_NARROW;# Defines the Automatic Label Mapping narrow–web width in 1/1000ths–of–an–inch increments from 0–65535. ALM_ENABLE; Enables or disables the ALM. The value ‘N’ or ’W’ enables the ALM. A “D” disables the ALM. An ‘N’ defines a page as “narrow.” A ‘W’ defines a page as “wide.” IMAGE_SHFT_H;# Defines the horizontal image shift in 1/1000ths–of–an–inch increments from (–1000)–(1000). IMAGE_SHFT_V;# Defines the vertical image shift in 1/1000ths–of–an–inch increments from (–1000)–(1000).
4 Commands Chapter Contents IGP/PGL Command Standards . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3 Special Function Control Character (SFCC) . . . . . . . . . . . . 4–3 Semicolon (;) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3 Uppercase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3 Inline Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3 Line Terminator . . . . . . . . . . . . . . . . . . . . . . .
Dark Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–10 Thermal Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–10 Line-Matrix Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–10 Individual Command Descriptions (Alphabetical) . . . . . . . . . . .
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 Character (SFCC) The SFCC identifies a command directed to the IGP/PGL to enable a specific IGP/PGL function.
There is a configuration option that determines whether any data preceding a command is printed or ignored. All PGL commands begin with the Special Function Control Character (SFCC). When the command is not followed by a valid line terminator, it must also end with the SFCC. Any illegal command or non–terminated command will print as text.
The same printable character must be used at both the beginning and end of the text to be printed and cannot be used within the text. Spaces Spaces are used in the general command formats to visually separate individual command parameters. Supply the appropriate information for the command parameter, but do not enter the spaces in the command sequence; they are shown simply as a visual aid to illustrate where one command parameter ends and another begins.
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 (.). Numeric Values In this manual, a lowercase n in the command represents a numeric value. If a command parameter includes a lowercase n, it must be substituted with an appropriate numeric value. If the lowercase n is part of an optional parameter and the option is not selected, a value for n is not required.
NOTE: Executing a form or calling a logo will access the default printer memory module automatically if the object is not found in memory. Uncompressed and Packed Bits Compression PGL logos support uncompressed and packed bits compression methods. CCITT and LZR (used for color) compression methods are not supported. Refer to your application’s documentation about TIFF files. Character Position.Dot Position (CP.DP) Format The CP.DP format is a special parameter available with the IGP/PGL commands. CP.
11.0 12.5 13.1 13.3 13.5 14.1 12.4 13.0 13.2 13.4 14.0 12.0 13.0 14.0 15.0 10.9 10.0 10.10 10.11 11.0 11.1 11.0 11.2 11.3 11.4 12.0 11.5 11.6 11.7 11.8 13.0 11.9 11.10 11.11 12.0 Figure 4–1. CP.
Data Fields for Alphanumeric and Incremental Data Based upon 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.
Incremental Data Fields The incremental data fields feature allows alphanumeric (and bar code) data fields to automatically update numerically or alphabetically with just one set of data sent from the host computer. A maximum of 65,535 forms can print with incremental fields automatically updated. Alphanumeric incremental fields can be used with fixed (static) data input as part of the Create Form mode or with dynamic data supplied in the Execute Form mode.
Because of the second hammer bank stroke required to plot the extra columns of dots, print speed may be reduced up to half when the DARK parameter is used with Bar Code commands. However, this decreased print speed should be weighed against the significant increase in bar code PCR and extended ribbon life. ADDED COLUMNS OF DOTS NORMAL MODE DARK MODE Figure 4–2.
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;] [POINT;] SR; SC; VE; HE; (D)text(D) STOP NOTE: 4–12 ALPHA The Alphanumeric command; enter ALPHA. R The optional reverse printing (white on black) parameter. Enter R to specify a black background. The D parameter, used in earlier line-matrix IGP/PGL versions, is ignored in thermal IGP/PGL.
AFn;L The optional dynamic data field parameters for identifying the alphanumeric string location on a form and for designating the length of the alphanumeric string. If these parameters are used, the actual text cannot be entered during the Create Form mode; it must be entered dynamically during the Execute Form mode. Dynamically entering data during the Execute Form mode permits changes to the alphanumeric text without redefining or re–creating the form. To use this field, perform the following steps: a.
The default orientation prints character strings in the standard horizontal format. NOTE: 4–14 Alpha rotation parameters (CW, CCW, INV) require more memory to implement than the default orientation. Thus, characters selected for rotation may appear in the default orientation. Selecting a smaller font will correct the problem. UC Enter UC to specify uppercase–only characters. When uppercase–only is specified, all lowercase alpha character codes are converted automatically to uppercase.
HE Defines the horizontal expansion factor to enlarge characters horizontally. Enter a value between 0 and 139. Zero specifies the standard font (no expansion). An HE value must be entered. Elongated (E) and compressed (Cn) characters cannot be used with a horizontal expansion other than zero. (D) The printable character (quotation marks for example) identifying the start and finish of the alphanumeric string.
Notice the same starting row is used for all “EXAMPLE” characters, and they are all aligned on the same baseline (or bottom), regardless of expanded or compressed parameters. The string rotates around the point of intersection of the starting row and columns shown by the “pinwheel” E. A rotated 10 cpi character establishes the baseline for all character sizes.
ROW 36 ROW 39.2 COLUMN 37 COLUMN 49 COLUMN 48 ROW 45 COLUMN 60 ROW 54.5 COLUMN 58 ROW 58 alpha.ex COLUMN 26 Figure 4–3.
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 4–22), or dynamic data (page 4–25).
The increment amount is defined by the numeric value of the STEPMASK data. For example, a STEPMASK value of 1 increments the STARTDATA by 1; a STEPMASK value of 2 increments the STARTDATA by 2. The maximum number of characters allowed in the STARTDATA field is defined by the number of characters in the STEPMASK field; the STARTDATA field cannot contain more characters than used in the STEPMASK field.
Value STARTDATA: STEPMASK: ABC123 000001 Printed Results: ABC123 ABC124 ..... . ..... . ..... . Description Linked subfields: ABC and 123 RPT = 1 RST = 0 ABC999 ABD000 ..... . ..... . ..... . ZZZ999 AAA000 Value 4–20 STARTDATA: STEPMASK: 1ABC123 0LLL001 Printed Results: 1ABC123 1ABC124 . ... . ... . ...
Value STARTDATA: STEPMASK: ___1 0001 Printed Results: ___1 ___2 .. .. .. .. .. .. Description Single numeric field with leading spaces (_) RPT = 1 RST = 0 __10 Value STARTDATA: STEPMASK: _AA98 0LL01 Printed Results: _AA98 . . . . . . 1AA00 Value STARTDATA: STEPMASK: _42AR 0LL01 Printed Results: _42AR _42AS . .. . .. . .. _42ZZ A42AA Value STARTDATA: STEPMASK: 9AA02 –XXX01 Printed Results: 9AA02 9AA01 9AA00 9AA99 .. ..
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. Due to space constraints, the command parameters are separated into two lines. During actual IGP/PGL input, DO NOT separate command parameters.
To use the repeat count parameter, enter RPT and replace n with a numeric value ranging from 1 to 65,535 to specify the repeat count. The default repeat count parameter is 1, which will increment the field value each time it prints. 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.
Comments The Incremental Alphanumeric Fixed Data Fields command is a revised version of the standard IGP/PGL alphanumeric command, but it does not replace the standard alphanumeric command.
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.
c. Replace L with a number equal to the number of characters in the dynamic alphanumeric string (STARTDATA) ranging from 1 to 255. d. Dynamically enter the STEPMASK and STARTDATA parameters in the Execute Form mode. The length of the data must be equal to or less than the value assigned to the length (L) parameter. Refer to “Execute Form: Incremental Dynamic Data” on page 4–56 for more information.
Description Value STARTDATA: STEPMASK: Single numeric field (01) RPT = 1 RST = 0 HDUP = 3 VDUP = 2 01 01 Printed Results: Page #1: 01 04 02 05 03 06 Page #2: 07 10 08 11 09 12 Field A STARTDATA: STEPMASK: A01 X01 STARTDATA: STEPMASK: Field B B01 X01 Unlinked subfields, alpha (A), numeric (01) RPT = 3 RST = 9 HDUP = 3 VDUP = 3 Unlinked subfields, alpha (B), numeric (01) RPT = 1 RST = 0 (No HDUP or VDUP) Printed Results: Commands Page #1: A01 A02 A03 A01 A02 A03 A01 A02 A03 B01 Page #2
Example The following program will produce the Incremental Alphanumeric data example at the bottom of the previous page. The program elements are also defined. (Refer to the command format on page 4–22.
~CREATE;TEST;288 VDUP;3;6 ALPHA IAF1;5;6;5;4;4 STOP VDUP;OFF END ~EXECUTE;TEST ~IAF1;+00002;*45678* (Enters Create Form mode) (Repeats alpha string) (Alpha command) (Ends Alpha command) (Terminates Create Form mode) (Prints form) ~NORMAL Commands 4–29
Boxes Purpose Produces any variety of rectangular boxes. Mode CREATE Format BOX LT; SR; SC; ER; EC STOP 4–30 BOX The Box command; enter BOX. Boxes expand down and to the right from the given row and column. (Note the position of the ending row and ending column; they do not include the line thickness.) LT Defines the line thickness, measured in dots. Line thickness is based on dot dimensions of 1/72” vertically and 1/60” horizontally. Enter a value of 1 or greater.
NOTE: If the SCALE;DOT command is used to specify the dot resolution, the line thickness will be specified in that dot scale, rather than as the standard 1/72” line. Example EC Defines the ending column of the box. 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 4–88), or use the CP.DP format (page 4–7).
COLUMN 16 ROW 24 COLUMN 48 ROW 44 ROW 46 COLUMN 58 ROW 51 COLUMN 63 Figure 4–4. Box Example 4–32 box.
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 Character. 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.
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 Character (SFCC). CONFIG The Configuration command; enter CONFIG.
NOTE: All CONFIG parameters except RESET must be followed by a semicolon (;). Any CONFIG parameters not entered in UPPERCASE and exactly as listed in this table will result in an Error 156. (Refer to the “Error Codes” chapter.) Comments The IGP/PGL configuration parameters available are also defined in Chapter 2. 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.
Corners Purpose Defines corner sets. Mode CREATE Format CORNER LT; SR; SC; ER; EC; VL; HL STOP 4–36 CORNER Enter CORNER to expand corners 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” vertically. Enter a value of 1 or greater. SR Defines the starting row of the corner. Enter a value ranging from row 1 through one less than the length of the form.
NOTE: If the SCALE;DOT command is used to specify the dot resolution, the line thickness will be specified in that dot scale, rather than as the standard 1/72” line. Example EC Defines the ending column of the corner. 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 4–88), or use the CP.DP format (page 4–7).
COLUMN 27 HORIZONTAL LENGTH 6 COLUMNS ROW 27 VERTICAL LENGTH 4 ROWS ROW 42 COLUMN 55 Figure 4–5. Corner Example 4–38 corner.
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] Commands (cc) The Special Function Control Character. 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.
FL The optional forms length parameter to specify the maximum length of the form. (Form length cannot exceed the physical length of the page. Refer to Appendix C). Specify the form length in one of three ways: a. Enter 0 to define a form of unspecified length. The form will end after the longest element; that is, the form length is automatically controlled to contain all elements without extra length beyond the longest element. This can be used to eliminate wasted paper after producing short forms. b.
Delete Form Purpose Deletes the form identified by the form name from the directory and the IGP/PGL memory. Mode NORMAL Format (cc)DELETE FORM; formname [;DISK] (cc) The Special Function Control Character. DELETE FORM The Delete Form command; enter DELETE FORM. formname Identifies the form to be deleted. Enter the name of the form exactly as it was created. You can delete an entire form directory by inputting *ALL as the form name.
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 Character. 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.
Directory Purpose Prints the following information: (1) all defined forms and logos, (2) logo assignment to forms, and (3) memory usage and availability. Mode NORMAL Format (cc)DIRECTORY (cc) The Special Function Control Character. DIRECTORY The Directory command; enter DIRECTORY. Comments As many forms and logos as printer memory allows may be stored in IGP/PGL memory.
Duplication, Horizontal 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 4–44 HDUP The Horizontal Duplication command; enter HDUP. dup# Specifies the duplication number, which is the number of times the entered form element(s) will repeat horizontally. Enter a value ranging from 1 to 255.
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 (14 duplications with 4–character column spacing) VERT (Command to duplicate horizontally) 1;10;59;59.6 (Note CP.DP format: 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.
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 4–46 VDUP The Vertical Duplication command; enter VDUP. dup# Specifies the duplication number – the number of times the entered form element(s) will repeat vertically. Enter a value ranging from 1 to 255.
Example The following example is a vertical duplication of one horizontal line. The line is duplicated three times. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page.
End Purpose Terminates the current mode of operation and must be used before entering a new mode command (EXECUTE, LOGO, NORMAL, or even CREATE). Mode CREATE Format END Comments After the End command is received, the IGP/PGL flushes program errors, stores the error–free portions of the form program just completed, and then returns to the Normal mode. If the debug slash (/) is included in the Create command, the program prints with any corresponding error messages.
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 4–78, is performed in the Execute Form mode.
To Execute Forms Rapidly In order to save reloading time, the PGL remembers the last form executed. However, a form must be loaded if it was not the last form executed, if it was used with a CREATE command since the last EXECUTE, or if any logo has been created. Use the SETUP command to define forms at power up and execute them from internal memory rather than from external memory. When the form to be executed is not found in internal memory, the default external memory module is automatically searched.
Execute Form: General Format Purpose Prints forms created in the CREATE mode. Mode NORMAL Format (cc)EXECUTE ;formname [;PAGEn] [;FC] [;ICNTn] [;IRSTn] [(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 Character. EXECUTE The Execute Form command; enter EXECUTE.
FC The optional form count parameter specifies the number of copies of the form to print. Enter the appropriate number. When the last page prints, the IGP/PGL returns to the Normal mode automatically. Do not use the form count parameter if dynamic data (AFn and BFn parameters), incremental data (ICNT or IRST parameters), overlay data, or EVFU data are used in the Execute command. ICNTn The optional incremental form count.
Overlay Data Overlay data can be entered during the Execute Form mode. (The words “Overlay Data” are not part of the Execute command. They are shown in the command sequence to indicate that actual overlay data can be entered following the Execute command.) Refer to “Execute Form: Overlay Data” on page 4–59. Form Feed Character Optional command instructing the IGP/PGL to start a new page with new EVFU, dynamic, and overlay data using the existing Execute commands for the current form.
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) NOTE: AFn Indicates a dynamic alphanumeric field (AF) and its data (n). Enter AF 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 Alphanumeric command in the Create Form mode.
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) NOTE: 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.
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 4–51.
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.
RPTn The optional incremental repeat count parameter to specify the number of times a particular field value is repeated before it is incremented. A repeated field value is useful when printing multiple rows/columns of identical labels before incrementing to the next value. To use the repeat count parameter, enter RPT and replace n with a numeric value ranging from 1 to 65,535 to specify the repeat count. The default repeat count parameter is 1, which will increment the field value each time it is printed.
Execute Form: Overlay Data Overlay data is variable alphanumeric data entered onto a predefined form. The form is completed by positioning the data in the exact location it will appear on the form when printed. The data is placed horizontally using tabs and spaces, and vertically using line feeds, form feeds, and the EVFU. For example, if the serial number field on the form begins at character row 22, and column 14, enter 22 line feeds, space over 14 columns, and input serial number overlay data.
Expanded Print Purpose Selects font sizes other than the default font. Mode NORMAL, EXECUTE Format (cc)EXPAND; VE; HE (cc) The Special Function Control Character. EXPAND The Expanded Print command; enter EXPAND. VE Specifies the vertical expansion factor; enter a value ranging from 0 to 139. HE Specifies the horizontal expansion factor; enter a value ranging from 0 to 139. Both VE and HE parameters must be zero or non–zero. One expansion value cannot be specified as 0 if the other is not.
Font Purpose Selects typefaces other than the default Gothic font. Mode NORMAL, CREATE, EXECUTE Format (cc)FONT [;FACE #] [;BOLD #] [;SLANT #] [;SYMSET #] [;POINT #] NOTE: The font is activated according to the changed options upon receipt of the font command. (cc) The Special Function Control Character. (If you are using the Font command in the CREATE mode, do not enter the SFCC.) FONT The Font command; enter FONT. FACE # Identifies the specific typeface.
BOLD # Selects a bold attribute. Enter BOLD, a space, and ON or 1 to turn bold on, or OFF or 0 for no bold attribute. SLANT # Selects a slanting factor. (Slant is similar to italic, but also offers a backward slant.) Enter SLANT, a space, and RIGHT or 1 for a typical italic slant, LEFT or –1 for a backward slant, or OFF or 0 for no slant attribute. SYMSET # Selects a font symbol set other than the default ASCII symbol set.
All Font command parameters are reset to default values upon receiving a NORMAL, RESET, CONFIG;RESET, or new CREATE command. Multiple font commands within a single form will save the last font command parameters specified. Symbol sets can also be selected using the ISET or USET commands. (Refer to the “Multinational Character Sets” chapter.) Fonts in the HP LaserJet II format may also be downloaded to the printer.
Form Length Purpose Sets the length of the form to a specific number of lines at 6 or 8 lpi. Mode CREATE Format LFORM6; n or LFORM8; n LFORM6 The Form Length command for 6 lpi forms; enter LFORM6. LFORM8 The Form Length command for 8 lpi forms; enter LFORM8. n Specifies the forms length in total number of lines allowed per form. The range depends on the paper size used and the top/bottom margin setting. An error message will result if the maximum line values are exceeded.
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 NOTE: A line terminator is not required in the Ignore Sequence. (cc)IGOFF (cc) The Special Function Control Character. IGON Ignore Sequence On command; enter IGON.
Line Spacing Purpose Defines the lines per inch (lpi) printing format. Mode NORMAL, EXECUTE Format (cc)LPI; n (cc) The Special Function Control Character. LPI The Vertical Line Spacing command; enter LPI. n Selects the line spacing in lpi; enter any integer value from 1 to 10. Comments Standard line spacing is 6 lpi.
Lines, Horizontal Purpose Defines horizontal lines. Mode CREATE Format HORZ LT; R; SC; EC STOP Commands HORZ The Horizontal Line command; enter HORZ. LT Defines the line thickness, measured in 1/72” 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.
Example The following example specifies 2 horizontal lines. The first line uses the character row in the R parameter, and the second line uses CP.DP format. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page. HORZ 1;60;15;65 1;60.5;15;65 STOP COLUMN 15 COLUMN 65 ROW 60 ROW 60.5 horz.ex NOTE: If the SCALE;DOT command is used to specify the dot resolution, then the line thickness will be specified in that scale.
Lines, Vertical Purpose Defines vertical lines. Mode CREATE Format VERT LT; C; SR; ER STOP Commands VERT The Vertical Line command; enter VERT. LT Defines the line thickness, measured in 1/60” 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.
Example The following program specifies 4 vertical lines. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page. 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 NOTE: If the SCALE; DOT command is used to specify the dot resolution, the line thickness will be specified in that scale.
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 4–84.) Mode NORMAL Format (cc)LISTEN NOTE: (cc) The Special Function Control Character. LISTEN The Listen command; enter LISTEN. When the IGP/PGL is in the quiet state, the currently selected line printer emulation commands are active. Refer to your printer Setup Guide for a description of these commands.
Logo Call Purpose Selects and positions previously defined logo(s). (The logo itself is actually defined separately in the Create Logo mode.) The logo may be defined using TIFF files, PCX raster data, or IGP/PGL dots. Mode CREATE Format LOGO SR; SC; logoname STOP LOGO The Logo Call command; enter LOGO. 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.
Example The following sample program specifies three logo calls placing the same logo at three different locations. (The logo was previously defined and stored.) The starting row and column specify the upper left corner of the grid in which the logo was defined. To illustrate positioning, the starting row and column are indicated on the example but do not necessarily reflect actual location on the page. LOGO 56;35;HAND 56;50;HAND 56;65;HAND STOP SR 56 SC 35 SC 50 SC 65 logocall.
Logo Mode, Create Purpose Places the IGP/PGL in the Create Logo mode, where logos can be defined using the appropriate dot placements. (See TIFF Logo, page 4–92, and PCX Logo, page 4–81, commands to define logos using TIFF or PCX data.) Mode NORMAL Format (cc)LOGO; logoname; VL; HL [;DISK] row#; dot; dot1–dot2; dot END 4–74 (cc) The Special Function Control Character. LOGO The Logo command; enter LOGO. logoname Enter a maximum of 12 alphanumeric characters for the name of the logo.
dot Identifies a single dot position in the row. Enter each dot number used. Dots are numbered sequentially from left to right. dot1–dot2 Identifies a series of dot positions within the row, including dot1 on the left end and dot2 on the right end. Enter the series of dot rows. Series of dot rows can be combined with single dot positions in the same command line. END Terminates the Create Logo mode; enter END. Comments The logo is defined by specifying the overall size and the rows of data used.
~LOGO;TAPEHOLD;36;40 1;12–18 2;10–20 3;9–22 4;8–24 5;7–25 6;6–26 7;5–26 8;4–25 9;4–25 10;3–24 11;3–24 12;2–23 13;2–23 14;2–14;17–23 15;1–12;19–22;38–39 16;1–12;20–23;37–40 17;1–11;20–23;37–40 18;1–11;20–23;36–40 19;1–11;20–23;36–40 20;1–11;20–23;35–40 21;1–12;20–24;35–40 22;1–12;19–24;34–39 23;1–14;17–25;33–39 24;1–28;31–39 25;1–39 VL 36 26;2–38 27;2–38 TAPELOGO.
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 Character followed by an IGP/PGL command. Mode NORMAL, EXECUTE Format (cc)NORMAL (cc) The Special Function Control Character. 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.
Page Number Purpose Defines where a page number is placed on a form and automatically increases the page number on each page. Mode CREATE Format PAGE; SR; SC PAGE The Page Number command; enter PAGE. SR Defines the starting row of the page number. 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 4–88), or use the CP.DP format (page 4–7). SC Defines the starting column of the page number.
Paper Purpose Controls the printer cutter, print intensity, label sensor, page orientation (portrait/landscape), and print speed. Mode NORMAL, EXECUTE NOTE: More than one option may follow the paper command. Format (cc)PAPER [;option[ #]] NOTE: Not all options may be available with your printer. Consult your printer’s Setup Guide to determine which options are available. If an option is not available, the emulation will ignore the corresponding command.
ROTATE # Specifies the label rotation. Enter ROTATE, a space, and either 0 (default) or 180, for portrait, or 90 or 270, for landscape. SPEED Specifies the print speed in lines per minute. Enter SPEED, followed by a number in the range of 0 to 9999. RIBSAVE # Enables (or disables) the Ribbon Saver option. Replace # with 1 to enable or with 0 to disable the option. TEAR # Sets the printer to present the label (so you can tear off a label).
PCX Logo Purpose Places the IGP/PGL in the Create Logo mode, where logos can be defined using the PCX file format. Mode NORMAL Format (cc)(LOGO;logoname;PCX[;DISK](T) (cc) RASTEREND [T] END(T) Commands (cc) The Special Function Control Character. LOGO The Logo command; enter LOGO. logoname Enter a maximum of 12 alphanumeric characters for the name of the logo. (Refer to page 4–5 for a list of allowable Logo Name characters.
Comments The size and number of raster image logos are bounded by printer memory. The logo call command in the Create Form mode brings the predefined logo into a form. The starting row and column parameters refer to the upper left corner of the logo grid. Once created, the logo is ready to be used in any form and will print at the size shown. Raster images may contain data that is interpreted by your host as control codes. This may affect the way the host sends data to the printer.
Print File Purpose Prints files from the external memory module. Print File can be used to show the SETUP functions that exist. Mode NORMAL Format (cc)PRINT; filename (cc) The Special Function Control Character. PRINT The Print File command; enter PRINT. filename The filename to be printed. Comments Do not use wildcard characters because the Print File command will attempt to print any file in the external memory.
Quiet Purpose Places the IGP/PGL in the Quiet mode, where all data passed to the LinePrinter+ Emulation is unaffected by IGP/PGL commands except for the LISTEN, SFON/SFOFF, IGON/IGOFF, and PTX_SETUP commands. Mode NORMAL Format (cc)QUIET (cc) The Special Function Control Character. QUIET The Quiet command; enter QUIET. The IGP/PGL remains in the quiet state until the Listen command is received.
Reset Purpose Deletes all forms and logos from IGP/PGL memory. The Reset performs the following tasks: • Prints any objects in the current page • Selects the portrait orientation • 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 file if present Mode NORMAL, CREATE, or EXECUTE Format (cc)RESET (cc) The Special Function Control Character. RESET The Reset command; enter RESET.
Reverse Print Purpose Defines an area of the form where form elements are reverse printed (white on black). Mode CREATE Format REVERSE [DARK;] SR; SC; ER; EC STOP 4–86 REVERSE The Reverse Printing command; enter REVERSE. DARK Optional parameter to select a denser black background. Enter DARK, or DA, to select the denser background. More information about dark printing is provided on page 4–10. SR Defines the starting row of the reverse print field.
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 4–88), or use the CP.DP format (page 4–7). STOP Stop indicates the end of the REVERSE command; enter STOP, and the IGP/PGL will wait for a new command. If not entered, the IGP/PGL will expect another set of Reverse Print command parameters.
Scale Purpose Defines the vertical line spacing and the horizontal pitch of the form for data positioning specified by character row and column or dot row and column. Mode CREATE Format SCALE; DOT [;horz;vert] or SCALE; CHAR [;lpi] [;cpi] SCALE The Scale command; enter SCALE. DOT Specifies the dot scale. Enter DOT. CHAR Specifies the character scale. Enter CHAR. lpi The optional vertical line spacing parameter (in lines per inch) for character scaling.
The default scale factor uses character row and column (6 lpi and 10 cpi). Anytime CP.DP format (page 4–7) is used, the scale assumes 6 lpi and 10 cpi and a 60 x 72 dpi format. You can change the Scale at any time during forms creation by using either of the Scale commands. Elements designed before the scale change will print at the former scale, while those elements following the scale change will print at the current scale. NOTE: Commands Scale affects data position, not the printed data itself.
Select Format Purpose Enables the IGP/PGL to ignore all host–generated paper movement commands (00–0F hex). Mode NORMAL, CREATE or EXECUTE Format (cc)SFON or (cc)SFOFF NOTE: A line terminator is not required in the Select Format Sequence. (cc) The Special Function Control Character. SFON The Select Format On command. Enter SFON. SFOFF Exits Select Format. Enter SFOFF. Comments During Select Format, you may enter the following IGP/PGL paper movement commands.
Setup Purpose Automatically executes and loads IGP/PGL commands such as forms, logos, customized print environments, etc., from external memory to the printer whenever printer power is applied or when the RESET command (page 4–85) is sent. Mode NORMAL Format (cc)SETUP HOST DATA (cc)SETUPEND (cc) The Special Function Control Character. SETUP The Setup command; enter SETUP. HOST DATA Any IGP/PGL commands, form definitions, text, etc. to be stored and executed at power–up.
TIFF Logo Purpose Places the IGP/PGL in the Create Logo mode, where logos can be defined using a Tagged Image File Format (TIFF). Mode NORMAL Format (cc)(LOGO;logoname;TIFF[;DISK](T) (cc) RASTEREND [T] END(T) 4–92 (cc) The Special Function Control Character. LOGO The Logo command; enter LOGO. logoname Enter a maximum of 12 alphanumeric characters for the name of the logo. (Refer to page 4–5 for a list of allowable Logo Name characters.
Comments The size and number of raster image logos are bounded by printer memory. The logo call command in the Create Form mode brings the predefined logo into a form. The starting row and column parameters refer to the upper left corner of the logo grid. Once created, the logo is ready to be used in any form and will print at the size shown. Raster images may contain data that is interpreted by your host as control codes. This may affect the way the host sends data to the printer.
4–94 Commands
5 Bar Codes Chapter Contents Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–2 User–Defined Variable Bar Code Ratios . . . . . . . . . . . . . . . 5–4 PDF Character Sizes [PDF [;LOC] [;FONT] (T)] . . . . . . . . 5–20 Code 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–21 Code 93 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–28 Codabar . . . . . . . . . . . . . . . . .
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 below, in Table 5–1, with detailed bar code information provided on the referenced pages. All parameters must be separated by a semicolon (;) unless noted otherwise.
Table 5–1. Available Bar Codes (Continued) BAR CODE MNEMONIC Postnet POSTNET UPC–A UPC–E and UPC–E0 Bar Codes SYMBOL LENGTH CODE SET PAGE NO.
User–Defined Variable Bar Code Ratios [R[D]ratio] The user–defined variable ratio for bar codes is an optional parameter. The default ratios shown in Table 5–2 through Table 5–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.
Bar Codes Format Size Avg. X Dim. Ratio C 3/9, Codabar (Portrait Page) X1 16.7 mil 2.8:1 X1A 16.7 mil 2.2:1 X1B 13.3 mil 2.5:1 X1C 13.3 mil 2.75:1 X1D 13.3 mil 2.25:1 X1E 10 mil 2.67:1 X1F 10 mil 2.33:1 X1G 6.7 mil 2.5:1 X2 33.3 mil 2.8:1 X3 50 mil 2.8:1 X4 66.7 mil 2.
Table 5–2. T3306 & T3308 Binary Bar Code Sizes (Continued) Format Size Avg. X Dim. Ratio C 3/9 Codabar (Landscape Page) X1 16.7 mil 3:1 X1A 16.7 mil 2.1:1 X1B 13.3 mil 2.56:1 X1C 13.3 mil 2.71:1 X1D 13.3 mil 2.14:1 X1E 10 mil 2.71:1 X1F 10 mil 2.14:1 X1G 8.3 mil 2.6:1 X2 35 mil 2.8:1 X3 50 mil 2.8:1 X4 66.7 mil 2.8:1 X1 16.7 mil 2.8:1 X1A 20 mil 2.67:1 X1B 16.7 mil 2.2:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2.75:1 X1E 10 mil 2.67:1 X1F 10 mil 2.
I 25 (Landscape Page) Bar Codes X1 16.7 mil 2.8:1 X1A 20 mil 2.67:1 X1B 16.7 mil 2.2:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2.75:1 X1E 10 mil 2.67:1 X1F 10 mil 2.33:1 X1G 6.7 mil 2.6:1 X2 36.7 mil 2.27:1 X2A 30 mil 2.33:1 X3 53.3 mil 2.5:1 X4 70 mil 2.
Table 5–2. T3306 & T3308 Binary Bar Code Sizes (Continued) Format Size Avg. X Dim. Ratio MSI (Portrait Page) X1 16.7 mil 2.8:1 X2 23.3 mil 2.57:1 X3 33.3 mil 2.3:1 X4 40 mil 2.33:1 X1 16.7 mil 2.8:1 X2 23.3 mil 2.57:1 X3 33.3 mil 2.3:1 X4 40 mil 2.33:1 MSI (Landscape Page) Table 5–3. T3306 & T3308 Binary Bar Code Sizes (CW & CCW Drawing) 5–8 Format Size Avg. X Dim. Ratio C 3/9 Codabar (Portrait Page) X1 20 mil 2.5:1 X1A 13.3 mil 2.75:1 X1B 20 mil 2.83:1 X1C 13.
C 3/9 Codabar (Landscape Page) X1 20 mil 2.5:1 X1A 13.3 mil 2.75:1 X1B 20 mil 2.83:1 X1C 13.3 mil 2.75:1 X1D 13.3 mil 2.25:1 X1E 10 mil 2.67:1 X1F 10 mil 2.33:1 X1G 6.7 mil 2.5:1 X2 26.7 mil 2.88:1 X3 40 mil 2.92:1 X4 53.3 mil 2.94:1 Table 5–3. T3306 & T3308 Binary Bar Code Sizes (Continued) Bar Codes Format Size Avg. X Dim. Ratio I 2/5 (Portrait Page) X1 20 mil 2.5:1 X1A 13.3 mil 2.75:1 X1B 20 mil 2.83:1 X1C 13.3 mil 2.71:1 X1D 13.3 mil 2.
I 25 (Landscape Page) MSI (Portrait Page) MSI (Landscape Page) 5–10 X1 20 mil 2.5:1 X1A 13.3 mil 2.75:1 X1B 20 mil 2.83:1 X1C 13.3 mil 2.75:1 X1D 13.3 mil 2.25:1 X1E 10 mil 2.67:1 X1F 10 mil 2.33:1 X1G 6.7 mil 2.5:1 X2 26.7 mil 2.88:1 X2A 26.7 mil 2.13:1 X3 40 mil 2.92:1 X4 53.3 mil 2.94:1 X1 16.7 mil 2.8:1 X2 23.3 mil 2.57:1 X3 33.3 mil 2.3:1 X4 40 mil 2.33:1 X1 16.7 mil 2.8:1 X2 23.3 mil 2.57:1 X3 33.3 mil 2.3:1 X4 40 mil 2.
Table 5–4. T3306 & T3308 4-Element Bar Code Sizes (Normal & Inverted Drawing) Format Size Avg. X Dim. Ratio UPC EAN (P t it Page) (Portrait P ) X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 16.7 4:3:2:1 X1.5 23.3 4:3:2:1 X1A 13.3 4:3:2:1 X2 33.3 4:3:2:1 X3 50 4:3:2:1 X4 66.7 4:3:2:1 X5 83.3 4:3:2:1 X1 16.
Table 5–5. T3306 & T3308 4-Element Bar Code Sizes (Continued) Format Size Avg. X Dim. Ratio UPC EAN (L d (Landscape Page) P ) X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 13.3 mil 4:3:2:1 X1.5 20 mil 4:3:2:1 X1A 10 mil 4:3:2:1 X2 26.7 mil 4:3:2:1 X3 40 mil 4:3:2:1 X4 53.3 mil 4:3:2:1 X5 80 mil 4:3:2:1 X1 13.3 mil 4:3:2:1 X1.5 20 mil 4:3:2:1 X1A 10 mil 4:3:2:1 X2 26.
Format Size Avg. X Dim. Ratio C 3/9, Codabar (Portrait Page) X1 16.7 mil 2.67:1 X1A 16.7 mil 2.33:1 X1B 13.3 mil 2.6:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2.5:1 X1G 6.7 mil 3:1 X2 33.3 mil 2.7:1 X3 50 mil 2.8:1 X4 66.7 mil 2.8:1 Table 5–6. T3204 & T3304 Binary Bar Code Sizes (Continued) Bar Codes Format Size Avg. X Dim. Ratio C 3/9, Codabar (Landscape Page) X1 16.7 mil 2.67:1 X1A 16.7 mil 2.33:1 X1B 13.3 mil 2.6:1 X1C 13.
I 2/5 (Portrait Page) I 2/5 (Landscape Page) X1 16.7 mil 2.67:1 X1A 20 mil 2.75:1 X1B 16.7 mil 2.33:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2.5:1 X1G 6.7 mil 3:1 X2 36.7 mil 2.2:1 X2A 30 mil 2.67:1 X3 53.3 mil 2.43:1 X4 70 mil 2.36:1 X1 16.7 mil 2.67:1 X1A 20 mil 2.75:1 X1B 16.7 mil 2.33:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2.5:1 X1G 6.7 mil 2:1 X2 36.7 mil 2.2:1 X2A 30 mil 2.
MSI (Landscape Page) X1 16.7 mil 2.67:1 X2 23.3 mil 2.56:1 X3 33.3 mil 2.23:1 X4 40 mil 2.25:1 Table 5–7. T3204 & T3304 Binary Bar Code Sizes (CW & CCW Drawing) Format Size Avg. X Dim. Ratio C 3/9, Codabar (Portrait Page) X1 20 mil 2.5:1 X1A 13.3 mil 2.5:1 X1B 20 mil 2.75:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2:1 X1G 8.3 mil 2.33:1 X2 26.7 mil 2.8:1 X3 40 mil 2.88:1 X4 53.3 mil 2.9:1 X1 20 mil 2.5:1 X1A 13.3 mil 2.
Format Size Avg. X Dim. Ratio I 2/5 (Portrait Page) X1 20 mil 2.5:1 X1A 13.3 mil 2.5:1 X1B 20 mil 2.75:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2:1 X1G 8.3 mil 2.33:1 X2 26.7 mil 2.8:1 X2A 26.7 mil 2:1 X3 40 mil 2.88:1 X4 53.3 mil 2.9:1 X1 20 mil 2.5:1 X1A 13.3 mil 2.5:1 X1B 20 mil 2.75:1 X1C 13.3 mil 2.5:1 X1D 13.3 mil 2:1 X1E 10 mil 2.5:1 X1F 10 mil 2:1 X1G 6.7 mil 2:1 X2 26.7 mil 2.8:1 X2A 26.
Table 5–8. T3204 & T3304 4-Element Bar Code Sizes (Normal & Inverted Drawing) Format Size Avg. X Dim. Ratio UPC EAN (P t it Page) (Portrait P ) X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 16.7 4:3:2:1 X1.5 23.3 4:3:2:1 X1A 13.3 4:3:2:1 X2 33.3 4:3:2:1 X3 50 4:3:2:1 X4 66.7 4:3:2:1 X5 83.3 4:3:2:1 X1 16.
Table 5–9. T3204 & T3304 4-Element Bar Code Sizes (Continued) Format Size Avg. X Dim. Ratio UPC EAN (L d (Landscape Page) P ) X1 13.3 mil (Mag: 1.03) 4:3:2:1 X1.5 16.7 mil (Mag: 1.28) 4:3:2:1 X0.5 11.7 mil (Mag: 0.90) 4:3:2:1 X1 13.3 mil 4:3:2:1 X1.5 20 mil 4:3:2:1 X1A 10 mil 4:3:2:1 X2 26.7 mil 4:3:2:1 X3 40 mil 4:3:2:1 X4 53.3 mil 4:3:2:1 X5 80 mil 4:3:2:1 X1 13.3 mil 4:3:2:1 X1.5 20 mil 4:3:2:1 X1A 10 mil 4:3:2:1 X2 26.
Variable Ratio Sample ~CREATE;TEST SCALE;CHAR ALPHA 2;5;1;1;1;*Std. Ratio* STOP BARCODE C3/9;X1;H7;3;5 “CODE39” PDF;B;N STOP / / / / / ALPHA 2;30;1;1;*Var.
PDF Character Sizes [PDF [;LOC] [;FONT] (T)] 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. However, when using the Normal font, the PDF will be automatically sized to fit the length of the bar code symbol, if necessary. NOTE: The DARK parameter is ignored for all bar codes.
Code 39 The Code 39 structure is shown in Figure 5–1 and described on the following pages.
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.
Code 39 Command Format NOTE: 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]; [VSCAN;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP Bar Codes BARCODE The Bar Code command; enter BARCODE. C3/9 CD Designates bar code type C39; enter C3/9. To calculate and plot the optional modulo–43 check digit with the bar code symbol automatically, enter CD.
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, perform the following steps: a. Enter BF. b. Replace n with a number ranging from 1 to 255 to identify the bar code field.
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 4–88), or use the CP.DP format (page 4–7). 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.
Table 5–10. Code 39 Character Set C= Character H = Hex C H C H C H C H C H 0 30 A 41 K 4B U 55 – 2D 1 31 B 42 L 4C V 56 .
SC 58 SR 27 SC 15 SR 40 CODE3–9.EX Figure 5–2.
Code 93 The Code 93 structure is shown in Figure 5–3 and described on the following pages.
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 93 Command Format BARCODE CODE93[;VSCAN][;MAG][Hn[.m]][;BFn;L][;DARK];SR;SC(T) [(D)(D)(T)] [PDF[;LOC][;FONT](T)] STOP BARCODE The Bar Code command; enter BARCODE. CODE93 Designates bar code type Code 93; enter CODE93. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN. If VSCAN is not entered, the bar code is oriented horizontally. MAG Optional parameter to magnify (horizontally expand) the bar code symbol.
To use this field, perform the following steps: a. Enter BF. b. Replace n with a number ranging from 1 to 255 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 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.
The same character must be used at both ends of the data field, but it will not print with the data. 5–32 data field Enter the data for the bar code. 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. PDF Optional parameter to enable printing of the human readable data field. Enter PDF to print the data field.
Table 5–11. Code 93 Character Set Bar Codes Character Hex Character Hex 0 0 Q 51 1 1 R 52 2 2 S 53 3 3 T 54 4 4 U 55 5 5 V 56 6 6 W 57 7 7 X 58 8 8 Y 59 9 9 Z 5A A 41 – 2D B 42 .
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 (Enters Create Form mode) (Bar code command) (Printable data field) (Ends bar code command) (Terminates Create Form mode) (Prints form) ~NORMAL 5–34 Bar Codes
Codabar The Codabar structure is shown in Figure 5–4 and described on the following pages.
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.
Codabar Command Format BARCODE CODABAR [CD]; [VSCAN;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. CODABAR CD Designates bar code type Codabar; enter CODABAR. To calculate and plot the optional modulo–43 check digit with the bar code symbol automatically, enter CD. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN.
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, perform the following steps: a. Enter BF. b. Replace n with a number ranging from 1 to 255 to identify the bar code field.
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 4–88), or use the CP.DP format (page 4–7). 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.
Table 5–12. Codabar Character Set 5–40 Character Hex Character Hex 0 0 $ 24 1 1 : 3A 2 2 / 2F 3 3 .
Codabar Example ~CREATE;TEST;288 SCALE;CHAR BARCODE CODABAR;VSCAN;X1;H7;5;20 “A12345B” PDF;B;N STOP END ~EXECUTE;TEST (Enter Create Form mode) (Bar code command) (Printable data field) (Ends bar code command) (Terminates Create Form mode) ~NORMAL Bar Codes 5–41
Code 128B and Code 128C The Code 128 structure is shown in Figure 5–5 and described on the following pages.
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 128 Command Format BARCODE C128B or C128C; [VSCAN;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP BARCODE The Bar Code command; enter BARCODE. C128B or C12BC Designates bar code type Code 128; enter C128B or C128C. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN. If VSCAN is not entered, the bar code is oriented horizontally.
To use this field, perform the following steps. a. Enter BF. b. Replace n with a number ranging from 1 to 255 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 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.
The same character must be used at both ends of the data field, but it will not print with the data. data field Enter the data for the bar code. A null data field (no characters) is permitted. Whenever a string of 6 or more contiguous numeric digits are detected, the IGP/PGL automatically inserts a Code C at the start of the numeric string and outputs numeric digit pairs packed into single bar code characters.
Table 5–13. 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 .
Table 5–14.
Code 128B Example Figure 5–6 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.
Code 128C Example Figure 5–7 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.
Code UCC –128 The Code UCC–128 structure is shown in Figure 5–8 and described on the following pages.
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 UCC–128 Command Format BARCODE UCC–128; [VSCAN;] [MAG;] [Hn[.m];] [BFn] [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–128; enter UCC–128. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN. If VSCAN is not entered, the bar code is oriented horizontally. MAG Optional parameter to magnify (horizontally expand) the bar code symbol.
BFn 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, perform the following steps: a. Enter BF. b. Replace n with a number ranging from 1 to 255 to identify the bar code field.
NOTE: Bar Codes 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. The same character must be used at both ends of the data field, but it will not print with the data. data field Enter the characters for the bar code data, restricted to exactly 19 digits.
Code UCC–128 Example Figure 5–9 illustrates a horizontal and vertical Code UCC–128 bar code generated by the following program: ~CREATE;UCC–128 (Enter Create Form Mode) BARCODE (Bar Code command) UCC–128;DARK;35;15 (Dark Code UCC–128 at SR 35, SC 15) *1234567890123456789* (Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) UCC–128;VSCAN;H12;DARK;27;50 (Vert. Dark UCC–128, H 1.
EAN 8 The EAN 8 bar code structure is shown in Figure 5–10 and described on the following pages.
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; be sure to provide sufficient space on the form for the right quiet zone. Start/Center/Stop Codes The start/center/stop codes are special character codes marking those portions of the bar code.
EAN 8 Command Format BARCODE EAN8 [+n]; [VSCAN;] [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.
Height adjustments are made in 0.1–inch increments; enter H and a value from 4 to 99 to select height adjustments from 0.4 to 9.9 inches. The default value is 1.3 inches. . .m is an additional number of dots for the bar code height. (Dots are in the current dot scale.) BFn Optional parameter for assigning a dynamic bar code data field location on a form.
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 4–88), or use the CP.DP format (page 4–7). 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 4–88), or use the CP.DP format (page 4–7).
5–62 FONT Optional parameter to select the font for the human readable data field. The default value, N, selects the normal ASCII 10 cpi font. Enter O to select the OCR–A 10 cpi font; enter X to select the OCR–B type font. Enter S to suppress printing the data field and the trailing lower portions of the EAN 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.
EAN 8 Example Figure 5–11 illustrates a horizontal and vertical EAN 8 bar code generated by the following program: ~CREATE;EAN8 (Enter Create Form Mode) BARCODE (Bar Code command) EAN8+2;H9;DARK;33;15 (Dark Code EAN 8, 2–digit add–on, H 0.9, SR 33, SC 15) *123456722* (Data Field plus 2–digit add–on Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) EAN8+2;VSCAN;H10;DARK;33;55 (Vertical Dark EAN 8, 2–digit add–on, H 1.
EAN 13 The EAN 13 bar code structure is shown in Figure 5–12 and described on the following pages.
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 11module-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.
EAN 13 Command Format BARCODE EAN13 [+n]; [VSCAN;] [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. 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.
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 4 to 99 to select height adjustments from 0.4 to 9.9 inches. The default value is 1.3 inches. .m is an additional number of dots for the bar code height. (Dots are in the current dot scale.
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 4–88), or use the CP.DP format (page 4–7). 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 4–88), or use the CP.DP format (page 4–7).
PDF Optional parameter which affects printing of the human readable data field. The data field will print automatically in the OCR–B font (default) 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. This parameter is not allowed if a null data field is specified. LOC Optional parameter to identify the location of the printable data field.
EAN 13 Example Figure 5–13 illustrates a horizontal and vertical EAN 13 bar code generated by the following program: ~CREATE;EAN13 (Enter Create Form Mode) BARCODE (Bar Code Command) EAN13+5;DARK;28;15 (Dark Code EAN 13, 5–digit add on, at SR 28, SC 15) *12345678987655555* (Data Field plus 5–digit add–on Data Field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) EAN13+5;VSCAN;H12;DARK;27;39 (Vertical Dark EAN 13, 2–digit add on, H 1.
FIM The FIM (Facing Identification Mark) bar code structure is shown in Figure 5–14 and Figure 5–15 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/8–inch ± 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).
1–3/4” Clear Zone 1–1/4” 1/8” Return Address Area NOTE: Illustration is not to scale (Optional Line) (Top Line) (Optional Line) (Line Above Last) (Last Line) 5/8” NON–ADDRESS DATA NAME OF RECIPIENT INFORMATION/ATTENTION LINE DELIVERY ADDRESS POST OFFICE STATE ZIP SR, SC POSITION 3” Figure 5–15. FIM Structure (VSCAN) 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.
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. Be sure to 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 Command Format BARCODE FIM; [VSCAN;] [Hn[.m];] [BFn;] [DARK;] SR; SC [(D)data field(D)] STOP BARCODE The Bar Code command; enter BARCODE. FIM Designates bar code type FIM; enter FIM. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN. If VSCAN is not entered, the bar code is oriented horizontally. Hn[.m] Optional parameter to adjust the overall height (vertical expansion) of the bar code symbol (including the upper and lower 0.
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 4–55 in the “Commands” chapter.) 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. DARK Optional parameter to produce darker looking bar codes. Enter DARK. Refer to “Dark Printing” on page 4–10 for more information. SR Defines the starting row for the bar code.
FIM Example Figure 5–16 below illustrates a horizontal FIMB bar code from the following program without the POSTNET preprinted bar code (POSTNET is discussed on page 5–98.) ~CREATE;FIMB (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.
Figure 5–17 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.
Interleaved 2/5 (I–2/5), German I–2/5 The I–2/5 bar code structure is shown in Figure 5–18 and described on the following pages.
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. Be sure to 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. They are automatically produced.
I–2/5 Command Format BARCODE I–2/5 [CD]; [VSCAN;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP I–2/5 German Command Format BARCODE I25GERMAN; [VSCAN;] [MAG;] [Hn[.m];] [BFn;L;] [DARK;] SR; SC [(D) data field (D)] [PDF [;LOC] [;FONT]] STOP 5–80 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.
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 4 to 99 to select height adjustments from 0.4 to 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.
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 4–88), or use the CP.DP format (page 4–7). 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 4–88), or use the CP.DP format (page 4–7).
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. 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. The default value, N, selects the normal ASCII 10 cpi font.
SC 52 SR 44 SC 27 SR 49 I25.EX Figure 5–19.
MSI The MSI bar code structure is shown in Figure 5–20 and described on the following pages.
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 Code Unique start and stop codes permit bidirectional scanning. Both start and stop codes contain bars and spaces. They are automatically produced.
MSI Command Format BARCODE MSI n; [VSCAN;] [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.
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.) 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.
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 4–88), or use the CP.DP format (page 4–7). 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.
5–90 FONT Optional parameter to select the font for the human readable data field. The default value, N, selects the normal ASCII 10 cpi font. Enter O to select the OCR–A 10 cpi font; enter X to select the OCR–B type font. 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.
MSI Example Figure 5–21 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 (Vertical Dark MSIB, Mag 2, H 1.
PDF417 The PDF417 structure is shown in Figure 5–22 and described on the following pages. SR, SC POSITION QUIET ZONE STOP CODE DATA FIELD START CODE UPPER GUARD BAND LOWER GUARD BAND QUIET ZONE SR, SC POSITION UPPER GUARD BAND QUIET ZONE START CODE DATA FIELD STOP CODE QUIET ZONE LOWER GUARD BAND Figure 5–22.
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.
PDF417 Command Format BARCODE PDF417; [X[D]n;] [Y[D]n;] [(Hn)| (Wn);] [ASPECTh:w;] [(Rn)| (Cn);] [Sn;][BFn;L;] [DARK;] SR; SC(T) [(D)data field(D)(T)] STOP (T) 5–94 BARCODE The Bar Code command; enter BARCODE. PDF417 Designates bar code type PDF417; enter PDF417. X[D]n Optional parameter to designate the width of the narrow element in either the default 60 x 72 dots per inch or, if the D is given, in target dots.
ASPECT;h:w Optional parameter for specifying the symbol height–to–width ratio where h is the height and w is the width, both expressed as integers. The default is 1:2. Parameters Hn, Wn, Rn, or Cn cannot be entered if this parameter is used. Rn Optional parameter that specifies the number of rows the symbol will have. Enter R; followed by the number of rows in the range of 3 to 90 in multiples of 3. Parameters Hn, Wn, Cn or ASPECT can not be entered if this parameter is used.
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 4–55 in the “Commands” chapter.) 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 4–10 for more information.
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.
POSTNET The POSTNET bar code structure is illustrated in Figure 5–24 and Figure 5–25 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 mailpiece.
Postage Area 1/2” CLEAR ZONE STOP CODE ADDRESS BLOCK BAR CODE READ AREA CHECK DIGIT SR, SC POSITION BAR CODE DATA FIELD START CODE Return Address Area 4” CLEAR ZONE 1/2” NOTE: Illustration is not to scale Figure 5–25.
Clear Zone The bar code structure requires a completely blank clear zone which extends 4.75 inches from the right edge of the mailpiece. In addition, a minimum clear zone of 0.040–inch above and below the bar code data must also be provided. Be sure to 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.
POSTNET Command Format BARCODE POSTNET; [VSCAN;] [BFn;L;] [DARK;] SR; SC [(D)data field(D)] STOP BARCODE The Bar Code command; enter BARCODE. POSTNET Designates bar code type POSTNET; enter POSTNET. VSCAN Optional parameter to orient the bar code structure vertically. To select a vertical bar code, enter VSCAN. If VSCAN is not entered, the bar code is oriented horizontally.
e. 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.) f. 5–102 The information for the data field is entered dynamically during the Execute Form Mode. (Refer to “Execute Form: Dynamic Bar Code Data” on page 4–55 in the “Commands” chapter.) 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.
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 will result.
UPC–A The UPC–A bar code structure is shown in Figure 5–27 and described on the following pages.
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.
UPC–A Command Format BARCODE UPC–A [+n]; [VSCAN;] [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. The first bar of the add–on code is separated by nine modules from the last bar of the UPC symbol and a left guard pattern.
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 4 to 99 to select height adjustments from 0.4 to 9.9 inches. The default value is 1.3 inches. .m is an additional number of dots for the bar code height. (Dots are in the current dot scale.
5–108 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 4–88), or use the CP.DP format (page 4–7). 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 4–88), or use the CP.DP format (page 4–7).
Bar Codes 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. 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.
UPC–A Example Figure 5–28 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.
UPC–E and UPC–E0 The UPC–E and UPC–E0 bar code structure is shown in Figure 5–29 and described on the following pages.
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. These codes are automatically provided.
UPC–E and UPC–E0 Command Format BARCODE UPC-E or UPC-EO [+n]; [VSCAN;] [MAG;] [Hn[.m];] [BFn;] [DARK;] SR; SC [(D)data field(D)] [PDF [;LOC] [;FONT]] STOP 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.
BFn Optional parameter for assigning a dynamic bar code data field location on a form. With this parameter, 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 to 255 to identify the bar code field. The SR and SC parameters specify the exact location of the bar code field identified by n. c.
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. The same character must be used at both ends of the data field but it will not print with the data. data field The characters available for the data field are 0 through 9 (30 through 39 hex, respectively).
5–116 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. 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.
Table 5–16. Eleven Digit Compression 1. Manufacturer’s Number Product Numbers that can be used 00000–00999 ( ___ ) X X 0 0 0 X X 1 0 0 X X 2 0 0 2.
Table 5–17.
UPC–E and UPC–E0 Example Figure 5–30 illustrates a horizontal and vertical UPC–E bar code generated by the following program: ~CREATE;UPCE (Enter Create Form Mode) BARCODE (Bar Code command) UPC–E+2;H9;DARK;34;15 (Dark Code UPC–E, 2–digit add–on, H 0.9, at SR 34, SC 15) *0927400000522* (Data Field plus the 2–digit add–on data field) PDF (Printable Data Field) STOP (Ends Bar Code command) BARCODE (New Bar Code command) UPC–E0+2;VSCAN;H10;DARK;34;50 (Vertical Dark UPC–E0, 2–digit add–on, H 1.
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. NOTE: Throughout the discussion of incremental fields, the term “increment” or “incremental” means the field is automatically updated by a specified amount (or increment).
Incrementing Bar Code Data The IGP/PGL internally counts incremental static (fixed) bar code data fields. A maximum of 255 incremental fixed bar code data fields are allowed per form. Incrementing is controlled with the STEPMASK and STARTDATA command parameters as described in Table 5–18. The parameters are part of the bar code command or part of the Execute command when using the Incremental Bar Code Dynamic Data command. The STEPMASK parameter performs three functions: 1.
The increment amount is defined by the numeric value of the STEPMASK data. For example, a STEPMASK value of 1 increments the STARTDATA by 1; a STEPMASK value of 2 increments the STARTDATA by 2.
Value STARTDATA: STEPMASK: ABC123 000001 Results: ABC123 ABC124 ..... . ..... . ..... . Description Linked subfields: ABC and 123 RPT = 1 RST = 0 ABC999 ABD000 ..... . ..... . ..... . ZZZ999 AAA000 Value Bar Codes STARTDATA: STEPMASK: 1ABC123 0LLL001 Results: 1ABC123 1ABC124 . ... . ... . ...
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.
To use the repeat count parameter, enter RPT and replace n with a numeric value ranging from 1 to 65,535 to specify the repeat count. The default repeat count parameter is 1, which will increment the field value each time it is printed. 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.
~CREATE;TEST;288 VDUP;3;6 BARCODE C3/9;H7;I;6;5 –00001;*12345* PDF STOP VDUP;OFF END ~EXECUTE;TEST (Enters Create Form mode) (Bar code command) (Printable data field) (Ends bar code command) (Terminates Create Form mode) (Prints form) ~NORMAL 5–126 Bar Codes
Incremental Bar Code Dynamic Data Fields The Incremental Bar Code Dynamic Data Field command 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. As with standard dynamic data fields, incremental dynamic data fields allow you to change the starting data without changing the form definition program.
c. Replace L with a number equal to the number of characters in the dynamic bar code string (STARTDATA) ranging from 1 to 1024. The number of characters and type of characters depends on the type of bar code used. Refer to the individual bar code descriptions for information on type and quantity of data allowed for the specific bar code type. d. Dynamically enter the STEPMASK and STARTDATA parameters in the Execute Form Mode.
~CREATE;TEST;288 VDUP;3;6 BARCODE C3/9;H7;IBF1;6;6;5 PDF STOP VDUP;OFF END ~EXECUTE;TEST ~IBF1;+000001;*123459* (Enters Create Form mode) (Bar code command) (Ends bar code command) (Terminates Create Form mode) (Prints form) ~NORMAL Bar Codes 5–129
5–130 Bar Codes
6 Form Examples and Exercises Chapter Contents Form Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2 Example: Using the Setup Command . . . . . . . . . . . . . . . . . . 6–5 Example: Dynamic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–5 Example: Auto Increment Fields . . . . . . . . . . . . . . . . . . . . . 6–14 Form Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–19 Logo Exercise . . . . . . . . . . . . . .
Form Examples NOTE: The examples in this manual were produced on an L1016 printer. Using a different type of printer or a different configuration could affect the appearance of your printed samples compared to those shown in this manual. Additionally, depending on the paper, top–of–form setting and initial print position, the positioning of your printed samples on the page may vary compared to the examples shown here; these samples have been positioned on the page to correspond with the related text.
basicfrm.
Figure 6–1.
Example: Using the Setup Command The following example demonstrates how the margins,landscape orientation, 8LPI and font double wide are automatically SETUP at power–up. ~SETUP CONFIG TOP/BOTTOM MARGIN ; 1 LEFT MARGIN ; 10 END ~PAPER ; ROTATE 270 ~LPI ; 8 ~EXPAND ; 1 ; 2 ~SETUPEND Example: Dynamic Data The process of executing dynamic alphanumeric and bar code data fields is explained in the following exercises.
~CREATE;SAMPLE;390 (Create Form; form length is 390 dots) HDUP;2;37 (2 horizontal dupes, 37 columns apart) BOX (Box command) 2;3.5;9;30;35 STOP (Stop the Box command) HORZ (Horizontal Line command) 1;14.5;9;35 1;19.5;9;35 1;24.5;9;35 STOP (Stop the Horizontal Line command) CORNER (Begin Corner command) 2;4;11;9;33;1.2;2 2;9.6;11;13.6;33;1.2;2 STOP (Stop the Corner command) ALPHA (Begin Alphanumeric command) 4.8;12;0;0;*FROM:* (This is “fixed” text on the form) 6.
dyn1.ex Figure 6–2.
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. The bar code commands are part of the Create Form mode; therefore, they must be entered in the Create Form mode before the END command.
BARCODE (First bar code command) (Upper left S.O. field, assigned number 1) C3/9;H7;BF1;8;DARK;15.1;10.4 PDF;O (Print the data field in OCR–A font) STOP (Stop the first bar code command) BARCODE (New bar code command) (Upper left S/N field, assigned number 2) C3/9;H7;BF2;8;DARK;20;10.4 PDF;O STOP BARCODE (Upper left P/N field, assigned number 3) C3/9;H7;BF3;8;DARK;25.5;10.4 PDF;O STOP BARCODE (Upper right S.O. field, assigned number 4) C3/9;H7;BF4;8;DARK;15.1;47.
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.
Dynamic Alphanumeric and Bar Code Data Enter the following 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 6–3. ~EXECUTE;SAMPLE ~AF1;*B AND C CO.* (Upper left label addressee) ~AF2;*P.O. BOX 212* ~AF3;*LOS ANGELES, CA 90051* ~AF4;*M. H.
Multiple page documents must be separated by a form feed. (The “page” of data includes the Execute command, the dynamic data commands, and the Normal command.) Using the SFON command (described on page 4–90), a ~FF (form feed) command will allow as many forms as required to print with the appropriate new data supplied dynamically. When the SFOFF command is used, send a hex 0C instead of ~FF to print multiple pages with new dynamic data.
dyn2.ex Figure 6–3.
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 pages 6–17 and 6–18.
Form Examples and Exercises 6–15
autoincr.ex 6–16 autoincr.
Figure 6–4.
Figure 6–5.
Form Exercise In the following example, you will create and execute a form. Using character scaling (discussed in detail on page 4–88) 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 1. 2. 3. 4. 6–20 On your host computer, open/create a file for your practice form. For example: Enter Format PRACTC.FRM (system format) Enter the Create Form mode, and specify a form name. This is the first input for every new form. Use the Create command and PRACTICE as the form name. Enter Format ~CREATE;PRACTICE (cc)CREATE[/];formname[;FL][;DISK] The IGP/PGL is now ready for Create Form mode commands.
5. Now use the Execute command and form name to prepare for printing. Enter a blank line using a terminator and then the Normal command to instruct the IGP/PGL to return to the Normal mode after executing the form. Enter Format ~EXECUTE;PRACTICE (cc)EXECUTE;formname[;PAGE n][;FC][;DISK] (cc)NORMAL ~NORMAL 6. To print the form, exit the file (if necessary for your system) and use the system print command to print the file.
SR 30 SC 13 SC 16 SR 35 ER 53 EC 61 ER 57 boxcorn.ex EC 64 Figure 6–6.
Adding Horizontal and Vertical Lines 7. 8. 9. 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 Format PRACTC.FRM (System Format) All Create Form mode commands must be entered into the program before the End command line. Add three horizontal lines, each with a thickness (LT) of 1 at rows (R) 40, 45, and 49 and each ranging from column (SC) 16 to column (EC) 61.
COLUMN 49 ROW 40 ROW 45 ROW 49 boxline.ex Figure 6–7.
Adding Fixed Alphanumeric Text 10. Use the Create Form mode Alpha command to add some fixed alphanumeric text to the form. Specify some compressed print (Cn), the starting row (SR) and starting column (SC) for each alphanumeric string, any vertically (VE) or horizontally (HE) expanded strings, and the alphanumeric string itself which must be within the printable character (quotation marks or asterisks, for example). Substitute your own name, address, etc. in the appropriate areas.
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;*PRINTRONIX, 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.
Notice that the END, EXECUTE;PRACTICE and NORMAL statements are still in the file. These are always necessary to end the storage of the form in the IGP/PGL and cause it to print. Remember, a blank line must always separate the EXECUTE and NORMAL commands. Print the file PRACTC.FRM. The PRACTICE form should look like Figure 6–8, except for any alphanumeric data substitutions you made. Again, if error messages occur, refer to “Solving Program Errors” on page 6–49 .
Adding a Bar Code 11. Change the form definition by adding bar code type Code 39 (C39), 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. In the Bar Code command, specify type C39 and 0.8 inch height (Hn). Use a dynamic bar code data field (BF) identified by the number (n) 1 with a length (L) of 5. The actual data will be provided dynamically in the Execute Form mode.
ALPHA (previously input) [R;][E;][Cn;][AFn;L;][DIR;][UC;]SR;SC;VE;HE;(D)Text(D) STOP (previously input) 13. Supply the dynamic data during the Execute Form mode (following the EXECUTE;PRACTICE line). Use the SFCC, specify the dynamic alphanumeric field (AF), bar code field (BF), the field number (corresponding to those just entered in the form definition), and the data itself. (This method can be repeated to supply new data to each form printed by separating the pages of data with a form feed.
ALPHA 31;22;0;0;*PRINTRONIX, 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.3;50;0;0;*VERSION* C13;31;16;0;0;*FROM:* C15;54;26;0;0;*Call PRINTRONIX for more information.* C15;55;34;0;0;*(714)863–1900* AF1;7;38.7;19.3;4;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.
COLUMN 19.3 COLUMN 39 ROW 35.7 ROW 38.7 ROW 43 ROW 47.3 ROW 51.3 practc2.ex Figure 6–9.
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 4–88) 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.
DOT POSITIONS Row Column 1 40–42 2 35–42 3 36–42 4 35–42 5 33–41 6 31–40 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–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 DOT POSITIONS Row Column 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–35 49 22–34 50 25–35 51 2
Creating a Logo 1. 2. 6–34 Use your system commands to open a file for the logo program with the filename HNDLGO.FOM. For example: Enter Format HNDLGO.FOM (System Format) Input the Special Function Control Character 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 Format ~LOGO;HAND;56;60 (cc)LOGO;logoname;VL;HL[;DISK] 3.
5. 6. Input the Special Function Control Character and Execute command for the LEFTHAND form just created. Input a blank line, the Special Function Control Character, and the Normal command to instruct the IGP/PGL to return to the Normal mode after execution. Enter Format ~EXECUTE;LEFTHAND (cc)EXECUTE;formname[;PAGE n][;FC] ~NORMAL (cc)NORMAL Use system commands to exit the HNDLGO.FOM file and print. The finished program and logo should look like the following sample.
~LOGO;HAND;56;60 1;40–42 2;38–42 3;36–42 4;35–42 5;33–41 6;31–40 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–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
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. (Again, the thermal printer does not use the 8–1/2– x 11–in format, so modifications are necessary.) (Refer to page 4–88 in the “Commands” chapter, where character scaling is discussed in detail.
Planning the Form Layout In this example, assume you work for the HandCraft Boat Company. Your slogan is “Quality boats crafted by hand,” and the owner, Mr. Handcraft, has asked you to design a simple form that his salespeople can use for special orders. On the form, he wants a logo, the slogan, the customer’s name, spaces for other particulars of the order, and a bar code to distinguish the sales region and boat division from other HandCraft enterprises. Begin this 12–step task as described below.
Enter Format HNDCFT.
Figure 6–11.
Figure 6–12.
Creating a Form and Adding Form Components 4. 5. 6. 6–42 Now create the form and start adding the form components from the layout grid. (Refer to Figure 6–11). Use the Special Function Control Character 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.
7. To add the horizontal lines, define one line and then duplicate that line using the Vertical Duplication command. The line will have a single line thickness (LT), be in row (R) 30.4, starting in column (SC) 14 and ending in column (EC) 66. With vertical duplication, the line will be duplicated (DN) 6 times with 2.5 row offset (OF) spacing between each duplication.
9. ALPHA [R;][E;][Cn;][AFn;L;][DIR;][UC;][DARK;]SR;SC;VE;HE;(D)text(D) STOP HandCraft Boats uses bar code type Code 128B (C128B) in many applications. Use bar code C128B, height (Hn) of .5–inch, starting at row (SR) 49, column (SC) 59, code the West Coast Sales Region as *WC*, and print the data field (PDF) below the symbol. NOTE: Due to space constraints, the C128B command below is separated into two lines. During actual input, do not separate the command parameters.
11. Execute the form (HCBOATS), return to the Normal mode (remember the blank line before the NORMAL command), exit the file using your system commands (if necessary), and print the document. Enter Format ~EXECUTE;HCBOATS (cc)EXECUTE;formname[;PAGE n][;FC][;DISK] ~NORMAL (cc)NORMAL PRINT HNDCFT.FOM (System Format) NOTE: Always separate the EXECUTE and NORMAL commands by a line. Figure 6–13 shows the finished form. If Mr. Handcraft would like to rearrange the words, change line thickness of a box, etc.
hcform.ex Figure 6–13.
Directory Example The Directory command lists the contents of the IGP/PGL directory in the printer system. The directory command provides the following information: All form names currently defined All 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 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.
Delete Example The Delete command deletes any individual form or logo from the IGP/PGL memory module. 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.
Solving Program Errors If you make an error in the program to create a form or an element in the form, a coded error message and program line containing the error will print when the form is executed. These error codes are defined in the “Error Codes” chapter. To solve program errors, perform the following steps: 1. Locate the error message in the listing provided in the “Error Codes” chapter for a description of the error. 2. Analyze the related portion of the program to find the error. 3.
From the description of the error messages and the incorrect line identified by the error message, the errors are easily located and corrected. Notice a colon was accidentally input in the Box command where a semicolon was required (error number 24). /PRACTICE BOX 2;35;16:53;61 *** ERROR 24 : BOX format or delimiter error in input parameters STOP In the Corner command, the starting row was too large.
7 Multinational Character Sets Chapter Contents About the Multinational Character Set . . . . . . . . . . . . . . . . . . . . 7–2 Character Sets Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2 Character Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3 Making Character Substitutions . . . . . . . . . . . . . . . . . . . . . . 7–3 OCR Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About the Multinational Character Set The Multinational Character Set accesses one of 32 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. Character Sets Available The Multinational Character Set provides the IGP/PGL with space for 32 character sets, 96 characters each.
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 to 7F. The extended character set, which contains the multinational characters, resides at hex addresses ranging from 80 to FF. Table 7–2 shows each multinational character substitution hex value and the applicable ASCII hex values.
If the table has n entries, they will be used to overwrite the first n entries of the corresponding symbol set (or overlay set). Also, the hex representation of the characters are not permitted (you must use the decimal character values.) The error checking is not extensive, but if an error is found, e.g., missing ‘/’ at the end of comments or bad file name, etc., the mapping does not occur. The set should be enclosed in brackets. For example, a “normal” table of the 3XX.
Table 7–2. Substitution Set Hex Values Character Set U.S.
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 (“Commands” chapter, page 4–12) for more information. In the Normal and Execute modes, you can access OCR fonts using the Compressed Print (Density) command (“Commands” chapter, page 4–33). NOTE: OCR fonts are only available in 10 cpi.
Accessing Characters and Character Sets Data Bit 8 You can access individual characters using data bit 8 addressing. The primary character set is ASCII. These character values reside at hex addresses 20 through 7F. The Multinational or extended character sets reside at hex addresses 80 through FF and are accessible without reconfiguration. NOTE: Data bit 8 must be set high so that Multinational or extended character sets are accessible without reconfiguration.
User–Defined Set Command (USET) Purpose Creates custom character sets (except OCR fonts) from existing characters stored on the IGP/PGL memory module. Mode NORMAL Format (cc)USET n ca;fa END (cc) Represents the Special Function Control Character. USET The User Set command; enter USET. n Selects USET character set number; enter a value ranging from 1 to 8.
The USET and ISET commands are related as shown in Table 7–3. Therefore, ISET;24 selects the substitution set defined as USET1, ISET;29 selects USET6, etc. Table 7–3. USET–ISET Relationship USETn n=1 n=2 n=3 n=4 n=5 n=6 n=7 n=8 Example ISET;n corresponds to n = 24 n = 25 n = 26 n = 27 n = 28 n = 29 n = 30 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.
Character Set Selection Command (ISET) Purpose Accesses one of the 32 multinational character sets from Table 7–3. 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: In the Create mode (SFCC not required): (cc)ISET; n ISET; n (cc) Represents the Special Function Control Character. ISET The Multinational Character Set command; enter ISET.
Multinational Character Sets Multinational Character Sets 7–11
7–12 Multinational Character Sets
Multinational Character Sets 7–13
7–14 Multinational Character Sets
8 Error Codes Chapter Contents The Purpose of Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–2 Horizontal Line Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–3 Vertical Line Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4 Box Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–5 Corner Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Purpose of 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. To help determine exactly where the error occurred, use the following debug command sequence: (CC)CREATE;/FORM NAME The slash (/) places the IGP/PGL in a debug mode, and the program prints, line by line, with the error number and message printed below the specific error in the program.
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 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.
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 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.
38 CORNER starting column SC > ending column EC The left (starting) column parameter of the corner command is greater than or equal to the right (ending) column parameter. 39 CORNER starting row SR > ending row ER The upper (starting) row parameter of the corner command is greater than or equal to the lower (ending) row parameter.
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.
46 ALPHA X expansion HE and Y expansion VE must be zero When the expanded character parameters VE and HE are used within the ALPHA command, both values must be either zero or non–zero values. If the elongated characters parameter [E] or the compressed characters parameter [Cn] is used in the ALPHA command, the VE and HE values must be set to 0. 47 ALPHA X expansion factor HE out of bounds (> 139) The horizontal expansion factor is greater than 139.
Logo Errors 50 LOGO horizontal width HL > 240 or dot row > 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. A dot position specified in the logo program exceeds the specified horizontal width of the logo. When this occurs, the buffer is flushed until a line terminator is found, and then logo construction continues normally. 51 LOGO vertical length VL > 252 or dot row n > VL a.
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 above or below the margins of the form. The buffer is flushed until a line terminator is found, and then processing continues normally.
Create Errors 8–12 60 Directory full – cannot CREATE the form or LOGO The directory is full, or no more room exists in the IGP/PGL memory for another form. When this occurs, the IGP/PGL automatically reverts to the Normal mode. To create space in the IGP/PGL memory, delete forms that are no longer required. 61 CREATE function unrecognized An unrecognizable command is entered during the Create Form mode. At this point, the buffer is flushed until a Stop command is found, and then processing continues.
66 CREATE page starting column PAGE SC out of bounds When you specify the position of the page parameters in the Create command, the column position specified will place the page number outside the form boundaries. When this error occurs, the IGP/PGL will automatically revert to the Normal mode. 67 CREATE STOP command missing This error occurs when the IGP/PGL receives a new function command, an End command, or a mode command without receiving a Stop command.
Execute Errors 8–14 70 EXECUTE form count parameter FC error This error occurs when the parameter specifying the number of blank forms to print was entered incorrectly. When this error occurs, the IGP/PGL will automatically revert to the Normal mode. Form count can be from 1 to 65,535. 71 EXECUTE/DELETE form not found in the directory An attempt was made to execute or delete a form which does not exist in the forms directory. When this error occurs, the IGP/PGL reverts to the Normal mode.
77 EXECUTE format or delimiter error A format or delimiter error was detected in the Execute command; the IGP/PGL will automatically revert to the Normal mode. This error is usually caused by one or more of the following: a. A missing semicolon; b. A colon in place of a semicolon; c. Too many or too few parameters in the command string; d. Alpha characters instead of decimal digits in the parameters; e. Page command misspelled when specifying the page number.
Miscellaneous Errors 8–16 80 Special function must be called from the NORMAL mode This special function must be called from the Normal mode and not the Create Form or Execute Form mode. This error is generally due to a missing End command in the Create Form mode. For example, an attempt to enter the Create Form mode while executing a form will cause the IGP/PGL automatically to revert to the Normal mode. 81 No such special function The special function call was unrecognizable.
89 EXPAND parameters out of bounds or format error The parameters of the Expand command are improperly specified. Either the parameters are out of bounds, or some type of format error was detected. The command is ignored, and processing continues.
Bar Code Errors 90 Insufficient memory to store the BARCODE No more room exists in the IGP/PGL memory for another bar code. The rest of the bar code commands are flushed until the Stop command is found. Processing will then continue. 91 ALPHA/BARCODE syntax error Some type of syntax (format) error was detected in the parameters of the bar code command. This error is usually caused by one or more of the following: a. Misspelled keywords; b. Lowercase used; c. A missing semicolon; d.
acceptable characters for the bar code symbol being used. The missing ending delimiter also causes this error. 97 BARCODE data field too short or too long The data field in the bar code command has too few or too many data characters. Refer to the applicable section in the “Bar Codes” chapter to determine the acceptable number of data characters for the bar code symbol being used.
8–20 108 Not defined. 109 Dynamic BARCODE field longer than previously defined The BARCODE data provided exceeds the maximum length for the bar code selected. 110 SFCC decimal input error – must be 01 to 255 The hexadecimal value on the ASCII chart for the Special Function Control Character is not valid. Refer to page 2–4 to select a valid SFCC.
Reverse Print Errors 111 REVERSE format error in input parameters Re–enter the command with proper format. 112 REVERSE starting row SR/ending row ER out of bounds Exceeds the value specified to reverse the element. 113 REVERSE starting SC/ending column EC out of bounds Exceeds the value specified to reverse the element. 114 Insufficient memory to store the REVERSE element Insufficient memory space available for reversed print requirements. 115–116 Not defined. 117 Unusable or illegal raster data.
Incremental Fields Errors 130 Not defined. 131 Incremental STEPMASK parameter error A semicolon is missing after the STEPMASK data. 132 Incremental REPEAT/RESET parameter error An illegal RPT or RST parameter value was found in the incremental command. The value must range from 1 to 65,535. 133 Incremental STEPMASK/STARTDATA length error The dynamic stepmask exceeded created field length or start data exceeded stepmask.
Multinational Character Set Errors 150 ISET character selection parameter n error – 00 to 31 An ISET character set selection parameter value between 0 and 31 was expected. Error was caused possibly by an invalid numeric value or an alpha character. 151 USET decimal input error in input parameter The USET command was expecting a decimal parameter and either received none or received an alpha character.
Font Errors 160 FONT command parameter error The FACE # parameter is either missing a space between the parameter and its value, or a semicolon is missing between font parameters. 161 Illegal FONT typeface value – must be (9)0000–(9)9999 An illegal FONT typeface value was used. FONT typeface values range from 90000 to 99999, or 0 to 9999. 162 Illegal FONT bolding factor – must be ON(1) or OFF(0) An illegal FONT bolding value was used. ON (or 1) or OFF (or 0) must be entered.
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 0 B5 BITS 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 5
A–2 ASCII Character Set
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. grid.
B–2 Grid Programs and Samples
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. logogrid.
B–4 Grid Programs and Samples
C Page Boundaries Paper Selection and Maximum Values Most Create Form mode commands require you to identify specific form boundaries using the SR, SC, ER, EC parameters. This appendix addresses the page boundaries affecting IGP/PGL products for both cut–sheet page printers and continuous form printers. All printers have maximum print boundaries according to the printer type and paper size selected. Refer to your printer Setup Guide for the specific page boundaries associated with your printer.
Execute Form Mode In the Execute Form mode, use the following guidelines to determine if a form will print on the current page size. Not User–Defined If the form’s length/width is not user–defined, and the minimum length/width is greater than the current page length/ width, minus the margins, then the result will be error 74 or 75. User–defined If the form’s length/width is user–defined greater than the current page length/ width, minus the margins, then the result will be error 74 or 75.
Table C–1. Paper Sizes and Maximum Print Area Paper Size Letter Letter Legal A4 B5 Computer Dimensions (Inches) 8.0 x 11 8.5 x 11 8.5 x 14 8.268 x 11.693 6.929 x 9.842 13.2 x 11 Maximum Dot Value* Page Width Page Length 481 511 511 497 416 793 793 793 1009 842 709 793 *How to calculate Maximum Dot Values: 1. Page Length X 72 dpi minus Top and Bottom Margin Values + 1 = maximum height value; Page Width x 60 dpi minus Left Margin Value + 1 = maximum width value. 2.
Setting Top/Bottom Margins Using dot values to identify maximum vertical print positions, the page boundary parameters of an 11–inch form has 792 dot rows at n/72–inch vertically (72 dpi X 11 inches). (See Figure C–1.) With no Top/Bottom Margin configuration setting on an 11–inch form, the first print position is Starting Row 1, Starting Column 1 (A, Figure C–1).
Setting Left Margins Using dot values to identify maximum horizontal print positions, the page boundary parameters of an 8–1/2–inch wide form (85 character columns) has 510 dot columns and n/60–inch horizontally (60 dpi X 8.5 inches). (See Figure C–1.) Setting a Left Margin value repositions the Starting Column 1 position by the degree of offset required. This offset can be a 0, a positive, or negative value.
Maximum Character Column Maximum Horizontal Dot 511 B A Maximum Horizontal Print Area (510 dots) Figure C–2. Left Margin Example – No Setting A Dot Column 20 Becomes Column 1 B Maximum Horizontal Dot Column (511) becomes 491 due to +20 offset Maximum Horizontal Print Area (490 dots) Figure C–3.
A Dot Column –20 Becomes Column 1 B Maximum Horizontal Dot Column 531 Nonprintable area due to –20 left margin offset Maximum Horizontal Printable Area (510 dots) Figure C–4.
C–8 Page Boundaries
D Typefaces Standard and Optional Typefaces This appendix illustrates both standard and optional typefaces available with IGP/PGL. The standard fonts are Letter Gothic (#93779), OCR–A (#90993), and OCR–B (#91409). Beside each typeface is the 5–digit value required in the FACE # parameter of the FONT command (page 4–61). All other fonts are optional and can be purchased as part of one of the Printronix Additional Font Diskettes. Some fonts are sold as packages; their part numbers are in parentheses.
Albertus 92639 92640 92641 92642 Antique Olive 91119 91846 91118 91120 ITC Avant Garde Gothic 91059 91671 91060 91674 Monotype Baskerville 93884 93885 93886 93887 D–2 Typefaces
ITC Benguiat 91331 91332 91335 91336 CG Bodoni 92581 92582 92585 92586 ITC Bookman 91454 91455 91467 91468 Decorative 1 91889 90249 93098 93099 Typefaces D–3
Decorative 2 90326 90133 90349 90508 Decorative 3 90369 92127 92129 91900 Decorative 4 90775 91774 90774 90598 Decorative 5 91311 94073 90241 91610 D–4 Typefaces
Caslon 91988 91989 91990 91991 ITC Century 91654 91655 92195 92196 CG Century Schoolbook 92546 92547 92548 93812 ITC Cheltenham Book 91430 91431 91434 91435 Typefaces D–5
Clarendon 90271 90269 90572 90270 ITC Clearface 91571 91572 91577 91578 Courier 93950 93951 93952 93953 Futura 91810 91811 91816 91817 D–6 Typefaces
ITC Galliard 92569 92570 92571 92572 Garamond Antiqua 91545 91546 91547 91548 Garth Graphic 91413 91414 91415 91416 Gill Sans 93872 93873 93874 93875 Typefaces D–7
CG Goudy Old Style 92542 92543 92544 92545 Hiroshige 93983 93984 93987 93988 ITC Korinna 91097 91313 91098 91314 Letter Gothic 93777 93778 93779 93780 D–8 Typefaces
ITC Lubalin Graph 92675 92623 92677 92625 CG Melliza 92536 92537 92538 92539 Microstyle 90267 90268 90516 90460 OCR 90993 91409 Typefaces D–9
CG Omega 92506 92507 92510 92511 CG Palacio 92532 92533 92534 92535 Shannon 92133 92422 92424 92134 ITC Souvenir 90316 90332 90338 90339 D–10 Typefaces
Stymie 90385 90386 90067 90068 ITC Tiepolo 93799 93800 93801 93802 ITC Tiffany 90437 92628 90441 92630 CG Times 92500 92501 92504 92505 Typefaces D–11
CG Trade 92519 92520 92522 92523 CG Triumvirate 92244 92245 92248 92249 CG Triumvirate Condensed 92246 92247 92250 92251 CG Trump Mediaeval 92557 92558 92559 92560 D–12 Typefaces
Univers 94021 94022 94023 94024 Univers Condensed 94029 94039 94030 94040 ITC Zapf Chancery 94018 93949 94019 94020 ITC Zapf Dingbats 93848 93848 93848 93848 Typefaces D–13
Chart Printing Package (141783–008) Seven Fonts D–14 Typefaces
Chart Printing Package (141783–008) Typefaces D–15
Desktop Printing Package (141783–010) Eight Fonts D–16 Typefaces
Desktop Printing Package (141783–010) Typefaces D–17
Label Printing Package #1 (141783–006) Eight Fonts D–18 Typefaces
Label Printing Package #1 (141783–006) Typefaces D–19
Label Printing Package #2 (141783–007) Eight Fonts D–20 Typefaces
Label Printing Package #2 (141783–007) Typefaces D–21
Office Printing Package (141783–009) Eight Fonts D–22 Typefaces
Office Printing Package (141783–009) Typefaces D–23
CG Century Schoolbook Family (141783–005) Four Fonts D–24 Typefaces
CG Times Family (141783–004) Four Fonts Typefaces D–25
CG Triumverate Family (141783–003) Four Fonts D–26 Typefaces
Garamond Family (141783–011) Four Fonts Typefaces D–27
Gill Sans Family (141783–002) Five Fonts D–28 Typefaces
Gill Sans Family (141783–002) Typefaces D–29
Univers Family (141783–001) Four Fonts D–30 Typefaces
Index A Alphanumeric data, 4–9 duplicating incremental fields, 4–26 dynamic data, 6–28 errors, 8–8 execute dynamic data, 4–54 execute overlay data, 4–59 increment fixed data, 4–22 incremental commands, 4–18 incremental dynamic data, 4–25, 4–57 printable character delimiter, 4–4 Alphanumeric Command, 4–12, 6–25 Alphanumeric Data, 4–9 dynamic data, 4–9 fixed data, 4–9 incremental data, 4–10 overlay data, 4–9 Alphanumeric data, 1–17 features, 1–3 ASCII Character Set, A–1 ASCII Table, 1–16 Auto Eject, 1–13 Auto
Boundaries, page, C–1 Boundary Checking, 1–9 Box Command, 4–30 Command Parameters, 4–5 Box Errors, 8–5 C Cassette Command. See Paper Command Character Position Dot Position (CP.
EAN 13, 5–62 EAN 8, 5–55 End, 4–48 Execute Dynamic Alphanumeric Data, 4–54 Execute Dynamic Bar Code Data, 4–55 Execute Form Mode, 1–12, 6–21, 6–29 Execute Incremental Dynamic Data, 4–56 Expanded Print, 4–60 FIM, 5–70 Font, 4–61 Form Length, 4–64 Format, 4–3 Horizontal Duplication, 4–44 Horizontal Line, 6–23 Horizontal Lines, 4–67 I–2/5, 5–76 Ignore Sequence (IGON/IGOFF), 4–65 Incremental Alphanumerics, 4–18 Incremental Alphanumerics Dynamic Data, 4–25 Incremental Alphanumerics Fixed Data, 4–22 Incremental B
Corner Command, 4–36, 6–20 Density, 4–12, 4–88 Corner Errors, 8–6 Density Command, 4–33 CP.
horizontal line, 8–3 incremental fields, 8–22 logo, 8–10 miscellaneous, 8–16 multinational character set, 8–23 reverse print, 8–21 vertical lines, 8–4 Execute Incremental Dynamic Data, 4–56 Execute Overlay Data, 4–59 Expanded Print, 4–60 F Features, 1–3 Errors, solving program, 6–49 File, compression, 4–7 Example Forms, 6–2 File formats, supported, 1–4 Examples auto increment fields, 6–14 Create Logo, 6–32 delete, 6–48 directory, 6–47 dynamic data, 6–5 logo grid, B–3 standard grid, B–1 using the Setu
L Horizontal Line Errors, 8–3 Horizontal Lines Command, 4–67 Layout, page, 6–37 HORZ Command, 4–67 Left Margin Sign, 2–2 Host Form Length, 1–14 LF Code, define, 1–13 Limitations, page, 1–9, 4–64 I Line Printer Emulation Commands, 4–71 I–2/5, 5–74 command format, 5–76 example, 5–79 structure, 5–74 Line Spacing, 4–66, 4–88 ICNT Parameter, 4–52, 4–56 Logo, 6–32 Create command, 6–34 creating, 6–32 define, 6–34, 6–38 delete, 6–48 idir parameter, 4–22, 4–57 Ignore Sequence Command (IGON/IGOFF), 4–65
Execute Form, 6–21, 6–29 Modes Create Logo, 4–74 Execute Form, 4–49 Normal, 4–77 Modes of Operation Configuration Mode, 1–13 Create Form, 1–9 Create Logo, 1–11 Execute Form, 1–11 Normal, 1–7 Modes of operation, 1–7 MSI, 5–81 command format, 5–83 example, 5–87 structure, 5–81 Multinational Character Set charts, 7–11 features, 7–2 OCR character sets, 7–6 user–defined sets, 7–8 Multinational Character Set Errors, 8–23 Multinational Character Sets data bit 8, 7–7 ISET command, 7–10 power–up selection, 7–7 Over
Printable Character, 4–4 Space, used in command format, 4–5 Printable Character Delimiter, 4–4 Special Function Control Character (SFCC), 4–3 Prompt, 4–6 STARTDATA Parameter, 4–23, 4–58, 5–121 Q Quiet Command, 4–84 R STEPMASK Parameter, 4–22, 4–57, 5–120 Storing Data, 4–6 Symbol Set.
USET Command, 7–8 V Variable Ratio Size (D), user–defined bar code, 5–4 VDUP Command, 4–46 VERT Command, 4–69 Vertical Duplication Command, 4–46, 6–43 Vertical Line Errors, 8–4 Vertical Lines Command, 4–69, 6–23 Index–9
Index–10
PRINTRONIX !#&! # ! ' !% ' PRINTRONIX ! % ' $& & & # # ! " ' PRINTRONIX ' $"#! "# # " ! ' 136458–001B