Re: cross platform printing - using a GUI ?
Had you used it? Daniel -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing - using a GUI ?
If you're in need of a GUI, then wxPython might be your cross-platform printing solution. Regards, Philippe David Isaac wrote: >> Alan Isaac wrote: >> > What is the current best practice for cross platform printing of > PostScript >> > files from Python? > > "Warren Postma" <[EMAIL PROTECTED]> wrote in > message news:[EMAIL PROTECTED] >> Well since printing postscript files on most Unix systems (probably >> including Mac OSX although I don't really know this for sure) is >> trivially easy, why not investigate using cygwin on Windows and >> launching an "lpr" task from your python script that prints the given >> postscript file. Implementation time on Unix: 0 minutes, 0 seconds. >> Implementation time on Windows; the time it takes make a cygwin batch >> file that prints using ghostscript. > > I meant something that application users on different platforms can print > with, not something > that they could coerce a platform into supporting given enough energy > (e.g., via Cygwin). > The closest to an option so far seems to be to generate PDF and assume an > application is available to print it. Not beautiful. > > Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing
Hi Dennis... Then, what would be your solution? Print a PDF? If so, how you do that without assuming that an application is available to print it? Daniel -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing
"David Isaac" <[EMAIL PROTECTED]> writes: >> Alan Isaac wrote: > I meant something that application users on different platforms can print > with, not something > that they could coerce a platform into supporting given enough energy (e.g., > via Cygwin). > The closest to an option so far seems to be to generate PDF and assume an > application is available to print it. Not beautiful. What about generating some other image format? It does seem more likely that the host OS will be able to handle, say GIF, than PDF. In particular, Windows probably comes able to print GIF out of the box, but not PDF. Then again, when I use Windows acrobat reader gets installed fairly early, so I may have overlooked it. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing
> Alan Isaac wrote: > > What is the current best practice for cross platform printing of PostScript > > files from Python? "Warren Postma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well since printing postscript files on most Unix systems (probably > including Mac OSX although I don't really know this for sure) is > trivially easy, why not investigate using cygwin on Windows and > launching an "lpr" task from your python script that prints the given > postscript file. Implementation time on Unix: 0 minutes, 0 seconds. > Implementation time on Windows; the time it takes make a cygwin batch > file that prints using ghostscript. I meant something that application users on different platforms can print with, not something that they could coerce a platform into supporting given enough energy (e.g., via Cygwin). The closest to an option so far seems to be to generate PDF and assume an application is available to print it. Not beautiful. Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list
Re: checkbook manager -> cross platform printing
"David Isaac" <[EMAIL PROTECTED]> writes: > "Alan Isaac" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> I'd like to try personal financial management using Python. >> I just found PyCheckbook, but it does not support check printing. >> Is there a Python check printing application kicking around? > OK, I'll assume silence means "no", so new question. You really should wait more than a day for answers. Lots of people (me, for instance) read the newsgroup once aq day. > What is the current be practice for cross platform printing of PostScript > files from Python? > Same question for PDF. (I'm aware of > URL:http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html.) I don't think there's a cross-platform solution for these things, because different platforms handle printing in different manners. Your URL talks about shellExecute for Windows. On Unix, I expect to be able to hand ps to lpr and have the right thing happen. pdf may need a pdf2ps (part of ghostscript) run on it first, or it may not, depending on the system setup. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing
David Isaac wrote: OK, I'll assume silence means "no", so new question: What is the current best practice for cross platform printing of PostScript files from Python? Well since printing postscript files on most Unix systems (probably including Mac OSX although I don't really know this for sure) is trivially easy, why not investigate using cygwin on Windows and launching an "lpr" task from your python script that prints the given postscript file. Implementation time on Unix: 0 minutes, 0 seconds. Implementation time on Windows; the time it takes make a cygwin batch file that prints using ghostscript. Regards, Warren -- http://mail.python.org/mailman/listinfo/python-list
Re: cross platform printing
Hello David, > "Alan Isaac" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I'd like to try personal financial management using Python. > > I just found PyCheckbook, but it does not support check printing. > > Is there a Python check printing application kicking around? wxPython is a cross platfom UI framework which has printing support. Maybe you can cook something. HTH. -- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys pgpEIgHIJHs3H.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list
cross platform printing
"Alan Isaac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'd like to try personal financial management using Python. > I just found PyCheckbook, but it does not support check printing. > Is there a Python check printing application kicking around? OK, I'll assume silence means "no", so new question: What is the current best practice for cross platform printing of PostScript files from Python? Same question for PDF. (I'm aware of URL:http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html.) Thanks, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list
Re: checkbook manager -> cross platform printing
"Alan Isaac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'd like to try personal financial management using Python. > I just found PyCheckbook, but it does not support check printing. > Is there a Python check printing application kicking around? OK, I'll assume silence means "no", so new question. What is the current be practice for cross platform printing of PostScript files from Python? Same question for PDF. (I'm aware of URL:http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html.) Thanks, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list