MODI.PrintOut copies not working as intended

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);
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top