bvSetLastUsedPrinterName
The function sets the name of the last used printer.
BESTVIEWAPI(LONG) bvSetLastUsedPrinterName(LPCTSTR pszLastUsedPrinterName);
Parameters:
-
pszLastUsedPrinterName - the name of the printer
Return value: nonzero means that the printer was found in the internal list and
marked as last used. Zero means failure, probably because of nonexistent
printer.