View Poll Results: Is it possible to print a html file kept in any location in our PC in C
YES 2 100.00%
NO 0 0%
Voters: 2. You may not vote on this poll

HTML File printing

himanshujalota's Avatar
Newbie Member
hey friends cud anyone tell me the code for printing a HTML file kept in any location in my computer from command prompt , but should be a c or a C++ or MFC code
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Do you need a code for printing or you need the command line options to print.
himanshujalota's Avatar
Newbie Member
ya i need the code, it will be grateful of u if u can provide me with it.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Some default app to provide the execution of the print verb.

I will explain.

Search in Registry the .html Key under HKCR
See the value of Default
Search that under HKCR
Open the html -> Shell -> Print -> and get the default value of it and fire the print job replacing the file name with %1 or something.