LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2010, 11:47 PM   #1
mkhan1484
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Windows XP Machines Require Device Driver When Installing a Shared CUPS/Samba Printer


I have searched both this forum and Google for an answer to my question, but did not find anything. So I decided to post my question here.

I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?

Any help is greate appeciated.

THanks
Mak
 
Old 02-28-2010, 02:38 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
It is normal for Windows to need a driver, because its printing system is based on GDI/EMF rather than PostScript, so the Linux printer server does not do the rendering.

However, it is possible with some effort to load a cups windows driver on to the Windows machine, so that it can convert Windows emf to postscript before being sent on to the cups machine.

This article goes into some detail about the setup.

Last edited by neonsignal; 02-28-2010 at 02:42 AM.
 
1 members found this post helpful.
Old 02-28-2010, 11:43 PM   #3
mkhan1484
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
neonsignal, Thank you for your help. Much appreciated.
 
Old 03-04-2010, 08:24 PM   #4
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
The CUPS driver for windows is a great way to go, I use it all the time at work.

Some other options are the Microsoft Color Imagesetter driver (which comes standard with XP), or choosing a built-in driver for a very post-script compliant driver, like an old apple laserwriter.

Those two options don't always work, but they usually work. I have literally dozens of printers at work that function perfectly with either the CUPS or MS Color ImageSetter drivers. Conversely, there are perhaps 5 printers that don't, and even they will usually work.


Of course you could always be a bastard to your users, and use the HP LaserJet 4 driver. CUPS will pass it right through to the printer, which will happily accept PCL, and spit out very fast pages. Again, that driver comes bundled with windows (I think every version from 95 or 98 onwards actually). It's safe to say every business level printer and copier speaks PCL. Heck, a good deal of home ink-jets and laser printers do too.

Why is using that driver being a bastard? Because it's low-res (300dpi), black text is fine, but it has awful halftoning. Greys and pictures look worse than dot matrix output.

Good luck.

--Kyle
 
Old 03-04-2010, 11:48 PM   #5
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Rep: Reputation: 16
it is also possible to provide the correct windows drivers to the printer via samba so it installs the printer remotely by just double-clicking the printer in windows.
windows can then communicate to the printer using the windows-driver.
it needs some effort to do so, though.
basically, you would need to set up a printer-share in samba, then configure a "printer admin". next log in as the printer administrator on a windows client, access the printer and install the windows-driver to the printer-share back on your linux-machine.
I once wrote a tutorial about it here http://www.linux-multimedia.ch/wiki/...tig_einrichten
it is written in german, though.
 
Old 03-05-2010, 08:27 PM   #6
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
tObias, when is the last time you got that to work? I struggled with that myself under RHEL/CentOS 5 in an NT4 domain with XP Pro clients. I never got it working, despite an awful lot of digging.

My german really isn't any good now (no practice for years), but I read through your tutorial, and have a few questions that I don't think were answered. I apologise if they were in there and I just didn't understand.

Does the samba/cups server need to be a domain member?
Do you need to explicitly list each printer in the smb.conf, or can you rely on samba to load all the printers from cups with the lines:
load printers = yes
printing = cups

Thanks
--Kyle
 
Old 03-06-2010, 01:02 AM   #7
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Rep: Reputation: 16
I am using this solution right now, it works pretty well for me.

yes, the printing-server needs to be a domain member.
i never got it to work with
load printers = yes
so I needed to list them seperately.
 
Old 03-06-2010, 08:47 AM   #8
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
tObias,
Thanks, I'm going to give it another go when I have a chance in a few weeks!
 
  


Reply



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 to a Windows shared printer from cups Arancaytar Linux - Networking 1 05-07-2009 02:53 PM
Adding print driver to CUPS/Samba from Windows - printer doesn't display granny Linux - Server 2 01-08-2009 11:19 AM
CUPS, Samba, WinXP shared printer = nada psychobuffalo Slackware 1 01-03-2006 08:53 PM
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
Printer driver wrong on XP while on Samba/Cups Server ikw38 Linux - Networking 0 03-11-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration