Toshiba Printer Language
Toshiba Printer Language
Introduction ........................................................... 5
About This Manual ................................................................................. 5
TGL SETUP Menus ............................................................................... 5
TGL SETUP Menus ............................................................................... 6
3
WR – Reset ................................................................................... 19
TGL SETUP
Character SFCC
Active Slash Zero Image Scale
Set Select
Page Status
Alignment Response
Center* Disable*
5
TGL SETUP Menus
IMPORTANT The TGL Setup submenu will only be present when the Active IGP Emulation
menu Application > Control > Active IGP Emul is set to TGL.
PC-850 PC-1250
PC-8 PC-1251
8859-2 Latin 2 PC-1252
Character Set PC-851 PC-1253
PC-852 PC-1254
PC-855 PC-1257
PC-857 Latin-9
6
Application > TGL Setup > Image Scale
Determines if scaling will take place with regards to positioning the graphic
elements in order to obtain greater compatibility with TEC printers.
The printer selects the SFCC set based upon the re-
Auto Select
ceived host data.
Minimum 0x00
Maximum 0xFF
7
Application > TGL Setup > SFCC Separator
This menu is only present when “User Defined” is selected in the SFCC
menu.
Minimum 0x00
Maximum 0xFF
Minimum 0x00
Maximum 0xFF
Minimum 0x20
Maximum 0xFF
8
Application > TGL Setup > Speed CMDs
This option allows you to choose whether the engine commands that affect
the print/feed speed should be processed or ignored. To adjust the
print/feed speed through the front panel, use this menu to prevent the host
commands from overriding these settings.
9
Application > TGL Setup > XS Sensor Param
This option allows you to choose whether the sensor type parameter in the
XS command will be processed or ignored.
10
Application > TGL Setup > AR Pre-Feed CMD
This option allows you to choose whether the engine command for a paper
pre-feed (AR) should be processed or ignored.
The image will align to the left side. When the label is
printed in portrait mode (top of label comes out first),
the left side is the right side of the label when stand-
Left ing in front of the printer. If the label is printed in in-
verted portrait mode (bottom of label comes out first),
left is also the left side of the label when standing in
front of the printer.
The image will align to the right side. When the label
is printed in portrait mode (top of label comes out
first), the right side is the left side of the label when
Right standing in front of the printer. If the label is printed in
inverted portrait mode (bottom of label comes out
first), right is also the right side of the label when
standing in front of the printer.
11
Application > TGL Setup > Status Response
This option selects when a status response is sent back to the host.
12
Fully Supported Commands
AR – Pre-Feed
This legacy command sets the feed length in successive mode.
IB – Eject
This command ejects the current label.
J1 – Flash Format
This command formats the sections in flash memory where the host data (through XO, XP commands) or
bitmap graphic characters (through XD command) are stored.
LC – Line Format
Using this command, lines or squares can be drawn in the drawing space. Coordinates are specified in
1/10 mm units. Squares can have rounded corners. If the radius is set higher than the square width and
height, circles can be drawn.
13
PC – Bitmap Font Format
This command formats bitmap font fields. The location coordinates are specified in 1/10 mm units. The
font type can be set to any of the types listed in Table 1. Attributes like expansion and reverse can be
applied. Data to be printed can be included in this command or supplied separately through the RC
command.
Table 1
S OCR-A 12 point
T OCR-B 12 point
14
PV – Outline Font Format
This command formats outline (scalable) font fields. The location coordinates are specified in 1/10 mm
units. The font type can be set to either a fixed pitch or a proportional font. The fonts are printed at the
configured size in 1/10 mm units. Data to be printed can be included in this command or supplied
separately through the RV command.
If a scalable font with Font-ID H, I, or J (as supported on newer TEC printers) is required, the font must be
downloaded to the printer first. To ensure that the size and pitch matches the output of TEC printers, the
font must be bought at www.myfonts.com, and converted to a Printronix download file using the cnvt2fls
utility.
Use following table to select the correct font(s) and printer file name.
RB / rB – Barcode Data
This command supplies data for a barcode field configured by the XB command. The data will replace the
data supplied with the XB command or with a preceding RB command.
SG – Graphic
This command is used to draw graphics. The location and size of the image are specified in 1/10 mm
units. Six modes are supported: Nibble mode (Overwrite), Hex mode (Overwrite), Bitmap (.BMP) mode,
Topix Compression mode, Nibble mode (OR), and Hex mode (OR).
15
NOTE: A configuration setting (Scale Image) is provided to scale the images drawn with this command in
order to exactly match the size of images on TEC printers (Scaling 306 > 300 dpi).
T – Feed
This command feeds one label of the size set by the D command. Parameters specify the feed speed,
sensor to be used, etc.
U1 / U2 – Forward/Reverse Feed
This command moves the media forward (U1) or reverse (U2) over the specified distance in 1/10 mm
units.
NOTE: The Backward Feed may be limited to a smaller value based on the limitation of the printer.
Check the Administrator’s Manual for details.
XB – Barcode Format
This command formats barcode fields. The location coordinates are specified in 1/10 mm units. Many
parameters of the barcode can be configured, such as bar and space widths, if and how the PDF must be
printed, etc. The barcode types listed in Table 2 can be printed. Data to be printed can be included in this
command or supplied separately through the RB command.
16
Table 2 Barcode Types
0 JAN8, EAN8
1 MSI
2 Interleaved 2 of 5
3 CODE39 (standard)
5 JAN13, EAN13
6 UPC-E
7 EAN13 + 2 digits
8 EAN13 + 5 digits
C CODE93
G UPC-E + 2 digits
H UPC-E + 5 digits
I EAN8 + 2 digits
J EAN8 + 5 digits
K UPC-A
L UPC-A+ 2 digits
M UPC-A + 5 digits
N UCC/EAN128
O Industrial 2 of 5
P PDF417
Q Data Matrix
T QR
17
Table 2 Barcode Types
W KIX CODE
X MicroPDF417
Z Maxicode
b RSS
XJ – Message Display
This command displays a message on the LCD of the printer’s front panel. Since TEC printers have a 20-
character display, and TGL printers have two lines of 16 characters each, any text exceeding 16
characters is word wrapped to the second line on the LCD. The message disappears when the ONLINE
key is pressed.
XO – Save Start
After this command is received, all subsequent commands will be stored in a file in flash memory until the
save terminate command (XP) is received. The ID in this command specifies the file name. The files can
later be loaded from flash and executed as host data using the XQ command.
XP – Save Terminate
This command terminates the saving of data into a file in flash memory. Saving into a file is started
through the XO command.
XR – Clear Area
This command clears or inverts a specified area in the drawing space. The area coordinates are specified
in 1/10 mm units.
XS – Issue
This command prints the label. Several parameters are provided which configure the print settings:
speed, sensor type, and copy-count.
i / iN – Issue
This legacy command prints the label. If N is provided, a copy count can be specified.
18
Ignored Commands
WR – Reset
This command resets the printer to its power-on state.
19
20
Command Enhancements
And Differences
J1 – Flash Format
Similar to TEC printers, the flash files are removed, but the flash memory is not formatted. To reuse the
flash memory, an optimize and reboot action is required.
T – Feed
The ribbon-saving function supported on TEC printers is not supported on TGL printers. Enabling ribbon-
saving on TGL printers will therefore have no effect.
XB – Barcode
The Japanese barcode types (parameter values R and S) are not supported in TGL.
XJ – Message Display
Printronix printers have a 2x16 LCD whereas the TEC printer has a 1x20 LCD. Messages that are longer
than 16 characters will wrap to the second line.
XS – Issue
The ribbon-saving function supported on TEC printers is not supported on TGL printers. Enabling ribbon-
saving on TGL printers will therefore have no effect.
21
22
TGL Menu Conversions
When substituting a TEC B-470/870 model printer with a PSA 4 Printronix thermal printer, refer to the
TGL conversion table below.
PARAMETER SET MODE, Media > Image > Vertical Shift - (-1 to+12.8”) 0.0*”.
Feed Adjust - (-50.0 to +50.0 MM) +0.0 MM*
- Feed length, fine adjustment. Adjusts verti- Adjusts vertical print position on label.
cal print position on label. (- ) value moves (- ) value moves the image up toward the leading edge of
the image down from the leading edge of the the label. (+ ) value moves the image down from the lead-
label. (+ ) value moves the image up toward ing edge of the label.
the leading edge of the label.
PARAMETER SET MODE, Media > Image > Paper Feed Shift - (-0.50 to+12.8) 0.00
Cut Adjust - (-50.0 to +50.0 MM)+0.0 MM - Inch*
Cut or tear off strip position, fine adjustment.
(- ) value sets leading edge of label behind Adjusts Tear Off, Tear-Off Strip, Peel-Off & Cut position in
the tear bar. (+) value sets the leading edge Inches or MM. (-) value sets leading edge of label behind
of the label past the tear bar. tear bar. (+) value sets the leading edge of the label past
the tear bar.
PARAMETER SET MODE, Media > Image > Vertical Shift - (-1 to+12.8”) 0.0*”.
Back Feed - (-9.5 to +9.5 MM)
+0.0 MM - Adjusts vertical print position on Adjusts vertical print position on label.
label. (+) value moves the image down from (+) value moves the image down from the leading edge of
the leading edge of the label. (-) value moves the label. (-) value moves the image up toward the lead-
the image up toward the leading edge of the ing edge of the label.
label.
PARAMETER SET MODE, Media > Image > Horizontal Shift - (-1.0 to +1.0) 0.0”*.
X Adjust - (-99.0 to +99.0 MM)
+0.0 MM - X axis (horizontal) print position, Adjusts image horizontally from left edge of label in
fine adjustment. (+) value shifts image left. (-) inches. (+) value shifts image left. (-) value shifts image
value shifts image right. right.
PARAMETER SET MODE, Media > Image > Print Intensity - (-15 to +15) -3*
Tone Adjust <T> - (-10 to +10) +0*.
Darkness of image on label for Thermal Media > Handling > Print Mode - (Transfer, Direct)
Transfer printing (use of ribbon).
PARAMETER SET MODE, Media > Image > Print Intensity - (-15 to +15) 0*
Toner Adjust <D> - (-10 to +10) +0*.
Darkness of image on label for Direct Media > Handling > Print Mode - (Transfer, Direct)
Thermal printing (no ribbon).
PARAMETER SET MODE, Application > TGL Setup > Character Set - (PC-850* or
Font Code - (PC-850* or PC-8) PC-8)
23
Table 3 TGL Menu
PARAMETER SET MODE, Application > TGL Setup > Slash Zero - (0* or Ø).
Zero Font - (0* or Ø) Selects 0 or slashed Ø.
PARAMETER SET MODE, Application > TGL Setup > SFCC Select - (Auto Se-
Code - (Auto*, ESC, LF, NUL or { | } ) lect*, ESC, LF, NUL, User Defined or { | })
Selects the command code.
PARAMETER SET MODE, Media > Handling > Print Mode - (Transfer* or Direct)
Ribbon - (Trans. or Non-Trans*) -
Non-Transmissive - With ribbon
Transmissive - Ribbon out
Language - Sets the display language. System > Control > Display Language - English*,
English*, Spanish, French, German, Dutch, Spanish, French, German, Italian, Portuguese.
Japanese. Dip SW 1 (2-4)
Rewinder Use- (Without*, With) Factory installed Option - No menu selection required.
Dip SW 1 (6)
Baud Rate - (9600*, 2400 - 19200) Host IO > Serial > Baud Rate - (9600*, 600 - 115200)
Dip SW 2 (1-2)
Stop Bits – (1 bit* or 2 bits) Host IO > Serial > Stop Bits - 1* or 2
Dip SW 2 (3)
Word Length – (7-bits* or 8-bits) Host IO > Serial > Word Length - 7 or 8*
Dip SW 2 (4)
Parity Check - (With* or Without) Host IO > Serial > Parity - (None*, Even, Odd)
Dip SW 2 (5)
Parity – (Even* or Odd) Host IO > Serial > Parity – (None*, Even, Odd)
Dip SW 2 (6)
Data Protocol – XON/XOFF*, Ready Busy Host IO > Serial > Data Protocol -
(DTR), XON/XOFF +Ready Busy(DTR). (XON/XOFF*, ETX/ACK, ACK/NAK, Series 1 Char,
DIP SW 2 (7-8) Series 2 Char or DTR)
24
Table 3 TGL Menu
N/A Application > TGL SETUP > U1/U2 Move CMDs - (Pro-
cess*, Ignore)
Process - U1 move media forward & U2 move media
backward cmds are used & override the Media > Image >
Vertical Shift value.
Ignore - U1 and U2 commands are ignored and the Me-
dia > Image > Vertical Shift value is used.
N/A Application > TGL SETUP > XS Media ‘D’ Act - (Tear-
Off*, Peel-Off, Ignore, Continuous, Tear-Off Strip)
Uses the XS media ‘D’ command to select any of the Me-
dia Handling modes listed above
Ignore - The printer only uses the Media > Handling >
Media Handing menu selection.
N/A Application > TGL SETUP > AX Fine Adj. CMD - (Pro-
cess*, Ignore)
Process - Position fine adjust AX command is acted on if
received.
Ignore - Position fine adjust AX cmd is ignored if re-
ceived. Media will not be fine adjusted.
25
26
Status Response
27
SOH STX Status Remaining counts ETX EOT CR LF
01H 02H 3XH 3XH 3XH 3XH 3XH 3XH 3XH 03H 04H 0DH 0AH
On line Idle X 00
28
Table 4 Status Response (not saving writable characters to flash)
NOTE: This status will not be sent out if the serial interface is used. Other than on TEC
printers, Printronix printers will go offline when an error occurs, and therefore prevent
the host computer from sending status request commands.
29
Table 5 Status Response in Save Mode (saving writable characters to flash)
Status
Auto Status
LCD Message Printer Status Request
Transmission
Command
NOTE: This status will not be sent out if the serial interface is used. Other than on TEC
printers, Printronix printers will go offline when an error occurs, and therefore prevent
the host computer from sending status request commands.
30
Contact Information
http://www.printronix.com/support.aspx
http://www.printronix.com/supplies-parts.aspx
31
Corporate Offices
Printronix, Inc.
15345 Barranca Parkway
Irvine, CA 92618
U.S.A.
Phone: (714) 368-2300
Fax: (714) 368-2600
Printronix Inc.
c/o Printronix Nederland BV Bijster-
huizen 11-38
6546 AS Nijmegen
The Netherlands
Phone: (31) 24 6489489
Fax: (31) 24 6489499
Printronix Schweiz GmbH 42
Changi South Street 1
Changi South Industrial Estate Singa-
pore 486763
Phone: (65) 6542 0110
Fax: (65) 6546 1588
Printronix Commercial (Shanghai) Co. Ltd 22F,
Eton Building East
No.555, Pudong Av.
Shanghai City, 200120, P R China
Phone: (86) 400 886 5598
Fax: (86-21) 5138 0564
Visit the Printronix web site at www.printronix.com
258781-001 A
32