TransAct POSjet 1500 Programmer's Manual page 178

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Control Codes
Function
Report the Electronic Journal
ASCII
[ESC][GS]R< S
Hexadecimal
1BH 1DH 52H < S
Decimal
<27> <29><82> < S
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
record to be printed and <L
+ <L
> are 0, all records from the specified start to the end are reported. Setting both start and end
l
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.
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
Or
[ESC][GS]l
Hexadecimal
1BH 1DH 4CH or 6CH
Decimal
<27> <29><76> or <108>
IPCL
&%UL
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.
Page 164
®
POSjet
1500
>< S
>< L
>< L
>
l
h
l
h
>< S
>< L
>< L
>
l
h
l
h
>< S
>< L
>< L
>
l
h
l
h
>*256 + <L
> specifies the number of records to report. If <L
h
l
Print the report
Return the report
(No IPCL for returning the report)
Rev M
Programmer' s Guide
>*256 + <S
> specifies the first
h
l
Most standard "C" formatting print
>*256
h
Nov-07

Advertisement

Table of Contents
loading

Table of Contents