Samsung SRP275APG user manual Memory Switch setting for Star mode, Settings, Function Class

Page 31

CHAPTER 3 Setting the switches

▌3.2.2 Memory Switch setting for Star mode

• Settings

Memory Switches are from MSW 0 to MSW 8. They are stored in non-volatile memory (flash memory). To change the settings, send the following commands from the host.

[Name]

Set Memory Switch

 

 

 

 

 

 

[Code]

ASCII

ESC

GS

#

m N n1 n2 n3 n4 LF NUL

 

 

Hexadecimal

1B

1D

23

m N n1 n2 n3 n4 0A 00

 

 

Decimal

27

29

 

35

m N n1 n2 n3 n4 10 0

 

[Defined Region]

m = "W", "T", ",", "+", "-", "@"

 

 

 

 

 

"0" ≤ N,n1,n2,n3,n4 ≤ "9",

 

 

 

 

 

"A" ≤ N,n1,n2,n3,n4 ≤ "F"

 

 

 

 

[Function]

Sends command to write after defining Memory Switch using the definition command

 

specified by the following classes to set the Memory Switch. The printer is automatically

 

reset after writing the setting defined by that command to the non-volatile memory.

 

Do not turn off the power to the printer while sending commands to the non volatile

 

memory. Doing so will destroy the Memory Switch setting. It is also possible for all Memory

 

Switch settings to become offset to their initial, default settings.

 

 

Consider the life of the non-volatile memory and avoid over-use of this command.

 

 

 

 

 

 

 

 

 

 

Function

 

 

 

Class

m

N

n1 n2 n3 n4

Data Definition (Data Specification)

 

 

Definition

","

N

n1 n2 n3 n4

Data definition (set specified bit)

 

 

 

Definition

"+"

N

n1 n2 n3 n4

Data definition (clear specified bit)

 

 

 

Definition

"-"

N

n1 n2 n3 n4

Data Definition (clear all data)

 

 

 

Definition

"@"

Fixed at "0"

Fixed at "0000"

Definition data write and reset

 

 

 

Write

"W"

Fixed at "0"

Fixed at "0000"

Definition data write and reset and test print

 

 

Write

"T"

Fixed at "0"

Fixed at "0000"

(Ex) Memory Switch 1-8 = 0; Memory Switch 2-7 = 1: Memory Switch 2-A =1 for a test print:

PRINT #1, CHR$(&H1B);CHR$(&H1D);CHR$(&H23);CHR$(&H2D);CHR$(&H31); ' <ESC><GS> # - 1

PRINT #1, CHR$(&H30);CHR$(&H31);CHR$(&H30);CHR$(&H30);CHR$(&H0A);CHR$(0); ' 0100 <LF><NUL> PRINT #1, CHR$(&H1B);CHR$(&H1D);CHR$(&H23);CHR$(&H2B);CHR$(&H32); ' <ESC><GS> # + 2 PRINT #1, CHR$(&H30);CHR$(&H34);CHR$(&H38);CHR$(&H30);CHR$(&H0A);CHR$(0); ' 0480 <LF><NUL> PRINT #1, CHR$(&H1B);CHR$(&H1D);CHR$(&H23);CHR$(&H54);CHR$(&H30); ' <ESC><GS> # T 0

PRINT #1, CHR$(&H30);CHR$(&H30);CHR$(&H30);CHR$(&H30);CHR$(&H0A);CHR$(&H0); ' 0000 <LF><NUL>

3-9

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