Samsung SRP275APG user manual GS C p L p H m fn b, Function

Page 55

CHAPTER 4 Control commands list

GS ( C pL pH m fn b c1 c2

<Function 2>

 

 

 

 

 

 

 

[Format]

ASCII

GS

(

C

pL

pH

m

fn

b

c1

c2

 

Hex

1D

28

43

05

00

00

fn

00

c1

c2

 

Decimal

29

40

67

5

0

0

fn

0

c1

c2

[Range]

(pL + pH x 256) = 5

(pL = 5, pH = 0)

 

 

 

 

 

 

 

m = 0

 

 

 

 

 

 

 

 

 

 

 

fn = 2, 50

 

 

 

 

 

 

 

 

 

 

b = 0

 

 

 

 

 

 

 

 

 

 

 

32 ≤ c1 ≤ 126

 

 

 

 

 

 

 

 

 

 

32 ≤ c2 ≤ 126

 

 

 

 

 

 

 

 

 

[Description]

Transmits the data for the record with the ID code specified by parameters c1, c2 in the NV user

 

memory.

 

 

 

 

 

 

 

 

 

 

 

- ESC/POS Handshaking Protocol is required for this function.

 

GS ( C pL pH m fn b

<Function 3>

 

 

 

 

 

 

[Format]

ASCII

GS

(

C

pL

pH

m

fn

b

 

Hex

1D

28

43

03

00

00

fn

00

 

Decimal

29

40

67

3

0

0

fn

0

[Range]

(pL + pH x 256) = 3

(pL = 3, pH = 0)

 

 

 

 

 

 

 

m = 0

 

 

 

 

 

 

 

 

 

fn = 3, 51

 

 

 

 

 

 

 

 

 

b = 0

 

 

 

 

 

 

 

 

[Description]

The printer sends the host the number of data bytes currently used in the NV memory area.

 

- ESC/POS Handshaking Protocol is not required for this function.

 

GS ( C pL pH m fn b

<Function 4>

 

 

 

 

 

 

[Format]

ASCII

GS

(

C

pL

pH

m

fn

b

 

Hex

1D

28

43

03

00

00

fn

00

 

Decimal

29

40

67

3

0

0

fn

0

[Range]

(pL + pH x 256) = 3

(pL = 3, pH = 0)

 

 

 

 

 

 

 

m = 0

 

 

 

 

 

 

 

 

 

fn = 4, 52

 

 

 

 

 

 

 

 

 

b = 0

 

 

 

 

 

 

 

 

[Description]

The printer sends the available NV user memory.

 

 

 

 

 

 

- ESC/POS Handshaking Protocol is not required for this function.

 

GS ( C pL pH m fn b

<Function 5>

 

 

 

 

 

 

[Format]

ASCII

GS

(

C

pL

pH

m

fn

b

 

Hex

1D

28

43

03

00

00

fn

00

 

Decimal

29

40

67

3

0

0

fn

0

[Range]

(pL + pH x 256) = 3

(pL = 3, pH = 0)

 

 

 

 

 

 

 

m = 0

 

 

 

 

 

 

 

 

 

fn = 5, 53

 

 

 

 

 

 

 

 

 

b = 0

 

 

 

 

 

 

 

 

[Description]

Transmits the key code ID for the record stored in the NV user memory.

 

- ESC/POS Handshaking Protocol is required for this function.

 

 

4-19

Image 55
Contents USER’S Manual Page CE Marking EMC and Safety standards AppliedSafety precautions To Unplug Table of contents Appendix a Code table Appendix B ConnectorsRear view Front viewPage Page Choosing a place for the printer UnpackingConnect the AC adapter according to the following procedure Connecting the cablesConnecting the AC adaptor Connecting the interface cable and drawer kick-out cableInstalling the ribbon cassette Installing the paper roll Changing the paper width Installing the wall mount Option Paper OUT LED Red Color Using the operation panelControl panel Power LED Green Color Error LED Red ColorSelf test Recoverable errors Error LED blinking patternError Description Error LED blinking pattern Recovery If any of the lights are on, please check the following Printer does not start printingYou want to check the operation of the printer by itself Printer stops printingSelf test Hexadecimal dump To use the hexadecimal dump feature, follow these stepsPrinting is poor You want to check a software programDIP Switch setting for EpsonESC/POS mode Setting the DIP SwitchInternational Character Selection DSW Code Country DIP Switch setting for CitizeniDP 3550 modeDIP Switch setting for StarSP500 mode Changing the DIP Switch setting Code page selection MSW Character Table Memory Switch Function OffOnly Font B available Serial communication Function Selectable value Customize value Function Selectable value Paper roll widthExample of Memory Switch setup sheet Memory Switch Setup ModeProcedure of Memory Switch setting Settings Memory Switch setting for Star modeFunction Class Default Settings Precautions for selecting Option Function Memory Switch BitCountry Specifications MSW 0-4 = FF Command Function Selection MSWContextual Auto-cut Function Memory Switch Bit FunctionNear end switch Function MSW Near end switch FunctionCharacter Table Settings CR Command Functions MSW3-1 MSW3-0 CR IgnoredMSW3-9 MSW3-8 Character Table Once Explanation of term Command notationUndefined codes Undefined commandsSettings outside the defined range Exception processingCommands list for Epson mode TM-U220 Commands for SRP-275 seriesCommand Description Hex When auto line feed is disabled Command description for Epson mode TM-U220Bit Binary Hex Decimal Status FunctionStatus HexHex Decimal Function Connector pinDLE DC4 fn = BitESC % Density Mode Number of bits Dot densitySet Maximum number of dots Mode Dot DSW1-8 on HorizontalESC = ESC @ Font ESC JESC c ESC aJustification ESC e ESC dESC m ESC gESC g n ESCESC r ESC pESC t Hex Decimal Status ESC uPaper FS pFS q GS aFunction Description GS CFunction GS C p L p H m fn bGS D Real-time command typeGS E GS E pL pH fn d1 d2 Function Setting value b FunctionType of customized value GS E p L p H fn a FunctionCommunication condition GS E p L p H fn a d1...dkBixolon Printer ID SpecificationHex Decimal Status for ASB Decimal Function GS r DC2 Commands list for Star mode SP500ESC L Command Description Hexadecimal Commands list for Citizen mode iDP3550/3551Description Remark Printing specificationPaper specifications Ribbon cassette specificationReliability Electrical characteristicsEnvironment conditions Weight Dimensions & weightOptional features DimensionsPage Appendix a Code tables 1 Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic 16 WPC1252 Latin1 17 PC866 Russian 18 PC852 Latin2 19 PC858 Euro 21 PC862 Israel 22 PC864 Arabic 23 Thai character code 24 WPC1253 Greek 25 WPC1254 Turkish 26 WPC1257 Baltic 27 Farsi 28 WPC1251 Russian 29 PC737 Greek 30 PC775 Baltic 31 Thai character code 32 OldCode Israel 33 WPC1255 Israel 34 Thai character code 35 Thai character code International character code table RS-232C Serial I/F 2 RS-232C Serial I/F signal descriptionsRS-232C Serial I/F cable connection IEEE1284 Parallel I/F Pin no Source Compatibility mode Nibble mode Byte modeDrawer kick-out cable connection USB I/F signal descriptionsPin No Signal name Assignment Color Function Drawer kick-outKN02-00009E Rev