Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3574 > unrolled thread

pdf definition

Started byHul Tytus <ht@panix.com>
First post2020-09-27 23:59 +0000
Last post2020-09-28 22:44 +0000
Articles 7 — 4 participants

Back to article view | Back to comp.lang.postscript


Contents

  pdf definition Hul Tytus <ht@panix.com> - 2020-09-27 23:59 +0000
    Re: pdf definition ken <ken@spamcop.net> - 2020-09-28 07:54 +0100
      Re: pdf definition Hul Tytus <ht@panix.com> - 2020-09-28 22:41 +0000
      Re: pdf definition Hul Tytus <ht@panix.com> - 2020-09-28 22:54 +0000
        Re: pdf definition jdh3 <inspironwuxga@gmail.com> - 2020-09-30 09:02 -0700
    Re: pdf definition "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2020-09-28 10:13 -0700
      Re: pdf definition Hul Tytus <ht@panix.com> - 2020-09-28 22:44 +0000

#3574 — pdf definition

FromHul Tytus <ht@panix.com>
Date2020-09-27 23:59 +0000
Subjectpdf definition
Message-ID<rkr916$b8j$1@reader1.panix.com>
	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

[toc] | [next] | [standalone]


#3575

Fromken <ken@spamcop.net>
Date2020-09-28 07:54 +0100
Message-ID<MPG.39db98fb79256d359898bb@usenet.plus.net>
In reply to#3574
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

[toc] | [prev] | [next] | [standalone]


#3577

FromHul Tytus <ht@panix.com>
Date2020-09-28 22:41 +0000
Message-ID<rktore$gbb$1@reader1.panix.com>
In reply to#3575
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

[toc] | [prev] | [next] | [standalone]


#3579

FromHul Tytus <ht@panix.com>
Date2020-09-28 22:54 +0000
Message-ID<rktpj2$79$1@reader1.panix.com>
In reply to#3575
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

[toc] | [prev] | [next] | [standalone]


#3580

Fromjdh3 <inspironwuxga@gmail.com>
Date2020-09-30 09:02 -0700
Message-ID<99d9465f-1cdf-4b5e-8f71-ff3d96a20733n@googlegroups.com>
In reply to#3579
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

[toc] | [prev] | [next] | [standalone]


#3576

From"Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com>
Date2020-09-28 10:13 -0700
Message-ID<rkt5ju$dq7$1@dont-email.me>
In reply to#3574

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

[toc] | [prev] | [next] | [standalone]


#3578

FromHul Tytus <ht@panix.com>
Date2020-09-28 22:44 +0000
Message-ID<rktp12$gbb$2@reader1.panix.com>
In reply to#3576
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web