Click here to Skip to main content
15,867,895 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello Everyone,

I have created a new form (custom PaperSize) for printer of certain width and height,

Now I want to change it's height but through code?

Is there any way to this, so that page size for that custom paper will change in the printer settings?


Firdaus Shaikh
Posted
Comments
Ed Nutting 2-Sep-12 14:43pm    
Maybe adapting/exploring this will help you? http://nicholas.piasecki.name/blog/2008/11/programmatically-selecting-complex-printer-options-in-c-shar/

No guarantees - it's a stab in the dark - but it might just help you out - since no-one else has proffered anything.
Ed :)
Firdaus Shaikh 3-Sep-12 11:35am    
May be a stab in the dark, but looks promising,
I'll give try n see how it works out,

Thanks Ed,
at least a diiferent solution, I wasn't able to find while googling...

Firdaus Shaikh
Firdaus Shaikh 4-Sep-12 13:14pm    
Well that solution didn't work for me!!!
or may be I can't get it to work...
Is there any other way?

1 solution

I have added solution for my question which also solution for this question,

link for solved question is:
Printing on continuous stationery through crystal report[^]
 
Share this answer
 

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