Printing PDF files (win32)
Robin Becker
robin at jessikat.fsnet.co.uk
Wed Aug 16 15:46:44 EDT 2000
In article <399AE84E.63AE1144 at mail.com>, Jan Dries <jdries at mail.com>
writes
>
>
>Robin Becker wrote:
>>
>> >Does anyone know how to automate the printing of PDF files through
>> >Acrobat Reader?
>> >
>> under unix it's fairly easy. I looked into doing this at one point, but
>> I couldn't figure out the com interface. There is an ActiveX Acrobat
>> Control, but I think that would be tough to use.
>
>The ActiveX Acrobat control has a very simple interface:
>
>1 property
> LPCTSTR GetSrc()
> SetSrc(LPCTSTR)
>3 operations
> void Print();
> BOOL LoadFile(LPCTSTR fileName);
> void AboutBox();
>
>Loading the file with LoadFile() and subsequently printing it with
>Print() works for me (in a C++ project). But the control is supposed to
>be a visual control. I can't tell if it can work as a background
>non-visual control.
>
>Regards,
>Jan Dries
>
yes that was exactly my problem; how to get the document processing
without a window.
--
Robin Becker
More information about the Python-list
mailing list