Syntax:
INT LlPrinterSetup (HLLJOB hJob, HWND hWnd, UINT nObjType, LPCTSTR lpszObjName);
Task:
Opens a printer selection window and saves the user's selection in the printer definition file.
Parameter:
hJob: List & Label job handle
hWnd: Window handle of the calling program
nObjType:
Value |
Meaning |
LL_PROJECT_LABEL |
for labels |
LL_PROJECT_CARD |
for cards |
LL_PROJECT_LIST |
for lists |
lpszObjName: Valid project file name with path and file extension
Return Value:
Error code
Hints:
Must be called before LlPrint(WithBox)Start(). Allows printer selection without having to perform a printing process (as you must do when using LlPrintOptionsDialog()).
We do not recommend this function, LlPrintOptionsDialog() is much more flexible.
See also:
LlPrintStart, LlPrintWithBoxStart, LlPrintOptionsDialog, LlPrintGetPrinterInfo, LlSetPrinterInPrinterFile