Samsung SRP-350 GS W nL nH, GS ₩ nL nH, GS r t m, GS a n, Bit Off/On Hex Decimal Status for ASB

Page 23

GS W nL nH

[Name]

Set printing area width.

 

 

[Format]

ASCII

GS

W

nL

nH

 

Hex

1D

57

nL

nH

 

Decimal

29

87

nL

nH

[Range]

0 nL 255, 0 nH 255

 

[Description]

Sets the printing area width to the area specified by nL and nH.

 

* The printing area width is set to

 

 

[(nL + nH ×256) ×horizontal motion unit] inches.

GS nL nH

[Name]

Set relative vertical print position in page mode.

[Format]

ASCII

GS

nL

nH

 

Hex

1D

5C

nL

nH

 

Decimal

29

92

nL

nH

[Range]

0 nL 255, 0 nH 255

 

[Description]

Sets the relative vertical print starting position from the current position in

 

page mode.

 

 

 

*This command sets the distance from the current position to [(nL + nH ×256) ×vertical or horizontal motion unit] inches.

GS ^ r t m

[Name]

Execute macro.

 

 

 

 

[Format]

ASCII

GS

^

r

t

m

 

Hex

1D

5E

r

t

m

 

Decimal

29

94

r

t

m

[Range]

0 r 255, 0 t 255

 

 

 

[Description]

m = 0, 1

 

 

 

 

 

Executes a macro.

 

 

 

 

*r specifies the number of times to execute the macro.

*t specifies the waiting time for executing the macro.

*m specifies macro executing mode.

When the LSB of m = 0

The macro executes r times continuously at the interval specified by t. When the LSB of m = 1 :

After waiting for the period specified by t, the PAPER OUT LED indicators blink and the printer waits for the FEED button to be pressed. After the button is pressed, the printer executes the macro once. The printer repeats the operation r times.

GS a n

[Name]

 

Enable/Disable Automatic Status Back.

[Format]

ASCII

GS

a

n

 

 

 

Hex

1D

61

n

 

 

 

Decimal

29

97

n

[Range]

 

0 n 255

 

 

[Description]

Enables or disables ASB and specifies the status items to include, using n

 

 

 

as follows :

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Off/On

 

Hex

 

Decimal

Status for ASB

0

 

Off

 

00

 

 

0

Drawer kick-out connector pin 3 status disabled.

 

On

 

01

 

 

1

Drawer kick-out connector pin 3 status enabled.

 

 

 

 

 

1

 

Off

 

00

 

 

0

On-line / Off-line status disabled.

 

On

 

02

 

 

2

On-line / Off-line status enabled.

 

 

 

 

 

2

 

Off

 

00

 

 

0

Error status disabled.

 

On

 

04

 

 

4

Error status enabled.

 

 

 

 

 

3

 

Off

 

00

 

 

0

Paper roll sensor status disabled.

 

On

 

08

 

 

8

Paper roll sensor status enabled.

 

 

 

 

 

4-7

 

-

 

-

 

 

-

Undefined.

[Details]

 

* If any of the status items in the table above are enabled, the printer

 

 

 

 

transmits the status when this command is executed. The printer

automatically transmits the status whenever the enabled status item changes. The disabled status items may change, in this case, because each status transmission represents the current status.

*If all status items are disabled, the ASB function is also disabled.

*If the ASB is enabled as a default, the printer transmits the status when the printer data reception and transmission is possible at the first time from when the printer is turned on.

*The following four status bytes are transmitted without confirming whether the host is ready to receive data. The four status bytes must be consecutive, except for the XOFF code.

*Since this command is executed after the data is processed in the receive buffer, there may be a time la between data reception and status transmission.

*When the printer is disabled by ESC= (Select peripheral device), the four status bytes are transmitted whenever the status changes.

*The status to be transmitted are as follows :

44

45

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