Programming Codes
Epic 3000 Programmer’s Guide
Page
36
Rev A
100-14362
Description
ASCII
Hex
IPCL
equivalent
code
Page
Open File
[ESC][RS] O<Mod>
FileName<0>
1BH 1EH 4FH
none
Return Free Space for Open File
[ESC][RS] S
1BH 1EH 53H
none
Return Free Space for Partition
[ESC][RS] s
1BH 1EH 73H
none
Return Last File Command Status
[ESC][RS] ?
1BH 1EH 3FH
none
Close File
[ESC][RS] C
1BH 1EH 43H
none
Close All Files
[ESC][RS] K
1BH 1EH 4BH
none
Open File
[ESC][RS] O
FileName<0>
1BH 1EH 4FH
none
Set/Clear File Attributes
[ESC][RS] A <Atb>
FileName<0>
1BH 1EH 41H
none
Write File Data
[ESC][RS] W <L
L
>
<L
H
> <data>
1BH 1EH 57H
none
Read File Data
[ESC][RS] R <L
L
>
<L
H
>
1BH 1EH 52H
none
File Directory File
[ESC][RS] I
1BH 1EH 49H
none
Delete all Files in partition
[ESC][RS] E <p>
1BH 1EH 45H
none
De-fragment File system
[ESC][RS] F
1BH 1EH 46H
none
Miscellaneous Commands
Disable paper out sensor.
[ESC] 8
1BH,38H
&%PF
Enable paper out sensor.
[ESC] 9
1BH,39H
&%PO
Set left/right margins.
n1 = Left margin
n2 = Right margin
[ESC] X <n
1
><n
2
>
1BH,58H
none
Clear print buffer.
[CAN]
18H
&%RP
Query marker.
[ESC] q <n>
1BH,71H
none
Perform Auto Cut
[ESC] v
1BH,76H
&%FC
Audio alert.
[BEL]
07H
&%BL
Configure audio alert.
[ESC] [BEL] <n
1
>
<n
2
> <n
3
>
1BH,07H
none
Initialize printer.
[ESC] @
1BH,40H
none
Enable paper error mode operation.
[ESC] p <n>
1BH,70H
&%PE <m
1
>
<m
2
>
Inquire status. (Refer to command
descriptions.)
[ENQ] <n>
05H
none
Control Periodic Status
[ESC][EM]P
1BH, 19H,
50H
none
Control Periodic Status
[ESC][EM]p
1BH, 19H,
70H
none
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