<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic printing HTML file from command-line/script in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/printing-html-file-from-command-line-script/m-p/3971554#M7924</link>
    <description>Greetings,&lt;BR /&gt;I hope this wasn't covered before. If it was, I couldn't find it and I apologize in advance...&lt;BR /&gt;&lt;BR /&gt;I wish to print html files from a script. Some files are landscape orientation and some are portrait orientation. I can use PCL to set the orientation but I cannot find a way to print the files with the html being interpreted. IOW, the file will print, but as plain text.&lt;BR /&gt;&lt;BR /&gt;I'm currently using this from a script:&lt;BR /&gt;rundll32.exe mshtml.dll,PrintHTML "c:\&lt;FILEPATH&gt;\&lt;FILENAME&gt;.html"&lt;BR /&gt;Although this works, it uses the same dll that Internet Explorer uses and pops-up a dialog box requesting the printer and printer properties. The goal is to have the html files print in an automated fashion, e.g. without human intervention. I hope that someone knows the "magic".&lt;BR /&gt;&lt;BR /&gt;FWIW, the printer is an HP Color LaserJet 3600.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I thank you,&lt;BR /&gt;Karl Dutcher&lt;/FILENAME&gt;&lt;/FILEPATH&gt;</description>
    <pubDate>Wed, 28 Mar 2007 16:57:27 GMT</pubDate>
    <dc:creator>Karl Dutcher</dc:creator>
    <dc:date>2007-03-28T16:57:27Z</dc:date>
    <item>
      <title>printing HTML file from command-line/script</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/printing-html-file-from-command-line-script/m-p/3971554#M7924</link>
      <description>Greetings,&lt;BR /&gt;I hope this wasn't covered before. If it was, I couldn't find it and I apologize in advance...&lt;BR /&gt;&lt;BR /&gt;I wish to print html files from a script. Some files are landscape orientation and some are portrait orientation. I can use PCL to set the orientation but I cannot find a way to print the files with the html being interpreted. IOW, the file will print, but as plain text.&lt;BR /&gt;&lt;BR /&gt;I'm currently using this from a script:&lt;BR /&gt;rundll32.exe mshtml.dll,PrintHTML "c:\&lt;FILEPATH&gt;\&lt;FILENAME&gt;.html"&lt;BR /&gt;Although this works, it uses the same dll that Internet Explorer uses and pops-up a dialog box requesting the printer and printer properties. The goal is to have the html files print in an automated fashion, e.g. without human intervention. I hope that someone knows the "magic".&lt;BR /&gt;&lt;BR /&gt;FWIW, the printer is an HP Color LaserJet 3600.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I thank you,&lt;BR /&gt;Karl Dutcher&lt;/FILENAME&gt;&lt;/FILEPATH&gt;</description>
      <pubDate>Wed, 28 Mar 2007 16:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/printing-html-file-from-command-line-script/m-p/3971554#M7924</guid>
      <dc:creator>Karl Dutcher</dc:creator>
      <dc:date>2007-03-28T16:57:27Z</dc:date>
    </item>
  </channel>
</rss>

