Classes | |
class | IlvWindowsDevice |
Windows-specific class to predefine printer devices. More... | |
class | IlvWindowsPrinterDCDialogFactory |
Windows-specific class to create a printer device context from the Windows print dialog. More... | |
class | IlvWindowsPrinterDCFactory |
Windows-specific class to create a printer device context. More... | |
class | IlvWindowsVirtualDevice |
Windows-specific class to predefine devices. More... | |
Functions | |
char const * | IlvGetWindowsPrinter (IlBoolean dialog=IlTrue, IlBoolean reInit=IlFalse, IlvSystemView transient=0) |
Selects a Windows printer. More... | |
Library: winviews
Declaration of the Windows dump device class
char const* IlvGetWindowsPrinter | ( | IlBoolean | dialog = IlTrue , |
IlBoolean | reInit = IlFalse , |
||
IlvSystemView | transient = 0 |
||
) |
Selects a Windows printer.
You can call this global function to select a printer other than the default.
dialog | If this parameter is set to IlTrue , a dialog box is displayed where you can specify the destination printer as well as the paper size and orientation. If this parameter is set to IlFalse , a string describing the current default printer is returned. If an error occurs, or if the user clicks the Cancel button, 0 is returned. |
reInit | If this parameter is set to IlTrue , the the settings of the printer must be reinitialized. This is useful when the printer settings were already set through the dialog and you want restore the initial settings. |
transient | Specifies the system view for which the dialog is transient. If it is transient, then the dialog is also modal. |
IlvWindowsDevice
, IlvWindowsVirtualDevice
.