Ref: "Ap1400ProgGuide1_2.docx"
Page 26 of 42
Document Revision: “1.2”
Document Date: “9 Apr. 2013”
8. The USBPrintDLL interface.
The following sections describe the functions provided by USBPrintDLL, the arguments required, and
the return values.
Name
Function
Page
GetDllVersion
Get the USBPrintDll full version information
25
DllInitialise
Initialise the USBPrint subsystem and LIBUSB drivers
26
EnumPrinters
Enumerates all the available USB printers with an ABLE vendor ID
27
GetEnumPrinterCount Gets the number of printers currently in an enumerated state
28
ClearEnumList
Clears all enumerations of printer on the USB
29
GetVendor
Gets the vendor ID of an enumerated device
30
GetProduct
Gets the product ID of an enumerated device
31
GetName
Gets the enumerated name of an enumerated device
32
OpenDevice
Opens a device and prepares it to send/receive data
33
CloseDevice
Closes and releases a device and associated handle
34
SendData
Send data to a device
35
ReadData
Read data transmitted from a device
36
SendCtrl
Send a control request or control data to a device
37
SendStatusReq
Get the current device status byte
39
KrnlSendData
Send data without flow control
40