a question for Custom Paper Size and Report Viewer Paper Size

Stimulsoft Reports.NET discussion
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

Dear Custom Support

this is my question about Custom Paper Size and Print

http://www.qboss.com.tw/Version/ProbDesc.zip
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

a question for Custom Paper Size and Report Viewer Paper Size

Post by Alex K. »

Hello,

We made some improvements in that direction.
Please check the last prerelease build and let us know about the result.

Thank you.
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

We have installed your pre-released version(2011.1.923) but the problem still exists. Report came out in half when printed.
Can you tell us why the "custom" setting for paper size keeps switching to "statement" in the viewer?
is this a known issue with the report designer control? is there a workaround with the problem?

attachment
My report file 、 xml file 、vb 2005 Test Project
http://www.qboss.com.tw/Version/TestStiReport.zip
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

a question for Custom Paper Size and Report Viewer Paper Size

Post by Ivan »

Hello,
The problem we have is when the user sets the paper size as 'custom', the report looks fine in the 'viewer', but gets cut in half when printed out. Below is the actual report printed from Epson LQ300+II.
You set the page width greater than height. In this case the Orientation of template page must be set to Landscape.
We have noticed the paper size in the viewer gets set as 'Statement' instead of 'Custom' as set previously by the user.
We couldn't reproduce this issue. This list is depends on the currently selected printer.
If we go in and select ‘Statement’ in the viewer, the same effect that happened to our report printout can be seen.
Please note that after selecting PaperSize dimensions Width and Height are reversed, because the page orientation is portrait.

Thank you.
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

Image
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

1.Designer setting

Image

2.Print server setting

Image

3.Viewer's default setting
In the drop down box 'size' has changed to a different setting. We selected 'MySize' in the designer setting.
If we just use viewer's default, the report gets cut in half from a dot matrix printer Epson LQ300+II.

Image

4.If we manually select 'MySize' from the viewer again with the rest of the settings staying the same, the report gets print out correctly.....

Image

Bottom Line: The report prints out fine if we go back in "viewer" to select the custom paper size again.
Why can't it print out correctly without user intervention?
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

a question for Custom Paper Size and Report Viewer Paper Size

Post by Ivan »

Hello,
1.Designer setting
Please set the following values in the page setup in designer:

Size: Custom
Width: 21,6
Height: 14
Paper orientation: Landscape

or

Size: "Statement"
Paper orientation: Landscape
3.Viewer's default setting
In the drop down box 'size' has changed to a different setting.
This menu displays the available formats of the current printer.
Since the Custom format for the page is selected in designer, so by default will be installed closest accessible format - Statement (140 * 216).

Thank you.
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

Thanks for your reply.

We have tried both, but it still did not accomplish what we need.

We are trying to print invoices on a dox matrix printer. The paper size is 21.6 by 14cm.
If we change the orientation to Landscape, it prints the report counterclockwise on the right.
As you can see from the picture below.

Image

We also notice another thing.
The initial setting for "statement" in the view is showing what we wanted (216 * 140),
but it printed out with width and height reversed.
If we go back to set it back again to (216 * 140), it would print correctly.
RickyHuang
Posts: 68
Joined: Tue Feb 09, 2010 3:16 am
Location: Taiwan

a question for Custom Paper Size and Report Viewer Paper Size

Post by RickyHuang »

is there any updates?
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

a question for Custom Paper Size and Report Viewer Paper Size

Post by Andrew »

Hello,

Regarding the definition of terms Portrait and Landscape:
If the height is greater than the width of the page then this is a Portrait orientation.
If the height is less than the width of the page then this is a Landscape orientation.

Sizes of standard paper formats are determined in the portrait orientation, and then indicate the desired orientation.

When using the Custom format, you can specify any size/orientation. On your first image the portrait orientation is indicated, but the width is specified greater than the height and this is not correct.

It is not important when displaying on the screen.

But when printing some problems may appear: Some printer drivers check that the sizes do not correspond to the orientation, and change the orientation themselves. Accordingly, the image, when printing, is rotated on 90 degrees.

We use one method for printing on all printers.
If the image is rotated while printing, it means you incorrectly set the size/orientation, or incorrect printer settings are set.

Thank you.
Post Reply