Cannot Send File Contents Directly To Printer 追蹤
I have a little bit of an odd situation. I am using BarTender 9.4 on a Windows 2003 server.
I have set commander to trigger on TCP/IP socket. (This works). Commander takes the data from the TCP/IP socket and calls a VBS script which pulls all the data I need to print on the label. It also.....and here is the odd part, reads in a file of ZPL (Zebra) commands and substitutes the fields for the actual values and writes that file out. Unfortunately I have to do it this way as I don't have a .btw file for this. Additionally, this file of ZPL commands is used by our warehouse system, so I had to use it.
My challenge is just getting this file to the printer. I have tried just about everything I can think of. I have tried using command prompt to print /D:\\Server\Printername, but apparently print.exe is not compatible with SMB 2.0 which is on this server. I have tried the copy command to the printer as well as the TYPE command. I have tried creating batch files, etc. Nothing seems to work.
So I am looking for suggestions on what to try.
The file I am trying to send is properly formatted with ZPL. Not sure why I can't get it to print.
Any help would be appreciated.