Im compiling on xp box but need to deploy on 98SE box. Application works
great except printing, after i try to print on 98SE box it freezes
completly.
Code is quite standard:
private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
while ( trenutniVirman < iBrojac )
{
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iPlatitelj],
new Font("Times New Roman", 8 ),
Brushes.Black, 10, polozaj*390 + 55);
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iPrimatelj],
new Font("Times New Roman", 8 ),
Brushes.Black, 10, polozaj*390 + 120);
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iObiljezje],
new Font("Times New Roman", 10 ),
Brushes.Black, 10, polozaj*390 + 185);
e.Graphics.DrawString(arrayMatrica[trenutniVirman,
iSifraOpisa], new Font("Times New Roman", 10 ),
Brushes.Black, 87, polozaj*390 + 185);
.....................
iBrojac++
}
if ( trenutniVirman == iBrojac )
{
.............................
e.HasMorePages = false;
}
else
{
e.HasMorePages = true;
}
Its been called by:
if (printDialog1.ShowDialog() == DialogResult.OK)
{
printDocument1.Print();
}
Printing works great on XP, I cant even debug ( or dont know how ) on 98SE.
Maybe unicode is a problem, using croatian layout on 98SE.
Txh