Re: Fedora makes bad pdf files?

2008-09-23 Thread Mike Burger

> Dear Linux Using Friends:
>
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.
>
> My teaching assistant first discovered this while browsing the web.  A
> variety of pdf created by print to file were viewable in evince, but
> not acrobat.  SInce most students are using acrobat on Windows or
> Macintosh, this created a problem.
>
> In my Ubunutu Linux (Hardy Herron) system, the error message I see
> when I try to open the file is "There was an error processing a page.
> Error while parsing a Form, Type 3 font, or Pattern."  I have not seen
> the Microsoft Acroboat error with my own eyes, but the students
> complain it says "not a valid pdf file."
>
> In one example, the error says "Adobe Reader could not open 'file.pdf'
> because it is either not a supported file type or becausethefile has
> been damaged (for example, it was sent as an email attachment and
> wasn't correctly decoded)".  However, the EXACT same file can be
> viewed with Evince:
>
> http://pj.freefaculty.org/linux/file.pdf
>
> I'm posting a copy of a bad pdf file that was created by opening it in
> acrobat reader, and using save-a-copy:
>
> http://pj.freefaculty.org/linux/4145321-corrupt.pdf
>
> Sometimes I've had luck converting files pdf to ps and pack to pdf
> with pdftops and ps2pdf14, but it does not always work.  The end
> result has some of the heading fonts that are legible, but there are
> just fuzzy blocks where the actual text is supposed to be.
>
> I have seen the same problem happen when users open a pdf file in
> Firefox, which then opens the Acrobat for Linux plugin, and when the
> "save as" option is used, it creates an illegible pdf.  I'm quite
> baffled why that happens, because so far as I can tell, the pdf that
> was saved should not be changed by acrobat reader.
>
> If you have any ideas, please let me know.

Paul,

To my knowledge, Firefox doesn't save/export directly to PDF.  When you
"print to file", you're saving a postscript file, which usually has a .ps
extension...you can name it filename.pdf all you like, but naming it with
a pdf extension does not make it a PDF.

The reason evince reads the file is because evince understands the
postscript file format.

You will need to run that output file through ps2pdf(14?), first, to
actually convert it from postscript to pdf.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

[EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Dave Burns
On Tue, Sep 23, 2008 at 11:23 AM, Mike Burger <[EMAIL PROTECTED]> wrote:
> To my knowledge, Firefox doesn't save/export directly to PDF.

Time to update your knowledge. In firefox 3 on fc9, there is a radio
button in the print to file dialog that lets you choose either ps or
pdf.

>When you
> "print to file", you're saving a postscript file, which usually has a .ps
> extension...you can name it filename.pdf all you like, but naming it with
> a pdf extension does not make it a PDF.

When I print to file with the pdf radio button chosen, acroread can
open the resulting file no problem. OP did not specify what versions
of firefox and fedora he was using, and didn't mention the radio
buttons, so it's not clear whether he is accidentally generating ps or
broken pdf or what.

Dave

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Michael Schwendt
On Tue, 23 Sep 2008 15:51:26 -0500, Paul Johnson wrote:

> Dear Linux Using Friends:
> 
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.
> 
> My teaching assistant first discovered this while browsing the web.  A
> variety of pdf created by print to file were viewable in evince, but
> not acrobat.  SInce most students are using acrobat on Windows or
> Macintosh, this created a problem.
> 
> In my Ubunutu Linux (Hardy Herron) system, the error message I see
> when I try to open the file is "There was an error processing a page.
> Error while parsing a Form, Type 3 font, or Pattern."  I have not seen
> the Microsoft Acroboat error with my own eyes, but the students
> complain it says "not a valid pdf file."
> 
> In one example, the error says "Adobe Reader could not open 'file.pdf'
> because it is either not a supported file type or becausethefile has
> been damaged (for example, it was sent as an email attachment and
> wasn't correctly decoded)".  However, the EXACT same file can be
> viewed with Evince:
> 
> http://pj.freefaculty.org/linux/file.pdf

That's not a PDF file, however. It's PostScript. Display it with
"less" to see.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Ed Greshko
Paul Johnson wrote:
> Dear Linux Using Friends:
>
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.
>
> My teaching assistant first discovered this while browsing the web.  A
> variety of pdf created by print to file were viewable in evince, but
> not acrobat.  SInce most students are using acrobat on Windows or
> Macintosh, this created a problem.
>
> In my Ubunutu Linux (Hardy Herron) system, the error message I see
> when I try to open the file is "There was an error processing a page.
> Error while parsing a Form, Type 3 font, or Pattern."  I have not seen
> the Microsoft Acroboat error with my own eyes, but the students
> complain it says "not a valid pdf file."
>
> In one example, the error says "Adobe Reader could not open 'file.pdf'
> because it is either not a supported file type or becausethefile has
> been damaged (for example, it was sent as an email attachment and
> wasn't correctly decoded)".  However, the EXACT same file can be
> viewed with Evince:
>
> http://pj.freefaculty.org/linux/file.pdf
>   
This file is a postscript file

[EMAIL PROTECTED] ~]$ file file.pdf
file.pdf: PostScript document text conforming at level 3.0

After a ps2pdf conversion it opens just fine


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Antonio Olivares
> > > Dear Linux Using Friends:
> > > 
> > > I've run into a trouble that Firefox users
> who
> > "print to file" and
> > > create pdf output generate files that acroread
> cannot
> > open.
> > > 
> > > My teaching assistant first discovered this while
> > browsing the web.  A
> > > variety of pdf created by print to file were
> viewable
> > in evince, but
> > > not acrobat.  SInce most students are using
> acrobat on
> > Windows or
> > > Macintosh, this created a problem.
> > > 
> > > In my Ubunutu Linux (Hardy Herron) system, the
> error
> > message I see
> > > when I try to open the file is "There was an
> > error processing a page.
> > > Error while parsing a Form, Type 3 font, or
> > Pattern."  I have not seen
> > > the Microsoft Acroboat error with my own eyes,
> but the
> > students
> > > complain it says "not a valid pdf
> file."
> > > 
> > > In one example, the error says "Adobe Reader
> > could not open 'file.pdf'
> > > because it is either not a supported file type or
> > becausethefile has
> > > been damaged (for example, it was sent as an
> email
> > attachment and
> > > wasn't correctly decoded)".  However,
> the
> > EXACT same file can be
> > > viewed with Evince:
> > > 
> > > http://pj.freefaculty.org/linux/file.pdf
> > 
> > That's not a PDF file, however. It's
> PostScript.
> > Display it with
> > "less" to see.
> > 
> > -- 
> 
> Evince opens both files up, but the first has the second
> page not show properly.  If the files are ps files disguised
> as PDF, then evince will open them, but acrobat won't. 
> This has happened to me.  Solution might be a
> # yum install cups-pdf
> 
> and then print to pdf using cups-pdf and the pdf should be
> viewable in Acrobat Reader.
> 
> Regards,
> 
> Antonio 
> 
> 
>   
> 
> -- 

BTW,

I converted the first file using cups-pdf in Fedora and it should work on 
Acrobat Reader if you want to verify I posted it here:

>From here:
http://www.computerweekly.com/Articles/2007/02/26/222036/is-e-voting-a-threat-to-our-democracy.htm

I got a printer friendly version and I printed to pdf using cups-pdf directly 
from Firefox 

http://www.geocities.com/olivares14031/Is_e-voting_a_threat_to_our_democracy26_Feb_2007___ComputerWeekly.pdf

Regards,

Antonio 


  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Mikkel L. Ellertson
Paul Johnson wrote:
> Dear Linux Using Friends:
> 
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.
> 
> My teaching assistant first discovered this while browsing the web.  A
> variety of pdf created by print to file were viewable in evince, but
> not acrobat.  Since most students are using acrobat on Windows or
> Macintosh, this created a problem.
> 
<---[snip]>
> If you have any ideas, please let me know.
> 
You would be better off installing the cups-pdf extension, and then
use that as your printer.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: Fedora makes bad pdf files?

2008-09-23 Thread Antonio Olivares
--- On Tue, 9/23/08, Michael Schwendt <[EMAIL PROTECTED]> wrote:

> From: Michael Schwendt <[EMAIL PROTECTED]>
> Subject: Re: Fedora makes bad pdf files?
> To: fedora-list@redhat.com
> Date: Tuesday, September 23, 2008, 2:53 PM
> On Tue, 23 Sep 2008 15:51:26 -0500, Paul Johnson wrote:
> 
> > Dear Linux Using Friends:
> > 
> > I've run into a trouble that Firefox users who
> "print to file" and
> > create pdf output generate files that acroread cannot
> open.
> > 
> > My teaching assistant first discovered this while
> browsing the web.  A
> > variety of pdf created by print to file were viewable
> in evince, but
> > not acrobat.  SInce most students are using acrobat on
> Windows or
> > Macintosh, this created a problem.
> > 
> > In my Ubunutu Linux (Hardy Herron) system, the error
> message I see
> > when I try to open the file is "There was an
> error processing a page.
> > Error while parsing a Form, Type 3 font, or
> Pattern."  I have not seen
> > the Microsoft Acroboat error with my own eyes, but the
> students
> > complain it says "not a valid pdf file."
> > 
> > In one example, the error says "Adobe Reader
> could not open 'file.pdf'
> > because it is either not a supported file type or
> becausethefile has
> > been damaged (for example, it was sent as an email
> attachment and
> > wasn't correctly decoded)".  However, the
> EXACT same file can be
> > viewed with Evince:
> > 
> > http://pj.freefaculty.org/linux/file.pdf
> 
> That's not a PDF file, however. It's PostScript.
> Display it with
> "less" to see.
> 
> -- 

Evince opens both files up, but the first has the second page not show 
properly.  If the files are ps files disguised as PDF, then evince will open 
them, but acrobat won't.  This has happened to me.  Solution might be a
# yum install cups-pdf

and then print to pdf using cups-pdf and the pdf should be viewable in Acrobat 
Reader.

Regards,

Antonio 


  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-23 Thread Aldo Foot
On Tue, Sep 23, 2008 at 1:51 PM, Paul Johnson <[EMAIL PROTECTED]> wrote:
> Dear Linux Using Friends:
>
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.

I'm running TB v2.0.015. I loaded a PDF add-on to print to pdf.
https://addons.mozilla.org/en-US/firefox/search?q=PDF+Download&cat=all
However. I've found that Cups-pdf works perfectly well.

BTW -there's a utility for Windows PC called Doro PDF -save lots of paper
by converting any doc to pdf.

~af

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora makes bad pdf files?

2008-09-24 Thread Aaron Konstam
On Tue, 2008-09-23 at 15:51 -0500, Paul Johnson wrote:
> Dear Linux Using Friends:
> 
> I've run into a trouble that Firefox users who "print to file" and
> create pdf output generate files that acroread cannot open.
It would be bettere to install rpm cups-pdf and then print to the
printer: Cups-Pdf.
> 
> My teaching assistant first discovered this while browsing the web.  A
> variety of pdf created by print to file were viewable in evince, but
> not acrobat.  SInce most students are using acrobat on Windows or
> Macintosh, this created a problem.
> 
> In my Ubunutu Linux (Hardy Herron) system, the error message I see
> when I try to open the file is "There was an error processing a page.
> Error while parsing a Form, Type 3 font, or Pattern."  I have not seen
> the Microsoft Acroboat error with my own eyes, but the students
> complain it says "not a valid pdf file."
> 
> In one example, the error says "Adobe Reader could not open 'file.pdf'
> because it is either not a supported file type or becausethefile has
> been damaged (for example, it was sent as an email attachment and
> wasn't correctly decoded)".  However, the EXACT same file can be
> viewed with Evince:
> 
> http://pj.freefaculty.org/linux/file.pdf
> 
> I'm posting a copy of a bad pdf file that was created by opening it in
> acrobat reader, and using save-a-copy:
> 
> http://pj.freefaculty.org/linux/4145321-corrupt.pdf
> 
> Sometimes I've had luck converting files pdf to ps and pack to pdf
> with pdftops and ps2pdf14, but it does not always work.  The end
> result has some of the heading fonts that are legible, but there are
> just fuzzy blocks where the actual text is supposed to be.
> 
> I have seen the same problem happen when users open a pdf file in
> Firefox, which then opens the Acrobat for Linux plugin, and when the
> "save as" option is used, it creates an illegible pdf.  I'm quite
> baffled why that happens, because so far as I can tell, the pdf that
> was saved should not be changed by acrobat reader.
> 
> If you have any ideas, please let me know.
> 
> -- 
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
> 
--
===
You will receive a legacy which will place you above want.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines