background image

SRP-F310/312

Thermal Printer

   Command Manual 

Summary of Contents for SRP-F310

Page 1: ...SRP F310 312 Thermal Printer Command Manual ...

Page 2: ...SRP F310 312 Rev 1 01 BIXOLON 2 Contents 1 Notice 3 2 Control Commands List in Alphanumeric Order 4 2 1 Command Description Items 6 2 2 Details of Control Commands 7 ...

Page 3: ...ovided that such proprietary information may not be used reproduced or disclosed to any other parties for any other purpose without the prior written permission of BIXOLON Corporation BIXOLON has no liability for loss or damage arising from or relating to your use of or reliance on the information in the document We at BIXOLON maintain ongoing efforts to enhance and upgrade the functions and quali...

Page 4: ...fined character set 36 ESC p Generate pulse 12 ESC Define user defined character set 37 ESC t Select character code table 13 ESC Specify bit image mode 38 ESC v Transmit paper sensor status 14 ESC Turn underline mode on off 39 ESC Turn upside down print mode on off 15 ESC 2 Select default line spacing 40 FS p Print NV bit image 16 ESC 3 Set line spacing 41 FS q Define NV bit image 17 ESC Select pe...

Page 5: ... font for HRI characters 60 GS h Set bar code height 61 GS k Print bar code 62 GS r Transmit status 63 GS v 0 Print raster bit image 64 GS w Set bar code width 65 BS F W Download customized font 66 BS F R Read customized font 67 BS F C Clear customized font 68 BS F I Transmit customized font information 69 BS M Select device font type 70 BS V Select cut mode and executes a partial full cut 71 BS W...

Page 6: ...nd format expressed in ASCII hexadecimal and decimal codes Range Argument value Setting range for the command Default Initial argument value for the command Description Detailed command function description Remarks Additional information about using the command Differences Variations depending on the printer model ...

Page 7: ... Description This command moves the print position to the next horizontal tab position If the next horizontal tab position is not specified this command will be void Remarks The horizontal tab position is set by ESC D With the underline mode turned on the underline printing is not applied to the tab space created by this command Differences None ...

Page 8: ...0 Range None Default None Description This command prints the data in the print buffer and feeds one line based on the current set line spacing in standard mode Remarks In page mode the printer does not perform actual printing but moving only the print position to the next line Differences None ...

Page 9: ...he printer buffer In page mode After completion of printing the printer is returned to standard mode Remarks The printer is returned to standard mode after completion of printing This command works in page mode enabled by ESC L or FS L If the paper is positioned at the print starting position this command is ignored not performing actual paper feeding operation Differences None ...

Page 10: ...Decimal 13 Range None Default None Description This command prints the data With auto line feed enabled it performs printing and one line feeding same as LF Remarks Auto line feed is only enabled using the memory switch Auto line feed is turned on by setting memory switch 5 4 Differences None ...

Page 11: ...he print data in page mode Code ASCII CAN Hex 18 Decimal 24 Range None Default None Description This command clears the receive buffer and print buffers in page mode Remarks This command is effective only in page mode that is set by ESC L Differences None ...

Page 12: ...d by n as follows n Function 1 Transmit printer status 2 Transmit off line status 3 Transmit error status 4 Transmit paper roll sensor status Printer transmits the following status n 1 Printer status Bit Binary Hex Decimal Status 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 2 0 00 0 Drawer kick out connector pin 3 is LOW 1 04 4 Drawer kick out connector pin 3 is HIGH 3 0 00 0 Onlin...

Page 13: ... On 08 8 Paper is being fed by the paper FEED button 4 On 10 16 Fixed 5 Off 00 0 No paper end stop On 20 32 Printing is being stopped 6 Off 00 0 No error On 40 64 Error has occurred 7 Off 00 0 Fixed n 3 Error status Bit Binary Hex Decimal Status 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 2 0 00 0 Not used Fixed to Off 3 0 00 0 No autocutter error 1 08 8 Autocutter error occurred ...

Page 14: ... 4 1 10 16 Not used Fixed to On 5 6 00 00 0 Paper end sensor paper present 11 60 96 Paper end sensor paper not present 7 0 00 0 Not used Fixed to Off Remarks the status is transmitted to the host upon being requested that can check the printer operational condition with it and takes appropriate measures accordingly The real time command is stored into the receive buffer and executed with higher pr...

Page 15: ...n 2 1 Drawer kick out connector pin 5 This command generates the drive pulse to connector pin m with pulse width defined by t as following Drawer kick out connector pin 2 is selected with m 0 while pin 5 chosen for m 1 Pulse ON time is t x100 ms and OFF time t x100 ms Remarks Upon receiving this command the printer outputs the drive pulse to the specified connector pin The real time command is sto...

Page 16: ...n 255 Default n 0 Description This command sets the size of space to right of character Right space n horizontal motion units Remarks In a double width mode the right space will be doubled Horizontal motion unit varies depending the printer model Differences Horizontal motion unit SRP F310 0 141mm 1 180 inch SRP F312 0 125mm 1 203 inch ...

Page 17: ...e selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Off 00 0 Reserved 7 Off 00 0 Underline mode not selected On 80 128 Underline mode selected Remarks As alternative to this command ESC M ESC E and ESC can be used for the selection for character font emphasized mode and underline ...

Page 18: ...ing start position is calculated using nL nH x 256 x vertical or horizontal motion units Remarks Any setting values that go beyond the printable area is ignored In standard mode the horizontal motion unit is used for the calculation In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vert...

Page 19: ...nd selects deselects user defined character set that is downloaded by user To make it valid the least significant bit should be defined like following When n 0 the user defined character set is deselected When n 1 the user defined character set is selected Remarks The resident character set is enabled and used right after canceling the user defined character set Differences None ...

Page 20: ... a designated range from the start character code c1 to the end character code c2 y denotes the number of bytes in the vertical direction x the number of dots in the horizontal direction and d the dot data for the user defined characters Remarks Alphanumeric characters 20H decimal 32 to 7EH decimal 126 are definable Once user defined characters are defined they remain available until they are rede...

Page 21: ...SRP F310 312 Rev 1 01 BIXOLON 21 d1 d3 d5 d7 d9 d11 d13 MSB LSB d2 d4 d6 d8 d10 d12 d14 MSB LSB Differences None ...

Page 22: ...ta and 0 for not printed k denotes the number of horizontal dots Remarks If the bit image data being entered is beyond the number of dots to be printed the surplus will be discarded If the value of m is beyond the conditions the subsequent data after m will be treated as normal data Differences SRP F310 DPI Dots per Inch 25 4mm m Mode Number of dots in vertical direction Vertical dot density DPI H...

Page 23: ...n vertical direction Vertical dot density DPI Horizontal dot density DPI Number of bytes k 0 8 dot single density 8 203 3 203 2 nL nH x 256 1 8 dot double density 8 203 3 203 nL nH x 256 32 24 dot single density 24 203 203 2 nL nH x 256 x 3 33 24 dot double density 24 203 203 nL nH x 256 x 3 ...

Page 24: ...ollowing it to be printer out underlined The underline mode varied depending on the following values of n n Function 0 48 Turns off underline mode 1 49 Turns on underline mode set at 1 dot thick 2 50 Turns on underline mode set at 2 dot thick Remarks The spaces generated by horizontal tab are not underlined Using bit 7 of ESC the underline mode can be activated deactivated as well Differences None...

Page 25: ...he default line spacing The default line spacing is approximately 3 75 mm which is equivalent to 30 dots Remarks The line spacing can be set independently in standard mode and in page mode The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences Default line spacing SRP F310 4 23 mm 30 dots SRP F312 3 75 mm 30 dots ...

Page 26: ...the vertical motion unit is used In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vertical motion unit is used The line spacing is settable independently for each of standard and page modes Differences Vertical or horizontal motion unit and maximum line spacing settable Model Vertical ...

Page 27: ...n as follows n Function 1 Enables the printer 2 Disables the printer 3 Enables the printer Remarks The printer discards all of the received data commands with the exception of ESC and real time commands while being disabled The normal operation will be resumed by ESC power cycling or printer reset If ASB is activated when the printer is disabled by this command the status is transmitted to the hos...

Page 28: ...l 27 63 n Range 32 n 126 Default None Description This command removes user defined character specified by character code n Remarks In place of the deleted user defined character the cooresponding resident character is printed The user defined characters for each font can be deleted independently Differences None ...

Page 29: ...conditions having existed at power on Remarks The data in the printer buffer is cleared The settings of DIP switch are not re read The data in the receive buffer is not discarded All of the settings such as print mode and line feed are cleared NV graphics and NV user memory are not cleared In page mode this command removes the data in print areas restores the initial settings and returns to standa...

Page 30: ... n k signifying the set position is transmitted in the ascending order and ends with a NUL code ESC D NUL cancels all horizontal tab positions Tab position is set at the value of character width x n from the beginning of the line The character width includes the space to the right of the character and it will be twice the normal character when the double width characters are selected If the data n...

Page 31: ...0 Description This command turns emphasized mode on or off by toggling the least significant bit of n like following When the LSB of n is 0 emphasized mode is turned off When the LSB of n is 1 emphasized mode is turned on Remarks The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None ...

Page 32: ...0 Description This command turns double strike mode on or off by toggling the least significant bit of n like following When the LSB of n is 0 emphasized mode is turned off When the LSB of n is 1 emphasized mode is turned on Remarks The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None ...

Page 33: ...model With standard mode selected the vertical motion unit is used In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vertical motion unit is used When used in page mode this command moves only the print position not executing actual printing Differences Vertical motion unit and maximum ...

Page 34: ...d independently in standard mode and page mode ESC SP ESC 2 and ESC 3 The following commands are not activated in page mode ESC L FS q GS A GS T The following commands are not effective in page mode The conditions set by these commands in page mode are available when the printer returns to standard mode ESC V ESC a ESC GS L and GS W The printer resumes standard mode by the use of ESC S FF and ESC ...

Page 35: ... n 0 Description This command selects only byte character fonts using n as following n Function 0 48 Character font A selected 1 49 Character font B selected Remarks The printer model has it own configuration of Font A and B The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None ...

Page 36: ...ion This command specifies international characters according to n values n Character set n Character set 0 U S A 7 Spain I 1 France 9 Norway 2 Germany 10 Denmark II 3 U K 11 Spain II 4 Denmark I 12 Latin America 5 Sweden 13 Korea 6 Italy Remarks The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None ...

Page 37: ...t None Description This command enables standard mode Remarks The data in the printer buffer is cleared and the setting by ESC W returns to the default The conditions by the following commands are defined independently in standard mode and page mode ESC SP ESC 2 and ESC 3 In standard mode CAN and GS are ignored Differences None ...

Page 38: ...cessed in standard mode the setting by this command is effective when the printer changes to page mode Depending on the print starting position set by this command the horizontal motion unit or vertical motion unit is used for the following commands When the starting position is the upper left or lower right of the print area ESC SP ESC ESC use the horizontal motion unit and ESC 3 ESC J GS the ver...

Page 39: ...s turned off When the value of n is equal to 1 2 48 or 50 90 clockwise rotation mode is turned on Remarks In underline mode the underline printing for 90 clockwise rotated characters does not work and the relationship between vertical and horizontal directions is reversed The 90 clockwise rotation mode is not effective in page mode If set in page mode the 90 clockwise rotation mode has effect afte...

Page 40: ...256 0 xL 0 xH 0 yL yH x 256 0 yL 0 yH 0 dxL dxH x 256 512 dxL 0 dxH 2 dyL dyH x 256 1662 dyL 126 dyH 6 SRP F312 When a paper width of 80mm 3 15 is selected xL xH x 256 0 xL 0 xH 0 yL yH x 256 0 yL 0 yH 0 dxL dxH x 256 576 dxL 64 dxH 2 dyL dyH x 256 1662 dyL 126 dyH 6 Description This command set the position and the size of the printing area in page mode as following Horizontal starting position x...

Page 41: ...dth is beyond the printable area the Vertical printing area width is set to Vertical printing area Vertical starting position This command is not effective in standard mode If this command is processed in standard mode the setting by this command is effective when the printer returns to page mode The setting of this command remains effective until ESC ESC printer reset or power cycling is executed...

Page 42: ... nL nH x 256 in the right direction based on the current position Remarks The printer ignores any setting that exceeds the print area When the print area has been exceeded this command is ignored With standard mode selected the vertical motion unit is used In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ...

Page 43: ... one line in standard mode using n as follows n Alignment 0 48 Left alignment 1 49 Center alignment 2 50 Right alignment Remarks This command is not effective in page mode If this command is processed in page mode the setting by this command becomes effective when the printer returns to standard mode The setting of this command remains effective until ESC ESC printer reset or power cycling is exec...

Page 44: ...lines after printing the data in the print buffer Remarks The per line paper feed amount is based on the value set by the line spacing related commands ESC 2 and ESC 3 In page mode this command moves only the print position not performing actual print If the feed amount set is beyond the maximum feed amount the feed amount will be set to the maximum feed amount automatically Differences None ...

Page 45: ...eft uncut Remarks The same partial cut as this command is executed using ESC m and GS V Differences This command is effective for the printer equipped with an autocutter Autocutter operation should be enabled by setting the autocutter control DIP switch If the autocutter control DIP switch of the printer not equipped with autocutter is set the printer does not operate displaying the error signal b...

Page 46: ...eft uncut Remarks The same partial cut as this command is executed using ESC i and GS V Differences This command is effective for the printer equipped with an autocutter Autocutter operation should be enabled by setting the autocutter control DIP switch If the autocutter control DIP switch of the printer not equipped with autocutter is set the printer does not operate displaying the error signal b...

Page 47: ...255 0 t2 255 Default None Description This command outputs the signals specified with t1 and t2 to the connector pins defined by m m Connector pin 0 48 Drawer kick out connector pin 2 1 49 Drawer kick out connector pin 5 Remarks The ON time is t1 x 2ms and the OFF time is as t2 x 2ms If t2 is smaller than t1 OFF time is set to t1 x 2ms Differences None ...

Page 48: ...t n 20 Description This command specifies code page according to the value of n as follows n Code page 0 Page 0 437 USA Standard Europe 1 Page 1 Katakana 2 Page 2 850 Multilingual 3 Page 3 860 Portuguese 4 Page 4 863 Canadian French 5 Page 5 865 Nordic 16 Page 16 1252 Latin I 17 Page 17 866 Cyrillic 2 18 Page 18 852 Latin 2 19 Page 19 858 Euro 21 Page 21 862 Hebrew DOS code 22 Page 22 864 Arabic 2...

Page 49: ...Hebrew New code 34 Page 34 Thai 11 35 Page 35 Thai 18 36 Page 36 855 Cyrillic 37 Page 37 857 Turkish 38 Page 38 928 Greek 39 Page 39 Thai 16 40 Page 40 1256 Arabic 41 Page 41 1258 Vietnam 42 Page 42 Khmer Cambodia 47 Page 47 1250 Czech 255 User Code Page Space Remarks The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None ...

Page 50: ... status of paper near end and paper end sensors is sent to the host as follows When paper near end is detected 0x03 is transmitted When paper end is detected 0xC is transmitted Remarks The paper sensor status can be transmitted using GS r The near end senor is optional while paper end sensor required If the printer is not equipped with a near end sensor the paper near end sensor is considered as n...

Page 51: ...ned off 1 Turned on Remarks This command is valid only when entered at the beginning of the line The upside down print mode has no effect in page mode If this command is processed in page mode upside down printing mode is enabled when the printer returns to standard mode 180 rotated characters are printed from right to left in upside down print mode The setting of this command remains effective un...

Page 52: ...ple Remarks GS L and GS 8 can be used for printing NV bit image The NV bit image is defined by FS q n is assigned to each NV bit image to be stored in download order by FS q This command has no effect with NV bit image not defined in advance In page mode the NV bit image is saved without being printed The printer does not print the NV bit image that is beyond one line of print area When using unid...

Page 53: ...I Dots per Inch 25 4mm Mode Vertical Dot Density DPI Horizontal Dot Density DPI Normal 180 180 Double width 180 90 Double height 90 180 Quadruple 90 90 Mode Vertical Dot Density DPI Horizontal Dot Density DPI Normal 203 203 Double width 203 203 2 Double height 203 2 203 Quadruple 203 2 203 2 ...

Page 54: ...ription This command defines the NV bit image in the NV memory n denotes the number of the NV being defined xL xH and yL yH set the number of dots in the horizontal and vertical directions to xL xH 256 x 8 and yL yH 256 x 8 respectively for the NV bit image Remarks GS L and GS 8 can be used for defining NV bit image When this command is entered all NV bit images previously defined are removed from...

Page 55: ... ASB and real time functions will not operate Bit image data and print result are as follows d1 dY 1 MSB LSB d2 dY 2 dk 2 MSB LSB dk 1 MSB LSB dY dY x 2 dk MSB LSB NV memory is devided into 2 areas for mono and 2 color graphics The capacity of each NV memory area is 256KB Differences None ...

Page 56: ...tion This command selects the character height and width using bits 0 to 3 and bits 4 to 7 respectively as follows Bit Function Setting 0 Specifies the number of times normal font size in the vertical direction Refer to Table 2 Enlarged in vertical direction 1 2 3 4 Specifies the number of times normal font size in the horizontal direction Refer to Table 1 Enlarged in horizontal direction 5 6 7 ...

Page 57: ... standard 01 1 2 times 02 2 3 times 03 3 4 times 04 4 5 times 05 5 6 times 06 6 7 times 07 7 8 times Remarks The character size set by this command is valid for alphanumeric user defined characters multi byte code characters such as Chinese Japanese and Korean Double width and double height modes can be set by ESC Multi byte code characters are specified only by this command The setting of this co...

Page 58: ...ion to nL nH 256 vertical or horizontal motion unit Remarks This command is activated only in page mode and ignored in standard mode Either vertical or horizontal motion unit is used according to the print direction set by ESC T as follows With the starting position of the upper left or lower right on the print area the vertical motion unit is used In other cases the horizontal motion unit is used...

Page 59: ...cted according to m as follows m Test pattern 1 49 Hexadecimal dump mode 2 50 Self test printing configuration default codepage 3 51 Not operated Remarks The printer cancels a macro definition in progress If this command is processed The macro becomes invalid After completion of this command a software reset is executed automatically to restore the printer status set during power cycling All of th...

Page 60: ... NV graphics momory capacity 2 50 50 GS L pL pH m fn Prints the graphics data in the print buffer 3 51 51 GS L pL pH m fn Transmits the remaining capacity of the NV grapics memory 64 64 GS L pL pH m fn d1 d2 Transmits the defined NV graphics key code list 65 65 GS L pL pH m fn d1 d2 d3 Deletes all NV graphics data 66 66 GS L pL pH m fn kc1 kc2 Deletes the specified NV graphics data 67 67 GS L pL p...

Page 61: ...eration could cause the damage to the NV memory it is recommended to write only when being required While storing data by this command the printer is in BUSY state where receiving of data is not available Therefore it is not recommended to send data during this process The real time commands and ASB operations are not allowed during NV memory operation process Differences None ...

Page 62: ...smits the total capacityu of the NV bit image momory number of bytes in the memory area Remarks Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H or 31H 48 or 49 8 bytes NUL 00H 0 1 byte The total capacity data is converted to character codes corresponding to decial data then transmitted from the MSB The data length is variable The default value is ...

Page 63: ... Description This command prints the graphics data defined by the process of Function 112 Remarks The graphics data stored in the printer buffer is printed This command is available in standard mode not in page mode The graphics data is defined by Function 112 The required amount of line feed pitch is used for printing graphics data regardless of the existing setting value of the pitch Differences...

Page 64: ...None Description This command transmits the setting value of the memory switch corresponding to a Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H 39H 48 57 1 8 bytes NUL 00H 0 1 byte The setting value is sent from bit 8 to bit 1 consisting of 8 bytes in total Off Hexadecimal 30H Decimal 48 On Hexadecimal 31H Decimal 49 Remarks None Differences Non...

Page 65: ... m 48 fn 64 d1 75 d2 67 Default None Description Transmits the defined NV graphics key code list Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H or 41H 64 or 65 1 byte Data 30H 39H 48 57 2 80 bytes NUL 00H 0 1 byte When the key code is not present Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H 64 1 byte NUL 00H 0 1 byte...

Page 66: ...a response from the hosg then it performs the process defined by the response See the tables below When the status existence of the next data block is Hexadecimal 41H Decimal 65 Response Process performed ASCII Decimal ACK 6 Transmits the next data NAK 21 Transmits the previous data again CAN 24 Ends the process When the status for the last data block is Hexadecimal 40H Decimal 64 Response Process...

Page 67: ... m fn d1 d2 d3 Decimal 29 40 76 pL pH m fn d1 d2 d3 Range pL pH x 256 5 pL 5 pH 0 fn 65 d1 67 d2 76 d3 82 Default None Description This command removes all defined NV graphics data Remarks The graphics data is define by Function 67 into the NV graphics memory with the sector dedicated for storing NV graphics data Differences None ...

Page 68: ...m fn kc1 kc2 Hex 1D 28 4C pL pH m fn kc1 kc2 Decimal 29 40 76 pL pH m fn kc1 kc2 Range pL pH x 256 4 pL 4 pH 0 m 48 fn 66 32 kc1 126 32 kc2 126 Default None Description Deletes the NV graphics data defined by the codes kc1 and kc2 Remarks The graphics data is define by Function 67 Differences None ...

Page 69: ...76 pL pH m fn kc1 kc2 b xL xH yL yH cd1 dk 1 c d1 dk b Range GS L parameter 3 pL pL x 256 65535 0 pL 255 0 pH 255 GS 8 parameter 3 p1 p2 x 256 p3 x 65535 p4 x 16777216 4294967295 0 p1L 255 0 p2 255 0 p3 255 0 p4 255 Common parameter m 48 fn 67 a 48 32 kc1 126 32 kc2 126 b 1 2 1 xL xH x 256 8192 1 yL yH x 256 2304 c 49 When The monochrome paper is selected c 50 When The two color paper is selected ...

Page 70: ...wo color printing mode Remarks Color 1 means black and Color 2 red that is available for 2 color paper If new NV graphics data is saved or the existing data is modified all of the existing data in NV graphics memory are flushed and updated using this command The rest of NV graphics data groups having no change should be redefined along with the new group stored When NV graphics data groups are sav...

Page 71: ...6 pH 0 m 48 fn 69 32 kc1 126 32 kc2 126 x 1 2 y 1 2 Default None Description Prints the NV graphics data defined by the codes kc1 and kc2 The graphics data is enlarged by x and y in the horizontal and vertical directions Remarks This command prints the NV graphics data defined by Function 67 In page mode this command is not effective NV graphics data beyond the print area for one line is not print...

Page 72: ...pL x 256 65535 0 pL 255 0 pH 255 GS 8 L parameter 11 p1 p2 x 256 p3 x 65535 p4 x 16777216 4294967295 0 p1L 255 0 p2 255 0 p3 255 0 p4 255 Common parameter m 48 fn 112 a 48 c 49 When The monochrome paper is selected c 50 When The two color paper is selected When single color paper secified 1 xL xH x 256 1662 When by 1 1 xL xH x 256 831 When by 2 When two color paper secified 1 xL xH x 256 831 When ...

Page 73: ...he vertical direction to yL yH x 256 dots d denotes the stored data raster format k denotes the number of the graphics data c specifies the color of the defined data c Defined data color 49 Color 1 50 Color 2 Color 1 means black and Color 2 red or blue that is available for 2 color paper Remarks The graphics data is stored in the printer buffer directly NV graphics data beyond the print area for o...

Page 74: ...9 50 when the two color paper is selected Default m 49 Description This command selects the color specified by m m Color 49 Color 1 50 Color 2 Color 1 means black and Color 2 red Remarks In white black reverse mode the characters are regarded as nonprinting dots and the background is printed in the color specified by this command In underline mode the underline is printed in the color defined by t...

Page 75: ... 49 QR CODE 2 dimensional code cn fn Function 48 65 Function 065 PDF417 Specify the number of columns 66 Function 066 PDF417 Specify the number of rows 67 Function 067 PDF417 Specify the width of module 68 Function 068 PDF417 Specify the module height 69 Function 069 PDF417 Specify the error correction level 70 Function 070 PDF417 Specify the option 80 Function 080 PDF417 Store the received data i...

Page 76: ...ol may not be printed The same symbol data is repeatedly printed by executing Function 081 after performing Function 080 The same symbol data is printed differently by executing Function 081 after setting the feature of the symbol by using Functions 065 through 070 QRCODE Symbol Data cn 49 The symbol data is defined stored to the symbol storage area by Function 180 and printed by the specification...

Page 77: ...ord Remarks Settings of this command affect the processing of Functions 081 With auto processing n 0 specified the maximum number of columns in the data area is set to 30 columns The following data is excluded from the number of columns Start and stop patterns Indicator code word of left and right With auto processing n 0 specified the number of columns is calculated using the following informatio...

Page 78: ...utomatic processing is set When n is not 0 the number of rows is set to n rows Remarks Settings of this function affect the processing of Functions 081 With auto processing n 0 specified the maximum number of rows is set to 90 With auto processing n 0 specified the number of rows is calculated by using the following information Printing area when processing Functions 081 Module height Function 068...

Page 79: ...67 1 n 4 Default n 3 Description This command sets the width of the module of PDF417 symbol to n dots Remarks Settings of this command affect the processing of Functions 081 The setting unit for printer models varies The setting of this command remains effective until ESC printer reset or power cycling is executed Differences Setting unit 1 dot SRP F310 0 141 1 180 inch SRP F312 0 125 1 203 inch ...

Page 80: ...07 3 0 48 68 n Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 68 2 n 8 Default n 3 Description This command sets the module height of PDF417 to the module width x n Remarks Settings of this command affect the processing of Functions 081 The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None ...

Page 81: ...s 081 Error correction level specified by level m 48 is as follows The number of the error correction codeword is unchanged regardless of the number of codeword in the data area n Function Number of error correction codeword 48 Error correction level 0 2 49 Error correction level 1 4 50 Error correction level 2 8 51 Error correction level 3 16 52 Error correction level 4 32 53 Error correction lev...

Page 82: ...lt m 0 Description This command selects the option for PDF417 m Function 0 Select the standard PDF417 1 Select the simplified PDF417 Remarks Settings of this function affect the processing of Functions 081 When simplified PDF417 symbol is canceled standard PDF417 symbol is automatically selected The setting of this command remains effective until ESC printer reset or power cycling is executed Diff...

Page 83: ...ed in the symbol storage area by this command remains reserved after processing Function 081 The following data should not be included in the symbol data d1 dk since this information is automatically added by the printer Start pattern and stop pattern Indicator codeword of left and right The descriptor of symbol length the first code word in the data area The error correction codeword calculated b...

Page 84: ...operation is not processed under the following conditions There is no data Function 080 is not processed If number of columns x number of rows number of code word when automatic processing is specified for number of columns and number of rows Number of code word exceeds 928 in the data area The following data is added automatically by the encode processing Start pattern and stop pattern Indicator ...

Page 85: ...n the data area The maximum number of rows is 90 Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the symbol In standard mode the paper feed amount set by the paper feed setting command does not affect printing of the symbol The printing position returns to the left side of the printable area after printing the ...

Page 86: ...7 4 0 49 65 n1 n2 Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 65 n1 49 50 n2 0 Default n1 50 n2 0 Description This command sets the QR Code model as follows n1 Function 49 Model 1 50 Model 2 Remarks The setting of this command affects Function 181 The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None ...

Page 87: ... 256 3 pL 3 pH 0 cn 49 fn 67 1 n 8 Default n 3 Description This command sets the size of the QR Code module to n dots Remarks The setting of this command affects the processing of Function 181 Since the QR CODE module is square n module width module height The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None ...

Page 88: ...or correction level for QR Code n Function Recovery Amount 48 Error Correction Level L 7 49 Error Correction Level M 15 50 Error Correction Level Q 25 51 Error Correction Level H 30 Remarks The setting of this command affects the processing of Function 181 Reed Solomon correction is employed to generate a series of error correction codewords The setting of this command remains effective until ESC ...

Page 89: ...Remarks The symbol data is defined stored to the symbol storage area by Function 180 and printed by the specification of Function 181 The data remains reserved after completion of printing The following shows the data available for encoding of QR code Character Type Usable Characters Numeric Data 0 9 Alphanumeric Data 0 9 A Z SP Kanji Data Shift JIS value 8bit Byte Data 00H FFH The setting of this...

Page 90: ...the beginning of a line or the printer buffer is empty A symbol exceeding the printing area in size can not be printed Printing operation is not processed under the following conditions There is no data Function 180 is not executed If number of columns x number of rows number of code words the numbers of columns and rows are automatically processed The four types of data compression modes are list...

Page 91: ...ted Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the symbol In standard mode the paper feed amount set by the paper feed setting command does not affect printing of the symbol The printing position returns to the left side of the printable area after printing the symbol In page mode the printer stores the sy...

Page 92: ... number of dots in the horizontal and vertical directions respectively D defines the bit image data K denotes the number of the definition data Remarks The bit image can be printed by downloaded graphics function GS 8 The downloaded bit image is available until ESC printer reset or power cycling is executed The user defined character and the downloaded bit image cannot be defined simultaneously Th...

Page 93: ... The download bit image is defined by GS This command is ignored when if a downloaded bit image is not defined In standard mode this command works only when the print buffer is empty and the printer is in the start of the line m is treated as normal data if the print buffer has data In page mode the bit image data is accumulated in the print buffer but does not perform the actual printing Except f...

Page 94: ...orizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180 3 51 Quadruple 90 90 SRP F312 DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 203 203 1 49 Double width 203 203 2 2 50 Double height 203 2 203 3 51 Quadruple 203 2 203 2 ...

Page 95: ... normal operation and finishes it during macro definition upon receiving this command The printer performs printing during macro definition The macro is executed by GS The maximum number of macro data to be defined varies with respect to printer models The data exceeding this limit is not stored ESC does not clear the existing defined macro The macro remains effective until the printer reset and p...

Page 96: ...gnificant bit of n When the LSB of n is 0 white black reverse mode is turned off When the LSB of n is 1 white black reverse mode is turned on Remarks This command does not affect multi byte characters such as Kanji Japanese and Korean The right space defined by ESC SP is affected by this command In white black reverse mode the underline mode is not effective This mode remains effective until ESC p...

Page 97: ...Human Readable Interpretation characters when printing a bar code The printing position is set according to the value of as follows n Printing position 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code Remarks The font of the HRI characters is defined by GS f The setting of this command remains effective until ESC printer reset or power cycling...

Page 98: ...e ID Printing method and Printer size Transmits specified printer information using n as follows n Printer ID type Specification 65 Firmware version Firmware version 66 Manufacturer BIXOLON 67 Printer model Printer model 69 Code page Currently enabled code page Remarks Printer information When n 65 66 67 69 consist of Header NULL data as shown below Transmitted data Hex Decimal Amount of data Head...

Page 99: ...ctions the printer supports as follows 0x01 Multi byte character 0x02 Autocutter 0x03 Autocutter Multi byte character 0x04 Customer display 0x05 Multi byte character Display 0x07 Customer display Autocutter Multi byte Character 3 Printer feature ID 0x63 0x63 66 Manufacturer BIXOLON 67 Printer model SRP F310 SRP F312 69 Language of Font Code page currently being used Refer to cod page setting comma...

Page 100: ...gin is enabled in page mode the setting is available when the printer returns to standard mode When the setting is beyond the printable area the left margin is automatically set to the maximum value of the printable area Since the left margin is the same as the leftmost side of the printable area the left side of the printable area is changed according to the left margin specified The setting of t...

Page 101: ...l cut one point left uncut 1 49 65 Feeds paper to cutting position n vertical motion unit and executes a partial cut one point left uncut Remarks For If an auto cutter is not provided this command is ignored command is executed For When n 0 the printer feeds the paper to the cutting position and cuts it If an auto cutter is not provided the printer only feeds the paper for specified amount Vertica...

Page 102: ...area width to nL nH x 256 x horizontal motion units Remarks The printing area width is not effective in page mode If the printing area width is enabled in page mode the setting is available when the printer returns to standard mode When left margin printing area width exceeds the printable area the printing area width is automatically set to printing area width left margin The setting of this comm...

Page 103: ... before the macro is executed m specifies macro executing mode as shown below m Function 0 Executes the macro r times continuously at the interval specified by t 1 The printer waits for the paper FEED button to be pressed for the time specified by t The macro is executed once when the button is pressed This operation is repeated r times Remarks The macro is defined by GS If the macro is not define...

Page 104: ...properly Once ASB has been enabled the printer continues to transmit the current printer status at the specified interval until ASB is disabled When n 0 ASB is disabled The printer stops transmitting the status With parallel and USB interface the printer status is transmitted whenever the host computer changes to the reverse mode regardless of the printer status change It is recommended that the p...

Page 105: ...being fed by the paper feed button On 40 64 Paper is being fed by the paper feed butto 7 Off 00 0 Not used Fixed to Off Second byte printer information Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off 1 Off 00 0 Not used Fixed to Off 2 Off 00 0 No mechanical error On 04 4 Mechanical error 3 Off 00 0 No auto cutter error On 08 8 Auto cutter error occurred 4 Off 00 0 Not used Fixed t...

Page 106: ...esent 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 Fourth byte paper sensor information Bit Off On Hex Decimal Function 0 On 01 1 Not used Fixed to On 1 On 02 2 Not 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 O...

Page 107: ...command selects a font for the HRI Human Readable Interpretation characters used when printing a bar code using n as follows n Font 0 48 Font A 1 49 Font B Remarks The setting of this command is applied to only HRI characters The printing position of HRI characters are specified by GS H The configurations of Font A and B vary depending on the printer model Differences None ...

Page 108: ...e 1 n 255 Default n 162 Description This command sets the height of the bar code to n dots Remarks The unit of n depends on the printer model The setting of this command remains effective until ESC printer reset or power cycling is executed Differences Unit of one dot SRP F310 0 141mm 1 180 inch SRP F312 0 125mm 1 203 inch ...

Page 109: ...selects a bar code system and prints the bar code k indicates the number of bytes of bar code data n specifies the number of bytes of bar code data d specifies the character code data of the bar code data to be printed For range m Bar Code System Range of k Range of d 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN 12 k 13 48 d 57 3 JAN8 EAN 7 k 8 48 d 57 4 CODE39 1 k 48 d 57 65 d 90 d...

Page 110: ...ber 48 d 57 71 CODABAR 1 n 255 48 d 57 65 d 68 d 36 43 45 46 47 58 72 CODE93 1 n 255 0 d 127 73 CODE128 2 n 255 0 d 127 Remarks The bar code width exceeding the print area can not be specified Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the barcode The quiet zone of the bar code left and right spaces of the...

Page 111: ...nsor status 2 50 Transmits drawer kick out connector status Remarks The status is one byte The status to be transmitted is as follows Paper sensor status n 1 49 Bit Off On Hex Decimal Function 0 1 Off 00 0 Paper near end sensor Paper adequate On 03 3 Paper near end sensor Paper near end 2 3 Off 00 0 Paper end sensor Paper present On 0C 12 Paper end sensor Paper not present 4 Off 00 0 Fixed 5 Off 0...

Page 112: ...ansmitted Drawer kick out connector status n 2 50 Bit Off On Hex Decimal Function 0 Off 00 0 Drawer kick out connector pin 3 is LOW On 01 1 Drawer kick out connector pin 3 is HIGH 1 Off 00 0 Reserved 2 Off 00 0 Reserved 3 Off 00 0 Reserved 4 Off 00 0 Fixed 5 Off 00 0 Reserved 6 Off 00 0 Reserved 7 Off 00 0 Fixed This command can be executed in real time mode using DLE Differences None ...

Page 113: ...50 Double height 90 180 3 51 Quadruple 90 90 xL xH specifies xL xH x 256 byte s in the horizontal direction for the bit image yL yH specifies yL yH x 256 dot s in the vertical direction for the bit image d specifies the definition data of the bit image data Remarks In standard mode this command is effective when the printer buffer is empty and the printer is in the beginning of the line If the buf...

Page 114: ...orizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180 3 51 Quadruple 90 90 SRP F312 DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 203 203 1 49 Double width 203 203 2 2 50 Double height 203 2 203 3 51 Quadruple 203 2 203 2 ...

Page 115: ...vel bar code Thin element width mm Thick element width mm 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 6 0 847 0 847 2 258 n specifies the bar code module width Remarks The setting of this command is effective for the following bar codes Multi level bar codes UPC A UPC E JAN13 HAN8 CODE93 CODE128 Binary level bar codes CODE39 ITF CODABAR The setting of this comma...

Page 116: ... Thick element width mm 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 6 0 847 0 847 2 258 SRP F312 n Multi level bar code module width mm Binary level bar code Thin element width mm Thick element width mm 2 0 250 0 250 0 625 3 0 375 0 375 1 000 4 0 500 0 500 1 250 5 0 625 0 625 1 625 6 0 750 0 750 2 000 ...

Page 117: ...tion Select download area 0 Select ASCII character area 0x00 0x7F 1 Select extended charater area 0x80 0xFF m Function Select font type 65 Select customized font A 12x24 66 Select customized font B 9x17 67 Select customized font C 9x24 This command defines the customized font using the number of datas specified font size Font type Font size font A 6144 bytes font B 4352 bytes font C 6144 bytes Rem...

Page 118: ...tion Select download area 0 Select ASCII character area 0x00 0x7F 1 Select extended charater area 0x80 0xFF m Function Select font type 65 Select customized font A 12x24 66 Select customized font B 9x17 67 Select customized font C 9x24 This command can read the customized font using the number of datas specified font size Font type Font size 1 character size font A 48 bytes font B 34 bytes font C ...

Page 119: ...ult None Description Erase customized font using the function number of n m n Function Select download area 0 Select ASCII character area 0x00 0x7F 1 Select extended charater area 0x80 0xFF m Function Select font type 65 Select customized font A 12x24 66 Select customized font B 9x17 67 Select customized font C 9x24 Remarks The customized font can be selected by function BS M Differences None ...

Page 120: ...f data Header 5FH 95 1 byte Data 30H 31H 48 49 1 8 byte s NUL 00H 0 1 byte data Customized font type D1 ASCII font A 12x24 D2 ASCII font B 9x17 D3 ASCII font C 9x24 D4 Reserved D5 Extended font A 12x24 D6 Extended font B 9x17 D7 Extended font C 9x24 D8 Reserved When return value data is 30H customized font is not installed When return value data is 31H customized font is installed Remarks The cust...

Page 121: ...gs Bit Off On Hex Decimal Function 0 Off 00 0 Resident ASCII font selected On 01 1 Customized ASCII font selected 1 Off 00 0 Resident codepage font selected On 02 2 Customized character font selected m Function Select font type 65 Font A 12x24 66 Font B 9x17 67 Font C 9x24 The printer supports 3 font types by selecting m function Remarks The setting of this command remains effective until ESC ESC ...

Page 122: ...ange m 0 1 48 49 m 65 66 0 n 255 Default None Description This command cuts paper in the specified mode as follows Remarks For If an auto cutter is not provided this command is ignored command is executed For When n 0 the mechanism feeds the paper to the cutting position and cuts it If an auto cutter is not provided the mechanism only feeds the paper for specified amount ...

Page 123: ... paper completely 1 49 Executes a partial cut one point left uncut 65 Feeds paper to cutting position n vertical motion unit and executes a full cut cuts the paper completely 66 Feeds paper to cutting position n vertical motion unit and executes a partial cut one point left uncut Cutting mode is changed only by setting MSW5 1 Differences None ...

Page 124: ... 0 yL 255 yH 0 1 0 d 255 k xL xH 256 yL yH 256 8 Default None Description This command defines the watermark image in the watermark memory n denotes the number of the watermark being defined xL xH and yL yH set the number of dots in the horizontal and vertical directions to xL xH 256 x 8 and yL yH 256 x 8 respectively for the watermark image d specifies the defined data column format When this com...

Page 125: ...hen turned on The watermark image is selected by BS W E During the execution of this command paper feed button ASB and real time functions will not operate Watermark image data and print result are as follows d1 dY 1 MSB LSB d2 dY 2 dk 2 MSB LSB dk 1 MSB LSB dY dY x 2 dk MSB LSB The capacity of watermark memory area is 256KB Differences None ...

Page 126: ...This command has no effect with watermark image not defined in advance In reverse mode the watermark image is reversed with printing data n is the number of the watermark image to enable in case enabled watermark images exist already the lastest enabled watermark image wll be printed Vertical dot density and horizontal dot density specified as follows DPI Dots per Inch 25 4mm Model Vertical Dot De...

Page 127: ...ve Linker mode If the button of BIL Bixolon Interactive Linker is pressed the printer transmits specified key data to host automatically the button of BIL Bixolon Interactive Linker information consist of Header NULL data as shown below Hexadecimal Decimal Amount of data Header 7EH 126 1 byte Key data 30H 39H 48 57 1 byte NUL 00H 0 1 byte Select BIL mode using the function number of n n Function 1...

Page 128: ...ill be stored in receive buffer until it receives Reverse Printing End command n 2 When the printer receives Reverse Printing End n 2 the data will be printed upside down compared to standard mode After printing data the printers will return to standard mode automatically Select reverse printing mode using the function number of n n Function 1 Starts reverse printing mode 2 Ends the reverse mode a...

Reviews: