Cognitive Solutions A776, B780 List of DH 4700 Command Descriptions, Printer Function Commands

Page 159

Chapter 6: DH Emulation  147

List of DH 4700 Command Descriptions

The command descriptions in this section are grouped in the following categories:

·Printer Function Commands

·Print Characteristics Commands

·Graphics Commands

·Printer Status Commands

Within each group the commands are listed in numerical order according to their hexadecimal codes. Each command is described and the hexadecimal, decimal, and ASCII codes are listed.

Printer Function Commands

These commands control the following basic printer functions:

·Printing

·Feeding paper

·Moving the printhead

·Resetting the printer

The commands are listed numerically by hexadecimal code.

End of Text

Informs printer to send an acknowledge (Hexadecimal 06, Decimal 6, ASCII ACK) to the host computer after all characters have been printed and all commands performed.

Hexadecimal

Decimal

ASCII

03

3

ETX

Line Feed

Prints the data in the buffer and feeds the paper one line. The height of the line is determined by the internal DIP switch settings or by the Set Up Parameters command (19 n).

Hexadecimal

Decimal

ASCII

0A

10

LF

Vertical Tab

Prints any data in the buffer and then advances the paper .02083 inches (0.523mm).

Hexadecimal

Decimal

ASCII

0B

11

VT

Carriage Return

Prints the data in the buffer and advances the paper if Auto Line Feed is enabled either by the internal DIP switch settings or by the Set Up Parameters command (19 n). See “Chapter 3: Diagnostics and Print Test” for more information.

Hexadecimal

Decimal

ASCII

0D

13

CR

Setup Parameters

Sets temporary values for default printer parameters. N is the sum of the values for each parameter.

 

Hexadecimal

Decimal

ASCII

 

 

 

19 n

25 n

EM n

 

 

 

Value of n

 

 

 

 

 

Hexadecimal

Decimal

ASCII

Parameter

Setting

00

01

NUL

Auto Line Feed

ON

01

 

SOH

 

OFF

00

02

NUL

Characters per Line

40

 

02

 

STX

 

ALT

00

0

NUL

Journal Lines/Inch

8.0

04

4

EOT

 

6.9

08

8

BS

 

6.0

 

0C

12

FF

 

5.3

A776-PG00001 C 12/09

 

 

A776 (B780) Programming Guide

Image 159
Contents Printer without Imaging Printer with Imaging Programming GuidePage Contents B780 Configuration Commands Contents A776 Configurable Slip CommandsUser data storage Bar codes Mode Macros Micr check reader commandsContents Print and paper feed Convert 6-dots/mm bitmap to 8-dots/mm bitmap 114 100106 113132 121126 129144 140142 143156 152153 154Contents Support How to use this GuideWhere to find the basics Where to find advanced technical informationAbout this Guide Printer Status, Ethernet and Indicators Startup DiagnosticsRuntime diagnostics Remote diagnosticsEthernet Terminology Ethernet terms and default setup     Ethernet Default SetupFor more information about See this section IndicatorsIndicator Sequence Condition Green slip-in light in front of the paper feed buttonMigrating from existing CognitiveTPG printers A758 wide slip station 66 columnsA760 wide slip station 66 columns 24 n1 n2 Command Description Difference between the A756 A776NL nH Moving from the A756 to the A776 Emulation commandsA776 Configuration Commands A776 Emulation CommandsSelect A776 Delete Slip Trailing Spaces Option Select A776 Narrow Slip 51-column Compressed Print OptionSelect Cover Open Option Select A776 21 and 25-line Rotated Slip Print OptionsSelect 45/60 Column Slip Option Set Page Mode Margin Mechanical AdjustmentSet Page Mode Option to Trim Full Dots Select A776 Slip Eject OptionA776 Slip Print Justification A776 Slip Character SpacingA776 Slip Minimum Units A776 Slip Left Margin and Print WidthAscii Moving from A756/A758 to A776 Two-color CommandsDiscription LogoEZ colorization commandsB780 Emulation Commands B780 Configuration CommandsMigrating from the A721 7221 printer to the B780 Select DH Pitch and Rotated Text Columns Select B780 Map User Character Option for B780 Select Slip Right Margin in Page ModeSelect Two Sensor Option for B780 Select Number of Lines of Validation for B780Select B780 with A776 Slip Functions Select B780 Map Logo Option for B780Select Cover Open Option for B780 Select Concurrent Print to Receipt for B780Set Page Mode Option to Trim Full Dots Migrating to a new printer Programming the Printer 23 Overview of Printing CharacteristicsStandard Receipt character specificationCharacter appearance Rotated Scaled ShadingPrint zones Print zones for receipt station 80 mm paperProgramming the Printer 25 Print zones for slip station 1B 64 n command, with n =Print Zones for Slip, Validation Lines InchesProgramming the Printer 27 Rotated printing commands Commands listed by function Commands in bold are ColorPOS commandsPrinter actions Text characteristics Print and paper feedVertical and horizontal positioning  31 GraphicsReal-time Batch modeUnsolicited status mode Code hexadecimal Command StatusMacros Micr check reader commandsBar codes Mode1D 97 m n User storage status Ethernet setup commandsUser data storage Flash downloadProgramming commands 35 Image CommandsCommand conventions Command descriptionsClear printer Generate tone Close formOpen form Perform partial knife cutSet slip paper eject length Select peripheral device for multi-dropSelects the device to which the host computer sends data Initialize printerProgramming commands 39 Select receipt or slip for setting line spacingThis command is ignored if n is out of range Select paper sensors to output paper end signalsSet slip paper waiting time Enable or disable panel buttonDefault Bit of n Function Select sensors to stop printingSet current color Generate pulse to open cash drawerSends a pulse to open the cash drawer Release PaperSelect slip station After a power loss or reset the default value m=0 is resetSelect cut mode and cut paper If m is out of the specified range, the command is ignoredHexadecimal 1E Decimal Programming commands 43Select receipt station Set Interpretation of Set current colorPrint and carriage return Print test formPrint and feed paper one line Print and eject slipAdd n extra dot rows Programming commands 45Range of n Default Feed n dot rowsPrint and feed n lines PrintPrint and feed paper Print and reverse feed paperHorizontal tab Print and reverse feed n linesReverse feed n lines Reverse feed n dotsSet column Set absolute starting positionSet vertical line spacing to 1/6 inch Value of k Programming commands 49Set vertical line spacing Set horizontal tab positionsCompatibility information A776 receipt vs. A756 receipt Set relative print positionGS L nL nH Programming commands 51Select justification Set left marginGS P x y Default of ySet horizontal and vertical minimum motion units Set printing area widthSelect 90 degree counter-clockwise rotated print Text characteristics commandsSelect double-wide characters Select single-wide charactersSet right-side character spacing Standard mode the horizontal motion unit is usedSelect pitch column width Selects the character pitch for a print lineSelect print mode Select or cancel user-defined character setCharacter sets cannot be used together on the same line Define user-defined character set Values and ranges ReceiptSlip s = Copy character set from ROM to RAM Select or cancel underline modeThis command is ignored if n is out of the specified range Programming commands 57Cancel user-defined character Select or cancel emphasized modeSelect double-strike Select international character set Printer output is the same as in emphasized modeCancel double-strike Select or cancel italic printSelect character code table Select or cancel 90 degree clockwise rotated printSelect or cancel upside-down print mode Character sets cannot be mixed on the same lineSelect or cancel white/black reverse print mode Character height selectionHex Decimal Height This command is only valid for the receipt station Reverse color text mode ColorPOSSet smoothing Select font style number Text strike-through mode ColorPOSSelect font ID number CB hex Kanji CE hex KoreanPrint downloaded font information Save font ID number as default font at power upDownload font Download font listValues and ranges Programming commands 65Define extended user-defined character set Select active user-defined character setSelect bit image mode Value of m Mode No. of dots vertical No. of dots horizontalDownload BMP logo Value of r Advanced raster graphics is not available in page modeDot single-density N1 + 256 × n2 Print advanced raster graphicsXHxL 1024 max printable xHxL = 72 = 576 dots wide YHyL Select double-density graphicsPrint Flash Logo Define Flash LogosPrint downloaded bit image Define downloaded bit imageMax n1 = Print raster monochrome graphics ColorPOSPrint raster color graphics ColorPOS Download logo image ColorPOSMonochrome shade mode ColorPOS Color shade mode ColorPOSProgramming commands 71 Hexadecimal 1D 89 n m Decimal Merge watermark mode ColorPOSLogo print with color plane swap ColorPOS Apply shading to logo ColorPOSForm and merge real-time surround graphic ColorPOS Programming commands 73This command is ignored in page mode Background logo print mode ColorPOSSave graphics buffer as logo ColorPOS Shade and store logo ColorPOS Apply margin message mode ColorPOSDecimal Values See Print downloaded bit image commandLogo print with knife cut Set temporary max target speedValue of f Programming commands 77Set LogoEZ colorization ColorPOS Example= 3 link margin message printing Set LogoEZ attribute mapping ColorPOS Modify the settings within the utilityProgramming commands 79 LogoEZ utility default settingsAttributes substituted table Bit on Programming commands Original attribute mapped tableEnable constant speed logos Programming commands 81 Related informationConvert 6-dots/mm bitmap to 8-dots/mm bitmap Value of returned byte Bit Status command introductionTransmit peripheral device status Hexadecimal 1B 75 DecimalESC Programming commands 83Transmit paper sensor status Transmit printer IDPrinter ID Specification ID Hexadecimal Transmits the printer ID specified by n as follows= 4 Logo Definition Bit Off/On Hex Decimal Function GS I @ n Transmit printer ID, remote diagnostics extensionPreforms the remote diagnostic function specified by n Programming commands 85Hex Dec Remote diagnostic item Function Programming commands Value of nTransmit status Programming commands 87A776 B780 Programming Guide Send printer software version Real-time commandsMoving data through the buffer Rules for using real-time commandsPreferred implementation Alternate implementationBusy line and fault conditions Programming commands 91Real-time status transmission = Transmit error status Bit Status Hex Decimal Function A776 B780 Programming Guide Real-time request to printer Real-time commands disable Programming commands 95Real-time printer status transmission Select or cancel unsolicited status mode USM Unsolicited status modeBit Off/On Hex Decimal Status for USM Second byte error informationFourth byte paper sensor information -- A776 Third byte paper sensor informationReal time response Batch mode responseUnsolicited status mode USM Recognizing data from the printerPrint bar code Select printing position of HRI charactersSelect pitch of HRI characters Select bar code heightProgramming commands 101 Exceptions Bar codeLength Set GS1 DataBar formerly RSS parameters Illegal data cancels this commandUndercut, default 0, can be set 0 to a-1 Programming commands Bar codeType Programming commands 103Print GS1 DataBar formerly RSS, data length specified Print GS1 DataBar formerly RSS, null terminatedGS k Print multiple barcodesGS p a b c d e f Sample symbol descriptionProgramming commands 105 DefaultsRelated Information Value Dimension Row height Select bar code widthSets the bar code width to n dots Exceptions Reset to power-on parametersSize Character SizeSlip Page Mode Disabled Print and return to standard mode Mode configurationsSlip Page Mode Improved Slip Page Mode EnabledProgramming commands 109 Select page modeSelect standard mode This command is effective only in page modeSelect print direction in page mode Programming commands 111 Set print area in page modeNL + nH × 256 × vertical or horizontal motion unit inches Command is effective only in page modeSet absolute vertical print position in page mode Set relative vertical print position in page modeSelect or cancel macro definition Contents of the macro can be defined up to 2048 bytesExecute macro Status Status byte value Micr commandsProgramming commands Formulas Read Micr data and transmitDefine parsing format, do not save permanently Micr parsingTransmit last Micr read Define parsing format, save in NvramCountry code One digit returned Error number One digit returnedStatus Two digits returned Field separatorSample parsing formats Programming commands ESC w p T ‘/ a ‘/ C ‘/ S CR Check serial number Programming commands 119Bits within byte Loading the exception tableWhich writes the two byte word n1n2 to word k in Nvram Exception table entry formatProgramming commands 121 Maintaining the exception tableWrite to user data storage Select memory type SRAM/flash Read from user data storageRead from non-volatile memory Write to non-volatile memory Nvram22 80 31 nL nH Sectors to logo/font area 22 80 32 nL nH Flash memory user sectors allocationExpanded flash memory allocation Memory allocation sequenceProgramming commands Values and ranges Erase user flash sectorValue of n = 49 Ascii n = 1 HEX User storage status ColorPOS Programming commands 125 = 50 Ascii n = 2 HEXHexadecimal 1B 5B 7D Decimal 27 91 Download modeGet firmware CRC Return boot sector firmware part numberReturn segment number status of flash memory Memory sector to downloadDownload to active flash sector Erase all flash contents except boot sectorReturn main program flash CRC Erase selected flash sectorSet Net Mask Reset firmwareRestore default settings Set IP addressTelnet Daemon Default enabledSet Gateway Set raw Tcpip portKeep-alive pings Dhcp auto-configurationInactivity timeout Programming commands 131Value Definition Imaging CommandsCalibrate Scanner Hexadecimal ID B0 Parameters NoneConfigure/Change Image Transmission Port Set Top Entry Startup DelaySet Image Format Properties Method Configure Binarization Methods and AttributesT6.G4 binary, else 1=Black is Zero Define/Update Application Tag ValuesProgramming commands 135 Decimal Value DefinitionHexadecimal 1D B7 Attach Scan Application TagsReturn Imager Status Hexadecimal 1D B6 Parameters NoneBit Meaning Real-Time Imager StatusValue Definition Decimal Meaning Hexadecimal 10 04 Parameters NoneHexadecimal 10 05 Parameters None Return None Real-Time Error StatusReal-Time Cancel Image Transmission Wait for Scan & Optionally TransmitBit 2 =1 image cover open Sensors currently covered none = 0 valueBit 0 =1 rear image sensor covered Bit 1 =1 front image sensor coveredReserved for Jpeg lossy Transmit ImageLZW lossless, also used in GIF compressed grayscale Tiff Ccitt T.6 compression binary TiffProgramming commands 141 Bytes Scanned image Tiff structure lengthStructure containing the tags and images As in the Image Status Command return Eject from ScannerHexadecimal 1D BA p Get Buffered Image Attributes Free ImageFree Imager Buffering Get Buffered Image ListHexadecimal 1D C6 m n Parameters Description Configure Scan OptionsConfigure Max Scan Width & Height Transmit Printer Type Extended Existing CommandList of DH 4700 Emulation Commands Hexadecimal Code Command NameDH Emulation 145 Hexadecimal Code Command Name List of DH emulation CommandsPrinter Function Commands List of DH 4700 Command DescriptionsSelf Test Reset PrinterCash Drawer Document Clamp OpenDownload Clamp DelayDocument Clamp Close Form EjectBuffer Clear Print Characteristics CommandsPrint Speed Buffered ValidateDH Emulation 151 Character SetDouble-High Font Underline PrintUnderline Off Double-High OffDH Emulation 153 Graphics CommandsGraphics Graphics 5 DotStatus 6 Bit Printer Status CommandsStatus 3 Bit Transmitted status is shown in the tableDH Emulation 155 Appendix a Commands by hexadecimal code Commands listed by hexadecimal code34 m a0 a1 a2 157Appendix a Commands by hexadecimal code Code hexadecimal Or …n160 Print raster color graphics 159X y o p q M n o Apply margin message mode161 Code Page 437 US Appendix B Resident Character Sets163 Code page 737 GreekCode page 850 Multilingual 165 Code Page 852 SlavicCode Page 857 Turkish 167 Code page 858 with EurosymbolCode page 860 Portugese 169 Code page 862 HebrewCode page 863 French Canadian 171 Code page 865 NordicCode page 866 Cyrillic 173 Code page 1252 Windows LatinPage 1F 03 18 01 n Auto Journal Mode via Configuration Command Electronic Journal StorageThere are two methods for activating Electronic Journal Exception Conditions in Auto Journal Mode Journal RAM bufferJournal Flash buffer 1F 0A C4 Print Journal Printing and Erasing the Journal Flash BufferOperator Activation of Journal Print and Erase 1F 0A C3 Clear JournalJournal flash Buffer used 1F 0A C5 Return Journal StatusReturns one byte of status 1F 0A C6 Return Journal Flash SizePage A776-PG00001 Rev. C 12/09
Related manuals
Manual 2 pages 56.15 Kb Manual 2 pages 48.96 Kb

B780, A776 specifications

Cognitive Solutions A776 is an advanced technology platform designed to enhance decision-making processes through the application of artificial intelligence and cognitive computing. This state-of-the-art solution seamlessly integrates multiple technologies to optimize business operations and drive innovation across various sectors, including finance, healthcare, and manufacturing.

One of the main features of A776 is its robust data processing capabilities. Leveraging powerful machine learning algorithms, the platform can analyze vast amounts of data in real-time, identifying patterns and insights that would otherwise be overlooked. This enables organizations to make informed decisions based on actionable intelligence, significantly improving efficiency and productivity.

Another key characteristic of the A776 system is its natural language processing (NLP) capability. This feature allows the platform to understand and interpret human language, making it easier for users to interact with the system and obtain valuable insights. By integrating NLP, Cognitive Solutions A776 can provide intuitive user experiences, enabling workforce members to query data using everyday language rather than complex coding skills.

The A776 is also built on a flexible architecture that supports seamless integration with existing IT ecosystems. This interoperability allows organizations to harness their current data sources while taking advantage of the innovative features offered by A776. The platform’s API support enables smooth connections with third-party tools, enhancing collaboration and expanding its range of applications.

Security is a major focus of the Cognitive Solutions A776. The platform is equipped with advanced encryption protocols and compliance measures to ensure that sensitive data is protected against breaches and unauthorized access. This commitment to security helps businesses maintain customer trust and safeguard their competitive advantage.

Scalability is another defining feature of the A776. As businesses grow and evolve, the platform can be easily adapted to meet changing demands. Whether a small startup or a large enterprise, organizations can scale their cognitive solutions according to their operational needs.

Furthermore, the Cognitive Solutions A776 is designed with user accessibility in mind. The interface features customizable dashboards that provide a clear overview of insights and performance metrics, enabling users at all levels to harness the power of cognitive computing without requiring extensive training or technical expertise.

In conclusion, Cognitive Solutions A776 is a cutting-edge platform that offers a range of features, including advanced data processing, natural language processing, robust security measures, and user-friendly design. Its flexible architecture allows it to integrate seamlessly with existing systems, making it an indispensable tool for organizations looking to leverage artificial intelligence in their decision-making processes.