Title
Rev.
Page
HPP-240
Ver1.0
P.54
5)
long PrintPacket(unsigned char *PacketBuf,unsigned long PacketLength);
The sending data buffer outputs a USB port for the specified data length.
Parameters:
PacketBuf : TransmitDataBuffer Pointer
PacketLength : Transmit data length (not to exceed up to 64 bytes)
Return :
Normal Output : 1
Output Error : 0
※ Do not use functions other than those listed above as they are for debug.
※ For more information, download the sample program from our website.
7-2) USB
Cautionary Points when using the USB interface
When transmitting jointly with Windows driver with the USB interface, there are cases of
data transmission does not complete in order due to the mixed signal from the windows
driver data and the USB interface data. In this case, set it to
‘
without using Printer
SpoolFunction
’
under the printer
’
s property.
There won’t be an error during the receiving because it would only work through USB
interface when receiving.
※ Windows Application Data Flow Chart
Window Application
Printer
Window Driver
(Graphic)
)
DLL Interface
OCX Driver
(Command,
Character)
USB port
Transmit
Receive(Print Status Data)