Has anyone figured out a way to do this? I ran Linneightborhood and can "see" the printer, but I can't figure out how to get it installed via the printer wizard
[/img]
LinNeighborhood and printing to Windows shared printer
This might be worth a try:
HOWTO:
1. make sure your samba client setup is
working. test with
smbclient //your_server/your_printer -c "print -" </etc/motd
(see below for what software to install to get
this far)
2. Stick the attached interface in /etc/pdq/interfaces
(if you're not root, I suppose there's someplace
else you can put it... I dunno.)
3. Fire up xpdq and choose Printer/add printer.
When you get to the choice of interfaces, choose samba,
then supply //your_server/your_printer
......................................................................................................................
interface samba {
help "The samba interface requires smbclient.
contributed by Dan Connolly http://www.w3.org/People/Connolly/
$Id: samba-0.1,v 1.1 2000/10/09 20:22:59 root Exp root $ "
requires "smbclient" # This is part of the samba pagkage, in the debian smbclient package, in particular
required_args "SMB_PRINTER_NAME"
argument {
var = "SMB_PRINTER_NAME"
desc = "Windows printer name"
help = "This is the NetBIOS name of the printer
in //server/service format.
try smbclient -L \\\\machine to find some printers.."
}
send_exec { smbclient "$SMB_PRINTER_NAME" -c "print -" <$INPUT }
#status_exec {}
#cancel_exec {}
}
copy the part under the dotted line into a text editor and save it in /etc/pdq/interfaces/ as samba.
HOWTO:
1. make sure your samba client setup is
working. test with
smbclient //your_server/your_printer -c "print -" </etc/motd
(see below for what software to install to get
this far)
2. Stick the attached interface in /etc/pdq/interfaces
(if you're not root, I suppose there's someplace
else you can put it... I dunno.)
3. Fire up xpdq and choose Printer/add printer.
When you get to the choice of interfaces, choose samba,
then supply //your_server/your_printer
......................................................................................................................
interface samba {
help "The samba interface requires smbclient.
contributed by Dan Connolly http://www.w3.org/People/Connolly/
$Id: samba-0.1,v 1.1 2000/10/09 20:22:59 root Exp root $ "
requires "smbclient" # This is part of the samba pagkage, in the debian smbclient package, in particular
required_args "SMB_PRINTER_NAME"
argument {
var = "SMB_PRINTER_NAME"
desc = "Windows printer name"
help = "This is the NetBIOS name of the printer
in //server/service format.
try smbclient -L \\\\machine to find some printers.."
}
send_exec { smbclient "$SMB_PRINTER_NAME" -c "print -" <$INPUT }
#status_exec {}
#cancel_exec {}
}
copy the part under the dotted line into a text editor and save it in /etc/pdq/interfaces/ as samba.