[comp.os.minix] Compaq printer

JIM%CALSTATE.BITNET@cunyvm.cuny.edu (Jim Stockwell) (11/27/88)

John Marco writes in an article on 9/3/88
>I have a Blue Chip (XT clone) with the Blue Chip Epson compat.
>printer.  I get the error 'paper out' when I try to print.....
I had the same problem with a 3 year old Compaq Plus Portable,
using MINIX 1.2. using either an Epson LX80 or an Anadex 9275B
printer.

The problem is that when get_chrome() is called in main.c it
uses interrupt 11 to check for mono or color display;  and
"color card with an 80X25 monochrome monitor" results in "color".
So, print_init selects the "PR_COLOR_BASE" or 0x378
for the printer "port_base".  But a DEBUG test shows
that it is 0x3BC (the PR_MONO_BASE) which can operate the
printer.  My solution was to change the value in the
kernel/printer.c #define statement for PR_COLOR_BASE
to 0x3BC.  At the same time, I used the
version of printer.c from Barry Mc Mullin which came across the net
last month.  It works well.

I am not currently on the net but can recieve mail thanks to
Jim Stockwell whose BITnet address is  JIM@CALSTATE (CSUMailer (1.3)).

Jeff Sacks (Anaheim, CA)
(714-956-1784)