Networking Forums

Networking Forums > Computer Networking > Linux Networking > CUPS

Reply
 
 
Lieven
Guest
Posts: n/a

 
      11-09-2004, 08:44 PM
I read documentation about CUPS but I still don't really get the hang of it.

I go to localhost:631 in my browser:
To add a printer I must fill in the name, location and description of the
printer. But I'm not sure what these values should be.
I'm a bit confused with the notion of the CUPS server I think. My printer is
connected directly to the router, so how do my CUPS server and router on
one hand and my CUPS client en CUPS server on the other hand communicate
with eachother. I don't mind a bit of reading but I can't distill this
information from the various documentation pages.
 
Reply With Quote
 
 
 
 
Rod Smith
Guest
Posts: n/a

 
      11-10-2004, 02:31 PM
In article <41913a1c$0$32273$(E-Mail Removed)>,
Lieven <(E-Mail Removed)> writes:
>
> I read documentation about CUPS but I still don't really get the hang of it.
>
> I go to localhost:631 in my browser:
> To add a printer I must fill in the name, location and description of the
> printer. But I'm not sure what these values should be.


The name is what the printer will be called. For instance, if the name is
"epson", you'd print to the printer from the command line like this:

lpr -Pepson foo.ps

The location and description strings are purely descriptive; they're
associated with the printer's entry in the CUPS configuration Web page,
and I believe they're passed to certain CUPS-aware clients, which may
choose to show the field to users. Otherwise, they aren't really used for
anything, AFAIK.

> I'm a bit confused with the notion of the CUPS server I think. My printer is
> connected directly to the router, so how do my CUPS server and router on
> one hand and my CUPS client en CUPS server on the other hand communicate
> with eachother. I don't mind a bit of reading but I can't distill this
> information from the various documentation pages.


From your description, I'll assume you've got a router with a built-in
print server. It's the print server side of the device that handles the
printer; the fact that the box is also a router is irrelevant to this
matter.

In any event, when you configure CUPS, you'll tell it to use a network
printer, specifying a protocol that your print server box supports.
(Chances are it supports SMB/CIFS and/or LPD, but you'll have to check
its documentation to be sure. There's a remote chance it supports
something proprietary, in which case you'll have to do some more research
and maybe even replace your hardware.) Thereafter, when a local Linux
program prints, it either calls CUPS directly or uses another program
(like lpr) to do so. CUPS then has the file to be printed and, under most
circumstances, passes it through various programs to convert it to a
format the printer can understand. Once that's done, CUPS sends the file
to the print server using whatever protocol you configured when you set
up the queue. The print server then sends the print job down the line to
the printer.

--
Rod Smith, (E-Mail Removed)
http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking
 
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 printer hangs after inactivity, requires CUPS restart Frnak McKenney Linux Networking 0 07-28-2005 11:56 PM
cups-lpd 1.1.x vs.a Win XP Home bug Frantisek Rysanek Linux Networking 0 01-13-2005 02:56 PM
Cups with more than one network? Sensei Linux Networking 0 10-07-2004 03:14 PM
Cups Juerg Schwarz Linux Networking 3 12-07-2003 04:16 PM
Win2K to CUPS no SMB susserj Linux Networking 0 06-27-2003 02:40 PM



1 2 3 4 5 6 7 8 9 10 11