Compartilhar via


PrinterSend (Windows CE 5.0)

Send Feedback

Sends a block of data to a printer.

BOOL WINAPI PrinterSend(HANDLE hPrint,LPCVOID lpBuffer,DWORDdwBytes);

Parameters

  • hPrint
    [in] Handle to the port opened by the PrinterOpen function.
  • lpBuffer
    [in] Pointer to the data buffer containing the rendered band prepared by the printer driver.
  • dwBytes
    [in] Number of bytes in the buffer.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function writes dwBytes of data stored at the location pointed to by the parameter lpBuffer to a printer previously opened through a call to the PrinterOpen function.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Prnport.h.

See Also

PrinterOpen

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.