Networking Forums

Networking Forums > Computer Networking > Linux Networking > CUPS Network Printing

Reply
Thread Tools Display Modes

CUPS Network Printing

 
 
Murphy
Guest
Posts: n/a

 
      01-08-2005, 09:47 AM
Newbie question...

I have a Linux machine that I have successfully setup to print using CUPS,
this machine is the file and print server however the file side I'll tackle
once the printing works.

I thought that to have a Linux workstation print to this printer would be
straight forward, simply install the printer on the workstation as I did on
the server but this time instead of selecting "Parallel Port #1" I'd select
"Internet Printing Protocol (ipp)" or "Internet Printing Protocol (http)".
Which one exactly and the difference beats me...

Next is where I get stuck as I am asked to specify the "Device URL" with
examples being:
file:/path/to/filename.prn
http://hostname:631/ipp/
http://hostname:631/ipp/port1
ipp://hostname/ipp/
ipp://hostname/ipp/port1
lpd://hostname/queue
socket://hostname
socket://hostname:910

The printer is on a machine called "angus" and the printer name is
"Laserjet4000"

I have tried various URLs without success and am now wondering if this is
how I connect a workstation to a printer on another machine or does this
machine need to be a print server or similar ?

--
Thanks

Murph
 
Reply With Quote
 
 
 
 
Bob Hauck
Guest
Posts: n/a

 
      01-08-2005, 02:54 PM
On Sat, 08 Jan 2005 10:47:54 GMT, Murphy <(E-Mail Removed)> wrote:

> I thought that to have a Linux workstation print to this printer would
> be straight forward, simply install the printer on the workstation as
> I did on the server but this time instead of selecting "Parallel Port
> #1" I'd select "Internet Printing Protocol (ipp)" or "Internet
> Printing Protocol (http)".


Probably you forgot to enable remote access on the server. In the
server's /etc/cups/cupsd.conf put something like:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.0/24
</Location>

Something similar should already be there but commented out. Substitute
the correct address for your LAN of course. Look in /var/log/cups for
errors if you have more troubles.

But you're also making it too hard on the client. The easiest way with
clients that run CUPS is to get the server working first. Then set it
up to broadcast it's presence on the LAN. Finally, install CUPS on the
clients and let them find the server automatically.

In the server's /etc/cups/cupsd.conf:

BrowseAddress @LOCAL


On the client the defaults should work.


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      01-08-2005, 03:01 PM
Murphy wrote:

> I have tried various URLs without success and am now wondering if this is
> how I connect a workstation to a printer on another machine or does this
> machine need to be a print server or similar ?


Have you set Action=>Sharing on the desktop CUPS system?

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
Wayne
Guest
Posts: n/a

 
      01-08-2005, 06:53 PM
On Sat, 08 Jan 2005 10:47:54 +0000, or thereabouts Murphy spoke thusly:

> Newbie question...


> The printer is on a machine called "angus" and the printer name is
> "Laserjet4000"
>
> I have tried various URLs without success and am now wondering if this is
> how I connect a workstation to a printer on another machine or does this
> machine need to be a print server or similar ?


IIRC, the documentation with and about cups has some inconsistencies
(manual vs what you see in the config screen). I went through this and you
need to specify something like this:

ipp://angus:631/printers/Laserjet4000

The "printers" part of the URL is specified somewhere in the cups manual.
I think.

Wayne
Every major plan has a minor flaw
Every major flaw has a minor plan

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cups with A4 wants Letter printing Olaf Petzold Linux Networking 17 09-02-2006 07:10 AM
Printing with CUPS through SAMBA Hikaru79 Linux Networking 0 11-04-2004 02:20 AM
printing problem with samba and cups Sven Freihofer Linux Networking 3 04-22-2004 09:46 PM
CUPS printing problem Ryan Linux Networking 0 01-07-2004 05:16 PM
What are CUPS printing CGI files written? jm Linux Networking 1 07-12-2003 04:06 AM



1 2 3 4 5 6 7 8 9 10 11