Printing Functions 3-3
nStockType
Description
Sets the supply type in the printer.
public eSTOCK_TYPE nStockType
Parameters
STOCK_PAPER
Paper
STOCK_FAX
Fax
STOCK_SYNTHETIC
Synthetic
Return Values
STOCK_PAPER
Paper
STOCK_FAX
Fax
STOCK_SYNTHETIC
Synthetic
Example C#
using Ultra;
{
Ultra.Print rPrint = new Print(); // Instantiate class
rPrint.nStockType = Ultra.Print.eSTOCK_TYPE.STOCK_PAPER;
// Stock Type = Paper
}
Example VB.NET
Imports Ultra
Dim rPrint As New Print ' Instantiate class
rPrint.nStockType = rPrint.eSTOCK_TYPE.STOCK_PAPER;
' Set Stock Type to Paper