<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Times New Roman" size="3"><a name="BM_BEGIN"></a>
<div><font size="2"><br>

<br>

-----Original Message-----<br>

From: filepro-list-bounces&#43;doug.luurs=gmail.com@lists.celestial.com [<a href="mailto:filepro-list-bounces&#43;doug.luurs=gmail.com@lists.celestial.com">mailto:filepro-list-bounces&#43;doug.luurs=gmail.com@lists.celestial.com</a>] On Behalf Of John Sica<br>

Sent: Tuesday, December 01, 2009 11:36 AM<br>

To: filePro<br>

Subject: Re: Printing a html file<br>

<br>

Doug,<br>

<br>

Although someone might have a solution that wouldn't involve any <br>

conversion, if you don't mind the conversion merry-go-round, here's an <br>

idea or two for you.<br>

<br>

I think the gs command is a part of Ghostscript.&nbsp; This command has been <br>

in place a couple of years and seems to work in our environment.&nbsp; It <br>

emails in batch the invoice pdf files (using pcl2pdf) which filepro <br>

creates.&nbsp; The only problem in your case is that it prints pdf documents <br>

instead of html documents.&nbsp; It converts the pdf ( I suspect it would <br>

convert many other formats as well) to a pcl file that then sends it to <br>

the laserjet.<br>

<br>

I know it seems like a lot of work considering you could have filepro <br>

print it's output to a pcl file, but these files have been already <br>

converted to a pdf document that contain images(logos graphics etc.)<br>

<br>

I think htmldoc might work to convert an htlm file to a pdf. <br>

<br>

This creates the PCL file<br>

/bin/gs -sDEVICE=ljet4 -q -dNOPAUSE -dSAFER -sOutputFile=1190-inv.pcl <br>

1190-inv.pdf -c quit<br>

<br>

This prints it<br>

cat 1190-inv.pcl | netcat -d -hhslaser -p9100<br>

<br>

Hope this helps<br>

<br>

John<br>

<br>

<br>

Doug Luurs wrote:<br>

&gt; (Linux Based FP 5.6)<br>

&gt;<br>

&gt; We have a standalone piece of hardware that creates html documents,<br>

&gt; and places them onto a<br>

&gt; Network drive.&nbsp;&nbsp; Id like to figure out a way to print them out based<br>

&gt; on a filepro process.<br>

&gt;<br>

&gt; Anyone every take a html file&nbsp; (with JPG images) and try to print it<br>

&gt; to a (hplaser) printer<br>

&gt; Without having to load each html, hit PRINT and then OK.&nbsp;&nbsp;&nbsp; This<br>

&gt; process will can easily generate<br>

&gt; Over a 100 pages of data per shipment.<br>

&gt;<br>

&gt; Thanks<br>

&gt; _______________________________________________<br>

&gt; Filepro-list mailing list<br>

&gt; Filepro-list@lists.celestial.com<br>

&gt; <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>

&gt;<br>

&gt;&nbsp;&nbsp; <br>

<br>

The document is html to start.&nbsp; Filepro isn't actually creating the documents, just printing them based<br>

On the serial # tracking system I am working on.<br>

<br>

We do use ghostscript for printing to PDF.&nbsp; Works great.<br>

</font></div>
</font>
<!--[object_id=#borisch.com#]--><FONT face=Tahoma size=2><FONT color=#0000ff>
<P class=MsoNormal align=left><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><EM>-- </EM></SPAN></FONT></P>
<P class=MsoNormal align=left><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><EM>These commodities/technical data are controlled under the United States Export Regulations and may not be exported to a foreign person, either in the U.S. or abroad, without the proper authorization of the U.S. Department of State or the U.S. Department of Commerce. Please contact Borisch Manufacturing Corporation for commodity classification and jurisdiction.</EM></SPAN></FONT></P>
<P class=MsoNormal align=left><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><EM>This E-mail, including any attachments, may contain confidential informa</EM></SPAN></FONT><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><EM>tion </EM></SPAN></FONT><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><EM>and is intended solely for use by the individual to whom it is addressed.&nbsp; If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system.&nbsp; Any other use of this E-mail and/or attachments is prohibited.&nbsp; This message is not meant to constitute an electronic signature or intent to contract electronically.</EM></SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P></FONT></FONT></body>
</html>