Cognitive Solutions B780, A776 manual Read from user data storage, Read from non-volatile memory

Page 134

122 Chapter 5: Programming commands

Read from user data storage

ASCII

ESC 4 m a0 a1 a2

Hexadecimal

1B 34 m a0 a1 a2

Decimal

27 52 m a0 a1 a2

Value of m:

0 – 255

Reads m bytes of data from the user data storage flash page at the address specified. Returns m bytes to the application, followed by a carriage return (0Dh).

The high order byte of the address (a0) ranges from 0 to n2–1, with n2 specified in the flash allocation command. If the flash allocation command has been used, the a0 = 0 always.

Read from non-volatile memory

ASCII

ESC j k

Hexadecimal

1B 6A k

Decimal

27

106 k

Range of k:

20

– 63 (decimal)

Reads a two-byte word from location k in the history EEROM. The printer returns the word at the next available opportunity.

Write to non-volatile memory (NVRAM)

ASCII

ESC s n1 n2 k

Hexadecimal

1B 73 n1 n2 k

Decimal

27 115 n1 n2 k

Value of n1:

1st Byte

Value of n2:

2nd Byte

Range of k:

20 – 63 (decimal locations)

Writes the two-byte word, n1 n2, to location k in history EEROM.

Select memory type (SRAM/flash)

Use this memory to save logos or user-defined fonts.

ASCII

GS “ n

Hexadecimal

1D 22 n

Decimal

29 34 n

Value of n:

48 – 53

n = 48 (ASCII n = 0) HEX 30

Loads active logo to RAM only. This is used to print a special logo but not have it take up flash memory. A logo defined following this command is not preserved over a power cycle. The printer disables interrupts while writing to flash. Any command that cause data to be written to flash should be followed by a 50 Msec delay to allow significant time for the write operation.

n = 49 (ASCII n = 1) HEX 31

Loads active logo to flash command is stored in flash

memory. This is the default condition for logo flash storage. A logo defined following this memory.

n = 50 (ASCII n = 2) HEX 32

Loads user-defined characters to RAM only. This is the default condition for user-defined character storage. Any user- defined characters defined following this command are not preserved over a power cycle.

Continued . . .

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Image 134
Contents Programming Guide Printer without Imaging Printer with ImagingPage Contents Contents A776 Configurable Slip Commands B780 Configuration CommandsBar codes Mode Macros Micr check reader commands User data storageContents Print and paper feed Convert 6-dots/mm bitmap to 8-dots/mm bitmap 113 100106 114129 121126 132143 140142 144154 152153 156Contents Where to find advanced technical information How to use this GuideWhere to find the basics SupportAbout this Guide Remote diagnostics Startup DiagnosticsRuntime diagnostics Printer Status, Ethernet and IndicatorsEthernet terms and default setup Ethernet TerminologyEthernet Default Setup     Green slip-in light in front of the paper feed button IndicatorsIndicator Sequence Condition For more information about See this sectionA760 wide slip station 66 columns Migrating from existing CognitiveTPG printersA758 wide slip station 66 columns Command Description Difference between the A756 A776 24 n1 n2Moving from the A756 to the A776 Emulation commands NL nHA776 Emulation Commands A776 Configuration CommandsSelect A776 Narrow Slip 51-column Compressed Print Option Select A776 Delete Slip Trailing Spaces OptionSelect A776 21 and 25-line Rotated Slip Print Options Select Cover Open OptionSelect A776 Slip Eject Option Set Page Mode Margin Mechanical AdjustmentSet Page Mode Option to Trim Full Dots Select 45/60 Column Slip OptionA776 Slip Left Margin and Print Width A776 Slip Character SpacingA776 Slip Minimum Units A776 Slip Print JustificationMoving from A756/A758 to A776 Two-color Commands AsciiLogoEZ colorization commands DiscriptionMigrating from the A721 7221 printer to the B780 B780 Emulation CommandsB780 Configuration Commands Select DH Pitch and Rotated Text Columns Select Number of Lines of Validation for B780 Select Slip Right Margin in Page ModeSelect Two Sensor Option for B780 Select B780 Map User Character Option for B780Select Concurrent Print to Receipt for B780 Select B780 Map Logo Option for B780Select Cover Open Option for B780 Select B780 with A776 Slip FunctionsSet Page Mode Option to Trim Full Dots Migrating to a new printer Overview of Printing Characteristics Programming the Printer 23Rotated Scaled Shading Receipt character specificationCharacter appearance StandardProgramming the Printer 25 Print zonesPrint zones for receipt station 80 mm paper 1B 64 n command, with n = Print zones for slip stationProgramming the Printer 27 Print Zones for Slip, ValidationLines Inches Rotated printing commands Printer actions Commands listed by functionCommands in bold are ColorPOS commands Vertical and horizontal positioning Text characteristicsPrint and paper feed Graphics  31Status Batch modeUnsolicited status mode Code hexadecimal Command Real-timeMode Micr check reader commandsBar codes MacrosFlash download Ethernet setup commandsUser data storage 1D 97 m n User storage statusImage Commands Programming commands 35Clear printer Command conventionsCommand descriptions Perform partial knife cut Close formOpen form Generate toneInitialize printer Select peripheral device for multi-dropSelects the device to which the host computer sends data Set slip paper eject lengthSelect paper sensors to output paper end signals Select receipt or slip for setting line spacingThis command is ignored if n is out of range Programming commands 39Select sensors to stop printing Enable or disable panel buttonDefault Bit of n Function Set slip paper waiting timeRelease Paper Generate pulse to open cash drawerSends a pulse to open the cash drawer Set current colorIf m is out of the specified range, the command is ignored After a power loss or reset the default value m=0 is resetSelect cut mode and cut paper Select slip stationSet Interpretation of Set current color Programming commands 43Select receipt station Hexadecimal 1E DecimalPrint and eject slip Print test formPrint and feed paper one line Print and carriage returnFeed n dot rows Programming commands 45Range of n Default Add n extra dot rowsPrint and reverse feed paper PrintPrint and feed paper Print and feed n linesReverse feed n dots Print and reverse feed n linesReverse feed n lines Horizontal tabSet vertical line spacing to 1/6 inch Set columnSet absolute starting position Set horizontal tab positions Programming commands 49Set vertical line spacing Value of kSet relative print position Compatibility information A776 receipt vs. A756 receiptSet left margin Programming commands 51Select justification GS L nL nHSet printing area width Default of ySet horizontal and vertical minimum motion units GS P x ySelect single-wide characters Text characteristics commandsSelect double-wide characters Select 90 degree counter-clockwise rotated printSelects the character pitch for a print line Standard mode the horizontal motion unit is usedSelect pitch column width Set right-side character spacingCharacter sets cannot be used together on the same line Select print modeSelect or cancel user-defined character set Slip s = Define user-defined character setValues and ranges Receipt Programming commands 57 Select or cancel underline modeThis command is ignored if n is out of the specified range Copy character set from ROM to RAMSelect double-strike Cancel user-defined characterSelect or cancel emphasized mode Select or cancel italic print Printer output is the same as in emphasized modeCancel double-strike Select international character setCharacter sets cannot be mixed on the same line Select or cancel 90 degree clockwise rotated printSelect or cancel upside-down print mode Select character code tableHex Decimal Height Select or cancel white/black reverse print modeCharacter height selection Set smoothing This command is only valid for the receipt stationReverse color text mode ColorPOS CB hex Kanji CE hex Korean Text strike-through mode ColorPOSSelect font ID number Select font style numberDownload font list Save font ID number as default font at power upDownload font Print downloaded font informationSelect active user-defined character set Programming commands 65Define extended user-defined character set Values and rangesDownload BMP logo Select bit image modeValue of m Mode No. of dots vertical No. of dots horizontal Print advanced raster graphics Advanced raster graphics is not available in page modeDot single-density N1 + 256 × n2 Value of rDefine Flash Logos Select double-density graphicsPrint Flash Logo XHxL 1024 max printable xHxL = 72 = 576 dots wide YHyLDefine downloaded bit image Print downloaded bit imageDownload logo image ColorPOS Print raster monochrome graphics ColorPOSPrint raster color graphics ColorPOS Max n1 =Programming commands 71 Monochrome shade mode ColorPOSColor shade mode ColorPOS Apply shading to logo ColorPOS Merge watermark mode ColorPOSLogo print with color plane swap ColorPOS Hexadecimal 1D 89 n m DecimalProgramming commands 73 Form and merge real-time surround graphic ColorPOSSave graphics buffer as logo ColorPOS This command is ignored in page modeBackground logo print mode ColorPOS Apply margin message mode ColorPOS Shade and store logo ColorPOSSet temporary max target speed See Print downloaded bit image commandLogo print with knife cut Decimal ValuesExample Programming commands 77Set LogoEZ colorization ColorPOS Value of f= 3 link margin message printing LogoEZ utility default settings Modify the settings within the utilityProgramming commands 79 Set LogoEZ attribute mapping ColorPOSProgramming commands Original attribute mapped table Attributes substituted table Bit onConvert 6-dots/mm bitmap to 8-dots/mm bitmap Enable constant speed logosProgramming commands 81 Related information Hexadecimal 1B 75 Decimal Status command introductionTransmit peripheral device status Value of returned byte BitTransmit printer ID Programming commands 83Transmit paper sensor status ESC= 4 Logo Definition Bit Off/On Hex Decimal Function Printer ID Specification ID HexadecimalTransmits the printer ID specified by n as follows Programming commands 85 Transmit printer ID, remote diagnostics extensionPreforms the remote diagnostic function specified by n GS I @ nProgramming commands Value of n Hex Dec Remote diagnostic item FunctionProgramming commands 87 Transmit statusA776 B780 Programming Guide Real-time commands Send printer software versionAlternate implementation Rules for using real-time commandsPreferred implementation Moving data through the bufferReal-time status transmission Busy line and fault conditionsProgramming commands 91 = Transmit error status Bit Status Hex Decimal Function A776 B780 Programming Guide Real-time request to printer Real-time printer status transmission Real-time commands disableProgramming commands 95 Unsolicited status mode Select or cancel unsolicited status mode USMSecond byte error information Bit Off/On Hex Decimal Status for USMThird byte paper sensor information Fourth byte paper sensor information -- A776Recognizing data from the printer Batch mode responseUnsolicited status mode USM Real time responseSelect bar code height Select printing position of HRI charactersSelect pitch of HRI characters Print bar codeLength Programming commands 101 ExceptionsBar code Programming commands Bar code Illegal data cancels this commandUndercut, default 0, can be set 0 to a-1 Set GS1 DataBar formerly RSS parametersPrint GS1 DataBar formerly RSS, null terminated Programming commands 103Print GS1 DataBar formerly RSS, data length specified TypePrint multiple barcodes GS kDefaults Sample symbol descriptionProgramming commands 105 GS p a b c d e fSets the bar code width to n dots Related Information Value Dimension Row heightSelect bar code width Character Size Reset to power-on parametersSize ExceptionsSlip Page Mode Enabled Mode configurationsSlip Page Mode Improved Slip Page Mode Disabled Print and return to standard modeSelect page mode Programming commands 109Select print direction in page mode Select standard modeThis command is effective only in page mode Set print area in page mode Programming commands 111Set relative vertical print position in page mode Command is effective only in page modeSet absolute vertical print position in page mode NL + nH × 256 × vertical or horizontal motion unit inchesExecute macro Select or cancel macro definitionContents of the macro can be defined up to 2048 bytes Read Micr data and transmit Micr commandsProgramming commands Formulas Status Status byte valueDefine parsing format, save in Nvram Micr parsingTransmit last Micr read Define parsing format, do not save permanentlyField separator Error number One digit returnedStatus Two digits returned Country code One digit returnedSample parsing formats Programming commands ESC w p T ‘/ a ‘/ C ‘/ S CR Programming commands 119 Check serial numberException table entry format Loading the exception tableWhich writes the two byte word n1n2 to word k in Nvram Bits within byteWrite to user data storage Programming commands 121Maintaining the exception table Write to non-volatile memory Nvram Read from user data storageRead from non-volatile memory Select memory type SRAM/flashMemory allocation sequence Flash memory user sectors allocationExpanded flash memory allocation 22 80 31 nL nH Sectors to logo/font area 22 80 32 nL nHValue of n = 49 Ascii n = 1 HEX Programming commands Values and rangesErase user flash sector Programming commands 125 = 50 Ascii n = 2 HEX User storage status ColorPOSDownload mode Hexadecimal 1B 5B 7D Decimal 27 91Memory sector to download Return boot sector firmware part numberReturn segment number status of flash memory Get firmware CRCErase selected flash sector Erase all flash contents except boot sectorReturn main program flash CRC Download to active flash sectorSet IP address Reset firmwareRestore default settings Set Net MaskSet raw Tcpip port Default enabledSet Gateway Telnet DaemonProgramming commands 131 Dhcp auto-configurationInactivity timeout Keep-alive pingsHexadecimal ID B0 Parameters None Imaging CommandsCalibrate Scanner Value DefinitionSet Image Format Properties Configure/Change Image Transmission PortSet Top Entry Startup Delay Configure Binarization Methods and Attributes MethodDecimal Value Definition Define/Update Application Tag ValuesProgramming commands 135 T6.G4 binary, else 1=Black is ZeroHexadecimal 1D B6 Parameters None Attach Scan Application TagsReturn Imager Status Hexadecimal 1D B7Hexadecimal 10 04 Parameters None Real-Time Imager StatusValue Definition Decimal Meaning Bit MeaningWait for Scan & Optionally Transmit Real-Time Error StatusReal-Time Cancel Image Transmission Hexadecimal 10 05 Parameters None Return NoneBit 1 =1 front image sensor covered Sensors currently covered none = 0 valueBit 0 =1 rear image sensor covered Bit 2 =1 image cover openCcitt T.6 compression binary Tiff Transmit ImageLZW lossless, also used in GIF compressed grayscale Tiff Reserved for Jpeg lossyStructure containing the tags and images Programming commands 141Bytes Scanned image Tiff structure length Hexadecimal 1D BA p As in the Image Status Command returnEject from Scanner Get Buffered Image List Free ImageFree Imager Buffering Get Buffered Image AttributesTransmit Printer Type Extended Existing Command Configure Scan OptionsConfigure Max Scan Width & Height Hexadecimal 1D C6 m n Parameters DescriptionDH Emulation 145 List of DH 4700 Emulation CommandsHexadecimal Code Command Name List of DH emulation Commands Hexadecimal Code Command NameList of DH 4700 Command Descriptions Printer Function CommandsDocument Clamp Open Reset PrinterCash Drawer Self TestForm Eject Clamp DelayDocument Clamp Close DownloadBuffered Validate Print Characteristics CommandsPrint Speed Buffer ClearCharacter Set DH Emulation 151Double-High Off Underline PrintUnderline Off Double-High FontGraphics 5 Dot Graphics CommandsGraphics DH Emulation 153Transmitted status is shown in the table Printer Status CommandsStatus 3 Bit Status 6 BitDH Emulation 155 Commands listed by hexadecimal code Appendix a Commands by hexadecimal code157 34 m a0 a1 a2Appendix a Commands by hexadecimal code Code hexadecimal 159 Or …n160 Print raster color graphicsM n o Apply margin message mode X y o p q161 Appendix B Resident Character Sets Code Page 437 USCode page 737 Greek 163Code page 850 Multilingual Code Page 852 Slavic 165Code Page 857 Turkish Code page 858 with Eurosymbol 167Code page 860 Portugese Code page 862 Hebrew 169Code page 863 French Canadian Code page 865 Nordic 171Code page 866 Cyrillic Code page 1252 Windows Latin 173Page There are two methods for activating Electronic Journal 1F 03 18 01 n Auto Journal Mode via Configuration CommandElectronic Journal Storage Journal Flash buffer Exception Conditions in Auto Journal ModeJournal RAM buffer 1F 0A C3 Clear Journal Printing and Erasing the Journal Flash BufferOperator Activation of Journal Print and Erase 1F 0A C4 Print Journal1F 0A C6 Return Journal Flash Size 1F 0A C5 Return Journal StatusReturns one byte of status 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.