Answered Printing to a label printer

Chase

New member
Joined
Aug 26, 2020
Messages
2
Programming Experience
1-3
Hi there

I am busy with a WPF application where I want to print item barcodes. I've tried using Migradoc and iTextSharp but the sizing is built more for an A4 type of paper size. Does anyone have a suggestion for me on what to use? or maybe how to resize my data to fit within a label sticker when printing
 

Attachments

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
1,788
Location
Chesapeake, VA
Programming Experience
10+
Set the page size in iTextSharp. See linked response that does this using VB.NET. Translating into C# shouldn't be too hard:
 

Chase

New member
Joined
Aug 26, 2020
Messages
2
Programming Experience
1-3
Thanks for the advice, I saw that we need to get the SDK of the label printer too.
Set the page size in iTextSharp. See linked response that does this using VB.NET. Translating into C# shouldn't be too hard:
 
Top Bottom