<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to print from Web services</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-print-from-webservices/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-print-from-webservices/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 09:34:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-print-from-webservices/#comment-113012</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 02 Nov 2012 03:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-print-from-webservices/#comment-113012</guid>
		<description><![CDATA[I&#039;m not aware of any way to send a .HTML file to any printer, Windows or otherwise,&#160;and to have it print anything but the .HTML source unless the printer itself has a rendering capability built into it. (I suppose some such printers exist; I just haven&#039;t run into any.)
&#160;
HTML needs to be rendered. For the most part, rendering engines are built into browsers; so browsers are what are capable of printing .HTML files (other than as source/text). There are exceptions such as some word processing programs since there are open-source rendering engines; but those are generally intended for GUI environments.
&#160;
There might be various exceptions.
&#160;
One that looks promising is the &lt;a href=&quot;http://pdfcrowd.com/i/print-html-to-pdf-java.html&quot; rel=&quot;nofollow&quot;&gt;Pdfcrowd (Print HTML to PDF Java) API&lt;/A&gt;. Although it doesn&#039;t print, it does generate a .PDF that might be more easily sent to a printer. I haven&#039;t seen the API work in an AS/400 server environment, so it&#039;s just a possibility, and there might be other similar functions out on the internet..
&#160;
Or the .HTML might be placed in a shared directory. A remote command might then be sent to Windows to print the document using Internet Explorer or other browser by passing command-line parameters.
&#160;
Batch or background printing of .HTML on Windows doesn&#039;t seem to be a very popular (i.e.,&#160;well liked)&#160;topic. Searches show&#160;plenty of links, but few searchers seem to locate satisfying answers. Trying the same on a non-graphical back-end server seems doubly troublesome.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not aware of any way to send a .HTML file to any printer, Windows or otherwise,&nbsp;and to have it print anything but the .HTML source unless the printer itself has a rendering capability built into it. (I suppose some such printers exist; I just haven&#8217;t run into any.)<br />
&nbsp;<br />
HTML needs to be rendered. For the most part, rendering engines are built into browsers; so browsers are what are capable of printing .HTML files (other than as source/text). There are exceptions such as some word processing programs since there are open-source rendering engines; but those are generally intended for GUI environments.<br />
&nbsp;<br />
There might be various exceptions.<br />
&nbsp;<br />
One that looks promising is the <a href="http://pdfcrowd.com/i/print-html-to-pdf-java.html" rel="nofollow">Pdfcrowd (Print HTML to PDF Java) API</a>. Although it doesn&#8217;t print, it does generate a .PDF that might be more easily sent to a printer. I haven&#8217;t seen the API work in an AS/400 server environment, so it&#8217;s just a possibility, and there might be other similar functions out on the internet..<br />
&nbsp;<br />
Or the .HTML might be placed in a shared directory. A remote command might then be sent to Windows to print the document using Internet Explorer or other browser by passing command-line parameters.<br />
&nbsp;<br />
Batch or background printing of .HTML on Windows doesn&#8217;t seem to be a very popular (i.e.,&nbsp;well liked)&nbsp;topic. Searches show&nbsp;plenty of links, but few searchers seem to locate satisfying answers. Trying the same on a non-graphical back-end server seems doubly troublesome.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.012 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 09:37:53 -->