LinuxQuestions.org
Register a domain and help support LQ
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 05-09-2007, 11:24 AM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Setting up Linux as a print server (NOT SAMBA)


Hello,

I run a LAN with two routers on two different subnets. I have both Linux and Windows computers and a server running Ubuntu (server edition). I used to have a USR8000 router with an embedded print server, but that recently went kaput. I don't want to buy a new router or a special print server. I would like to my server to take care of this.

How my system used to work with USR:
-USR drivers would be installed on windows, where it would create a special port. I would install windows printer drivers, and point the printer to that port
-On Linux, I would install the driver, and point the printer to 192.168.123.254 (the IP of the router) and lpd/lp0 (or something similar) as the queue.

I would like to emulate that functionality. In short, I don't want samba (different subnets will create all kinds of nasty problems).

Can anyone shed some light on how to do this? I think this can be done using CUPS, but I'm really bad when it comes to the CUPS system. Also, how would I create the windows port?

Thanks!
 
Old 05-09-2007, 11:02 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
AFAIK you can do this with CUPS... You just set it up an internet printer when you follow the Windoze wizard through to something along the lines of:
Code:
http://linuxprinterserver:631/printers/printername
or
Code:
ipp://linuxprinterserver:631/printers/printername
 
Old 05-10-2007, 10:30 AM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Can I set it up as ldp? ldp://host/queue? Is there a difference?
 
Old 05-10-2007, 10:53 PM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Not sure... Try it
 
Old 05-11-2007, 10:03 AM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
How? Is there some kind of guide of how to set up an LDP server?
 
Old 05-11-2007, 12:56 PM   #6
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Alright, so for anyone interested, I have managed to do this using ipp. Set up a raw printer in CUPS on the server, point it to the parallel port (in my case, I'm sure USB would work just as well).

Then, on windows, use "Add Printer" to add a new network printer, selecting "Connect to a printer on the Internet", and using a URL of http://hostname:631/printers/RawPrinterQueueName. Choose the windows driver for your printer, and away you go. Props to Colin Stewart (http://www.owlfish.com/thoughts/wini...003-07-20.html) for his great guide...it would have taken me forever to figure out what to do in XP without it.

I'm still a little curious about lpd:// though. Is there a major difference between lpd:// and ipp://? Thanks everyone!
 
Old 05-12-2007, 01:59 AM   #7
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
LPD = Line Printer Daemon
IPP = Internet Printing Protocol

LPD is generally a little outdated in this age of laser and inkjet printers
 
  


Reply


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
samba print server for windows network, cannot save printer setting lnthai2002 Linux - Networking 0 07-25-2006 10:38 AM
Linux Print Server Help (Samba) acascianelli Linux - Software 1 04-10-2006 05:30 PM
setting up a linksys printserver with linux as remote print server mattmc97 Linux - General 2 02-15-2005 09:13 AM
setting widows print server to work with Linux hammernh Linux - Newbie 3 10-19-2004 07:04 AM
Setting up a Samba network Print Server sancho5 Linux - General 1 02-01-2002 03:34 PM


All times are GMT -5. The time now is 01:10 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