Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Rep:
Hi, here is your answer!
Here's the procedures to setup a network printer connected to windows:
1. Login as root.
2. Open a terminal window and type the command:
printtool
3. Click on New.
4. Once you see the Add a New Print Queue, select Forward
5. Then type a Queue Name and choose Windows Printer, select Forward after that.
6. Then under the Share name type the name of the computer and the name of the shared printer like this:
\\Nameofcomputer\sharedprinter
7. Under the user, type the username to logon to the windows machine:
username
8. Host IP, is the IP address of the windows machine
9. Password is the password of the user.
10. Workgroup is the workgroup of the windows network. Click Forward.
11. Then select the printer that you will be using, like the HP>>OfficeJetR45>>cdj1600,,,remember to select a driver. Click on Forward
12. Click on Apply.
13. Click on Apply again, and default.
14. The printer is now setup to your linux machine
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Rep:
Hi Nelse,
I'm sorry that I couldn't be more helpful for you. It's just that my printer is networked. I haven't tried hooking up a local printer. I can't believe it should be that hard. I think you should be able to to just select it as a local printer as long as you have the right printer selected. Other than that, I wish I could help. Sorry, but good luck.
I tried your instructions again, this time word for word. I got the printer on the Windows machine to print! I found two problems with the way I had it set up. One was that on the Windows machine, I had the share name as HP 692C. I took the space between HP and 692C out. The other problem was that for share name I had HP 692C instead of \\DAD\HP692C.
After fixing these two things, it worked. Thanks for your help. I'm still having problems with the local printer, but I'm beginning to think it may be a cable problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.