Die Auswahl eines Druckers wird mit der Methode SelectPrinter durchgeführt.
|
Syntax | ||||
|
Value := PrinterSelect.SelectPrinter([hwndOwner][, InitialPrinter] [, PrintFlags] [, PrinterName] [, Copies] [, Duplex] [, PaperSize] [, PrintQuality] [, ColorMode] [, PaperBin] [, Oprientation]) | ||||
|
Rückgabewert | ||||
|
Typ |
Beschreibung | |||
|
Boolean |
True, wenn die Auswahl mit OK abgeschlossen wurde. | |||
|
Parameter | ||||
|
Verwendung |
Name |
Typ |
Übergabe |
Beschreibung |
|
Optional |
hwndOwner |
Long |
ByVal |
Das WindowHandle des Fensters, dem dieser Dialog gehört |
|
Optional |
InitialPrinter |
String |
ByVal |
Name des zuerst ausgewählten Druckers |
|
Optional |
PrintFlags |
PrintDialogFlags |
ByRef |
Einstellungen des Dialogs |
|
Optional |
PrinterName |
String |
ByRef |
Name des gewählten Druckers |
|
Optional |
Copies |
Long |
ByRef |
Anzahl der Kopien |
|
Optional |
Duplex |
Long |
ByRef |
Duplex-Modus |
|
Optional |
MinPage |
Long |
ByRef |
Drucken ab der Seite |
|
Optional |
MaxPage |
Long |
ByRef |
Drucken bis zur Seite |
|
Optional |
PaperSize |
Long |
ByRef |
Papiergröße |
|
Optional |
PrintQuality |
Long |
ByRef |
Druckqualität |
|
Optional |
ColorMode |
Long |
ByRef |
Farbmodus |
|
Optional |
PaperBin |
Long |
ByRef |
Einzug des Druckers |
|
Optional |
Orientation |
Long |
ByRef |
Seitenorientierung |
|
PrintDialogFlags |
Beschreibung |
|
0 – AllPages |
|
|
&H10 – Collate |
|
|
&H80000 - DisablePrintToFile |
|
|
&H1000000 – HidePrintToFile |
|
|
&H1 – PageSelection |
|
|
&H2 – PageEnums |
|
|
&H200000 – NoNetworkButton |
|
|
&H4 – NoSelection |
|
|
&H80 - NoWarning |
|
|
&H40 - ShowPrintSetup |
|
|
&H20 - SelectPrintToFile |
|
|
&H800 - ShowHelp |
|
|
&H4000 - UseDevModeCopies |
|