SSRS 2005 How to Print 4" X 3" label as Portrait.. SSRS assumes Landscape
Asked Answered
P

4

7

I have a SSRS 2005 report form that is printing to a Zebra ZDesigner TLP 2844-Z label printer. The Interactive and Page sizes are set to 4" wide by 3" high. Since there is no paper orientation in SSRS, it is assuming this to be a landscape report when it should be a portrait thereby printing the labels sideways.

The users are able to export to a PDF and print after adjusting the print settings, but the extra clicks to produce/print the pdf's are unacceptable.

Is there a way to force the print job to print portrait or another workaround/trick to do this?

Piliform answered 11/12, 2009 at 17:43 Comment(1)
I have the same problem. Will let you know what I find.Contradance
A
1

Can you just set your Page width to be 3" and your height to 4" ? (Not your Interactive Size, your Page Size)

August answered 29/12, 2009 at 1:19 Comment(0)
E
0

How are you designing the report? There should be a property to modify for paper orientation in the report's properties...

From MSDN

So what defines a portrait vs. landscape report? If the PageHeight is less than the PageWidth, then it is landscape, otherwise it is portrait. It is important to understand that Reporting Services has no notion of the rotation of the paper in the printer. It is up to the applications that consume the output (Acrobat reader, print control) to determine the correct printer settings to best render the specified page size.

Note that the DeviceInfo settings can be used at report rendering time to override the page sizes in the definition. This is how the client print control works when you change margins or page size. In SP2 and SQL 2005 Reporting Services, the default page sizes are extracted from the definition at publish time and written to the ReportServer database as custom properties on the report. While you can programmatically change these via the SetProperties method on the web service, they will be overwritten if the report is republished (unlike parameter and datasource information).

Eclectic answered 11/12, 2009 at 21:33 Comment(1)
SSRS 2005 does not give you the option for Paper Orientation, rather Page Width and Page Height properties which are used to determine orientation based. For example: Width > Height = LandscapePiliform
C
0

I have a similar printer with a similar problem. Change the report orientation to portrait (the numbers will be backward). Then when you run the report click page setup. Change the size from "USER" to either "custom" or "template" (depending upon your printer). You should then be able to use your printer properties to change the size of the labels.

Contradance answered 11/2, 2010 at 14:31 Comment(0)
C
0

To prevent the SSRS WinForms ReportViewer from rotating your printed labels, use a square page. If the length and width are the same, ReportViewer will not rotate. I found that when I expanded the page size for my 2.5" x 1" label to 2.5" x 2.5", the print was oriented correctly on the stock and there was no waste. Perhaps Zebra's driver clips the blank area.

I also tried designing a rotated label using Text Box's WritingMode = Rotate270. That didn't help.

Caramelize answered 14/2, 2013 at 17:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.