Megatron TP UP-NH User Manual - page 7
24 25
Baud Rate (BPS) Parity Check
ON ■ ■
OFF □ □
1 2
1200
ON
■ □ □
OFF □ ■ ■
4 5 6
8 bit
odd parity
ON □ ■
OFF ■ □
2400
ON
□ ■ □
OFF ■ □ ■
8 bit
even parity
ON ■ □
OFF □ ■
4800
ON
□ □ □
OFF ■ ■ ■
8 bit
non-parity
ON □ □
OFF ■ ■
9600
ON
■ □ ■
OFF □ ■ □
7 bit
odd parity
ON
□ ■ ■
OFF ■ □ □
7 bit
even parity
ON
□ □ ■
OFF ■ ■ □
7 bit
non-parity
DIP Switch Handshaking
Default Setting
ON □□□□□□
OFF □□■□□□
1 2 3 4 5 6
XON/XOFF
ON
□□□□□□
OFF ■■■■■■
1 2 3 4 5 6
ON □□■□□□
OFF □□□□□□
1 2 3 4 5 6
RTS/CTS
Figure 2-10 DIP Switch Setting
Pin Assignment of DB25
Pin No.
Signal
Source
Description
2
TXD
Host
Printer receive data from host.
3 RXD
Printer
Printer
transmit data. Printer transmit XON/XOFF
code to host while in use of handshaking of
XON/XOFF.
5
CTS
Printer
There are two states of this signal, "Mark" and
"Space". "Mark" indicates that the printer is busy
and unable to receive data; "Space" indicates that
printer is ready to receive data.
7 GND
Printer
Signal
ground
20
DTR
Host
In SPACE” status for not less than 3ms, for control
of printer power.
Chapter 3
Printing Commands
3.1
Summary
TP UP-NH provides ESC/P commands:
1. define format
2. enlarge characters
3. print bit map graphs
4. choice character sets
5. define user-defined characters
6.
others
Each command is described in following format:
Printing command
Function
Format: ASCII:
the standard ASCII characters sequence.
Decimal:
the decimal numbers sequence.
Hexadecimal: the hexadecimal numbers sequence.
Explanation: What the command does and how to use it.
3.2
Paper Feed Commands
LF
Line Feed
Format
ASCII :
LF
Decimal :
10
Hexadecimal: 0A
Explanation:
Print data in buffer of the printer and feed one line forward. Feed one
line forward only if no data in buffer of the printer.