LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-24-2006, 11:44 AM   #1
k.king
Member
 
Registered: Oct 2005
Posts: 51

Rep: Reputation: 15
some PDF/PS print with LP/LPR some do not ?


I want to print a PDF to a Laserjet 4050 from the command line

I can print some PDF's using

lp -d LJ4050 MyFile.PDF

But some other PDF's get a spool number, but never appear on the printer.

If I look in the CUPS log it says the print completed.

I've converted some of the PDF's to PS using XPDF's PDFTOPS and tried

lp -d LJ4050 MyFile.PS

and still it doesn't appear, yet cups log shows completed.

All of the ones that don't appear are viewable in Acrobat 7 or XPDF fine.

Could it be to do with version of PDF or PostScript file or the PPD file I'm using ?

Or some other configuration / setting.

Does anyone know what the "PS Binary Protocal" option in CUPS is / does ?
 
Old 03-25-2006, 05:38 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
What happens if you try to print the files from Acrobat or some other pdf viewer?
 
Old 03-25-2006, 06:39 AM   #3
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
They print fine if you do it manually (i.e. select menu options)

On windows you can invoke AcroRd32 with command line switches to automatically print.

On the other PDF's that lp can print, these load in AcroRd32 and print as expected.

But the PDF's in question load in AcroRd32 but do not print (automatically).

But I can then manually select Print from the menu's and they do.


The ps file I created with PDFTOPS is viewable under Ghostscript fine as well.
 
Old 03-25-2006, 07:00 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Way beyond my skill set.....it is sounding as if all pdfs are not the same. The autoprint thing in AcroRd32 is a real clue.

Research Project: Go find some docs on the pdf format. (You, not me.... )
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
lpr pdf printing (even pages upside down) Vismat Linux - General 1 01-26-2006 02:51 PM
gimp-print and lpr _ben_deb_ Linux - Hardware 0 02-11-2005 10:01 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
LPR - print to file or pdf? jefmmill Linux - General 0 05-10-2001 10:33 AM


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

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