Page
Page
 136458±001, Rev B
 Copyright  1995, PRINTRONIX, INC
 Trademark Acknowledgments
Page
 Table of Contents
 PTXSetup
Commands
Page
 Bar Codes
 Form Examples and Exercises
Multinational Character Sets
 Error Codes
 Chapter Contents
Introduction
 How to Locate Information
About this Manual
 Features
 Introduction
 How the IGP/PGL Operates
 ±1. IPG/PGL Modes
 Normal Mode
Modes of Operation
 ±1. Normal Mode Commands
Command Mnemonic Description
 Uppercase
Quiet Mode
Create Form Mode
 ±2. Create Form Mode Commands
 Create Logo Mode
Execute Form Mode
 ±3. Execute Form Mode Commands
LPI Iset Normal Paper Reset Sfon Sfoff
 Configuration Mode
AutoEject
 Option Parameter Comments Value
Ext Execute Copy
 Option Parameter Comments
Value Select Font
 ±5. Ascii Conversion Table
BEL
 Alphanumeric Data
Incremental Data
 ±18 Introduction
 Configuration
 Configuring the IGP/PGL with the Control Panel
 ±1. The Configuration Menu
IGP/PGL Emulation Submenu
 Define CR Code Carriage Return
Define LF Code Line Feed
Autowrap
Select Sfcc
 Select Font
Auto Eject
Select LPI
S. Ascii
 Skip Command Prefix
Power On IGP/PGL
Auto Uppercase
Extended Execute Copy
 IGP100 Compatibility
UPC Descenders
Host Form Length
 Configuration
 PTXSetup
 Ptxend
PTXSetup Command Description
Ptxsetup
 End command for the PTXSETUP. When
 PTXSetup Command Parameters and Values
Diskio
 DELªfilenameº
Fontend
 PTXSetup Command Example
Ptxsetup ENGINE±LENGTH11000WIDTH8500 Ptxend
 Commands
Page
 IGP/PGL Command Standards
Inline Commands
Special Function Control Character Sfcc
Semicolon
 Line Terminator
Printable Character
 Form Name
Command Parameters
Spaces
 Comments in Command Lines
Prompt
Numeric Values
Storing Data
 Uncompressed and Packed Bits Compression
Character Position.Dot Position CP.DP Format
 ±1. CP.DP Format Example
 Data Fields for Alphanumeric and Incremental Data
Fixed Data
Overlay Data
Dynamic Data
 Dark Printing
Incremental Data Fields
Thermal Printers
Line-Matrix Printers
 ±2. Dark Printing
 Alphanumerics
Purpose
Mode
Format
 DIR
 Point
 Stop
 CCW454800*E INV454800*E
 ±3. Alphanumeric Example
 Using Incremental Alphanumeric Data
Alphanumerics, Incremental Fields
 ±1. Increment Alphanumeric
Stepmask Start Data
 ±20 Commands
 Commands ±21
 Alphanumerics, Incremental Fixed Data Fields
Alpha
RPTn RSTn Dstartdatad
Idir
 RSTn
Startdata
 ~CREATETEST288
Vdupoff END
~EXECUTETEST
~NORMAL
 IAFnL
Alphanumerics, Incremental Dynamic Data Fields
Cn IAFnL DIR UC SR SC VE HE Stop
 ±26 Commands
 Commands ±27
 Where
 VDUP36 Repeats alpha string
 Boxes
BOX
LT SR SC ER EC
Stop BOX
 Stop indicates the end of the Box command enter
Box command parameters
Defines the ending column of the box. Enter a value
Ranging from column 2 through the last column
 ±4. Box Example
 ~DENSITY15
Compressed Print Density
Density
 Configuration
Config
±2. Config Command Parameters
Normal
 ~CONFIG Auto WRAP1 Auto EJECT0 LPI6 END
~CONFIG Reset END
 Corners
Corner
LT SR SC ER EC VL HL
Stop Corner
 On the Scale command page 4±88, or use the CP.DP
Based on the Scale command page 4±88, or use
Stop indicates the end of the Corner command
Another set of Corner command parameters
 ±5. Corner Example
 Formname
Create
Format ccCREATE /formname FL Disk
 Optional forms length parameter to specify
Maximum length of the form. Form length cannot
Exceed the physical length of the page. Refer to
Appendix C. Specify the form length in one of three
 Delete Form
Delete Form
Disk
~DELETE FORMPAY#DISK
 Delete Logo
Delete Logo
Logoname
Example
 Directory
Directory
 Duplication, Horizontal
Hdupoff
Dup#
Offset#
 Vert
 Duplication, Vertical
Vdupoff
 Horz
 End
Format END
 Execute Form Mode
How to Use the Execute Command
 Print Formats in the Execute Form Mode
 Execute Form General Format
 When the last page prints, the IGP/PGL returns to
Data, or Evfu data are used in the Execute command
Optional form count parameter specifies
Number of copies of the form to print. Enter
 Form Feed Character
 Ascii text
Execute Form Dynamic Alphanumeric Data
CcAFn Dascii textD
 Data field
Execute Form Dynamic Bar Code Data
Format ccBFn Ddata fieldD
 Execute Form Incremental Dynamic Data
CcEXECUTE formname page n FC ICNTn IRSTn
 Supplying Dynamic Data for Incremental Fields
IAF
IBF
Idir
 Startdata
 Execute Form Overlay Data
 Expand
Expanded Print
NORMAL, Execute
 Font
Format ccFONT Face # Bold # Slant # Symset # Point #
Font
Face #
 Bold #
Slant #
Symset #
Point #
Page
 Form Length
LFORM6
LFORM8
LFORM648
 Igoff
Ignore Sequence
Igon
 Line Spacing
LPI
 Stop Horz
Lines, Horizontal
LT R SC EC
 ±68 Commands
 Stop Vert
Lines, Vertical
LT C SR ER
 ±70 Commands
 Listen
Listen
 Logo Call
Logo
SR SC logoname
Stop Logo
 Stop
 Logo Mode, Create
CcLOGO logoname VL HL Disk
Row# dot Dot1±dot2 dot
Row#
 Terminates the Create Logo mode enter END
END
 ~LOGOTAPEHOLD3640
 Normal Mode
 Number
SR SC
 Paper
 Rotate #
Speed
Ribsave #
Tear #
 PCX Logo
PCX
PCX raster data
Rasterend
Page
 ~PRINTSETUP.PTX
Print File
Print
Filename
 Quiet
Quiet
 Reset
Reset
 Reverse Print
Reverse
Dark SR SC ER EC
Stop Reverse
 Dot column is specified based on the Scale command
Stop indicates the end of the Reverse command
Command. If not entered, the IGP/PGL will expect
Another set of Reverse Print command parameters
 Value from 1 to the target DPI. The default is 6 lpi
Scale
DOT
Char
Page
 Command Paper Movement Function
Select Format
Sfon
Sfoff
 Setup
Setup
Setupend
Host Data
 Tiff raster data
Tiff Logo
Tiff
Page
 ±94 Commands
 Bar Codes
 Overview
±1. Available Bar Codes
Code Code 128 ± Subset B Subset C Codabar Code UCC±
Interleaved 2/5
 Postnet UPC±A UPC±E UPC±E0
Postnet
UPC±E and UPC±E0
 User±Defined Variable Bar Code Ratios RDratio
 Format Size Avg. X Dim Ratio
 ±2. T3306 & T3308 Binary Bar Code Sizes
 Bar Codes
 ±3. T3306 & T3308 Binary Bar Code Sizes CW & CCW Drawing
 ±3. T3306 & T3308 Binary Bar Code Sizes
 20 mil Landscape
 ±5. T3306 & T3308 4-Element Bar Code Sizes CW & CCW Drawing
 ±5. T3306 & T3308 4-Element Bar Code Sizes
 ±6. T3204 & T3304 Binary Bar Code Sizes
Bar Codes ±13
 16.7 mil 671 Portrait
 ±7. T3204 & T3304 Binary Bar Code Sizes CW & CCW Drawing
±7. T3204 & T3304 Binary Bar Code Sizes
 Mil 331 26.7 mil
 ±9. T3204 & T3304 4-Element Bar Code Sizes CW & CCW Drawing
 ±9. T3204 & T3304 4-Element Bar Code Sizes
 Variable Ratio Sample
~CREATETEST
Scalechar Alpha
Barcode
 ±20
 Code
±1. Code 39 Structure
 Quiet Zone
Start/Stop Codes
Data Field
Readable Data
 Code 39 Command Format
C3/9 CD Vscan MAG Hn.m BFnL Dark SR SC Ddata fieldD
MAG
Hn.m
 BFnL
Dark
 LOC
Font
 Code 39 Example
±10. Code 39 Character Set
~CREATEC39
Sample C3/9
 ±2. Sample Code 39 Bar Codes
 ±3. Code 93 Structure
 Code 93 Data Field
 Vscan
Code 93 Command Format
CODE93
 To use this field, perform the following steps
 Same character must be used at both ends
 ±11. Code 93 Character Set
 Code 93 Example
Scalechar Barcode
 Codabar
±4. Codabar Structure
 Quiet Zone
 Codabar CD
Codabar Command Format
Codabar CD Vscan MAG Hn.m BFnL Dark SR Ddata fieldD
 ±38
 Bar Codes ±39
 ±12. Codabar Character Set
 ~EXECUTETEST ~NORMAL
Codabar Example
CODABARVSCANX1H7520
 Code 128B and Code 128C
±5. Code 128 Structure
 Code 128B Data Field
Code 128C Data Field
 Code 128 Command Format
C128C
 Dark
 Sfcc
 ±13. Code 128B Character Set
 ±14. Code 128C Character Set
 Code 128B Example
~CREATE128B
Sample Code 128B
~EXECUTE128B1
 ~EXECUTE128C1
Code 128C Example
~CREATE128C
 Code UCC ±128
±8. Code UCC±128 Structure
 Quiet Zone
 Code UCC±128 Command Format
UCC±128
 Dark
 Must be used at both ends of the data field, but it will
Not print with the data
 ~EXECUTEUCC±1281
Code UCC±128 Example
~CREATEUCC±128
 EAN
 Start/Center/Stop Codes
 SCB
EAN 8 Command Format
EAN8 +n Vscan SCB MAG Hn.m BFn Dark SR Ddata fieldD
 Inches
 Form. Character row or dot row is specified based on
Scale command page 4±88, or use the CP.DP
Ranging from row 1 to one less than the length
 Trailing lower portions of the EAN bar code
Readable data field. The default value, N, selects
Font. Enter S to suppress printing the data field
 ~EXECUTEEAN81
EAN 8 Example
~CREATEEAN8
 EAN
±12. EAN 13 Structure
 Number System Character
 EAN 13 Command Format
EAN13 +n Vscan SCB MAG Hn.m BFn Dark SR Ddata fieldD
 ±10 for more information
Optional parameter to produce darker looking bar
Codes. Enter DARK. Refer to ªDark Printingº on
 Vertically oriented symbols can be encoded in either
Or upper side on vertically oriented symbols
Left side of the data field or lower side on
Number system character. a bar code character is not
 ±15. Left Side Data Field Format
 ~EXECUTEEAN131
EAN 13 Example
~CREATEEAN13
 FIM
 ±15. FIM Structure Vscan
 Clear Zone
Start/Stop Code
 FIM Command Format
FIM Vscan Hn.m BFn Dark SR SC Ddata fieldD
 Row or dot row is specified based on the Scale
 ~EXECUTEFIMB1
FIM Example
~CREATEFIMB
 ~EXECUTEFIMC1
~CREATEFIMC
POSTNETDARK33.315
 Interleaved 2/5 I±2/5, German I±2/5
±18. I±2/5 Structure
 Quiet Zone
 ±2/5 Command Format
I25GERMAN Vscan MAG Hn.m BFnL Dark SR SC D data field D
 Bar Codes ±81
 Defines the starting row for the bar code. Enter a value
Character used within the data
Same character must be used at both ends
Data field, but it will not print with the data
 ±2/5 Example
Printable data field above bar code
To compensate for printing the 0.1±inch high data,
Height of the bar code body is reduced 0.1±inch
 ±19. Sample I±2/5 Bar Codes
 MSI
 Quiet Zone
 MSI Command Format
MSI n Vscan MAG Hn.m BFnL Dark SR SC Ddata fieldD
 Default value is 0.9±inch. .m is an additional
 Not print
Printable data field above the bar code. To compensate
For printing the 0.1±inch high data, the height
Bar code body is reduced 0.1±inch
 Font
 MSI Example
~CREATEMSI
MSIADARK3227
MSIBVSCANX2H12DARK3254
 ±92
 Security Level
 XDn
YDn
 This parameter is used
 Character other than a slash /, the SFCC, or a
 Execute the form
 Postnet
 ±25. Postnet Structure Vscan
 Clear Zone
 Postnet Command Format
Postnet
 Defines the starting row for the bar code. Enter a value
 ~CREATEPOSTNET
POSTNETDARK1040
POSTNETVSCANDARK1020
~EXECUTEPOSTNET1
 UPC±A
 Quiet Zone
 UPC±A Command Format
UPC±A +n Vscan SCB MAG Hn.m BFn Dark SR Ddata fieldD
 Bar Codes ±107
 Character used within the data. It will not print with
Data. Use the same character at both ends
 Readable data field. The default font type for UPC±A
Command format, the data field is printed
Code body is reduced 0.1±inch
Automatically in OCR±B. Entering X will also
 ~EXECUTEUPCA1
UPC±A Example
~CREATEUPCA
 UPC±E and UPC±E0
±29. UPC±E and UPC±E0 Structure
 Quiet Zone
 UPC±E or UPC±E0
UPC±E and UPC±E0 Command Format
Type
 ±114
 OCR±B
 Readable data field. The default font type for UPC±E
Command format, the data field will print
 ±16. Eleven Digit Compression
 ±17. Six±Digit Zero Expansion
 ~EXECUTEUPCE1
UPC±E and UPC±E0 Example
~CREATEUPCE
 Incremental Bar Code Fields
 Incrementing Bar Code Data
±18. Incremental Bar Code Data
 Bar Codes
 Bar Codes ±123
 Idir Stepmask RPTn RSTn Dstartdatad
Incremental Bar Code Fixed Data Fields
Type Vscan MAG Hn I Dark SR SC
 65,535 to specify the repeat count
 VDUP36
 IBFnL
Incremental Bar Code Dynamic Data Fields
Barcode Stop
 Duplicating Incremental Bar Code Fields
 C3/9H7IBF1665
 ±130
 Form Examples and Exercises
 Form Examples
 Form Examples and Exercises
 ±1. Basic Create Form Example
 Example Using the Setup Command
~SETUP Config TOP/BOTTOM Margin 1 Left Margin END
~SETUPEND
Example Dynamic Data
 ~CREATESAMPLE390
~EXECUTESAMPLE1 ~NORMAL
 ±2. Sample Form
 Bar Code Fields
 First bar code command
 Begin alpha command for dynamic data
 ~AF2*1234 Anywhere ST
~EXECUTESAMPLE
~FF
~AF1*ABC Corporation
Page
 ±3. Dynamic Data Example
 Example Auto Increment Fields
 Form Examples and Exercises ±15
 ±16 Form Examples and Exercises
 ±4. Auto Increment Fields Example
 ±5. Auto Increment Fields Example
 Form Exercise
 PRACTC.FRM
Stop END
 EnterFormat
 ±6. Box and Corner Example
 System Format
 ±7. Box/Corner Example with Horizontal and Vertical Lines
 Enter
RECnAFnLDIRUCDARKSRSCVEHEDTextD
 ~CREATEPRACTICE
Stop END ~EXECUTE Practice ~NORMAL
 ±8. Practice Form Example
 Barcode C3/9H8BF15DARK35.739
 Alpha previously input
 C3/9H8BF15DARK35.739
 ±9. Completed Practice Form Example
 Logo Exercise
 ±10. Sample Logo
 SRSClogoname Disk
HNDLGO.FOM
~CREATELEFTHAND
 EnterFormat
 ±36 Form Examples and Exercises
 Form Design
Layout Considerations
 Planning the Form Layout
 Form Examples and Exercises ±39
 ±11. Sample Form Design
 Form Examples and Exercises ±41
 Boxbox
Vertvert
 Ltrscec
Stop Vdupoff
 Logo 1218HANDCRFT
Dark Srsc
Ddatafield D
 EnterFormat
 ±13. Completed Sample Form
 Print DIRECT.FOM
Directory Example
DIRECT.FOM
 Delete Example
DELETE.FRM
~DELETE Formpractice
~DELETE Formhcboats ~DELETE Logohandcrft
 Solving Program Errors
 ±50 Form Examples and Exercises
 Multinational Character Sets
 ±1. Multinational Character Sets and Set Values
About the Multinational Character Set
Character Sets Available
 Character Addresses
Making Character Substitutions
Page
 ±2. Substitution Set Hex Values
 OCR Character Sets
 Data Bit
Accessing Characters and Character Sets
Power±Up Character Set Selection
 Uset
User±Defined Set Command Uset
Cafa
 ±3. USET±ISET Relationship
~USET1
 Character Set Selection Command Iset
Iset
 Multinational Character Sets
 ±12 Multinational Character Sets
 Multinational Character Sets ±13
 ±14 Multinational Character Sets
 Error Codes
 Purpose of Error Codes
CCCREATE/FORM Name
 Horizontal Line Errors
 Vertical Line Errors
 Box Errors
 Corner Errors
 Corner starting column SC ending column EC
Corner starting row SR ending row ER
 Alpha Errors
Alpha leading and trailing delimiters mismatched
Alpha starting row SR out of bounds
Alpha starting column SC out of bounds
 Alpha X expansion HE and Y expansion VE must be zero
 Logo Errors
 Insufficient memory for another Logo call
Logo call starting row SR out of bounds
Logo call starting column SC out of bounds
Color or Gray scale not supported with Logos
 Create Errors
 Create Stop command missing
Insufficient memory to store the Setup program
Create page starting column page SC out of bounds
Insufficient memory to store the form
 Execute Errors
 Execute format or delimiter error
Insufficient memory to Execute the form
 Miscellaneous Errors
 Expand parameters out of bounds or format error
 Bar Code Errors
 Barcode symbols exceeds the form length
Barcode symbols exceeds the form width
Barcode data field too short or too long
Barcode variable ratio 0 or not ascending
 Sfcc decimal input error ± must be 01 to
Dynamic Barcode field longer than previously defined
 Reverse Print Errors
LFORMx form length parameter n error
Form length physical page length
FORM/LOGO name is not a legal file name
 Incremental Fields Errors
 Multinational Character Set Errors
 Font Errors
 Standard Ascii Character Set
 Ascii Character Set
 Grid Programs and Samples
 Grid Programs and Samples
Page
 Grid Programs and Samples
 Boundaries
Paper Selection and Maximum Values
 Boundaries
 Length
 Setting Top/Bottom Margins
Figure C±1. Top/Bottom Margin Example
 Setting Left Margins
 Figure C±2. Left Margin Example ± No Setting
 Figure C±4. Left Margin ±20 Setting Example
 Boundaries
 Typefaces
Standard and Optional Typefaces
 Albertus
Antique Olive
ITC Avant Garde Gothic
Monotype Baskerville
 ITC Benguiat
CG Bodoni
ITC Bookman
Decorative
 90326 90133 90349 90508
 Caslon
ITC Century
CG Century Schoolbook
ITC Cheltenham Book
 Clarendon
ITC Clearface
Courier
Futura
 ITC Galliard
Garamond Antiqua
Garth Graphic
Gill Sans
 CG Goudy Old Style
Hiroshige
ITC Korinna
Letter Gothic
 Microstyle
ITC Lubalin Graph
CG Melliza
 CG Omega
CG Palacio
Shannon
ITC Souvenir
 Stymie
ITC Tiepolo
ITC Tiffany
CG Times
 CG Trade
CG Triumvirate
CG Triumvirate Condensed
CG Trump Mediaeval
 Univers
Univers Condensed
ITC Zapf Chancery
ITC Zapf Dingbats
 Chart Printing Package 141783±008 Seven Fonts
 Chart Printing Package 141783±008
 Desktop Printing Package 141783±010 Eight Fonts
 Desktop Printing Package 141783±010
 Label Printing Package #1 141783±006 Eight Fonts
 Label Printing Package #1 141783±006
 Label Printing Package #2 141783±007 Eight Fonts
 Label Printing Package #2 141783±007
 Office Printing Package 141783±009 Eight Fonts
 Office Printing Package 141783±009
 CG Century Schoolbook Family 141783±005 Four Fonts
 CG Times Family 141783±004 Four Fonts
 CG Triumverate Family 141783±003 Four Fonts
 Garamond Family 141783±011 Four Fonts
 Gill Sans Family 141783±002 Five Fonts
 Gill Sans Family 141783±002
 Univers Family 141783±001 Four Fonts
 Index
POSTNET, 5±3
Page
 POSTNET, 5±97
Page
Page
Page
Page
Page
Page
 Index±10
Page
 6662