• pdf definition

    From Hul Tytus@21:1/5 to All on Sun Sep 27 23:59:34 2020
    Anyone know where to find a technical definition of PDF? I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps
    to PDF format is the current trouble. Or maybe text to PDF directly. There is no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Hul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From ken@21:1/5 to All on Mon Sep 28 07:54:20 2020
    In article <rkr916$b8j$1@reader1.panix.com>, ht@panix.com says...

    Anyone know where to find a technical definition of PDF?

    The PDF Reference Manual is the techincal definition of PDF. Its now an
    ISO specification which costs (IIRC) 250 CHF, however the 1.7 version
    was published fro free by Adobe and is still available from their web
    site. You'll have to Google for it, they move it around frequently.

    Unless you need the absolute newset features (which seems unlikely) the
    free version is quite adequate from a technical perspective, easier to
    read and more useful (for example it has an index, which the ISO
    specification lacks)

    I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps to PDF format is the current trouble. Or maybe text to PDF directly. There is no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Use Ghostscript ?

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeffrey H. Coffield@21:1/5 to Hul Tytus on Mon Sep 28 10:13:33 2020
    On 09/27/2020 04:59 PM, Hul Tytus wrote:
    Anyone know where to find a technical definition of PDF? I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps to PDF format is the current trouble. Or maybe text to PDF directly. There is no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Hul


    Ghostscript will work if you can accept the speed.

    If you know Java then Apache PDFBox at https://pdfbox.apache.org/ will
    produce PDFs much faster.

    Jeff Coffield
    www.digitalsynergyinc.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hul Tytus@21:1/5 to ken on Mon Sep 28 22:54:27 2020
    Ken - google found the version 1.7 manual. Thanks again.

    Hul

    ken <ken@spamcop.net> wrote:
    In article <rkr916$b8j$1@reader1.panix.com>, ht@panix.com says...

    Anyone know where to find a technical definition of PDF?

    The PDF Reference Manual is the techincal definition of PDF. Its now an
    ISO specification which costs (IIRC) 250 CHF, however the 1.7 version
    was published fro free by Adobe and is still available from their web
    site. You'll have to Google for it, they move it around frequently.

    Unless you need the absolute newset features (which seems unlikely) the
    free version is quite adequate from a technical perspective, easier to
    read and more useful (for example it has an index, which the ISO specification lacks)

    I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps
    to PDF format is the current trouble. Or maybe text to PDF directly. There is
    no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Use Ghostscript ?

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hul Tytus@21:1/5 to Ken on Mon Sep 28 22:41:50 2020
    Thanks Ken. The 1.7 version should be plenty. The hope is to make the
    text to pdf code as small as possible; Ghostscript's not a giant but close.

    Hul


    Ken <ken@spamcop.net> wrote:
    In article <rkr916$b8j$1@reader1.panix.com>, ht@panix.com says...

    Anyone know where to find a technical definition of PDF?

    The PDF Reference Manual is the techincal definition of PDF. Its now an
    ISO specification which costs (IIRC) 250 CHF, however the 1.7 version
    was published fro free by Adobe and is still available from their web
    site. You'll have to Google for it, they move it around frequently.

    Unless you need the absolute newset features (which seems unlikely) the
    free version is quite adequate from a technical perspective, easier to
    read and more useful (for example it has an index, which the ISO specification lacks)

    I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps
    to PDF format is the current trouble. Or maybe text to PDF directly. There is
    no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Use Ghostscript ?

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hul Tytus@21:1/5 to Jeffrey H. Coffield on Mon Sep 28 22:44:50 2020
    Thanks for the suggestions. The Java version might be ok for a
    translation to c.

    Hul

    Jeffrey H. Coffield <jeffrey@digitalsynergyinc.com> wrote:


    On 09/27/2020 04:59 PM, Hul Tytus wrote:
    Anyone know where to find a technical definition of PDF? I need to convert
    a text file to ps and then to pdf. Text to ps is simple and complete. The ps
    to PDF format is the current trouble. Or maybe text to PDF directly. There is
    no need for compression, so, if that can be omitted it would good.
    Any suggestions would be appreciated.

    Hul


    Ghostscript will work if you can accept the speed.

    If you know Java then Apache PDFBox at https://pdfbox.apache.org/ will produce PDFs much faster.

    Jeff Coffield
    www.digitalsynergyinc.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdh3@21:1/5 to All on Wed Sep 30 09:02:26 2020
    This will do txt2pdf using ghostscript as explained in gslp.ps:

    gs -q -sDEVICE=pdfwrite -sPAPERSIZE=letter --permit-file-read="$1" -dNOPAUSE -sOutputFile=$1.pdf -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$1"

    I use these to avoid compression just not sure if this works for pdfwrite or just ps2write:

    -dCompressPages=false -dCompressStreams=false

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)