Samsung SRP-500 manual GS a pL pH n m, GS I n

Page 35

GS ( A pL pH n m

[Name]

Execute test print

 

 

 

 

 

 

[Format]

ASCII

GS

(

A

pL

pH

n

m

 

Hex

1D

28

41

pL

pH

n

m

 

Decimal

29

40

65

pL

pH

n

m

[Range]

(pL + (pH ×256) ) = 2

(where

pL = 2, pH = 0)

 

 

0 ≤ n ≤ 2, 48 ≤ n ≤ 50

 

 

 

 

 

 

1 ≤ m ≤ 3, 49 ≤ n ≤ 51

 

 

 

 

 

[Description]

Executes a test print with a specified test pattern on a specified paper.

pL and pH specifies the number of the parameter such as n,m to (pL + (pH ×256) ) bytes.

n specifies the paper to be tested.

n

Paper

0, 48

Basic sheet (paper roll)

1, 49

Paper roll

2, 50

 

m specifies a test pattern.

nTest pattern

1, 49

Hexadecimal dump

2, 50

Printer status print

3, 51

Rolling pattern print

[Notes]

When the hexadecimal dump is printed by this command, the data which is transmitted after the command may not be printed because the printer clears the receive buffer. To avoid this, transmit data from the host after the printer prints the starting message of the hexadecimal dump.

This command is enabled only when processed at the beginning of a line in standard mode.

61

GS I n

[Name]

Transmit printer ID

 

 

[Format]

ASCII

GS

I

n

 

Hex

1D

49

n

 

Decimal

29

73

n

[Range]

 

1 ≤ n ≤ 3

 

 

 

[Function]

 

Transmits the printer ID specified by n as follows:

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

Printer ID

 

 

Specification

 

ID (hexadecimal)

1,49

 

Printer model ID

 

SRP-500 series See table

 

0D

2,50

 

Type ID

 

below

 

 

3,51

 

ROM version ID

 

ROM version

 

n = 2, Type ID

 

 

 

 

 

Bit

 

Off/On

 

Hex

Decimal

Function

0

 

Off

 

00

 

0

 

Two-byte character code not supported.

 

 

On

 

01

 

1

 

Two-byte character code supported.

1

 

Off

 

00

 

0

 

Auto cutter not equipped.

 

 

 

On

 

02

 

2

 

Auto cutter equipped.

 

2

 

-

 

-

 

-

 

Undefined.

 

3

 

-

 

-

 

-

 

Undefined.

 

4

 

Off

 

00

 

0

 

Not used. Fixed to Off.

 

5

 

-

 

-

 

-

 

Undefined.

 

6

 

-

 

-

 

-

 

Undefined.

 

7

 

Off

 

00

 

0

 

Not used. Fixed to Off.

 

[Notes]

The printer ID is transmitted when the data in the receive buffer is developed. Therefore, there may be a time lag between receiving this command and transmitting the status, depending on the receive buffer status.

[Reference]

62

Image 35
Contents SRP-500 Do not let water or other foreign objects Printer ReachTaking following measures EMC and Safety standards Applied Table of contents Front view Rear view IntroductionChoosing a place for the printer Setting up the printerUnpacking Connecting the interface cable Connecting the cablesConnect the AC adapter according to the following procedure Installing or replacing paper roll Installing new Ink cartridges Clean Button Using the control panelControl panel Power LED Error LEDIf any of the lights are on, please check the following TroubleshootingSelf test Running the self testPrinting is poor Cleaning the print headPrinter stops printing You want to check the operation of the printer by itselfYou want to check a software program DIP switch settingsSetting the DIP switches DIP switch functionsChanging the DIP switch setting Code table 3 PC860 Portuguese 4 PC 863 Canadian French 5 PC 865 Nordic 16 CP1252 WinLatin1 17 PC 866 Russian 18 CP 852 DosLatin2 19 PC 858 Euro 21 MS-DOS 862 Israel 22 MS-DOS 864 Arabic 23 MS-DOS 874 Thai Commands Control commands listName Horizontal tab Format Command descriptionsCharacter Code Tables = 2 Off-line status DLE EOT nName Real-time status transmission Format Name Real-time request to printer Format = 3 Error statusDLE ENQ n ESC SP nName Select print modes Format Name Select/cancel user-defined character set FormatESC ! n ESC % nName Define user-defined characters Format ESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xkESC * m nL nH d1...dk ESC = n ESC nESC 3 n ESC D n1... nk NUL ESC ? nESC J n ESC E nESC G n ESC U n ESC R nESC a n Name Select paper sensorsto stop printing Format ASCll ESC c 3 nESC c 4 n ESC g0 k nH nL kd1…dmk ESC c 5 nESC d n ESC t n ESC mESC p m t1 t2 Name Transmit paper sensor status Format Name Turns on/off upside-down printing mode FormatESC GS I n GS a pL pH n mGS a n Name Enable/Disable Automatic Status Back Format① GS V m ② GS V m n Third byte paper sensor information Default n = ReferenceFirst byte printer information Second byte printer informationStatus B GS j nReference information Printing specificationPaper specification Ink cartridge specificationReliability Electrical characteristicsDimensions & Weight Optional featuresMemo ………..………………………………………………