T
Terence
Hi all,
I'm trying to specify the number of copies to print in MODI.PrintOut
method but it will always print 1 copy only. Could anyone help?
Below is my code snipplet:
private void myPrintMethod()
{
string strFileName = xn.SelectSingleNode("Filename").InnerXml;
int intNumOfCopies =
Int16.Parse(xn.SelectSingleNode("NumOfCopies").InnerXml);
MODI.DocumentClass doc = new MODI.DocumentClass();
doc.Create(strPrintFolder+strFileName);
if (intNumOfCopies > 0)
{
doc.PrintOut(1, -1, intNumOfCopies, strPrinterName, "", false,
MODI.MiPRINT_FITMODES.miPRINT_PAGE);
doc.Close(false);
}
}
I'm trying to specify the number of copies to print in MODI.PrintOut
method but it will always print 1 copy only. Could anyone help?
Below is my code snipplet:
private void myPrintMethod()
{
string strFileName = xn.SelectSingleNode("Filename").InnerXml;
int intNumOfCopies =
Int16.Parse(xn.SelectSingleNode("NumOfCopies").InnerXml);
MODI.DocumentClass doc = new MODI.DocumentClass();
doc.Create(strPrintFolder+strFileName);
if (intNumOfCopies > 0)
{
doc.PrintOut(1, -1, intNumOfCopies, strPrinterName, "", false,
MODI.MiPRINT_FITMODES.miPRINT_PAGE);
doc.Close(false);
}
}