Samsung SRP275APG user manual Exception processing, Undefined codes, Undefined commands

Page 38

▌4.3 Exception processing

• Undefined codes

This term refers to the codes ranging from 00H to 1FH in the character code table. If a code in this range that is not defined as a command is input, that code (one byte) is read in and discarded, and subsequent data is processed as normal data.

Example : 30H, 31H, 03H, 32H, 0AH, 33H

If the above data string is input, the printer reads in and discards "03H" as an undefined code.

Note that 0AH is defined as a command (LF). As a result, the data string that is actually processed is: 30H, 31H, 32H, 0AH, 33H

• Undefined commands

If the data following ESC (1BH) or GS (1DH) is not defined as a command, then the two bytes (ESC/GS and the code that follows) are read in and discarded.

Example : 30H, 1BH, 22H, 31H, 32H

If the above data string is input, the printer discards the data 1BH and 22H as undefined commands. As a result, the data string that is actually processed is: 30H, 31H, 32H

• Settings outside the defined range

If a value outside of the defined range is input for a command that takes parameters, that command is ignored and the previous value for that setting remains unchanged. In the case of a command that takes multiple parameters, command processing is halted the moment that a value outside of the defined range is input and subsequent values are processed as normal data.

Example : 1BH, 52H, 15H

If the above data string is input, 1BH and 52H are defined as a command (ESC R), but the parameter 15H is outside of the defined range. As a result, the printer reads in and discards the data string 1BH, 52H, 15H. Accordingly, the previously set international character set is not changed.

4-2

Image 38
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