IPrintSchemaTicket::put_JobCopiesAllDocuments method (printerextension.h)
Sets the copy count.
This property is write-only.
Syntax
HRESULT put_JobCopiesAllDocuments(
ULONG ulJobCopiesAllDocuments
);
Parameters
ulJobCopiesAllDocuments
Defines the ULONG parameter ulJobCopiesAllDocuments.
Return value
Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | printerextension.h |