Dec 14, 2004 #1 fum Technical User Dec 14, 2004 1 CH Does anyone know, how to print external PDF files in Powerbuilder? (e.g. OLE Automation, ...?)
Dec 22, 2004 #2 jcura Programmer Oct 18, 2002 34 PT You can use the OLE control, Adobe Acrobat Control (pdf.ocx in your Adobe Acrobat Reader directory, C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX) And then use the print functions: procedure printPages(none from, to: Integer) [dispid $00000015]; stdcall; procedure printPagesFit(none from, to: Integer; none shrinkToFit: WordBool) [dispid $00000016]; stdcall; procedure printAll [dispid $00000017]; stdcall; procedure printAllFit(none shrinkToFit: WordBool) [dispid $00000018]; stdcall; Greetings J. Cura Upvote 0 Downvote
You can use the OLE control, Adobe Acrobat Control (pdf.ocx in your Adobe Acrobat Reader directory, C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX) And then use the print functions: procedure printPages(none from, to: Integer) [dispid $00000015]; stdcall; procedure printPagesFit(none from, to: Integer; none shrinkToFit: WordBool) [dispid $00000016]; stdcall; procedure printAll [dispid $00000017]; stdcall; procedure printAllFit(none shrinkToFit: WordBool) [dispid $00000018]; stdcall; Greetings J. Cura