Showing posts with label paper. Show all posts
Showing posts with label paper. Show all posts

Wednesday, March 21, 2012

Report to be printed in the orientation set in the rpt

I run a crystal report from VB. I send the report directly to the printer. The rpt file of the report that i am generating has paper orientation set to "Landscape". When i print the report , it prints in Portrait(setting of the default printer). But, if i preview the report instead of directly sending to the printer, the orientation is what is in the rpt. How to solve this problem ? Has anyone came up with this problem.

thanks
priyaI have a code example in my signature called "VB6/CR Print Setup Dialog Ex." which shows how to preset the printer setting and use those for printing, etc.

Monday, February 20, 2012

Report requesting 8.5 x 14 paper

Hello,
I have created a report in Reporting Services 2.0 using Visual Studio 2005
Report Designer. The report is defined as 8.5w x 11h.
For some reason when I preview the report using the Report Viewer and choose
to print the report, the printer is requesting 8.5w x 14h paper. I don't see
anything in the design that seems to call for that.
How can I debug this and get this to print properly? I would be more than
happy to provide the XML code that is generated by the designer.I would say that it is getting the 8.5 x 14 settings from your printer.
Check what the default paper is for your printer.
Craig
"WebPhenom" <WebPhenom@.discussions.microsoft.com> wrote in message
news:4CF88391-BB3E-45F9-ADF4-5D7B3F8AF35E@.microsoft.com...
> Hello,
> I have created a report in Reporting Services 2.0 using Visual Studio 2005
> Report Designer. The report is defined as 8.5w x 11h.
> For some reason when I preview the report using the Report Viewer and
> choose
> to print the report, the printer is requesting 8.5w x 14h paper. I don't
> see
> anything in the design that seems to call for that.
> How can I debug this and get this to print properly? I would be more than
> happy to provide the XML code that is generated by the designer.|||Actually, this occurs with every printer I print to so I don't think it is
from the default settings on the printer.
Is there something else that I could be checking?
I am going to try to recreate the report from scratch to see if that will
help. I hate to do that but I am at my wits end. In the mean time, if there
is something else I could be checking, please let me know.
"Craig" wrote:
> I would say that it is getting the 8.5 x 14 settings from your printer.
> Check what the default paper is for your printer.
> Craig
> "WebPhenom" <WebPhenom@.discussions.microsoft.com> wrote in message
> news:4CF88391-BB3E-45F9-ADF4-5D7B3F8AF35E@.microsoft.com...
> > Hello,
> >
> > I have created a report in Reporting Services 2.0 using Visual Studio 2005
> > Report Designer. The report is defined as 8.5w x 11h.
> >
> > For some reason when I preview the report using the Report Viewer and
> > choose
> > to print the report, the printer is requesting 8.5w x 14h paper. I don't
> > see
> > anything in the design that seems to call for that.
> >
> > How can I debug this and get this to print properly? I would be more than
> > happy to provide the XML code that is generated by the designer.
>
>|||Have you got the 8in x 14in setting on any printer?
"WebPhenom" <WebPhenom@.discussions.microsoft.com> wrote in message
news:FF84DD5D-523C-4B83-8F5B-2CA1106CE8D6@.microsoft.com...
> Actually, this occurs with every printer I print to so I don't think it is
> from the default settings on the printer.
> Is there something else that I could be checking?
> I am going to try to recreate the report from scratch to see if that will
> help. I hate to do that but I am at my wits end. In the mean time, if
> there
> is something else I could be checking, please let me know.
> "Craig" wrote:
>> I would say that it is getting the 8.5 x 14 settings from your printer.
>> Check what the default paper is for your printer.
>> Craig
>> "WebPhenom" <WebPhenom@.discussions.microsoft.com> wrote in message
>> news:4CF88391-BB3E-45F9-ADF4-5D7B3F8AF35E@.microsoft.com...
>> > Hello,
>> >
>> > I have created a report in Reporting Services 2.0 using Visual Studio
>> > 2005
>> > Report Designer. The report is defined as 8.5w x 11h.
>> >
>> > For some reason when I preview the report using the Report Viewer and
>> > choose
>> > to print the report, the printer is requesting 8.5w x 14h paper. I
>> > don't
>> > see
>> > anything in the design that seems to call for that.
>> >
>> > How can I debug this and get this to print properly? I would be more
>> > than
>> > happy to provide the XML code that is generated by the designer.
>>|||We have the same problem.
The report is set to use letter but it defaults to A4 for any printer
the user chooses. The default settings on the printers are also set to
letter. We tried this with different reports and we get the same
result. Running the same report from other clients the default page
size is letter.
>From this we can tell it is not the report and not the printer driver.
It seems like the Active-X control is the problem as it is getting it's
default setting from somewhere on this particular userss computer.|||Sadly, I had to recreate the report from scratch. Doing that solved the
problem but there must have been SOMETHING in the RDL to tell the printer it
needed/wanted Legal paper.
I wish I had an answer for you for your A4 problem.
"grandersg@.gmail.com" wrote:
> We have the same problem.
> The report is set to use letter but it defaults to A4 for any printer
> the user chooses. The default settings on the printers are also set to
> letter. We tried this with different reports and we get the same
> result. Running the same report from other clients the default page
> size is letter.
> >From this we can tell it is not the report and not the printer driver.
> It seems like the Active-X control is the problem as it is getting it's
> default setting from somewhere on this particular userss computer.
>|||I have the same problem and have checked every setting as well. I'd rather
not recreate my reports, so if anyone has another idea, I'd appreciate it!
"WebPhenom" wrote:
> Sadly, I had to recreate the report from scratch. Doing that solved the
> problem but there must have been SOMETHING in the RDL to tell the printer it
> needed/wanted Legal paper.
> I wish I had an answer for you for your A4 problem.
> "grandersg@.gmail.com" wrote:
> >
> > We have the same problem.
> >
> > The report is set to use letter but it defaults to A4 for any printer
> > the user chooses. The default settings on the printers are also set to
> > letter. We tried this with different reports and we get the same
> > result. Running the same report from other clients the default page
> > size is letter.
> >
> > >From this we can tell it is not the report and not the printer driver.
> > It seems like the Active-X control is the problem as it is getting it's
> > default setting from somewhere on this particular userss computer.
> >
> >