🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.reader
Article #12222

Start Printing from HTML/Javascript Button

#12222
From: Dave Schuchman
Date: Thu, 13 Jun 2002 03:11
7 lines
1194 bytes
Hi all, 

  I want to be able to control the plug-in reader to ask it to start printing.  In other words I have an HTML button which triggers a javascript function.  In this function I would like to be able to programmatically tell the plug-in to start printing the PDF document in a different frame.  I have tried setting the focus to the frame with the PDF document and then calling window.print(), but it only prints a blank page, not the PDF document. 

Does anyone know how to do this? 

-Dave
Technical Details
Message-ID: <ef91862.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109513,9186e33fbeb3c99f,start
X-Google-Attributes: gid109513,public
X-Google-ArrivalTime: 2002-06-12 20:37:34 PST
From: "Dave Schuchman" <dschu@dmv.state.ny.us>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.acrobat.reader
Subject: Start Printing from HTML/Javascript Button
Message-ID: <ef91862.-1@WebX.aaQKaf7vad4>
Date: Wed, 12 Jun 2002 20:11:08 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit