Posted on: 11/2/2012 2:31:12 AM | Views : 268

We have a label printer attached to the network to a server. I want to print some labels, but I get an error. system.net.sockets.socketexception the requested address is not valid in its context
UPDATE:
The problem is solved. However another problem occured. The job is sent to the printer, but it just says put on queue, and it doesnt print.

Any suggestions?
Here is my code:
'Define a ThermalLabel object and set unit to cm and label size Dim tLabel As New Neodynamic.SDK.Printing.ThermalLabel(Neodynamic.SDK.Printing.UnitType.Cm, 6, 0) 'Define a BarcodeItem... Dim bcItem As New Neodynamic.SDK.Printing.BarcodeItem() 'Set the barcode symbology to Code 128 bcItem.Symbology = Neodynamic.SDK.Printing.BarcodeSymbology.Code128 'Set the value to encode i.e the user's product id bcItem.Code = TextBox1.Text 'Set barcode item l ...

Go to the complete details ...