Set Vertical White Space; Set Printer Tone; Enable Or Disable Shutdown Mode; Set Shutdown Mode Timeout - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Set vertical white space

ASCII
US EXT 0x47 n
Hexadecimal
1F 03 47 n
Decimal
31 03 71 n
Value of n:
number of dot rows
0 = Reduced white space on
FF = Normal spacing
When this command is sent, the amount of white space on the printed receipt is n dot rows.

Set printer tone

ASCII
US EXT 0x52 n fL fH dL dH
Hexadecimal
1F 03 52 n fL fH dL dH
Decimal
31 03 82 n fL fH dL dH
Value of n:
1 = runtime configuration
2 = write to EEPROM (requires a reset)
Value of fL:
low byte of frequency
Value of fH:
high byte of frequency
Value of dL:
low byte of duration
Value of dH:
high byte of duration
Sets the duration and frequency of the printer tone. Setting f or d to 0 will set the original tone.

Enable or disable shutdown mode

ASCII
US EXT 0x54 NUL n
Hexadecimal
1F 03 54 00 n
Decimal
31 03 84 00 n
Value of n:
0 = Disable
2 = Enable
Enables or disables shutdown mode. To restore printer to normal function after shutdown, press feed switch.

Set shutdown mode timeout

ASCII
US EXT 0x54 SOH ll hh
Hexadecimal
1F 03 54 01 ll hh
Decimal
31 03 84 01 ll hh
Value of ll:
low byte of time in seconds
Value of hh:
high byte of time in seconds
Sets the number of seconds the printer will wait in idle mode before shutting down. A value of ll hh = 00 00 disables this
feature. To restore printer to normal function after shutdown, press feed switch. Note: shutdown mode (1F 03 54 00 n)
must be enabled for this to work.

Set print quality level

ASCII
US EXT 0x55 nn
Hexadecimal
1F 03 55 nn
Decimal
31 03 85 nn
Value of nn:
01 = Quality mode
02 = Balanced mode
03 = Speed mode
Default:
03 = Speed mode
Sets the print speed of the printer, based on three levels: quality (240mm/s), balanced (300mm/s), and speed (350mm/s).
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
147

Advertisement

Table of Contents
loading

Table of Contents