. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc.
Page 31
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
GS C
Getting current date and time
[Code] <1D>H<43>H
[Outline] • Gets the current date and time. The result string consists of six decimal
numbers in ASCII format each consisting of two digits. The numbers are
divided by space, the string ends with a NULL character.
• The parameters are in order: year, month, day, day of the week, hour,
minute, seconds.
• If the real time clock is not set only NULL character is returned.
(1) GS k m [ d ] k NUL
(2) GS k m n [ d ] k
(3) GS k m a [ d ] k NUL
(4) GS k m xL xH a [ d ] k
Printing the bar code
[Code] (1) <1D>H<6B>H<m> [ < d> ] k <00>H
(2) <1D>H<6B>H<m><n> [ <d> ] k
(3) <1D>H<6B>H<m><a> [ < d> ] k <00>H
(4) <1D>H<6B>H<m><xL><xH><a> [ <d> ] k
[Range] (1) {0 <= m <= 6}
(2) {65 <= m <= 73}
(3)
{m=9;
a=0,1}
(4) {m=74; 256*xH+xL<=3000; a=0,1}
[Outline] Specifying a type of bar code and printing bar codes.
• The beginning of line is considered as the next printing start position.
• Depending on the value of m, the following bar code can be selected.
d indicates a bar code data to be printed and k indicates the number of
character to be printed.
n indicates indicates number of characters when 65 <= m <= 73.
a is a setting for PDF-417 bar code. Setting a=0 will make the printer to
automatically choose PDF-417 compression modes, while a=1 will force
byte compression mode.
xL and xH indicates the number of bytes for PDF-417 bar code when
m=74. The number of bytes is equal to 256*xH+xL.