. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc.
Page 28
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
GS ) parameter string
Setting/reading internal variable
[Code] <1D>H<29>H<ASCIIZ string>
[Outline] • The printer has 100 internal byte variables, numbered from 0 to 99. Only
one variable can be set/read by this command at time.
• Parameter numbers and values are specified using ASCII decimal
numbers. For example parameter number 16 is written as ‘16’. All,
parameter numbers and values are separated by space. The string ends
with a NULL character (00H). The string consists of paired parameter
number and a value, all separated with spaces.
• If a pair variable number and a value is sent to the printer the given
variable will be set this value.
• If only a variable number is sent and then the terminating NULL
character the printer will return the parameter number fallowed by its
value.
• Some variables are used to configure specific printer features. Some can
only be read but not written to.
• Variable number:
0 – Enable/disable the switch on beep and read card/barcode successful
beep. Range of the value is 0 – 255 but only least significant bit is defined:
0 – disable sounds
1 – enable sounds
1 – A read only variable. Value “0” means that there is not downloaded bit
image, while value 1 means that there is downloaded bit image.
2 – A read only variable. Value “0” means that there is not downloaded
font, while value 1 means that there is downloaded font.
3 – Serial port active/inactive (in raw mode) at startup. Value “0” means
that the serial port is inactive at startup (initial value). Value “1” means
that serial port is active in raw mode at startup.
16 – Set USBA port mode.
Bit
Value 0
Value 1
0 Disable USBA
Enable USBA
1 Host mode
Slave mode
2 Protocol mode
Raw data mode
3 Not
Defined
4 Not
Defined
5 Not
Defined
6 Not
Defined
7 Not
Defined