1 | Programmer’s GuideThermal Printer Programmer’s Guide 4The value field ‘#’ is a group of characters specifying a numeric value. The value is an
Programmer’s Guide | 15 Thermal Printer Programmer’s GuideThe following:<ESC>&l1O<ESC>&l2A <ESC>&l5.81Ccan be combin
1 | Programmer’s GuideThermal Printer Programmer’s Guide 6for the next character to be rendered. With raster images, the CAP is moved vertically t
Programmer’s Guide | 17 Thermal Printer Programmer’s GuideTable 2: Fonts and Escape Sequences Font Name Escape SequenceAlbertus Medium <ESC>
1 | Programmer’s GuideThermal Printer Programmer’s Guide 8Symbol SetsSymbol sets are used to map character codes to the associated character image
Programmer’s Guide | 19 Thermal Printer Programmer’s Guide6N ISOL6 ISO-L6 ISO 8859-10 Latin 69N ISOL9 ISO-L9 ISO 8859-15 Latin 926U PC775 PC-775 P
1 | Programmer’s GuideThermal Printer Programmer’s Guide 10The table below (PC-850 Symbol Set) is an example of character code mapping and the cha
Programmer’s Guide | 111 Thermal Printer Programmer’s GuidePrinting Unicode Characters in PCLTo print Unicode characters, the symbol set 18N (UCS-
1 | Programmer’s GuideThermal Printer Programmer’s Guide 12Table 4: Example of Printing Barcodes (Compressed Commands) Table 5: Example of printin
Programmer’s Guide | 113 Thermal Printer Programmer’s GuideComparing the two tables above there is a noticeable difference in the amount of data s
1 | Programmer’s GuideThermal Printer Programmer’s Guide 14Select Guard Boxes/BarsThe following will select guard boxes or bars on barcodes that s
Programmer’s Guide | 115 Thermal Printer Programmer’s GuideValues:For Maxicode barcodes:<ESC>$b#E 0x1b 0x24 0x62 <value> 0x45Wher
1 | Programmer’s GuideThermal Printer Programmer’s Guide 16Select Barcode Height (PCL Units)The following will set the barcode height in PCL units
Programmer’s Guide | 117 Thermal Printer Programmer’s Guideand will round up to 1 dot. (3*300)/720 = 1.25 and will round down to 1 dot. (4*300)/72
1 | Programmer’s GuideThermal Printer Programmer’s Guide 18Select Barcode Ratio The following command will set the wide-to-narrow bar ratio.<ES
Programmer’s Guide | 119 Thermal Printer Programmer’s Guideinsure every resident barcode produced by Datamax-O'Neil Barcode Printers are with
1 | Programmer’s GuideThermal Printer Programmer’s Guide 20Table 7: 2D Barcodes Table 8: Valid Barcode Data 1530 USPS Intelligent Mail (OneCode)5
Programmer’s Guide | 121 Thermal Printer Programmer’s GuideBarcodeSamplesThe following sequence will print a code 3 of 9 barcode, height of 300 d
1 | Programmer’s GuideThermal Printer Programmer’s Guide 22The following sequence will print a QR Code (Auto) barcode with error correction capaci
Programmer’s Guide | 123 Thermal Printer Programmer’s GuideTable 9: PJL Commands Command Description Modifications1FSDOWNLOADDownloads a file to t
Thermal Printer Programmer’s GuideCopyrightCG Times (based upon Times New Roman), CG Triumvirate, MicroType, and TrueTypeare trademarks of the AGFA Mo
1 | Programmer’s GuideThermal Printer Programmer’s Guide 24Caution: Exercise caution when issuing these PJL Commands. They cannot be undone.1Use t
Programmer’s Guide | 125 Thermal Printer Programmer’s GuideIn this example, “aaa” is the binary size of the font to be downloaded. “FontName” is t
1 | Programmer’s GuideThermal Printer Programmer’s Guide 26PJL INFO Read-Back Command This command is used to read back printer information. In ad
Programmer’s Guide | 127 Thermal Printer Programmer’s GuideMOTORTEMPADC=215;HEADVOLTAGEADC=211;TOFADC=190;PAPERLOWADC=137;AUTOLOADADC=213;HEADPRES
1 | Programmer’s GuideThermal Printer Programmer’s Guide 28@PJL INFO SETUPFILESFile1.stcFile2.stcFile3.stcFile4.stcThe PJL INFO RESIDENTFONTS comm
Programmer’s Guide | 129 Thermal Printer Programmer’s GuideThe syntax of the command is as follows: <ESC>%-12345X@PJL JOB NAME = "JOB_N
1 | Programmer’s GuideThermal Printer Programmer’s Guide 30PJL Head Cleaning Procedure/Command Prior to performing print head cleaning the head cl
Programmer’s Guide | 131 Thermal Printer Programmer’s Guide<ESC>%-12345X@PJL JOB NAME = "JOB_CLEAN_END" <LF>@PJL PERFORM HE
1 | Programmer’s GuideThermal Printer Programmer’s Guide 32<ESC>%-12345X@PJL JOB NAME = "JOB_SELFTEST_INIT" <LF>@PJL PERFORM
Programmer’s Guide | 133 Thermal Printer Programmer’s GuidePJL GPIO Write Test Prior to performing the GPIO write test, the GPIO parameters in the
Thermal Printer Programmer’s Guide
1 | Programmer’s GuideThermal Printer Programmer’s Guide 34<ESC>%-12345X@PJL JOB NAME = "JOB_NAME" <LF>@PJL PERFORM CONFIG [
Programmer’s Guide | 135 Thermal Printer Programmer’s Guide<ESC>%-12345X@PJL JOB NAME = "JOB_UPGRADE" <LF>@PJL UPGRADE SERVE
1 | Programmer’s GuideThermal Printer Programmer’s Guide 36KEYPROMPT Informs the user interface to prompt the user for the next labelOFF, ON OFF P
Programmer’s Guide | 137 Thermal Printer Programmer’s GuideAUTOCALIBRATE Automatically calibrates the paper out sensors after loading the paperOFF
1 | Programmer’s GuideThermal Printer Programmer’s Guide 38PRINTONGAP Sets the printer to print on gap/mark or notOFF, ON OFFDARKNESS7This allows
Programmer’s Guide | 139 Thermal Printer Programmer’s GuidePAPERREFLDOWNRIGHT4Paper reflective sensor threshold for the bottom outside sensor0-255
1 | Programmer’s GuideThermal Printer Programmer’s Guide 40COPIES 7The number of copies of each label for a print job1 – 9999 1PORTNUMBER The TCP
Programmer’s Guide | 141 Thermal Printer Programmer’s Guide1When using PJL commands to query for font number, pitch, point size or symbol set the
1 | Programmer’s GuideThermal Printer Programmer’s Guide 42To cut at the end of a job, the CUTBYCOUNT should be set to 0. A PJL EOJ command must b
Programmer’s Guide | 143 Thermal Printer Programmer’s Guide@PJL EOJ <LF><ESC>%-12345XThis PJL command will create or reset the ID vari
i Thermal Printer Programmer’s GuideTable of ContentsTable of Contents1. Programmer’s GuideOverview ...
1 | Programmer’s GuideThermal Printer Programmer’s Guide 44The string values may be connected together to form a compound string such as “%d%m%Y”.
Programmer’s Guide | 145 Thermal Printer Programmer’s GuideThe following is a hex dump of a test file that uses the increment field and the date/t
1 | Programmer’s GuideThermal Printer Programmer’s Guide 4600000310 36 37 49 1b 26 61 2b 32 37 35 56 1b 2a 70 33 30 |67I.&a+275V.*p30|00000
Programmer’s Guide | 147 Thermal Printer Programmer’s Guide00000670 32 30 49 1b 2a 70 33 30 78 2b 34 35 59 1b 24 69 |20I.*p30x+45Y.$i|00000680
1 | Programmer’s GuideThermal Printer Programmer’s Guide 48Hex Transfer MethodThe hex transfer method allows the user to send PCL escape sequence
Programmer’s Guide | 149 Thermal Printer Programmer’s GuideorSend the PJL command DEFAULT with variable HEXTRANSFERMODE and value ON. orUsing webp
1 | Programmer’s GuideThermal Printer Programmer’s Guide 50
51 Thermal Printer Programmer’s Guide2 Appendix APrinter Model Printable Print WidthsThe table below lists the available printable print widths for th
2 | Appendix AThermal Printer Programmer’s Guide 52
53 Thermal Printer Programmer’s Guide3 Appendix BPrinter Model SpeedTable 1: Print Speed (Inches Per Second) Table 2: Feed Speed (Inches Per Second) T
Table of ContentsThermal Printer Programmer’s Guide2. Appendix APrinter Model Printable Print Widths ...
1 Thermal Printer Programmer’s Guide1 Programmer’s GuideOverviewThis Programmer’s Guide provides information about printer specific commands that are
1 | Programmer’s GuideThermal Printer Programmer’s Guide 2Microsoft, Windows, and MS-DOS are U.S. registered trademarks of Microsoft Corporation.T
Programmer’s Guide | 13 Thermal Printer Programmer’s GuideDatamax-O'Neil CommandsThere are frequent references to Hewlett Packard’s (HP) PCL
Komentarze do niniejszej Instrukcji