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


Groups > comp.lang.postscript > #3288

Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page

From John Forkosh <forkosh@panix.com>
Newsgroups comp.lang.postscript
Subject Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page
Date 2018-08-04 09:08 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <pk3qf3$glr$1@reader1.panix.com> (permalink)
References <pjv87o$q9s$1@reader1.panix.com> <qfKdnQE3JunNcfnGnZ2dnUU7_83NnZ2d@giganews.com>

Show all headers | View raw


John Reiser <vendor@bitwagon.com> wrote:
>> I know I could use ImageMagick convert somefile.ps somefile.pdf
>> (or similar), but these postscript files are being generated
>> in real time, and attempts using such converters actually take
>> too long, given our requirements.

> Please be specific why ghostscript does not work.
> Quantify what is "too long".  How many bytes in the .ps input?
> Say something about the duration of procedures in loops and
> recursion, versus "straight-line code".

gs >>does<< work, but that's running on my desktop box.
Shared host (dreamhost.com) doesn't have texlive installed
(and replied to email that they don't want to), although I
could put it under my own account if it comes to that
(if no answer to my actual question exists). But that might
nevertheless still take too long...

...where "too long" means it takes the page too long to (re-)load,
as comfortably viewed by a person. Not a quantitative measure.

In any case, thanks for the reply, although it doesn't sound
to me like you intend to actually answer the question --
heck, you even cut the actual question out of your followup.
So let me ressurect it below, just in case someone else
can help...

+-------------------+
|  Actual Question  |
+-------------------+
I'd like to display postscript files within <iframe>'s on my html
pages, pretty much exactly like I'm already doing for pdf files using
   https://viewerjs.org/
with a tag something like
   <iframe src="/ViewerJS/#../somefile.pdf" width=400 height=300></iframe>
Except I want that to be somefile.ps instead of .pdf
Is there a viewerjs-like package that can do that? Thanks,
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-02 15:33 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Reiser <vendor@BitWagon.com> - 2018-08-03 16:59 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 09:08 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page luser droog <luser.droog@gmail.com> - 2018-08-04 07:10 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 15:17 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Eli the Bearded <*@eli.users.panix.com> - 2018-08-04 23:59 +0000
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 08:30 +0000
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 07:58 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-17 18:36 +0200
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-18 12:51 +0000
          Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-18 20:22 +0200
            Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-21 09:07 +0000

csiph-web