Telpar, Inc. MTP Series Receipt Thermal Printer User Manual
2011 Telpar, Inc. (Rev.20110809)
Page 21
Name
Command
ASCII
Command
hex
Description
Set Right Margin
GS W +
nH
+
nL
10 57 + nH +
nL
Set the right margin to nH*256 + nL dot
positions from the left side of the print head.
Default = maximum dot count for the printer
mechanism minus 1. The value being set
must be equal to or greater than the left
margin plus 80 dots. If the margin is set to
any invalid value this command is ignore.
Range = Left 80 to rightmost dot.
HRI font
GS f
1D 66 +n
Not implemented, the controller selects a font
and size to best fit under the bar code being
printed.
Set Bar code height
GS h
+n
[1D 68
+n
Set the bar code height in dots. Default = 64.
Range - 1 to 255 dec.
Bar code printing
GS k
+m
+n
+d1
dn
[1D 6B
+m
+n
(DATA)]
Selects the bar code type and prints. See
Section 4.2.2.6
– Print Bar Code Command.
Set Bar code
magnification
GS w
+n
[1D 77
+n
]
Set the width of the bars used to print bar
codes. The width of a narrow bar is set to n.
Range = 1 to 8. Default = 2. A setting of n=1
prints a bar code so small it is possibly not
readable..
Bit image command
US * +nH +nL
+data
1F 2A +nH +nL
+data
256*nH +nL defines how many bytes of bit
image data will follow. See Section 4.2.2.5 -
Bit Image (BI) Graphics Mode.
Set Page Length
US C +nH +nL
1F 43 +nH +nL
Sets the page length to 256*nH +nL dot lines.
Default is 11 inches. Overwrites the page
length set by ESC C.
Eject/retract ticket
US E
1F 45 +n
Bit 0 of n = 0 sets the mode to RETRACT an
untaken ticket back into the printer. Bit 0 of n
= 1 sets the mode to EJECT an untaken
ticket out the front of the printer. See DIP
SWITCH 2 position 2 for the default.
Set timeout to use
before an untaken
ticket is purged
US K
1F 4B +n
If a document is cut and presented (but not
removed) and another document is sent to
the printer, the first document will not be
purged (either Ejected or Retracted) until +n
seconds after the first document is presented.
Default is 5 second.
Global IEEE-1284
STATUS Enable /
Disable
US S +n
1F 53 +n
Low order nibble of +n = 0 disables all
STATUS transmissions in IEEE-1284 parallel
mode. Low order nibble of +n = 1 thru F
enables STATUS transmission. Default is
disabled.