Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Charles M Richmond <cmr@iisc.com>
Subject: Re: Printer woes.
Date: 1998/10/28	[thread overview]
Message-ID: <3637022B.2036CC0B@iisc.com> (raw)
In-Reply-To: 712dnl$qc7$1@nnrp1.dejanews.com

clair@dmgil.com wrote:
> 
> Hi,
> 
> I usually spend my time in solaris/aix/linux world, but I just got a DEC Unix
> problem handed to me, and I have tried everything that I can think of to take
> care of it, and have failed.
> 
> Here is my dilemna:
> 
> I have a DEC machine that needs to have 3 printers set up on it.  On one
> printer (a printonix printer) is hooked up through the Parallel port, the
> other two (an Apple printer, and an HP4000) need to have network
> connections.
> 
> The problem with the printonix is that it prints every other character.  So,
> for instance, the lptest looks something like this:
> 
> acegik. . .
> bdfhjl. . .
> and so on.
> 
> (I sort of suspect that there is something wrong with the printer, only it
> works just fine on a different machine.)
> 
> The other two printers are network printers, I can ping them, but that is
> the only network response that I can get out of them.
> 
> Here is a copy of my /etc/printcap:
> 
> lp0|0|test:\
>         :af=/usr/adm/lp0acct:\
>         :br#0:\
>         :ct=/dev/lp0:\
>         :lf=/usr/adm/lp0err:\
>         :lp=/dev/lp0:\
>         :mx#0:\
>         :of=/usr/lbin/lpf:\
>         :sb:\
>         :sd=/usr/spool/lpd0:\
>         :sh:
> lp2|2|apple:\
>         :lf=/usr/adm/lp2err:\
>         :lp=:\
>         :rm=APPLE_LW24289c:\
>         :rp=text:\
>         :sd=/usr/spool/lpd2:
> lp1|1|hplaser:\
>         :af=/usr/adm/lp1acct:\
>         :ct=tcp:\
>         :if=/usr/lbin/hplaser4psof:\
>         :lf=/usr/adm/lp1err:\
>         :lp=@hplasertest\hplaser:\
>         :mx#0:\
>         :of=/usr/lbin/hplaser4psof:\
>         :pl#66:\
>         :pw#80:\
>         :rw:\
>         :sd=/usr/spool/lpd1:\
>         :xf=/usr/lbin/xf:
> 

For lp1  you also need a line in your /etc/services file like:

hplaser		9100/tcp

The Apple is possibly using some weird port of its own and
you will need to redo its entry to match lp1's setup but with
its own port entry in /etc/services. Another possibility is 
that the queue name "text" is wrong.

The problem with lp0 is possibly a mismatch between the parallel
port setting (eg EPP/ECP/etc) that the printer expects and that 
the system is setup for. You need to look for your system manual
and lookup how to change that. On some machines you might need 
to switch from SRM console to ARC console and then run isacfg.

YMMV

Charlie

-- 
***********************************************************************
*  Charles Richmond    Integrated International Systems Corporation   *
*  cmr@iisc.com        cmr@koibito.iisc.com  cmr@shore.net            *
*  UNIX Internals, I18N, L10N, X, Realtime Imaging, and  Custom S/W   *
*  One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431      *
*  (617) 723 7695    (617) 367 3151        FAX (617) 723 6861         *
***********************************************************************



      parent reply	other threads:[~1998-10-28  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  5:00 Printer woes clair
1998-10-27  5:00 ` Peter da Silva
1998-10-28  5:00 ` Charles M Richmond [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox