I have setup CUPS and Samba server on linux machine which has a hp deskjet 6122 printer attached via usb. I have also managed to install this shared printer on other windows 7 machine via LAN network.
I have gone through many instructions. These are just few of them:
The reason I keep doing the same thing with different instructions is because the whole setup works fine until a restart of the windows machine (client) or linux machine (server with attached printer). After the restart of any machine, sending a print request from the windows machine results in print task being visibile in print queue on windows but NOT visible in the print queue on linux. Obviously, this means that documents are not being printed from windows machine.
This problem drives me mad for weeks.
The only way to print from windows is to repeat procedure of installing the network printer. And it works.... till restart of any machine. Note that I do not have to setup anything on linux again to make windows->linux printing work.
I am begging for advice.