IPrintSchemaTicket::put_JobCopiesAllDocuments method

[This documentation is preliminary and is subject to change.]

Sets the copy count.

Syntax

HRESULT put_JobCopiesAllDocuments(
  [in]  ULONG ulJobCopiesAllDocuments
);

Parameters

  • ulJobCopiesAllDocuments [in]
    The copy count.

Return value

This method returns an HRESULT value.

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::put_SelectedOption on PrintTicket, the cached PrintCapabilities document gets corrupted or modified and the cache will be purged.

Requirements

Version

Windows 8

Header

Printerextension.h

See also

IPrintSchemaTicket

IPrintSchemaFeature::put_SelectedOption

IPrintSchemaTicket::GetCapabilities

 

 

Send comments about this topic to Microsoft

Build date: 4/19/2012