I want to make a crystal report in visual studio 2005 (web based, language VB) user wants to print this report in continuos stationery (bank cheques) with printer Epson LX300. I am trying to set margin of report with 9" width and 3.66" height in new crystal
report but its not allow custom margin.
Is there any another way to do this or how can i do this task ?
Given links is very usefull but when i will create a new form in Printer and faxes -> server properties with the name of "Cheque", paper size 9.00in width and 3.66in heignt but the same is not
available in crystal report -> Design ->Printer Setup -> Paper size.
User will export this report in pdf format for print on Cheques (continuous stationary). I have already done this type of projects but all were for standart A4 size printing but in this case its different. Making a report with fix paper size (9.00in Width
and 3.66in Height) Is this a right way to do this or any another way please suggest.
I have done it with create new paper size in printer settings , server properties and use this paper size in crystal report. At the time of export in pdf file it will show exact size 9.00 inch width and 3.66 inch height.
Member
85 Points
63 Posts
How to set custom margin in crystal report VS2005
Aug 25, 2012 06:36 AM|balvant|LINK
Hello Friends,
I want to make a crystal report in visual studio 2005 (web based, language VB) user wants to print this report in continuos stationery (bank cheques) with printer Epson LX300. I am trying to set margin of report with 9" width and 3.66" height in new crystal report but its not allow custom margin.
Is there any another way to do this or how can i do this task ?
Kindly help thanks in advance.
Contributor
6622 Points
1743 Posts
Re: How to set custom margin in crystal report VS2005
Aug 27, 2012 01:59 AM|Ajay2707|LINK
Hi Balvant,
Are you asking about custom margin or custom page? I think you custom page size of cheques.
see link how to define custom page and set to report.
http://forums.asp.net/t/1829297.aspx/1?Custom+Size+in+Crystal+report+
or You can set custom size by programatically
http://social.msdn.microsoft.com/Forums/en/vscrystalreports/thread/36ba0b75-abfe-4ac6-a302-b1f0f1cca1e2
http://www.codeproject.com/Articles/12229/Adding-custom-paper-sizes-to-named-printers
Member
85 Points
63 Posts
Re: How to set custom margin in crystal report VS2005
Aug 27, 2012 03:51 AM|balvant|LINK
Thanks Ajay,
Given links is very usefull but when i will create a new form in Printer and faxes -> server properties with the name of "Cheque", paper size 9.00in width and 3.66in heignt but the same is not available in crystal report -> Design ->Printer Setup -> Paper size.
User will export this report in pdf format for print on Cheques (continuous stationary). I have already done this type of projects but all were for standart A4 size printing but in this case its different. Making a report with fix paper size (9.00in Width and 3.66in Height) Is this a right way to do this or any another way please suggest.
Thanks for help.
Contributor
6622 Points
1743 Posts
Re: How to set custom margin in crystal report VS2005
Aug 27, 2012 04:12 AM|Ajay2707|LINK
Hi Balvant,
Are you check all link.
For your problem you make a custom page size which not default mention in printer ,as in first link you go step by step.
The same setting you must done in client pc also after your end.
Member
85 Points
63 Posts
Re: How to set custom margin in crystal report VS2005
Aug 28, 2012 08:42 AM|balvant|LINK
Hi Ajay,
I have done it with create new paper size in printer settings , server properties and use this paper size in crystal report. At the time of export in pdf file it will show exact size 9.00 inch width and 3.66 inch height.
Thanks for your support. Happy coding
Contributor
6622 Points
1743 Posts
Re: How to set custom margin in crystal report VS2005
Aug 28, 2012 09:23 AM|Ajay2707|LINK
Hi Balvant,
Thanks dear,
Are you solved the problem or not?