Click or drag to resize
PMPrinterSetCostPerLength Method
Set basic costs per total job length

Namespace: PM90SettingsAPI.Printer
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public void SetCostPerLength(
	double monoCostPerInch,
	double colorCostPerInch,
	Nullable<double> duplexDiscount = null,
	Nullable<double> economodeDiscount = null
)

Parameters

monoCostPerInch
Type: SystemDouble
Monetary cost per black and white inch printed
colorCostPerInch
Type: SystemDouble
Monetary cost per color inch printed
duplexDiscount (Optional)
Type: SystemNullableDouble
Optional duplex discount to be applied when job is duplex. null will provide no discount
economodeDiscount (Optional)
Type: SystemNullableDouble
Optional economode discount to be applied when job is economode. null will provide no discount
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionCosts are negative, or discount percentages are not between 1 - 100
Remarks
All measurements in standard inches.
See Also