Control Codes
POSjet
®
1500
Programmer's Guide
Page 164
Rev M
Nov-07
Function
Report the Electronic Journal
ASCII
[ESC][GS]R< S
l
>< S
h
>< L
l
>< L
h
>
Hexadecimal
1BH 1DH 52H < S
l
>< S
h
>< L
l
>< L
h
>
Decimal
<27> <29><82> < S
l
>< S
h
>< L
l
>< L
h
>
IPCL
&%EQ <S> <L> (L and S are 4 digits ie. 00100020 for 20 records starting at 10)
EPOS
Description
This command reports all or part of the electronic journal. <S
h
>*256 + <S
l
> specifies the first
record to be printed and <L
h
>*256 + <L
l
> specifies the number of records to report. If <L
h
>*256
+ <L
l
> are 0, all records from the specified start to the end are reported. Setting both start and end
to 0 will report the complete contents of the journal.
Note:
The first record is identified as record 1.
The report format will be as follows:
[STX] Record number [SOH] Record Text [ETX]
…
[EOT]
Function
Set the Electronic Journal Record Header
ASCII
[ESC][GS]F<String %d><0>
Hexadecimal
1BH 1DH 46H
Decimal
<27> <29><70>
IPCL
None
EPOS
Description
This command allows the record separator that is printed between records to be changed. The
default format is:
\r\nRecord %d\r\n
Where:
\r represents CR, \n represents LF, %d represents the position of the record number.
Note:
The %d must be present.
Note:
This follows standard “C” programming conventions. Most standard “C” formatting print
parameters may be used.
Note:
The Record header many be totally disabled by a configuration option.
Function
Print/Report an Electronic Journal Log
ASCII
[ESC][GS]L
Print the report
Or
[ESC][GS]l
Return the report
Hexadecimal
1BH 1DH 4CH or 6CH
Decimal
<27> <29><76> or <108>
IPCL
&%UL
(No IPCL for returning the report)
EPOS
Description
This command prints or returns a summary of the electronic journal. The format is as follows:
Electronic journal is inactive. (The electronic journal is off, or not initialized)
or
Electronic journal has xxxx Records and is full.
or
Electronic journal has xxxx Records with yyyyyy bytes free.
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......