On Tue, 07 Nov 2006 09:20:22 +1100
Ross Johnson <[EMAIL PROTECTED]> dijo:
> I've also had problems getting PDF readers to show certain fonts (e.g. 
> some barcodes) in Form fields etc. using the inbuilt OOo PDF export 
> while "printing" it to a file via Ghostscript's "pdfwrite" device worked 
> fine.
> On Linux, use the OOo Printer Admin app (spadmin) to set up a "PDF 
> Export" printer using the following command in the printer properties:
> 
> /usr/bin/gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="(OUTFILE)" -
> 
> I can't remember if this is setup as standard in OOo on Linux (it used 
> to be), or if I've inherited a really old config.

I have Ghostscript installed on my Linux computer. I don't have
spadmin, and can't find it to install it. But I printed the form from
Writer to test_form.ps (using a PostScript Level 2 printer that I own
and have installed). Then I edited the above line to:

/usr/bin/gs -q -dNOPAUSE -sDEVICE=pdfwrite 
-sInputFile="/home/jjj/Phonetics/test_form.ps" 
-sOutputFile="/home/jjj/Phonetics/test_form3.pdf"

And tried it. It created test_form3.pdf in the Phonetics folder all
right, but it was a zero-byte file. Not sure where to go from here. 
> >I am going to see if I can
> >figure out how to install a PostScript print-to-file driver on my Linux
> >computer. This should give me a PostScript print file. I can then
> >upload that file to Adobe and use their online PDF generator. 

This did not work. I took the test_form.ps file, uploaded it, and
Adobe's online PDF creator happily converted it to a PDF. The resulting
PDF looks great, but it is not an editable PDF. As I was uploading it
there was an option to export it in Acrobat 3, 4 or 5 format. I chose
5, but I think that's the problem. I think you need Acrobat 7 or later
to create an editable PDF file. Adobe probably didn't want the online
generator to make editable PDF files because of DRM issues or something.

Anyway, it looks like my next option is to see if I can get Ghostview
to work. Failing that, I'm going to have to buy Acrobat 7 or 8, and
install it with quemu or vmware or win4lin or something. That is,
unless the OOo folx have fixed the bug that causes the font not to be
embedded for the controls in the form.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to