Click here to Skip to main content
15,911,789 members

Comments by Member 12221464 (Top 3 by date)

Member 12221464 29-Apr-19 12:30pm View    
The problem is that the print method doesnt continue to generate barcodes on the next page so i only see the first one ...

this is the code from the method that sends information to preview
doc.PrintPage += Doc_PrintPage2;

pd.AllowSelection = true;
pd.AllowSomePages = true;
pd.Document = doc;
preview(doc);

This is the if statement which i placed inside the for loop after the e.Graphics.DrawString
if (p < e.MarginBounds.Bottom)

{
e.HasMorePages = false;
i += 1;
}
else
{
i = 0;
e.HasMorePages = true;
return;
}
Member 12221464 28-Apr-19 15:13pm View    
Deleted
The problem is that the print method doesnt continue to generate barcodes on the next page so i only see the first one ...

this is the code from the method that sends information to preview
doc.PrintPage += Doc_PrintPage2;

pd.AllowSelection = true;
pd.AllowSomePages = true;
pd.Document = doc;
preview(doc);

This is the if statement which i placed inside the for loop after the e.Graphics.DrawString
if (p < e.MarginBounds.Bottom)

{
e.HasMorePages = false;
i += 1;
}
else
{
i = 0;
e.HasMorePages = true;
return;
}
Member 12221464 28-Apr-19 14:59pm View    
Still no results ... Do you want to send you the project ?