|
|
|
EDSPrint(Set) allows Delphi developers to programmatically get/set the various properties of the current printer. The following printer properties can be manipulated:
See file EDSPRINT.HLP for the various settings for these properties.
EDSPrint can be included in any Delphi application royalty-free. It's now bannerware! If you like EDSPrint, try our other products. Download PRINTSET.ZIP (36,451 bytes) now... Using EDSPrint EDSPrint is now published as a Delphi component. To use EDSPrint, drop the PRINTSET component onto your form. You can then access the printer properties directly:
procedure TForm1.Print1Click (Sender: TObject);
begin
{this is all you add}
PrintSet1.PaperSize := dmPaper_Legal;
PrintSet1.Copies := 5;
{to here}
if PrintDialog1.Execute then ...
{changes will be reflected in PrintDialog and PrinterSetupDialog}
end; { TForm1.Print1Click }
Several other features have been added for Get/Setting Paper Sizes
and Bin Sources. A new routine (ResetPrinterDialogs) now overcomes
a Delphi bug which caused the PrinterSetupDialog and PrintDialog
to not function properly (or at all). |