3-10 Programmer’s Manual
Text
Description
Writes a string to the Print subsystem. MPCL packets can be sent as a
string. After sending a completed MPCL Packet use the LastPrintStatus
function to get a status of the MPCL Packet.
Syntax
public string Text
Parameters
String to be sent to print
Return Values
None
Example C#
using Ultra;
string fmtC39 = "{F,1,A,R,E,200,200,\"C39\"|"+
"C,150,49,0,50,8,8,A,L,0,0,\"M6039 Platinum\",1|" +
"T,1,22,V,6,1,0,1,1,1,O,C,0,0|" +
"B,2,20,V,23,2,4,12,100,8,C,0|}";
string strScanData = "C39";
Ultra.Print rPrint = new Print(); //Instantiate class
rPrint.Text = fmtC39;
rPrint.Text = "{B,1,N,1|E,0,0,1,1,0,1|";
rPrint.Text = "1,\"" + strScanData + "\"|2,\"" +
strScanData + "\"|}";