Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: Ferenc Richard
  Where is Ferenc Richard?
 warsaw
 Poland
 Ferenc Richard
 Tags
Subject: RE: Printing HTML document
Thread ID: 232596 Message ID: 232612 # Views: 42 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Wednesday, June 24, 2009 5:44:19 PM         
   


> I have a problem,
> How to print a HTML document directly from a form to printer, having only the URL address of this document?
>
> Regards

It is not clear what do you mean exactly
- "print", manually or from the code?
- "form" ?
- etc.

Probably this will give you some ideas:

oIE = CreateObject("InternetExplorer.Application")
oIE.Visible = .t.
oIE.navigate(lcURL)
....
oIE.Execwb(6,1)		&&print it, with user prompt
oIE.Execwb(6,2)		&&print it, withOUT user prompt
....


Best Wishes,

Yuri Rubinov



COMPLETE THREAD
Printing HTML document Posted by Ferenc Richard @ 6/24/2009 4:40:00 PM
RE: Printing HTML document Posted by Bilal Budhani @ 6/24/2009 5:08:08 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/24/2009 5:44:19 PM
RE: Printing HTML document Posted by Ferenc Richard @ 6/26/2009 3:28:23 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 3:40:17 PM
RE: Printing HTML document Posted by Ferenc Richard @ 6/26/2009 4:37:26 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 5:03:34 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 5:33:35 PM