Website info
More info/contact
Unique visitors: 267080
Copyright 1999 - 2017
Bak-O-Soft (Poul Bak)
Hosted by:


TPBPrinterSetupDialog is a TPrinterSetupDialog component with capability of getting/setting printersetup-values (orientation, papersize etc) at designtime and runtime. Settings can be saved so users don't have to setup the printer every time they run your program.

Standard PrinterSetupDialog is used as propertyeditor.

At runtime you can switch between 4 setuptypes: stDefault (like standard PrinterSetupDialog), stInitial (settings set at designtime), stSaved (user defined settings saved) and stUser (settings set when the dialog has executed). AutoSave and ForceInitialSetupValues.

Version 3.00 has a small unit that, when installed, automatically saves and reloads the printersetup in Delphi (for instance to print code in low quality).

Context-sensitive help is included.

How to use: First set the InitialSetupOptions (the values you want to change from default).

Then either: Click the ellipse-button by InitialSetupValues (or double-click the component on the form) to launch a PrinterSetupDialog, change the values there and press 'Ok'.

Or: Double-click +InitialSetupValues to expand the sub-properties. Set the values by picking from the lists or enter your own values.

That's enough - use the other properties if you like.