Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print PDF in PowerBuilder

Status
Not open for further replies.

mhyztyq

Programmer
Mar 16, 2005
4
0
0
PH
Anyone who knows how to print PDF in PowerBuidler? Please help me. Thanks.
 
You can open the pdf in a window with a Adobe Acrobat Control for ActiveX OLE control (which use the pdf.ocx file in you Acrobat Reader directory).
and then use something like that:
ole_1.object.Print()
or another print function of the PDF Ole Object:

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
JCura
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top