Click here to Skip to main content
16,017,857 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear All,

I have created a crystal-report in which I used a custom page(e.g voucher having width: 8.50 In and height: 5.84 In) created in my default printer.

The problem is that when I run the application from code it sets the page which I gave in default setting of my Crystal Report.But after publishing on IIS it's being printed on A4 page not on page defined.

Looking for valuable solutions of yours

Thanks in advance,

Supriya
Posted
Comments
AmitGajjar 12-Dec-11 5:41am    
Hi,

both the time you check your page from same computer ?
Supriya Srivastav 12-Dec-11 5:45am    
I checked it from the same and other system too.......

Hi,

please check this MSDN forum[^]

this may help you,

thanks
-Amit.
 
Share this answer
 
Comments
Supriya Srivastav 12-Dec-11 5:51am    
k,I try this....
 
Share this answer
 
v2
Comments
Supriya Srivastav 12-Dec-11 8:06am    
Thnx for ur sol,I tried it but still prob is as it is.
Because my purpose is to print report in half page means two pages of report will be printed in one A4 size page.
Report is running well from code but when try to run from localhost after publishing on IIS default page is changed to full A4 size page.
thatraja 12-Dec-11 9:22am    
check my updated answer
AshishSarang 29-Aug-12 5:33am    
Thanks for solution... Job done.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900