background image

 

Rev. 1.00 

- 10 -

SRP-500

 

ESC & y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)] 

[Name]   

Define user-defined characters 

[Format]  

ASCII   ESC  &

    y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)] 

Hex  

1B   26

    y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)] 

Decimal  

27  38

   

y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]

 

[Range]   

y = 2 
32 

 c1 

 c2 

 255 

 x 

 14 (Font A) 

 x 

 12 (Font B) 

 d1 ... d(y x x) 

 255 

[Description]   

Defines user-defined characters. 

  y specifies the number of bytes in the vertical direction. 
  c1 specifies the beginning character code for the definition, and c2   

specifies the final code. When only one character is desired, use c1 = c2. 

  x specifies the number of dots in the horizontal direction. 

[Notes] 

  Consecutive character codes for multiple characters can be defined in one definition. 

When specifying only one character, specify c1 = c2. 

  "d" is definition data that indicates the pattern for " x" dots in the horizontal direction 

starting from the left edge. If " x" does not satisfy the number of dots in the character 
configuration pattern, the remaining dots on the right are spaces. 

  The number of bytes required to download a character definition for one character is " 

y" x " x". 

  In the definition data, a "1" represents a dot that is to be printed, and a "0" represents a 

dot that is not to be printed. 

  Independent downloaded character definitions are possible for each font. 
  The font is selected by the "ESC !" command. 
  The defined downloaded characters are cleared in the following circumstances:   

1) When "ESC @" is executed 
2) When deleted by "ESC ?" 
3) When the printer is reset or turned off 

[Default]   

The internal character set 

[Reference]   

ESC %, ESC ? 

 
 

ESC * m nL nH d1...dk 

[Name]   

Select bit-image mode 

[Format]   

ASCII ESC * m nL nH d1...dk 
Hex 1B 2A m nL nH d1...dk 
Decimal 27 42 m nL nH d1...dk 

[Range]   

m = 0, 1 

 nL 

 255 

 nH 

 3 

 d 

 255 

[Description]   

Selects a bit-image mode using m for the number of dots specified by 
nL and nH 

Содержание Bixolon SRP-500

Страница 1: ...Command Manual SRP 500 Inkjet Printer Rev 1 00 http www samsungminiprinters com...

Страница 2: ...uble strike mode on off 1B 47 21 ESC J Print and feed paper n vertical units 1B 4A 22 ESC R Select an international character set 1B 52 23 ESC U Turn unidirectional printing mode on off 1B 55 24 ESC a...

Страница 3: ...nes 1B 43 17 ESC E Emphasized print mode 1B 45 18 ESC F Emphasized print mode deselection Default setting 1B 46 19 ESC M Select 9 x 7 Half dots character size 1B 4D 20 ESC R Select international chara...

Страница 4: ...and 13 9 CAN Clear command 18 10 SUB Second drawer drive command 1A 11 ESC BEL Drive pulse setting command for the first drawer 1B 07 12 ESC Underline command 1B 2D 13 ESC 1 1 9 inch paper feed preset...

Страница 5: ...3 Control Commands Details HT Name Horizontal tab Format ASCII HT Hex 09 Decimal 10 Description Moves the print position to the next horizontal tab position Notes This command is ignored unless the n...

Страница 6: ...roll sensor status Notes This command should not be used within the data sequence of another command that consists of 2 or more bytes For example If you attempt to transmit ESC 3 n to the printer but...

Страница 7: ...Off 00 0 No mechanical error 2 On 04 4 Mechanical error occurred Off 00 0 No auto cutter error 3 On 08 8 Auto cutter error occurs 4 On 10 16 Not used Fixed to On Off 00 0 No unrecoverable error 5 On 2...

Страница 8: ...a mechanical error or an auto cutter error has occurred DLE ENQ 2 enables the printer to recover from an error after clearing the data in the receive buffer and the print buffer The printer retains th...

Страница 9: ...uple size characters are printed Underlining is added to the entire width of each character including the space to the right of a character but is not added to portions of lines that were skipped by m...

Страница 10: ...the pattern for x dots in the horizontal direction starting from the left edge If x does not satisfy the number of dots in the character configuration pattern the remaining dots on the right are spac...

Страница 11: ...the specified range the following data is processed as normal data After printing a bit image the printer returns to normal data processing mode The relationship between the image data and the dots to...

Страница 12: ...ormat ASCII ESC n Hex 1B 3D n Decimal 27 61 n Range n 1 Description Selects device to which host computer sends data n 1 enable n 2 disable Default n 1 ESC n Name Cancel user defined characters Format...

Страница 13: ...width x n from the beginning of the line The character width includes the right side space of the character and is twice the normal value when double width is specified This command deletes horizontal...

Страница 14: ...ode on off Format ASCII ESC G n Hex 1B 47 n Decimal 27 71 n Range 0 n 255 Description Turns double strike mode on or off When the LSB of n is 0 double strike mode is turned off When the LSB of n is 1...

Страница 15: ...ASCII ESC U n Hex 1B 55 n Decimal 27 85 n Range 0 n 255 Description Turns unidirectional printing mode on or off When the LSB of n is 1 turn on unidirectional printing mode Notes Only the lowest bit o...

Страница 16: ...Off On Hex Decimal Function Off 00 0 Paper roll near end sensor disabled 0 On 01 1 Paper roll near end sensor enabled 1 Off 00 0 Paper roll near end sensor disabled On 02 2 Paper roll near end sensor...

Страница 17: ...near end sensor is an option therefore if the paper roll near end sensor is enabled by this command when the sensor is not equipped it does not stop printing The paper roll near end sensor is enabled...

Страница 18: ...dm k Hex 1B 67 00 k nH nL k d1 dm k Decimal 27 103 00 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 0 d 255 Description Start macro definition Define logo k the number...

Страница 19: ...the pulse specified by t1 and t2 to connector pin m as follows n Connector Pin 0 Drawer kick out connector pin 2 1 Drawer kick out connector pin 5 Notes The pulse ON time is t1 x 2 ms and the OFF time...

Страница 20: ...ded command When DTR DSR control is selected by DIP switch Handshaking with a serial interface the printer transmits the status after confirming that the host is ready to receive data If the host comp...

Страница 21: ...beginning of a line In upside down printing mode the printer rotates the line to be printed by 180 and then prints it Default n 0 Example Upside down printing mode is turned off Upside down printing m...

Страница 22: ...r 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 s...

Страница 23: ...When n 0 the printer feeds the paper to cutting position n x 0 122 mm 1 192 inches GS a n Name Enable Disable Automatic Status Back Format ASCII GS a n Hex 1D 61 n Decimal 29 97 n Range 0 n 255 Descr...

Страница 24: ...command is disabled but ASB is not disabled The status to be transmitted are as follows First byte printer information Bit Off On Hex Decimal Status for ASB 0 Off 00 0 Not used Fixed to Off 1 Off 00 0...

Страница 25: ...t used Fixed to On 2 On 04 4 Not used Fixed to On 3 On 08 8 Not used Fixed to On 4 Off 00 0 Not used Fixed to Off 5 Off 00 0 Not used Fixed to Off 6 Off 00 0 Not used Fixed to Off 7 Off 00 0 Not used...

Страница 26: ...1 02 2 Ink cartridge installed 1st color 0 00 0 2 Ink cartridge not installed 1st color 1 04 4 Ink cartridge installed 2nd color 0 00 0 3 Ink cartridge not installed 2nd color 1 08 8 4 Reserved Clean...

Страница 27: ...sor status n 1 49 Bit Off On Hex Decimal Status for ASB Off 00 0 Paper near end sensor paper present Paper near end 0 1 On 03 3 sensor paper near end Off 00 0 Paper end sensor Paper present Paper end...

Отзывы: