Home|Download|Buy online|Affiliates|Search|Feedback|Site Map|ReviewsUse our online RSS & XML news feeds to get the latest news about our products delivered to your desktop... RSS feed    04.02.2012
Home»BestView preview library»SDK»Exported functions
Find out more how to use BestView...
bvConfigureDevMode

bvConfigureDevMode

The function is used to configure DEVMODE structure according to PCOREPREVIEW_PAGESIZE settings.

BESTVIEWAPI(BOOL) bvConfigureDevMode(LPCTSTR pszPrinterName, PDEVMODE pDevMode, PCOREPREVIEW_PAGESIZE pCorePreviewPageSize, LONG nCopies,LONG bCollate);

Parameters:

  • pszPrinterName - the printer's name
  • pDevMode - pointer to printer's DEVMODE structure
  • pCorePreviewPageSize - pointer to PCOREPREVIEW_PAGESIZE structure
  • nCopies - the number of copies of document
  • bCollate - the flag shows whether DM_COLLATE option has to be set

Return value: nonzero means success, zero - failure.

Valid HTML 4.01 Transitional© PVL team, 2004-2012, all rights reserved. This Web site and its entire contents are for personal use only and may not be copied, reproduced, modified, published or distributed in any way,without PVL team's prior written permission.