Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
l am using a TVS MSP printer and need to print Continues paper, when ever I generate Sale Report.

Now I have a hard time on how to set my Paper Size to Width = 5 and the Length to be a dynamic.

Meaning If the Data of the Sale Report can fill up a Length 25 inches then the Custom paper size will be
5 X 25. and If the Data of the Sale Report can fill up only to the length of 10 inches then the Custom paper size will be
5 X 10.

So is there anyway possible to set the Length of the Paper Size to be Dynamic.


i am using crystal report's, visual Studio 2012
report.PrintToPrinter(1, false, 0, 3);
Posted
Updated 8-Jan-15 20:32pm
v2

1 solution

 
Share this answer
 
Comments
Mahesh Alappuzha 14-Jan-15 4:43am    
i didint get it.
Maciej Los 14-Jan-15 7:24am    
Which part?
Mahesh Alappuzha 19-Jan-15 1:10am    
set custom page width

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