[Javascript] Printing a pdf

David T. Lovering dlovering at gazos.com
Thu Mar 20 15:06:26 CST 2003


Sounds like a no-brainer then:  just build a hot-link to the files on the server side,
paste them into your HTML as <a href="...">filename</a> objects, and trust that the Windows file
viewer will bring up Acrobat when you click on a pdf file. Works on our server.  When the file
appears, just click on the File "Print" option on your task-bar, and voila! you get a print out.

-- Dave Lovering

"Vijayakumar, D." wrote:
> 
> The PDF files are creted and saved in the  web server.
> We open the PDF file in Acrobat reader when the user clicks a link in the
> client browser.
> 
> D.Vijayakumar
> Timken Engineering And Research - India Private Limited
> Bangalore.
> Ph: 5536113 Ext: 1074
> 
> -----Original Message-----
> From: David T. Lovering [mailto:dlovering at gazos.com]
> Sent: Wednesday, March 19, 2003 5:55 PM
> To: javascript at LaTech.edu
> Subject: Re: [Javascript] Printing a pdf
> 
> Depends.  Do you have Adobe Acrobat Reader running on your server and/or
> client,
> and do you have a local PostScript printer?  Which methods you use will
> depend
> on the answers to these questions.
> 
> -- Dave Lovering
> 
> "Vijayakumar, D." wrote:
> >
> > Pls get me the code to print a pdf dynamically which is opened in a new
> > window.
> >
> > D.Vijayakumar
> > Timken Engineering And Research - India Private Limited
> > Bangalore.
> > Ph: 5536113 Ext: 1074
> >
> > **********************************************************************
> > This message and any attachments are intended for the
> > individual or entity named above. If you are not the intended
> > recipient, please do not forward, copy, print, use or disclose this
> > communication to others; also please notify the sender by
> > replying to this message, and then delete it from your system.
> >
> > The Timken Company
> > **********************************************************************
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlovering.vcf
Type: text/x-vcard
Size: 304 bytes
Desc: Card for David T. Lovering
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030320/223be578/attachment.vcf>


More information about the Javascript mailing list