LinNeighborhood and printing to Windows shared printer

Using applications, configuring, problems
Post Reply
Message
Author
Guest

LinNeighborhood and printing to Windows shared printer

#1 Post by Guest »

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]

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#2 Post by Ian »

LinNeighborhood does not support mounting printers, this will have to be set up in Samba manually.
Unless someone comes up with a solution this will have to be attacked as a future project so stay tuned.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#3 Post by Ian »

I have just found a samba script that may enable the printer wizard to allow you to set up your printer.
I'll have to test it first but will get back as soon as possible with an answer.

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#4 Post by danleff »

Boy, that was fast!

Let me know. I would like to test this, as well.
I love it when a plan comes together

--Hannibal Smith

Auda
Posts: 131
Joined: Sun 08 May 2005, 20:08
Location: New Zealand ( Christchurchish )

#5 Post by Auda »

....and it didnt work ?

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#6 Post by Ian »

Sorry to take so long but have been busy, no it didn't work sad to say.
So it's on with the search.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#7 Post by Ian »

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.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#8 Post by Ian »

Concernibg LinNeighborhood, after reading the documentation I have discovered that it doesn't support printing.

User avatar
Hank
Posts: 25
Joined: Sun 28 Aug 2005, 00:41

#9 Post by Hank »

Any progress printing to Windows shared printers???
Experience is a wonderful thing; it enables you to recognize a mistake when you make it again.

Post Reply