Re: Print a PDF transparently

2006-02-21 Thread Daniel Crespo
Thank you very much Roger Upole and Tim Golden for your posts... I found an exe that can print a pdf file (using Acrobat Reader) on any windows printer right from the command line. It opens Acrobat, order it to print the pdf file at a certain printer and then closes Acrobat. The exe is a c-compile

Re: Print a PDF transparently

2006-02-21 Thread Grant Edwards
On 2006-02-20, Tim Golden <[EMAIL PROTECTED]> wrote: > [Daniel Crespo] >| >| > Have you seen this? >| > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html >| > In particular, the section on using win32print directly. >| >| Yes, I have. The problems is that an external program is la

RE: Print a PDF transparently

2006-02-21 Thread Tim Golden
[Daniel Crespo] | | > Have you seen this? | > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html | > In particular, the section on using win32print directly. | | Yes, I have. The problems is that an external program is launched for | handling the file and print it. [sorry, bit lo

Re: Print a PDF transparently

2006-02-20 Thread Roger Upole
This seems to work ok with acrobat 7 (don't know if it will work with earlier versions). The only thing I had to tweak was acrobat's security setting for allowing print via script operations. I didn't try to figure out how to wait until the print was finished. hth Roger impor

Re: Print a PDF transparently

2006-02-20 Thread Daniel Crespo
> Have you seen this? > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html > In particular, the section on using win32print directly. Yes, I have. The problems is that an external program is launched for handling the file and print it. In the case of PDF, acrobat is launched. In the

Re: Print a PDF transparently

2006-02-20 Thread Daniel Crespo
> Have you seen this? > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html > In particular, the section on using win32print directly. Yes, I have. The problems is that an external program is launched for handling the file and print it. In the case of PDF, acrobat is launched. In the

Re: Print a PDF transparently

2006-02-17 Thread [EMAIL PROTECTED]
> > Where can I find how to send a .ps directly to the printer? > Have you seen this? http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html In particular, the section on using win32print directly. Brian. -- http://mail.python.org/mailman/listinfo/python-list

Re: Print a PDF transparently

2006-02-17 Thread bonono
Daniel Crespo wrote: > Yes, I've seen it, but that's it: another program that I have to > install, which I want to avoid. > > I'd be happy if I just do "printer.Print(file.pdf/.ps)" and walá, the > printing just starts (in 98,2000,XP... sounds like a dream), without > having another window opened.

Re: Print a PDF transparently

2006-02-17 Thread Daniel Crespo
> Adobe has a Windows PostScript driver for free; but that still > leaves you out... It works as a "printer" but you still have to run the > normal application to print /to/ it -- and that is what you say you > don't want! http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500 Yes, I've seen

Re: Print a PDF transparently

2006-02-17 Thread EShames
On 2/17/2006 9:02 AM, Daniel Crespo wrote: > Hi to all, > > I want to print a PDF right from my python app transparently. With > "transparently" I mean that no matter what program handles the print > petition, the user shouldn't be noticed about it. > > For example, when I want to print a PDF,

Re: Print a PDF transparently

2006-02-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Based on all this, I have been investigating about postscript files. I >> realize that printers do handle this language, so I think if I have a >> .ps file and send it directly to the printer, it should do the job, >> ri

Re: Print a PDF transparently

2006-02-17 Thread Diez B. Roggisch
> Based on all this, I have been investigating about postscript files. I > realize that printers do handle this language, so I think if I have a > .ps file and send it directly to the printer, it should do the job, > right? (this is certainly a question) If the answer is True, no matter > in what p

Re: Print a PDF transparently

2006-02-17 Thread Daniel Crespo
Hi, Thanks for all the answers. My main purpose is to print on Windows systems (98,2000,XP) and permit to print pages of 1/3 of a letter height, and make the printer to stop at that point (in dot matrix printers). When I have a PDF with that paper size and send it to print from Acrobat, it prints

Re: Print a PDF transparently

2006-02-17 Thread Grant Edwards
On 2006-02-17, Daniel Crespo <[EMAIL PROTECTED]> wrote: > I want to print a PDF right from my python app transparently. With > "transparently" I mean that no matter what program handles the print > petition, the user shouldn't be noticed about it. This works for me: system("lpr whatever.pdf")

Re: Print a PDF transparently

2006-02-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Daniel Crespo <[EMAIL PROTECTED]> wrote: >Hi to all, > >I want to print a PDF right from my python app transparently. With >"transparently" I mean that no matter what program handles the print >petition, the user shouldn't be noticed about it. > >For example, when I

Re: Print a PDF transparently

2006-02-17 Thread infidel
Daniel Crespo wrote: > Hi to all, > > I want to print a PDF right from my python app transparently. With > "transparently" I mean that no matter what program handles the print > petition, the user shouldn't be noticed about it. > > For example, when I want to print a PDF, Adobe Acrobat fires and k

Print a PDF transparently

2006-02-17 Thread Daniel Crespo
Hi to all, I want to print a PDF right from my python app transparently. With "transparently" I mean that no matter what program handles the print petition, the user shouldn't be noticed about it. For example, when I want to print a PDF, Adobe Acrobat fires and keep opened. This is what I don't w