Alister Hood | 1 Apr 2010 01:05

Re: PDFedit and IRS form 1040

Rather than saving from Foxit Reader you could try just printing it to pdf again.  I presume Ubuntu has a pdf
printer set up...?

Alister

-----Original Message-----
From: NS [mailto:nospam@...]
Sent: Wed 3/31/2010 8:56 PM
To: pdfedit-support@...
Subject: Re: [Pdfedit-support] PDFedit and IRS form 1040

Hi Joe,

I haven't tried this particular IRS 1040 PDF, but I've used OpenOffice
w/ the PDF Import extension on some other IRS PDFs and it worked well.

Best regards,
Nick

On Tue, 2010-03-30 at 12:01 -0700, Joseph Thayer wrote:

> Has anyone else seen the rather bizarre behavior where PDFedit simply dies 
> rather than open this document?  
> 
> Using Karmic, and other PDFs open just fine.  Okular is unwilling to annotate 
> the document, for some reason, as well.  
> 
> Seems to be true of some of the associated IRS docs, as well.  
> 
> Making an annotation using Foxit Reader under WINE and saving the result seems 
(Continue reading)

Joseph Thayer | 1 Apr 2010 20:31
Picon

Re: PDFedit and IRS form 1040

On Wednesday 31 March 2010 12:56:54 am NS wrote:
> Hi Joe,
> 
> I haven't tried this particular IRS 1040 PDF, but I've used OpenOffice
> w/ the PDF Import extension on some other IRS PDFs and it worked well.
> 
> Best regards,
> Nick
> 
>>snip<<> 

Thanks for your reply, Nick.  I had tried OO, with no luck, but after your msg 
I tried again.  The results were strange.  It wouldn't open the 1040, and in 
fact wouldn't open the Foxit-saved version, as well.  Nor would it open the 
.pdf that I had modified with PDFEdit.  It would open the versions of pages 
from the pdftk 'burst' operation on the Pub571 (to use the worksheets) but not 
the PDFEdit-ed versions (worksheet entries).  It would open 1040sb, and some 
other such form documents, but not all of them.  When I tried it on the 
instructions for 1040, it finally did open it, but it took over ten minutes to 
do it (Athlon 64 3000+, 2GB, Kubuntu9.10).  On most of these that did open, 
the formatting was seriously mucked-up, making them hard to read.  I didn't 
try any mods.

Incidentally, a better work-around than before seems to be to use pdftk to 
split the documents into pages and then use PDFEdit on them.  Faster, no 
problems with the bright-red Foxit Evaluation Copy watermarking.

Still puzzled as to what's going on.

Thanks again,
(Continue reading)

Joseph Thayer | 1 Apr 2010 20:34
Picon

Re: PDFedit and IRS form 1040

On Wednesday 31 March 2010 04:05:54 pm Alister Hood wrote:
> Rather than saving from Foxit Reader you could try just printing it to pdf
>  again.  I presume Ubuntu has a pdf printer set up...?
> 
> Alister
> 
>>snip, snip<<

Thanks for your reply.  I haven't tried printing directly from Foxit because I 
don't have a printer hooked up to this computer.  Printer is on my old Windows 
98 machine, and requires a transfer medium, requiring saving.  You don't want 
to hear why this is the way it is.  I can't recall if I ever tried printing 
directly from Foxit on that machine, though I think I might have, back in the 
distant past.  Probably did save it first, though, since Foxit was much more 
unstable on that than it is running under WINE on any version of Ubuntu I've 
used.

Thanks for the suggestion; I'm mostly curious if anyone has any idea of why 
this is happening.

Thanks,
Joe

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
(Continue reading)

Michal Hocko | 1 Apr 2010 21:21
Picon

Re: PDFedit and IRS form 1040

Hi,

On Tue, Mar 30, 2010 at 12:01:08PM -0700, Joseph Thayer wrote:
> Has anyone else seen the rather bizarre behavior where PDFedit simply dies 
> rather than open this document?  

Could you send me some examples of such documents? I can look at them
and check what is going on. It might be a bug from document parsing or
non standard format.

> 
> Using Karmic, and other PDFs open just fine.  Okular is unwilling to annotate 
> the document, for some reason, as well.  

Okular uses xpdf code AFAIK and this is the same with pdfedit. So I
guess that documents are not following PDF Specification in some way.

> 
> Seems to be true of some of the associated IRS docs, as well.  
> 
> Making an annotation using Foxit Reader under WINE and saving the result seems 
> (after subsequent saving in Okular) to render the document readable to 
> PDFedit, but of course introduces watermarks.
> 
> If anyone has any insight into what's going on here, and a better solution 
> than the kludge I outlined above, I'd appreciate hearing about it.

It might be also good to report this in our bug tracking system:
http://pdfedit.petricek.net/bt/main_page.php

(Continue reading)

Alister Hood | 6 Apr 2010 06:49

Re: PDFedit and IRS form 1040

I was actually talking about printing to a new PDF file, not to paper...
if you don't know what that means I'm guessing Ubuntu doesn't have a PDF
printer set up.

________________________________________________
Alister Hood

-----Original Message-----
From: Joseph Thayer [mailto:joseph.thayer@...] 
Sent: Friday, 2 April 2010 7:35 a.m.
To: pdfedit-support@...
Subject: Re: [Pdfedit-support] PDFedit and IRS form 1040

On Wednesday 31 March 2010 04:05:54 pm Alister Hood wrote:
> Rather than saving from Foxit Reader you could try just printing it to
pdf
>  again.  I presume Ubuntu has a pdf printer set up...?
> 
> Alister
> 
>>snip, snip<<

Thanks for your reply.  I haven't tried printing directly from Foxit
because I 
don't have a printer hooked up to this computer.  Printer is on my old
Windows 
98 machine, and requires a transfer medium, requiring saving.  You don't
want 
to hear why this is the way it is.  I can't recall if I ever tried
printing 
(Continue reading)

Joseph Thayer | 6 Apr 2010 07:32
Picon

Re: PDFedit and IRS form 1040

On Monday 05 April 2010 09:49:53 pm Alister Hood wrote:
> I was actually talking about printing to a new PDF file, not to paper...
> if you don't know what that means I'm guessing Ubuntu doesn't have a PDF
> printer set up.
> 
> ________________________________________________
> Alister Hood
> 
>>snip,snip<<
>>> 
GhostScript is available on Linux, and specifically in Ubuntu, and will 
essentially do what you are talking about.  

I did indeed use that route when I was working in Win98, but it was 
cumbersome, and relied on Adobe Reader and occasionally, Foxit, as well as the 
so-called PDF printer driver.  I tried several such drivers and they all 
worked in a more or less kludgy fashion, but one or two were not bad and 
generally provided collating and splitting functions, inclusion of image files 
and the like.  

My issue is that I need to make *annotations* on existing PDF documents, and 
none of those drivers had this ability.  Previously, I tried it with GS, but 
found it impractical.  

With pdftk, I get all necessary collating and splitting, and with PDFedit, not 
only some of these functions, but also annotation.  I really don't see what 
advantage you are suggesting printing to a PDF file would provide here.

Joe

(Continue reading)

Alister Hood | 8 Apr 2010 00:26

Re: PDFedit and IRS form 1040

I wasn't suggesting that you could directly annotate it by printing to a new pdf, I was just wondering if the
processing by ghostscript would produce a pdf that pdfedit can open.

Alister

________________________________

From: Joseph Thayer [mailto:joseph.thayer@...]
Sent: Tue 6/04/2010 5:32 p.m.
To: pdfedit-support@...
Subject: Re: [Pdfedit-support] PDFedit and IRS form 1040

On Monday 05 April 2010 09:49:53 pm Alister Hood wrote:
> I was actually talking about printing to a new PDF file, not to paper...
> if you don't know what that means I'm guessing Ubuntu doesn't have a PDF
> printer set up.
>
> ________________________________________________
> Alister Hood
>
>>snip,snip<<
>>>
GhostScript is available on Linux, and specifically in Ubuntu, and will
essentially do what you are talking about. 

I did indeed use that route when I was working in Win98, but it was
cumbersome, and relied on Adobe Reader and occasionally, Foxit, as well as the
so-called PDF printer driver.  I tried several such drivers and they all
worked in a more or less kludgy fashion, but one or two were not bad and
generally provided collating and splitting functions, inclusion of image files
(Continue reading)

Joseph Thayer | 8 Apr 2010 01:23
Picon

Re: PDFedit and IRS form 1040

On Wednesday 07 April 2010 03:26:03 pm Alister Hood wrote:
> I wasn't suggesting that you could directly annotate it by printing to a
>  new pdf, I was just wondering if the processing by ghostscript would
>  produce a pdf that pdfedit can open.
> 
> Alister
> 
> ________________________________
<<snip>>

Ah, I see.  Well, pdftk does that quite efficiently, as well, and my previous 
use of GS doesn't incline me to experiment!

Thanks,
Joe

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Orion Poplawski | 14 Apr 2010 22:44
Favicon
Gravatar

Re: PDFedit and IRS form 1040

> On Tue, 2010-03-30 at 12:01 -0700, Joseph Thayer wrote:
>> Has anyone else seen the rather bizarre behavior where PDFedit simply dies
>> rather than open this document?
>>
>> Using Karmic, and other PDFs open just fine.  Okular is unwilling to annotate
>> the document, for some reason, as well.
>>
>> Seems to be true of some of the associated IRS docs, as well.
>>
>> Making an annotation using Foxit Reader under WINE and saving the result seems
>> (after subsequent saving in Okular) to render the document readable to
>> PDFedit, but of course introduces watermarks.
>>
>> If anyone has any insight into what's going on here, and a better solution
>> than the kludge I outlined above, I'd appreciate hearing about it.

I see it with 0.4.3 on Fedora 12:

$ pdfedit ~/Desktop/f1040.pdf
pdfedit: xrefwriter.cc:868: size_t 
pdfobjects::XRefWriter::getRevisionSize(unsigned int, bool) const: 
Assertion `revStart>prevEnd' failed.
Aborted (core dumped)

But it opens fine with 0.4.4.1

--

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
(Continue reading)

Joseph Thayer | 14 Apr 2010 23:09
Picon

Re: PDFedit and IRS form 1040

On Wednesday 14 April 2010 01:44:49 pm Orion Poplawski wrote:
> > On Tue, 2010-03-30 at 12:01 -0700, Joseph Thayer wrote:
> >> Has anyone else seen the rather bizarre behavior where PDFedit simply
> >> dies rather than open this document?
> >>
> >> Using Karmic, and other PDFs open just fine.  Okular is unwilling to
> >> annotate the document, for some reason, as well.
> >>
> >> Seems to be true of some of the associated IRS docs, as well.
> >>
> >> Making an annotation using Foxit Reader under WINE and saving the result
> >> seems (after subsequent saving in Okular) to render the document
> >> readable to PDFedit, but of course introduces watermarks.
> >>
> >> If anyone has any insight into what's going on here, and a better
> >> solution than the kludge I outlined above, I'd appreciate hearing about
> >> it.
> 
> I see it with 0.4.3 on Fedora 12:
> 
> $ pdfedit ~/Desktop/f1040.pdf
> pdfedit: xrefwriter.cc:868: size_t
> pdfobjects::XRefWriter::getRevisionSize(unsigned int, bool) const:
> Assertion `revStart>prevEnd' failed.
> Aborted (core dumped)
> 
> But it opens fine with 0.4.4.1
> 
Thanks.  Will have a look at 0.4.4.1.

(Continue reading)


Gmane