Click or drag to resize
PMPrinterSetCostPerPage Method
Set basic costs per page

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

Parameters

monoCostPerPage
Type: SystemDouble
Monetary cost per black and white page printed
colorCostPerPage
Type: SystemDouble
Monetary cost per color page 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
See Also