This is a migrated thread and some comments may be shown as answers.

Aligning printed reports to preprinted forms

3 Answers 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
E
Top achievements
Rank 1
E asked on 10 Jan 2012, 03:54 PM
We are using WPF Telerik Reporting to print onto pre-printed forms that our customers use to submit to government agencies. For the vast majority of our users this works just fine, but some are having print alignment issues where the report doesn't align well enough to the pre-printed form and their submissions are being rejected. We thought we might be able to nudge the report printing a little in either a horizontal or vertical direction to account for this, but haven't found a great solution to this.

So far we have only looked at setting the print margins, but if we do that then the report print engine will realize the report no longer fully fits on a page and then will print overflow pages. What is the best way to tell the report engine at runtime to just nudge its content over by a small amount and still prevent overflow onto extra pages?

Btw, we tried making custom paper sizes with custom margins, but then that still prints extra pages.

3 Answers, 1 is accepted

Sort by
0
Chris Gillies
Top achievements
Rank 1
answered on 11 Jan 2012, 09:38 AM
In my experience, the print either works as you've calculated it would or not. What I mean is the absolute positions of items matches the position in the preprinted form. If this works fine for the majority of your users, it means those having problems either do not have correct printer drivers or have defined their own printer preferences from "Devices and Printers".
0
E
Top achievements
Rank 1
answered on 11 Jan 2012, 03:19 PM
I would agree, however our customers have provided us with samples from competitors that do print correctly for them and do provide print adjustment controls. So we are obliged to go the extra mile and try to find a solution for them. That being said, we are still stumped on this.
0
Steve
Telerik team
answered on 13 Jan 2012, 04:58 PM
Hello,

Chris is actually right, if single report works correctly on one machine, it would work correctly on all others, so something related to their printing functionality is different/not correct. The fact that your users report that they can print with other products does not mean that their driver is not corrupted and does not indicate whether their printing preferences have been modified manually. Additionally different products operate differently and have different settings and none of this is taken into account i.e. in short such comparison does not really bring any relevant information.

About the problem - we've not been reported such an issue so far. Once the report is processed and rendered in the viewer, you cannot alter the position of items/sections and the only changes you can made are from the Print Dialog itself. To get to the bottom of this, we would need a runnable project that exhibits the problem. You can open a support ticket and attach there the problematic project along with a printout of the preprinted form we're going to test on.

Greetings,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
E
Top achievements
Rank 1
Answers by
Chris Gillies
Top achievements
Rank 1
E
Top achievements
Rank 1
Steve
Telerik team
Share this question
or