W3C home > Mailing lists > Public > www-html@w3.org > June 1998

HTML Printing

From: Ravindra Sharma <rsharma@marketfirst.com>
Date: Tue, 30 Jun 1998 12:22:03 -0700
Message-ID: <01BDA421.B0EBA070@pacific.marketfirst.com>
To: "'www-html@w3.org'" <www-html@w3.org>

I have a problem regarding printing HTML document programmatically without popping up any kind of dialog box.

I need to my solution on multi-platforms. Currently Windows NT/95 and Solaris.

I tried following way:

I tried using Microsoft WebBrowser Interface (ActiveX control) using VB/VC++. I used
the ExecWB function as mentioned below:


It prints document properly. 

(i) it does not provide me pagination support 
(ii) How do I print a HTML document to  a file ? I need to get .prn file.
(iii) Browser also loads Acrobat (PDF) file. I am not able to turn off the dialog box it pops up.

I will appreciate if any-body can suggest a way to print the HTML document programmatically without any dialog box pop-up. I would like to control pagination and page setup parameters.

Received on Tuesday, 30 June 1998 15:20:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC