Home Banking POS & Kiosk Casino & Gaming Food Safety Terminals TransAct Services Investors About Us
CONTACT US   |   TECHNICAL SUPPORT   |   SITE MAP




Epic 630™ Thermal Kiosk Printer

Command Codes

 

* Please see Programmer’s Manual for detail of each command below.

  Ithaca PcOS Reference Chart By Function 
Description
ASCII
Hex
IPCL equivalent code
Low Level paper Motion
 
 
 
Line feed.
[LF]
0AH
&%LF
Carriage return.
[CR]
0DH
&%CR
Horizontal Motion
 
 
 
Back space.
[BS]
08H
&%BS
Horizontal tab.
[HT]
09H
&%HT
Set horizontal tab stops.
[ESC] D <n1> <n2>... <ni> <0>
1BH,44H
none
Set horizontal position.
[ESC] n <n1> <n2>
1BH,6EH
&%HP<m1> <m2> <m3>
Set justification.
n=0 Left
n=1 Center
n=2 Right
n=8 Left (No line feed)
n=9 Center (No line feed)
n=10 Right (No line feed)

[ESC] a <n>
1BH,61H
&%JR {n=2}
&%JC {n=1}
&%JL {n=0}
Reset horizontal and vertical tab stops.
[ESC] R
1BH,52H
&%HV
Set left/right print margins.
n1 = Left margin, n2 = Right margin
[ESC] X <n1><n2>
1BH,58H
none
Vertical Motion
 
 
 
Perform a fine line feed.
[ESC] J <n>
1BH,4AH
&%FM <m1> <m2> <m3>
Set 1/8-inch line spacing.
[ESC] 0
1BH,30H
&%ST
Set 7/72-inch line spacing.
[ESC] 1
1BH,31H
&%SG
Begin variable line spacing. (Enable [ESC] A <n>).
[ESC] 2
1BH,32H
none
Set variable line spacing to n/216 inch.
[ESC] 3 <n>
1BH,33H
&%SV <m1> <m2> <m3>
Set variable line spacing to n/72 inch.

[ESC] A <n>
1BH,41H
none
Feed <n> lines at current spacing.
[ESC] d <n>
1BH,64H
&%FL <m1> <m2>
Set vertical tab stops.
[ESC] B <n1> <n2> <n3>...<ni> 0
1BH,42H
none
Vertical tab.
[VT]
0BH
&%VT
Form feed.
[FF]
0CH
&%FF
Feed to black dot
[ESC][VT]
1BH,0BH
None
Set top of form.
[ESC] 4
1BH,34H
&%TF
Set form length in lines.
[ESC] C <n>
1BH,43H
&%SL <m1> <m2>
Begin auto line feed. (n=0, end n=1)
[ESC] 5 <n>
1BH,35H
&%CA {n=0}
&%MA {n=1}
Set form length in inches.
[ESC] C [NUL] <n>
1BH,43H
&%SI <m1> <m2>
Reverse line feed.
 
[ESC] ]
1BH,5DH
&%LR
Transport Control
 
 
 
Set Transport Mode
[ESC]i<f><v>
1BH,69H
None
Feed Transport
[ESC]j<n>
1BH,6AH
None
Deliver ticket from transport
[ESC]k
1BH,6BH
None
Character Pitch
 
 
 
Begin 10 CPI character pitch.
[DC2]
12H
&%F3
Begin 12 CPI character pitch.
[ESC] :
1BH,3AH
&%F2
Begin 17 CPI character pitch.
[SI]
0FH
&%F1
Set character pitch.
[ESC] [ P <n>
1BH,5BH, 50H
&%F<n>
Set inter-character spacing.
[ESC] V <n>
1BH,56H
none
Begin 24 CPI character pitch
[ESC][SI]
1BH,0FH
&%F4
Character Font
 
 
 
Begin 12 x 12 draft print.
[ESC] # <0>
1BH,23H, 00H
&%QT
Set print quality mode.
n=0 Draft (12 x 12)
n=1 Large draft (12 x 14)
n=2 NLQ (24 x 16)
n=3 NLQ (24 x 16)
n=4-7 Repeats 0-3
[ESC] I <n>
1BH,49H
&%QT {n=0}
&%QU {n=1}
&%QL {n=2}
&%QS {n=3}
Begin rotated font. (See command description).
[ESC] P <n>
1BH,50H
&%RI
&%RF
&%RN
Select character code page.
[ESC] [ T <nh> <nl>
1BH,5BH, 54H
&%CP <m1> <m2> <m3> <m4>
Insert Euro character.
[ESC] [ C <n>
1BH,5BH, 43H
&%EU
Print control character.
[ESC] ^ <n>
1BH,5EH
&%CC <m1> <m2> <m3>
Redefine character set.
[ESC] [ S …
1BH,5BH, 53H…
 
Define user-defined characters.
[ESC] = <y> <c1> <c2>…
1BH,3DH
none
Enable user-defined characters.
[ESC] > <n>
1BH,3EH
none
Enable OCR characters.
[ESC] y <11>
1BH,79H, 0BH
&%YX011
Disable OCR characters.
[ESC] y <12>
1BH,79H, 0CH
&%YX012
Cancel user-defined characters.
[ESC] $
1BH,24H
none
Character Attributes
 
 
 
Select color.
[ESC] c <n>
1BH,63H
&%CL <m1>
Begin one-line double-wide print.
[SO]
0EH
&%MW
Cancel one-line double-wide print.
[DC4]
14H
&%MN
Multi-line double-wide double-high mode.
n=0 Standard mode
n=1 Double-wide
n=2 Double-high
3 = Both
[ESC] W <n>
1BH,57H
&%FS {n=0}
&%FD {n=1}
&%FH {n=3}
Enable/disable overscore.
n=0 End
n=1 Begin
[ESC] _ <n>
1BH,5FH
&%CO {n=0}
&%MO {n=1}
Begin underline mode. 
n = 0 End
n = 1 Begin
[ESC] - <n>
1BH,2DH
&%CU {n=0}
&%MU {n=1}
Begin enhanced print.
[ESC] G
1BH,47H
&%ME
End enhanced print.
[ESC] H
1BH,48H
&%CE
Begin emphasized print.
[ESC] E
1BH,45H
&%MM
End emphasized print.
[ESC] F
1BH,46H
&%CM
Set print style. (See command description.)
[ESC] [ @ ...
1BH,5BH, 40H…
&%DH
&%SH
Select superscript.
[ESC] S <0>
1BH,53H, 00H
&%SP
Select subscript.
[ESC] S <1>
1BH,53H, 01H
&%SB
End superscript or subscript.

[ESC] T
1BH,54H
&%SE
Begin italics.
[ESC] % G
1BH,25H, 47H
&%MI
End italics.
[ESC] % H
1BH,25H, 48H
&%CI
Rotated Print
 
 
 
Begin rotated print. (See Rotated Print Summary on page 84.)
[ESC] r <n>
1BH,72H
&%RX
Set rotated print line length.
[ESC] s <n>
1BH,73H
&%RL <m1> <m2> <m3>
Set rotated print line spacing.
[ESC] u <n1> …
1BH,75H
none
Page Mode
 
 
 
Select page mode
[ESC] t <n>
1BH,74H
&%PM <m1>
Set page mode page position
[ESC] o <n1> …
1BH,6FH
 
Exit page mode
[FF]
0CH
&%FF
APA Graphics
 
 
 
Print single-density graphics.
<n1>=0...255
<n2>=0…3
len=<n1> + 256 * <n2>
[ESC] K <n1> <n2>
1BH,4BH
none
Print half-speed double-density graphics.
[ESC] L <n1> <n2>
1BH,4CH
none
Print full-speed double-density graphics.
[ESC] Y <n1> <n2>
1BH,59H
none
Print quad-density graphics.
[ESC] Z <n1> <n2>
1BH,5AH
none
Select bidirectional or unidirectional print.
n=0 Bidirectional
n=1 Unidirectional
[ESC] U <n>
1BH,55H
&%GU {n=1}
&%GB {n=0}
Print graphics in mode <m>.
[ESC] * <m> <n1><n2>
1BH,2AH
none
Reassign graphic mode.
[ESC] ? <m><n>
1BH,3FH
none
Horizontal Graphics
 
 
 
Process horizontal graphics data.
[ESC] h <color> <length> <format> <data>
1BH,68H
none
Set horizontal graphic mode.
[ESC] * <m> <0> <0>
1BH,2AH
none
User Store
 
 
 
Begin named macro record.
[ESC] [US] b <Name..> <0>
1BH,1FH, 62H
&%UB <Name..><0>
Save macro data in user store.
[ESC] [US] m <Name..> <0>
1BH,1FH, 6DH
&%UM <Name..><0>
End named macro record.
[ESC] [US] e <Name..> <0>
1BH,1FH, 65H
&%UG <Name..><0>
Load item from user store.
[ESC] [US] l <Name..> <0>
1BH,1FH, 6CH
&%UL <Name..><0>
Save user-defined characters.
[ESC] [US] c <Name..> <0>
1BH,1FH, 63H
&%UC <Name..><0>
Run macro data from user store.
[ESC] [US] r <Name..> <0>
1BH,1FH, 72H
&%UR <Name..><0>
Flag item as a start-up macro.
[ESC] [US] s <Name..> <0>
1BH,1FH, 6DH
&%US <Name..><0>
Delete item from user store.
[ESC] [US] d <Name..> <0>
1BH,1FH, 64H
&%UD <Name..><0>
Flush information from user store.
[ESC] [US] f ALL <0>
1BH,1FH, 66H,00H
&%UF
Transfer user store to extended user store
[ESC] [US] t ALL <0>
1BH,1FH, 66H,00H
&%UF
Report on user store.

[ESC] [US] q <Name..> <0>
1BH,1FH, 72H
&%UQ <Name..><0>
Return a report on user store

[ESC] [US] ? <Name..> <0>
1BH,1FH, 72H
&%UQ <Name..><0>
Process user macro.
[ESC] g <0>
1BH,67H, 00H
&%GP
Start macro record.
[ESC] g <1>
1BH,67H, 01H
&%GS
Stop macro record.
[ESC] g <2>
1BH,67H, 02H
&%GE
Stop macro record and save.
[ESC] g <3>
1BH, 67H, 03H
&%GW
Bar Codes
 
 
 
Print bar code.
n=0 Interleave 2 of 5
n=1 Code 39
n=2 Code 128
n=3 UPC A
n=4 EAN-13
n=5 UPC E
n=6 EAN-8
n= 7 Code 93
n = 8 Codabar
[ESC] b <n> ... [ETX]
1BH,62H
 
PDF 417 bar code control
[ESC] [EM] E <f> <v>
1BH 19H 45H
 
Set bar code height.
n=0 Restore defaults
n=1 - 9 Number of passes
    (0.11 inch per pass)
[ESC] [EM] B <n>
1BH,19H, 42H
 
Set bar code width
[ESC] [EM] W <n>
1BH 19H 57H
 
Set bar code justification, HRI print mode, and print direction.
[ESC] [EM] J <n>
1BH,19H, 4AH
 
Electronic Journal
 
 
 
Electronic journal initialize and set password
[ESC][GS]I <Password> <0>
1BH 1DH 49H
 
Electronic journal erase the electronic journal
[ESC][GS]E <Password> <0>
1BH 1DH 45H
 
Print the electronic journal
[ESC][GS]P< Sl> <Sh>< Ll> <Lh>
1BH 1DH 50H
 
Report the electronic journal
[ESC][GS]R< Sl> < Sh>< Ll> <Lh>
1BH 1DH 52H
 
Electronic journal begin entry
ESC]l <3>
1BH 6CH
 
Electronic journal suspend entry
[ESC]l <2>
1BH 6CH
 
Electronic journal resume entry
[ESC]l <1>
1BH 6CH
 
Electronic journal end entry
[ESC]l <0>
1BH 6CH
 
Electronic journal mode begin
(journal station)
[ESC]{
1BH 7BH
 
Unicode
 
 
 
Set font ID
[ESC] + 1 <low byte> <high byte>
1BH 2BH 31H
 
Set font descriptor
[ESC] + 2
1BH 2BH 32H
 
Select font
[ESC] + 3 <low byte> <high byte>
1BH 2BH 31H
 
Set character code ID
[ESC] + 4 <low byte> <high byte>
1BH 2BH 34H
 
Send character definition
[ESC] + 5 <low byte length> <high byte length>
1BH 2BH 35H
 
Delete current selected soft font
[ESC] + 6
1BH 2BH 36H
 
Delete all soft fonts
[ESC] + 7
1BH 2BH 37H
 
Query soft/RAM font information
[ESC] + Q
1BH 2BH 51H
 
Copy soft font from RAM to user memory/flash memory.
[ESC] + U
1BH 2BH 55H
 
Initiate Unicode UTF-16BE encoding
[ESC] + H
1BH 2BH 48H
 
Initiate Unicode UTF-16LE encoding
[ESC] + L
1BH 2BH 4CH
 
Initiate Unicode UTF-8 encoding (MBCS)
[ESC] + M
1BH 2BH 4DH
 
Initiate normal 8-bit character encoding
[ESC] + A
1BH 2BH 41H
 
Miscellaneous Commands
 
 
 
Disable paper out sensor.
[ESC] 8
1BH,38H
 
Enable paper out sensor.
[ESC] 9
1BH,39H
 
Set left/right margins.
n1 = Left margin
n2 = Right margin
[ESC] X <n1><n2>
1BH,58H
 
Clear print buffer.
[CAN]
18H
 
Query marker.
[ESC] q <n>
1BH,71H
 
Open cash drawer.
n=1 Cash Drawer 1
n=2 Cash Drawer 2
[ESC] x <n>
1BH,78H
 
Perform Auto Cut
[ESC] v
1BH,76H
 
Audio alert.
[BEL]
07H
 
Configure audio alert.
[ESC] [BEL] <n1> <n2> <n3>
1BH,07H
 
Print suppress
and data pass through.
[ESC] < <n>
1BH,3CH
 
Initialize printer.
[ESC] @
1BH,40H
 
Enable paper error mode operation.
[ESC] p <n>
1BH,70H
 
Enable dynamic response

[ESC] w <n>
1BH,77H
 
Begin multi-drop control.
[SOH] <n>
01H
 
Inquire status. (Refer to command descriptions.)
[ENQ] <n>
05H
 
Inquire cash drawer 1 status
[ENQ] <1>
05H01H
 
Extended Diagnostics
 
 
 
Set control feature commands. 
[ESC] y <n>
1BH,79H
&%Y0 - 9 or &%YX<m1> <m2><m3> (for numbers >9)
Extended diagnostics.
[ESC] ~ <n>
1BH,7EH
none
Enter Remote Down load
[ESC] ~ <14> %
1BH,7EH,0EH,25H
none

 



Tel: 877.748.4222     Fax: 203.949.9048
© 2006 TransAct Technologies, Inc. All Rights Reserved.