Inesoft
PrintCE SDK EVC++ |
This function allows to set up printing without a printing dialog
BOOL PDC_SilentPrintSetup(
HWND parent,
PRN_INFO *info
);Parameters
parent
Handle to the parent window. In case of incorrect parameters in info, driver uses this handle as a parent for message presentions.
info
Pointer to PRN_INFO structure.
Note:
It is possible to set specific port settings with registry.
For "File" port: set output file path (registry "HKEY_CURRENT_USER\Software\Inesoft\PrintCE" string value "FilePath")
For "Network printer" port: set network printer path (registry "HKEY_CURRENT_USER\Software\Inesoft\PrintCE\NetPrinters" string value "SelPath")
For "Bluetooth Broadcom" port: registry "HKEY_CURRENT_USER\Software\Inesoft\PrintCE\Bluetooth(Broadcom)" values:
"Address" - address of Bluetooth device as binary value (see "Widcomm Bluetooth SDK documentation for details)
"Service" - service name as string (see "Widcomm Bluetooth SDK documentation for details)
"Channel" - sevice channel number as DWORD (see "Widcomm Bluetooth SDK documentation for details)
For "Bluetooth Microsoft " port: registry "HKEY_CURRENT_USER\Software\Inesoft\PrintCE\Bluetooth(Microsoft)" binary value "Address - address of Bluetooth device
Return Values
TRUE indicates success, FALSE indicates failure
See Also