Samsung SRP275APG user manual ESC g n, Esc, ESC m

Page 50

ESC g

[Name]

Start macro record

 

 

 

 

 

[Format]

ASCII

ESC

g

0

<k> [<nH > <nL> ]k

[d1…dm]k

 

Hex

1B

67

00

<k> [<nH > <nL> ]k

[d1…dm]k

 

Decimal

27

103

0

<k> [<nH > <nL> ]k

[d1…dm]k

[Range]

k ≤ 10

 

 

 

 

 

 

0 ≤ nL ≤ 255

 

 

 

 

 

 

0 ≤ nH ≤ 255

 

 

 

 

 

 

[(256× nH) + nL ]1 + …..+ [(256× nH) + nL ]k

< 2Mbit (256KB)

 

 

0 ≤ d ≤ 255

 

 

 

 

 

[Description]

Start macro definition (Define logo)

 

 

 

 

- k = the number of total macro index

 

 

 

- (256× nH) + nL = the Length of each macro

 

 

- m = (256× nH) + nL

 

 

 

 

[Notes]

The SRP-275 Printer maintains a 2M bit (256KB) section of flash memory to save NV bit image.

 

• This command is useful to define NV bit image (Logo).

 

 

• The NV bit image is printed by ESC g n.

 

 

ESC g <n>

[Name]

Execute Macro

 

 

 

[Format]

ASCII

ESC

g

n

 

Hex

1B

67

n

 

Decimal

27

103

n

[Range]

1 ≤ n ≤ 10

 

 

 

[Description]

Execute macro using the parameter by n.

[Notes]

n = Macro index number.

 

 

 

• The NV bit image is defined by ESC g.

ESC i

[Name]

Partial cut (one point left uncut)

[Format]

ASCII

ESC

i

 

Hex

1B

69

 

Decimal

27

105

[Range]

None

 

 

[Default]

None

 

 

[Description]

Executes a partial cut of the paper with one point left uncut.

ESC m

[Name]

Partial cut (one point left uncut)

[Format]

ASCII

ESC

i

 

Hex

1B

69

 

Decimal

27

105

[Range]

None

 

 

[Default]

None

 

 

[Description]

Executes a partial cut of the paper with one point left uncut.

4-14

Image 50
Contents USER’S Manual Page EMC and Safety standards Applied CE MarkingSafety precautions To Unplug Table of contents Appendix B Connectors Appendix a Code tableFront view Rear viewPage Page Unpacking Choosing a place for the printerConnecting the interface cable and drawer kick-out cable Connecting the cablesConnecting the AC adaptor Connect the AC adapter according to the following procedureInstalling the ribbon cassette Installing the paper roll Changing the paper width Installing the wall mount Option Error LED Red Color Using the operation panelControl panel Power LED Green Color Paper OUT LED Red ColorSelf test Error Description Error LED blinking pattern Recovery Error LED blinking patternRecoverable errors Printer does not start printing If any of the lights are on, please check the followingSelf test Printer stops printingYou want to check the operation of the printer by itself You want to check a software program To use the hexadecimal dump feature, follow these stepsPrinting is poor Hexadecimal dumpSetting the DIP Switch DIP Switch setting for EpsonESC/POS modeDIP Switch setting for CitizeniDP 3550 mode International Character Selection DSW Code CountryDIP Switch setting for StarSP500 mode Changing the DIP Switch setting Only Font B available Memory Switch Function OffCode page selection MSW Character Table Customize value Function Selectable value Paper roll width Serial communication Function Selectable valueMemory Switch Setup Mode Example of Memory Switch setup sheetProcedure of Memory Switch setting Function Class Memory Switch setting for Star modeSettings Default Settings FF Command Function Selection MSW Function Memory Switch BitCountry Specifications MSW 0-4 = Precautions for selecting OptionMSW Near end switch Function Memory Switch Bit FunctionNear end switch Function Contextual Auto-cut FunctionMSW3-9 MSW3-8 Character Table CR Command Functions MSW3-1 MSW3-0 CR IgnoredCharacter Table Settings Once Command notation Explanation of termException processing Undefined commandsSettings outside the defined range Undefined codesCommand Description Hex Commands for SRP-275 seriesCommands list for Epson mode TM-U220 Command description for Epson mode TM-U220 When auto line feed is disabledHex FunctionStatus Bit Binary Hex Decimal StatusBit Connector pinDLE DC4 fn = Hex Decimal FunctionESC % Horizontal Mode Number of bits Dot densitySet Maximum number of dots Mode Dot DSW1-8 on DensityESC = ESC @ ESC J FontJustification ESC aESC c ESC d ESC eESC ESC gESC g n ESC mESC t ESC pESC r ESC u Hex Decimal StatusGS a FS pFS q PaperGS C Function DescriptionGS C p L p H m fn b FunctionGS E Real-time command typeGS D Setting value b Function GS E pL pH fn d1 d2 FunctionGS E p L p H fn a Function Type of customized valueGS E p L p H fn a d1...dk Communication conditionPrinter ID Specification BixolonHex Decimal Status for ASB Decimal Function GS r Commands list for Star mode SP500 DC2ESC L Commands list for Citizen mode iDP3550/3551 Command Description HexadecimalRibbon cassette specification Printing specificationPaper specifications Description RemarkEnvironment conditions Electrical characteristicsReliability Dimensions Dimensions & weightOptional features WeightPage 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 cable connection 2 RS-232C Serial I/F signal descriptionsRS-232C Serial I/F Pin no Source Compatibility mode Nibble mode Byte mode IEEE1284 Parallel I/FDrawer kick-out USB I/F signal descriptionsPin No Signal name Assignment Color Function Drawer kick-out cable connectionKN02-00009E Rev