5
Answers

Printing HTML Files programmatically

mostert

mostert

19y
5.3k
1
Hi, im new to C# and i need some help printing HTML files programmatically. Currenly i have created a windows application (C#), that scans a specified directory. For the files it should print. I am able to print the HTML files currently to any printer that is specified (without prompting at all). I use the Windows API SetDefaultPrinter to set the printer to which IE Must print. The program scans the HTML files for this information. Currenly i am also able to set the Headers,Footers,Margins by editing the registry. But i need some help with setting the PaperSize,Copies (Or i could just loop),Orientation Please let me know thanx.
Answers (5)