Click here to Skip to main content
15,905,566 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm printing an invoice from my billing project(vb.net windows application) the invoice size may vary.

I've set a page size of 6 inches width and 5 inches height..

Even if my invoice is just 2 lines it would take up the whole 5 inches height of paper and roll out..

Can i configure it to just stop rolling paper once the print content is finished, so that i can save paper?

I'm using Zebra printer and rolling paper..

any ideas?

What I have tried:

objprinter.PrinterSettings.DefaultPageSettings.PaperSize = New System.Drawing.Printing.PaperSize("", 15, 15)

but no result..!!!

Please support...
Posted
Updated 4-Feb-18 4:37am
Comments
Richard MacCutchan 3-Feb-18 5:05am    
This is an issue with the Zebra printer (and a common question on these forums). You need to check the Zebra documentation to see how to modify the page size.
Maciej Los 4-Feb-18 10:32am    
Sounds like an answer...

1 solution

As Richard MacCutchan mentioned in the comment to the question, you have to check out Zebra documentation[^]. One of the way is to create a new paper size template or form to be used as your new default paper size.
 
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