Cognitive Solutions A776, B780 manual Sample parsing formats

Page 129

Chapter 5: Programming commands  117

Sample parsing formats

The following strings show various sample formats that you can use assuming they meet your parsing format needs. Included with the sample format is a description of the data that is returned to the application.

ESC w p 18 A <CR>

Maximum 18 characters in the account number

Final carriage return

ESC w p 18 X A <CR>

Maximum 18 characters in the account number with spaces and dashes removed

Final Carriage Return

ESC w p 18 x A <CR>

Maximum 18 characters in the account number with spaces and dashes replaced with 0

Final carriage return

ESC w p 018 A <CR>

Always 18 characters in the account number (high order zero-filled if necessary)

Final carriage return

ESC w p 018 X A <CR>

Always 18 characters in the account number with spaces and dashes removed

Final carriage return

ESC w p 018 x A <CR>

Always 18 characters in the account number with spaces and dashes replaced with 0

Final Carriage Return

ESC w p T 18 X A 04C <CR>

All characters in the transit number

All characters in the account number (up to 18) with spaces and dashes removed

Always four characters in the check number (zero-filled if check number is only three characters long)

Final carriage return

ESC w p K9 X T 18 X A 04C <CR>

U.S. check: all nine characters in the transit number (because there are no dashes)

Canadian check: dash in transit number removed; “9” inserted at beginning, resulting in a fully numeric nine character transit number

All characters in the account number (up to 18) with spaces and dashes removed

Always four characters in the check number (zero-filled if check number is only three characters long)

Final carriage return

Continued . . .

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Image 129
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 106 100113 114126 121129 132142 140143 144153 152154 156Contents Where to find the basics How to use this GuideWhere to find advanced technical information SupportAbout this Guide Runtime diagnostics Startup DiagnosticsRemote diagnostics Printer Status, Ethernet and IndicatorsEthernet Terminology Ethernet terms and default setup     Ethernet Default SetupIndicator Sequence Condition IndicatorsGreen slip-in light in front of the paper feed button For more information about See this sectionMigrating 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 OptionsSet Page Mode Option to Trim Full Dots Set Page Mode Margin Mechanical AdjustmentSelect A776 Slip Eject Option Select 45/60 Column Slip OptionA776 Slip Minimum Units A776 Slip Character SpacingA776 Slip Left Margin and Print Width A776 Slip Print JustificationAscii 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 Two Sensor Option for B780 Select Slip Right Margin in Page ModeSelect Number of Lines of Validation for B780 Select B780 Map User Character Option for B780Select Cover Open Option for B780 Select B780 Map Logo Option for B780Select Concurrent Print to Receipt for B780 Select B780 with A776 Slip FunctionsSet Page Mode Option to Trim Full Dots Migrating to a new printer Programming the Printer 23 Overview of Printing CharacteristicsCharacter appearance Receipt character specificationRotated Scaled Shading StandardPrint 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 GraphicsUnsolicited status mode Code hexadecimal Command Batch modeStatus Real-timeBar codes Micr check reader commandsMode MacrosUser data storage Ethernet setup commandsFlash download 1D 97 m n User storage statusProgramming commands 35 Image CommandsCommand conventions Command descriptionsClear printer Open form Close formPerform partial knife cut Generate toneSelects the device to which the host computer sends data Select peripheral device for multi-dropInitialize printer Set slip paper eject lengthThis command is ignored if n is out of range Select receipt or slip for setting line spacingSelect paper sensors to output paper end signals Programming commands 39Default Bit of n Function Enable or disable panel buttonSelect sensors to stop printing Set slip paper waiting timeSends a pulse to open the cash drawer Generate pulse to open cash drawerRelease Paper Set current colorSelect cut mode and cut paper After a power loss or reset the default value m=0 is resetIf m is out of the specified range, the command is ignored Select slip stationSelect receipt station Programming commands 43Set Interpretation of Set current color Hexadecimal 1E DecimalPrint and feed paper one line Print test formPrint and eject slip Print and carriage returnRange of n Default Programming commands 45Feed n dot rows Add n extra dot rowsPrint and feed paper PrintPrint and reverse feed paper Print and feed n linesReverse feed n lines Print and reverse feed n linesReverse feed n dots Horizontal tabSet column Set absolute starting positionSet vertical line spacing to 1/6 inch Set vertical line spacing Programming commands 49Set horizontal tab positions Value of kCompatibility information A776 receipt vs. A756 receipt Set relative print positionSelect justification Programming commands 51Set left margin GS L nL nHSet horizontal and vertical minimum motion units Default of ySet printing area width GS P x ySelect double-wide characters Text characteristics commandsSelect single-wide characters Select 90 degree counter-clockwise rotated printSelect pitch column width Standard mode the horizontal motion unit is usedSelects the character pitch for a print line Set right-side character spacingSelect 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 = This command is ignored if n is out of the specified range Select or cancel underline modeProgramming commands 57 Copy character set from ROM to RAMCancel user-defined character Select or cancel emphasized modeSelect double-strike Cancel double-strike Printer output is the same as in emphasized modeSelect or cancel italic print Select international character setSelect or cancel upside-down print mode Select or cancel 90 degree clockwise rotated printCharacter sets cannot be mixed on the same line Select character code tableSelect 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 ID number Text strike-through mode ColorPOSCB hex Kanji CE hex Korean Select font style numberDownload font Save font ID number as default font at power upDownload font list Print downloaded font informationDefine extended user-defined character set Programming commands 65Select active user-defined character set Values and rangesSelect bit image mode Value of m Mode No. of dots vertical No. of dots horizontalDownload BMP logo Dot single-density N1 + 256 × n2 Advanced raster graphics is not available in page modePrint advanced raster graphics Value of rPrint Flash Logo Select double-density graphicsDefine Flash Logos XHxL 1024 max printable xHxL = 72 = 576 dots wide YHyLPrint downloaded bit image Define downloaded bit imagePrint raster color graphics ColorPOS Print raster monochrome graphics ColorPOSDownload logo image ColorPOS Max n1 =Monochrome shade mode ColorPOS Color shade mode ColorPOSProgramming commands 71 Logo print with color plane swap ColorPOS Merge watermark mode ColorPOSApply shading to logo ColorPOS Hexadecimal 1D 89 n m DecimalForm 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 ColorPOSLogo print with knife cut See Print downloaded bit image commandSet temporary max target speed Decimal ValuesSet LogoEZ colorization ColorPOS Programming commands 77Example Value of f= 3 link margin message printing Programming commands 79 Modify the settings within the utilityLogoEZ utility default settings Set LogoEZ attribute mapping ColorPOSAttributes 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 Transmit peripheral device status Status command introductionHexadecimal 1B 75 Decimal Value of returned byte BitTransmit paper sensor status Programming commands 83Transmit printer ID ESCPrinter ID Specification ID Hexadecimal Transmits the printer ID specified by n as follows= 4 Logo Definition Bit Off/On Hex Decimal Function Preforms the remote diagnostic function specified by n Transmit printer ID, remote diagnostics extensionProgramming commands 85 GS I @ nHex Dec Remote diagnostic item Function Programming commands Value of nTransmit status Programming commands 87A776 B780 Programming Guide Send printer software version Real-time commandsPreferred implementation Rules for using real-time commandsAlternate implementation Moving data through the bufferBusy 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 informationUnsolicited status mode USM Batch mode responseRecognizing data from the printer Real time responseSelect pitch of HRI characters Select printing position of HRI charactersSelect bar code height Print bar codeProgramming commands 101 Exceptions Bar codeLength Undercut, default 0, can be set 0 to a-1 Illegal data cancels this commandProgramming commands Bar code Set GS1 DataBar formerly RSS parametersPrint GS1 DataBar formerly RSS, data length specified Programming commands 103Print GS1 DataBar formerly RSS, null terminated TypeGS k Print multiple barcodesProgramming commands 105 Sample symbol descriptionDefaults GS p a b c d e fRelated Information Value Dimension Row height Select bar code widthSets the bar code width to n dots Size Reset to power-on parametersCharacter Size ExceptionsSlip Page Mode Improved Mode configurationsSlip Page Mode Enabled Slip Page Mode Disabled Print and return to standard modeProgramming 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 modeSet absolute vertical print position in page mode Command is effective only in page modeSet relative vertical print position in page mode NL + nH × 256 × vertical or horizontal motion unit inchesSelect or cancel macro definition Contents of the macro can be defined up to 2048 bytesExecute macro Programming commands Formulas Micr commandsRead Micr data and transmit Status Status byte valueTransmit last Micr read Micr parsingDefine parsing format, save in Nvram Define parsing format, do not save permanentlyStatus Two digits returned Error number One digit returnedField separator Country code One digit returnedSample parsing formats Programming commands ESC w p T ‘/ a ‘/ C ‘/ S CR Check serial number Programming commands 119Which writes the two byte word n1n2 to word k in Nvram Loading the exception tableException table entry format Bits within byteProgramming commands 121 Maintaining the exception tableWrite to user data storage Read from non-volatile memory Read from user data storageWrite to non-volatile memory Nvram Select memory type SRAM/flashExpanded flash memory allocation Flash memory user sectors allocationMemory allocation sequence 22 80 31 nL nH Sectors to logo/font area 22 80 32 nL nHProgramming 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 modeReturn segment number status of flash memory Return boot sector firmware part numberMemory sector to download Get firmware CRCReturn main program flash CRC Erase all flash contents except boot sectorErase selected flash sector Download to active flash sectorRestore default settings Reset firmwareSet IP address Set Net MaskSet Gateway Default enabledSet raw Tcpip port Telnet DaemonInactivity timeout Dhcp auto-configurationProgramming commands 131 Keep-alive pingsCalibrate Scanner Imaging CommandsHexadecimal ID B0 Parameters None Value DefinitionConfigure/Change Image Transmission Port Set Top Entry Startup DelaySet Image Format Properties Method Configure Binarization Methods and AttributesProgramming commands 135 Define/Update Application Tag ValuesDecimal Value Definition T6.G4 binary, else 1=Black is ZeroReturn Imager Status Attach Scan Application TagsHexadecimal 1D B6 Parameters None Hexadecimal 1D B7Value Definition Decimal Meaning Real-Time Imager StatusHexadecimal 10 04 Parameters None Bit MeaningReal-Time Cancel Image Transmission Real-Time Error StatusWait for Scan & Optionally Transmit Hexadecimal 10 05 Parameters None Return NoneBit 0 =1 rear image sensor covered Sensors currently covered none = 0 valueBit 1 =1 front image sensor covered Bit 2 =1 image cover openLZW lossless, also used in GIF compressed grayscale Tiff Transmit ImageCcitt T.6 compression binary Tiff Reserved for Jpeg lossyProgramming 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 Free Imager Buffering Free ImageGet Buffered Image List Get Buffered Image AttributesConfigure Max Scan Width & Height Configure Scan OptionsTransmit Printer Type Extended Existing Command Hexadecimal 1D C6 m n Parameters DescriptionList 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 DescriptionsCash Drawer Reset PrinterDocument Clamp Open Self TestDocument Clamp Close Clamp DelayForm Eject DownloadPrint Speed Print Characteristics CommandsBuffered Validate Buffer ClearDH Emulation 151 Character SetUnderline Off Underline PrintDouble-High Off Double-High FontGraphics Graphics CommandsGraphics 5 Dot DH Emulation 153Status 3 Bit Printer Status CommandsTransmitted status is shown in the table Status 6 BitDH 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 Operator Activation of Journal Print and Erase Printing and Erasing the Journal Flash Buffer1F 0A C3 Clear Journal 1F 0A C4 Print JournalReturns one byte of status 1F 0A C5 Return Journal Status1F 0A C6 Return Journal Flash Size Journal flash Buffer usedPage 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.