[Samba] printer drivers

Van Sickler, Jim vansickj-eodc at Kaman.com
Tue Jun 11 11:03:02 GMT 2002


> -----Original Message-----
> From: Mark Brosius [mailto:mark at mebrosius.com]
> Sent: Tuesday, June 11, 2002 9:13 AM
> To: Van Sickler, Jim
> Cc: samba at lists.samba.org
> Subject: RE: RE: [Samba] printer drivers
> 
> 
> Thanks for responding.
> On Tue, 11 Jun 2002, Van Sickler, Jim wrote:
> 
> > I think I've lost the big picture...time to
> > step back and look at what you're trying
> > (and unable) to do.
> >
> > 1.  Is \\server\Printer being added to
> > the clients as a Network or Local Printer?
> 
>   Network
> 
Okay

> > 2.  If Network, are you trying to install
> > the printer drivers from the server
> 
>   I am installing the drivers from the client
> 
If disable spoolss=yes, or pre-2.2.1a(I think)
this is your only choice.  I found it works
best...for my setup, at least.  Others may
feel free to offer different advice.  No
two setups are the same.

> > 3.  Are you a member of the Linux admins
> > group?
> 
>   Good question.  I don't think so.
If you're not sure, you probably aren't.
This is an issue with spoolss support enabled.
> 
> > 4.  Did you delete the default printer
> > apps on the Linux box, and create symlinks
> > to the cups equivalents? (e.g. lpr, lprm, lpd, lpq)
> > (This has bitten me on OpenBSD upgrades;  the
> > upgrade overwrites the symlinks with executables,
> > and I have to go back and redo the LPRng symlinks)
> 
>   I did not delete the printer apps on the Linux box

Enabling cups in smb.conf has no effect if cups isn't
installed on the server.  You may want to return to the
default settings for printing, and see if that changes
anything.  Remarking out the printer entries (with #
at the start of the line) will allow
the defaults to be used.

> 
> > 5.  Re-read the doc's and HOW-TOs for printing
> > setup-a lot has changed in 2.2.x...maybe something
> > will pop up that you missed.
> 
>   Okay. Dumb question, where are they.  I can't seem to find them.
>
If you've got SWAT running, you can get to some of the 
documentation through the home page;  more doc's are
available through the samba.org documentation link - e.g.
http://us4.samba.org/samba/docs/

> > 6.  If you're not interested in the spoolss support,
> > or it gives you more pain than pleasure (my case!!!)
> > use "disable spoolss=yes" and "use printer driver=no"
> > in smb.conf's [Global], remove all connections to
> > \\server\Printer in your workstations' Printers and
> > the Registry.  Then re-install \\server\Printer as
> > a Network Printer, and the Port it attaches to should
> > show up listed in the Properties as a LAN Manager
> > Printer Port.  This is the pre-spoolss type of printer
> > connection, and I think the easier to set up/manage.
> 
>   I haven't even considered spoolss.

If you installed 2.2.3a, I think it was enabled by default.
I'm not sure about 2.2.1a, but I'd put
disable spoolss=yes just in case.
If testparm complains about an invalid entry, delete it.

> 
> > 7.  Linux prints via cups, and you can see the share-
> > you're almost there...
> 
>   To be honest, I'm not sure how I am printing from linux.  
> Maybe it is cups...maybe not.  Sorry.  I am able to see
> the share from the windows client though.

A visible share is just that, unfortunately.  If the
printing subsystem is defective, it won't change
anything.  But you already knew that  ;-)

> 
> > Good luck!
> 
>   Thanks, I think I need it.  I appreciate your help!
> 
You're welcome-I've gotten a lot of help from
the list in the past. Eventually you'll
get the answers you need, either from the list
or your own efforts.  

Jim





More information about the samba mailing list