G
gina
I don't think my problem is specific to VB.NET, so I'm posting
here...I have a customer who needs to print addresses on single-column
2.5"WX1"H labels on a dot matrix printer. I'm working with Windows XP
SP2.
I used Printers & Faxes to define a custom form with those
measurements, set that form as the default paper type for the printer
and set the printer as the default printer.
Problem is when I print, I either get nothing or the print head
advances across the label with nothing printed. When I increase the
height in the custom form to 4", I get my label printed, but for
labels measuring 4". It's as if windows cannot handle a label smaller
than that.
In case it matters...In my VB.NET form I'm using this code at the top
of my label-printing form:
Private WithEvents m_pdoc As New PrintDocument
Private m_strReader As System.IO.StringReader ' to print
Then I call m_doc.Print to do the printing.
Thanks for anything.
here...I have a customer who needs to print addresses on single-column
2.5"WX1"H labels on a dot matrix printer. I'm working with Windows XP
SP2.
I used Printers & Faxes to define a custom form with those
measurements, set that form as the default paper type for the printer
and set the printer as the default printer.
Problem is when I print, I either get nothing or the print head
advances across the label with nothing printed. When I increase the
height in the custom form to 4", I get my label printed, but for
labels measuring 4". It's as if windows cannot handle a label smaller
than that.
In case it matters...In my VB.NET form I'm using this code at the top
of my label-printing form:
Private WithEvents m_pdoc As New PrintDocument
Private m_strReader As System.IO.StringReader ' to print
Then I call m_doc.Print to do the printing.
Thanks for anything.