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