Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2007, 12:53 AM
Registered User
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default File printing problem..(reply soon plz)

Dear friends,
I have an array which contain name of some files (like pdf files)(pdf files are in a folder on server).
I want to print those files into client’s printer. Like client choose some file to print from an ASP page and then click a button to print then pdf file will be printed in clients printer.

fact is that before posting here i search on web about it. i found that there is a function in JavaScript window.print(). but this function is just to print a page that displayed in browser but i want to automated the printing as i describe previous para. hope you guys will help me asap.

Regards,
--Saiket


 
Old June 1st, 2007, 05:51 AM
Authorized User
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are correct that you can use javascript to print a browser window(page), but once you invoke (launch) another program (in your case, Adobe Acrobat), you must invoke printing from within that program. You cannot do it externally. I have seen javascript used with Acrobat, but have not used it. Try seaching for Acrobat related javascipts.






Similar Threads
Thread Thread Starter Forum Replies Last Post
plz.....plz solve out my problem.... kethireddy435 ASP.NET 1.x and 2.0 Application Design 1 October 4th, 2007 12:56 PM
plz reply 2m query,its very urgent.... preetham.sarojavenkatesh ASP.NET 1.x and 2.0 Application Design 2 August 1st, 2007 08:26 AM
URGENT plz do reply maheshoo7 PHP How-To 1 June 26th, 2007 10:20 AM
Email through vb code Plz give me reply sachinbashetti General .NET 0 September 23rd, 2005 04:27 AM
Problem Posting Reply Ben Horne Forum and Wrox.com Feedback 5 April 14th, 2004 01:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.