Windows sees printer as installed and ready, but won't print
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Windows sees printer as installed and ready, but won't print
I've installed and gotten samba working great, everybody can see everybody, and the printer connected to this (Gentoo) computer seemed to install fine on my dads (WinXP) computer. The only problem comes when I try to print a test page. Nothing happens! I get no errors, but the printer just sits there.
If there are any config files that would be helpful to see, please let me know and I'll post them. Here is my printer section of smb.conf
[HPDeskJet]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printing = cups
print command = lpr-cups -P %p -o raw %s
lpq command = lpstat -o %p
lprm command = cancel %p-%j
printer name = HPDeskJet
oplocks = No
I should have clarified, sorry. I can print with linux fine. The windows computer can see it and installed it, in the printer menu it shows it sitting there with "ready" next to it. However when I try to print to it using windows, nothing happens.
Can you see the properties of the printer driver under windows? check the spool settings. I have seen the problem in the past becuase if you set the printer up as a network printer it thinks it is a win server that has the driver, it then tries to copy file from the server.
If you haven't tried already install the printer locally setup to lpt1, then redirect the local port or lpt1 port.
So go add port / local port/ then type the smb location.
let me know if it works.
When I installed, it said there wasn't an appropriate driver on the server, so it installed the windows driver. The port it listens to is http://192.168.0.2:631/printers/hpdeskjet.
That is a weird location to print to, this is IPP.
If you print to this location your not going through the linux server.
Can you see the printer from windows in your linux box?
The address is usually \\linuxserver\printer or what ever.
All the times in the past, all i get people to do is install the driver locally and redirect it and it hasn't failed yet. I work for a printer manufacturer so i have had the question quite a bit.
Give it a go.
bax, how would I change the spool directory to /tmp? Would that be somewhere in /etc/cups/cupsd.conf?
Tim, I installed as a local printer using the correct driver, and when I tried to add port \\Gentoo\HPDeskJet, it said port already exists. The port wasn't in the list it gave me though.
So here is what I tried to do, I clicked on network neighborhood, view workgroup computers and clicked on the Gentoo server. Inside I see my shared directory and HPDeskJet. So I right click on HPDeskJet and click connect, which begins the installation of the printer.
Windows tells me the server does not have the correct printer driver installed and offers to search for the proper driver. I click ok and select my printer. Click OK, then windows seems to complete the job.
I go into the control panel>printers to see if the new printer is there. There it is. It starts out saying opening, then "ready". I right click on it and hit properties, then click the print test page button.
Hmm, this time it tells me Test page failed to print. Unable to create a print job.
Change path = /var/spool/samba to path = /tmp. The advantage in this is that /tmp is readable/writable by all users. Also, you NEED to check /var/log/samba/whatevermyWindowsuserormachinnameis. Please check the logs.... This sounds like a permissions problem to me
You just need a readable/writable directory. Nothing needs to be in it. Just change it to /tmp, restart samba /etc/init/samba restart and try it. Shit, I tried everything under the sun until I got Samba up and running. I'm thinking about asking LinuxQuestions for a Samba forum given all of these Samba questions
Also, thank you, it no longer says it can't create the print job, but it is back to just not doing anything again. I think I know the problem this time.
When I went to try to do foomatic-configure again (which didn't work, for some reason), I found that if I just typed "DeskJet 970" at the first step, it showed me a model closer to my own (it said it was the same), whereas last time, I ended up using one for a DeskJet 975C.
So I think thats the problem, since I'm getting no errors but nothing is happening.
Without reinstalling the printer, is there an easy way to change the model and driver?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.