LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-26-2007, 02:29 PM   #1
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Rep: Reputation: 15
Printing to linux from XP


I have an openSuSE 10.2 box and I want to print from a Windows XP computer to that computer, but whenever I try to do so, it says that it can't find it or something. Also, when I try to use
Code:
cupsaddsmb
, it says that it couldn't copy the Windows 2000 Drivers. Help would be appreciated.
 
Old 01-26-2007, 07:54 PM   #2
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Make an entry in the hosts file on the windows machine or use the ip address to connect to it.

See the man page for cupsaddsmb on how to use the command at http://www.cups.org/doc-1.2/man-cupsaddsmb.html
 
Old 01-26-2007, 10:42 PM   #3
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Original Poster
Rep: Reputation: 15
I should have been more specific, probably. I'm able to see the computer and printer in network neighborhood, so I doubt that's the issue
 
Old 01-26-2007, 11:23 PM   #4
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 254

Rep: Reputation: 28
http://www.computing.net/linux/wwwbo...rum/26724.html worked for me
 
Old 01-26-2007, 11:42 PM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
To print from Windows 2000/XP when the printer is attached to a computer running Linux.
1) Download CUPS for Windows
2) Share the drivers using SAMBA but do not use printers or print$ to do this. Use a normal directory.
3) Make sure the printer is shared in CUPS
4) In Windows, go to the control panel and add a new printer.
5) In the add new printer dialog box, select the URL radio button.
6) In the text box type http://[IP_adress_of_CUPS_server]:631/printers/[printer_name]
7) When the driver dialog box shows up, select have disk.
8) Browse for CUPS for Windows driver that is shared through SAMBA.
9) Continue through a few messages about it is not digitally signed by Microsoft.
10) Change the properties of the printer so Windows does not spool it. Let CUPS spool, so your pages does not mix with other print jobs from other users.

In step 6, the IP address to the CUPS server can be changed to a name. You will have to edit the host file in Windows before adding the Linux printer.

I can never setup SAMBA to add the CUPS for Windows drivers to its database. People said that cupsaddsmb is the easiest to use. That is loads of bull. The stupid utility cupsaddsmb uses rpcclient and it said it should work, but it does not. I tried several times with the correct syntax, but the utility does not work at all. DAM SAMBA developers using proprietary database files that can not be edited easily.

My way is the easiest and it can be setup for multiple printers very easily with out the need for SAMBA. Also it is possible to print securely over the internet using SSL or https. Printing directly to CUPS is less over head and safer.
 
Old 02-10-2007, 08:27 PM   #6
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Original Poster
Rep: Reputation: 15
That hint didn't help. Cups spins its wheels for a while, then the job disappears. If it helps any, the page amount is always unknown.
 
Old 02-10-2007, 10:13 PM   #7
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If your cupsd.conf is correct it should work unless you did something wrong installing the Windows driver.

Set LogLevel to either debug or debug2 in cupsd.conf.
 
Old 02-10-2007, 10:55 PM   #8
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Original Poster
Rep: Reputation: 15
Okay, here's my log of printing one item: See if you can make heads or tails of it.

Code:
A lot of unneeded code...

Last edited by Madd the Sane; 02-16-2007 at 05:44 PM.
 
Old 02-16-2007, 05:41 PM   #9
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Original Poster
Rep: Reputation: 15
Nevermind, It was on the Linux Server. However, I can't print to color on it remotely. I fixed it by changing the driver to MS Publisher color. This makes me think that it's a bug with the CUPS drivers…

Last edited by Madd the Sane; 02-16-2007 at 05:57 PM.
 
Old 02-16-2007, 05:57 PM   #10
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Original Poster
Rep: Reputation: 15
Or not. Next Question: Why is my printer printing in Black and white? It's capable of printing in color.
 
  


Reply

Tags
cups, linux, opensuse, print, printing, smb, suse, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from linux/windows clients to linux server mdshann Slackware 12 04-13-2006 01:40 PM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 02:56 PM
cupsd.conf help. Linux-Linux printing munkie_poo Slackware 1 04-13-2005 10:57 AM
Cups Printing problem, Linux to Linux Printing problem folken718 Slackware 2 11-08-2004 11:10 AM
Scribus Printing How to put 4 flyers on a page when printing jazzboy Linux - Software 0 05-02-2004 07:13 AM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration