samba-list: SAMBA Printing

Bill Campbell bill at
Mon Jul 21 23:26:19 GMT 1997

On Tue, Jul 22, 1997 at 01:16:29AM +0000, Antony King wrote:
>I've an odd problem with samba, running on SCO3.2.4.1. (sys.V)
>Most PC's (runing win95 or NT) seem to print fine.
>A few however will print the first print job OK, but will not print
>again until either the samba deamon is restarted or the PC is reset,

The usual problems are incorrect print commands in your smb.conf file.
One that we ran into with SCO Release 5 (3.2v5.??) was that they
changed the way the lp command operates and don't automatically make a
copy of the file so the SAMBA print job was done and the file deleted
before the print job got to the spooler.  Here's the command we use
for our printer->fax gateway on our system:
   print command = /usr/local/bin/lp -dfaxprn < %s 2>> /tmp/plog%u; rm %s

If you're using the vanilla SCO lp command, I think the option to
force it to make a copy of the file is -c.

INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 2835 82nd Avenue S.E. S-100
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

A child can go only so far in life without potty training.  It is not
mere coincidence that six of the last seven presidents were potty
trained, not to mention nearly half of the nation's state legislators.
		-- Dave Barry

More information about the samba mailing list