Problem changing printer
I'm facing the following problem:
- User has a label printer marked as the default printer on windows
- My application has ppReport.printersetup configured to A4 paper size
(note that label printer doesnt support this size)
- When the report is previewed on the screen, everything looks fine
- User click the print button, and change the printer to a laser
printer, in the printer setup dialog, and print the report
The problem is that the printed result is "cut" at the width of a label
Ie: 40% of the report is not printed, like if the A4 had the width of
a label.
Seems that RB, for some reason, is not carring the paper size defined in
the report.
Any idea?
Carlos
- User has a label printer marked as the default printer on windows
- My application has ppReport.printersetup configured to A4 paper size
(note that label printer doesnt support this size)
- When the report is previewed on the screen, everything looks fine
- User click the print button, and change the printer to a laser
printer, in the printer setup dialog, and print the report
The problem is that the printed result is "cut" at the width of a label
Ie: 40% of the report is not printed, like if the A4 had the width of
a label.
Seems that RB, for some reason, is not carring the paper size defined in
the report.
Any idea?
Carlos
This discussion has been closed.
Comments
message. I did a fresh install of Thunderbird and didn't noticed it used
the server name as the default sender name.
Carlos
No problem, thanks for updating your name.
Which version of ReportBuilder and Delphi are you currently using? Where
are you changing the paper properties in your application? If you manually
load a report and change the paper name and printer name at design-time, are
you able to print properly?
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I'm using RB 10.09 with Delphi 2007. In this case, I wasn't changing the
paper properties in runtime, and wasn't loading any report template too.
It was simple report... just dropped a TppReport to a form, and built
the report as I wanted. TppReport.PrinterSetup config was the "default"
one, just with the margin values changed (in designtime).
The workaround I found was to set the laser printer as the default
printer on windows, but this is not a solution.
The problem happened in one of my customers machines.
Carlos
Where are you changing the paper properties in your application? (Which
event).
If you manually change the paper name and printer name at design-time, are
you able to print properly?
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Not in this case.
Testing this will be a bit difficult, since I'll need to have access to
customer machine. I'll let you know when I'm able to do this.
[]s
Carlos