LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-14-2011, 02:30 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
compare: cups-pdf vs. "print to file"


I need to make PDF files of all sorts of things other than Libre Office documents. For this I use the cups-pdf package. I can also use the print-to-file feature and select a PDF output file. I wonder if anyone can offer detailed comparison.

While I use PDF files, I don't know the jots and tittles of what is involved. Therefore other than a binary diff, I cannot evaluate the differences between the two resulting files. I know this much: NEITHER OUTPUT offers much in the way of configuration options, end-user interactions, and output flexibility. (I hope I'm simply missing some details that others can point out.)

Since cups-pdf is an APT package, while print-to-file seems built-in with cups itself, I wonder why both are available. Further I wonder if print-to-file is good enough that no longer need the separate package.

Cheers,
~~~ 0;-Dan
 
Old 08-14-2011, 09:39 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,375

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
In essence, a PDF file is an encapsulated post script file. All the configuration of the document is done by the program that prepared the original post script. So there is no need for configuration options to cups-pdf.
Where cups-pdf is very useful is in a networked environment. I have a virtual pdf printer queue served by CUPS using cups-pdf. This print queue is used by users of Windows machines as well as Linux machines. In our situation it is useful to have the PDF files created at a central location, rather than being spread across individual machines by using print to file.
 
Old 08-15-2011, 02:40 AM   #3
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Mint, WSL Ubuntu
Posts: 134

Rep: Reputation: 32
You made me curious, so I printed this page with "print to file" and with the PDF backend, and this is what I found: they look exactly the same, but the "print to file" PDF is much smaller (91KB vs 228KB) and its header says it's a "PDF-1.5" vs the "PDF-1.3" of the PDF backend.
This is with the default setting on debian squeeze, but you can configure some parameters in /etc/cups/cups-pdf.conf .
It's interesting to see that the config file says that the PDF version should be 1.4 by default...
 
Old 08-15-2011, 09:30 AM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by EmaRsk View Post
...
It's interesting to see that the config file says that the PDF version should be 1.4 by default...
And you didn't get either version -- v1.3 vs. v1.5 -- what a hoot.

----------------------------

If a PDF file is actually an encapsulated postscript file, then what are files that
have the extension EPS and how are they different. Why do both exist? Did EPS
happen before PDF existed or became defacto standard? I believe that ghostscript
and ghostview both continue to talk about EPS files.

Cheers,
~~~ 0;-Dan
 
Old 08-15-2011, 09:56 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,375

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
Sorry for the confusion. That was my loose terminology, (also seen here! http://en.wikipedia.org/wiki/Portable_Document_Format). An EPS file has a particular definition. http://en.wikipedia.org/wiki/Encapsulated_PostScript. I was trying to convey the idea that the postscript in a PDF file is part of a larger container.
 
  


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
Are there other options for "print to pdf" smarter than CUPS_PDF? SaintDanBert Linux - Desktop 10 12-30-2010 09:41 AM
[SOLVED] Firefox print does only shows lpr and "to file", not other printers configged in cups deadeyes Linux - Desktop 3 09-29-2009 09:33 AM
Print a PDF file using CUPS (Red Hat Linux) Paul Sage Linux - Newbie 1 06-15-2009 10:40 AM
cups halts at "print test" jarhead *BSD 2 09-13-2003 08:28 PM
Cups & gimp-print "No pages found!" Silent1 Linux - Hardware 2 01-17-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:03 AM.

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