In a new .mrt file the <PaperSize> tag is missing
Posted: Fri Feb 20, 2009 10:41 am
Using version 2009.1.335.0 of 2 February 2009.
In a newly created report design (i leave it empty to make a simple test), when i print from the designer preview on a certain printer i have the error "Handle not valid" (the error seems to come from the printer driver). Using another printer, it works ok. Using a design made with a previous version (i don't know what version) it works fine on every printer.
So i've matched the two .mrt files (the one created with the old version of StimulReport - that works on every printer - and the one created with the new version 2009.1.335.0 of 2 February 2009 that gives the "Handle not valid" error on a certain printer).
I've seen that in the non working file the following line is missing:
A4
Manually adding this line (in the appropriate place) in the non working mrt, everything has printed fine.
I've seen that if i in design i explicitly set the "A4" paper size through user interface, the "A4" tag is correctly written in the .mrt file.
It seems that when i create a new .mrt file it has no default paper size set and this gives some problem on some printer driver.
Thank you.
In a newly created report design (i leave it empty to make a simple test), when i print from the designer preview on a certain printer i have the error "Handle not valid" (the error seems to come from the printer driver). Using another printer, it works ok. Using a design made with a previous version (i don't know what version) it works fine on every printer.
So i've matched the two .mrt files (the one created with the old version of StimulReport - that works on every printer - and the one created with the new version 2009.1.335.0 of 2 February 2009 that gives the "Handle not valid" error on a certain printer).
I've seen that in the non working file the following line is missing:
A4
Manually adding this line (in the appropriate place) in the non working mrt, everything has printed fine.
I've seen that if i in design i explicitly set the "A4" paper size through user interface, the "A4" tag is correctly written in the .mrt file.
It seems that when i create a new .mrt file it has no default paper size set and this gives some problem on some printer driver.
Thank you.