6600 Series Printers Applications Manual Volume 4 Graphics Languages - Code V, PGL, MT660 IG
6600 Series Printers Applications Manual Volume 4 Graphics Languages - Code V, PGL, MT660 IG
Trademark Acknowledgements Acrobat® Reader is a trademark of Adobe Systems Incorporated. DEC is a trademark of Compaq Computer Corp. Epson is a trademark of Seiko Epson Corp. Genicom is a trademark of Genicom L.L.C. HP is a trademark of Hewlett-Packard Company. IBM and Proprinter are trademarks of International Business Machines Corporation. Printronix and PGL are trademarks of Printronix, Inc. QMS and Code V are trademarks of Minolta-QMS Inc. TallyGenicom brand is owned by Printronix, Inc.
Table of Contents 1 QMS® Code V™ Graphics Processing Language ............................................................ 15 Graphics Processing Language........................................................... 16 Graphics Mode .................................................................................... 16 Turning Graphics Mode On ........................................................... 16 PY Then ........................................................................................
Table of Contents Block Character Fonts ......................................................................... 37 7.5 CPI .......................................................................................... 37 10 CPI ........................................................................................... 38 12 CPI ........................................................................................... 39 15 CPI .................................................................................
Table of Contents 4 Barcodes............................................................. 61 Selecting Barcodes ....................................................................... 62 Barcode Density ............................................................................ 62 Barcode Height ............................................................................. 62 Barcode Width............................................................................... 62 Barcode Version 1...................
Table of Contents 6 Buffered/Defined Forms ...................................... 99 Buffered Forms .................................................................................... 99 Data Fields .................................................................................... 99 Buffered Form Create ................................................................. 100 Buffered Form Execute ............................................................... 100 Control Code Command Changes .............
Table of Contents Two of Five with 3:1 Ratio (Type 10)........................................... 136 Interleaved Two of Five, 3:1 (Type 11)........................................ 137 UPC Version A (Type 12)............................................................ 138 EAN-13 (Type 13) ....................................................................... 139 EAN-8 (Type 1) ........................................................................... 140 Block Characters .................................
Table of Contents PGL Commands ................................................................................ 155 Command Presentation .............................................................. 157 Alphanumeric String Creation Commands (Create).................... 158 Incremented Static (Fixed) Alphanumeric Strings ....................... 161 STEPMASK (Increment Information Field) ................................. 162 STARTDATA (Incremented Field)...............................................
Table of Contents 10 PGL Barcodes................................................... 205 PGL Barcodes (Used in CREATE Mode Only).................................. 205 Barcode Command Parameters.................................................. 205 Data Field Characters ................................................................. 211 Incrementing Barcode Data ........................................................ 214 PGL Barcode Commands And Output...............................................
Table of Contents EAN 128...................................................................................... 257 US Postnet Barcode.................................................................... 262 Large Character Printing (LCP)................................................... 263 LCP Character Set US-ASCII LCP Character Set German ........................................................ 264 A Customer Support .............................................
Table of Contents Zero Parameter (Menu Level 2) .................................................. 295 Vscale Parameter (Menu Level 2)............................................... 295 PGL Special Function Command Character (SFCC) Parmeter (Menu Level 2) ............................................................................ 295 I PY/PN Data Processing.................................... 297 PN Then Data Processing When PN Then = NONE .........................
Table of Contents
1 QMS® Code V™ Graphics Processing Language This manual describes the features and uses of the Code V Graphics Processing Language. Code V uses a Graphics Processing Language (GPL) that provides the user with total control over the printing and formatting of graphics images. This GPL is compatible with QMS® Code V™ versions 1 and 2 and includes the following features. • Block characters, printed horizontally or vertically with height and width ranging from 0.1 to 9.9 inches.
Chapter 1 Graphics Processing Language Graphics Processing Language The Graphics Processing Language (GPL) consists of a set of commands that are used to print graphics images such as block characters, barcodes, lines, and boxes, as well as provide formatting control for the correct placement of these images. Relatively complex images may be created through the use of a few simple commands. The original version of QMS Code V (version 1) differs slightly from the current version (version 2).
PY Then When Graphics Mode is on: • • • The control panel displays ONLINE GRAPHICS All GPL commands and data are processed by Code V Non-GPL data is passed to the current emulation. PY Then This control panel option defines the action taken on characters that are on the same line as the Graphics Mode On Command (^PY). The options are All, Term, and None. The default is None. These options are defined as follows: All: All data following Graphics Mode On Command is processed.
Chapter 1 Code V Command Character (CVCC) Code V Command Character (CVCC) All GPL commands begin with a Command Character. By default, this character is an ASCII caret (^) having hexadecimal value of 5E. Changing The CVCC There are two ways to change the CVCC. Using ESC Sequences Using the ^N Command Change Sequence This method can only be done in Graphics Mode. Send the ^N followed by the new CVCC (hex. OOto hex. FF), then terminate the ^N sequence with the New CVCC.
Turning Free Format On Free Format The GPL provides a mode which ignores all data with values less than 20 (decimal 32). Data having values below decimal 32 are collectively called Control Characters and include Line Feed, Form Feed, and Escape characters. By using Free Format Mode, the user can filter out unwanted Control Characters which may be sent by some host systems. Also, a convenient way to send GPL commands to the printer is to simply type the commands into a file and send the file to the printer.
Chapter 1 Free Format Control Code Equivalents When Free Format is turned ON, GPL control code equivalents are treated as actual ASCII control codes. For example ^! functions in the same manner as the ASCII control code SOH. If control code characters need to be passed to the printer in Free Format Mode, use the control code equivalents shown in Table 1. Table 1.
Control Code Equivalents Table 1. Control Code Equivalents Control Code Equivalents Hex ASCII ^9 19 EM ^: (caret colon) 1A SUB ^; (caret semicolon) 1B ESC ^< (caret left arrow) 1C FS ^= (caret equal sign) 1D GS ^> (caret right arrow) 1E RS ^? (caret question mark) 1F US Ignore Data The Ignore Data command causes the printer to ignore all data (except for the command to turn Ignore Data OFF).
Chapter 1 Graphics Pass Not all GPL commands and data sent to the printer need to be in a pass. In fact, many commands must be outside of a pass to function properly. For instance, the command ^H sets the form length if it is used outside of a pass, but sets the pass height if it is used within a Pass. At this point, it may seem difficult to decide when to use a Graphics Pass.
Pass Format The Printer uses a Heap Buffer to process the pass for printing. If a Graphics Pass is so complex that processing it overflows the available Heap Buffer space, the Printer aborts processing and announces a Heap Overlfow fault. Pass Format A single Graphics Pass Command is formatted like this: Command ^ {M, U, V or E}hhwwjjd^Arguments ^ {M, U, V, or E} The braces, { }, indicate that either M, U, V, or E must be used.
Chapter 1 Graphics Pass Vertical Left Orientation (^E) Prints data down the page and roated 90 degrees counterclockwise so that the baseline faces the right margin of the paper: hh The height of each individual barcode or block character. This dimension is measured vertically on the page and is specified in increments of 0.1 inches (0.25 cm). The allowable height for each barcode/block character ranges from 01 to 99 (0.1 to 9.9 inches or 0.3 to 25.2 cm). For example, a value of 03 means a height of 0.
Multiple Passes GPL Commands Most of the examples shown in this manual assume Graphics Mode and Free Format Mode are turned on, although the examples will not always show the ^PY and ^F commands.
Chapter 26 1 GPL Commands
2 Character Printing Control Panel Option A new option has been added to the control panel under the Graphics category. The new option, Vscale, determines whether or not vertical block characters will be scaled to match the difference between the horizontal and vertical print densities. The option is necessary to be fully compatible with old QMS Code V version 1 boards that are still in the field. Block characters are build to be printed horizontally at 60 x 72.
Chapter 2 Block Character When a block character is rotated 90 degrees clockwise or counterclockwise on a page, the height and width values are exchanged: • • the Graphics Pass height value determines the new character width. the Graphics Pass width value determines the new character height. Command ^{M, U, V, or E}hhwwjjd^Arguments ^{M, U, V, or E} One of the four orientation commands ^M, ^U, ^V, or ^E. 28 hh The height of each printed character window.
The following examples illustrate block character printing. Example 1: The Graphics Pass ^M0202000Graphics ^- prints: ^M Horizontal orientation of character. 02 Character height of 0.2 inches (0.51 cm). 02 Character width of 0.2 inches (0.51 cm). 00 Justified downward 0.00 inches. 0 No additional dot rows of justification down. Graphics Data to be printed. ^- Pass Terminator. Example 2: The Graphics Pass ^M0302000Graphics^- prints: ^M Indicates this Graphic Pass is oriented horizontally.
Chapter 2 Block Character Example 4: The Graphics Pass ^E0101000Vertical Left^_ prints: ^E Vertical left orientation of the pass. 01 Character height of 0.1 inches (0.25 cm). 01 Character width of 0.1 inches (0.25 cm). 00 No justification down. 0 No additional dot rows of justification down. Example 5: The Graphics Pass ^M0202000GRAPHICS ^M0203053OPTION^- prints: • First Command - ^M0202000GRAPHICS ^M Horizontal orientation of the Graphics Pass. 02 Character height of 0.2 inches (0.
Example 6: To place OPTION directly under GRAPHICS, a pass terminator (^-^*) must be placed after the end of the first pass but before the beginning of the second pass: ^M0404000GRAPHICS^-^*M0404053OPTION^- will now print: Example 7: This example shows horizontal block characters with varying degrees of justification. The Graphics Pass: ^M0303060P^M0303040a^M0303020s^M0303000s^prints: • • First Command - ^M0303060 ^M Horizontal orientation of characters. 03 Character height of 0.3 inches (0.76 cm).
Chapter 2 Descender Mode • • Third Command - ^M0303020s ^M Horizontal orientation of characters. 03 Character height of 0.3 inches (0.76 cm). 03 Character width of 0.3 inches (0.76 cm). 02 Justified down 0.2 inches (0.51 cm). 0 No additional dot rows of justification s Data to be printed. Fourth Command - ^M0303000s^^M Horizontal orientation of characters. 03 Character height of 0.3 inches (0.76 cm). 03 Character width of 0.3 inches (0.76 cm). 00 No justification down.
Revese Image Descender Mode Reverse Image Reverse Image causes the printer to print white block characters on a black background. The black background extends beyond each character one dot row or column for every 0.1 inch increment of character window size. For example, a Reverse Image character window with a horizontal dimension of 03 (0.3 inches or 0.76 cm) and a vertical dimension of 04 (0.4 inches or 1.
Chapter 2 Half-Tone Example 2: Sending the Graphics Pass ^M0303000^R^Dfghij^R^D^- with Descender Mode ON prints: NOTE: The dark background of Reverse Image extends three dot rows below the descenders. Half-Tone Lines, boxes, and characters are printed in solid black, but they can also be printed in patterns of dots. These patterns are called half-tones. Many half tone patterns are available, such as vertical, horizontal, and diagonal lines, as well as many other designs.
Half-Tone Toggle Half-Tone Toggle Once a half-tone pattern has been selected, it can be toggled ON and OFF within a Graphics Pass with the command: Command ^KH^KH Example: The Graphics Pass ^M0303000GRA ^KL05PHI^KHSC OP^KHTIO^KHN^- prints: GRA Data printed as solid black. ^KL Turns Half-Tone Mode ON. 05 Selects the 05 half-tone pattern. PHI Data printed using selected pattern. ^KH Turns Half-Tone Mode OFF. CS OP Data printed as solid black.
Chapter 2 Half-Dot Mode (Double Density) Half-Dot Mode (Double Density) The Half-Dot Mode causes the printer to print at 120 DPI horizontally (the standard print density is 60 DPI). Printing at 120 dpi results in darker printing and reduces the stairstep effect of diagonal lines. It is most often used to improve barcode readability. The Half-Do Mode can be toggled ON and OFF within a Graphics Pass using the command: Command ^KF^KF Arguments ^KF Toggles Half-Dot Mode ON.
7.5 CPI • Second Graphics Pass - ^M0303040^KH^KFOPTION^KF^KH^^KH Toggles Half-Tone Mode ON and defaults to last pattern selected (EA). ^KF Toggles ON Half-Dot Mode. OPTION Data printed with the selected pattern (EA) in HalfTone/Half-Dot Mode. ^KF Toggles OFF Half-Dot Mode. ^KH Toggles OFF Half-Tone Mode. Block Character Fonts Block character fonts are created from the block character set in four graphic orientations, and are available in the following sizes: • 7.5 CPI block characters, 0.
Chapter 2 Block Character Fonts 10 CPI The 10 CPI block character set is 0.1 inches high and is selected by using the following Graphics Pass Command. Command ^{M,U,V,E}0101jjd^Arguments ^{M,U,V,E} One of four Graphics Pass orientations (^M for horizontal, ^V for clockwise rotation, ^E for counterclockwise rotation, or ^U for upside down and reverse order of characters). 0101 A height/width value of 0101 specifies 10 CPI characters. jjd Justification values in increments of 0.1 inches (0.
12 CPI 12 CPI The 12 CPI character set is 0.1 inches high and is selected with the following special Graphics Pass command. Command ^{M,U,V,E}0001jjDArguments ^{M,U,V,E} One of four Graphics Pass orientations (^M for horizontal, ^V for clockwise rotation, ^E for counterclockwise rotation, or ^U for upside down and reverse order of characters). 0001 A height/width value of 0001 specifies 12 cpi characters. jjd Justification values in increments of 0.1 inches (0.
Chapter 2 Code V Font Selection Code V Font Selection Since Code V runs on top of another emulation, the Code V Language has the ability to print either emulation fonts or Code V fonts. When Code V is turned on via the ^PY^- command, it sets the out of pass font to the 10 CPI Draft emulation font using the character set selected on the Control Panel. Code V has the ability to select different kinds of fonts via Code V font commands.
15 CPI The upper Code V character set contains the following characters not found in the Latin1 set: Compressed Fonts Code V has the following nine compressed fonts for use in normal printing outside of a Graphics Pass. • Near Letter Quality (NLQ) character sets at 10, 12, 13.3, 15, and 17.1 CPI. • OCR-A and OCR-B 0.10 inch character sets at 10 CPI. Emulation control codes are supported with Compressed Fonts Mode; escape sequences are not.
Chapter 2 NLQ Fonts Example 1: The command ^#6OCR-A characters^- prints: Example 2: The commands ^M0202000GRAPHICS PASS^-^*^#2^COMPRESSED FONT^- prints: NLQ Fonts The NLQ fonts use 0.10 inch high Gothic characters whenever high quality print or high density is desired. NLQ fonts are limited to Horizontal Orientation only, and the NLQ Font command must be contained within a Graphics Pass.
15 CPI Example 2: The Graphics Pass ^M0000000^S1A line^T0100of text^- (10 CPI) prints: Default Font Selection This command allows selection of a default font that when issued inside a pass, selects the font used for the duration of that pass only. When used outside a pass, it selects the font used in all non-graphics printing. Command ^IFONTS,S,n^G Arguments ^IFONTS,S, Indicates that a new font style will be selected. n The number of the selected default font.
Chapter 2 Draft Fonts Draft Fonts The draft fonts, when issued inside a pass, select the font used for the duration of that pass only. When used outside a pass, they select the font used in all non-graphics printing. Command ^@Cnn Arguments ^@C Draft Font Command. nn One of the draft font numbers listed below: 05 = double high (0.2 inch), 7.5 CPI. 10 = 10 CPI 12 = 12 CPI 13 = 13.3 CPI 15 = 15 CPI 17 = 17.
Half Space Font Mode Half Space Font Mode Selects 60 DPI, fast speed, lowest quality fonts. The paper will not back up to print any GPL font (excluding OCR) when ^~FH is selected. Command ^~FH Lines Per Inch The number of character lines per inch may be set with the command: Command ^@Lnn Arguments ^@L The Lines Per Inch Command.
Chapter 2 Control Panel Option Control Panel Option The following Control Panel option provides more control of speed and quality. Block Character This option allows you to set the size at which Block Character Smoothing begins. NOTE: Smoothing slows down the Code V processing. The default is size 3. ISO Character Sets Several international standard character sets may be selected with this command. When issued inside a pass, this command selects the ISO language for the duration of that pass only.
Block Character ISO Character Set Table 47
Chapter 48 2 ISO Character Set Table
3 Creating Lines And Graphics Line Drawing Code V allows printing of solid or dashed lines of various thicknesses and orientations. The following sections describe the line drawing commands and their usage. Solid Lines Description Solid lines can be printed horizontally and vertically ranging in width and length from one dot to 13.2 inches. The solid line command is: Command ^LShhhdvvvd Arguments ^LS Solid Line command hhh The horizontal dimensions, specified in increments of 0.1 inches (0.
Chapter 3 Line Drawing Example 1: The command ^LS04000001^- prints a horizontal line exactly 4 inches (10.2 cm) long and 1 dot row thick. ^LS Solid line print command. 040 A horizontal dimension of 4.0 inches (10.2 cm). 0 No dot column additions to the horizontal dimensions. 000 No vertical dimensions in increments of 0.1 inch (0.25 cm). 1 Additional vertical dimensions of 1 dot row. Example 2: The command ^LS0500011^- prints a horizontal line 3.5 inches (8.9 cm) long and 0.1 inches (0.
Dashed Lines Dashed Lines Description Dashed lines are drawn by printing alternate tenths of an inch (every 0.25 cm). The individual dashed marks will be oriented to the line’s strongest dimension (horizontal or vertical). If the horizontal and vertical lengths are equal, the dashes will be horizontal. Dashed lines can be printed using the command: Command ^LDhhhdvvvd Arguments ^LD Dashed Line command hhh The horizontal dimension, specified in increments of 0.1 inches (0.
Chapter 3 Line Drawing Example 2: The command ^LD00100210^- prints a vertical dashed line 0.10 inch wide and 2.1 inches (5.3 cm) tall. ^LD Dashed Line command 0010 Specifies a horizontal dimension of 0.1 inches. 0210 Specifies a vertical dimension of 2.1 inches. Example 3: Dashed lines will print horizontally if the horizontal and vertical dimensions are the same. The command ^LD01000100 will print a series of vertical stripes 0.1 inches (0.25 cm) wide across a space that is 1.0 inches (2.
Dashed Lines Boxes Description Boxes can be drawn in a variety of shapes, sizes, and line weights. Maximum box size is limited to the maximum printed pass length and the width of the paper being printed upon. NOTE: When printing boxes, the minimum box length must be greater than twice the thickness of the vertical borders. The minimum box height must be greater than twice the thickness of the horizontal borders. The command for drawing a box is: Command ^LBhhhdvvvdhv Arguments ^LB The Box command.
Chapter 3 Boxes Example 2: The command ^LB0250010025^- prints the following: ^LB The Box command 0250 Line lengths for top and bottom borders of 2.5 inches (6.4 cm) with no additional dot columns. 0100 Line lengths for left and right borders of 1.0 inches (2.54 cm) with no additional dot rows. 2 Thickness of top and bottom borders is 2 dot rows. 4 Thickness of left and right borders is 4 dot columns.
Dashed Lines Example 4: The Graphics Pass, ^M0202000^LB00900009011GRAPHICS^prints the following box and characters: ^LB The Box command 0090 Horizontal length of box is 0.9 inches. 0090 Vertical height of box is 0.9 inches. 1 Thickness of top and bottom borders is 1 dot row. 1 Thickness of right and left borders is 1 dot column. GRAPHICS Data to be printed with each character is 0.2 inches (0.51 cm) square.
Chapter 3 Form Drawing d Additional horizontal positioning of the first vertical line in dot columns, ranging from 0 to 9. t Thickness of the first vertical line in dot columns, ranging from 1 to 9. ... Represents a repeat of the llldt command for each additional vertical line to be printed. The distance between each vertical line is additive, i.e., each additional vertical line is placed relative to the previous line, not from the left margin.
Dashed Lines Plot Mode Description Plot Mode allows you to create and print your own graphics images. The Plot Mode command must be inside a Graphics Pass. Plot data is based on vertical columns of seven dots each. Each column is described by a hex byte that specifies which of the seven dots to print. The Least Significant Bit (LSB) of the byte is mapped to the bottom of the column, while the eighth bit is ignored. See Table 2. Table 2.
Chapter 3 Logos The X is drawn dot by dot as illustrated in Figure 2. Figure 2. Plot Mode Example Logos A set of predefined logos come with Code V. See Appendix C, “Logos” on page 271 for a table of logos. The first twelve are available in all four orientations; the last two only work in horizontal and upside down orientations. There are two commands for printing logos: Version 1 Command and Version 2 Command.
Version 2 logos Version 2 logos The Version 2 logo command prints all logos. The logo command must occur within a Graphics Pass. Command ^ILOGO,d,nn^G Arguments ^ILOGO Version 2 logo command d Density: H=high, L=low nn A hex number indicating the logo to be used. See Appendix C, “Logos” on page 271 for a listing of logo numbers. ^G Command Terminator NOTE: If “d” is left out, density defaults are low.
Chapter 3 Pixel Expansion To enlarge the logo, send the Pixel Expansion code first, followed by the logo command.
4 Barcodes The CVCC provides the capability to print several standard barcode styles with or without accompanying human-readable characters. All barcode encoding algorithms reside in the printer. The user needs to only send the Barcode Command followed by the data to encode, and the printer will do the rest.
Chapter 4 Selecting Barcodes Code V supports Version 1 and Version 2 Barcode commands. Version 1 commands allow more flexibility in the placement of the human-readable text portion of a barcode. Version 2 commands have the advantage of including the name of the barcode style in the command. Either command must be contained within a valid Graphics Pass for it to be recognized by the printer. The Version 1 command allows the barcodes to be printed in two orientations: 1. Horizontal 2.
Barcode Version 1 Barcode Version 1 The Version 1 command for printing a barcode is: Command Default Ratio: ^{B,C}ax^G Variable Ratio: ^{B,C}a9x^G Arguments ^{B,C} B to print a horizontal barcode, or C to print a vertical barcode. a One of the following characters: B, prints the OCR-B font three dots below the barcode. N, turns OFF auto-printing. O, turns ON OCR auto-printing. S, prints OCR-A 0.10 inch below the barcode. T, prints OCR-B 0.10 inch below the barcode.
Chapter 4 Example 2: The Graphics Pass ^M0515000^CYD67890^G^- prints: ^M0515000 Turns ON the Graphics Pass Mode. Barcode height is 1.5 inches with no vertical justification. ^C Indicates the barcode orientation will be vertical. Y Non-OCR human-readable characters will print. D The Codabar barcode style (see Table 3). 67890 The data to be printed as a barcode and humanreadable characters.
Barcode Version 2 The alphanumeric characters to be encoded. ^G Command Terminator Table 3 shows the available barcode styles and associated indices: Table 3.
Chapter 4 NOTE: We cannot guarantee tha barcode data with unique ratios other than those listed above will result in readable printer output. When using unique ratios, make sure that the wide and narrow bar ratios conform to requirements for readability. Example 1: The following command is the Version 2 equivalent of Example 1 in the Version 1 barcode section: ^M0515000^IBARC,C39,N,12345^G^- prints: ^M0515000 Specifies that the barcode is horizontal with a height of 0.5 inches.
Barcode Version 2 Example 3: Example 2 may be printed with the human-readable characters embedded in the barcode by replacing B with an E as shown below: ^M0505000^IBARC,C39,E,12345^G^- prints: ^M0505000 Sets up horizontal orientation and sets the barcode height to 0.5 inches. ^IBARC, Turns ON the Barcode Mode. C39, Selects the first barcode style in Table 3, page 65, (Code 39). E, Embeds human-readable characters at the bottom of the barcode.
Chapter 4 Example 5: The Graphics Pass ^U0505^IBARC,EAN8,E,1234567^G^- prints: ^U0505 Causes the barcode to be upside down with a height of 0.5 inches. ^IBARC Turns ON the Barcode Mode. EAN8 Sets the barcode style to EAN 8. E Embeds the human-readable character translation in the barcode. 1234567 Barcode data as well as human-readable characters. ^G Command Terminator Example 6: Barcodes may be printed in all four orientations. The following four Graphics Passes will print: 1.
Barcode Version 2 First Command: ^M0505000^IFONT,S,1^G^IBARC,C128,B,Horizontal^G ^M0505000 Causes barcode to print horizontally with a height of 0.5 inches. ^IFONT,S,1^G Selects Draft 10 CPI characters. ^IBARC,C128, Turns ON Barcode Mode and selects Code 128 barcode. B, Prints the character translation below the barcode. Horizontal Data to be encoded as Code 128 barcode and printed below the barcode as Draft 10 CPI characters.
Chapter 4 ^G Command Terminator Fourth Command: ^V0505000^T0250^IBARC,C128,B,Vert Right^G^^V0505000 Causes barcode to print vertical right with a height of 0.5 inches. ^T0250 Tabs the start of the barcode 2.5 inches from the left margin. ^IBARC,C128, Turns ON Barcode Mode and selects Code 128 barcode. B, Prints the character translation below the barcode. Vertical Right Data to be encoded as a Code 128 barcode and printed below the barcode as Draft 10 CPI characters.
High Density Barcode Example 1: Barcodes can be expanded by doubling the ratio of the light/dark bars. Code 39, which is normally 1:1:3:3 can be printed double wide by sending the Version 2 Graphics Pass, ^M0505000^IBARC,C39,R2:2:6:6,E,12345^G^- prints: Example 2: Barcodes can also be expanded by replacing the ratio numbers in Table 3, page 65, with other values that are not exact multiples.
Chapter 4 LOGMARS Barcode The LOGMARS barcode is a style used by the U.S. government. Although it was meant to print with the human-readable characters placed below the barcode (B), LOGMARS can also be used the with human-readable characters embedded in the barcode (E) or not selected (N).
Code 128 Barcode Example 1: The Graphics Pass ^M0505000^IFONT,S,10^IBARC,C128,E,ABCDE^G^- prints: Example 2: By adding the greater than symbol to the printable characters of Example 1, the Graphics Pass, ^M0505000^IFONT,S,10^IBARC,C128,E,>ABCDE^G^- prints a different barcode pattern, indicating that >A (decimal 65) now represents the control code SOH (decimal 1): NOTE: The human-readable characters did not print under the barcode as it did in Example 1, above.
Chapter 4 Table 4.
Code 128 Special Characters Code 128 Special Characters When a style selection has been made, character data will be translated from the selected code style to the Code 128 representation as shown in Table 5. NOTE: Codes 96 through 102 do not have corresponding ASCII character translations; these may be encoded using the special character table (Table 4, page 74). Table 5.
Chapter 4 Table 5.
Code 128 Special Characters Table 5.
Chapter 4 Table 5.
Accessing POSTNET in CVCC Postnet Barcodes POSTNET barcodes are now available to all Code V users. You can now print POSTNET barcodes on envelopes or any printer output desired. The United States Postal Service defines POSTNET Barcodes in USPS Publication #25, A Guide To Business Mail Preparation. Because of the strict specification requirements, POSTNET barcodes differ from other barcodes in several ways. These differences are discussed below following instructions on accessing POSTNET in Code V.
Chapter 4 Postnet Barcodes Parameters In POSTNET When used with POSTNET barcodes, some parameters function differently than when used with other barcodes. These parameters are as follows: ^IBARC,POSTNET,B,98032^ The Below (B) parameter adds human-readable characters below the barcode, but unlike other barcodes, does not reduce the height of POSTNET codes. ^IBARC,POSTNET,E,98032^Normally, using the Embedded (E) parameter reduces the height of the barcode.
HIBCC Barcode HIBCC Barcode The HIBCC barcode style is used by the health industry. It is actually a Code 39 barcode with a check digit. If the human-readable text is printed, it is bracketed on either side by an asterisk. Lower-case letters cannot be used with the HIBCC barcodes. Example: The Graphics Pass, ^M0505000^IFONT,S,10^G^IBARC,HIBCC,B,HIBCC BAR CODE ^G^- prints: EMBARC Barcodes The EMBARC barcode style is used in the paper industry. EMBARC is a Code 39 barcode without a check digit.
Chapter 82 4 Postnet Barcodes
5 Positioning and Repeating Positioning Data This chapter discusses the formatting and positioning commands provided by Code V. Horizontal Tab The Horizontal Tab command allows the user to specify the current print position relative to the left margin. When issued outside a pass, it sets the default left margin for all subsequent Graphics Passes. When issued inside a pass, it sets the left print position for that pass only.
Chapter 5 Positioning Data Example 2: Since the tab command always specifies the print position relative to the left margin, it is possible to back up to previously printed positions within the line. For instance, the following example prints B before A even though A appears before B in the command sequence ^M0505^T0100A ^T0000B^-. ^T0100 Places block character A 1 inch right of the left margin. ^T0000 Places block character B at the left margin.
Pass Height Pass Height This function changes the height of block characters and barcodes within a Graphics Pass. Command ^Hxx Arguments ^H Pass Height Command xx New window height in increments of 0.1 inches (0.25 cm) from 01 to 99. The actual height ranges from 0.1 to 9.9 inches (0.3 to 25.2 cm). Example: The Graphics Pass, ^M0402000GRA ^H02PHIC^- prints: ^M Horizontal orientation of characters. 04 Window height of 0.4 inches (1.02 cm). 02 Window width of 0.2 inches (0.51 cm).
Chapter 5 Positioning Data Pass Width This function changes the width of block characters within a Graphics Box. Command ^Wxx Arguments ^W Pass Width Command xx New window width in increments of 0.1 inches (0.25 cm) from 01 to 99. The actual width ranges from 0.1 to 9.9 inches (0.25 to 25.2 cm). Example: The Graphics Pass, ^M0404000GRA ^W02PHIC^- prints: ^M Horizontal orientation of characters. 04 Window height of 0.4 inches (1.02 cm). 04 Window width of 0.4 inches (1.02 cm).
Dot Slew vvv The vertical density in dots per inch. The allowable is from 040 to 240. Example 1: The Graphics Pass, ^M0404000^~D05005050x50 dpi^- prints: Example 2: The Graphics Pass, ^M0505000^~D070072^BYA1234567890^G^- prints: Example 3: The Graphics Pass, ^M0505000^~D060072^BYA1234567890^G^- prints: Dot Slew The Dot Slew command moves the paper up by a user-specified number of dot rows. The command has the syntax: Command ^Dnn Arguments: ^D The Dot Slew Command.
Chapter 5 Positioning Data Interrupt Function With the Interrupt function, a Graphics Pass may be interrupted at a designated vertical distance from the top of the pass to allow another Pass to begin printing at that location. The Interrupt command is not processed until a Pass Terminator is received. Any Code V commands between the Interrupt and the corresponding Pass Terminator will not be affected by the Interrupt.
Horizontal Repeat, Version 2 Repeating Data The printed image defined by a sequence of Code V commands and data may be repeated horizontally and vertically through the use of Code V Repeat commands. This technique is often used to replicate labels, allowing the user to print numerous labels from a single command sequence. Using a Code V Repeat command typically results in faster printing since the printer only needs to process the image to be printed once, then simply duplicates the image across the page.
Chapter 5 Repeating Data, Version 2 Example 1: The command ^IREPH,2,200^G^M0202000REPEAT^_^IREPE^prints: ^IREPH, Turns ON the Horizontal Repeat Mode. 2, The number of times the data is to be repeated. 200 2.0 inches between the start of each repetition with no additional dot columns. ^M0202000REPEAT^ The Graphics Pass containing the character windows and the data to be repeated. ^IREPE Repeat Terminator, turns OFF the Horizontal Repeat Mode.
Vertical Repeat, Version 2 Vertical Repeat, Version 2 Vertical repetition can be selected by bracketing the commands and data to be repeated with the commands shown below. Both Graphics and nonGraphics commands and data are repeated vertically. Command ^IREPV,n,vd^G ^IREPE Arguments ^IREPV Vertical Repeat Command n The number of times the data is to be repeated (1 to 9999). v Vertical space between each repetition in 0.10 increments (1 to 132).
Chapter 5 Repeating Data, Version 2 Multiple Repeat Commands A Graphics Pass may contain more than one Repeat Start/Repeat End pair. When a Graphics Pass contains more than one pair of Repeat Start/Repeat End commands, the additional pairs are described as being “nested” inside the Graphics Pass. The nexted pairs are matched by pairing the first Repeat End with the last Repeat Start continuing in sequence until the last Repeat End is paired with the first Repeat Start.
Multiple Repeat Commands ^iREPV,2,070^G Specifies a Vertical Repeat twice at 0.7 inches separation. ^IREPH,3,100^G Specifies a Horizontal Repeat three times with a separation of 1 inch. ^M0101000abc^First Graphics Pass with data and Pass Terminator. ^IREPV,2,000^G Specifies a Vertical Repeat of two more times with no separation.
Chapter 5 Automatic Increment/Decrement ^IREPV,2,050^G This command causes Level A and all the following passes to be repeated twice vertically, with a spacing of 0.5 inches. Level A Printed data. ^IREPH,2,150^G This command causes Level B and all other Graphics Passes within this level to be printed twice horizontally with a spacing of 1.5 inches. ^T003 Tabs the two columns of Level B data 0.3 inches from the left margin. Level B Printed data.
Multiple Repeat Commands Incrementing or decrementing numbers and characters is similar to adding or subtracting numbers. Align the numers and/or letters vertically in columns and add or subtract each column. For example, K + 1 means to advance 1 character position from K to the next letter (i.e., K+1 = L and K-1 = J).
Chapter 5 Automatic Increment/Decrement Example 1: The Auto Increment Command, ^IREPV,3,0^G^M0202000^YAA8+3^G^-^*^IREPE prints: ^Y Turns ON the Automatic Increment/Decrement function. AA8 The operand (the starting value). +3 The operator. This is the amount by which the operand is incremented. ^G^-^* Completes the automatic incremental command and performs a Carriage Return/Line Feed. ^IREPE Turns OFF the automatic increment/decrement function.
Multiple Repeat Commands Example 3: This example shows how to print sequentially numbered labels.
Chapter 5 Repeating Data, Version 1 Repeating Data, Version 1 Horizontal Repeat Horizontal Version 1 repetition can be accomplished by bracketing the commands and data to be repeated with the commands shown below: Command ^Snntt^-^-^S^Arguments ^S Version 1 Horizontal Repeat Command nn Number of times to repeat (00 to 99). tt Number of 0.10 increments to move after each repeat. Data to be repeated. ^S^- Version 1 Horizontal Repeat Terminator.
6 Buffered/Defined Forms Buffered Forms Code V allows users to store commands and data in printer memory. The data stored in memory may be named and called up for use any time. Data stored in memory this way is called a buffered form. The buffered form can consist of any data and commands sent to the printer. The Graphics Processing Language emulates both Version 1 and Version 2 of the Code V Buffered Formatting Language.
Chapter 6 Buffered Forms Buffered Form Create Buffered forms are created by the Buffered From Create Command. When a buffered form is created, it is stored in printer memory until it is deleted or the printer exits Graphics Mode. Every Version 2 Buffered Form has a name by which it is referenced. The name is assigned to the Form by the Create Command, and the form is referenced by name by the Buffered Form Execute Command. The Execute Command is then used to print the form created by the Create command.
Control Code Command Changes Data to be entered into the data fields of the Buffered Form. ^G Command Terminator Example: To print the form defined as TEST 1 in Example 2, page 100, send the following command: ^IFORM,ETEST 1^GABCDEF^-^G This would print ABCDEF as 0.5 x 0.
Chapter 6 Buffered Forms The following examples illustrate the use of buffered formatting. Example 1: This example is a two step process. A form with the file name EXAMPLE 1 will be created in the first step, then executed in the second step. 1. To create the buffered form, send the command: ^IFORM,EEXAMPLE 1^G12345678901^-^G This creates the basic label and specifies the size and position of the data field and how many bytes (characters) the data field will hold. 2.
Control Code Command Changes ^T0004^J122QUANTITY^J133^T0025 (Q) ^T0004^J232 SUPPLIER^J241^T0025 (V) ^T0004^J312 SERIAL^J323^T0025 (S) ^M0100000^T0030^J386 ^[055^-^*^ 2.
Chapter 6 Buffered Forms Buffered Form Delete Any existing form or label can be deleted from the printer’s memory if additional space is needed to create a new form. This is done through the command: Command ^IFORM,D^G Arguments ^IFORM,D Buffered Form Delete Command the name of the form to be deleted. ^G Command Terminator Buffered Form Reset This command deletes all user-defined forms stored in memory.
Buffered Form List Buffered Form List This command prints a list of all forms currently in memory, the number of bytes needed for each form, the total number of bytes used, and the number of bytes still available.
Chapter 6 Buffered Forms Buffered Form Repeats Two types of Repeat commands are allowed within a buffered form: the Buffered Form Copy command and the Buffered Form Repeat command. Both the Copy and Repeat commands serve to repeat a sequence of Create a certain number of times.
Buffered Form Copy Example 1: ^F^- Free Format ON ^IFORM,CEXAMPLE1^G ^C03^-^M0101This line prints 3 times^-^Z^^C02^-^M0201This line prints ^[020^-^Z^^C04^-^M0202This line prints ^[020^-^Z^^] ^IFORM,EEXAMPLE1^G 2 times^-2 times^3 times^0 3 times^0 3 times^0 ^* ^G ^O^ Free Format OFF prints: 107
Chapter 6 Buffered Forms Repeat The Repeat command repeats a sequence of Code V commands and data a user-specified number of times. The number of times to repeat a command or data sequence is specified in the data section of a Buffered Form Execute command. The manner in which this is done is best understood by referring to Example 1 below. The Repeat command has the following format: Command ^R^^Z^Arguments ^R^ Repeat Command The data to be repeated.
AIAG Forms Predefined Forms Code V comes with the following two predefined forms already stored in permanent memory: • • AIAG form Preliminary Metals form The barcode portions of these predefined forms can be printed at either 120 DPI high density or 60 DPI low density. However, the Halfdot Mode reduces print speed by approximately 50% during the printing of the barcode(s). The predefined forms reside in the printer ROM. If a predefined form is used, it is copied from ROM into the Heap Buffer RAM.
Chapter 6 Predefined Forms Partner Number The first field (up to nine characters) is treated as human-readable characters. The second field (up to nine characters) is treated as barcode data. Quantity The third field (up to six characters) is treated as human-readable characters. The fourth field (up to six characters) is treated as barcode data. Supplier Quantity The fifth field (up to nine characters0 is treated as human-readable characters.
Primary Metals Form which prints: Primary Metals Form Similar to the AIAG form, the Primary Metals form utilizes both barcode and human-readable characters to create a standard label for shipping and identification. The barcode portions of this form can be printed in either the High Density or Low Density mode: The command to select Half Dot Mode is METALS_H.MT. The command to select Full Dot Mode is METALS_F.MT. The following rules apply when using the METALS forms: 1.
Chapter 6 Predefined Forms The data sent to fill the METALS forms will sequentially fill the following data fields: Product Identification The first field (up to 15 characters) is printed as human-readable characters. The second field (up to 15 characters) is printed as barcoded data. Supplier Number The third field (up to 11 characters) is printed as human-readable characters. The fourth field (up to 11 characters) is printed as barcoded data.
Primary Metals Form Special Data The twentieth field (up to 14 characters) is printed as a single line of humanreadable characters. The twenty-first field (up to 14 characters) is printed as a single line of humanreadable characters. The twenty-second field (up to 14 characters) is printed as a single line of human-readable characters. The twenty-third field (up to 14 characters) is printed as a single line of human-readable characters.
Chapter 6 Predefined Forms MINT^+ Human-readable Special Data TASTE^+ Human-readable Special Data GREEN^+ Human-readable Special Data Green Mint Gum, Inc.
Primary Metals Form 115
Chapter 6 Version 1 Buffered Formatting Version 1 Buffered Formatting This section discusses only the Version 1 commands for buffered formatting. Version 2 commands are discussed on page 99. Buffered Form Create Version 1 Buffered Form creation and execution differs from Version 2 in that there is no Version 1 Execute command. Instead, all data sent after the Create Command is plugged into the data fields of the created form until a ^G is encountered.
Control Code Command Changes Example 1: In this example, the words Shopping List: are part of the Graphics Pass with the data milk, eggs, and butter, transmitted afterward. Since butter contains the most letters (six characters), the data field will be 6 bytes. The command: ^B^-^M0202000Shopping List: ^[006^-^*^*^] milk^buttereggs^-^-^G will print: The word butter, having six characters, completely fills up its data field and doesn’t require a ^- to fill out the data field.
Chapter 6 Version 1 Buffered Formatting Example 2: The Buffered Repeat command described in the Version 2 Buffered Form section can also be used with Version 1 Buffered Forms as illustrated in this example.
Control Code Command Changes Example 3: The Buffered Copy command described in the Version 2 Buffered Form section can also be used with Version 1 Buffered forms as illustrated in this example: ^B^-^C02^-^M0202000Shopping List: ^[006^-^*^Z^-^*^] milk^-milk^butterbutter eggs^-eggs^^-^-^G^will print: 119
Chapter 120 6 Version 1 Buffered Formatting
7 Industrial Graphics Application Introduction This Industrial Graphics manual describes how to print several different types of barcodes and block characters using escape sequences and command functions. This chapter contains the following sections: Control Sequences This section describes the escape sequences used in entering and exiting the Barcode/Block Character mode, and how to select the various functions (i.e.
Chapter 7 Control Sequences Control Sequences This section describes the escape sequences for entering and exiting the Industrial Graphics Barcode/Block Character mode. The commands for accessing related functions, such as selecting Normal or Double Density Block Characters, vertical or horizontal orientation of barcodes, line height, and others are also discussed. To properly use the Industrial Graphics option, the printer needs to be in the MT660 emulation.
Exiting Barcode/Block Character Mode Exiting Barcode/Block Character Mode To exit the Barcode/Block Character Mode, send the following escape sequence: Command ESC {<41 (lower-case L) 1B 5B 3C 34 6C ASCII hex Control Sequence Formatting All Control Sequences in the Barcode/Block Character mode have the same basic format: Command ^Xaa;bb...NL Argument ^ The Control Sequence Introducer X The control sequence function selector. Valid Selectors are A, B, C, D, M, N, R, S, T, U, and W.
Chapter 7 Control Sequences Valid Control Sequences The following eleven control sequences are valid in Barcode/Block Character Mode: ^A Move the Home. ^B Select Horizontal Barcode. ^C Select Vertical Barcode. ^D Select Double Density Block Characters. ^M Select Normal Density Block Characters. ^N Select New Introducer. ^R Relative Cursor Move. ^S Signed Cursor Move. ^T Absolute Cursor Move. ^U Set Unit Line. ^W Set Barcode Density.
Valid Control Sequences (size) Scale factor affecting both height and unit width of the bars, ranging from 1-8 (default = 1). (option) Human Readable Characters option (default = 1) 1 = No characters 2 = Data Processing font 3 = OCR-A font 4 = OCR-B font ^C - Select Vertical Barcode Selects Vertical Barcode and sets barcode parameters. Type, height, and size parameters and options are the same as for Horizontal Barcode. Defaults are the same as for horizontal (type = 1, height = 80, size = 1).
Chapter 7 Control Sequences ^M - Select Normal Density Block Characters Selects 60 dots per inch and sets Block Character parameters. Command ^M(height);(width)NL Argument (height) Character Height Multiplier in even numbers in the range 2-124 (default = 2). (width) Character Width Multiplier in even numbers in the range 2-124 (default = 2). NOTE: Odd numbers can be selected, but they will default to the next lower even number (5=>4, 7=>6, etc.).
Valid Control Sequences ^S - Signed Cursor Move Moves the cursor relative to its current position in increments of fixed value. Command ^X(xsign);(ysign)NL Argument (xsign) The distance to move horizontally in increments of 0.01 inches. Positive values move the cursor right, and negative values move it left. Total distance must be in the range 0-1320 (default = 0). (ysign) The distance to move vertically in increments of 0.01 inches.
Chapter 7 Control Sequences ^W - Set Barcode Density Sets the print densities and dot-making rules for Barcode printing thereby affecting print speed, symbol length, and readability through white:black and wide:narrow ratios. For typical applications, the default values produce fully readable Barcode; however, a range of settings is provided to accomodate softer papers or drier ribbons, and to optimize size or throughput for special applications.
Paper Motion Commands Home And Cursor The Home position and cursor pointers in this manual are similar in function to the Home and cursor pointers in a CRT terminal: • Upon entering the Barcode/Block Character Mode, the Home position is set to the extreme top-left dot in the current print line. This is considered the starting point for horizontal and vertical positioning. • The cursor position is defined as the current print location.
Chapter 7 Barcodes Barcodes Barcodes can be printed either vertically or horizontally from 01 to 2.55 inches high. The Barcode styles can now be defined individually. Code 39 (Types 1 And 2) Character Set 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. (space) $ / + % Data Limits No limits are imposed by your printer. However, Barcode readers are typically limited to 32 characters. Check Digits No limits for Type 1. Type 2 encodes one check digit at the end of the character string.
Emulation Limitations Table 6. Code 39 Character Print Equivalents, ASCII Code 39 NUL %U (space) (space) @ %V %W LF $J * /J J J j +J VT $K + + K K k +K FF $L , /L L L l +L CR $M - - M M m +M SO $N . .
Chapter 7 Barcodes Code 39 Type 1 Examples Horizontal with OCR-A characters, ^B1;80;1;3; 12345-67/ 890 prints: Vertical without OCR characters, ^C1;80;112345-67/890 prints: 132
Code 39 Type 2 Examples Code 39 Type 2 Examples Horizontal with OCR-A characters, ^B2;80;1;3 12345-67/890 prints: Vertical without OCR characters, ^C2;80;1 12345-67/890 prints: 133
Chapter 7 Barcodes Two of Five with 2:1 Ratio (Type 6) Character Set 0 1 2 3 4 5 6 7 8 9 0 Data Limits No data limits. Invalid characters are encoded as a solid black character.
Interleaved Two of Five, 2:1 (Type 7) Interleaved Two of Five, 2:1 (Type 7) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits An even number of digits. If an odd number of digits or invalid characters are sent, the last digit and invalid characters will be encoded as a solid black character.
Chapter 7 Barcodes Two of Five with 3:1 Ratio (Type 10) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits None. Invalid characters are encoded as a solid black character.
Interleaved Two of Five, 3:1 (Type 11) Interleaved Two of Five, 3:1 (Type 11) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits Any even number of digits. If an odd number of digits or invalid characters are sent, they will be encoded as a solid black character.
Chapter 7 Barcodes UPC Version A (Type 12) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits Data is limited to 10 digits. Each symbol as exactly 10 data digits preceeded by a number system digit followed by a check digit. If 10 characters are sent, the printer supplies zero as the number system check. If 11 digits are sent, the first digit is used as the number system digit. The printer calculates and encodes the check digit.
EAN-13 (Type 13) EAN-13 (Type 13) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits Twelve digits. An EAN-13 symbol is very similar to UPC Version A, but has a thirteenth digit (a number system digit) which is encoded into a parity pattern of the left six digits. The number system digit is used with the twelth digit to define characters representing a specific country code. If twelve digits are sent, the number system digit will automatically be zero (0).
Chapter 7 Barcodes EAN-8 (Type 1) Character Set 0 1 2 3 4 5 6 7 8 9 Data Limits Eight digits. The EAN-8 symbol encodes two flag digits, five data digits, and the check digit; eight total digits including the check digit. The check digit is calculated by the printer. If more or less than seven digits are sent, the sequence is printed as text rather than as Barcode. Invalid characters are encoded as a solid black character.
Block Character Sizes Block Characters Block characters use the same basic formatting as described in Control Sequences earlier in this manual and can be printed in two different densities: • Normal Density (^M) Characters will print 60 DPI vertically x 72 DPI horizontally. • Double Density (^D) Characters will print 120 DPI vertically x 72 DPI horizontally. In either Normal or Double Density modes, a Carriage Return/Line Feed acts simply as a command terminator.
Chapter 7 Block Characters ^M6;6 DEF ^R0;12 ^M4;4 ^R0;-12GHI^R0;12 ^M2;2 ^R0;-12 JKL prints: The ^R command defines both the top and eight of each block character. NOTE: The control sequence ^R0;XX moves the cursor up (for negative XX values) or down (for positive XX values) in multiples of 0.01 inches. When planning the position for the next character, the cursor is always referenced at the top of the next character cell.
Double Density (^D) Examples ^M6;2 TALLER prints: ^M2;4 ^R0;36 WIDE ^M4;2 ^R0;-6 TALL ^M2;6 ^R0;12 WIDER ^M6;2 ^R0;-8 TALLER prints: Double Density (^D) Examples ^D2;15 WIDE prints: ^D15;2 TALL prints: 143
Chapter 7 Block Characters ^D15;15 HUGE prints: Mixing Barcode/Block Characters These following examples show the mixing of Barcode and block characters with cursor movements.
Mixing Barcode/Block Characters ^D2;2 C o D E 3 9 ^T50;0 ^C1;0;0 123 prints: Command Summary Table Command Summary ESC[<4h ENTER Barcode/Block Character Mode ESC [<41 (lower-case L) EXIT Barcode/Block Character Mode ^A(home)NL Move the Home ^B(type);(height);(size);(option) NL Select Horizontal Barcode ^C(type);(height);(size) NL Select Vertical Barcode ^D(height);(width) NL Select Double Density Block Character Mode ^M (heigh
Chapter 146 7 Command Summary Table
8 PGL Menu Operations Introduction The Printronix Graphics Language (PGL) option on your printer is designed to be compatible with the Printronix Intelligent Graphics Processor (IGP) - 100 Version 2. On your printer some of the parameters you have to set for proper PGL operations are located in Multi-Level menus that can be accessed through the printer control panel. PGL Menu Parameters The PGL Graphic parameters can be accessed in the multi-level Configuration Menu.
Chapter 8 Graphic Menu Category Graphic Menu Category This category allows you to configure certain aspects of the Graphic Option on your printer. Table 7.
Smooth Parameter PGL Graphic Parameters This section explains the Graphic Category parameters that applies to the PGL Graphic Option on your printer. Smooth Parameter The Smooth Parameter affects the block characters in PGL. Smoothing causes the stair step appearance of larger block characters to be less pronounced. This parameter dictates the character size at which smoothing takes place. The default setting for Smooth is 3.
Chapter 8 PGL Graphic Parameters Vscale Parameter Due to the difference between horizontal and vertical DPI, as the size of block characters increase, there is a greater disparity between the physical size of horizontal and vertical output. This parameter allows you to print vertical block characters larger than size 3 at approximately the same scale as horizontal block characters. Examples: Size 10 Characters Zero Parameter The Zero Parameter allows you to set all zeros to print as slashed zeros (Ø).
9 PGL Command Set PGL Command Set Standards To use the PGL commands, follow a set of standards in constructing the commands you send to your printer. Special Function Control Character (SFCC) The SFCC identifies Special Function Commands that are used in NORMAL Mode and Execute Mode. The character you use for the SFCC is based on the host computer interface requirements of your system. The SFCC must be a printable character and it must be placed at the beginning of a new line before the command or data.
Chapter 9 PGL Command Set Standards Printable Data Delimiter All printable data (excluding overlay data), alphanumeric characters, and barcode data must be enclosed by a printable data delimiter. This delimiter is always a printable character that the printer recognizes, telling it to print the data that follows until it encounters the same character again. Any printable character may be used except the SFCC or the slash (/). The same printable character must be used at both ends of the printable data.
Numeric Variables • Amersand (&) (HEX 26) The SFCC can also be used as part of a form or logo name. Numeric Variables Some command parameters may include numeric variables. When it is required, an appropriate numeric value must be entered. In optional parameters where a numeric variable appears, the numeric variable needs to be included only if the option is selected. Comments Comments that aid in preparation or maintenance of a form or logo may be added to command lines that do not contain the SFCC.
Chapter 9 PGL Command Set Standards Data Types There are four data types used in PGL: • • • • Fixed (template/form description) Overlay (interactive) Dynamic (mailing lists) Incremental (automatically updated information such as check numbers, order numbers, etc.). Double-Density Printing (DARK Parameter) The DARK parameter is available in the Alpha, Reverse, and Barcode commands to produce darker text, backgrounds, and barcodes.
PGL Modes PGL Modes Four basic modes of operation for the PGL are available: NORMAL, LOGO, CREATE, and EXECUTE. NORMAL In NORMAL mode, the printer functions in line printer mode. The incoming data is scanned by the printer for SFCC commands. When the printer encounters a properly formatted SFCC Command it executes the specified command. CREATE The CREATE mode allows you to create forms for use in EXECUTE mode. These forms can include logos, borders, and static text.
Chapter 9 PGL Commands Table 8.
Command Presentation Table 8. Supported PGL Commands PGL Command NORMAL Mode CREATE Mode VDUP X VERT X EXECUTE Mode Command Presentation Each command is presented in a table (see Figure 4) showing the command in its basic form followed by a breakdown of the command into its required and optional parameters. Required parameters are unshaded and optional parameters are shaded. All parameters must be entered in the sequence given.
Chapter 9 PGL Commands Alphanumeric String Creation Commands (Create) The command table in Figure 5 lists, describes, and explains the use of all parameters that may be used in creating alphanumeric character strings, and specifies their location on the form you are creating. You may creat static/ dynamic, incremental, and dynamic incremental alphanumeric strings using variations of this command. Table 9 shows the results of Incremental Alphanumeric String Commands.
Alphanumeric String Creation Commands (Create) Table 9. Static/Dynamic Alphanumeric Creation Command Field Function Option/Modifier Selections Cn; CPI and Type Style Selection Optional parameter for selecting Characters Per Inch and OCR-A and OCR-B type styles. Enter C followed by one of the values below: 10, 12, 13, 15, and 17 CPI. 10A for 10 CPI and OCR-A type style 10B for 10 CPI and OCR-B type style If this optional parameter is not used, then the X3 and X4 parameters must be set to 0.
Chapter 9 PGL Commands Table 9. Static/Dynamic Alphanumeric Creation Command Field Function Option/Modifier Selections Parameters X3 and X4 control character expansion. The valid range of selections for both is from 0 to 113. Both must be set to zero if the Elongated parameter is used or any CPI other than the default is specified. These parameters have no effect on OCR and Compressed characters. For selections > 2, a block character style will be used for alphanumeric characters. See NOTE below.
Incremented Static (Fixed) Alphanumeric Strings Incremented Static (Fixed) Alphanumeric Strings To create a fixed incremental alphanumeric string use the following basic command: This command is identical to the Static/Dynamic Alphanumeric string command except for the following added parameters. Table 10. Fixed Incremental Alphanumeric String Command Field Function Option/Modifier Selections I; Specifies that this command is an incremental alphanumeric command.
Chapter 9 PGL Commands Table 10. Fixed Incremental Alphanumeric String Command Field Function This parameter defines the starting incremental field. Option/Modifier Selections See the explanation following this table on how to construct the increment information field. STEPMASK (Increment Information Field) The STEPMASK parameter defines the size, amount of increment and which positions in the field will be incremented. Valid entries for the STEPMASK field are 0-9, L, and any other character.
STARTDATA (Incremented Field) The following examples show various ways the STEPMASK may be set up and the result each setup has on a field of data.
Chapter 9 PGL Commands Example 3: Non-incremental subfield with Linked subfields, Default RPT (1) and RST (999) In example 3 above, if the subfield was 0000A (alphabetic), the subfield to the left of the nonincremental linking subfield would increment alphabetically. 0000A 0000B 0000C ... ... 0000Z 0A00A ... ...
STARTDATA (Incremented Field) Example 5: Non-incremental subfield with incremented linked subfields, Default RPT (1) and RST (5000) Example 6: Linked Alphanumeric subfields with a Decrementing subfield and Non-incrementing subfield: Default RPT (2) and RST (0) 165
Chapter 9 PGL Commands Dynamic Incremented Alphanumeric Strings This command creates a window on the form in which a Dynamic Incremented Alphanumeric String will later be entered in the EXECUTE mode. The window is assigned a number (IAFn) that will be used in EXECUTE mode to identify in which window the string will print.
Duplication Commands (Create) Valid Ranges: 1 - 5461 lines for 6 LPI 1-7281 lines for 8 LPI NOTE: Make sure to send the proper command for the LPI. If you send the LFORMS command when the printer is set for 6 LPI, the results are not desirable. Duplication Commands (Create) There are two commands that can be used to duplicate elements on a form: HDUP (Horizontal Duplication) and VDUP (Vertical Duplication).
Chapter 9 PGL Commands Table 12. Horizontal Duplication Command Field HDUP;OFF Function Termines Horizontal duplication mode. Option/Modifier Selections Enter HDUP;OFF NOTE: You may embed Horizontal Duplication commands within Vertical Duplication commands, but you cannot embed Horizontal Duplication commands within Horizontal Duplication commands. Vertical Duplication Command This command allows you to duplicate specific elements vertically on a form, such as lines, logos, barcodes, etc.
Using Duplication Commands Using Duplication Commands Both the duplication commands use the same basic format. For these examples we will use the HDUP and VDUP commands to duplicate the BOMB Logo, which we create in a later section, on a form.
Chapter 9 PGL Commands Page Number Command (Create) This command allows you to place an automatically incremented page number on each page in a specific location. The format for this command is: Table 14. Page Number Command Field PAGE; Function Command Specifier Option/Modifier Selections Enter PAGE SR and SC parameters define the starting location of the page number. Whether in columns or dots depends on the SCALE Command. You may also use the XX.
Reverse Print Command (Create) Reverse Print Command (Create) This command allows you to define an area on a form where reverse printing (white ouput on black background) will be output. Reverse printing cannot be used with OCR Characters or Overlay Data. Table 15. Reverse Command Field Function Option/Modifier Selections REVERSE This is the command specifier. Using the following parameters a field of reverse printing will be defined for a location on a form.
Chapter 9 PGL Commands Exit CREATE Mode (Create) To exit the CREATE mode after creating your image, enter the following command: END When the printer receives this command it stores the work you have done and returns to NORMAL Mode. EXECUTE Mode (Normal) To use the commands listed above to execute printing of a form you must first enter EXECUTE Mode. To assist in composing the various parameters that can be used with the EXECUTE Form Command, the basic command is provided again.
EXECUTE Mode (Normal) Table 16. EXECUTE Form Command Field Function Option/Modifier Selections EXECUTE; Command Specifier. Instructs pritner to enter EXECUTE Mode. Enter the current Special Function Control Character followed by EXECUTE; Name; Specifies Form to print. Enter form name exactly as assigned when it was created. PAGEn; Optional parameter that sets the beginning page number for an incremental page number.
Chapter 9 PGL Commands Table 17. EXECUTE Form Command Optional Parameters Field EVFU Data Function Option/Modifier Selections Optional parameter that downloads the EVFU channels (lines) where Overlay data will be entered. You cannot mix line spacing on forms that use an EVFU program. Otherwise, the EVFU form is removed from memory. EVFU cannot exceed the physical length of the page. If it does the printer returns to Normal mode. Enter the Form Definition Sequence.
EXECUTE Mode (Normal) Table 17. EXECUTE Form Command Optional Parameters Field Function Option/Modifier Selections idir; Optional field specifying whether the data field will be incremented or decremented. Enter a plus sign +; or leave this field blank to increment in a positive direction. Enter a minus sign -; to decrement the data.
Chapter 9 PGL Commands Table 17. EXECUTE Form Command Optional Parameters Field Function Option/Modifier Selections STEPMASK; This parameter is the increment information field that defines the number of character positions in the data field, the increment amount for each position, and which positions will be incremented. See the previous explanation on Incremented Static Alphanumeric Strings for how to construct the STEPMASK parameter.
Box Command (Create) Table 17. EXECUTE Form Command Optional Parameters Field Function Option/Modifier Selections Line Feed A Line Feed command must separate the Execute Sequence from the NORMAL command. Enter Line Feed Command NORMAL Initiates printing of last form and returns printer to NORMAL Mode. Enter the current Special Function Control Character followed by NORMAL. NOTE: Do not forget to include a Line Feed before this command.
Chapter 9 PGL Commands Table 18. Box Command Field Function Option/Modifier Selections ER; Plots the ending ROW of the box. Enter a range ranging from 2 to one less than the maximum form length and the parameter delimiter. EC Plots the ending COLUMN of the box. Enter a value ranging from 2 to one less than the maximum form width. STOP Command Terminator. Enter STOP and the printer waits for a new command. Leave STOP out and the printer will wait for another BOX Command.
Using The Box Command Using The Box Command This command allows you to create a series of boxes, each smaller than the previous box. Make the first box 4” square and make each successive box smaller by approximately .25”. Each box will have a line thickness of 3 points. Start the first box at row 1 and column 1 (SCALE = DOT). The finished program would be: ~RESET ~CREATE;BOX SCALE;DOT BOX 3;1;1;288;240 3;22;19;267;222 3;43;37;246;186 3;85;73;206;168 STOP END ~EXECUTE;BOX ~NORMAL Figure 6.
Chapter 9 PGL Commands Call LOGO Command (Create) This command allows you to call a previously defined logo for priting at a specified place on the form you are creating. The format of this command is: Table 19. Call LOGO Command Field LOGO Function Initiates Create LOGO mode. Option/Modifier Selections Enter LOGO The SR and SC parameters use the same methods for defining the LOGO Print area. Whether in columns or dots depends on the SCALE Command. You may also use the XX.
Change LPI Command (Normal and Execute) Change LPI Command (Normal and Execute) This command selects an LPI setting for printer output. This command affects all printing in PGL mode except Overlay data. It will not reset the value selected in the printer menu system. when you are not using the PGL option, printer output is configured according to the settings in the pritner multi-level menus. Table 20. Change LPI Command Field Function Option/Modifier Selections LPI; Command Specifier.
Chapter 9 PGL Commands Change SFCC Command (Normal and Execute) This command allows you to change the current/default Special Function Control Character to one of your choosing. SFCC command characters may be selected from ASCII characters in Hex address 00-FF. The SFCC command is: Table 21.
Create Corner Frames (Create) Create Corner Frames (Create) This command allows you to crate Corner Frames for your forms. Similar to the BOX command, you define starting and ending points but in addition, you specify the length of the horizontal and vertical arms of each corner frame. The basic command for creating Corner Frames is: Table 22. Corner Command Field Function Option/Modifier Selections CORNER This is the command specifier.
Chapter 9 PGL Commands Table 22. Corner Command Field Function Option/Modifier Selections VL; Specifies the length of the vertical arms of each corner. Enter a value of 1 or greater. Do not forget the parameter delimiter. HL Specifies the length of the horizontal arms of each corner. Enter a value of 1 or greater. STOP Command Terminator. Enter STOP and the printer waits for a new command. Leave STOP out and the printer will wait for another CORNER Command.
Using The Corner Command Using The Corner Command The corner command is used and set up similar to the BOX Command, with a few additional parametres. Use the same basic program for this parameter and add two specifications for controlling arm lengths. Create a set of corner frames on our form with the same starting and ending points (SCALE = DOT) used in the BOX program presented previously, and add arm lengths of 30 dots.
Chapter 9 PGL Commands Create Form Command (Normal) This command is used to enter CREATE Form Mode. The command structure for entering CREATE Mode is: Table 23. Enter CREATE Mode Command Field Function Option/Modifier Selections CREATE Indicates CREATE Mode. Enter the current Special Function Control Character followed by CREATE. ;Name Enter the name of the form in this field. Form names are allowed a maximum of eight characters.
Create Logo Command (Normal) Using The Create Form Command This example shows how to design an employment application form for an Explosives Handler for a Demolition Company.
Chapter 9 PGL Commands Table 24. CREATE LOGO Mode Command Field Function Option/Modifier Selections LOGO; Initiates Create LOGO Mode. Enter the current Special Function Control Character followed by LOGO, then end the entry with the parameter delimiter. Name; Enter the name of the Logo in this field. LOGO names are allowed a maximum of eight characters.
Create Logo Command (Normal) Table 24. CREATE LOGO Mode Command Field Function Option/Modifier Selections Dot Pattern Specifies dot(s) that will be printed in the specified row. This information is entered in two ways: single dots or sequences of dots. Several single or sequences of dots can be defined for each row. Proper format for entering sequences of dots is beginning dot ending dot (23-44). Each of the entries must be separated by a semicolon. END Command Terminator. Enter END.
Chapter 9 PGL Commands 33;2-15;18-20;25-29 34;2-15;18-21;25-29 35;1-15;18-22;26-29 36;1-15;18-22;26-30 37;1-15;18-22;26-30 38;1-15;18-22;26-30 39;1-15;18-22;26-30 40;1-15;18-22;26-29 41;2-15;18-21;25-29 42;2-15;18-20;25-29 43;1-11;24-29 44;3-11;23-28 45;3-28 46;4-27 47;4-27 48;5-26 49;6-25 50;7-24 51;8-23 52;10-21 53;11-19 54;13-18 END Figure 8.
Delete Form Command (Normal) Delete Form Command (Normal) This command is used in NORMAL Mode to delete a stored form from memory. Table 25. Delete Form Command Field DELETE Function Command Specifier Enter the current Special Function Control Character, followed by DELETE FORM, then end the entry with the parameter delimiter. Parameter that specifies desired Form to delete. Enter the name of a specific form you want to delete or *ALL to delete all forms.
Chapter 9 PGL Commands Density Command (Normal and Execute) This command selects a Characters Per Inch for print output. Table 27. Density (CPI) Command Field Function Option/Modifier Selections DENSITY; Command Specifier Enter the current Special Function Control Character, followed by DENSITY, then end the entry with the parameter delimiter. n Parameter that specifies desired CPI setting. Valid selections are 10, 12, 13, 15, 17. 10A to select 10 CPI OCR-A and 10B to select 10 CPI OCR-B.
Expanded Print Command (Normal and Execute) Expanded Print Command (Normal and Execute) This command allows you to expand alphanumeric characters horizontally and vertically. Table 28. Expanded Print Command Field Function Option/Modifier Selections EXPAND; Command Specifier. Instructs printer to enter Expanded Print mode. Enter the current Special Function Control Character, followed by EXPAND, then end the entry with the parameter delimiter. VE; Vertical expansion amount.
Chapter 9 PGL Commands Horizontal And Vertical Line Commands (Create) In addition to boxes and corners, you can print horizontal and vertical lines on your forms. The following commands control location, length, and thickness of horizontal and vertical lines. Horizontal Line Command Table 29. Horizontal Line Command Field Function Option/Modifier Selections HORZ This is the command specifier. The following parameters define print location and line thickness of a horizontal line.
Horizontal And Vertical Line Commands (Create) Table 29. Horizontal Line Command Field STOP Function Command Terminator. Option/Modifier Selections Enter STOP and the printer waits for a new command. Leave STOP out and the printer will wait for another Horizontal Line Command. Vertical Line Command Table 30. Vertical Line Command Field VERT Function Command Specifier. Option/Modifier Selections Enter VERT The following parameters define print location and line thickness of a vertical line.
Chapter 9 PGL Commands Ignore Commands (Normal, Create, and Execute) Good parameters document what they are doing in different sections of their code by including things such as Comment Fields or REM statements. In PGL the same type of information can be included in PGL files by bracketing them with the IGON and IGOFF commands. In addition, some host systems pad the data stream with characters and spaces before the SFCC.
Normal Command (Normal and EXECUTE Mode) Normal Command (Normal and EXECUTE Mode) This command can be used in all modes. If the printer is in CREATE mode or EXECUTE mode, this command places the printer back into NORMAL Mode. If you are already in NORMAL Mode, sending this command will reset the printer to its Font and LPI defaults. The command format is: Table 32. NORMAL Mode Command Field NORMAL Function Initiates NORMAL Mode.
Chapter 9 PGL Commands Listen Command (Normal) This command re-enables the PGL Mode of your printer after a Quiet Command. The printer will respond appropriately to PGL Commands it receives. The following command enables Graphics Mode: Table 34. Listen Command Field LISTEN Function Command Specifier. Turns off Graphics Mode. Option/Modifier Selections Enter the current Special Function Control Character followed by LISTEN.
Scale Command (Create) Scale Command (Create) There are two commands that define the format that will be used in specifying where various elements of the form will be placed. Table 36. Scale Command Field Function Option/Modifier Selections Dot Scale Placement SCALE; Command Specifier. Enter SCALE; DOT Specifies that placement will be done using a dot-scale. Enter DOT to specify a dot measurement scale (dot-columns and dot-rows). Character Scale Placement SCALE; Command Specifier.
Chapter 9 PGL Commands Select Format (SF) Command (Normal, Create, and Execute) These commands allow you to configure PGL to ignore characters from 00 to 0F Hex. This enables the printer to ignore all host-generated paper movement commands. Table 37. Set Format Commands Field Function Option/Modifier Selections Turns Select Format Mode on. The printer ignores all characters from 00 to 0F Hex until it receives the SFOFF sequence. Enter the current Special Function Control Character followed by SFON.
Select Format (SF) Command (Normal, Create, and Execute) Practice Earlier in this chapter we presented some sample commands for creating various graphical elements for a form. Earlier we created a logo named BOMB and a form called JobAppl. Now let’s modify our earlier work and put them together with some Alphanumerical commands, line commands, and a BOX command to create a Job Application for a company called “Demolitions Are US.
Chapter 9 Practice The following program combined with the program for creating the BOMB log would produce the form in Figure 9 on page 203.
Select Format (SF) Command (Normal, Create, and Execute) Figure 9.
Chapter 204 9 Practice
10 PGL Barcodes PGL Barcodes (Used in CREATE Mode Only) PGL incorporates several barcode styles in its command set. Most barcodes use the same basic set of parameters. Barcode commands follow the same requirements as other PGL commands as far as how they are entered, ability to change orientation of printer output, adjust darkness of output, etc. They can also be printed in incremented format.
Chapter 10 PGL Barcodes (Used in CREATE Mode Only) Table 38. PGL Barcodes Enter Function C3/9CD Specifies a Code 39 type bacode. CD is an optional parameter that instructs the printer to calculate and plot the optional Modulo-43 check digit. C128B Specifies a Code 128B Barcode. C128C Specifies a Code 128C Barcode. EAN8 Specifies an EAN 8 Barcode. EAN13 Specifies an EAN 13 Barcode. I-2/5CD Specifies an Interleaved 2/5 Barcode.
Barcode Command Parameters Magnification Value (X-Factor) Optional parameter that specifies a horizontal expansion amount (X-Factor) for the barcode output. When used this value causes an increase in the physical size of the barcode. Table 39 lists the expandable barcodes and allowable expansion factors. Table 39. X-Factor VS Barcode Style ENTER Barcode Style X-Factor C3/9 C128B C128C I2/5 MSI A, B, C, &D X1 X1A X1B X1.
Chapter 10 PGL Barcodes (Used in CREATE Mode Only) BFn;L (Dynamic Barcode Data Field) Optional field that identifies location and the length of a dynamic Barcode field. To select this parameter: Enter BF followed by: n to identify the barcode data that will be located at the coordinates specified by the SR and SC parameters. The valid range of values is 1-255. L to specify the number of characters in the dynamic barcode field.
Barcode Command Parameters PDF Optional parameter that manipulates printing of human readable characters when it is present. In UPC and EAN barcode this parameter is not necessary to print human-readable characters (human readable characters are the default condition for these barcodes). Enter: PDF NOTE: Do not use this parameter if a null data field is specified. LOC (Location of Human Readable Characters) Optional parameter that changes the location of the human readable characters.
Chapter 10 PGL Barcodes (Used in CREATE Mode Only) Command Parameters VS Barcode Types Figure 10 provides a listing of the Barcode Command Parameters which are used by each Barcode Type. NOTE: Since all Barcode Types use the BARCODE, Name, and STOP parameters they are not present in the figure. The first parameter is the CD Parameter. Figure 10.
Data Field Characters Data Field Characters All of the barcodes presented in this chapter use the numeric characters 0-9 (HEX 30-39). The only exceptions to this rule are the Code 39 Barcode and the Code 128B Barcode. The Code 39 and Code 128B barcodes will also print alpha characters and some symbols. None of the barcodes can use the SFCC as part of a data field. Code 39 Data Field Characters The data field length for Code 39 Barcodes is variable.
Chapter 10 PGL Barcodes (Used in CREATE Mode Only) Code 128B and 128C Data Field Characters The data field length for 128B and 128C Barcodes is variable. It is best to limit field length to no more than 32 characters to minimize the potential for scanning errors. While Code 128C Barcodes will only print paired numeric values, you can send unpaired numeric, alpha characters, and symbols to the printer at the same time.
Data Field Characters Table 41. Code 128B Character Set Character HEX Value Character HEX Value Character HEX Value 6 36 ] 5D } 7D 7 37 ^ 5E ~ 7E 8 38 _ 5F DEL 7F 9 39 ‘ 60 FNC1 21 A 41 a 61 FNC2 22 B 42 b 61 FNC3 23 C 43 c 63 FNC4 24 D 44 d 64 CODEA 25 E 45 e 65 CODEC 27 F 46 f 66 SHIFT 28 To access the codes in the greyscale area of the table you must send a SO (OE) character followed by the HEX value for the desired code.
Chapter 10 PGL Barcodes (Used in CREATE Mode Only) POSTNET Data Fields POSTNET Barcodes use two data field lengths. A 9 digit data field for Zip + 4 and an 11 digit data field for Advanced Barcode format. The data field for POSTNET Barcodes can be comprised of the numeric characters 0-9. UPC-A Codes This barcode requires exactly 11 digits. The first character is translated as the number system character. The remaining 10 characters constitute the barcode data.
Code 39 PGL Barcode Commands And Output This section shows samples of all PGL supported barcodes and what the output will be on your printer. For each barcode, the basic format is provided followed by a CREATE program and sample printout of barcode data. Where possible each barcode will print in a horizontal and vertical (VSCAN) orientation.
Chapter 10 PGL Barcode Commands And Output Code 128B Sample CREATE Code 128B Program ~CREATE;128B BARCODE C128B;DARK;5;1 *CODE-128B* PDF STOP BARCODE C128B;VSCAN;H10;DARK;5;50 *CODE-128B* PDF STOP END Output: 216
Code 128C Code 128C Sample CREATE Code 128C Program ~CREATE;128C BARCODE C128C;DARK;5;5 *1234567891* PDF STOP BARCODE C128C;VSCAN;H10;DARK;5;50 *1281281281* PDF STOP END Output: 217
Chapter 10 PGL Barcode Commands And Output EAN 8 Sample CREATE Code EAN 8 Program ~CREATE;CODEEAN8 BARCODE EAN8;DARK;5;1 *1234567* PDF STOP BARCODE EAN8;VSCAN;H10;DARK;5;50 *1234567* PDF STOP END Output: 218
EAN 13 EAN 13 Sample CREATE Code EAN 13 Program ~CREATE;CODEEAN13 BARCODE EAN13;DARK;5;1 *1234567* PDF STOP BARCODE EAN13;VSCAN;H10;DARK;5;50 *1234567* PDF STOP END Output: 219
Chapter 10 PGL Barcode Commands And Output Interleaved 2/5 Sample CREATE Interleaved 2/5 Program ~CREATE;I2/5 BARCODE I-2/5;DARK;5;1 *123456789* PDF STOP BARCODE I-2/5;VSCAN;H10;DARK;5;50 *123456789* PDF STOP END Output: 220
MSI MSI Sample CREATE MSI Program ~CREATE;MSIA BARCODE MSIA;DARK;5;1 *123456789* PDF STOP BARCODE MSIA;VSCAN;H10;DARK;5;50 *123456789* PDF STOP END Output: 221
Chapter 10 PGL Barcode Commands And Output POSTNET POSTNET Samples • ZIP + 4 Program ~CREATE;POSTNET BARCODE POSTNET;5;1 *123456789* STOP END • Advaned Barcode Format ~CREATE;POSTNET BARCODE POSTNET;5;1 *12345678901* STOP END 222
UPC-A UPC-A Sample CREATE Code UPCA Program ~CREATE;EAN13 BARCODE UPC-A;DAR;5;1 *12345654321* PDF STOP BARCODE UPC-a;VSCAN;H10;DARK;5;50 *12345654321* PDF STOP END Output: 223
Chapter 10 PGL Barcode Commands And Output UPC-E Sample CREATE Code UPC-E Program ~CREATE;UPCE BARCODE UPC-E;DARK;5;1 *012345678900* PDF STOP BARCODE UPC-E;VSCAN;H10;DARK;5;50 *012345678900* PDF STOP END Output: 224
11 Barcode And LCP Printing Introduction This chapter describes all barcode and LCP sequences and control codes, regardless of your printer’s special barcode and LCP (Large Character Printing) implementation. NOTE: Be sure to observe the notes in this chapter regarding the special barcode/LCP Types implemented in your printer and which of the sequences described are not available as a result. Selecting the Barcode Mode automatically selects the corresponding character set.
Chapter 11 Introduction This may cause conflict with other emulations, since the above commands may have different functions in these emulations. For example: SI Condensed print DC4 Reset expanded print ESC P Proportional spacing ON/OFF ESC P Pica In Barcode Mode, the barcode sequences have priority. The barcode interpreter can be swited on or off with the MTPL sequences ESC [? 11 ~ (Barcode ON) and ESC [ ? 10 ~ (Barcode OFF).
Special Features For the parameter (n), a distinction must be made between two types of representation: • if the parameter is in pointed parentheses, the decimal value must be transmitted • if the parameter is not in pointed parentheses, the ASCII value must be transmitted Example: Parameter representation: , with n=0 to be transmitted: dec.0 (hex.00) Parameter representation: n, with n=0 to be transmitted: ASCII "0" (hex.30, dec.
Chapter 11 Secured/Unsecured Mode NOTE: These features are not available on all printers with MTPL emulation. Special firmware may be necessary. Ask your service representative for details. Secured/Unsecured Mode Unsecured mode Secured mode ESC PSC0 ESC \ ESC PSC1 ESC \ Data Structure ASCII ESC hex. 1B dec. 27 “P” 50 80 “S” 53 83 “C” 43 67 “0” 30 48 ESC 1B 27 “\” 5C 92 Unsecured Mode ASCII ESC hex. 1B dec.
Special Features Example 1 10 REM LCP unsecured mode 20 LPRINT CHR$(27); "[?11~"; 30 REM select unsecured mode 40 LPRINT CHR$(27); "PSC0"; CHR$(27); "\"; 50 REM set character size to 5 60 LPRINT CHR$(16); "5"; CHR$(25); 70 LPRINT "Example for " 80 LPRINT CHR$(15); "LCP"; CHR$(15); " unsecured mode" Example 2 10 REM LCP secured mode 20 LPRINT CHR$(27); "[?11~"; 30 REM select secured mode 40 LPRINT CHR$(27); "PSC1"; CHR$(27); "\"; 50 REM set character size to 5 60 LPRINT CHR$(16);
Chapter 11 Barcode Printing Barcode Printing Barcode Header Before the data, which contains the barcode information, are transmitted to the printer, the barcode header must be sent. Otherwise the standard parameter values are used (see “Header Format” below). In the header (the printing parameters), the barcode size and type are defined. This header only needs to be transferred once, unless settings are to be changed or the printer has been turned off.
Barcode Header The default parameter values are the following: • • • • • • • Unsecured mode (see section "Secured/Unsecured mode") HRI OFF, Normal Print, Double Pass (F = SP) Barcode Type 2/5 matrix (a = "A") Barcode height 1/6 inch (n = "1") Narrow bar (x = "0") Narrow space (y = "0") Ratio of wide to narrow 2 to 1 (z = "0") When only parts of the header are to be changed, copy the header up to the parameter which must be changed, and then close the header with the endof-header character.
Chapter 11 Barcode Printing Barcode Print Feature F for Selection of F-Code HRI or normal/compressed as well as single or double pass is switched via character F according to the following table. ASCII Char. SP ! " # $ % & ‘ ( ) * + , . / 0 1) 1 1) HRI 2) Pass 3) Print HexValue On Off 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 – – x x – – x x – – x x – – x x – x x x – – x x – – x x – – x x – – x – Normal Compr.
Barcode Header L = EAN 13 without HRI M = MSI/modified Plessey N = UPC A with HRI O = UPC A without HRI P = UPC E with HRI Q = UPC E without HRI R = Delta Distance (IBM) S = Code 128 T = EAN 128 All commercial barcodes (for labeling systems) of the H, I, K, L, N, O, P, Q Types can be extended using the barcodes Add-On 2 or Add-On 5 (see “Add-On Barcodes” on page 257). HRI HRI = Human Readable Index HRI characters are centered if enough space is left.
Chapter 11 Barcode Printing EAN/UPC Barcode (X, Y = unregarded): Table 2 Header Parameter Normal Compressed 1) z=0 z=1 1.95 : 1 1.60 : 1 1.30 : 1 0.95 : 1 Enlargement factor 1 ) These values are true, if “Compressed Print” is selected in the menu (see print feature [F]). 2 ) It is recommended to set the bar width equal to the space width (x=y). 3) Printer-dependent reference value. All values are only valid when a new color ribbon is used.
Code 2/5 Matrix Data Formats of Barcode Types Code 2/5 Matrix Syntax Figures (n) Start Code Stop Code ASCII “0” to “9” “:” “:” hex. 30 to 39 3A 3A dec. 48 to 57 58 58 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Chapter 11 Data Formats of Barcode Types Code 2/5 Industrial Syntax Figures (n) Start Code Stop Code ASCII “0” to “9” “:”, “<“ or “>” “:”, “=” or “?” hex. 30 to 39 3A, 3C, or 3E 3B, 3D, or 3F dec. 48 to 57 58, 60, or 62 59, 61, or 63 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Code 2/5 Interleaved Code 2/5 Interleaved Syntax Figures (n) Start Code Stop Code ASCII “0” to “9” “:” or “<“ “:” or “=” hex. 30 to 39 3A or 3C 3B or 3D dec. 48 to 57 58 or 60 59 or 61 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Chapter 11 Data Formats of Barcode Types Code 11 Syntax Figures/Characters (n) Start Code Stop Code ASCII “0” to “9” and “-” “:” “:” hex. 30 to 39 and 2D 3A 3A dec. 48 to 57 and 45 58 58 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Code BCD Matrix Code BCD Matrix Syntax Figures (n) Start Code Stop Code ASCII “0” to “9” “:” “:” hex. 30 to 39 3A 3A dec. 48 to 57 58 58 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Chapter 11 Data Formats of Barcode Types Code 39 Syntax Figures/Characters (n) Start Code Stop Code Not fixed, recommended: Not fixed, recommended: "0" to "9", "A" to "Z" and "$", "%", "*", "+", "-", ".", "/" “*” “*” hex. 30 to 39, 41 to 5A and 24, 25, 2A, 2B, 2D, 2E, 2F 2A 2A dec. 48 to 57, 65 to 90 and 36, 37, 42, 43, 45, 46, 47 42 42 ASCII Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
CODABAR CODABAR Syntax Figures/Characters (n) Start Code Stop Code Not fixed, recommended: Not fixed, recommended: "0" to "9", "A" to "D" and "$", "+", "-", ".", "/", ":" "a" to "e" and "n", "t", "*" "a" to "e" and "n", "t", "*" hex. 30 to 39 and 24, 2B, 2D, 2E, 2F, 3A 61 to 65 and 6E, 74, 2A 61 to 65 and 6E, 74, 2A dec. 48 to 57 and 36, 43, 45, 46, 47, 58 97 to 101 and 110, 116,42 97 to 101 and 110, 116,42 ASCII Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex.
Chapter 11 Data Formats of Barcode Types Code EAN 8 With HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Calculation see “Check Number Calculation” on page 258. Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Data Structure ASCII DC4 Start code nnnn Separation code nnnc Stop code DC4 hex. 14 Start code nnnn Separation code nnnc Stop code 14 dec.
Code EAN 8 Without HRI Code EAN 8 Without HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Calculation see “Check Number Calculation” on page 258. Data Structure ASCII DC4 Start code nnnn Separation code nnnc Stop code DC4 hex. 14 Start code nnnn Separation code nnnc Stop code 14 dec.
Chapter 11 Data Formats of Barcode Types Code EAN 13 With HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Calculation see “Check Number Calculation” on page 258. Data Structure ASCII DC4 Start code nnnnnnn Separation code nnnnnc Stop code DC4 hex. 14 Start code nnnnnnn Separation code nnnnnc Stop code 14 dec.
Code EAN 13 Without HRI Code EAN 13 Without HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Calculation see “Check Number Calculation” on page 258. Data Structure ASCII DC4 Start code nnnnnnn Separation code nnnnnc Stop code DC4 hex. 14 Start code nnnnnnn Separation code nnnnnc Stop code 14 dec.
Chapter 11 Data Formats of Barcode Types Code MSI/Modify Plessey Syntax Figures (n) Start Code Stop Code ASCII “0” to “9” “:” “:” hex. 30 to 39 3A 3A dec. 48 to 57 58 58 Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Code UPC A With HRI Code UPC A With HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Calculation see “Check Number Calculation” on page 258. Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Data Structure ASCII DC4 Start code nnnnnn Separation code nnnnnc Stop code DC4 hex. 14 Start code nnnnnn Separation code nnnnnc Stop code 14 dec.
Chapter 11 Data Formats of Barcode Types Code UPC A Without HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Start Code Separation Code Stop Code ":" ":" ":" 3A 3A 3A 58 58 58 Calculation see “Check Number Calculation” on page 258. Data Structure ASCII DC4 Start code nnnnnn Separation code nnnnnc Stop code DC4 hex. 14 Start code nnnnnn Separation code nnnnnc Stop code 14 dec.
Code UPC E With HRI Code UPC E With HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Calculation see “Check Number Calculation” on page 258. Start Code Stop Code ":" ":" 3A 3A 58 58 Data Structure ASCII DC4 Start code nnnnnnnc Stop code DC4 hex. 14 Start code nnnnnnnc Stop code 14 dec.
Chapter 11 Data Formats of Barcode Types Code UPC E Without HRI Syntax Figures (n) ASCII "0" to "9" hex. 30 to 39 dec. 48 to 57 Check Number (c) Calculation see “Check Number Calculation” on page 258. Start Code Stop Code ":" ":" 3A 3A 58 58 Data Structure ASCII DC4 Start code nnnnnnnc Stop code DC4 hex. 14 Start code nnnnnnnc Stop code 14 dec.
Code Delta Distance (IBM) Code Delta Distance (IBM) Syntax Figures/Characters (n) Start Code Stop Code "0" to "9" and "A" to "F" “F” “D” hex. 30 to 39 and 41 to 46 46 44 dec. 48 to 57 and 65 to 70 70 68 ASCII Data Structure ASCII DC4 Start code n ... n Stop code DC4 hex. 14 Start code n ... n Stop code 14 dec. 20 Start code n ...
Chapter 11 Data Formats of Barcode Types Code 128 Syntax Figures/Characters (n) Start Code Stop Code None None ASCII Table 45 on page 253. hex. dec. Data Structure ASCII DC4 n ... n DC4 hex. 14 n ... n 14 dec. 20 n ... n 20 Description While many barcode styles are limited to numbers, Code 128 can encode numbers, letters, and other symbols commonly found on keyboards, such as @, # and %. The Code 128 barcode is similar to three barcodes in one.
Code 128 Example If you need to print a Carriage Return (hex.0D, dec.13), as part of a barcode, send ">M" (13 + 64 = 77, see character set table to verify that decimal 77 equals the capital letter "M"). This substitution process can be carried out throughout the range of decimal values, i.e., ">d" (decimal 100) equates to the dollar symbol (decimal 36). If the greater-than symbol must be transmitted, send ">0" (the 0 will not be part of the printed data).
Chapter 11 Data Formats of Barcode Types Wert 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Code A Code B Code C Space Space ! ! " " # # $ $ % % & & ‘ ‘ ( ( ) ) * * + + ‘ ‘ hyphen hyphen period period / / 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 : : ; ; < < = = > > ? ? @ @ A A B B C C 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Wert 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Code 128 Wert Code A Code B Code C 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US FNC3 FNC2 SHIFT CODEC CODEB FNC4 FNC1 h 72 i 73 j 74 k 75 l 76 m 77 n 78 o 79 p 80 q 81 r 82 s 83 t 84 u 85 v 86 w 87 x 88 y 89 z 90 { 91 | 92 } 93 ~ 94 DEL 95 FNC3 96 FNC2 97 SHIFT 98 CODEC 99 FUNC4 CODEB CODEA CODEA FNC1 FNC1 Codes 96 through 102 do not have corresponding ASCII character t
Chapter 11 Data Formats of Barcode Types Example 10 20 30 40 50 256 REM code 128 LPRINT CHR$(27);"[?11~"; LPRINT CHR$(26);" S3;111";CHR$(25); LPRINT CHR$(20);"ABCD0123";CHR$(20); LPRINT CHR$(27);"[?10~"
EAN 128 EAN 128 Syntax Figures/Characters (n) Start Code Stop Code None None ASCII Table 45 on page 253. hex. dec. Data Structure ASCII DC4 n ... n DC4 hex. 14 n ... n 14 dec. 20 n ... n 20 Description The only difference between both types of barcodes is the initial sequence. Code 128 starts with Code A, Code B or Code C followed by character information. Barcode EAN 128 requires the code FNC1 between Startcode and character information. The Code 128 translation table remains valid.
Chapter 11 Data Formats of Barcode Types not printed in the barcode. The following numbers (2 or 5) are printed from left to right in Add-On barcode.
EAN 128 The commercial barcodes can be extended with the following user-specific additional barcodes (see “Add-On Barcodes” on page 257). • • Add-On 2 barcode Add-On 5 barcode Here the check number (c) is transferred before the barcode information (n). EAN 13 12 numbers are transferred for the EAN 13 code. The 13. digit represents the check number. The even figures of the information have a factor of "3", the uneven figures a factor of "1".
Chapter 11 Data Formats of Barcode Types UPCA 11 numbers are transferred for the UPCA code. The 12. digit represents the check number. The even figures of the information have a factor of "3", the uneven figures a factor of "1". Counting begins from the left. The resulting cross sum is divided by 10. The remaining figure is subtracted from the modul (10). If the remainder is "0", the check number is also "0".
EAN 128 Add-On 5 Six numbers are transmitted: check number (c) + 5 information items (n). The uneven figures of the information have a factor of "3", the even figures a factor of "1". Counting begins from the right. The resulting cross sum is divided by 10. The remaining integer value is subtracted from the modul (10). The result is transmitted as the check number (c).
Chapter 11 Data Formats of Barcode Types Example 4 Information 1 0 Remainder (1) 9 1 NOTE: The check number always lies between “0” and “3”; it is not printed in the HRI line. US Postnet Barcode Data Structure ASCII ESC "[" "1" SP "p" hex. 1B 5B 31 20 70 dec. 27 91 49 32 112 Description After receiving this sequence numeric characters from 0 (hex. 30) to 9 (hex. 39) are interpreted as barcode figures. Other Alpha characters are ignored. Control characters from hex.00 (dec.
Large Character Printing (LCP) Large Character Printing (LCP) Before you can transfer the LCP data (Large Character Printing) data to the printer, the LCP header must be sent. The LCP header is made up of a series of max. five characters. In the header, the printing parameters and the LCP character size are defined. This header only needs to be transferred once, unless settings are to be changed or the printer has been turned off.
Chapter 11 Data Formats of Barcode Types Example REM Example Character Densities OPEN "lpt1:" FOR RANDOM AS #1 WIDTH #1, 255 PRINT #1, CHR$(27); "[?11~"; PRINT #1, CHR$(16); "4"; CHR$(25); PRINT #1, CHR$(27); "[6w"; :REM 15CPI PRINT #1, CHR$(15); "LCP ";CHR$(15); PRINT #1, CHR$(27); "[5w"; :REM 12CPI PRINT #1, CHR$(15); "LCP ";CHR$(15); PRINT #1, CHR$(27); "[4w"; :REM 10CPI PRINT #1, CHR$(15); "LCP ";CHR$(15); PRINT #1, STRING$ (5, 10); END LCP Character Set US-ASCII LCP Character Set German Data Structu
LCP Character Set US-ASCII LCP Character Set German Example for Different LCP Character Sizes Example 2 REM Example 2 for unsecured printing OPEN "lpt1:" FOR RANDOM AS #1 WIDTH #1, 255 PRINT #1, CHR$(27); "[?11~"; PRINT #1, CHR$(27); "PSCO"; CHR$(27); "\"; PRINT #1, CHR$(16); "5"; CHR$(25); PRINT #1, "Example for "; PRINT #1, CHR$(15); "LCP"; CHR$(15);" unsecured mode"; PRINT #1, CHR$(10); CHR$(13); END Example 3 REM Example 3 for secured printing OPEN "lpt1:" FOR RANDOM AS #1 WIDTH #1, 255 PRINT #1, CHR
Chapter 11 Data Formats of Barcode Types Example 4 Unsecured Mode, vertical spacing with various enlargement factors D B E C A Legend A – a single line Feed (1/6") 1 B – Factor 6 character; heigth 6 × 12 ü 3 × 61 LF 1 C – Factor 7 character; height 7 × 12 additional space is added to gain a full Line Feed 1 D – Factor 4 character; height 4 × 12 ü 2 × 61 LF 1 E – Factor 5 character; height 5 × 12 additional space is added to gain a full Line Feed ▲ – start, actual print (cursor)-position ● – end, ac
A Customer Support TallyGenicom Customer Support Center IMPORTANT Please have the following information available prior to calling the TallyGenicom Customer Support Center: • • • • Model number • • • Is the problem with a new install or an existing printer? Serial number (located on the back of the printer) Installed options (i.e., interface and host type if applicable to the problem) Configuration printout.
Appendix A Corporate Offices Corporate Offices Printronix, Inc. 14600 Myford Road P.O. Box 19559 Irvine, CA 92623-9559 Phone: (714) 368-2300 Fax: (714) 368-2600 Printronix, Inc. Nederland BV P.O. Box 163, Nieuweweg 283 NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone: (65) 6542 0110 Fax: (65) 6546 1588 Printronix Commercial (Shanghai) Co. Ltd 22F, Eton Building East No.
B ASCII Chart 269
Appendix B 270
C Logos 271
Appendix C 272
D Patterns 273
Appendix D 274
Appendix D 276
E Fonts ^~FQ Draft 277
Appendix E ^~FQ NLQ 278 ^~FQ NLQ
^~FQ OCR-A & B 279
Appendix E ^~FF Draft 280 ^~FF Draft
^~FF NLQ 281
Appendix E ^~FF OCR-A & B ^~FF OCR-A & B 282
^~FH Draft 283
Appendix E ^~FH NLQ 284 ^~FH NLQ
^~FH OCR-A & B 285
Appendix E 286 ^~FH OCR-A & B
F Commands Table 46: Command Table Command Description Inside Pass Outside Pass ^#n Compressed Fonts X ^@Cnn Draft Fonts ^@Hn Dump Mode ^@Lnn Lines Per Inch (LPI) X X ^[nnn Data Field, Buffered Forms X X ^A Ignore Data Off X X ^B^-^] Buffered Formatting, Version 1 ^B{B,N,O,S,T,Y}9x^G Barcode Style 1, Horz Var.
Appendix F Table 46: Command Table Command Description Inside Pass Outside Pass ^Hnn Pass Height X ^IBARC,x,R,{N,E,B},^G Barcode Style 2, Var. Ratio X ^IBARC,x,{N,E,B},^G Barcode Style 2 X ^IFONT,S,n^G Default Font X ^IFORM,C...
Table 46: Command Table Command Description Inside Pass Outside Pass ^O Free Format Off X ^PN Graphics Mode Off X ^PY Graphics Mode On X ^Q^G Plot Mode X ^R Reverse Image Toggle X ^R^- Buffered Form Repeat X ^Rnnnn^-^-^Z^- Vertical Repeat, Version 1 X ^Sn NLQ fonts ^Snntt^-^-^S^- Horizontal Repeat, Version 1 ^Thhhd Horizontal Tab X ^Uhhwwjjd Graphics Pass, Upside Down X X ^Vhhwwjjd Graphics Pass, Vertical Down X X ^Wnn Line Slew ^W
Appendix F 290
G Modplot The Modplot option is designed to give the user a choice in spacing between Graphics and Text when leaving Graphics or Plot mode. Modplot ON: A single LF advances the print postion one full line. This is the default setting. Modplot OFF: A single LF advances the print position to the next line position relative to the top of form. Modplot can be found as a print option in Configuration Menu, under the Printer section.
Appendix G 292
H Control Panel Selection Printer Control Panel: Graphics Category This Appendix lists the Graphics Category parameters in the Configuration Menu of your printer. It includes changes and additions that were made to the menu. Graphic Category (Menu Level 1) This category allows you to configure certain aspects of the Graphics Processing Options on your printer.
Appendix H Graphic Category (Menu Level 1) PY Then Parameter (Menu Level 3) This command defines printer response to characters following the ^PY Command on the same line. PY Then Selections (Menu Level 3) None (Default) All Term NOTE: How your printer responds to data and control codes that follow a ^PY Command or a ^PN Command on the same line is shown in the Code V Application section of the Graphics Application Manual in Appendix I.
Descender (Descndr) Parameter (Menu Level 2) Descender (Descndr) Parameter (Menu Level 2) This parameter controls insertion of the character descender gap between print lines. Descndr Selections (Menu Level 2) Fixed: The descender gap is always inserted after the line regardless of the setting of Descender Mode (Default selection). Auto: The descender gap is only inserted after lines containing characters with descenders.
Appendix H 296 Graphic Category (Menu Level 1)
I PY/PN Data Processing PN Then Data Processing When PN Then = NONE Character Number 1 2 3 4 5 6 7 8 9 ..... Data Stream ^ P N X O X O X O .....
Appendix I PN Then Data Processing When PN Then = ALL PN Then Data Processing When PN Then = ALL Character Number 1 2 3 4 5 6 7 8 9 ..... Data Stream ^ P N X O X O X O .....
PY Then Data Processing When PY Then = NONE 299
Appendix I PY Then Data Processing When PY Then = TERM PY Then Data Processing When PY Then = TERM PY Then Data Processing When PY Then = ALL 300
J Block-Character Size Tables Block Character Size Table The following table lists the approximate physical size of expanded Block Characters specified in the Alphanumerics String Creation Command. Table 47: Block Character Size Expansion Factor Character Height Character Width Expansion Factor Character Height Character Width 0 0 0 17 1.75” 1.67” 1 0.12” 0.08” 18 1.75” 1.83” 2 0.23” 0.17” 19 1.87” 1.92” 3 0.35” 0.33” 20 1.98” 2.00” 4 0.35” 0.42” 21 2.10” 2.08” 5 0.
Appendix J Block Character Size Table Table 47: Block Character Size Expansion Factor Character Height Character Width Expansion Factor Character Height Character Width 34 3.38” 3.42” 62 6.18” 6.17” 35 3.50’ 3.50’ 63 6.30” 6.33” 36 3.62” 3.58” 64 6.42” 6.42” 37 3.73” 3.67” 65 6.53” 6.50” 38 3.85” 3.92” 66 6.65” 6.58” 39 3.97” 4.00” 67 6.65” 6.67” 40 4.08” 4.08” 68 6.77” 6.83” 41 4.20” 4.17” 69 6.88” 6.92” 42 4.20” 4.33” 70 7.00” 7.00” 43 4.
Table 47: Block Character Size Expansion Factor Character Height Character Width Expansion Factor Character Height Character Width 90 8.98” 9.00” 102 10.15” 10.17” 91 9.10” 9.08” 103 10.27” 10.33” 92 9.22” 9.17” 104 10.38” 10.42” 93 9.33” 9.33” 105 10.50” 10.50” 94 9345” 9.42” 106 10.63” 10.58” 95 9.45” 9.42” 107 10.73” 10.67” 96 9.57” 9.58” 108 10.85” 10.83” 97 9.68” 9.67” 109 10.85” 10.92” 98 9.80” 9.83” 110 10.97” 11.00” 99 9.92” 9.
Appendix J 304 Block Character Size Table
K Character Sets The following symbol sets are available in the barcode mode. The LCP symbol sets can only be selected via Escape sequences. The OCR-A and OCR-B fonts can be selected via control panel or by Escape sequences, which correspond to the selected emulation mode. The codes hex.A0 up to hex.FE correspond to the selected character set. The following example shows you how to find the hexadecimal value for a character from the character set table.
Appendix K LCP Character Sets LCP Character Sets German hex dec 0 306 0 1 2 3 4 5 6 7 NUL 0 16 32 48 64 80 96 112 1 1 17 33 49 65 81 97 113 2 2 18 34 50 66 82 98 114 3 3 19 35 51 67 83 99 115 4 4 20 36 52 68 84 100 116 5 5 21 37 53 69 85 101 117 6 6 22 38 54 70 86 102 118 7 7 23 39 55 71 87 103 119 8 8 24 40 56 72 88 104 120 9 9 25 41 57 73 89 105 121 A 10 26 42 58 74 90 106 122 B 11 27 43 59
US-ASCII US-ASCII hex dec 0 0 1 2 3 4 5 6 7 NUL 0 16 32 48 64 80 96 112 1 1 17 33 49 65 81 97 113 2 2 18 34 50 66 82 98 114 3 3 19 35 51 67 83 99 115 4 4 20 36 52 68 84 100 116 5 5 21 37 53 69 85 101 117 6 6 22 38 54 70 86 102 118 7 7 23 39 55 71 87 103 119 8 8 24 40 56 72 88 104 120 9 9 25 41 57 73 89 105 121 A 10 26 42 58 74 90 106 122 B 11 27 43 59 75 91 107 123 C 12 28 44 60 76 92
Appendix K LCP Character Sets OCR-A (Code Page 437) hex dec 0 308 0 1 2 3 4 5 6 7 NUL 0 16 32 48 64 80 96 112 1 1 17 33 49 65 81 97 113 2 2 18 34 50 66 82 98 114 3 3 19 35 51 67 83 99 115 4 4 20 36 52 68 84 100 116 5 5 21 37 53 69 85 101 117 6 6 22 38 54 70 86 102 118 7 7 23 39 55 71 87 103 119 8 8 24 40 56 72 88 104 120 9 9 25 41 57 73 89 105 121 A 10 26 42 58 74 90 106 122 B 11 27 43 59 75
OCR-B (Code Page 437) OCR-B (Code Page 437) hex dec 0 0 1 2 3 4 5 6 7 NUL 0 16 32 48 64 80 96 112 1 1 17 33 49 65 81 97 113 2 2 18 34 50 66 82 98 114 3 3 19 35 51 67 83 99 115 4 4 20 36 52 68 84 100 116 5 5 21 37 53 69 85 101 117 6 6 22 38 54 70 86 102 118 7 7 23 39 55 71 87 103 119 8 8 24 40 56 72 88 104 120 9 9 25 41 57 73 89 105 121 A 10 26 42 58 74 90 106 122 B 11 27 43 59 75 91 107 123
Appendix K 310 LCP Character Sets
L Addendum to the Line Printer Graphics Applications Manual Postal Barcodes Barcode Code V PGL U.S. POSTNET ^IBARC,POSTNET barcode=POSTNET U.S. PLANET ^IBARC,PLANET barcode=PLANET U.K. 4-State ^IBARC,UKPOST barcode=UKPOST barcode=ROYALBAR Dutch KIX 4-State ^IBARC,KIX barcode=KIX barcode=ROYALBAR;KIX PostBar (generic POSTNETstyle barcode) barcode=POSTBAR PDF417 2-D Barcode PDF417 is a multi-row, variable length symbology offering high data capacity and error correction capability.
Appendix L PDF417 2-D Barcode PDF417 In Code V ^IBARC,PDF417,<1-99>,<0-9>,^G Where: <1-99> is the number of desired data columns in the barcode. <0-9> designates the error correction level.
PDF417 in PGL Example: ^M1103000^T0010^IBARC,PDF417,2,3,This is an example^G Produces a barcode with bars 11 dots high and 3 dots wide, containing 2 data columns and 16 error correction codewords (error correction level 3). The encoded data is “This is an example”. PDF417 in PGL BARCODE PDF417;n;>n;><(Hn)|(Wn);><(Rn)| (Cn);> SR;SC(T) STOP(T) X<(D)>n Specifies the horizontal size of the narrow bar in 1/60ths of an inch, if D is present.
Appendix L Code 128A Barcodes in PGL Table 48: Commands That Cannot Be Used Together X H W ASPECT R C H - X X X X W X - X X X ASPECT X X - X X R X X X - X C X X X X - X Y Y X - S - Code 128A Barcodes in PGL The PGL graphics emulation now supports selection of Code 128A barcodes from within a bar code command. Enter C128A as the barcode name. Codabar Codes in PGL The PGL graphics emulation now supports selection of Codabar barcodes from within a bar code command.
PDF417 in PGL Barcode Rotations in PGL Barcodes can now be rotated in four different orientations instead of the former two orientations. VSCAN is still supported to create a 90 degree counterclockwise barcode. The new parameters are use in place of VSCAN to allow new rotations. The new parameters are CW to create a 90 degree clockwise bar code, INV to create an inverted (180 degree) bar code, and CCW to create a 90 degree counterclockwise bar code.
Appendix L ISET/USET Commands In PGL ISET/USET Commands In PGL The PGL graphics emulation now supports the ISET and USET commands. The ISET command can be used in NORMAL, CREATE, and EXECUTE modes and is used to select standard or user-defined character sets. Userdefined character sets are created with the USET command in NORMAL mode.
PDF417 in PGL ISET Parameter USET Parameter Character Set 0 US ASCII 1 German 2 Swedish 3 Danish 4 Norwegian 5 Finnish 6 English 7 Dutch 8 French 9 Spanish 10 Italian 11 Turkish 24 1 User-defined character set 1 25 2 User-defined character set 2 26 3 User-defined character set 3 27 4 User-defined character set 4 28 5 User-defined character set 5 29 6 User-defined character set 6 30 7 User-defined character set 7 31 8 User-defined character set 8 POINT Parm
Appendix L 20 CPI Support In PGL 20 CPI Support In PGL 20 CPI text can now be selected from the ALPHA and DENSITY commands. Use C20 in the ALPHA command and 20 in the DENSITY command. SCALE Command Modifications In PGL The SCALE command has been modified in the following manner: Field Function Option/Modifier Selections Dot Scale Placement SCALE; This is the command specifier. Command Identifier DOT Specifies that placement will be done using a dot-scale.
Index Symbols Barcode Command Parameters, PGL Barcodes, 205 ^~FF Draft, Fonts, 280 Barcode Data, Incrementing, 214 ^~FF NLQ, Fonts, 281 Barcode Header, Barcode Printing, 230 ^~FF OCR-A, Fonts, 282 Barcode Printing, 230 ^~FF OCR-B, Fonts, 282 barcode header, 230 ^~FH Draft, Fonts, 283 Barcode Rotations in PGL, Line Printer ^~FH NLQ, Fonts, 284 Graphics, 315 ^~FH OCR-A, Fonts, 285 Barcode Types, Data Formats, 235 ^~FH OCR-B, Fonts, 285 Barcodes, 61 ^~FQ Draft, Fonts, 277 Code 128, 72 ^~FQ
C Block Character control panel option, 27 Block Character Fonts, 37 Call LOGO Command, PGL Commands, 180 10 CPI, 38 Case, Special Function Control Character, 151 12 CPI, 39 change, 18 15 CPI, 39 Change CVCC 7.
Code 2/5 Interleaved, Data Formats of Barcode Commands, PGL Barcodes, 215 Types, 237 Comments, Special Function Control Code 2/5 Matrix, Data Formats of Barcode Character, 153 Types, 235 Compressed Fonts, character printing, 41 Code 39, 130 Control Code Command Changes, 116 Code 39 Type 1 Examples, 132 Control Code Command Changes, Buffered Code 39 Type 2 Examples, 133 Forms, 101 Code 39, PGL Barcode Commands, 215 Control Code Equivalents, Free Format, 20 Code BCD Matrix, Data Formats of Bar
Data Field Characters, PGL Barcodes, 211 Double Density (^D) Examples, Block Data Fields, Buffered Forms, 99 Characters, 143 Data Formats of Barcode Types, 235 double-density printing, Special Function Control CODABAR, 241 Character, 154 Code 11, 238 Draft Fonts, 44 Code 128, 252 Dump Mode, character printing, 45 Code 2/5 Industrial, 236 Duplication Commands, PGL Commands, 167, 169 Code 2/5 Interleaved, 237 Dynamic Incremented Alphanumeric Strings, PGL code 2/5 matrix, 235 Commands, 166 E
H Form Drawing, 55 Form Length, Positioning Data, 87 Form Names, Special Function Control Half Space Font Mode, 45 Character, 152 Half-Dot Mode (Double Density), 36 Half-Dot Mode and Half-Tones, 36 Forms, Buffered, 99 Forms, Predefined, 109 Half-Dot Mode (Double Density), character Free Format, 19 printing, 36 control code equivalents, 20 Half-Dot Mode and Half-Tones, 36 turn off, 19 Half-Tone Reverse Image, 35 turn on, 19 Half-Tone Toggle, 35 Full Space Font Mode, 44 G Half-Tone, character
Interleaved 2/5, PGL Barcode Commands, 220 Logo Command, PGL Commands, 187 Interleaved Two of Five, 135 Logo Names, Special Function Control Interleaved Two of Five, Barcode, 137 Character, 152 Interrupt Function, Positioning Data, 88 Logos, 58, 271 Invalid Commands, Industrial Graphics Version 1, 58 Application, 122 Version 2, 59 M ISET Commands in PGL, 316 ISO Character Set Table, 47 Menu Operations, PGL, 147 ISO Character Sets, 46 L Mixing Barcode/Block Characters, 144 Modplot, 291 Larg
Patterns, 273 PDF417 in Code V, Postal Barcodes, 312 Dynamic Incremented Alphanumeric Strings, 166 PDF417 in PGL, Postal Barcodes, 313 EXECUTE mode, 172 PGL Barcode Commands Exit CREATE Mode, 172 Code 128B, 216 expanded print command, 193 Code 128C, 217 horizontal line commands, 194 Code 39, 215 ignore commands, 196 EAN 13, 219 Incremented Static Alphanumeric Strings, 161 EAN 8, 218 normal command, 197 Interleaved 2/5, 220 page number command, 170 MSI, 221 PGL mode control, 197 output, 2
R pass height, 85 pass width, 86 vertical justification, 84 Repeat, Buffered Forms, 108 Repeating Data, 89 Postal Barcodes PDF417 in Code V, 312 PDF417 in PGL, 313 Postal Barcodes, Line Printer Graphics, 311 Repeating Data Version 1, 98 horizontal repeat, 98 vertical repeat, 98 Repeating Data Version 2, 89 Postnet Barcodes, 79 accessing POSTNET in CVCC, 79 horizontal repeat, Horizontal Repeat, Repeating Data Version 2, 89 AIAG barcodes, 80 CPI, CPI, Postnet Barcodes, 79 multiple repeat commands, 92
numeric variables, 153 Vertical Repeat, Repeating Data Version 1, 98 parameter delimiter, 151 Vertical Repeat, Repeating Data Version 2, 91 PGL modes, 155 Vscale Parameter, Graphic Category, 295 print position location, 153 Vscale Parameter, PGL Graphic Parameters, 150 W printable data delimiter, 152 spaces, 152 Special Function Control Character, PGL Command Set Standards, 151 Standards, PGL Command Set, 151 STARDATA, PGL Commands, 162 STEPMASK, PGL Commands, 162 Width, barcodes, 62 Z Zero Param
*255557-001* 255557-001A