Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3380
| From | ken <ken@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Merge form file and text input into a single PDF file |
| Date | 2019-04-17 13:14 +0100 |
| Message-ID | <MPG.372128d9d9c61e6698989f@usenet.plus.net> (permalink) |
| References | <ff534605-2b16-47e5-83df-0bd5d0d30600@googlegroups.com> |
In article <ff534605-2b16-47e5-83df-0bd5d0d30600@googlegroups.com>, Cathy.Welsh@cdms-inc.com says... > > I have been told that you can use Ghostscript to send text data and merge it with a Postscript form file, and create a single merged PDF file. > I have read the documentation for Ghostscript, and do not see how to do this. Not simply, no. You could write a PostScript program which reads the text data and draws it at specific locations, and you could run a PostScript program (whether it contains a PostScript form or not) to draw the 'background' before running the program to read the text. That would have the effect you describe. PostScript forms are not interactive the way PDF forms are. Forms in PostScript are intended to be stored as a Resource (possibly even pre- rendered, for speed). You run the form, then you run the program that lays out the other elements (whch need not be restricted to text). Then you eject the page. But you can't just take a text file, Ghostscript doesn't take text as an input. Ken
Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar
Merge form file and text input into a single PDF file Cathy Welsh <Cathy.Welsh@cdms-inc.com> - 2019-04-17 04:56 -0700 Re: Merge form file and text input into a single PDF file Cathy Welsh <Cathy.Welsh@cdms-inc.com> - 2019-04-17 04:58 -0700 Re: Merge form file and text input into a single PDF file ken <ken@spamcop.net> - 2019-04-17 13:14 +0100
csiph-web