Advertisement

Quick Links

COMMANDS MANUAL
DPT100-S

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DPT100-S and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Custom Audio Electronics DPT100-S

  • Page 1 COMMANDS MANUAL DPT100-S...
  • 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 DPT-S 24 characters per line DPT-S 24 characters per line DPT-S 40 characters per line DPT-S 40 characters per line 8 │ Introduzione...
  • Page 9 3 PAPER SPECIFICATION All the dimensions shown in following igures are in millimetres. Paper with black mark on the termal side 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 labels see user manual. PAPER WIDTH 57 ±...
  • Page 10 Paper with black mark and labels The following image shows a portion of paper with labels placement of the black mark on the thermal side of the paper. To properly use the alignment commands, you need to use paper with labels that comply with the dimensions shown in the following igure.
  • Page 11 Paper with hole and labels The following image shows a portion of paper with labels placement of the black mark on the thermal side of the paper. To properly use the alignment commands, you need to use paper with labels that comply with the dimensions shown in the following igure.
  • Page 12 12 │ Introduzione...
  • Page 13 CUSTOM/POS EMULATION 1 COMMANDS LISTED IN ALPHANUMERIC ORDER ....14 2 COMMANDS LISTED BY FUNCTION ....... . . 16...
  • Page 14 1 COMMANDS LISTED IN ALPHANUMERIC ORDER 0x00 ......<NUL> ........21 0x01 .
  • Page 15 0x1D 0x24 ......<GS $> ........48 0x1D 0x49 .
  • Page 16: Table Of Contents

    2 COMMANDS LISTED BY FUNCTION COMMANDS FOR BARCODE PRINTING 0x1B 0x63......<ESC c> ........19 Management of barcode printing CHARACTERS COMMANDS 0x00...
  • Page 17 PRINT COMMANDS 0x0A ......<LF> ........35 Print and line feed 0x0B .
  • Page 18 0x1B 0x40......<ESC @> ........46 Initialize device 0x1B 0xFA .
  • Page 19 COMMANDS FOR BARCODE PRINTING <ESC c> 0x1B 0x63 Management of barcode printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [[Format] [code] [height] [position] [options] [length] [data] ASCII [code] [height] [position] [options] [length] [data] [Description] This command executes a barcode printing with the following settings: •...
  • Page 20 BIT 5 BIT 4 FUNCTION DESCRIPTION Normal Double Barcode width Triple Not used BIT 6 FUNCTION DESCRIPTION Not used BIT 7 FUNCTION DESCRIPTION Not used • [length] Specify the characters number to print trough a byte; in following are listed the maximum lengths allowed: Interleaved 2 of 5 = 12 characters...
  • Page 21: Characters Commands

    CHARACTERS COMMANDS <NUL> 0x00 Small character printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] The printer prints in small characters (normal). [Notes] • The commands 00H - 09H do not cancel the print bufer. •...
  • Page 22: 0X01

    <SOH> 0x01 Double width printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] The printer prints in double width format. [Notes] [Default] [Reference] 0x00, 0x02, 0x03, 0x04 [Example] 22 │ Emulazione CUSTOM/POS...
  • Page 23: 0X02

    <STX> 0x02 Double height printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] The printer prints in double height format. [Notes] • The commands 00H - 09H do not cancel the print bufer. •...
  • Page 24: 0X03

    <ETX> 0x03 Expanded printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] The printer prints in expanded character mode. [Notes] • commands 00H-09H do not cancel the print bufer • the commands which modify the dimensions of the characters are only active at the beginning of the line [Default] [Reference]...
  • Page 25: 0X04

    < EOT> 0x04 Restore small character printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] The printer resumes printing with small characters. [Notes] • The commands 00H-09H do not cancel the print bufer. •...
  • Page 26: Cancel Print Data Bufer

    < BEL> 0x07 Cancel print data bufer Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Deletes all the print data in the current print bufer. [Notes] If data that existed in the previously speciied printing area also exists in the currently speciied print- ing area, it is deleted.
  • Page 27: Enable Graphic Mode

    <DC1> 0x11 Enable graphic mode Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Enables graphic mode: a line in 24 column mode corresponds to 144 horizontal dots divided into 24 blocks of 6 dots each; a line in 40 column mode corresponds to 240 horizontal dots divided into 40 blocks of 6 dots each.
  • Page 28: 0X1B 0X4D

    <ESC M> 0x1B 0x4D Select character font Valid for DPT-S 24 characters per line DPT-S 24 characters per line [Format] ASCII [Range] [Description] Sets the print mode default parameters: CHAR/INCH FUNCTIONS 0x00, 0x30 Normal 0x01, 0x31 Double width printing 0x02, 0x32 Double height printing 0x03, 0x33 Expanded printing...
  • Page 29: 0X1B 0X4E

    <ESC N> 0x1B 0x4E Set normal mode printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Select normal mode printing: the receipt feeds out of the printer with the printing upside down running from right to left.
  • Page 30: 0X1B 0X51

    <ESC Q> 0x1B 0x51 Enable underlined printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] On receiving this command, the characters are printed underlined. [Notes] [Default] [Reference] 0x1B 0x71 [Example] 30 │ Emulazione CUSTOM/POS...
  • Page 31: 0X1B 0X52

    <ESC R> 0x1B 0x52 Set reverse mode printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Set reverse mode printing: the receipt exits from the device with the printing not upside down running from left to right.
  • Page 32: 0X1B 0X57

    <ESC W> 0x1B 0x57 Prints a graphic line at 203 dpi Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] After receiving this command, the device waits for 48 bytes which correspond to an entire graphic line.
  • Page 33: 0X1B 0X71

    <ESC q> 0x1B 0x71 Disable underlined printing Valid for DPT-S 24 characters per line DPT-S 40 characters per line Formato] ASCII [Range] [Description] Disabled underlined printing. [Notes] [Default] [Reference] 0x1B 0x51 [Example] │ 33 Emulazione CUSTOM/POS...
  • Page 34: 0X1B 0X73

    <ESC s> 0x1B 0x73 Transmit the next character in serial Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Transmits the next character it receives on the serial port. [Notes] [Default] [Reference] [Example] If you transmit 0x1B 0x73 0x41,the last character, 0x41, will not be printed but immediately transmit- ted on the serial.
  • Page 35: Print Commands

    PRINT COMMANDS <LF> 0x0A Print and line feed Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] This command sets the print position to the beginning of the line printing the data in the bufer..
  • Page 36: 0X0B

    <VT> 0x0B Perform n line feeds Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] 0x00 ≤ n ≤ 0x09 [Description] Perform as many line feeds as are speciied by parameter n. [Notes] • The number must be ASCII and between 0 and 9 (when n = 0 the command is ignored) •...
  • Page 37: 0X0D

    <CR> 0x0D Print and carriage return Valid for DPT-S 24 characters per line DPT-S 40 characters per line [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 38: 0X0F

    <SI> 0x0F Set CRLF mode Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Inhibits the command 0x0D maintaining enabled only the command 0x0A for printing. [Notes] • To disable this option, reset the printer. •...
  • Page 39: 0X1B 0X41

    <ESC A> 0x1B 0x41 Executes n dot lines feed Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] 0x00 ≤ nH, nL ≤ 0xFF [Description] Executes n dots line feed where N = 256 x nH + nL. [Notes] •...
  • Page 40: Print Position Commands

    PRINT POSITION COMMANDS <ESC a> 0x1B 0x61 Select the number of dots space Valid for DPT-S 24 characters per line DPT-S 40 characters per line [[Format] (dd) ASCII (dd) [Range] 0x00 ≤ (dd) ≤ 0x7F [Description] By using (dd) parameters it’s possible to select the dots line number between one print line and another [Notes] (dd) are two ASCII characters which identiies number from 0 to 127 in Hex form and corresponds...
  • Page 41: 0X1D 0X57

    <GS W> 0x1D 0x57 Prints n byte of a 200 dpi graphic line Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] d1... ASCII d1... [Range] 0x01 ≤ n ≤ 0x31 0x00 ≤ d1... dn ≤ 0xFF [Description] Print n byte of a 200 dpi graphic line where : •...
  • Page 42: Status Commands

    STATUS COMMANDS <ESC v> 0x1B 0x76 Transmit paper sensor status Valid for DPT-S 24 characters per line DPT-S 40 characters per line [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: OFF/ON FUNCTION 0x00...
  • Page 43: Alignment Commands

    ALIGNMENT COMMANDS <GS ö> 0x1D 0xF6 Align the ticket with the printhead Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII ö [Range] nH and nL are the values of the shift to be made once the notch has been found. [Description] This command align the edge of black mark to the alignment point (see ALIGNMENT...
  • Page 44: Miscellaneous Commands

    MISCELLANEOUS COMMANDS <ESC m> 0x1B 0x6D Transmit the print mode coniguration on the serial port Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Transmits the print mode coniguration on the serial port. [Notes] •...
  • Page 45: 0X1B 0X23

    <ESC #> 0x1B 0x23 Transmit printer ID Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] ≤ n ≤ 0x03, 0x31 ≤ nH ≤ 0x33 [Description] Transmits the printer ID speciied by n follows: DEVICE ID SPECIFICATION 0x53 DPT-S 24 characters per line...
  • Page 46: 0X1B 0X40

    <ESC @> 0x1B 0x40 Initialize device Valid for DPT-S 24 characters per line DPT-S 40 characters per line [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] •...
  • Page 47: 0X1B 0Xfa

    <ESC ú> 0x1B 0xFA Print graphic bank (384 x 85 dots) Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII 0xFA [Range] 0x00 ≤ n1, n2 ≤ 0xFF [Description] Prints the graphics bank from lash based on the values of n1 and n2 where: •...
  • Page 48: 0X1D 0X24

    <GS $> 0x1D 0x24 Set absolute print position into a graphic line Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] 0x00 ≤ n ≤ 0x2F [Description] Set the beginning print position into a graphic line based on the current value of n that indicate the byte number of shift from left margin.
  • Page 49: 0X1D 0X49

    <GS I> 0x1D 0x49 Transmit device ID Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] 0x01 ≤ n ≤ 0x03, 0x31 ≤ n ≤ 0x33 [Description] Transmits the device ID speciied by n follows: DEVICE ID SPECIFICATION 0x53 DPT-S 24 characters per line...
  • Page 50: 0X1D 0X55

    <GS U> 0x1D 0x55 Reset the device parameters to the default coniguration Valid for DPT-S 24 characters per line DPT-S 40 characters per line [Format] ASCII [Range] [Description] Reset the device parameters to the default coniguration. [Notes] After executing this command the printer is initialized. [Default] [Reference] [Example]...
  • Page 51 ALIGNMENT 1 ALIGNMENT COMMANDS ..........52...
  • Page 52 1 ALIGNMENT COMMANDS Devices listed in this manual are equipped with sensors that allow the use of alignment notch in order to handle rolls of with pre-printed and ixed length ields. For further information, refer to the user manual of each device. The command available for managing the alignment of the ticket is the following: 0xF6:perform the alignment of ticket, which is advanced to cut the ticket at the irst alignment point available.
  • Page 53 [Example 1] Commands sequence to print tickets with “alignment point” set to the edge of the notch (“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 0x1D 0xF6...
  • Page 54 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 55 │ 55 Alignment...
  • Page 56 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...

Table of Contents