Receipt is opening in crystal viewer when i print that receipt it prints on whole page. I want to print that receipt on small dot matrix printer paper (just like small chit of paper).
I don't know how to do that.
Please help me!
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sam HobbsRank #108 · 20.5K reputationPosted Aug 9, 2010, 9:36 AM EDT
Mahesh ChandRank #1 · 393.4K reputationPosted Aug 9, 2010, 9:49 AM EDT
Here is more reading with sample code:
http://msdn.microsoft.com/en-us/library/system.drawing.printing.pagesettings.papersize.aspx
PrinterSettings.PaperSizes property is used to add new paper sizes to your printer settings.
PaperSize in C# and GDI+
Tanveer Ahmed11 reputationPosted Aug 11, 2010, 7:13 AM EDT
I am going to try it. It'll surely help me.