Page is a not externally linkable
- Microsoft
-- Microsoft IIS Web Server and ASP.NET
---- Printing address labels from a web application


mfewtrell - 2:48 pm on Jul 15, 2005 (gmt 0)


I like the last response although I'll admit the style sheet is a little over my head.

I've got no problem grabbing the address details from the database and sticking in them on the page using a repeater or something similar.

I assume I can ignore the barcode bit and that the second section just defines the font used on each label.

I assume that @page Section1 defines the page size (label size) with margins etc and then the div.Section1 assigns the page size to the content of each div?

Presumably you have a number of columns/rows to match the number of labels on the sheet?

Have you ever tried this sort of approach with a label printer rather than sticking sheets through a conventional printer? I assume this would be easier still as you don’t have to worry about which label you are starting on?

Thanks for all the comments.


Thread source:: http://www.webmasterworld.com/microsoft_asp_net/2863.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com