G
Guest
I hope I posted this to the correct group. If not, please let me know and I
will get it posted in the correct section.
I have a web application developed in ASP.NET using C# for the code behind.
I need to be able to print shipping labels from a web page within this
application. The shipping label data is pulled from a 3rd party application
and comes in binary format specific for certain brands of label printers. I
have a class library written (in C#) to handle sending the raw data directly
to a selected printer that is compiled into a seperate dll. I am in need of a
way to be able to instantiate an object from this class library and call a
method that will send the raw data to the client's printer. My assumption was
that I would be able to accomplish this via an ActiveX approach and in some
way or form package the dll up so that it would get delivered client side and
then have access to the printer port, but I am having a heck of a time trying
to track down any info/articles on how to do this.
Basically, the procedure needs to go as follows:
1. Client fills out a form for shipment information and clicks a submit
button.
2. Code behind handles the click event, transmitting the label request to a
3rd party and receiving back the binary data for the label, then sending that
binary data directly to a selected printer (by calling a static method in the
class library dll that handles the delivery to the printer).
If someone could just point me in the right direction of where to find info
on how to accomplish this it would be most appriciated!
will get it posted in the correct section.
I have a web application developed in ASP.NET using C# for the code behind.
I need to be able to print shipping labels from a web page within this
application. The shipping label data is pulled from a 3rd party application
and comes in binary format specific for certain brands of label printers. I
have a class library written (in C#) to handle sending the raw data directly
to a selected printer that is compiled into a seperate dll. I am in need of a
way to be able to instantiate an object from this class library and call a
method that will send the raw data to the client's printer. My assumption was
that I would be able to accomplish this via an ActiveX approach and in some
way or form package the dll up so that it would get delivered client side and
then have access to the printer port, but I am having a heck of a time trying
to track down any info/articles on how to do this.
Basically, the procedure needs to go as follows:
1. Client fills out a form for shipment information and clicks a submit
button.
2. Code behind handles the click event, transmitting the label request to a
3rd party and receiving back the binary data for the label, then sending that
binary data directly to a selected printer (by calling a static method in the
class library dll that handles the delivery to the printer).
If someone could just point me in the right direction of where to find info
on how to accomplish this it would be most appriciated!