Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

IsDefaultPrinterExternal Function

The IsDefaultPrinterExternal function returns whether the passed printer structure defines the default printer.

C

BOOL WINAPI SftPrintPreview_IsDefaultPrinterExternal(SFTPRINTPREVIEW_PRINTERRESULT * Prt);

C++

static BOOL CSftPrintPreview::IsDefaultPrinterExternal(SFTPRINTPREVIEW_PRINTERRESULT * lpPrt);

Parameters

Prt

The printer definitions.

Returns

Returns TRUE if the printer is the default printer, FALSE otherwise.

Comments

The IsDefaultPrinterExternal function returns whether the passed printer structure defines the default printer.

GetCurrentPrinter can be used to retrieve the current, default printer's settings.

The IsDefaultPrinterExternal function doesn't require a SftPrintPreview control to be active. This allows an application to manipulate the current/selected printer before the first SftPrintPreview control is created.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.