Kitkat wrote:
Hi, i hope my english is good enough to explain my problem.
de.comp.lang.javascript exists but you should get a real name
prior to posting and use newsreader software (because Google
Groups does not declare the umlauts etc.). I recommend Mozilla
Thunderbird for the latter, see my sig.
I have a html-file with a image.
But i don't want to save or print the html-file with the image.
I want to save or print a pdf-file (in this pdf-file is the image,
too) without open the pdf-file. It should only open the "save
as"-window or the "print"-window when I push a button.
That's impossible with client-side scripting. What you can do is to have a
server-side script generate a PDF document on-the-fly and serve it with the
proper MIME-Type and (for IE) filename suffix. HTML2PDF and the like, and
any language that can be used server-side (including J[ava]Script) and can
call this application (JScript in ASP on IIS should be capable) would be the
tools of choice here.
HTH
PointedEars
--
Ein schlanker, leistungsfähiger und standardkonformer
Mail/News-Client ohne viel einzustellen? Geht nicht?
Geht doch! <http://thunderbird.bric.de/>