Inesoft
PrintCE SDK .NET |
Allows to set up printing without a printing dialog
C# Syntax: bool ret = object.SilentPrintSetup(IntPtr parent, PrintInfo info)
VB Syntax: Dim ret As Boolean = object.SilentPrintSetup(ByVal parent As IntPtr, ByVal info As PrintInfo)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 PrintInfo 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
Non zero value indicates success, 0 indicates failure
See Also