samba printing help pls :)
Joel Hammer
Joel at HammersHome.com
Mon Jan 14 04:24:02 GMT 2002
when all else fails, look in into the samba log for clues.
One question is: Are the print jobs being transferred from your clients to
your server? Samba is very simple in how it provides printing services. Your
client simply transfers the job to the server, which then invokes lpr to
print it. You may have to set up a test queue to trouble shoot this with
something like this:
[test]
comment =Test queue
path = /tmp
read only = No
create mask = 0700
guest ok = Yes
hosts allow = 192.168. <--adjust for your situation
printable = Yes
printing = lprng <---be sure to use the right one
lpq command = /usr/bin/lpq -Ptest
lprm command = /usr/bin/lprm -Ptest %j
lppause command = /usr/sbin/lpc hold z53 %j
lpresume command = /usr/sbin/lpc release z53 %j
print command = echo "Tried to print %s" > /tmp/junk.%s <--Special "print" command
I haven't tried this test queue out for a while, so I hope it works.
Look for the print job in /tmp. This doesn't need a print cap
entry, I THINK, to work. Of course, stop/restart samba before testing this.
Joel
>
> Im trying to print from NT4 SP6a to Linux Debian 2.2, kernel
> 2.4.17-686-smp samba 2.0.7-3.4 (stock potato)
>
> The setup used to work until this weekend when i rebuilt the linux box
> with a new hd and re-installed.
>
> The kernel is upgraded from 2.4.9 but otherwise same version of samba
> and debian.
>
> problem is I cannot print a test page or a .txt or a .doc from either of
> 2 NT4 workstation boxes using word,
> wordpad, notepad or test page button.
>
> This command works fine,
>
> copy dos.txt \\kascha\lp_text
>
> as does
>
> echo hello > \\kascha\lp_text
>
> linux printing like
>
> lpr /etc/printcap works fine
>
> ive exhausted my samba books....
>
> :/
>
> [home] shares work fine on the linux box
>
> so im stumped dead...
>
> any ideas pls?
>
>
> ta
>
> Steven
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list