Hi Steve,
just upgraded to version 4.3. All fine except with one piece of my code where I am using EmbeddedPrint() to write 3 DGVs to a page. It all worked fine in the previous version but I'm now getting an ArgumentOutOfRange Exception on the final (3rd) call to EmbeddedPrint(). This is a VB project and I am using the compiled dll. I reaslise I could rewrite to use the new improved embedded print process, but I don't understand why the upgrade has 'broken' this particular print routine. Any ideas? Here's the log trace:
.ctor ,********************* New Trace *********************
EmbeddedPrint,EmbeddedPrint process started
SetupPrint ,SetupPrint process started
SetupPrint ,Initial Printer Margins are 1, 0, 129, 0
SetupPrint ,PrintRange is AllPages
SetupPrintRange,Grid Printout Range is 3 columns
SetupPrintRange,Grid Printout Range is 16 rows
measureprintarea,PageSet 0 Information ----------------------------------------------
measureprintarea,Measured columns 0,1,2
measureprintarea,Original Column Widths: 273,48,56
measureprintarea,Overridden Column Widths: -1,-1,-1
measureprintarea,Final Column Widths: 273,48,56
measureprintarea,pageset print width is 379, total column width to be printed is 377
PrintPage ,Print Page processing page 3 -----------------------
PrintPage ,Print Page printing page 3 part 1
PrintPage ,Current Margins are 1, 0, 129, 0
PrintPage ,Print Page printed rows 0 to 15
PrintPage ,Print Page printed columns 0,1,2
EmbeddedPrint,EmbeddedPrint process started
SetupPrint ,SetupPrint process started
SetupPrint ,Initial Printer Margins are 0, 0, 461, 0
SetupPrint ,PrintRange is AllPages
SetupPrintRange,Grid Printout Range is 6 columns
SetupPrintRange,Grid Printout Range is 3 rows
measureprintarea,PageSet 0 Information ----------------------------------------------
measureprintarea,Measured columns 0,1,2,3,4,5
measureprintarea,Original Column Widths: 40,41,189,38,35,37
measureprintarea,Overridden Column Widths: -1,-1,-1,-1,-1,-1
measureprintarea,Final Column Widths: 40,41,189,38,35,37
measureprintarea,pageset print width is 381, total column width to be printed is 380
PrintPage ,Print Page processing page 2 -----------------------
PrintPage ,Print Page printing page 2 part 1
PrintPage ,Current Margins are 0, 0, 461, 0
PrintPage ,Print Page printed rows 15 to 15
PrintPage ,Print Page printed columns 0,1,2,3,4,5
EmbeddedPrint,EmbeddedPrint process started
SetupPrint ,SetupPrint process started
SetupPrint ,Initial Printer Margins are 420, 0, 0, 0
SetupPrint ,PrintRange is AllPages
SetupPrintRange,Grid Printout Range is 6 columns
SetupPrintRange,Grid Printout Range is 5 rows
measureprintarea,PageSet 0 Information ----------------------------------------------
measureprintarea,Measured columns 0,1,2,3,4,5
measureprintarea,Original Column Widths: 60,32,32,32,32,32
measureprintarea,Overridden Column Widths: -1,-1,-1,-1,-1,-1
measureprintarea,Final Column Widths: 60,32,32,32,32,32
measureprintarea,pageset print width is 512, total column width to be printed is 220
|