Re: mysterious pdf file won't be printed, all others will!

2009-04-23 Thread Rodolfo Medina
Rodolfo Medina rodolfo.med...@gmail.com writes:

  In my sister's home directory there is a pdf file that won't respond to
  the `lp' command.  All others pdf files in the same directory behave
  all right, and the permissions are the same.  The only difference is
  the creation date, which is today wheras the other files are older.


Douglas A. Tutty dtu...@vianet.ca writes:

  1. Are you sure that it is a .pdf file?  run file on it.
 
  Yes, `file' says it is, and besides it can be viewed by xpdf.

  4. If the file opens with a pdf viewer, what happens if you try to
 print from the viewer?
 
  It won't be printed either!



 With the same printer, MS Windows Adobe Reader prints the file normally.



Johannes Wiedersich johan...@physik.blm.tu-muenchen.de writes:

 please first try

 $ pdftk your-funny.pdf output trytofix.pdf




$ pdftk fattura-cellulare.pdf output trytofix.pdf
Error: Failed to open output file:
   trytofix.pdf
   No output created.


$ pdftops fattura-cellulare.pdf
Error: Couldn't open PostScript file 'fattura-cellulare.ps'


This seems to suggest that the file is `ill'.  But then, why is it normally
printed with MS Windows Adobe Reader?

Thanks to all
Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Rodolfo Medina
On Tue, Apr 21, 2009 at 03:15:30PM +0100, Rodolfo Medina wrote:

 In my sister's home directory there is a pdf file that won't respond to the
 `lp' command.  All others pdf files in the same directory behave all right,
 and the permissions are the same.  The only difference is the creation date,
 which is today wheras the other files are older.
 
 The thing looks mysterious to me.
 
 Can anybody suggest any explanation/remedy?



Douglas A. Tutty dtu...@vianet.ca writes:

 1.Are you sure that it is a .pdf file?  run file on it.


Yes, `file' says it is, and besides it can be viewed by xpdf.



 2.Did she put that file there?

Yes, she did.



 4.If the file opens with a pdf viewer, what happens if you try to
   print from the viewer?


It won't be printed either!

Thanks
Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Norbert Zeh
On Tue, Apr 21, 2009 at 05:02:08PM +0100, Rodolfo Medina wrote:
 On Tue, Apr 21, 2009 at 03:15:30PM +0100, Rodolfo Medina wrote:
 
  In my sister's home directory there is a pdf file that won't respond to the
  `lp' command.  All others pdf files in the same directory behave all right,
  and the permissions are the same.  The only difference is the creation 
  date,
  which is today wheras the other files are older.
  
  The thing looks mysterious to me.
  
  Can anybody suggest any explanation/remedy?

What paper format does the file use?  I've had printers refuse to print
files that used odd page sizes (such as Springer online files).  If the
paper size is odd, there should be a way to scale it to letter size,
even though I don't remember how.

Cheers,
Norbert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Rodolfo Medina
Rodolfo Medina rodolfo.med...@gmail.com writes:

 In my sister's home directory there is a pdf file that won't respond to the
 `lp' command.  All others pdf files in the same directory behave all right,
 and the permissions are the same.  The only difference is the creation
 date, which is today wheras the other files are older.
 
 The thing looks mysterious to me.
 
 Can anybody suggest any explanation/remedy?



Douglas A. Tutty dtu...@vianet.ca writes:

 1.   Are you sure that it is a .pdf file?  run file on it.


 Yes, `file' says it is, and besides it can be viewed by xpdf.



 2.   Did she put that file there?

 Yes, she did.



 4.   If the file opens with a pdf viewer, what happens if you try to
  print from the viewer?


 It won't be printed either!



Norbert Zeh n...@cs.dal.ca writes:

 What paper format does the file use?  I've had printers refuse to print
 files that used odd page sizes (such as Springer online files).  If the
 paper size is odd, there should be a way to scale it to letter size,
 even though I don't remember how.



With the same printer, MS Windows Adobe Reader prints the file normally.

Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Johannes Wiedersich
Norbert Zeh wrote:
 On Tue, Apr 21, 2009 at 05:02:08PM +0100, Rodolfo Medina wrote:
 On Tue, Apr 21, 2009 at 03:15:30PM +0100, Rodolfo Medina wrote:

 In my sister's home directory there is a pdf file that won't respond to the
 `lp' command.  All others pdf files in the same directory behave all right,
 and the permissions are the same.  The only difference is the creation 
 date,
 which is today wheras the other files are older.

 The thing looks mysterious to me.

 Can anybody suggest any explanation/remedy?

Try

$ pdftk your-funny.pdf burst output testfix.pdf

which will try to 'repair' any errors of the file.

Another thing to try is to convert it to postscript and try to print that.

$ pdftops in.pdf

How was the pdf created (which program)? What (if any) messages do the
above commands yield?

 What paper format does the file use?  I've had printers refuse to print
 files that used odd page sizes (such as Springer online files).  If the
 paper size is odd, there should be a way to scale it to letter size,

Or A4, if you don't happen to live in one of the rare countries that
won't use ISO standards.

Cheers,
Johannes


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Lisi Reisz
On Tuesday 21 April 2009 18:16:10 Rodolfo Medina wrote:
 Rodolfo Medina rodolfo.med...@gmail.com writes:
  In my sister's home directory there is a pdf file that won't respond to
  the `lp' command.  All others pdf files in the same directory behave
  all right, and the permissions are the same.  The only difference is
  the creation date, which is today wheras the other files are older.
 
  The thing looks mysterious to me.
 
  Can anybody suggest any explanation/remedy?

 Douglas A. Tutty dtu...@vianet.ca writes:
  1. Are you sure that it is a .pdf file?  run file on it.
 
  Yes, `file' says it is, and besides it can be viewed by xpdf.
 
  2. Did she put that file there?
 
  Yes, she did.
 
  4. If the file opens with a pdf viewer, what happens if you try to
 print from the viewer?
 
  It won't be printed either!

 Norbert Zeh n...@cs.dal.ca writes:
  What paper format does the file use?  I've had printers refuse to print
  files that used odd page sizes (such as Springer online files).  If the
  paper size is odd, there should be a way to scale it to letter size,
  even though I don't remember how.

 With the same printer, MS Windows Adobe Reader prints the file normally.

 Rodolfo

In Acroread in Linux, when print is chosen, before clicking OK, is page 
scaling set to fit to printable area,  and choose paper source by pdf page 
size unticked (unchecked)?

If not, it might be worth trying to print with those two set like that.

HTH
Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread H.S.
Rodolfo Medina wrote:
 Rodolfo Medina rodolfo.med...@gmail.com writes:
 
 In my sister's home directory there is a pdf file that won't respond to the
 `lp' command.  All others pdf files in the same directory behave all right,
 and the permissions are the same.  The only difference is the creation
 date, which is today wheras the other files are older.

 The thing looks mysterious to me.

 Can anybody suggest any explanation/remedy?
 
 
 
 Douglas A. Tutty dtu...@vianet.ca writes:
 
 1.  Are you sure that it is a .pdf file?  run file on it.

 Yes, `file' says it is, and besides it can be viewed by xpdf.



 2.  Did she put that file there?
 Yes, she did.



 4.  If the file opens with a pdf viewer, what happens if you try to
 print from the viewer?

 It won't be printed either!
 
 
 
 Norbert Zeh n...@cs.dal.ca writes:
 
 What paper format does the file use?  I've had printers refuse to print
 files that used odd page sizes (such as Springer online files).  If the
 paper size is odd, there should be a way to scale it to letter size,
 even though I don't remember how.
 
 
 
 With the same printer, MS Windows Adobe Reader prints the file normally.
 
 Rodolfo
 
 

Well, you could try saving it as a PS file first, opening that PS file
in a gv (or any other PS file viewer) and see if you get the right
looking document. If yes, try printing from there. If no, then perhaps
it is a font problem.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Johannes Wiedersich
Johannes Wiedersich wrote:
 Try
 
 $ pdftk your-funny.pdf burst output testfix.pdf

Sorry: please first try

$ pdftk your-funny.pdf output trytofix.pdf

The burst option is to split it in single pages, in case there is only
one problematic page.

Then one should also use a placeholder for automatic numbering:

$ pdftk your-funny.pdf burst output trytofix%02d.pdf

(assuming your pdf has less than 100 pages ;-)  )

$ man pdftk

should list all the different options.

Cheers,
Johannes


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Jeff Chimene
 In my sister's home directory there is a pdf file that won't respond 
to the `lp' command. All others pdf files in the same directory behave 
all right, and the permissions are the  same. The only difference is 
the creation date, which is today wheras the other files are older. The 
thing looks mysterious to me.



 Can anybody suggest any explanation/remedy?


ISTR that PDF files can be locked against printing. Perhaps that's the case?




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: mysterious pdf file won't be printed, all others will!

2009-04-21 Thread Johannes Wiedersich
Jeff Chimene wrote:
 In my sister's home directory there is a pdf file that won't respond
 to the `lp' command. All others pdf files in the same directory behave
 all right, and the permissions are the  same. The only difference is
 the creation date, which is today wheras the other files are older. The
 thing looks mysterious to me.
 
  Can anybody suggest any explanation/remedy?
 
 ISTR that PDF files can be locked against printing. Perhaps that's the
 case?

That illness can be fixed by unchecking kpdf's Obey DRM limitations
option. 8-)

... as long as you don't require proprietary plugins to view the pdf...

Cheers,
Johannes


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org