W98 -> Samba/Linux LPD -> Axis printserver

Steve Litt slitt at troubleshooters.com
Tue Nov 30 04:29:36 GMT 1999


Ed,

First, be sure your print command erases the print file, or else subsequent
prints may jam. So your print command should look more like this:

print command = lpr -r -P%p %s;rm %s

Also, be sure to delete all old print files, as they typically cannot be
overwritten by subsequent print jobs.

If the preceding didn't work, try this two minute test. Replace your print
command with a command that writes a log record to a log file in /tmp. Each
record should contain %u, %U, %T, %g, %G, %s. That will shed much light on
the subject.

Steve Litt

At 12:16 PM 11/30/1999 +1100, you wrote:
>Win98 print jobs are getting "stuck"  on the samba server.
>
>I have set up the auto print/install thing in Samba for the 98 boxes,
>and it works.
>
>I have the path for the printer in smb.conf defined as /var/spool/samba.
>It has printable=yes, writeable=no set.  /var/spool/samba is RWXRWXRWXT.
>
>Clients can print to \\linux\copier, but I'll get files named like:
>PrinterTestPage, sitting in the spool directory.  Using "lpr -Pcopier
><file>"
>they print out, and indeed are Win98 test pages.
>
>The printer is set in /etc/printcap to use that same dir for spool as
>well,
>and my print command is "lpr -r -P%p %s".  Although the Samba in 24 hour
>books claims that %s is both the whole path+ file name , AND just the
>file name of the print file.
>
>So what obvious, stupid thing am I missing?  Thanks!
>
>Ed 
>-- 
>Edward Schernau				http://www.schernau.com
>Network Architect			mailto:ed at schernau.com
>Rational Computing			Providence, RI, USA
>



More information about the samba mailing list