[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] printing on Windows
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] printing on Windows |
Date: |
Fri, 29 Apr 2011 15:27:25 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Apr 29, 2011 at 11:11:48AM +0200, Hilbert, Sebastian wrote:
> More bits on printing on Windows.
>
> Most documents in GNUmed seem to be avaiable as pdf before they are being
> printed.
>
> I believe we cannot rely on Adobe Reader being installed so we need to find
> another way.
Oh, I'd think it'd be reasonable to expect that. After all,
many academic electronic papers come as PDF.
> Here is a bit of code we might want to look at.
>
> #!/usr/bin/env python
>
> import sys
>
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
That would mean pulling in the QT libraries just for printing.
However, better than not having anything.
> 2.) The PyQT program could be converted to a standalone binary executable
> which means there needs to be no QT installation on the Windows PC
>
> 3.) I might need to be extended to accept command line arguments for e.g.
> printing to the default printer , printing to a pre-defined printer
IOW, you'd want to rewrite kprinter.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346