Paxar 6039 Printer User Manual


 
3-16 Programmer’s Manual
Byte
Description
Writes a byte array to the Print subsystem. MPCL packets can be sent as
a byte array. After sending a completed MPCL Packet use the
LastPrintStatus function to get a status of the MPCL Packet.
Syntax
public byte[] Byte
Parameters
Byte array 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.Byte = "{B,1,N,1|E,0,0,1,1,0,1|";
rPrint.Byte = "1,\"" + strScanData + "\"|2,\"" + strScanData
+ "\"|}";