VPE_PRINT_DEVDATA

<< Click to Display Table of Contents >>

Navigation:  Messages Generated by VPE-DLL >

VPE_PRINT_DEVDATA

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Is sent only while printing, exactly before printing a new page and immediately after VPE_PRINT_NEWPAGE has been sent. The only use for this event is to call VpeDevSendData() in response.

VpeDevSendData() enables your application to send escape sequences to the printing device. So it is possible to select for example an output paper bin by code (or whatever other functionality is provided by the connected printer).

VPE_PRINT_DEVDATA

WPARAM wParam

LPARAM lParam

Parameters:

wParam

current page number that will be printed

lParam

contains the document-handle, so you can determine which document has sent the message

Remarks:

Your application should return PRINT_ACTION_OK (zero) if it processes this message without calling VpeDevSendData(). If it called VpeDevSendData(), your application must return PRINT_ACTION_CHANGE ( = 1).

 

See also:

VPE_PRINT_NEWPAGE