|
-
Dec 1st, 2011, 02:19 AM
#1
Thread Starter
Member
print barcodes using printdocument
I am trying to print a barcode
I have successfully made the barcode in a label using a reference .dll file
Imports BarCode
TempLabel = New Label
With TempLabel
.Text = BarcodeConverter128.StringToBarcode(CStr(tblPrintLabels.Rows(intLabelCount)("BARCODE_NO")))
.Font = New Font("Code 128", 28)
.AutoSize = True
.Location = New Point(25, 77 + 135 * intLabelCount)
End With
Me.Controls.Add(TempLabel)
however when i try to print this using :
e.Graphics.DrawString(BarcodeConverter128.StringToBarcode(CStr(tblPrintLabels.Rows(intLabelCount)("B ARCODE_NO"))), _
prFont1, Brushes.Black, 25, 77 + LabelsOnPage * 135)
I get a bunch of junk.
is there a way for the print document control to also use the reference that i added?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|