Printing to windows printers

Craig White plug-discuss@lists.PLUG.phoenix.az.us
Thu, 27 Dec 2001 01:06:50 -0700


Tom Achtenberg wrote:
> 
> Sending an ASCII test page of course had no result.  Doing "tail
> /var/log/messages had nothing related to printig in it, only oprning the
> consol window
> 
> On Wednesday 26 December 2001 10:13 pm, you wrote:
> > Here is the /tmp/print.diagnostic.txt
> >
> > foomatic-1.1-0.20011018.7
> > Omni-foomatic-0.5.0-4
> > # printcap.local
> > #
> > # This file is included by printconf's generated printcap,
> > # and can be used to specify custom printcap entries.
> >
> > # /etc/printcap
> > #
> > # DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
> > # This file is autogenerated by printconf-backend during lpd init.
> > #
> > # Hand edited changes can be put in /etc/printcap.local, and will be
> > included.
> >
> > HP5L:\
> >
> >         :ml=0:\
> >         :mx=0:\
> >         :sd=/var/spool/lpd/HP5L:\
> >         :af=/var/spool/lpd/HP5L/HP5L.acct:\
> >         :sh:\
> >         :lp=|/usr/share/printconf/util/smbprint:\
> >         :lpd_bounce=true:\
> >         :if=/usr/share/printconf/util/mf_wrapper:
> >
> > ###########################################################################
> >#### ## Everything below here is included verbatim from /etc/printcap.local
> > ##
> > ###########################################################################
> >#### # printcap.local
> > #
> > # This file is included by printconf's generated printcap,
> > # and can be used to specify custom printcap entries.
> >
> > lp        1912  0.0  0.8  2828  776 ?        S    Dec25   0:00 lpd Waiting
> > root      3016  0.0  0.6  1704  596 pts/1    S    22:10   0:00 grep lpd
> >
----
Thanks,

I am trying to track this through myself - I have had all along, the
cheap Xerox XK35c ink jet hooked to one of my Windows machine but I
really only use the LaserJet 4M which is connected to one of my linux
boxes since it spools fine for my linux machine, Macintosh machines &
Windows machines and I don't have to spend $250 for HP's over-priced
NIC.

It's obvious to me that the errors your listed here...you can try this:

cat /var/spool/lpd/HP5L/status.HP5L

and if you check this directory out...

ls -l /var/spool/lpd/HP5L

you will see a number of files including the file called script.cfg
which will have the user name/workgroup/ip address etc of the smbprint
connection.

I am having much the same issues as you but I am dealing with a printer
that I have little confidence is supported in any significant way by
open source...so prior to this moment, I have never tried.

I don't know if /etc/lpd.perms has governance here though I would think
that root has permission regardless.

Anyway, I am tired and going to bed but I have the same issues - will
post a query to enigma list and see if I can get mine going.

Craig