+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

CMLL18 - add printer '\serverprinter' to PAI -> cannot be opened


(M. Hansler) #1

Our main office application uses Combit to output forms. When output of 1 document is sent to a printer it occasionally can’t find the configured printer for some reason, which results in a crash of the application.

Using Debwin it clear that a default printer can not be found. When multiple documents are sent in a batch, there is no problem.
We have checked the connection to the printer and there is a steady connection with the JetDirect port.
Should we further investigate printerconnections or concentrate on Combit, according to the Debwin logs?

CMLL18  : 09:10:29.878 00002840/00 9  [prow32.dll] LlSetPrinterInPrinterFileA(2,32770,'\\server\Forms$\MB_template.lst',-1,'\\server\printer',00000000)
CMLL18  : 09:10:29.878 00002840/00 0   [prow32.dll] >clsApplication::hLibrary(13,0,0,1)
CMLL18  : 09:10:29.878 00002840/00 1    [prow32.dll] >clsApplication::GetLibrary(13,0,0,0)
CMLL18  : 09:10:29.878 00002840/00 2    [prow32.dll] <clsApplication::GetLibrary() -> 0X0FAE0000
CMLL18  : 09:10:29.878 00002840/00 3   [prow32.dll] <clsApplication::hLibrary() -> 0X0FAE0000
CMLL18  : 09:10:29.987 00002840/00 4   [prow32.dll] WARNING: PrintDlg() failed (CommDlgExtendedError()=PDERR_NODEFAULTPRN) while querying the system for the default printer.
Out of experience, I expect I will not be able to create a DC on that device. But wait and see.
CMLL18  : 09:10:29.987 00002840/00 5   [prow32.dll] >ResetDevices()
CMLL18  : 09:10:29.987 00002840/00 6   [prow32.dll] <ResetDevices()
CMLL18  : 09:10:29.987 00002840/00 7   [prow32.dll] >ResetDevices()
CMLL18  : 09:10:29.987 00002840/00 8   [prow32.dll] <ResetDevices()
CMLL18  : 09:10:30.065 00002840/00 9   [CMLL18.DLL] add printer '\\server\printer' to PAI -> cannot be opened. desired access=00000008: 'Kan geen printers vinden. (00000bc4)'
CMLL18  : 09:10:30.409 00002840/00 0   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.409 00002840/00 1   [CMLL18.DLL] WTS Session: 'RDP-Tcp#0' (ID: 2)
CMLL18  : 09:10:30.409 00002840/00 2   [CMLL18.DLL] WTS: unable to enumerate sessions: Het systeem kan het opgegeven apparaat of bestand niet openen. (0000006e)
CMLL18  : 09:10:30.409 00002840/00 3   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.409 00002840/00 4   [CMLL18.DLL] WTS Session: 'RDP-Tcp#0' (ID: 2)
CMLL18  : 09:10:30.409 00002840/00 5   [CMLL18.DLL] WTS: unable to enumerate sessions: Het systeem kan het opgegeven apparaat of bestand niet openen. (0000006e)
CMLL18  : 09:10:30.409 00002840/00 6   WRN: CreateDC(\\server\printer) did fail: Het systeem kan het opgegeven apparaat of bestand niet openen. (0000006e)
CMLL18  : 09:10:30.409 00002840/00 7   [prow32.dll] WRN: failed to create DC for '\\server\printer'
CMLL18  : 09:10:30.409 00002840/00 8   [prow32.dll] WRN: failed to get default paper format of '\\server\printer'
CMLL18  : 09:10:30.409 00002840/00 9   [prow32.dll] WRN: failed to get default paper orientation of '\\server\printer'
CMLL18  : 09:10:30.409 00002840/00 0   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.409 00002840/00 1   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.409 00002840/00 2   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.409 00002840/00 3   [CMLL18.DLL] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.581 00002840/07 4   [prow32.dll] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.581 00002840/07 5   [prow32.dll] Printer '\\server\printer' is in PAI -> available=0
CMLL18  : 09:10:30.581 00002840/07 6   [prow32.dll] removing the DM_ORIENTATION flag from DEVMODE as this is defined by the project