pdf_tools printpdf com control
From: Barry (barry_wells_at_ca4.uscourts.gov)
Date: 10/30/03
- Next message: Andrew S. Vaz: "Re: Any1 recommend a RS232 component"
- Previous message: Michael Thuma: "Re: RemObjects Software, Inc. 2004 ROadmap and exciting news."
- Next in thread: Pascal Chapuis: "Re: pdf_tools printpdf com control"
- Reply: Pascal Chapuis: "Re: pdf_tools printpdf com control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 15:13:09 -0500
Does anyone use the pdf_tools printpdf com control? If so, how do you get
the com control to work with delphi? I'm not familiar with com controls.
Below is my code.
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, printerocxlib_tlb;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var
pdf_prt : pdfprinter;
begin
pdf_prt := pdfprinter.create(self);
pdf_prt.PrintFile('c:\578585.pdf','HP LaserJet 1200 Series PCL','');
end;
end.
- Next message: Andrew S. Vaz: "Re: Any1 recommend a RS232 component"
- Previous message: Michael Thuma: "Re: RemObjects Software, Inc. 2004 ROadmap and exciting news."
- Next in thread: Pascal Chapuis: "Re: pdf_tools printpdf com control"
- Reply: Pascal Chapuis: "Re: pdf_tools printpdf com control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]