Command Notation; Explanation Of Terms - Samsung SRP-350 Operator's Manual

Samsung receipt printer operator's manual
Hide thumbs Also See for SRP-350:
Table of Contents

Advertisement

Hexadecimal
Control codes
codes
<ESC> c 3 n
1B 63 33 n
<ESC> c 4 n
1B 63 34 n
<ESC> c 5 n
1B 63 35 n
<ESC> d n
1B 64 n
<ESC> p m t1 t2
1B 70 m t1 t2
<ESC> t n
1B 74 n
<ESC> { n
1B 7B n
<FS> p n m
1C 70 n m
<FS> q n ....
1C 71 n ...
<GS> ! n
1D 21 n
<GS> $ nL nH
1D 24 nL nH
<GS> * x y .....
1D 2A x y .....
<GS> / m
1D 2F n
<GS> :
1D 3A
<GS> B n
1D 42 n
<GS> H n
1D 48 n
<GS> I n
1D 49 n
<GS> L nL nH
1D 4C nL nH
<GS> P x y
1D 50 x y
<GS> V m
1D 56 m
<GS> V m n
1D 56 m n
<GS> W nL hH
1D 57 nL nH
<GS> ₩ nL nH
1D 5C nL nH
<GS> ^ r t m
1D 5E r t m
<GS> a n
1D 61 n
<GS> f n
1D 62 n
<GS> h n
1D 68 n
<GS> k m ....NUL
1D 6B m... NUL
<GS> k m n ...
1D 6B m n ...
<GS> r n
1D 72 n
<GS> v 0 m ....
1D 76 30
<GS> w n
1D 77 n
Function
Select paper sensor to output paper end
signals
Select paper sensor to stop printing
Enable/Disable panel button
Print and feed n lines
Generate pulse
Select character code table
Turn on/off upside-down printing mode
Print NT bit image
Define NV bit image
Select character size
Set absolute vertical print position in
page mode
Define downloaded bit image
Print downloaded bit image
Start/end macro definition
Turn white/black reverse printing mode
on/off
Select printing position of HRI characters
Transmit printer ID
Set left margin
Set horizontal and vertical motion units
Select cut mode and cut paper
Set printing area width
Set relative vertical print position in page
mode
Execute macro
Enable/Disable Automatic status back
Select font for HRI characters
Set bar code height
Print bar code
Transmit status
Print raster bit image
Set bar code width
26

Command Notation

[Name]
The name of the command.
[Format]
The code sequence. ASCII Indicates the ASCII equivalents.
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
[ ] k indicates the contents of the [ ] should be repeated k times.
[Range]
Gives the allowable ranges for the arguments.
[Description]
Describes the function of the command.

Explanation of Terms

LSB
Least Significant Bit
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.
FF
[Name]
Print and return to standard mode in page mode.
[Format]
ASCII
FF
Hex
0C
Decimal
12
[Description]
Prints the data in the print buffer collectively and returns to standard mode.
CR
[Name]
Print and carriage return.
[Format]
ASCII
CR
Hex
0D
Decimal
13
[Description]
When automatic line feed is enabled, this command functions the same as
LF : when automatic line feed is disabled, this command is ignored.
27

Advertisement

Table of Contents
loading

Table of Contents