Cognitive Solutions All in One Printer B780 用户手册

下载
页码 192
Chapter 6: DH emulation
150
A776 (B780) Programming Guide 
 
A776-PG00001 C 12/09
Print Speed
This command is not supported and is ignored if received.
  Hexadecimal  Decimal  ASCII 
  1B 53 
27 83 
ESC S 
Buffered Validate
Opens the platen to allow a form to be inserted. Any data that is received after this command will not be printed until 
the form is detected. This command enables the Slip/Validation paper feed and disables the Receipt/Journal paper 
feed.
  Hexadecimal  Decimal  ASCII 
  1B 57 
27 87 
ESC W 
Buffer Clear
Clears all print characters and control codes from the buffer. All current settings are maintained. This command does 
not return the printer to its default condition. The command is processed immediately.
  Hexadecimal  Decimal  ASCII 
  1B 60 
27 96 
ESC ‘ 
Repeat Character
Repeats any printable characters or control codes up to 255 times. This command is best used to send several Line 
Feed commands (0A), or to print a single character a certain number of times.
  Hexadecimal 
Decimal 
ASCII 
 
Value of c 
Value of n 
  1F c n n n 1F 
31 c n n n 31 
US c n n n US 
Control Code 
30-39 Hexadecimal 
   
 
 
 
 
or Character 
48-57 Decimal 
   
 
 
 
 
 
 
0-9 (ASCII) 
To send 101 Line Feed commands, send the following string:
 
1F 0A 31 30 31 1F
where 1F starts the command, 0A indicates the Line Feed command, 31 (Hex) equals ASCII 1, 30 (Hex) equals ASCII 
0, 31 (Hex) equals ASCII 1 (thus 101 indicates the number of times to repeat the Line Feed command), 1F stops the 
command.
Print Characteristics Commands
These commands affect the appearance of printed information. They control the following:
·  Character set selection
·  Character formatting
·  Print orientation
The commands are listed numerically by hexadecimal code.
Double-Wide Font
Starts double-wide printing. The pitch of the double-wide font is half of the currently selected font. If the currently 
selected font is 40 characters per line (13.9 pitch), the double-wide characters will print at 20 characters per line (6.9) 
lines per inch.
This command may be used with the Double-High command 1B 48.
  Hexadecimal 
Decimal  ASCII
  0E 
14 
SO 
Double-Wide Off
Turns off double-wide printing.
  Hexadecimal 
Decimal  ASCII
  0F 
15 
SI