Datamax 7A300007 Rev. 2 manual Type Value Barcode type, Height

Page 45

 

 

Type Value

Barcode type

 

 

 

 

 

 

1

Code 39

 

 

2

Code 128

 

 

3

Code 2 of 5

 

 

4

UPC

 

 

5

Codabar

height

Sets the height of barcode in units of dots

 

data Specifies the content of the barcode. It is the user’s responsibility to supply data that is appropriate for the chosen code. For example, Code 39 will not accept lower case letters. Refer to the Barcode Specification section for detailed information of characters accepted by each barcode

Example: The following commands are used to create code 39 barcode inside an outline box.

P$PP

BeginPage();

SetMargin(0,0);

SetPageSize(576,2496);

DrawRectangle(61,35,524,265,1,3);

DrawText(119,75,1,0,"<f=1>DEMO Page Printing Mode");

DrawBarcode(129,130,0,1,1,70,"CODE39");

EndPage();

P#

The printer also allows for Page Print mode and Line Print mode printing on the same page.

Example: Print text and barcode in Page Print Mode (without entering and exiting Buffer Mode) accompanied by text in Line Print Mode.

PP

BeginPage();

SetMargin(0,0);

SetPageSize(576,150);

DrawBarcode(71,60,0,1,1,25,"ABC123");

DrawText(7,10,1,0,"Test: Welcome to Page Print Mode");

DrawText(10,35,1,0,"This barcode 39 is printed in Page

Print Mode");

DrawText(10,110,1,0,"Exiting Page Print Mode");

EndPage();

Welcome to Line Print Mode

This text line is printed in Line Print Mode.

You are now out of Page Print Mode!!!

39

Image 45
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Communications Settings ’Neil Line Print modeDip Switch Settings Introduction Datamax-O’Neil Printer Command Language ExPCLEOT CommunicationsXON XoffCharacter Sets Select Character Pitch Mode ESC K n CRCharacter Size and Line Spacing Select Character Set Esc F nSelect Character Pitch Mode ESC k n Apex APEX4Andes3 Character Size and Line Spacing Width and Height Underline Printing Mode ESC U n Emphasized Printing Mode ESC U nSelection U Underline Mode on u Underline Mode OFF Character AttributesReverse Print ESC U n Right to Left and Left to Right Printing ESC F nSelection R Reverse printing on n Reverse printing OFF Carriage ReturnCR Horizontal PositionBackspace Horizontal TabLine FeedLF Vertical PositionVariable Size Line Feed ESC J n Variable Size Reverse Line Feed ESC Q J nSet Vertical Tab Height ESC T V n Bar CodesForm Feed Set Form Feed Length in Dot Lines ESC T F n1 n2Print Bar Code with Human Readable Text Code 39 SpecificationsCode 128 Specifications Description Character set Elements per symbolHEX DEC Code a Code B Code C Description UCC/EAN-128 SpecificationsUPC/EAN/JAN Specifications Interleaved 2 of 5 SpecificationsCodabar Specifications Symbol Character densityElements per Character set QR Code Models GS1 DataBar SpecificationsDecimal Page Page Page QR Code Specifications Error correction Symbol Character/symbolCompaction Mode Description Encoding Capability Security Level # Error-Check Code WordsElement Width Value Length in mil Graphics Barcode Height Multiplier ESC z h nBit Graphics Bit Compressed Graphics Graphic String ComponentFunction Disable Buffer Mode Select Online Mode Enable Buffer ModePrinter Controls Data Processing ESC P $Print Buffer Contents Buffer Mode Printer Controls Printed Output AdjustESC P + ESC PPrinter Controls Power Printer Controls ResetCan ESC @Command String Printer Response Extended Auto Power Down CommandPrinter Status Commands STXSYN Magnetic Card Reader Magnetic Card Command String DescriptionQuery Printer Model and Hardware Revision Level Track Position Track2 Track3Error # Magnetic Card Read Error MessagesMagnetic Card Data Output Format Interfacing to the Magnetic Card ReaderBlack Mark Sensing Control Commands ESC CESC Q R CR Black Mark Sensing Auto Mode Black Mark Sensing Command ModeDisable Back Black Mark Sensor ESC Q b d CR Enable Back Black Mark Sensor ESC Q b e CRPrinted Receipt/Label Presenter Positive Adjust ESC Q D + n Printed Receipt/Label Presenter Positive Adjust ESC Q P nPrinted Receipt/Label Presenter Negative Adjust ESC Q D n Print Commands ConfigurationEnter the Page Printing Mode ESC P PPrint Commands Draw Commands Draw Rectangle DrawRectangle x1, y1, x2, y2,color,width Command NameHeight Type Value Barcode typeForm FiestaTM Download Printer Default Setup ESC D SESC S L Start Hardware Information download process Download Self test Message Hardware InformationESC S Print Hardware Information ESC L gESC D L CR LF Download LogoDownload Fonts Enable Font DownloadingESC D F CR Display Tables InformationDisplay Font Download Current Settings ESC F S m t k f CR Disable Font Download ModeESC D I CR ESC FFlash Select Load Operating Mode ESC F M m CRESC F B CR Important Font Downloading NotesExample 2 BBX 08 23 0 Example 1 BBX 08 23 0Select Pass-Thru Command Mode ESC P U n1 U n2 T t0 t1 t2 CR Bluetooth & WiFi Setup CommandEmulation ’Neil Line Print modeSelect Emulation ESC E n Emulation LanguageEsc C n Esc a n Can Esc V n1 n2 Dip Switch Settings Communications SettingsOFF OFF 2USBSerial Communication RS232C RJ25 Connector PIN # Functional Description Signal NameSerial Busy Protocol XON/XOFF ProtocolDip switch setting RS232C Technical SpecificationsUSB Communication USB OverviewSoftware Driver Installation Bluetooth CommunicationsUSB Technical Specifications TeraTerm ExampleManual Power OFF Mode Bluetooth Interface Power ModificationAutomatic Power OFF Mode SettingsPrinter Status Indicator LED Panel Wi-Fi Communication OptionLED Status Condition FunctionLED # LED Color/ Status Description LED #Action Required Replaceable Fonts Tables Appendix a Flash Font TablesFactory Fonts Replaceable FontsCourier PC Line Graphic Table Courier International Font TableRotated Font Table Monospace Font Table