- Code: Select all Expand view
- HB_FUNC( ISCOLORPRINTER )
{
LPDEVMODE lpDevMode;
PrinterInit();
lpDevMode = (LPDEVMODE) GlobalLock( pd.hDevMode );
hb_retl( lpDevMode->dmColor == DMCOLOR_COLOR );
GlobalUnlock( pd.hDevMode );
}
HB_FUNC( ISCOLORPRINTER )
{
LPDEVMODE lpDevMode;
PrinterInit();
lpDevMode = (LPDEVMODE) GlobalLock( pd.hDevMode );
hb_retl( lpDevMode->dmColor == DMCOLOR_COLOR );
GlobalUnlock( pd.hDevMode );
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Antonio Linares and 88 guests