From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,14311235c8196b93 X-Google-Attributes: gid1164f8,public From: Charles M Richmond Subject: Re: Printer woes. Date: 1998/10/28 Message-ID: <3637022B.2036CC0B@iisc.com>#1/1 X-Deja-AN: 405899961 Content-Transfer-Encoding: 7bit References: <712dnl$qc7$1@nnrp1.dejanews.com> X-Accept-Language: ja Content-Type: text/plain; charset=iso-2022-jp X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 909574700 198.5.5.5 (Wed, 28 Oct 1998 06:38:20 EDT) Organization: Integrated International Systems Corporation MIME-Version: 1.0 NNTP-Posting-Date: Wed, 28 Oct 1998 06:38:20 EDT Newsgroups: comp.sys.dec 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 * ***********************************************************************