I am trying to send raw data to a label printer,
specifically a ZEBRA 105SL, using Visual Studio 2005.
I have the following code, but it is not working.
Can anyone help?
FileOpen(1, "LPT1", OpenMode.Output)
PrintLine(1, "^XA^MMC^MNN^MTT^PON^PMN^JMA^PR4,4^JUS^CI0^XZ")
PrintLine(1, "^XA")
PrintLine(1, "^LH0,0^LL" & lYLabelLen)
PrintLine(1, "^BY10,3,500^FT550," &lYBarCode& "^B3B,N,,N,N")
PrintLine(1, "^FD" & strLoc & "^FS")
PrintLine(1, "^FO580," & lYText1 & "^A0B250,250")
PrintLine(1, "^FD" & strLoc & "^FS")
PrintLine(1, "^XZ")
FileClose(1)
specifically a ZEBRA 105SL, using Visual Studio 2005.
I have the following code, but it is not working.
Can anyone help?
FileOpen(1, "LPT1", OpenMode.Output)
PrintLine(1, "^XA^MMC^MNN^MTT^PON^PMN^JMA^PR4,4^JUS^CI0^XZ")
PrintLine(1, "^XA")
PrintLine(1, "^LH0,0^LL" & lYLabelLen)
PrintLine(1, "^BY10,3,500^FT550," &lYBarCode& "^B3B,N,,N,N")
PrintLine(1, "^FD" & strLoc & "^FS")
PrintLine(1, "^FO580," & lYText1 & "^A0B250,250")
PrintLine(1, "^FD" & strLoc & "^FS")
PrintLine(1, "^XZ")
FileClose(1)