Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 2 of 16

A760 Two-Color Thermal/Impact Hybrid Printer User Guide: Programming Supplement, pages 9 to 18

Pages 9 to 18 of 154

The original document is the PDF (2.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the TPG A760

Page 9

Revision F January 2010

A760 User Guide: Programming Supplement Chapter 1: About this Supplement

Chapter 1: About this Supplement How to use this supplement This is a supplemental guide providing programming information on CognitiveTPG’s A760 printer. It is written for tech-savvy users who are interested in customizing or adjusting printer functionality and is meant to be used in conjunction with the A760 ColorPOS® Two-Color Thermal Receipt/Impact Hybrid Printer: User Guide. If you experience any difficulties during the programming process or feel unsure of adjustments you have made, contact your CognitiveTPG representative for further assistance.

Where to find the basics If you are looking for information on setup or basic operation, refer to the A760 ColorPOS® User Guide. This supplemental guide assumes that you have the A760 ColorPOS® User Guide handy for reference or are already familiar with the printer.

Where to find advanced technical information This guide contains the most complete information available on programming the printer. If you cannot find what you need here or would like further guidance on how to program the printer, contact an CognitiveTPG representative for assistance. If you are having problems with the physical operation of the printer, the A760 ColorPOS® Service Guide, provides in-depth information on diagnostics and service. The A760 ColorPOS® Service Guide is available to qualified service technicians who have been certified by CognitiveTPG to perform advanced procedures.

Support For more advanced procedures and troubleshooting, you may need to refer to the printer’s service guide or speak to an CognitiveTPG technical professional. Your representative is able to provide you with necessary information. For on-line service, refer to the Web site at www.CognitiveTPG.com or e-mail to: support@cognitivetpg.com.

9

Page 10

10

A760 User Guide: Programming Supplement Chapter 1: About this Supplement

Revision F January 2010

Page 11

Revision F January 2010

A760 User Guide: Programming Supplement

11

Chapter 2: Printer Status, Ethernet and Indicators

Chapter 2: Printer Status, Ethernet and Indicators The A760 printer performs a number of diagnostics that provide useful information about the operating status of the printer. The following diagnostic tests are available. See page 12 and 13 for more information. • The printer can be configured with the following • Startup diagnostics settings and functions through the configuration menu Performed during the printer’s startup cycle. that is printed on the receipt. For more information on • Runtime diagnostics configuring the printer, see A760 User Guide “Printer configuration” page 30 Performed during normal printer operation. • Remote diagnostics Maintained during normal operation and reported in the print test.

Communication interfaces (except Ethernet) Diagnostic modes RS-232C settings Printer emulations/software options Hardware options

Startup Diagnostics When the printer receives power or performs a hardware reset, it automatically performs the startup diagnostics (also known as level 0 diagnostics) during the startup cycle. The following diagnostics are performed: • Turn off motors • Perform boot CRC check of the firmware ROM, test external SRAM, test EEPROM, and test main program CRC Failure causes Startup Diagnostics to stop; the printer beeps and the LED flashes a set number of times, indicating the nature of the failure. The table in the “Indicators” section (page 16) describes the specific tone and LED sequences. • Check if paper is present • Return the knife to the home position Failure causes a fault condition. The table in the “Indicators” section (page 16) describes the specific tone and LED sequences. • Check if receipt cover is closed Failure does not interrupt the startup cycle.

When the startup diagnostics are complete, the printer makes a two-tone beep (low then high frequency), the paper feed button is enabled, and the printer is ready for normal operation. If the printer has not been turned on before, or a new EEPROM has been installed, the default values for the printer functions will be loaded into the EEPROM during startup diagnostics.

Page 12

12

Revision F January 2010

A760 User Guide: Programming Supplement Chapter 2: Printer Status, Ethernet and Indicators

Runtime diagnostics Runtime diagnostics (sometimes called level 2 diagnostics) run during normal printer operation. When the following conditions occur, the printer automatically turns off the appropriate motors and disables printing to prevent damage to the printer: • Paper out • Receipt cover open • Knife unable to home

The LED on the operator panel will signal when these conditions occur as well as indicate what state or mode the printer is in.

• Printhead too hot • Voltages out of range

Remote diagnostics Remote diagnostics (sometimes called level 3 diagnostics) keeps track of the following tallies and prints them on the receipt during the print test. See the sample test printout on the next page. These tallies can be used to determine the printer’s state of health. • Model number

• Number of hours the printer has been on

• Serial number

• Number of flash cycles

• CRC number

• Number of cutter jams

• Number of lines printed

• Number of times the cover is opened

• Number of knife cuts

• Maximum temperature reached (See tallies note on the following page.)

Page 13

Revision F January 2010

A760 User Guide: Programming Supplement

13

Chapter 2: Printer Status, Ethernet and Indicators

*** A760 – Diagnostics Form *** Model number Serial number

Paper type can be changed in the configuration menu. Paper types and grades available: Type 0 - Monochrome grades

Kanzaki P-310 Type 1 - Two-color grades

Kanzaki P-310 RB Type 4 - Two-color grades

Kanzaki P-310 BB Type 5 - Two-color grades

Kanzaki P-320 RB See page 48 and Programming guide for more information.

When the printer is configured for USB and the native USB solution driver is used, this location will show either: “USB Driver Type: TPG, Inc.” or “USB Driver Type: Printer Class”. If the RS-232C, USB emulation solution driver is used, nothing is printed here. See User Guide, Appendix A.

Boot Firmware Revision CRC P/N Flash Firmware Revision CRC P/N H/W parameters Flash Memoriy Size Flash Logos/Fonts Flash User Storage SRAM Size Head setting Paper Type setting Color Density Adj Print Density (Mono) Max Speed Max Power Alternate Reset Knife Paper Low Sensor MICR MICR Dual Pass MICR DC offset Check Flip

: :

A760-1125 A012451679

: : :

V1.03 FFDE 189-7600118A

: : :

V1.03 7196 189-7600117A

: : : : : : : : : : : : : : : : :

1 Mbyte 320 kbytes 0 kbytes 256 kbytes D Type 1, Version 0 100% 100% 100 mm/sec 55 W Disabled Enabled Enabled Enabled Disabled 80 Enabled

Comm. Interface RX Buffer Size Interface type Parameters Baud Rate Data Bits Stop Bit Parity Flow Control Reception Errors Alternative DTR/DSR USB Driver Type

: :

4096 RS232/USB

: : : : : : : :

115200 8 1 NONE DTR/DSR Ignore Disabled RS232 Emulation

Resident Code Pages

:

Available Paper Types

:

437, 850, 852. 858 860, 863, 865, 866 1252, 862, 737

Logo(s) defined User Char(s) defined

: :

*** A760 – Printer Config Menu *** This config menu allows you to set general printer parameters Sub-menus are entered and selections are made using the Paper Feed Button – short click : Feed Button is quickly depressed then released – long click : Feed button is held down for more than 1 second then released CAUTION!! The settings are predetermined in factory and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. ****************

MAIN MENU ************************************** **************************************

Select a sub-menu : -> – EXIT -> – Print Current Configuration -> – Set Communication Interface -> – Set Diagnostics Modes – Set Emulation/Software Options -> -> – Set Hardware Options -> – Set Paper Type

1 click 2 clicks 3 clicks 4 clicks 5 clicks 6 clicks 7 clicks

Enter code, then hold Button DOWN at least 1 second to validate

00.00 01.00 05.00 YES NO

To enter Printer Config Menu : 1) Flip DIP switch #1 up 2) Reset the printer, while holding the Paper Feed button down

Print test and configuration menu sample will vary per model or printer configuration. (Shown approximately 60% of size.) For more information about

See this section

Accessing the remote diagnostic tallies

“Command descriptions” in Chapter 4: Programming commands (Status commands: Transmit printer ID, remote diagnostics extension, Hexadecimal 1D 49 40 n)

Page 14

14

A760 User Guide: Programming Supplement

Revision F January 2010

Chapter 2: Printer Status, Ethernet and Indicators

Ethernet terminology and default setup For the printer to operate with Ethernet, a series of commands must be set within the printer. These commands can only be set through the host computer and are not configurable through the printer configuration menu. See page 20 for the Ethernet setup commands list and page 135+ for command descriptions. Default setup instructions and sample Ethernet diagnostic printout are on the following page. Note the differences between an Ethernet and a standard RS-232C printout.

Ethernet Terminology Before making command settings, review the following description of terms to fully understand their intended meaning. MAC address a unique hexadecimal serial number assigned to each Ethernet network device to identify it on the network. Each A760 communication board gets a unique number from CognitiveTPG’s assigned range of numbers. CognitiveTPG numbers start with: 00:E0:70. IP address a unique number that identifies each node on a network and to specify routing information. Each node must be assigned a unique IP address. The address is made up of two distinct parts: a network ID, which identifies the network; and a host ID, which is typically assigned by the administrator. These addresses are typically represented in dotted-decimal notation, such as 138.58.11.27. The default setting is: 192.0.0.192 Net mask a series of bits designed to “mask” certain portions of an IP address and is used primarily for subnetting. The standard netmask for a Class C network is 255.255.255.0, with the last octet (.0) directing the host to look there for the machine number. The rest (225) is the network number. The default setting is 0.0.0.0 Gateway a hardware or software set-up that translates between two dissimilar protocols. A gateway, even when the printer is on another subnet, is not always needed. The printer initiates no connection and obtains the gateway address from the host packets. The default setting is 0.0.0.0 (none) LP Daemon an Ethernet protocol. The LP Daemon listens on port 515. Default is LP Daemon disabled. Telnet Daemon a protocol for remote computing on the Internet. It allows a computer to act as a remote terminal on another machine, anywhere on the Internet. This means that when you telnet to a particular host and port, the remote computer (which must have a telnet server) accepts input directly from your computer (which must have a telnet client) and output for your session is directed to your screen. The telnet server listens on port 23. The default setting is enabled. Raw TCP/IP Port enables the printer to listen for raw tcpip communications. Specifying this to zero will disable raw tcpip connections. Default value is 9001 enabled.

BootP a TCP/IP network protocol that lets network nodes request configuration information from a BOOTP “server” node. Use BootP to obtain the IP address at power-up. Default setting is disabled. DHCP allows “leasing” of IP address for a limited time. If no IP address is found at start-up, the printer waits for two more minutes. If no address is found after two minutes DHCP will automatically set the default IP address. Default: enabled

Page 15

Revision F January 2010

A760 User Guide: Programming Supplement

15

Chapter 2: Printer Status, Ethernet and Indicators

Ethernet Default Setup To return the printer to the default settings, put the printer in the boot mode and hold down the feed switch until you hear the high-low-high tones (about 10 seconds). The default settings are: Bootp Disabled DHCP Enabled Default IP 192.0.0.192 (in use after 2 minute Bootp time-out) Net mask of 0.0.0.0 (causes default mask of selected IP to be used) LP Daemon disabled Telnet Daemon enabled Raw TCPIP Port 9001 active

*** A760 – Diagnostics Form *** Model number Serial number Boot Firmware Revision CRC P/N Flash Firmware Revision CRC P/N H/W parameters Flash Memoriy Size Flash Logos/Fonts Flash User Storage SRAM Size Head setting Paper Type setting Color Density Adj Print Density (Mono) Max Speed Max Power Alternate Reset Knife Paper Low Sensor MICR MICR Dual Pass MICR DC offset Check Flip

: A760-1125 : A012451679 : V1.03 : FFDE : 189-7600118A : V1.03 : 7196 : 189-7600117A : 1 Mbyte : 320 kbytes : 0 kbytes : 256 kbytes : D : Type 1, Version 0 : 100% : 100% : 100 mm/sec : 55 W : Disabled : Enabled : Enabled : Enabled : Disabled : 80 : Enabled

Comm. Interface RX Buffer Size : 4096 Interface type : RS232/USB Parameters Baud Rate : 115200 Data Bits : 8 Stop Bit : 1 Parity : NONE Flow Control : DTR/DSR Reception Errors : Ignore Alternative DTR/DSR : Disabled USB Driver Type : RS232 Emulation Resident Code Pages Available Paper Types Logo(s) defined User Char(s) defined

: 437, 850, 852. 858 860, 863, 865, 866 1252, 862, 737 : 00.00 01.00 05.00 : YES : NO

To enter Printer Config Menu : 1) Flip DIP switch #1 up 2) Reset the printer, while holding the Paper Feed button down

Whenever the printer is attempting to locate its IP address via Bootp or DNCP, or has the default IP address in use, the IP address can be set by pinging the printer. Do this by using the arp command to set a static MAC to IP mapping on your host. Then ping the printer by using the ping command. This will set the IP address to the address used in the ping command and stored for future use. The printer can also be configured by letting the Bootp time-out using the default IP address (using the default IP address) when the printer is connected to a host on an isolated network. Setup commands can then be sent to the printer via tcpip port 9001. Refer to the “Ethernet setup commands”, page 20.

*** A760 – Printer Config Menu *** This config menu allows you to set general printer parameters Sub-menus are entered and selections are made using the Paper Feed Button – short click : Feed Button is quickly depressed then released – long click : Feed button is held down for more than 1 second then released CAUTION!! The settings are predetermined in factory and should generally not be changed. If you must change the settings do so carefully to avoid changing other functions. ****************

MAIN MENU ************************************** ************************************** Select a sub-menu : -> – EXIT – Print Current Configuration -> – Set Communication Interface -> -> – Set Diagnostics Modes – Set Emulation/Software Options -> -> – Set Hardware Options -> – Set Paper Type

1 click 2 clicks 3 clicks 4 clicks 5 clicks 6 clicks 7 clicks

Enter code, then hold Button DOWN at least 1 second to validate

Sample diagnostic printout of an Ethernet printer Highlighted area shows Ethernet settings. These settings can not be changed through the configuration menu and must be set by sending commands from the host. See commands, page 20.

Page 16

16

Revision F January 2010

A760 User Guide: Programming Supplement Chapter 2: Printer Status, Ethernet and Indicators

Indicators The printer communicates various conditions both visually, with two green LEDs or audibly, with a series of tones or beeps. The following table lists these indicators.

Round green on-line, paper status,error LED (next to paper feed button) Indicator

Sequence

Condition

LED Continuous, flashing quickly

Paper out Cover off Knife unable to home

LED Continuous, flashing slowly

Paper is low (if paper low sensor is installed) Printhead too hot Voltages out of range

Tone

Two-tone beep (low frequency, high frequency)

Startup diagnostics completed successfully

LED and Tone

Single beep Single LED flash

Boot CRC test failure

LED and Tone

Double beep Double LED flash

SRAM test failure

LED and Tone

Triple beep Triple LED flash

EEPROM test failure

LED and Tone

Four beeps Four LED flash

Dynamic memory initialization failure

LED and Tone

Two-Tone beep (high frequency, low frequency) Continuous flashing of LED

Main program CRC test failure Or DIP switch is in on position indicating flash download mode

Rectangular green slip-in LED (on slip table) Indicator

Sequence

Condition

LED

Off

No check or form inserted or are incorrectly inserted

LED

On (continuous)

Check or form properly inserted

For more information about See this section Error conditions and correcting them

“ Troubleshooting the printer” on page 41, in Chapter 4: Using the Printer, in the A760 User Guide

The printer is also able to communicate its status to the host application if the application has been programmed to receive this information. For more information about See this section Communication of printer status to host application

“Command descriptions” in Chapter 4: Programming commands

Page 17

Revision F January 2010

A760 User Guide: Programming Supplement

17

Chapter 3: Programming the Printer

Chapter 3: Programming the Printer Overview of commands Commands control all operations and functions of the printer. This includes selecting the size and placement of characters and graphics on the receipt or the slip and feeding and cutting the paper. The programming commands have been organized, in order of hexadecimal code within functional groups. For this reason, “related” commands may not be listed adjacent to one another. The operation of various printers may be emulated by the commands, including the following: • A760 native • A758 emulation • A756 emulation The A760’s standard command set allows it to work with software written for CognitiveTPG or other POS compliant printers. Any of the commands may be used in any combination to program a host computer to communicate with the printer (unless otherwise noted).

For Ethernet use a specific set of commands must be set for the printer to operate properly. These commands are listed together as a chart on page 20 and individually within the master commands listings. Some commands listed and described here may not be implemented and are identified as “not implemented.” If received, they are ignored and not sent to the print buffer as data. Any non-legal commands have their parameter sent to the print buffer as data.

Comparison to A756 The following table details the list of commands whose behavior differs among the A756, A758, and A760 because of the physical differences of a 6 dots/mm head (A756) versus an 8 dots/mm head (A758 and A760). Command Description

Difference between previous product and new product emulation mode.

15 n Feed n dot rows

This command will move the paper on the receipt in n/203 inch steps instead of n/152 inch steps.

16 n Add n extra dot rows

The dot rows will be measured in n/203 inches versus n/152 inches.

1B 20 n Set right-side character spacing

This command sets the right side spacing to “n” horizontal motion units. By default, these units are in terms of 1/203 inches versus 1/152 inches.

1B 24 n1 n2 Set absolute starting position

For graphics commands, the position is scaled to best match A756. In text mode, the equivalent character position is calculated.

1B 26 s c1 c2 n1 d1...nn dn] Define user-defined character set

Since the dots on the A760 printhead are smaller, user defined characters that were used on the previous printers will appear smaller on the A760 printer.

1B 2A m n1 n2 d1...dn Select bit image mode

In A756 emulation mode, graphics are scaled to best match the size of the graphic in the A756 printer.

continued…

Page 18

18

A760 User Guide: Programming Supplement

Revision F January 2010

Chapter 3: Programming the Printer Command Description

Difference between previous product and new product emulation mode.

1B 33 n Set line spacing

This command uses n in terms of n/360 inches. Since the A756 had a fundamental step of 1/152 inch and the A760 has a fundamental step of 1/203 inch, the actual line spacing will not exactly match the requested spacing.

1B 4A n Print and feed paper

This command uses n in terms of n/360 inches. Since the A756 had a fundamental step of 1/152 inch and the A760 has a fundamental step of 1/203 inch, the actual line spacing will not exactly match the requested spacing.

1B 59 n1 n2 d1...dn Select double-density graphics

In A756 emulation mode, the printer scales the graphics to provide the best match.

1B 5C n1 n2 Set relative print position

The parameter to this command is in units of dots. However, the command moves and aligns to character positions. In A756 emulation mode, this command calculates how many character positions to move based on the A756 character width in dots (10) versus the A760 (13).

1B 61 n Select justification

This command does true dot resolution alignment for centering versus character-aligned centering.

1D 2A n1 n2 d1...dn] Define downloaded bit image

In A756 emulation mode, this command scales the incoming data to provide a best match to the size of the image as it printed on A756.

1D 2F m Print downloaded bit image

In A756 emulation mode, this command scales the incoming data to provide a best match to the size of the image as it printed on A756.