background image

 

 

 

 
 
 

Command Manual 

SRP-500 

Inkjet Printer 
Rev. 1.02

 

 

 

 

http://www.samsungminiprinters.com

 

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

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

Страница 2: ...f 1B 45 21 ESC G Turn double strike mode on off 1B 47 22 ESC J Print and feed paper n vertical units 1B 4A 23 ESC R Select an international character set 1B 52 24 ESC U Turn unidirectional printing mode on off 1B 55 25 ESC a Select justification 1B 61 26 ESC c 3 Select paper sensor to output paper end signal 1B 63 33 27 ESC c 4 Select paper sensor to stop printing 1B 63 34 28 ESC c 5 Enable disabl...

Страница 3: ...e 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 character set 1B 52 21 ESC U Set or cancel uni direction mode 1B 55 22 ESC W 1 ESC W 1 Select expanded character mode 1B 57 31 1B 57 01 23 ESC W 0 ESC W 0 Cancel expanded character mode Default setting 1B 57 30 1B 57 00 24 ESC _ 1 ESC _ 1 Selec...

Страница 4: ...r 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 command 1B 31 14 ESC 2 2 9 inch paper feed preset command 1B 32 15 ESC C Paper length set command 1B 43 16 ESC P 0 Paper partial cut command 1B 50 00 17 ESC P 1 Paper partial cut command 1B 50 01 18 FS First drawer q...

Страница 5: ...4 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 next horizontal tab position has been set Horizontal tab positions are set with ESC D The default tab positions are at intervals of 8 characters columns 9 17 25 for the font B 12 x 12 Reference ESC D ...

Страница 6: ...r 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 DTR DSR for the host computer goes to MARK before n is transmitted and then DLE EOT 3 interrupts before n is received the code 10 H for DLE EOT 3 is processed as the code for ESC 3 10 H n 1 Printer ...

Страница 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 20 32 Unrecoverable error occurs Off 00 0 Automatic recover error 6 On 40 64 No automatic recover error 7 Off 00 0 Not used Fixed to Off Bit 2 If these errors occur due to paper jams or the like it is...

Страница 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 the settings by ESC ESC 3 etc in effect when the error occurred The printer can be initialized completely by using this command and ESC This command is enabled only for errors that have the possibility...

Страница 9: ...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 means of an HT Default n 1 Reference ESC E ESC ESC A Name Control the memory switches Format ASCII ESC A pL pH fn parameters Hex 1B 28 41 Decimal 27 40 65 Range 0 pL 255 pH 0 1 fn 4 Description This command controls the memory switch setting modes Each funct...

Страница 10: ... 1 byte footer 00H 0 1 byte If the host PC couldn t obtain proper data it has to terminate the setting mode by function 3 Reference ESC A ESC A pL pH fn a1 b18 b11 ak bk8 bk1 fn 2 Name Set the memory switch Format ASCII ESC A pL pH fn a1 b18 b11 ak bk8 bk1 Hex 1B 28 41 pL pH 02 a1 b18 b11 ak bk8 bk1 Decimal 27 40 65 pL pH 2 a1 b18 b11 ak bk8 bk1 Range fn 2 1 k 8 0x31 a 0x38 b 0x30 OFF b 0x31 ON De...

Страница 11: ...SC A pL pH fn a Hex 1B 28 41 02 00 04 a Decimal 27 40 65 2 0 4 a Range pL pH x 256 2 pL 2 pH 0 fn 4 Description The printer transmits the host the value for the memory switch specified by parameter a Notes The transmission packet is as follow Notice packet Hex Decimal Data quantity Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H or 31H 48 or 49 8 byte footer 00H 0 1 byte Reference ...

Страница 12: ...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 o...

Страница 13: ... 8 Single Density Permitted 252 1 8 Double Density Permitted 504 Notes If the values of m and nH are out of 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 be printed is as follows ESC n Name Turn underline mode on off Format ASCII ESC n Hex 1B 2D...

Страница 14: ...he home position sensor Since the home position is detected when this command is executed the printing position may shift after this command is executed ESC n Name Select device Format 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 ASCII ESC n Hex 1B 3...

Страница 15: ... tab position k indicates the total number of horizontal tab positions to be set Notes The tab position is set at character 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 tab positions that have already been set When n 8 has been set for the hori...

Страница 16: ...mode 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 double strike mode is turned on Notes Printing is slower in double strike mode Only the lowest bit of n is enabled The printer does not double strike for bit images Printer output is the same in doub...

Страница 17: ... 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 of n is enabled To avoid horizontal printing misalignment unidirectional printing mode should be used Default n 0 ESC a n Name Select justification Format ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Ran...

Страница 18: ... 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 enabled Off 00 0 Paper roll end detector disabled 2 On 04 4 Paper roll end detector enabled Off 00 0 Paper roll end detector disabled 3 On 08 8 Paper roll end detector enable 4 Undefined 5 Undefined ...

Страница 19: ...l 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 when either bit 0 or 1 is 1 The paper roll end sensor is a sensor which is always used to make an effective to stop printing Default n 0 ESC c 5 n Name Enable disable panel buttons Format ASCII ESC ...

Страница 20: ...1 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 of total macro index 256 nH nL the Length of each macro m 256 nH nL Notes The SRP 500 Printer maintains a 2M bit 256KB section of flash memory to save user information This function is useful define ...

Страница 21: ... 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 is t2 x 2 ms When t2 t1 the printer processes t1 x 2 ms Reference ESC r n Name Select print color Format ASCII ESC r n Hex 1B 72 n Decimal 27 114 n Range n 0 1 48 49 Description Selects the print co...

Страница 22: ...nded 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 computer is not ready to receive data the printer waits until the host becomes ready When XON XOFF control is selected by DIP switch Handshaking with a serial interface the printer transmits the status w...

Страница 23: ... 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 mode is turned on Paper feed direction Paper feed direction GS A pL pH n m Name Execute test print Format ASCII GS A pL pH n m Hex 1D 28 41 pL pH n m Decimal 29 40 65 pL pH n m Range pL pH 256 2 where...

Страница 24: ...er 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 series See table 0D 2 50 Type ID below 3 51 ROM version ID ROM version n 2 Type ID Bit Off On Hex Decimal Function Off 00 0 Two byte character code not supported 0 On 01 1 Two byte character code supp...

Страница 25: ...n 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 Description Enables or disables ASB and specifies the status items to include using n as follows Bit Off On Hex Decimal Status for ASB Off 00 0 Drawer kick out connector pin 3 status disabled 0 On 01 1 Dr...

Страница 26: ... 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 Not used Fixed to Off Off 00 0 Drawer kick out connector pin 3 is LOW 2 On 04 4 Drawer kick out connector pin 3 is HIGH Off 00 0 On line 3 On 08 8 Off line 4 On 10 16 Not used Fixed to On Off 00 0 C...

Страница 27: ...ot 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 Fixed to Off Default n 0 GS j n Name Enable disable Automatic Status Back ASB for ink Format ASCII GS j n Hex 1D 6A n Decimal 29 106 n Range 0 n 255 Default n 0 Description Enables of disables the AS...

Страница 28: ...r 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 Cleaning is not being performed 0 00 0 5 Cleaning is being performed 1 20 32 6 Fixed 1 40 64 7 Fixed 0 00 0 Status B Bit Function Binary Hexadecimal Decimal Ink near end not detected 2nd color 0 00 0 0 In...

Страница 29: ...nsor 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 sensor On 0C 12 no paper present 2 3 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 Fixed to Off Drawer kick out connector stat...

Отзывы: