Link to home
Create AccountLog in
Avatar of Danzigger
Danzigger

asked on

Print address labels in .net web app

Hi

I need to print address labels from a .net web app.  The labels will be a specific type, eg. Avery Inkjet Labels J8161.

What's the easiest way to achieve this?  The formatting needs to be reliable so that the customer knows that as long as they've got the right label stock the printing will be uniform.  Sometimes they'll print dozens of labels at once, sometimes just one.

I've done some Googling and seen suggestions using Crystal Reports.  I haven't used Crystal Reports before - do I need to?

Thanks for advice.
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Check out this open source project.  http://code.google.com/p/jzebra/.  I have had good succes with it although have not tried with postscript printer.

In  short you will load an applet  on your page and use some simple jquery calls to make sure the applet is loaded and talking to the printer.  When it is time to print load the javascript code to for printing via an ajax call.

The project uses rawprint commands and the developer has been very responsive to help.
Avatar of Mike McCracken
Mike McCracken

You don't need to use Crystal.  Most reporting tools will do what you want.
What tools do you have available?

mlmcc
Avatar of Danzigger

ASKER

Thanks for the replies.  jZebra looks interesting although from what I've read so far it needs to be configured for a specific printer?

mlmcc, the tools I have are those that ship with Visual Studio 2010.  I don't have any other specific reporting tools.
With post script printers it might be different.  But with receipt printers and barcode/label printers like those made by zebra (no relation), the manufactures use proprietary coding.  For most basic functions you should be able to use the same codes for all epson receipt printers for instance or all zebra label printers.  But going from band to brand requires different codes do do the same thing.  Of course some printers within the same brand have different functions.  

You can post a question to the users group and typically get a quick response if postscript printer codes can be interchangeable.    

It is for printing data from a browser without using File>Print as if what is in the printer and browser are connected natively like a program.

I have set up with multiple printers in one session but had to create individual coding for each.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account