Using the hex dump mode – Printek FormsPro 4300 User Manual

Page 48

Advertising
background image

In Case of Difficulty

Page 5-4

USING THE HEX DUMP MODE

The Hex Dump mode provides a way to print, in a readable form, all of the data received by
the printer. This tool is often useful to programmers for diagnosing problems encountered
when sending the printer control codes and escape sequences used to control the various print
modes and setup features of the printer. Hex Dump may also be used to detect what
commands are being sent by a particular software application to help determine which
emulation mode is needed for that application.

To select Hex Dump, refer to the “Operation” section and review the information about
setting the emulation mode (“Mode:”) in the interface menu. Be sure to note the emulation
currently being used before you change it to Hex Dump.

A sample Hex Dump is shown below. Note that each line shows sixteen characters, first in
hexadecimal format, then in printable ASCII format. All unprintable ASCII characters
(printable characters are from 21 hex to 7E hex inclusive) are represented by a period.

54686973

20697320

61207361

6D706C65

This.is.a.sample

20686578

2064756D

7020746F

20696C6C

.hex.dump.to.ill

75737472

61746520

68657820

64756D70

ustrate.hex.dump

666F726D

61740D0A

format..

When the printer executes in hex dump mode, control characters and escape sequences sent to
the printer are not recognized or processed. The hexadecimal representation of the control
characters and escape sequences appears in the hex dump, but no special processing occurs.

In particular, note that ETX/ACK handshake will not operate properly in hex dump mode.
When an ETX is received by the printer, its hexadecimal representation is printed in the hex
dump, but no ACK is sent to the host computer. When you use the printer in hex dump
mode, we recommend that you configure the printer for parallel I/O, serial I/O with hardware
handshake, serial I/O with XON/XOFF handshake, or CX/TX if installed.

To exit hex dump, use setup to return the printer to the previous emulation mode.

Advertising
This manual is related to the following products: