Printing a html file
John Sica
john at chrismanncomputer.com
Tue Dec 1 08:36:18 PST 2009
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
>
>
More information about the Filepro-list
mailing list