Printing Labels.

K

Kevin Hodgson

I'm trying to add functionality to a VB.NET App to allow users to print
labels.

I'd have a collection of label types, which includes such properties as
label height and width, top and side margins, the number of columns and
rows, and the horizontal and vertical pitch, and allow the user to select
which type of labels they are trying to print on.

There doesn't seem to be very much sample code showing how to handle
printing in .NET, most of the sample code I've been able to find almost
without exception prints a text file residing on the users harddrive.

Any insight into this somewhat tricky area would be greatly appreciated.

Thanks
 
H

Herfried K. Wagner [MVP]

* "Kevin Hodgson said:
I'd have a collection of label types, which includes such properties as
label height and width, top and side margins, the number of columns and
rows, and the horizontal and vertical pitch, and allow the user to select
which type of labels they are trying to print on.

There doesn't seem to be very much sample code showing how to handle
printing in .NET, most of the sample code I've been able to find almost
without exception prints a text file residing on the users harddrive.

A very basic printing sample can be found here:

<URL:http://dotnet.mvps.org/dotnet/samples/printing/downloads/PrintFramework.zip>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top