VpeSetDevCopies

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeSetDevCopies

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Sets the number of copies for the currently selected output device.

void VpeSetDevCopies(

VpeHandle hDoc,

int copies

)

VpeHandle hDoc

Document Handle

int copies

the number of copies to print

Remarks:

It is possible to set the default number of copies for most printers in the printer control panel. This value is automatically reflected by DevCopies at the moment a device is selected (i.e. when calling VpeOpenDoc() or VpeSetDevice()).