Samsung SRP-350 specifications Command Notation, Explanation of Terms, Ascii

Page 14

Control codes

Hexadecimal

Function

 

codes

 

 

 

<ESC> c 3 n

1B 63 33 n

Select paper sensor to output paper end

 

 

 

signals

<ESC> c 4 n

1B 63 34 n

Select paper sensor to stop printing

<ESC> c 5 n

1B 63 35 n

Enable/Disable panel button

<ESC> d n

1B 64 n

Print and feed n lines

<ESC> p m t1 t2

1B 70 m t1 t2

Generate pulse

<ESC> t n

1B 74 n

Select character code table

<ESC> { n

1B 7B n

Turn on/off upside-down printing mode

<FS> p n m

1C 70 n m

Print NT bit image

<FS> q n ….

1C 71 n …

Define NV bit image

<GS> ! n

1D

21 n

Select character size

<GS> $ nL nH

1D

24 nL nH

Set absolute vertical print position in

 

 

 

page mode

<GS> * x y …..

1D

2A x y …..

Define downloaded bit image

<GS> / m

1D

2F n

Print downloaded bit image

<GS> :

1D

3A

Start/end macro definition

<GS> B n

1D

42 n

Turn white/black reverse printing mode

 

 

 

on/off

<GS> H n

1D

48 n

Select printing position of HRI characters

<GS> I n

1D

49 n

Transmit printer ID

<GS> L nL nH

1D

4C nL nH

Set left margin

<GS> P x y

1D

50 x y

Set horizontal and vertical motion units

<GS> V m

1D

56 m

Select cut mode and cut paper

<GS> V m n

1D

56 m n

 

<GS> W nL hH

1D

57 nL nH

Set printing area width

<GS> nL nH

1D

5C nL nH

Set relative vertical print position in page

 

 

 

mode

<GS> ^ r t m

1D

5E r t m

Execute macro

<GS> a n

1D

61 n

Enable/Disable Automatic status back

<GS> f n

1D

62 n

Select font for HRI characters

<GS> h n

1D

68 n

Set bar code height

 

 

 

 

<GS> k m ….NUL

1D

6B m… NUL

Print bar code

<GS> k m n …

1D

6B m n …

 

<GS> r n

1D

72 n

Transmit status

<GS> v 0 m ….

1D

76 30

Print raster bit image

<GS> w n

1D

77 n

Set bar code width

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.

26

27

Image 14
Contents SRP-350 Ver.2 Introduction Setting Up the Printer Connecting the Drawer Connecting the CablesConnecting the computer Connecting the Power Supply Installing or Replacing the Paper RollAdjustments and Settings Panel lights Dip Switch Set 2 Functions Using the PrinterDIP Switch Set 1 Functions Control PanelHexadecimal Dumping Self-test printing Please press the Feed button Completed3 PC860 Portuguese 2 PC850 Multilingual 4 PC 863 Canadian French 5 PC 865 Nordic 19 PC 858 Euro 255 Space ESC L International Character SetCan ESC SAscii Command NotationExplanation of Terms DLE ENQ n CanDLE EOT n ESC FF ESC ESC @ESC L ESC SESC a n ESC T nESC V n ESC ₩ n ESC W xL xH yL yH dxL dxH dyL dyHESC d n ESC c 4 nESC c 5 n ESC p m t1 t2GS $ nL nH FS q n xL xH yL yH d1…dk1…xL xH yL yH d1…dknGS ! n GS * x y d1…dx ×y ×8GS I n GS B nGS H n GS L nL nHGS r t m GS W nL nHGS ₩ nL nH GS a nGS f n FontGS v 0 m xL xH yL yH d1…dk ① GS k m d1…dk NUL ② GS k m n d1…dnGS r n GS w nHexadecimal codes BELSRP-350U Connector USB Interface SRP-350/SRP-350S Connector Serial InterfaceSRP-350P Connector Parallel Interface SUBRS-232C Cable Connection Interface Connector Pin No Signal Name Assignment Color Function Pin No Signal name DirectionPin Source Compatibility Nibble Mode Byte Mode Parallel Interface IEEE-1284Life Mcbf
Related manuals
Manual 35 pages 15.35 Kb