rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

dump.h File Reference

#include <ilviews/base/port.h>
#include <windows.h>
#include <commdlg.h>

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 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=((IlBoolean) 1), IlBoolean reInit=((IlBoolean) 0), IlvSystemView transient=0)
 Selects a Windows printer.

Detailed Description

[library winviews ilviews/windows/dump.h] Declaration of the Windows dump device class


Function Documentation

char const * IlvGetWindowsPrinter ( IlBoolean  dialog = ((IlBoolean) 1),
IlBoolean  reInit = ((IlBoolean) 0),
IlvSystemView  transient = 0 
)

Selects a Windows printer.

You can call this global function to select a printer other than the default.

Parameters:
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.
Returns:
A string that describes the current printer. This string is managed internally and therefore must not be modified or deleted.
See also:
IlvWindowsDevice, IlvWindowsVirtualDevice.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.