Samsung STP-103P User Manual - Page 15

Control Commands

Page 15 highlights

Command Name Esc c 5 Esc d Esc t Esc { Enable/disable panel FEED buttons Print and feed paper n lines Select character code table Turn upside-down printing mode on/off Command Classification Execution Setting 0 0 0 0 FS p FS q GS ! Print non-volatile bit image Define non-volatile bit image Select character size 0 0 0 GS * Define downloaded bit image 0 GS / Print downloaded bit image 0 GS : Start/end macro definition 0 0 GS B Turn white/black reverse printing mode on/off 0 GS H Select printing position of HRI characters 0 GS I Transmit print ID 0 GS L Set let margin 0 GS P Set vertical and horizontal motion unite 0 GS W Set printing area width 0 GS ^ Execute macro 0 0 GS a Enable/disable Automatic Status Back 0 0 GS b GS f GS h Turn smoothing mode on/off Select font for HRI characters Set bar code height 0 0 0 GS k GS v GS w Print bar code Print raster bit image Set bar code width 0 0 Standard Mode 0 0 0 0 0 0 (0) • 0 0 0 0 (0) 0 (0) 0 0 0 0 0 ( 0 0 Command classification Executing : Printer executes the command, which does not affect the following data. Setting : Printer uses flags to make setting, and those setting affect the following data. Standard mode ○ : Enabled (○) : Enabled only when the command is used at the beginning of a line. ● : Enabled only when data is not present in the buffer. X : Disable 28 Chapter 9. Control Commands Command Notation XXXX Command [Name] The name of the command. [Format] The code sequence. ASCII indicates the ASCII equivalents. Hex indicates hexadecimal equivalents. Decimal indicates the decimal equivalent. [ ]k indicates the contents of the [ ] should be repeated k times. [Range] Gives the allowable ranges for the parameters. [Description] Describes the function of the command. [Notes] Provides important information on setting and using the printer command, it necessary. [Default] Gives the default values, if any, for the command parameters. [Reference] Lists related commands. [Example] Provides examples using the command. The numbers followed by H are hexadecimal The numbers followed by B are binary. The numbers denoted by ( ) are decimal. Explanation of Terms LSB Least Significant Bit Control Commands HT [Name] [Format] [Description] Horizontal tab ASCII HT Hex 09 Decimal 9 Moves the print position to the next horizontal tab position. LF [Name] [Format] [Description] Print and line feed ASCII LF Hex 0A Decimal 10 Prints the data in the print buffer and feeds one line based on the current line spacing. 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

28
Command Classification
Command
Name
Execution
Setting
Standard
Mode
Esc c 5
Enable/disable panel FEED buttons
0
0
Esc d
Print and feed paper n lines
0
0
Esc t
Select character code table
0
0
Esc {
Turn upside-down printing mode on/off
0
0
FS p
Print non-volatile bit image
0
0
FS q
Define non-volatile bit image
0
0
GS !
Select character size
0
(0)
GS *
Define downloaded bit image
0
GS /
Print downloaded bit image
0
GS :
Start/end macro definition
0
0
0
GS B
Turn white/black reverse printing mode
on/off
0
0
GS H
Select printing position of HRI characters
0
0
GS I
Transmit print ID
0
0
GS L
Set let margin
0
(0)
GS P
Set vertical and horizontal motion unite
0
0
GS W
Set printing area width
0
(0)
GS ^
Execute macro
0
0
0
GS a
Enable/disable Automatic Status Back
0
0
0
GS b
Turn smoothing mode on/off
0
0
GS f
Select font for HRI characters
0
0
GS h
Set bar code height
0
0
GS k
Print bar code
0
(
GS v
Print raster bit image
0
GS w
Set bar code width
0
0
Command classification
Executing : Printer executes the command, which does not affect the
following data.
Setting
: Printer uses flags to make setting, and those setting affect
the following data.
Standard mode
: Enabled
(
) : Enabled only when the command is used at the beginning of a line.
: Enabled only when data is not present in the buffer.
X
: Disable
29
Chapter 9. Control Commands
Command Notation
XXXX Command
[Name]
[Format]
[Range]
[Description]
[Notes]
[Default]
[Reference]
[Example]
The name of the command.
The code sequence.
ASCII indicates the ASCII equivalents.
Hex indicates hexadecimal equivalents.
Decimal indicates the decimal equivalent.
[ ]k indicates the contents of the [ ] should be repeated k times.
Gives the allowable ranges for the parameters.
Describes the function of the command.
Provides important information on setting and using the printer
command, it necessary.
Gives the default values, if any, for the command parameters.
Lists related commands.
Provides examples using the command.
The numbers followed by H are hexadecimal
The numbers followed by B are binary.
The numbers denoted by ( ) are decimal.
Explanation of Terms
LSB
Least Significant Bit
Control Commands
HT
[Name]
Horizontal tab
[Format]
ASCII
HT
Hex
09
Decimal
9
[Description]
Moves the print position to the next horizontal tab position.
LF
[Name]
Print and line feed
[Format]
ASCII
LF
Hex
0A
Decimal
10
[Description]
Prints the data in the print buffer and feeds one line based on the
current line spacing.