Printing HTML Output From VB 6.0
Hi Guys
Is there a way to print the HTML output from the VB 6.0 application. Assuming that the file is in the html format.
Consider the following simple html file
Code: <html> <head> <title>Test</title> </head> <boby> <h1>TEST PAGE</h1> </body> </html>
I should be able to print this html output not the file content actually. So that the output should contain the text "TEST PAGE" with applied header font. Can anyone suggest me to accomplish the above requirement......
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Setting Printer In Draft Mode For DOS Printing Speed && Output As DOS Printing
I want to print in Draft Mode with DOS Printing Speed using DataReport Designer. Anybody can help me How to set dot matrix printer in Draft Mode i.e., speed of printing must be same as DOS Printing Speed.
I am using Code:Printer.PrintQuality = vbPRPQDraft but this code is applicable for resolution quality and printing time is taking same as printing from Windows environment and I need output same as DOS Printing
Is there any special codes, functions or printer properties to be adopted for DOS Printing Speed. I appreciate if anybody can help me for giving me a sample project.
My email is : chemtsr@yahoo.co.in
Regards / MANI
Well Printing To HTML (not Printing A HTML Page)
How would I take a group of database records and create a HTML page from them (I would like to do without going thru Access, if possible)...
Basically, my real goal would be able to print custom reports I made user Printer.print and then give the user the option as saving this report in HTML (WYSIWYG fromat).
Any ideas? Is this far-etched?
How Do You Out Output From An .asp Into A .html?
I have an html page and .asp file. Half way down the html page I want to insert the output from the .asp. How do I do this?
Here is my html in part:
...
...
Site ID: Atlantic High School</font>
<br><br><br>
<font face="Lucida Sans Unicode">
Currently monitoring 'Chiller 1' at <font color="yellow">N/A</font>
<br><br>
...
...
Where the N/A is, is where I need to put the output from my .asp file.
Here is my .asp file:
<%@ Language=VBScript %>
<%
Dim fso
Set fso = Server.CreateObject ("Scripting.FileSystemObject")
Set rs = fso.OpenTextFile ("d:FTP FolderAtlantic_RealTimeatlantic2.csv",1)
rs.SkipLine
s = rs.ReadLine
= InStr(s,",")
temp = Mid(s, + 1)
temp = Round(temp,1)
Response.Write temp
%>
The temp variable needs to go into the html page.
thanks
HTML Output.
Heya,
I'm currently trying to create some kind of subscription form in VB6.
I'm going to have the data in variable/arrays(name, choices made etc.), the question is : what is the fastest way to output/format the whole thing as a HTML.
When the user clicks "finish" his subscription would be added to an HTML (or any database that you think would be appropriate) file. There would be 1 file per subcription.
What are your thoughts, suggestions, help ?
Thanks alot for your time.
Lor21
Printing HTML To File NOT As HTML. (See Inside)
OK, I am writing a program that recognises forum markup and converts it to HTML. For the specific forum I am writing it for, HTML goes unrecognised. I've finished the markup conversion code, but stumbled across the fact that putting HTML in the simulated "Post Area" and hitting Preview will actually cause that to be working HTML. Here's what I mean broken down a little.
<font color=red>Example.</font>
This posted on the forum will show: <font color=red>Example.</font>
But on my program it will show: Example.
I've pretty much figured out how to fix this, since if I convert...
<font color=red>Example.</font>
TO
<font color=red>hahaha</font>
It will show up as text just fine. However, here's where the problem is. I need an easier way to track any instance of html used and convert it. I could manually replace all pieces of HTML like above, but that would mean masses and masses of code, and I'd never manage to nail every single piece of HTML around. Surely there is an easier way to do this? Help would be much appreciated.
ASP Easier Than VB - Html Output
Would like to get some thoughts on the following:
With VB, I import info from a text file and put it into Access. Once I have the data in Access, I need to create html reports. I am going to use the html reports both locally and on a web server.
Am I better off creating the reports with asp instead of vb? I know a lot more ASP than VB and it seems to me the easiest way to get it done.
Maybe I am just missing something and it will be just as easy with VB?
Problem With HTML Output From VB
I'm having a problem with doing some simple HTML output from a module in my VB program.
In my database I have a color stored for each item I wish to display and I want to make a single page for each of these items - all with their own specific color background.
In the code, I read in the number into a Long variable and put the line...
Print #1, "<body bgcolor=" & Items(intI).Color & " text=#FFFFFF>"
...into the code. For instance, this item has color 10175753 as its assigned number in the database. When I look at the source for the page created, this is what it shows...
<body bgcolor="10175753" text=#FFFFFF>
...that number is supposed to be a blue background yet a horrible green comes on my screen. The strange thing is that when I take the HTML file to Dreamweaver, the color shows up correctly in that yet just looking at the file in MIE shows the color as some weird color, totally not what I wanted. Anyone run across something like this before and have a possible solution?
Help To Print Html Output
Hi, I have posted this question before, but I am so stomped with this, that I need help. I've searched the web intently for weeks, and still no answers. I am trying so badly print HTML files that are stored on my local computer through vb6. I've used the Printer object. but nothing, here's the code for that:
Code:
Dim Explorer
Dim objPrint As Printer
Explorer.Navigate(txtPath.Text)
objPrint.Print Explorer.Document
Printer.EndDoc
This was my best shot, but it printed like 2 times but then it wouldn't print at all, and after awhile got a error. My last try was with the a method on the interent I found, but that got me nothing.
Code:
Code:
Dim Explorer As InternetExplorer
Set Explorer = New InternetExplorer
Explorer.Visible = False
Explorer.Navigate (txtPath.Text)
Do While Explorer.Busy And Explorer.QueryStatusWB(OLECMDID_PRINT) <> OLECMDF_INVISIBLE
DoEvents
Loop
Do While Explorer.readyState <> READYSTATE_COMPLETE
DoEvents
Loop
If Explorer.readyState = READYSTATE_COMPLETE Then
Explorer.ExecWB OLECMDID_GETPRINTTEMPLATE, OLECMDEXECOPT_DONTPROMPTUSER
Explorer.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
If Explorer.QueryStatusWB(OLECMDID_PRINT) <> 0 Then
Explorer.ExecWB OLECMDID_CLOSE, OLECMDEXECOPT_DONTPROMPTUSER
End If
End If
This only printed "[object]" on my page. Next was with the internet explorer control
Code:
Code:
Open "IP_(Printer's IP)" For Output As #1
Print #1, "Hello, world!"
Close #1
If anybody can help me at all, I would graciousfully appriciate it, cause I am so sick of this problem.
P.S. This is supposed to be done every week and have like 3000 html documents to print(and I tried word, but I have word 97, and it gives me an error when I open it up)
P.S.S. I do not need source code, i need the actually output to be printed out
Output From VB 6 To A HTML (or Something) Report RESOLVED
Hi everyone, i hope you are all well..
What i am trying to do is implement a reporting scenario. with the data below as the content, i thought of using textfiles but with that scenario i can't have nice tables. We thought Word might be the go but we think that is overkill as all we want to do is display the invoice if a filename is clicked in a list box.
We had a go at HTML as the output format. The problem with the HTML option is the report uses a textbox and getting a string into it seems tricky..
Next we thought Excel might be the way to go but formatting the sheet in code is horrible.
It would be very nice if we could get the invoice output to look like the Template, which can be seen at the URL:
View The Report Template
I was wondering if anyone had any ideas...
Data of the invoice sent back Via Email from the web based program follows..
(This is the format of the content of each invoice file.
--------------------------------------------------------------------------
"The Email Was Addressed to: haus@upnaway.com
"
"The Email Was Sent by:
"
"9/15/2003 1:50:40 PM
"
"Su's Scrap House Order
"
"Below is the result of your feedback form. It was submitted by
() on Monday, September 15, 2003 at 13:49:09
---------------------------------------------------------------------------
Order_Date: Monday, September 15, 2003
Customer_Name: Steve
Order_Number: 38134845
Seq_Number: 381348451
Order_Detail: 2 Kawasaki ZZR 1200 @ $2000.00
3 Hayabusa @ $9000.00
Total: $31000.00
Name: Steve
Email_Address: bindu@upnaway.com
Website: E:SuScrpPageFileswebpagesindex.htm
Phone: 9876543
Method_of_Contact: w
Address1: w
Address2: w
City: w
Zip: false
State: out
Country: AU
---------------------------------------------------------------------------
with respect
Steve..
Write The Output On Html Page
hi,
how can i change the dynamic output on window status bar into the document page ?
Code:
<SCRIPT LANGUAGE="VBScript">
<!--
Dim intTimerID
Dim hr
Dim min
Dim sec
hr =<%=Session("Hr")%>'change hours
min=<%=Session("Min")%>'change minutes
sec=<%=Session("Sec")%>'change seconds
Sub HandleTime
if hr=0 and min=0 and sec=0 then
endtime
elseif min>=0 and sec>0 then
sec=sec-1
status= "Time Left: " & hr & " hr " & min & " min " & sec & " sec "
intTimerID=setTimeOut("HandleTime",950, "VBScript")
elseif min>0 and sec=0 then
min=min-1
sec=59
status= "Time Left: " & hr & " hr " & min & " min " & sec & " sec "
intTimerID=setTimeOut("HandleTime",950, "VBScript")
elseif hr>=0 and min=0 then
hr=hr-1
min=59
sec=59
status= "Time Left: " & hr & " hr " & min & " min " & sec & " sec "
intTimerID=setTimeOut("HandleTime",950, "VBScript")
end if
document.all.hours.value = Hr
document.all.Mins.value = Min
document.all.Secs.value = Sec
End Sub
Sub endtime
cleartimeout intTimerID
status = "Exam Time Ended"
msgbox "Exam Time Is Up"
Location.href = "end.asp"
end sub
status= "Time Left: " & hr & " hr " & min & " min " & sec & " sec "
intTimerID=setTimeOut("HandleTime",950, "VBScript")
-->
</script>
Showing User An HTML Link To Output
What's the best way to show a user an HTML link to see the output in html format? (I think this is the easiest way to get their browser started).
-lp
Line Breaks In Output In Textbox And Html Tags
Hi i have a textbox at the top of my form which acesses a MS ACCESS 2000 database table and shows one field(non editable) of the database as we scroll through it.
A couple of our records have "<br>"html tags and html links in them to output the record with line breaks and hyperlinks.
We usually have this outputted to a html web page but would like to put in a vb program.
The text in the database looks like this as an example:
"This is line 1<b r>This is line 2<b r>this is line 3<br><a href-"www.someone.com/this.html">click here</a><br>"
instead of this output i would like for them to appear on 4 separate lines as its displayed. I know i could somehow use the & vbcrlf on the end.
help
Printing Of Different Printers && Different Output
I have made an invoice form for a company. It layed nicely with boxes (printer.line .....) and printing inside the box using printer.print (tab(x); sString.
The layout looks really good on my HP LaserJet printer.
When printing on my HP DeskJet, the tab positions and size of the font changes.
I am usning Courier Font (Printer.Font = "Courier") because it is a fixed font.
Can anyone explain the differences in the printed output? More importantly, does anyone have a solution or recommendation? The Invoice form must work on all printers that the program will be using.
TIA
Dick Deeds
Where To Start, Printing Output
I'm accessing a MySql database (through ODBC) and am able to view the contents of a record, edit it, add a record, delete a record, move forward, backward.... all that stuf but how do I go about printing the information. When I have the record i want I would like to hit the print button (print command button I've created.) Do I have to write a text file first, call it back and print or what.
Please point me in the right direction.
Thanks
Formatting Output When Printing Images
Is there any way to tell the printer object to print the image in the middle of the page, instead of the default of printing the image in the top left corner of the page?
Thanks.
Output To Text File Appending Instead Of Printing
Here is the code I'm using to print to a text file.
Instead of the new data Printing over the old data it appends/adds to the bottom of the old data...I can't see why.
'WebBrowser data Refreshes every 10 seconds
txtScript = WebBrowser1.Document.documentElement.innertext
Open "c: empRace.txt" For Output As #1
Print #1, txtScript
Close #1
'*******Copies data from tempRace.txt to testRace.txt******
Open "c: empRace.txt" For Input As #2
Open "c: estRace.txt" For Output As #3
Do While Not EOF(2)
Line Input #2, strLine
If InStr(strLine, ".") > 10 Then
send = send & strLine & vbCrLf
End If
Loop
Print #3, send
Close #3
Close #2
This is the result in the testRace text file after Refreshing once:
1BELJAY ASSASSIN $ 2.30$ 2.80$ 2.30$ 2.40$ 1.00
2PARTY STARTER $ 5.70$ 5.60$ 7.80$11.10$ 3.00
4LEGEND DOZER $ 8.30$ 8.60$ 6.90$ 6.20$ 2.30
5VOODOO FLASH $20.70$11.10$10.40$14.30$ 3.90
6EBONY CLOSE $17.80$21.80$25.00$20.30$ 3.70
7ROAD DANCER $ 9.30$ 5.20$ 6.30$ 9.10$ 2.30
8STUMPY'S REVENGE $ 4.10$ 4.90$ 5.50$ 3.60$ 1.20
**Added empty row to show duplication**
1BELJAY ASSASSIN $ 2.30$ 2.30$ 2.40$ 2.50$ 1.00
2PARTY STARTER $ 5.70$ 7.80$11.10$10.60$ 3.20
4LEGEND DOZER $ 8.30$ 6.90$ 6.20$ 7.10$ 2.40
5VOODOO FLASH $20.70$10.40$14.30$12.40$ 3.50
6EBONY CLOSE $17.80$25.00$20.30$19.30$ 3.50
7ROAD DANCER $ 9.30$ 6.30$ 9.10$ 7.70$ 2.40
8STUMPY'S REVENGE $ 4.10$ 5.50$ 3.60$ 3.60$ 1.20
Printing Multiple Ranges On One Output Page.
I am new to VB and trying to edit some code to allow me to print two separate ranges in a worksheet all on one page. For example, RANGE1 at the top of the page and RANGE2 just below it say 10 lines? Can this be done. Right now the code is resulting in two separate pages of output.
Thanks for the help.
Question About The Nature Print Output Of VB Printing
thnx all you guys for the help ... but now I have a small question about the output...
each text to print is 20 chars long -max, and each char is 12 dpi -or 10 (I'm thinking about changing)
The currentX and CurrentY what units are they? twips , dpi?
cause I'm havring trouble aligning and lengths overlapping etc ..so I want to set currentX = X + 20 * fontsize or something
ActiveX Printing: How To Print Output On The Same Page?
To keep it simple, I have a print command within my form and one within a custom usercontrol I created. I want the output sent to the printer of both to be printed on the same page. Yet, for some reason when this is done VB treats them as seperate spools and prints them on seperate pages. How do I get them to be in the same spool and thus print on the same page. Example of the code as I have it now. (The name of the component is "UserControlSum"):
'CODE ON THE FORM
Private Sub Command1_Click()
Printer.print "Today's Summary:"
UserControlSum.SendToPrinter
Printer.EndDoc
End Sub
'CODE WITHIN THE USERCONTROL
Public Sub SendToPrinter()
Dim i as Integer
For i = 1 to 30
Printer.Print Output(i)
Next i
End Sub
ActiveX Printing: How To Print Output On The Same Page?
To keep it simple, I have a print command within my form and one within a custom usercontrol I created. I want the output sent to the printer of both to be printed on the same page. Yet, for some reason when this is done VB treats them as seperate spools and prints them on seperate pages. How do I get them to be in the same spool and thus print on the same page. Example of the code as I have it now. (The name of the component is "UserControlSum"):
'CODE ON THE FORM
Private Sub Command1_Click()
Printer.print "Today's Summary:"
UserControlSum.SendToPrinter
Printer.EndDoc
End Sub
'CODE WITHIN THE USERCONTROL
Public Sub SendToPrinter()
Dim i as Integer
For i = 1 to 30
Printer.Print Output(i)
Next i
End Sub
Specifying Output Tray When Printing Rich Text Box
I have a small program that uses a rich text box that is sized for a label that I wish to print. I can print the rtb to my label printer with no trouble. Now I am trying to print it to another printer, but specify the envelope feeder to allow it to print on an envelope.
Should I be using the selprint method? I am struggling with the syntax.
Can someone provide some insight.
Thanks,
J. Jensen
Printing HTML From Within VB
I have designed several forms using HTML code that are currently in use to format emails that I am sending from various parts of my VB 6 application. At various points in the application, I have provided the user with a Print button. Currently, this button simply uses the PrintForm command. However, this is limited due to the fact that the field length is greater than the capability of the form to display at one time. This leads to the user not being able to see all the information available when he prints the form.
I would like to be able to attach the HTML code to the program and allow the user to initiate a print that would then generate a nicely formatted printout.
Using the Printer. print command does not work as it simply spits out what amounts to the HTML source code.
Does anyone have any suggestions on a method to handle this item?
Thanks for the help.
Printing HTML
Does anyone know of a way to print HTML without using the Internet Explorer Object? I ask as I need a way to print multiple pages (only asking for the settings at the start and using them throughout), and to print without the headers and footers that IE adds by default
Thanks
Printing HTML
Hi all,
What is the easiest way of printing in html format?? I tried with a webbrowser1 but when it printed it printed out the "This page cannot be displayed" however in the browser it is fine.
Are there any other methods??
Thanks,
Ross
Printing A Html Doc
I know i asked this question befor but the solution i got did not solve my problem. I need to send a file to the printer for printing. The code i currently have just prints the location of the file and i understand why. Buy how do i send the file to the printer for printing. Here is a code snippet.
VB Code:
Printer.Print App.Path & "Testing.html"
HTML Printing?
I made an app which downloads an HTML file from the internet (like google.com)... now I need to spool it.
Anyone know how to print an HTML file?
Printing HTML
I want to Print an HTML document without IE prompting me for a printer which is what happens when Shellexecute is used.
I have a file on the hard drive, "Label.html". Is there a way to print this using VB so that IE/Windows does not prompt me to choose a printer and just chooses the default printer.
Thank you
Adam
Printing HTML?
Is there a control out there or something that lets me print HTML (not the code, but how it looks in a browser)? My program, PassProg, supports exporting to HTML and printing, but it would be much easier to ditch the printing code and just print the HTML It would look better, too, as my printing code can't do line wrapping?
So, is there an ActiveX control, DLL, whatever or other code to print web pages?
Printing HTML Using VB6
I'm using the below code to add links to a webpage. However, VB is taking it upon itself to underline all of the links. Is there a way around this, so the links are not underlined?
'code'
Dim SN As Variant
Dim URL As Variant
SN = Data2.Recordset.Fields("SiteName")
URL = Data2.Recordset.Fields("MainURL")
Print #1, " <a href=" & URL & ">" & SN & "</A><BR><BR> "
'code'
That is the jist of it. Any suggestions?
Printing HTML
Hi all, i have a problem here. im trying to print an html page with its contents. i can use the IE builtin print() function but its prompts a dialog box. is there any way i can bypass the dialog box and print the page without the user interaction?? any help woulb be greatly appreciated.
Thanks!
Printing Html
Hi, I need to print on screen and then on printer a html file.
Should I use WebBrowser control to do that and if yes, how do I implement print preview and printing?
thanks.
Printing HTML In VB
I have a program in VB that opens an HTML file using this command
Shell "start file:///c:Sourcevb_phonesphonelist.html ", vbHide
I want to hide the menu bar when it opens the "phonelist.html" file, what is the command to do it.
I want print this to a printer too, what is the command for this?
Printing HTML
How do I load an HTML file to a VB form? I tried to load it as a picture it didn't work. Then I want to print the HTML file that is loaded.
Printing HTML Documents.
Ok.. Here goes..
We are using StarOffice to generate HTML documents.
Using the header and footer options on the pages, Star Office previews and prints the pages correctly.. i.e. With the header and footer on EACH page.
When viewed in the WebBrowser control, however, the tags seem to be completely ignored, and the header and footer are printed as parts of the whole document... i.e. The header is at the TOP of the 1st page, and the footer is at the end of the x page, not on every page, as is represented by StarOffice.
Using a DLL Spy, i can see that StarOffice is using MSHTML.DLL
Is this the DLL that allows StarOffice to use the Header / Footer information?
Here is a snippit of the HTML code being used.
<DIV TYPE=HEADER>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0>
<COL WIDTH=181*>
<COL WIDTH=75*>
<THEAD>
<TR VALIGN=TOP>
.... etc etc etc
<DIV TYPE=FOOTER>
<TABLE WIDTH=100% BORDER=1 CELLPADDING=0 CELLSPACING=0>
<TR VALIGN=TOP>
<TD>
..... etc etc etc..
Any help would be greatly apperciated.
Printing HTML File
Hi.
My application opens up a HTML file and writes a srting to it. Does anyone know the command to print the contents of the HTML file to the printer.
My code is:
Dim ff As Integer
ff = FreeFile
Open App.Path & "" & "myFile.html" For Output As ff
Print #ff, sFrag ' Send the string to the file
' Now I need to print the HTML file to the printer.
Thanks,
D
Printing HTML String
Hi.
I have a string called sFrag that contain HTML code of the form
sFrag = " <TABLE> <TR> <B> Hello World ........ <TABLE> "
I need this to be printed to the printer in its table format. But when I try Printer.Print sFrag it just prints the characters and text (and not in the table format I want)
Any ideas of how to print it so it's in its nice formatted Table HTML format.
Anyway, thanks for the help,
D
Printing An HTML File From VB
Is there any way that I could print an HTML file directly from within VB?
I have HTML reports generated from within my database and sored in a specified location. eg "C:
eports"
I then have a FileListBox on a separate form which list the html files located within the this folder,user unable to change folder loaction.
I would then like to be able to allow the user to select a file, from the list, this I have no problem with, and then, on a press of a button, get the report printed to the default printer.
Any help would be most appriciated
Printing Html Page From Vb
Hello
is there any way in vb to control Html page printing?
is there any ready made ocx or something ?
thanks
HTML Page Printing
Hi all, i have developed a small app that generate several HTML pages. My intent is to merge all HTML pages in one single document and then send to the printer.
I was wondering if there is any way to grab the WebBrowser content to an image such a bitmap and then send to the Printer object ?
thanks in advance
coloq
Printing An HTML File With VB
I need to open and print a HTML file in the Application directory from VB. I've search the forum for a while now and the closes piece of code that I've found is this...
WebBrowser1.Navigate App.Path & " est.html"
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT
Which I found here...
http://www.xtremevbtalk.com/showthre...ighlight=print
My problem is that I have no idea how to use the WebBrowser Object and I can't find a thread that gives me advice. Right now the error I'm getting when I run that code is "Object Required." Do I need to include a component or a reference? Or should I "Dim Webbrowser1 As Webbrowser"?
Thanks for all your help.
Printing XML Or HTML Page
Hi,
I am using a PDF printer, and I want to print XML/HTML and DOC files to PDF. I know Word provides a COM object to print through VB. I do it like this
Dim w As New Word.Application
Dim doc As Word.Document
w.ActivePrinter = "3-Heights(TM) PDF Producer"
Set doc = w.Application.Documents.Open(Text1.Text)
doc.PrintOut False, , Word.wdPrintAllDocument, Text2.Text, , , , , , , True
doc.Close (False)
w.Quit (False)
Does IE provide a similar method for printing? I have been unable to find any way f doing this.
Thank you
Printing Html Files
Hi,
My vb application writes an html file. I want to know how to program my application so that the html pages is printed (as hardcopy) this file.
VB Learner,
Arun
Printing HTML Files Without IE?
Hello,
My program generates an html file with the results (it's the best way, trust me ), now I would like to be able to print this file without all the IE additions (time/date, page number filename etc.), how can I do this?
Thanks in advance!
Printing HTML Pages
I'm using a shell function to mshtml.dll Printhtml,[filename] to print some HTML files that my program make, but, with some systems, I'm having problems...
Also, I don't want to Internet Explorer asks me wich printer should I use...
Someone knows some alternative way to print a HTML page?
Printing HTML Code
I want to print HTML code passed to a function as parameter. When I use "printer.Print" to
print it gives the html code in the print, but I want the output like we see on the internet
browser to be printer. I m passing the HTML code to VB function to keep the formatting intact.
Thanks.
Printing HTML Pages Using VB 6.0
Hi...
I have a set of HTML files saved in a folder.
I want to print all of these HTML files, in a single attempt, using VB application. How do I do this???
As long as the HTML files are being spooled to the printer, I want to display a busy icon. How do I do this???
Kindly help me out at the earliest.
Pravvu
Printing A Html- Prob
hi
From VB, i am converting a word file in to html pages. each word page in each html file.
like
ObjwordTarget.ActiveDocument.SaveAs filename:=file1.htm fileFormat:=wdFormatHTML
after saving this html files. i open the HTML in IE. and click print. its print 2 pages instead 1 page. the first page contain first headings and second page print remaing text in a HTML Page.
i want to print in a single page.
how to resolve the prob?
Thanks
bala
|