[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
htmltopdf Re: [Gnumed-devel] Printing
From: |
Jim Busser |
Subject: |
htmltopdf Re: [Gnumed-devel] Printing |
Date: |
Fri, 15 Jan 2010 22:59:36 -0800 |
On 2010-01-15, at 1:18 PM, Sebastian Hilbert wrote:
> MacOS and Windows both have printer setup/selection dialogs but no means to
> call them from the command line ?
The following was supplied and offered to me from offlist however the starting
point is html and therefore more suited to a browser-based EMR like OpenEMR or
Oscar McMaster unless we have a use-case for html?
> http://code.google.com/p/wkhtmltopdf/downloads/list
>
> I've been using this to output all my stuff to the printer, using this sort
> of code:
>
> Shell "wkhtmltopdf " & modHTML.Write_HTML(shtml) & " /tmp/any.pdf" Wait
> Shell "lp -d " & Left(printername, InStr(printername, ":") - 1) & " " & "
> /tmp/any.pdf" Wait
>
> I think it is available for both linux, mac and windows.
>
> Works instantly and flawlessly on linux.
-- Jim
- Re: [Gnumed-devel] Printing, (continued)
- Re: [Gnumed-devel] Printing, Karsten Hilbert, 2010/01/17
- Re: [Gnumed-devel] Printing, Jim Busser, 2010/01/17
- Re: [Gnumed-devel] Printing, Karsten Hilbert, 2010/01/17
- Re: [Gnumed-devel] Printing, Karsten Hilbert, 2010/01/17
- Re: [Gnumed-devel] Printing, Jim Busser, 2010/01/17
- Re: [Gnumed-devel] Printing, Karsten Hilbert, 2010/01/18
Re: [Gnumed-devel] Printing, Jim Busser, 2010/01/15
Re: [Gnumed-devel] Printing, Jim Busser, 2010/01/16
htmltopdf Re: [Gnumed-devel] Printing,
Jim Busser <=
Re: [Gnumed-devel] Printing, Karsten Hilbert, 2010/01/16