Paxar 6039 Printer User Manual


 
3-8 Programmer’s Manual
File
Description
Writes MPCL packets to the Print subsystem.
You can send more than one packet at a time in a file.
A batch packet starts a print job, which makes an asynchronous call to
the Print subsystem. After submitting a print job, the application should
call LastPrintStatus in a loop, waiting until the printer becomes free.
Syntax
public string File
Parameters
FileName to be sent for printing
Return Values
None
Example C#
using Ultra;
string strScanData = "C39";
Ultra.Print rPrint = new Print(); //Instantiate class
rPrint.File = "\\Onboard Flash\\C39Fmt.txt";
rPrint.Text = "{B,1,N,1|E,0,0,1,1,0,1|";
rPrint.Text = "1,\"" + strScanData + "\"|2,\"" + strScanData
+ "\"|}";