Hi,
i need to prin a report on a sheet that is 3.5 inches high and 8.5 inches
wide,
the paperheight property is already changed, but doing some tests, on a
regular size sheet(11" x 8.2") it makes a form feed and doesnot
respect the height on the report.
Any ideas?
Comments
Are you loading templates before you print this reports? Is the paper size
showing up correctly on screen when you preview the report? Be sure you
have your PaperName set to Custom in order to print on a special paper size.
If you are loading templates, the paper size will reflect the paper size
defined when the template was saved. You will need to change the size again
inside a template event such as the OnLoadEnd event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Usually when the output to the screen differs from the output to paper it is
due to some event code or other code in your app being executed during the
report generation before it is printed. If you print directly to the
printer, skipping the screen, do you still get the same effect? Try placing
a break point in the BeforePrint event where you populate the labels and
check the paper size. ReportBuilder does not send any form feed commands to
your printer. All commands are handled using the Windows API. If your form
is feeding through it is because the API thinks there is more to print. You
may also try commenting out all your event code and seeing if you can get
the correct paper size to print successfully with a static label.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
i created a new report, with just 2 labels on the header band, no events
code, no nothing; the report has not a pipeline connected.
i checked the paper size is correct, but still, i got a formfeed after the
2 labels are printed....
the report is sent directly to a dot matrix printer using textradevices, the
property AllowPrinttoFile is set to true, DeviceType is set to
PrinterFile...
Any other idea!!!
IS REALLY URGENT!
As I mentioned in my previous post, ReportBuilder does not directly
communicate with your printer, it uses the Windows API to send your printer
driver commands.
ReportBuilder ==> Windows API ==> Printer Driver ==> Printer
If the paper size is correct in ReportBuilder then that is what is being
sent to the Windows API and it is most likely the fault of the printer
driver for the form feed. I am not familiar with the Dot Matrix support
offered by TExtraDevices. Try contacting waler support (support@waler.com)
for help with this.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com