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
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
[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
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
> 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
> 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
>
> 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
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.
> 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
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,
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
> 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
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
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")
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
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
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
17 matches
Mail list logo