[comp.unix.microport] HP Laser Jet Plus, Hercules B&W card drivers

rvk@twitch.UUCP ( Bob Kline) (04/05/88)

1. if anyone has used an HP Laser Jet Printer with Microport Unix, please
   tell me how to do it.

2. a friend says that no driver exists for a Hercules black and white
   monitor card on Microport Unix.  he says that this was more or less
   verified by the company.  if so, I would be interested in hearing from
   anyone who has found a way around this.


	r. kline
	ihnp4!twitch!rvk

wnp@chinet.UUCP (Wolf N. Paul) (04/06/88)

In article <1007@twitch.UUCP> rvk@twitch.UUCP ( Bob Kline) writes:
>1. if anyone has used an HP Laser Jet Printer with Microport Unix, please
>   tell me how to do it.

It really depends on what you want to do with it. If all you want to do
is dump listings to it, you just plug it in, make sure that the baud rate
etc. are set correctly if using a serial port, and off you go. the only
thing to watch out for in this case is that in its default font (Courier
10 cpi) the HP LJ is incapable of printing 66 lines per 11-inch page,
and you should probably use pr instead of cat in the lp interface script.

You can also set up two separate interface scripts, one for Courier, the other
for Lineprinter, and echo the necessary printer control codes (from the
LJ Technical Reference Manual) to set the appropriate font.

Packages like Textware's Tplus or Elan's Eroff come with appropriate lp
interface scripts, and software to control the printer more finely.

The recently posted Nroff TERM Table utility also includes a sample tabLJ
file for use with nroff.

>2. a friend says that no driver exists for a Hercules black and white
>   monitor card on Microport Unix.  he says that this was more or less
>   verified by the company.  if so, I would be interested in hearing from
>   anyone who has found a way around this.

Again, depends what you want to do. Microport UNIX will work just fine with
the Hercules card (or compatibles) in TEXT MODE, without a special driver.
Since I am not into graphics, I have no idea about Hercules Graphics mode.


Wolf Paul
wnp@chinet

wes@obie.UUCP (Barnacle Wes) (04/09/88)

In article <4603@chinet.UUCP>, wnp@chinet.UUCP (Wolf N. Paul) writes:
| In article <1007@twitch.UUCP> rvk@twitch.UUCP ( Bob Kline) writes:
| >1. if anyone has used an HP Laser Jet Printer with Microport Unix, please
| >   tell me how to do it.
| 
| It really depends on what you want to do with it. If all you want to do
| is dump listings to it, you just plug it in, make sure that the baud rate
| etc. are set correctly if using a serial port, and off you go. the only
| thing to watch out for in this case is that in its default font (Courier
| 10 cpi) the HP LJ is incapable of printing 66 lines per 11-inch page,
| and you should probably use pr instead of cat in the lp interface script.

Use `lpset(1)' to set the printer to 60 columns.  If you set the top
and bottom margins on the LJ down to 0, you can set the printer for 66
lines per page, but the bottom line on our LJ-II at work sometimes
doesn't print entirely well :-).

| You can also set up two separate interface scripts, one for Courier, the other
| for Lineprinter, and echo the necessary printer control codes (from the
| LJ Technical Reference Manual) to set the appropriate font.

You can also do this with the "options" to lp(1).  If you want to know
how to write lp drivers in sh(1), get the book entitled "Unix System
Administration" in the Hayden Unix Books series.  Very recommended.

| Packages like Textware's Tplus or Elan's Eroff come with appropriate lp
| interface scripts, and software to control the printer more finely.

And cost a lot of money.  Ah, well.

| The recently posted Nroff TERM Table utility also includes a sample tabLJ
| file for use with nroff.

I didn't get this.  Where was it posted?  I would really like to be
able to use Nroff with my Oki LJ-clone.  Can you make it support the
proportional fonts?

-- 
    /\              -  "Against Stupidity,  -    {backbones}!
   /\/\  .    /\    -  The Gods Themselves  -  utah-cs!utah-gr!
  /    \/ \/\/  \   -   Contend in Vain."   -  uplherc!sp7040!
 / U i n T e c h \  -       Schiller        -     obie!wes