[Samba] Samba Printing

Michael H. Warfield mhw at wittsend.com
Thu Aug 26 22:28:05 GMT 2004


On Thu, Aug 26, 2004 at 01:49:26PM -0600, John H Terpstra wrote:
> Mike,

> Have you uncommented the last line? The one with:

> application/octet-stream

> in both:
> 	/etc/cups/mime.convs
> 	/etc/cups/mime.types

	Sigh...

	Well, that was a really nice thought that nobody had mentioned
before and, yes, they were commented out but...  Nice try but no cigar.

	As it turns out (and I just realized this) I lied.  Neither
of the two systems in question were RUNNING cups.  The system I
just checked, has cups installed, but it's LPRng that's running.
I found out when I went to restart cups and found it wasn't started
and the alternatives are set to lprng.

	The other site, doesn't even have cups installed.

	IAC...  Fixing the files had no effect on the symptoms.  But
my problems are with LPRng, and not CUPS.  Another point on the curve.

> The symptoms you report sound like these entries are commented out.

> - John T.

> On Thursday 26 August 2004 13:11, Michael H. Warfield wrote:
> > Doug,
> >
> > On Wed, Aug 25, 2004 at 11:39:04AM -0400, Douglas Sterner wrote:
> > > Using Samba 3.05 and cups I'm having some trouble getting documents to
> > > print thru CUPS in raw mode. Documents print fine from the server but not
> > > from an XP client. When I used  the following print
> > > command statement for troubleshooting the job is getting to the Samba
> > > server spool directory for that printer. The CUPS admin page never sees
> > > the job and no errors are given. Everything looks like it has printed
> > > just nothing comes out of the printer. When I print a test page from the
> > > server it prints and the job shows up in cups.
> >
> > 	I've been having a similar problem.  I had been able to print
> > with Samba 3.0.2a but something changed in 3.0.3 and after and I've
> > been unable to print from a Windows client with any version since.
> > There's an open bug, 1464, in Bugzilla, posted by someone else, describing
> > a similar problem.  I've gotten traces and logs up for some of the other
> > team members to look at.  This is happening at both sites where I have
> > Samba set up as a print server and I had to downgrade one site and install
> > a print server at the other.  Note that downgrading may not be advisable
> > due to security concerns as well as a spooler segfault problem in 3.0.2a.
> >
> > 	May also be related to bug 1644 but only one of my two sites
> > is running CUPS.
> >
> > 	I'm hoping to hear more before too long.  Is there any chance you
> > can run a test with 3.0.2a just to see if it works?
> >
> > 	There must be a lot of people who have later versions printing
> > just fine.  I just don't know what the parameter or conditions are that
> > are delineating those who are working and those who are not.
> >
> > > print command = cp %s /var/spool/samba/dell5300n/testprint.prn
> >
> > 	I can print anything from the server, either through the CUP's
> > management page (one site is CUPS, one is LPRng) or by enscript or lpr.
> > All the Linux printing works fine.  But I can't print a test page from
> > any Windows client.  No errors, but no print job ever hits the print queue.
> >
> >
> >
> > 	The team already has the URL for my traces and data.  Available
> > on request for anyone else.
> >
> > > Douglas Sterner
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > 	Mike
> 
> -- 
> John H Terpstra
> Samba-Team Member
> Phone: +1 (650) 580-8668
> 
> Author:
> The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
> Samba-3 by Example, ISBN: 0131472216
> Hardening Linux, ISBN: 0072254971
> OpenLDAP by Example, ISBN: 0131488732
> Other books in production.

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20040826/1017b429/attachment.bin


More information about the samba mailing list