Custom Audio Electronics MY3 X Command Manual

Hide thumbs Also See for MY3 X:

Advertisement

Quick Links

COMMANDS MANUAL
MY3 X
MYprinter X

Advertisement

Table of Contents
loading

Summary of Contents for Custom Audio Electronics MY3 X

  • Page 1 COMMANDS MANUAL MY3 X MYprinter X...
  • Page 2 CUSTOM S.p.A. GENERAL SAFETY INFORMATION THE CE MARK AFFIXED TO THE PRODUCT CERTIFY THAT THE Via Berettine 2/B Your attention is drawn to the following actions PRODUCT SATISFIES THE BA- that could compromise the characteristics of the 43010 Fontevivo (PARMA) - Italy SIC SAFETY REQUIREMENTS.
  • Page 3 INTRODUCTION CUSTOM/POS EMULATION ALIGNMENT...
  • Page 5 INTRODUCTION 1 CONSULTING COMMANDS MANUAL ....... . . 6 2 IDENTIFICATION OF THE MODELS .
  • Page 6 1 CONSULTING COMMANDS MANUAL Each command reported in this manual is described as shown in the following picture. In the irst heading ield is reported the hexadecimal command value and the ASCII command value. In the second heading ield reported the command func- tion.
  • Page 7 The ields shown in the scheme of the previous igure have the following meaning: [Format] hexadecimal and ASCII command value. [Range] Limits of the values the command and its variables can take. [Description] Description of command function. [Notes] Additional information about command use and settings. [Default] Default value of the command and its variables.
  • Page 8 2 IDENTIFICATION OF THE MODELS NOMENCLATURE DESCRIPTION MY3 X base coniguration MY3 X MYprinter X base coniguration MYprinter X 8 │ Introduction...
  • Page 9 The following image shows an example of black mark placement on the thermal side of the paper. For more information about the use of paper with black mark see the user manual of each device. All the dimensions shown in following igures are in millimetres. MY3 X min 8 PAPER WIDTH 76 ± 0.5 │...
  • Page 10 For more information about the use of paper with labels see the user manual of each device. All the dimensions shown in following igures are in millimetres. MY3 X min 8 LABEL WIDTH 73 ± 0.5 PAPER WIDTH 76 ± 0.5 10 │...
  • Page 11 For more information about the use of paper with hole see the user manual of each device. All the dimensions shown in following igures are in millimetres. MY3 X min 8 LABEL WIDTH 73 ± 0.5 PAPER WIDTH 76 ± 0.5 │...
  • Page 12 12 │ Introduction...
  • Page 13 CUSTOM/POS EMULATION 1 COMMANDS LISTED IN ALPHANUMERIC ORDER ....14 2 COMMANDS LISTED BY FUNCTION ....... . . 18...
  • Page 14 1 COMMANDS LISTED IN ALPHANUMERIC ORDER 0x08 ......<BS>........98 0x09 .
  • Page 15 0x1B 0x4D ......<ESC M> ........57 0x1B 0x52.
  • Page 16: Table Of Contents

    0x1D 0x2A ......<GS *> ........93 0x1D 0x2F .
  • Page 17 0x1D 0xE7 ..............110 0x1D 0xF0 .
  • Page 18 2 COMMANDS LISTED BY FUNCTION COMMANDS FOR BARCODE PRINTING 0x1D 0x28 0x6B .....<GS ( k> ........24 Print two-dimensional barcode 0x1D 0x28 0x6B [Fn 165] .
  • Page 19 0x1B 0x21......<ESC !> ........47 Select print modes 0x1B 0x24.
  • Page 20 LINE SPACING COMMANDS 0x1B 0x30......<ESC 0> ........68 Select 1/8-inch line spacing 0x1B 0x32.
  • Page 21: 0X1D 0X2A

    0x1D 0xE5 ..............89 Reading number of power up BIT-IMAGE COMMANDS 0x1B 0x2A...
  • Page 22: 0X1D 0X3A

    MACRO FUNCTIONS CONTROL 0x1D 0x3A ......<GS :> ........108 Start or end of macro deinition 0x1D 0x5E .
  • Page 23: 0X1D 0X50

    0x1D 0x50 ......<GS P>........126 Set horizontal and vertical motion units 0x1D 0x63 .
  • Page 24 COMMANDS FOR BARCODE PRINTING <GS ( k> 0x1D 0x28 0x6B Print two-dimensional barcode Valid for MY3 X MYprinter X [Format] ASCII [Range] cn = 0x31 0x41 ≤ fn ≤ 0x52 [Description] Processes the data concerning two-dimensional barcode. • Barcode type is speciied by cn •...
  • Page 25 <GS ( k> 0x1D 0x28 0x6B [Fn 165] Specify encoding scheme of QRcode barcode Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL+pH × 256) = 4 (pL = 0x04, pH = 0x00) 0x32 ≤ n1 ≤ 0x33 n2 = 0x00...
  • Page 26 <GS ( k> 0x1D 0x28 0x6B [Fn 166] Specify QRcode barcode version Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL + pH × 256) = 3 (pL = 0x03, pH = 0x00) 0x00 ≤ n ≤ 0x28 [Description] Deines QRcode version to be printed.
  • Page 27 VERSION MODULES ECC LEVEL NUMERIC ALPHANUMERIC BINARY 0x07 45 x 45 0x08 49 x 49 0x09 53 x 53 0x0A 57 x 57 0x0B 61 x 61 0x0C 65 x 65 1021 0x0D 69 x 69 1100 0x0E 73 x 73 1249 0x0F 77 x 77...
  • Page 28 VERSION MODULES ECC LEVEL NUMERIC ALPHANUMERIC BINARY 2060 1248 1599 0x14 97 x 97 1158 2231 1351 1707 1034 0x15 101 x 101 1223 2408 1459 1002 1871 1133 0x16 105 x 105 1357 1055 2619 1587 1090 2058 1247 0x17 109 x 109 1467...
  • Page 29 VERSION MODULES ECC LEVEL NUMERIC ALPHANUMERIC BINARY 4964 3008 2067 3908 2368 1627 0x21 149 x 149 2804 1167 2156 1306 5252 3182 2187 4133 2505 1721 0x22 153 x 153 2948 1786 1227 2300 1393 5528 3350 2302 4342 2631 1808 0x23...
  • Page 30 <GS ( k> 0x1D 0x28 0x6B [Fn 167] Specify dot size of the module of the QRcode barcode Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL + pH × 256) = 3 (pL = 0x03, pH = 0x00) 0x02 ≤...
  • Page 31 <GS ( k> 0x1D 0x28 0x6B [Fn 169] Specify the error correction level of the QRcode barcode Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL + pH × 256) = 3 (pL = 0x03, pH = 0x00) 0x30 ≤ n ≤ 0x34 [Description] Speciies the ECC level (Error Correction Capability) of QRcode barcode.
  • Page 32 <GS ( k> 0x1D 0x28 0x6B [Fn 180] Store the data in the barcode save area for printing in QRcode format Valid for MY3 X MYprinter X [Format] d1...dk ASCII d1...dk [Range] 0x00 ≤ d ≤ 0xFF k = (pL + pH × 256) - 3 •...
  • Page 33 <GS ( k> 0x1D 0x28 0x6B [Fn 181] Prints the data stored in the barcode save area in QRcode format Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL + pH × 256) = 3 (pL = 0x03, pH = 0x00) [Description] Prints the data stored in the barcode save area in QRcode format.
  • Page 34 <GS ( k> 0x1D 0x28 0x6B [Fn 182] Transmit the QRcode barcode size in the barcode save area Valid for MY3 X MYprinter X [Format] ASCII [Range] (pL+pH × 256) = 3 (pL = 0x03, pH = 0x00) [Description] Transmits the QRcode barcode size in the barcode save area.
  • Page 35 • Size information indicates size of symbol that is printed by Function 181. • The quiet zone is not included in the size information. • If “other information” is “Printing is impossible“(0x31), use one of the solutions shown below: CAUSE SOLUTION There are data in the print bufer Clear the data in the print bufer by executing 0x0A, 0x0D,...
  • Page 36 <GS H> 0x1D 0x48 Select printing position of HRI characters in 1D barcodes Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x03 0x30 ≤ n ≤ 0x33 [Description] Selects the print position of HRI (Human Readable Interpretation) characters when printing a 1D...
  • Page 37 [Example] Not printed ABCDEFG123456 Above the barcode Below the barcode ABCDEFG123456 ABCDEFG123456 Both above and below the barcode ABCDEFG123456 │ 37 CUSTOM/POS emulation...
  • Page 38: 0X1D 0X66

    <GS f> 0x1D 0x66 Select font for HRI characters Valid for MY3 X MYprinter X [Format] ASCII [Range] n = 0x00, 0x01, 0x30, 0x31 [Description] Selects a font for the HRI (Human Readable Interpretation) characters used when printing a 1D...
  • Page 39: 0X1D 0X68

    <GS h> 0x1D 0x68 Set 1D barcode height Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x01 ≤ n ≤ 0xFF [Description] Sets the height of the 1D barcode. n speciies the number of vertical dots. [Notes] [Default] n = 0xA2 (20.25 mm)
  • Page 40: 0X1D 0X6B

    <GS k> 0x1D 0x6B Print 1D barcode Valid for MY3 X MYprinter X [Format 1] [d1..dk] ASCII [d1..dk] [Format 2] [d1..dn] ASCII [d1..dn] [Range] Format 1 0x00 ≤ m ≤ 0x08, m = 0x14 Format 2 0x41 ≤ m ≤ 0x49,...
  • Page 41 Format 2 BARCODE NUMBER OF REMARKS SYSTEM CHARACTERS 0x0B ≤ n ≤ 0x0C 0x30 ≤ d ≤ 0x39 0x41 UPC-A 0x0B ≤ n ≤ 0x0C 0x30 ≤ d ≤ 0x39 0x42 UPC-E 0x0C ≤ n ≤ 0x0D 0x30 ≤ d ≤ 0x39 0x43 EAN13 (JAN) 0x07 ≤...
  • Page 42 • The device prints an HRI character (o) as a stop character at the end of the HRI character string. • The device prints an HRI character (n) as a control character (0x00 to 0x1F and 0x7F). When CODE128 is used, please note the following regarding data transmission: •...
  • Page 43 <GS w> 0x1D 0x77 Set 1D barcode width Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x01 ≤ n ≤ 0x06 [Description] Sets the horizontal size of the 1D barcode. n speciies the barcode width as follows: MODULE WIDTH (mm) 0x01 0.125...
  • Page 44 [Reference] 0x1D 0x6B [Example] n = 0x01 n = 0x03 44 │ CUSTOM/POS emulation...
  • Page 45 CHARACTER COMMANDS <CAN> 0x18 Cancel current line transmitted Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Deletes current line transmitted. [Notes] • Sets the print position to the beginning of the line. • This command does not clear the receive bufer.
  • Page 46 <ESC SP> 0x1B 0x20 Set right-side character spacing Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Sets the character spacing for the right side of the character to [n × horizontal or vertical motion units].
  • Page 47 <ESC !> 0x1B 0x21 Select print modes Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Selects print modes based on the value of n as follows: 13/17 17/22 22/17 OFF/ON FUNCTION 0x00 Character font A selected...
  • Page 48 [Default] n = 0x00 [Reference] 0x1B 0x2D, 0x1B 0x45, 0x1D 0x21, 0x1B 0x34 [Example] Character font A selected ABCDEFG 0x1B 0x21 0x00 1 2 3 4 5 6 Character font B selected ABCDEFG 0x1B 0x21 0x01 1 2 3 4 5 6 Bold mode selected ABCDEFG 0x1B 0x21 0x08...
  • Page 49 <ESC $> 0x1B 0x24 Set absolute print position Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL ≤ 0xFF 0x00 ≤ nH ≤ 0xFF [Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed.
  • Page 50 <ESC %> 0x1B 0x25 Enable or disable user-deined characters Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Enables or disables the user-deined character set. When the Least Signiicant Bit (LSB) of n is 0, the user-deined character set is disabled.
  • Page 51 <ESC &> 0x1B 0x26 Deines user-deined characters Valid for MY3 X MYprinter X [Format] x1[d0...dk] ... xn[d0...dk] ASCII & x1[d0...dk] ... xn[d0...dk] [Range] y = 0x03 0x20 ≤ c1 ≤ cn ≤ 0x7E 0x00 ≤ x ≤ 0x10 (font 16 x 24) 0x00 ≤...
  • Page 52 <ESC -> 0x1B 0x2D Turn underline mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x02 0x30 ≤ n ≤ 0x32 [Description] Turns underline mode on or of based on the value of n as follows:...
  • Page 53 <ESC 4> 0x1B 0x34 Turn italic mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x01 0x30 ≤ n ≤ 0x31 [Description] Turns italic mode on or of based on the value of n as follows:...
  • Page 54 <ESC ?> 0x1B 0x3F Cancel user-deined characters Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x20 ≤ n ≤ 0x7E [Description] Cancels user-deined characters. [Notes] • This command cancels the pattern deined for the character code speciied by n.
  • Page 55 <ESC E> 0x1B 0x45 Turn bold mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Turns bold mode on or of, based on the n value: - when the Least Signiicant Bit (LSB) of n is 0, the bold mode is of.
  • Page 56 <ESC G> 0x1B 0x47 Turn double-strike mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Turns double-strike mode on or of, based on the n value: - when the Least Signiicant Bit (LSB) of n is 0, the double-strike mode is of.
  • Page 57 <ESC M> 0x1B 0x4D Select character font Valid for MY3 X MYprinter X [Format] ASCII [Range] n = 0x00, 0x01, 0x30, 0x31 [Description] Selects characters font depending of cpi value set (Char/Inch) as follows CHAR/INCH FUNCTION 0x00, 0x30 Font 13 cpi (16x24)
  • Page 58 <ESC R> 0x1B 0x52 Select an international character set Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x0A [Description] Selects the international character set n according to the table below: CHARACTER SET 0x00 U.S.A. 0x01 France à...
  • Page 59 <ESC V> 0x1B 0x56 Set 90° rotated print mode Valid for MY3 X MYprinter X [Format] ASCII [Range] n = 0x00, 0x01, 0x30, 0x31 [Description] Turns 90° rotation mode on or of based on the value of n as follows:...
  • Page 60 <ESC i> 0x1B 0x69 Select 40 columns Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] On receiving this command, the device enters 40-column per line printing mode. [Notes] [Default] [Reference] [Example] 60 │ CUSTOM/POS emulation...
  • Page 61 <ESC t> 0x1B 0x74 Select character code table Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x01 ≤ n ≤ 0x35, n = 0xFF [Description] Select a page n from the character code table as follows: PAGE 0x00 PC437 - U.S.A., Standard Europe...
  • Page 62 PAGE 0x26 PC869 - Greek on request 0x27 ISO8859-2 - Latin 2 on request 0x28 ISO8859-15 - Latin 9 0x29 PC1098 - Farsi 0x2A PC1118 - Lithuanian on request 0x2B PC1119 - Lithuanian on request 0x2C PC1125 - Ukrainian on request 0x2D WPC1250 - Latin 2 0x2E...
  • Page 63 <ESC {> 0x1B 0x7B Turn upside-down printing mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Turns upside-down printing mode on or of, based on the value of n: - when the Least Signiicant Bit (LSB) of n is 0, the upside-down printing mode is of.
  • Page 64 0x1B 0xC1 Select character pitch Valid for MY3 X MYprinter X [Format] ASCII 0xC1 [Range] 0x00 ≤ n ≤ 0x02 0x30 ≤ n ≤ 0x32 [Description] This command selects the character pitch expressed in cpi (characters per inch) based on the values...
  • Page 65 <FS %> 0x1C 0x25 Select the font type Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x02 [Description] Select the font type based on the value of n as follows: FONT TYPE 0x00 International 0x01...
  • Page 66 <GS !> 0x1D 0x21 Select character size Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x07 0x10 ≤ n ≤ 0x17 0x20 ≤ n ≤ 0x27 0x30 ≤ n ≤ 0x37 0x40 ≤ n ≤ 0x47 0x50 ≤...
  • Page 67 <GS B> 0x1D 0x42 Turn black and white reverse printing mode on or of Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Turns black and white reverse printing mode on or of, based on the value of n: - when the Least Signiicant Bit (LSB) of n is 0, white/black reverse printing is turned of.
  • Page 68 LINE SPACING COMMANDS <ESC 0> 0x1B 0x30 Select 1/8-inch line spacing Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Selects 1/8-inch line spacing. [Notes] [Default] [Reference] 0x1B 0x32, 0x1B 0x33 [Example] 1/6-inch line spacing 0x1B 0x32 1/8-inch line spacing 0x1B 0x32 68 │...
  • Page 69 <ESC 2> 0x1B 0x32 Select 1/6-inch line spacing Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Selects 1/6-inch line spacing. [Notes] [Default] [Reference] 0x1B 0x30, 0x1B 0x33 [Example] 1/6-inch line spacing 0x1B 0x32 1/8-inch line spacing 0x1B 0x32 │...
  • Page 70 <ESC 3> 0x1B 0x33 Set line spacing Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Sets line spacing to [n × (vertical or horizontal motion unit)]. [Notes] • The horizontal and vertical motion unit are speciied by 0x1D 0x50.
  • Page 71 PRINT COMMANDS <LF> 0x0A Print and line feed Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] This command sets the print position to the beginning of the line printing the data in the bufer and feeding one line based on the line spacing set with the command...
  • Page 72 <CR> 0x0D Print and carriage return Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] This command handles the end of a line text. [Notes] If “Autofeed” setup parameter is set to “CR enabled”, this command works in the same way as 0x0A, otherwise it is disregarded.
  • Page 73 <ESC J> 0x1B 0x4A Print and paper feed Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Prints the data saved in the print bufer and feeds the paper [n × vertical or horizontal motion unit].
  • Page 74 <ESC d> 0x1B 0x64 Print and feed paper n lines Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Prints the data saved in the print bufer and feeds the paper n lines. [Notes] •...
  • Page 75: 0X1D 0X7C

    <GS |> 0x1D 0x7C Set printing density Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x02 ≤ n ≤ 0x06 0x32 ≤ n ≤ 0x36 [Description] Sets printing density. n speciies printing density as follows: PRINTING DENSITY 0x02, 0x32...
  • Page 76 STATUS COMMANDS <DLE EOT> 0x10 0x04 Real-time status transmission Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x01 ≤ n ≤ 0x04 n = 0x11, 0x14, 0x15 [Description] Transmits the selected status when this command is received. The status to be transmitted is indi-...
  • Page 77 Of-line status (n = 0x02) OFF/ON FUNCTION Not used. Fixed to of Not used. Fixed to on Cover closed Cover opened Paper isn’t fed by FEED key Paper is fed by FEED key Not used. Fixed to on Paper present Printing stop due to paper end No error Error...
  • Page 78 Paper roll sensor status (n = 0x04) OFF/ON FUNCTION Not used. Fixed to of Not used. Fixed to on Not used. Fixed to on Not used. Fixed to on Paper present 5, 6 Paper not present Not used. Fixed to of Print status (n = 0x11) OFF/ON FUNCTION...
  • Page 79 RESERVED Not used. Fixed to of Black mark is placed over the sensor (*) Black mark is not placed over the sensor (*) (*) Only for MY3 X 4th byte = User status OFF/ON FUNCTION Not used. Fixed to of Not used.
  • Page 80 RESERVED Acknowledge command Not acknowledge command error Free paper path Paper jam Black mark search ok (*) Error in black mark search (*) (*) Only for MY3 X 6th byte = Unrecoverable error status OFF/ON FUNCTION RESERVED RESERVED RESERVED RESERVED...
  • Page 81 Transmit device ID (n = 0x15) 1st byte = (refer to command 0x1D 0x49 0x05) [Notes] This command is immediately executed even when the data bufer is full. [Default] [Reference] [Example] Request for device status transmission: 0x10 0x04 0x01 Device response: 0x52 LF key pressed │...
  • Page 82 <ESC v> 0x1B 0x76 Transmit paper sensor status Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] When this command is received, transmit the current status of the paper sensor. The status to be transmitted is shown in the table below:...
  • Page 83 0x1C 0xEA Transmit the device serial number Valid for MY3 X MYprinter X [Format] ASCII 0xEA n [Range] n = 0x52, 0x72 [Description] Transmits the device serial number. [Notes] • The serial number is a string of 16 alphanumeric characters.
  • Page 84 0x1C 0xF9 Transmit the Bluetooth address Valid for MY3 X MYprinter X [Format] ASCII 0xF9 [Range] [Description] Transmits the device Bluetooth address. [Notes] • The Bluetooth address of the device is a string of 12 alphanumeric characters not separated by a colon which corresponds to the MAC Address of the device.
  • Page 85 <GS a> 0x1D 0x61 Enable or disable Automatic Status Back (ASB) Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Enable or disable basic Automatic Status Back (ASB) based on the value of n as follows:...
  • Page 86 <GS r> 0x1D 0x72 Transmit status Valid for MY3 X MYprinter X [Format] ASCII [Range] n = 0x01, 0x31 [Description] Transmit the status speciied by n as follows: FUNCTION 0x01, 0x31 Transmits paper sensor status (as for 0x1B 0x76) Paper sensor status (n = 0x01, 0x31)
  • Page 87: 0X1D 0Xe0

    0x1D 0xE0 Set USB mode Valid for MY3 X MYprinter X [Format] ASCII 0xE0 [Range] n = 0x00, 0x01, 0x30, 0x31 [Description] Sets USB mode using the mode speciied by n: MODE 0x00, 0x30 Normal 0x01, 0x31 Charge only [Notes] •...
  • Page 88: 0X1D 0Xe3

    0x1D 0xE3 Reading of length of printed paper Valid for MY3 X MYprinter X [Format] ASCII 0xE3 [Range] [Description] Reading of length expressed in centimetre of printed paper. [Notes] The command returns a string indicating how much paper is printed.
  • Page 89: 0X1D 0Xe5

    0x1D 0xE5 Reading number of power up Valid for MY3 X MYprinter X [Format] ASCII 0xE5 [Range] [Description] Reading number of power up of the device. [Notes] The command returns a string indicating the number of device power ups. [Default]...
  • Page 90 BIT-IMAGE COMMANDS <ESC *> 0x1B 0x2A Select bit image mode Valid for MY3 X MYprinter X [Format] d1...dk ASCII d1...dk [Range] m = 0x00, 0x01, 0x20, 0x21 0x00 ≤ nL ≤ 0xFF 0x00 ≤ nH ≤ 0x03 0x00 ≤ d ≤ 0xFF...
  • Page 91 • The relationship between the image data and the dots to be printed is as follows: 8-dot bit image 24-dot bit image Bit- Bit- image image data data Print data Print data [Default] [Reference] [Example] 8 dots single density 8 dots double density 24 dots single density 24 dots double density │...
  • Page 92 <GS p> 0x1D 0x70 Print logo Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ m ≤ 0x03 (Logo number) n = 0x00 [Description] The bit image speciied by m (if stored in lash memory) is printed in the mode indicated by n as...
  • Page 93 <GS *> 0x1D 0x2A Deine received bit image Valid for MY3 X MYprinter X [Format] d1...d(x × y × 8) ASCII d1...d(x × y × 8) [Range] 0x01 ≤ x ≤ 0xFF 0x01 ≤ y ≤ 0x30 x × y ≤ 1536 0x00 ≤...
  • Page 94 [Example] The following igure shows the relationship between the received bit image and the printed data. x × 8 dots dy+1 dy × 2+1 dy × 2 dx × y × 8 94 │ CUSTOM/POS emulation...
  • Page 95 <GS /> 0x1D 0x2F Print received bit image Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ m ≤ 0x03 0x30 ≤ m ≤ 0x33 [Description] Prints a received bit image using the mode speciied by m as follows:...
  • Page 96 <GS v 0> 0x1D 0x76 0x30 Print raster bit image Valid for MY3 X MYprinter X [Format] xL xH yL yH d1...dk ASCII xL xH yL yH d1...dk [Range] 0x00 ≤ m ≤ 0x03, 0x30 ≤ m ≤ 0x31 0x00 ≤ xL ≤ 0xFF 0x00 ≤...
  • Page 97 • After the printing, the printing position moves to the beginning of the line. • The following table shows the relationship between the downloaded bit image and the printed data: . . . dX+1 dX+2 . . . dX x 2 .
  • Page 98 PRINT POSITION COMMANDS <BS> 0x08 Back space Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Moves print position to previous character. [Notes] This command can be used to put two characters at the same position. [Default] [Reference] [Example] 98 │...
  • Page 99 <HT> 0x09 Horizontal tab Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Moves the print position to the next horizontal tab position. [Notes] • Horizontal tab position are set using 0x1B 0x44. • Ignored unless the next horizontal tab position has been set.
  • Page 100 <ESC $> 0x1B 0x24 Set absolute print position Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL ≤ 0xFF 0x00 ≤ nH ≤ 0xFF [Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed.
  • Page 101 <ESC ( v> 0x1B 0x28 0x76 Set relative vertical print position Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL ≤ 0xFF 0x00 ≤ nH ≤ 0xFF [Description] Sets the print vertical position based on the current position by using the horizontal or vertical motion unit.
  • Page 102 <ESC D> 0x1B 0x44 Set horizontal tab positions Valid for MY3 X MYprinter X [Format] n1...nk ASCII n1...nk [Range] 0x01 ≤ n ≤ 0xFF 0x00 ≤ k ≤ 0x20 [Description] Sets horizontal tab positions • n speciies the column number for setting a horizontal tab position calculated from the beginning of the line.
  • Page 103 [Example] To set a tabulation to column 4 send the command: 0x1B 0x44 0x03 0x00 TAB 1 1 2 3 To print the string ‘ABCD’ to the tabulation previously set, the command sequence is: 0x09 ‘ABCD‘ where: 0x09 move the print position to the set horizontal tab (4th column). ‘ABCD’...
  • Page 104 <ESC \> 0x1B 0x5C Set relative print position Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL ≤ 0xFF 0x00 ≤ nH ≤ 0xFF [Description] Sets the print starting position based on the current position by using the horizontal or vertical motion unit.
  • Page 105 <ESC a> 0x1B 0x61 Select justiication Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x02 0x30 ≤ n ≤ 0x32 [Description] This command selects the type of justiication based on the value of n as follows:...
  • Page 106 <GS L> 0x1D 0x4C Set left margin Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL, nH ≤ 0xFF [Description] Sets the left margin to [(nL + nH × 256) × horizontal motion unit]. Printable area Left margin...
  • Page 107 <GS W> 0x1D 0x57 Set printing area width Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL, nH ≤ 0xFF 0 ≤ (nL + nH × 256) ≤ 640 [Description] Sets the printing area width to the area speciied by nL and nH.
  • Page 108 MACRO FUNCTIONS CONTROL <GS :> 0x1D 0x3A Start or end of macro deinition Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Starts or ends macro deinition. [Notes] • Macro deinition starts when this command is received during normal operation.
  • Page 109 <GS ^> 0x1D 0x5E Execute macro Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ r, t ≤ 0xFF 0x00 ≤ m ≤ 0x01 [Description] Executes a macro. • r speciies the number of times to execute the macro.
  • Page 110 ALIGNMENT COMMANDS 0x1D 0xE7 Set black mark distance Valid for MY3 X [Format] ASCII 0xE7 [Range] 0x00 ≤ nH ≤ 0xFF 0x00 ≤ nL ≤ 0xFF [Description] Sets black mark distance in tenth of millimeter of the alignment point from the edge of the black mark.
  • Page 111 [Example] To set a distance of the alignment point from the black mark equal to 8 mm = 80 tenths of a millimeter, send the command: 0x1D 0xE7 0x00 0x50 where: 0x00 the most signiicant bit (MSB = 0) deines the sign + 0x00 0x50 the absolute value deines the distance = 80 tenths of a millimeter To set a distance of the alignment point from the black mark equal to - 8 mm, send the command:...
  • Page 112 0x1D 0xF6 Align the ticket with the printhead Valid for MY3 X [Format] ASCII 0xF6 [Range] [Description] This command align the edge of black mark to the alignment point (see ALIGNMENT section for further explanation). [Notes] • Use 0x1D 0xE7 command to set the distance between the edge of black mark and the alignment point.
  • Page 113 MISCELLANEOUS COMMANDS <ESC => 0x1B 0x3D Select peripheral device Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x01 ≤ n ≤ 0x03 [Description] Select the device to which the host computer sends data, using n as follows: FUNCTION 0x01, 0x03...
  • Page 114 <ESC @> 0x1B 0x40 Initialize device Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Clears the data in the print bufer and resets the device mode to that in efect when power was turned [Notes] • The data in the receiver bufer is not cleared.
  • Page 115 <ESC c 5> 0x1B 0x63 0x35 Enable or disable keys panel Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0xFF [Description] Enables or disables the keys panel, based on the value of n - when the Least Signiicant Bit (LSB) of n is 0, the keys panel is enabled.
  • Page 116 0x1B 0xFA Print graphic bank Valid for MY3 X MYprinter X [Format]Hex ASCII 0xFA [Range] 0x00 ≤ n ≤ 0x02 0x00 ≤ xH, xL, yH, yL ≤ 0xFF [Description] Prints graphic logo from lash or current graphic page located in RAM based on the value of n as...
  • Page 117 0x1B 0xFD Receive the graphic page from the communication port Valid for MY3 X MYprinter X [Format] ASCII 0xFD nL [Range] 0x00 ≤ nL, nH ≤ 0xFF [Description] Receives [nL + (nH × 256)] words from the communication port and save them in the the graphic page from RAM.
  • Page 118 0x1B 0xFF Receive the graphic page from the communication port Valid for MY3 X MYprinter X [Format] ASCII 0xFA [Range] n = 0x01, 0x02 0x00 ≤ nL, nH ≤ 0xFF [Description] Receives [nL + (nH × 256)] words from the communication port and save them in the lash bank...
  • Page 119 0x1C 0xE8 Print header Valid for MY3 X MYprinter X [Format] ASCII 0xE8 [Range] 0x00 ≤ n ≤ 0x05 m = 0x00, 0x01, 0x02, 0x30, 0x31, 0x32 [Description] When this command is received, the device prints on the paper the header of the Setup report with modules release, as shown in the following picture.
  • Page 120 <GS C 0> 0x1D 0x43 0x30 Select counter print mode Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ n ≤ 0x05 m = 0x00, 0x01, 0x02, 0x30, 0x31, 0x32 [Description] Selects a print mode for the serial number counter.
  • Page 121 <GS C 1> 0x1D 0x43 0x31 Select count mode (A) Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ aL, aH ≤ 0xFF 0x00 ≤ bL, bH ≤ 0xFF 0x00 ≤ n, r ≤ 0xFF [Description] Selects a count mode for the serial number counter.
  • Page 122 <GS C 2> 0x1D 0x43 0x32 Set counter Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ nL, nH ≤ 0xFF [Description] Sets the serial number counter value. • nL and nH determine the value of the serial number counter set by [nL + (nH × 256)].
  • Page 123 <GS C ;> 0x1D 0x43 0x3B Select count mode (B) Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ sa, sb, sc ≤ 0xFFFF 0x00 ≤ sn, sr ≤ 0xFF These values are all character strings. [Description] Selects a count mode for the serial number counter and speciies the value of the counter.
  • Page 124 0x02, 0x32 Type ID See table below 0x03, 0x33 ROM version ID (4 bytes) Depends on ROM version (4 character) 0x02 0x3F (MY3 X) 0x05, 0x35 Device model ID (2 bytes) 0x02 0x3E (MYprinter X) 0x02 0xA1 (MY3) 0xFF Device model ID (2 bytes)
  • Page 125 [Reference] [Example] │ 125 CUSTOM/POS emulation...
  • Page 126 <GS P> 0x1D 0x50 Set horizontal and vertical motion units Valid for MY3 X MYprinter X [Format] ASCII [Range] 0x00 ≤ x, y ≤ 0xFF [Description] Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively.
  • Page 127 <GS c> 0x1D 0x63 Print counter Valid for MY3 X MYprinter X [Format] ASCII [Range] [Description] Sets the serial counter value in the print bufer and increments or decrements the counter value. [Notes] • After setting the current counter value in the print bufer as print data (a character string), the device counts up or down based on the count mode set.
  • Page 128 0x1D 0xD0 Set horizontal and vertical motion units Valid for MY3 X MYprinter X [Format] ASCII 0xD0 [Range] 0 ≤ [(xH * 256) + xL] ≤ 2040 0 ≤ [(yH * 256) + yL] ≤ 4080 [Description] Sets the horizontal and vertical motion units to 1/[(xH * 256) + xL] inch and 1/[(yH * 256) + yL] inch respectively.
  • Page 129 0x1D 0xF0 Set print mode Valid for MY3 X MYprinter X [Format] ASCII 0xF0 [Range] 0x00 ≤ n ≤ 0x01 [Description] Sets print mode based on the value of n as follows: PRINT MODE 0x00 High quality 0x01 High speed [Notes] Print mode reverts to the default value when the device is reset or turned of.
  • Page 130 130 │ CUSTOM/POS emulation...
  • Page 131 ALIGNMENT 1 ALIGNMENT COMMANDS ......... . . 132...
  • Page 132 1 ALIGNMENT COMMANDS MY3 X Devices listed in this manual are equipped with sensors that allow the use of alignment black mark in order to handle rolls of with pre-printed and ixed length ields. For further information, refer to the user manual of each device.
  • Page 133 [Example 1] Commands sequence to print tickets with “alignment point” set to the edge of the black mark (“Black Mark Distance” parameter = 0 mm set in the setup procedure). Start Paper with black mark not aligned. Tearing Line Printing Line Sensor Alignment command...
  • Page 134 Command for text printing: ‘TICKET 1’, 0x0A, ’FIRST LINE’, 0x0A, ’SECOND LINE’, 0x0A Tearing Line Printing Line Sensor Alignment command 0x1D 0xF6. Paper is fed. The next black mark is recognized by the sensor and aligned under the printing line. Tearing Line Printing...
  • Page 135 [Example 2] Commands sequence to print tickets with “alignment point” moved 5 mm compared to the edge of the black mark (“Black Mark Distance” = 5 mm set from setup). Start. Paper with black mark not aligned. Tearing Line Printing Line Sensor Alignment command...
  • Page 136 Command for text printing: ‘TICKET 1’, 0x0A, ’FIRST LINE’, 0x0A, ’SECOND LINE’, 0x0A Tearing Line Printing Line Sensor Alignment command 0x1D 0xF6. Paper is fed. The next black mark is recognized by the sensor and aligned at a distance of 5 mm (“Black Mark Distance”) from the printing line.
  • Page 137 │ 137 Alignment...
  • Page 138 138 │ Alignment...
  • Page 140 CUSTOM S.p.A. World Headquarters Via Berettine, 2/B - 43010 Fontevivo, Parma ITALY Tel. +39 0521 680111 - Fax +39 0521 610701 info@custom.biz - www.custom.biz All rights reserved www.custom.biz...

This manual is also suitable for:

Myprinter x

Table of Contents