i just need to know is there any way to set report print orientation acording to default.
eg:-when we set the crystal report print setup orientation(portrait/landscape) print out should according to that (with out setting printer option orientation).
ya when we set the orientation on the design time as landscape but in printer setting default as portrait so we need to change it as a landscape to print the report. i just need print the report without selecting the oreantation in printer setting. its meen
when we click the print it should print acorcding to the orientation what we have set in design time.
I think this is impossible. You can not access the settings of client printer dialog box. What is possible is pops up the printer dialog box. Orientation, No of copies etc belongs to client's printer driver and browser does not allow to access.
chathuranga
Member
45 Points
34 Posts
Crystal report print format (portrait/landscape)
May 16, 2012 03:53 AM|LINK
i just need to know is there any way to set report print orientation acording to default.
eg:-when we set the crystal report print setup orientation(portrait/landscape) print out should according to that (with out setting printer option orientation).
CrystalReports 2008
cnranasinghe
Star
8885 Points
1798 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 03:48 AM|LINK
I am not getting your requirement. Do you want to change the orientation on runtime? Orientation need to be set on design time.
CrystalReports 2008
chathuranga
Member
45 Points
34 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 04:46 AM|LINK
ya when we set the orientation on the design time as landscape but in printer setting default as portrait so we need to change it as a landscape to print the report. i just need print the report without selecting the oreantation in printer setting. its meen when we click the print it should print acorcding to the orientation what we have set in design time.
thanks.
cnranasinghe
Star
8885 Points
1798 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 07:08 AM|LINK
Try this,
Set the printer to No Printer on design time
VS>Crystal Report>Printer Setup and check No Printer check box
chathuranga
Member
45 Points
34 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 08:07 AM|LINK
not working
cnranasinghe
Star
8885 Points
1798 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 10:27 AM|LINK
I have tested on a windows application and working fine but not on a web app.
chathuranga
Member
45 Points
34 Posts
Re: Crystal report print format (portrait/landscape)
May 17, 2012 11:23 AM|LINK
yes problum with web app.
cnranasinghe
Star
8885 Points
1798 Posts
Re: Crystal report print format (portrait/landscape)
May 18, 2012 03:54 AM|LINK
I think this is impossible. You can not access the settings of client printer dialog box. What is possible is pops up the printer dialog box. Orientation, No of copies etc belongs to client's printer driver and browser does not allow to access.
Any workaround found publish here.
-Thanks