nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Fri May 21, 2004 8:36 pm Post subject: using Firefox to print HTML in windows from the CLI |
|
|
I'm currently working on a Java program that generates HTML and then sends it to the printer. The program is running on Windows and so I need to use the IE print engine to print:
Code: |
C:>RUNDLL32.EXE MSHTML.DLL,PrintHTML file.html
|
My problem is that the printout looks different when I print from Firefox. I was wondering if there's a way to get Firefox to print the HTML from the CLI, something like "firefox --print file.html". That way, I'd be able to avoid using IE and my program would really be cross-platform. |
|