IPrintSchemaTicket::put_JobCopiesAllDocuments method

Sets the copy count.

This property is write-only.

Syntax

HRESULT put_JobCopiesAllDocuments(
  ULONG ulJobCopiesAllDocuments
);

Parameters

ulJobCopiesAllDocuments

Return Value

None

Remarks

Be aware of the fact that the IPrintSchemaTicket::GetCapabilities method retrieves a new PrintCapabilities document, which it also caches every time it is invoked. This means that if you use IPrintSchemaTicket::put_JobCopiesAllDocuments or IPrintSchemaFeature::SelectedOption on PrintTicket, the cached PrintCapabilities document gets corrupted or modified and the cache will be purged.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See Also

IPrintSchemaFeature::SelectedOption

IPrintSchemaTicket

IPrintSchemaTicket::GetCapabilities