Printing a html file

Doug Luurs doug at borisch.com
Tue Dec 1 10:00:37 PST 2009



-----Original Message-----
From: filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com [mailto:filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com] On Behalf Of John Sica
Sent: Tuesday, December 01, 2009 11:36 AM
To: filePro
Subject: Re: Printing a html file

Doug,

Although someone might have a solution that wouldn't involve any 
conversion, if you don't mind the conversion merry-go-round, here's an 
idea or two for you.

I think the gs command is a part of Ghostscript.  This command has been 
in place a couple of years and seems to work in our environment.  It 
emails in batch the invoice pdf files (using pcl2pdf) which filepro 
creates.  The only problem in your case is that it prints pdf documents 
instead of html documents.  It converts the pdf ( I suspect it would 
convert many other formats as well) to a pcl file that then sends it to 
the laserjet.

I know it seems like a lot of work considering you could have filepro 
print it's output to a pcl file, but these files have been already 
converted to a pdf document that contain images(logos graphics etc.)

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

This creates the PCL file
/bin/gs -sDEVICE=ljet4 -q -dNOPAUSE -dSAFER -sOutputFile=1190-inv.pcl 
1190-inv.pdf -c quit

This prints it
cat 1190-inv.pcl | netcat -d -hhslaser -p9100

Hope this helps

John


Doug Luurs wrote:
> (Linux Based FP 5.6)
>
> We have a standalone piece of hardware that creates html documents,
> and places them onto a
> Network drive.   I'd like to figure out a way to print them out based
> on a filepro process.
>
> Anyone every take a html file  (with JPG images) and try to print it
> to a (hplaser) printer
> Without having to load each html, hit PRINT and then OK.    This
> process will can easily generate
> Over a 100 pages of data per shipment.
>
> Thanks
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>   

The document is html to start.  Filepro isn't actually creating the documents, just printing them based
On the serial # tracking system I am working on.

We do use ghostscript for printing to PDF.  Works great.

-- 
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.

This E-mail, including any attachments, may contain confidential
information and is intended solely for use by the individual to whom
it is addressed.  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.  Any other use of this E-mail and/or attachments
is prohibited.  This message is not meant to constitute an electronic
signature or intent to contract electronically.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091201/a18154f5/attachment.html 


More information about the Filepro-list mailing list