Sunday, July 5, 2009

Serial Killer Printer - Monster Hammer Impact

Part/Model: 2602A Mfg: HP Hewlett Packard

antique HP 2602A daisy wheel printer

mode com1:1200 (I think it was even parity, 7bit, but the default works, too.)
copy c:\autoexec.bat > com1:

it prints!! very fine!! Very loud! The whole desk shakes. The lights in the house are dimming!

it accepts escape sequences, ESC g is a soft reset (clear error) according to the
2602ACEHandbook-5955-6415-58pages-Feb82.pdf Manual from the LOVELY HP museum in Australia.

Like the 2601A, the 2602A was also OEM'd from Diablo. The 2602A was basically a lower speed (25 characters-per-second) version of the 2601A. It also did not offer an optional cut sheet paper feeder. The 2602A came standard with an RS-232-C interface and also offered an optional HP-IB interface.

$1000 plus shipping (it is heavy!)

2602A - Documentation

2602 Data Sheet-5953-6280-2pages-Dec83.pdf 0.145 MB
2602A CE Handbook-MANUAL 5955-6415-58pages-Feb82.pdf 0.487 MB
2602A_Owners Manual_02602-90001_102pages_Oct82.pdf 4.325 MB

$1000 plus shipping (it is heavy!)

NEWSGROUP usenet posting in comp.unix.programmer
Date: Sun, 5 Jul 2009 12:01:22 -0700 (PDT)

I need to get an old serial killer, oops printer working under linux.

It is a daisywheel HP2602a and under DOS

mode com1:1200 (Xon/off even party, parity ON - but doesn't matter)
copy c:\autoexec.bat > com1:

it prints!! very fine!! Very loud! The whole desk shakes. The lights in the house are dimming!

Please, what are the corresponding shell commands in LINUX (2.4.27 knoppix)?

many thanks in advance...

PS: here are some pictures:


The following conventions are used in this description of the Diablo 630 mode software commands:

  • A letter, control code, word or number in upright bold text is a literal character and should be sent to the printer as the character code.
  • A letter or word in italics is a variable and you must substitute the appropriate value or values when using the command.
  • A statement element enclosed in angle brackets < > may be of any size up to some specified maximum.


  • The printable area is the area of the page where the printer can place a dot.
  • The units of horizontal and vertical movement on the page are the horizontal motion index (HMI) and vertical motion index (VMI). You can set these units as you wish and then move the print position horizontally or vertically in multiples of them.
  • The bits that comprise a byte of data are numbered 1 to 8. Bit 1 is the least significant bit (LSB) and bit 8 is the most significant bit (MSB).

Control Codes

Control codes are ASCII codes that instruct the printer to perform a particular operation, such as a line feed. Send a control code to the printer by sending the same type of instruction you would use to print a character using its ASCII code number. For example, the ASCII code for a form feed is 12, so to get the printer to perform a form feed use the following BASIC statement:


The CHR$ operator is normally used to convert an ASCII code into its corresponding character.

Escape Sequences

Escape sequences tell the printer the Diablo 630 mode function to perform. An escape sequence consists of the Esc character followed by one or more characters which define the operation to be performed. Send an escape sequence to the printer by sending the same type of instruction you would use to print characters using their ASCII codes. Some escape sequences require parameter values or data following them, for example, commands which turn a particular feature on and off. Numerical parameter data, too, is sent to the printer as if it were a character code to be printed. For example, to move the print position to the third column position on the page the required escape sequence is Esc HT 3. In BASIC this would be:

LPRINT CHR$(27); CHR$(9); CHR$(3);


Margins and Formatting

n Paper input control
n Set page length
Horizontal tab
n Absolute horizontal tab
1 Set horizontal tab at current position
8 Clear horizontal tab at current position
Vertical tab
- Set vertical tab at current position
2 Clear vertical Tab Stop at current position
n Absolute vertical tab
T Set top margin at current position
L Set bottom margin at current position
C Clear top and bottom margins
9 Set left margin at current position
0 Set right margin at current position
n Set lines per page to n

Carriage Movement

Carriage return
? Enable auto Carriage Return
! Disable auto Carriage Return
ctrl+→n Set horizontal motion index (HMI) n-1
S Reset horizontal motion index (HMI) to spacing switch
n Absolute horizontal Tab Stop to print column
/ Auto backward printing mode
\ Cancel auto backward printing mode
< Enable reverse printing mode
> Disable reverse printing mode
5 Set forward printing mode
6 Set backward printing mode

Paper Movement

Line feed
Form feed
ctrl+⇒n Set vertical motion index (VMI) n-1
n Absolute vertical to print line
U Half line feed

Reverse line feed
D Reverse half line feed
" Set automatic line feed
# Cancel automatic line feed

Printing Commands

3 Set graphics mode
4 Cancel graphics mode
A Print in secondary color (Red)
B Print in primary color (Black)
7 Enable print suppression
Enable ECS mode, print supplementary characters
Disable ECS mode, print primary characters

Word Processing Commands

P Set proportional spacing
Q Cancel proportional spacing
n Set offset to (n)
E Set underline print mode
R Cancel underline print mode
F Set double-strike mode
H Set auto strike-out print mode
I Cancel auto strike-out print mode
O Set bold print mode
W Set shadow print mode
& Cancel bold and shadow print modes
M Enable auto justify
= Enable auto center
Backspace 1/120”
% Increase Carriage settling time to 20 msec
N Restore normal Carriage settling time
M Enable program mode
X Cancel all Word Processing modes except PS

Miscellaneous Commands

Enable printer
Disable printer
P Initiate remote Reset
mode Change emulation mode / reset printer
! # R User reset
@ Set EPSON emulation mode
Enable HyPLOT mode
Y Print character assigned to character code 32
Z Print character assigned to character code 127
Enable printwheel down-load mode
Exit printwheel down-load mode
n Enable remote diagnostics mode
n Enable auto sheet feeder operation

StumbleUpon PLEASE give it a thumbs up Stumble It!


Post a Comment

Links to this post:

Create a Link

<< Home