ArcObjects Library Reference (OutputExtensions)  

IArcPressPrinter.SelectedDriverId Property

Selected driver id.

[Visual Basic .NET]
Public Property SelectedDriverId As UID
[C#]
public UID SelectedDriverId {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

Instead of directly assigning a value to the SelectedDriverId property, developers should instead use the IArcPress::AutoSelectDriverByName method.  This method will automatically select the appropriate ArcPress driver for the printer. Directly assigning a value to the SelectedDriverId property can cause unexpected results while printing.

Before calling IPrinter::StartPrinting, check that SelectedDriverId is not null.  If AutoSelectDriverByName cannot find a compatible driver, SelectedDriverId will be null and the call to StartPrinting will fail.

See Also

IArcPressPrinter Interface