beautypg.com

Command notation, Explanation of terms – Samsung SRP-350 User Manual

Page 14

background image

26

Control codes

Hexadecimal
codes

Function

c 3 n

1B 63 33 n

Select paper sensor to output paper end

signals

c 4 n

1B 63 34 n

Select paper sensor to stop printing

c 5 n

1B 63 35 n

Enable/Disable panel button

d n

1B 64 n

Print and feed n lines

p m t1 t2

1B 70 m t1 t2

Generate pulse

t n

1B 74 n

Select character code table

{ n

1B 7B n

Turn on/off upside-down printing mode

p n m

1C 70 n m

Print NT bit image

q n ….

1C 71 n …

Define NV bit image

! n

1D 21 n

Select character size

$ nL nH

1D 24 nL nH

Set absolute vertical print position in

page mode

* x y …..

1D 2A x y …..

Define downloaded bit image

/ m

1D 2F n

Print downloaded bit image

:

1D 3A

Start/end macro definition

B n

1D 42 n

Turn white/black reverse printing mode

on/off

H n

1D 48 n

Select printing position of HRI characters

I n

1D 49 n

Transmit printer ID

L nL nH

1D 4C nL nH

Set left margin

P x y

1D 50 x y

Set horizontal and vertical motion units

V m

V m n

1D 56 m

1D 56 m n

Select cut mode and cut paper

W nL hH

1D 57 nL nH

Set printing area width

₩ nL nH

1D 5C nL nH

Set relative vertical print position in page

mode

^ r t m

1D 5E r t m

Execute macro

a n

1D 61 n

Enable/Disable Automatic status back

f n

1D 62 n

Select font for HRI characters

h n

1D 68 n

Set bar code height

k m ….NUL

k m n …

1D 6B m… NUL

1D 6B m n …

Print bar code

r n

1D 72 n

Transmit status

v 0 m ….

1D 76 30

Print raster bit image

w n

1D 77 n

Set bar code width

27

Command Notation

[Name]
[Format]



[Range]
[Description]

The name of the command.
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.
Gives the allowable ranges for the arguments.
Describes the function of the command.

Explanation of Terms

LSB

Least Significant Bit

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.

FF

[Name]
[Format]


[Description]

Print and return to standard mode in page mode.
ASCII FF
Hex 0C
Decimal 12
Prints the data in the print buffer collectively and returns to standard mode.

CR

[Name]
[Format]


[Description]

Print and carriage return.
ASCII CR
Hex 0D
Decimal 13
When automatic line feed is enabled, this command functions the same as
LF : when automatic line feed is disabled, this command is ignored.