Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2009, 08:51 AM   #1
Registered: Oct 2003
Posts: 78

Rep: Reputation: 15
Working of CUPS


I am using CUPS on my FC8 machine.
I have attached a HP LaserJet P2035n printer using a USB cable.

I am able to successfully print a .ps file, a text file, a .png file etc.

I have gone through some documents on how CUPS works but still not clear about it.
I read about postscript, gs (interpreter for postscript), printer drivers, printers that understand postscript etc.

I would like to know :
1. when I give "lpr" command to print a file e.g. image.png then what different processing is carried out on this file?
2. Is the file converted to postscript format first and then given to printer?
3. Is it required to convert a file to a postscript format if it is already a .ps file?
4. Is a printer driver(hpijs, hplip) used if we convert a file to a postscript?
5. What is the role of "gs"? Does it play any role in printing?
6. If conversion to postscript is required then at what stage and who does that (CUPS, gs)?
7. when are the commands ps2ascii, ps2pdf, ps2ps etc. are used?

I will be very much thankful if anybody could clear these doubts?

Old 05-15-2009, 09:35 AM   #2
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 285

Rep: Reputation: 32
All these answers are at
Old 05-15-2009, 05:30 PM   #3
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Try from the site the direct download of the ppd for your model.

Something may not have installed properly.

Should be in the Gutenburg area. Or, foomatic.


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
CUPS server not working The_Nerd Linux - Software 1 03-30-2008 05:46 PM
CUPS not working with OfficeJetG55xi, what can be done? mitchell7man Linux - Hardware 3 04-26-2007 11:13 PM
Cups server not working rossjman1 Debian 11 02-28-2005 05:00 PM
Cannot get CUPS Working! klatu Slackware 3 03-07-2004 06:59 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 08:25 AM

All times are GMT -5. The time now is 11:22 PM.

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