Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1165
| Newsgroups | comp.lang.postscript |
|---|---|
| Date | 2012-12-10 07:00 -0800 |
| References | <f6b4b79d-2be2-419a-be53-630ffe54dc66@googlegroups.com> <ad22b3d0-18b1-477b-a5e4-2172c52da893@n8g2000vbb.googlegroups.com> |
| Message-ID | <041fe8a8-8511-4ebe-9725-de32a207bf94@googlegroups.com> (permalink) |
| Subject | Re: How can I overwrite existing files with new input to running Ghostscript?. |
| From | Ernie Kent <ernie@erniekent.com> |
On Sunday, December 9, 2012 11:24:54 PM UTC-5, SaGS wrote: > On Dec 9, 8:14 pm, Ernie Kent <er...@erniekent.com> wrote: > > > I need Ghostscript to repeatedly write small, jpg images rapidly to the same file > > > from PS or EPS input on STDIN. Once Ghostscript is up and running it takes an > > > acceptable time to create my images. However, to repeatedly start Ghostscript and > > > have it do the same job, quit and restart again is taking too long. > > > > A way to do it: for each file do a "save", setup and install the > > output device, run the input PS file, "restore". > > > > For the "setup and install the output device" step you need some GS- > > specific operators. Look into Ghostscript's Language.htm for > > "findprotodevice", "copydevice", "putdeviceprops", and > > "setdevice" (call them in this order, with appropriate parameters). > > > > > ... > > > The -dJOBSERVER switch looks like it should do something like the desired operation > > > but I can't get it to. > > > ... > > > > I think -dJOBSERVER does not work because you want the same output > > filename. The device does not change, so GS does not close the old > > device (so no finishing/ closing of the output file) and create a new > > one. Thanks, I'm investigating this. Ernie
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-09 10:14 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Helge Blischke <h.blischke@acm.org> - 2012-12-09 22:13 +0100
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-09 13:52 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. "luser.droog" <luser.droog@gmail.com> - 2012-12-09 18:28 -0600
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-09 17:11 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. SaGS <sags5495@gmail.com> - 2012-12-09 20:24 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-10 07:00 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-10 12:39 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Chris <cjl@spamcop.net> - 2012-12-11 10:12 +0000
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-11 11:04 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Chris <cjl@spamcop.net> - 2012-12-12 07:41 +0000
Re: How can I overwrite existing files with new input to running Ghostscript?. SaGS <sags5495@gmail.com> - 2012-12-12 03:52 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Chris <cjl@spamcop.net> - 2012-12-12 12:52 +0000
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-12 08:45 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Chris <cjl@spamcop.net> - 2012-12-13 14:07 +0000
Re: How can I overwrite existing files with new input to running Ghostscript?. SaGS <sags5495@gmail.com> - 2012-12-11 02:44 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-11 11:05 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-11 12:37 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-21 21:40 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. SaGS <sags5495@gmail.com> - 2012-12-22 00:53 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-22 09:00 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Ernie Kent <ernie@erniekent.com> - 2012-12-22 19:37 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. Chris <cjl@spamcop.net> - 2012-12-23 17:16 +0000
Re: How can I overwrite existing files with new input to running Ghostscript?. SaGS <sags5495@gmail.com> - 2012-12-23 10:16 -0800
Re: How can I overwrite existing files with new input to running Ghostscript?. luser- -droog <mijoryx@yahoo.com> - 2012-12-24 19:37 -0800
csiph-web