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 14

A795 Two-Color Thermal Receipt Printer User Guide: Programming Supplement, pages 11 to 20

Pages 11 to 20 of 136

The original document is the PDF (980 KB). 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 Axiohm A795

Page 11

Revision E May 2005

A795 User Guide: Programming Supplement

11

Chapter 2: Diagnostics and Configuration

Chapter 2: Diagnostics and Configuration The A795 printer performs a number of diagnostics that provide useful information about the operating status of the printer. The following diagnostic tests are available. See pages 11 and 12 for more information. • Start-up diagnostics Performed during the printer’s start-up cycle. • Runtime diagnostics Performed during normal printer operation. • Remote diagnostics Maintained during normal operation and reported in the print test.

• The printer can be configured with the following settings and functions through the configuration menu that is printed on the receipt. For more information on configuring the printer, see “Printer configuration” on page 15. Communication interfaces Diagnostic modes RS-232C settings Printer emulations/software options Hardware options

Start-up 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 start-up 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 Start-up 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 14) 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 14) describes the specific tone and LED sequences. • Check if receipt cover is closed Failure does not interrupt the start-up cycle.

When the start-up 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 start-up diagnostics.

Page 12

12

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

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

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

*** A795 – Diagnostics Form *** Model number Serial number

: :

A795-2119 A012251287

Boot Firmware Revision CRC P/N Flash Firmware Revision CRC P/N

: : :

V1.02 76EB 189-1076076A

: : :

V1.13 AB62 189-7950290A

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 Paper Width Max Power Knife Partial Cut Paper Low Sensor

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

2 Mbytes 1024 kbytes 0 kbytes 256 kbytes D Type 5, Version 0 100% 100% 100 mm/sec 80 mm 55 W Enabled 135 steps Disabled

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

Paper type can be changed in the configuration menu. Paper types and grades available:

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

: :

4096 RS232/USB

Type 0 - Monochrome grades Kanzaki P-310 Type 1 - Two-color grades Kanzaki P-310 RB (Red/Black) Type 4 - Two-color grades Kanzaki P-320 BB (Blue/Black) Type 5 - Two-color grades Kanzaki P-320 RB (Red/Black) See “printer configuration” section for more information.

: : : : : : : :

115200 8 1 NONE DTR/DSR Ignore Disabled RS232 Emulation

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”.

Resident Code Pages

:

Available Paper Types

:

437, 850, 852, 858 860, 863, 865, 866 1252, 862, 737 00.00 01.00 05.00 01.90 01.92 01.93

Logo(s) defined User Char(s) defined

: :

If the RS-232C, USB emulation solution driver is used, nothing is printed here. See User Guide, Appendix A.

Yes NO

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

Print test and configuration menu samples 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)

13

Page 14

14

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

Indicators The printer communicates various conditions both visually, with the green LED or audibly, with a series of tones or beeps. The following table lists these indicators. 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)

Start-up 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

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

For more information about

See this section

Error conditions and correcting them

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

Communication of printer “Command descriptions” status to the host application in Chapter 4: Programming commands, page 38

Page 15

Revision E May 2005

A795 User Guide: Programming Supplement

15

Chapter 2: Diagnostics and Configuration

Printer configuration Printers are shipped with all the functions and parameters preset at the factory. Settings for various printer parameters can be changed. This menu is printed on the receipt and scrolls through instructions for selecting and changing any of the functions or parameters. Note: When changing the paper type you will either need to send the “Set paper type” (1D 81 mn) command or make a selection in the configuration menu. See pages 16 and 43. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. The following functions and parameters can be changed in the scrolling configuration menu (except as noted): • Communication Interface

• Printer settings and functions Emulation/Software options submenu Printer ID mode

RS-232C serial interface (9-pin)

Default lines per inch

RS-232C serial interface (25-pin)

Carriage return usage

Universal serial bus (USB)

Default font

• RS-232C serial interface settings

Font size

Baud rate

Hardware options submenu

Data bits (can not be changed)

Color density

Stop bits (can not be changed)

Monochrome print density

Parity (can not be changed)

Power supply wattage (max power)

Hardware (DTR/DSR) or software (XON/XOFF) flow control

Knife option

Data reception errors Alternate DTR/DSR • Diagnostic Modes Normal

Partial cut distance Paper low sensor Paper width Printhead setting

Datascope Receipt test • Printer Emulations A795 native mode A794 emulation A793 emulation LEGACY emulation

For more information about

See this section

Using the configuration menu “Configuring the printer” to configure the printer on page 16.

Page 16

16

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

Configuring the printer The configuration menu allows you to select functions or change various settings for the printer. Instructions printed on the receipt guide you through the processes. Caution: Be extremely careful changing any of the printer settings to avoid changing other settings that might affect the performance of the printer. Switch 1 & 2 are shown in the normal OFF position Off On

1 2 DIP Switches

Connector Cover Open

1 Open the connector*** cover. A795 - Diagnostics Form *** 2 Set DIP Switch 1 to ON position (down). DIP Switch 2 should be in the OFF position (up).

********* MAIN MENU ********** ******************************* Select a sub-menu : - EXIT -> 1 click - Print Current Configuration -> 2 clicks - Set Communication Interface -> 3 clicks - Set Diagnostics Modes -> 4 clicks - Set Emulation/Software Options -> 5 clicks - Set Hardware Options -> 9 clicks Enter code, than hold Button DOWN at least 1 second to validate

• The printer pauses and waits for a main menu selection to be made; short clicks are used, except when answering “Yes” or validating selection (see sample printout). 5 To communicate with the printer, you will press the paper feed button using either short or long clicks. Use a long click (more than one second) for “yes” and a short click for a “no.” Follow the printed instructions to make selections. 3 Make sure receipt paper is loaded in the printer before proceeding. (For loading instructions, see the A795 User Guide, page 14.) 4 Cycle DIP switch 2 down (reset ON position), then up (normal OFF position). - or Press and hold the paper feed button (4) while closing the receipt cover (5), continually holding the paper feed button until the configuration printout begins. • The printer beeps, prints the diagnostics form and the configuration main menu.

6 Continue through your menu selections until you are asked, “Save New Parameters?”. Select “Yes” or “No.” a If you wish to save, select “Yes,” then return DIP switch 1 to the OFF Postion (up). b. Open the receipt cover. Press and hold the paper feed button while closing the receipt cover. • The diagnostic printout verifies your new settings. 7 If you would like to continue configuring the printer, select “No.” The printer then returns to the configuration menu, where you can set parameters again.

Page 17

Revision E May 2005

A795 User Guide: Programming Supplement Chapter 2: Diagnostics and Configuration

Communication interface To change the communication interface settings, enter the configuration menu, select “Set Communication Interface” from the main menu and answer “Yes” to “SET INTERFACE TYPE?” printed on the receipt. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. Press the paper feed button as instructed to select the communication interface you want.

• Communication interface • RS-232C interface:

1 click

• USB:

Auto when no RS-232C activity

Note: For USB installation, see Appendix A, USB Driver Installation, page 39.

RS-232C serial interface settings To change the RS-232C serial interface settings, enter the configuration menu, select “Set Communication Interface” from the main menu and answer “No” to “SET INTERFACE TYPE?” printed on the receipt. This will take you to the instructions for selecting the RS-232C settings. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. Press the paper feed button as instructed on the configuration menu to select the RS-232C settings you want to change. • Baud rate

• Number of data bits (can not be changed)

115200 baud

• Stop bits (can not be changed)

57600 baud

• Parity (can not be changed)

38400 baud

• Hardware flow control

19200 baud

Software (XON/XOFF)

9600 baud

Hardware (DTR/DSR)

4800 baud

• Data reception errors

2400 baud

Ignore errors

1200 baud

Print “?” • Alternate DTR/DSR Enabled Disabled Note: Press the paper feed button for at least one second to validate the selection. For more information about See this section Setting the RS-232C Serial interface settings

“Configuring the printer” on page 16.

17

Page 18

18

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

Diagnostic modes To change the diagnostic modes enter the configuration menu, select “Set Diagnostic Modes” from the main menu and select one of the following modes: • Normal: normal operating mode of the printer. • Datascope: the receipt printer prints incoming commands and data in hexadecimal format to help troubleshoot communication problems.

• Receipt test: the receipt printer prints two code pages to verify proper printing of the receipt. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. See Configuring the printer,” page 16 for instructions on how to enter the configuration menu.

Enable or disable data scope mode The data scope mode test prints a hexadecimal dump of all data sent to the printer: “1” prints as hexadecimal 31, “A” as hexadecimal 41 and so on. This helps troubleshoot communication problems and runs during a normal application (after being enabled through printer configuration). Note: Data scope mode is usually considered a level 1 diagnostic test. Data scope mode is enabled and disabled by selecting the “Diagnostic Modes” sub-menu of the configuration menu.

Press the paper feed button as instructed on the “Diagnostic Modes Menu” to enable or disable the data scope mode test. • Off, normal mode (Data scope mode disabled) • Data scope mode (enabled) Note: Press the paper feed button for at least one second to validate the selection.

To run the data scope mode: 1 After you have enabled the data scope mode, exit the configuration menu. 2 Run a transaction from the host computer. All commands and data sent from the host computer will be printed as hexadecimal characters as shown in the illustration.

To exit the data scope mode: 1 Enter the configuration menu again. See “Configuring the printer,” page 16. 2 Disable the data scope mode. 3 Exit the configuration menu. The printer is on-line and can communicate normally with the host computer. For more information about See this section Enabling the data scope mode

“Configuring the printer” on page 16.

Page 19

Revision E May 2005

A795 User Guide: Programming Supplement

19

Chapter 2: Diagnostics and Configuration

Enable or disable receipt test mode The receipt test mode verifies proper receipt printing. Receipt test is enabled and disabled by selecting the “Diagnostic Modes” sub-menu of the configuration menu. See “Configuring the printer”, page 16 for instructions on how to enter the configuration menu.

To run the Receipt test mode:

To exit the receipt test mode:

1 Enable the receipt test mode in the configuration menu.

1 Enter the configuration menu again. (See “Configuring the printer”, page 16.)

2 Exit the configuration menu.

2 Disable the receipt test mode.

3 Push the paper feed button. The receipt station prints two code pages and cuts the receipt.

3 Exit the configuration menu.

4 To repeat this test, push the paper feed button again.

The printer is on-line and can again communicate normally with the host computer.

Printer emulations To change the printer emulations settings, enter the configuration menu, select “Emulation/ Software Options” from the main menu and answer “Yes” to “Set the printer emulations?” printed on the receipt. This will take you to the instructions for setting the printer emulation. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. Press the paper feed button as instructed to select the printer emulation you want. •

A795 native mode

•

A794 emulation

•

A793 emulation

•

LEGACY emulation

Note: The A793, A794 and Application Compatible Escape Command emulations do not recognize the ColorPOS ® commands. Note: Press the paper feed button for at least one second to validate the selection. For more information about See this section Setting the printer emulation “Configuring the Printer”, page 16

Page 20

20

A795 User Guide: Programming Supplement

Revision E May 2005

Chapter 2: Diagnostics and Configuration

Printer settings and functions To change the printer settings and functions, enter the configuration menu, select the submenu from the main menu and answer the questions printed on the receipt until you come to the instructions for selecting the printer settings. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer. Press the paper feed button as instructed to select the printer settings you want.

Select the emulation/software options sub-menu to set: • Printer ID mode This function is used to determine what printer ID value is returned in response to a Transmit printer ID command (1D 49 n) when the printer is in A794 emulation mode. The printer can be configured to send back the ID of the A795, A794, A793 or Application Compatible Escape Command systems. • Default lines per inch This function allows you to set the default for lines per inch to: • 8.13 lines per inch • 7.52 lines per inch • 6.77 lines per inch • 6.00 lines per inch • Carriage return usage

This function allows the printer to ignore or use the carriage return (hexadecimal 0D) command depending on the application. Some applications expect the command to be ignored while others use the command as a print command. • Default font Sets the default for monochrome, two-color, and LEGACY emulations. • Font size Allows user to set font size for the emulation being used.