I have a thermal Labelprinter (Intermec EasyCode 3400).
I have a textfile on my disk with following content :
<STX><ESC>F06<NUL>Here comes some text<ETX>
<STX><ESC>F11<NUL>Her comes a number<ETX>
When I go to the command prompt of Windows (XP) and I type 'ftp <ipaddress_of_printer>, and I also give username and password, I am connected to the printer.
When I then use command 'put D:\Label.txt', the label is correctly printed.
So I can print data on the printer using FTP.
So, logically I want to do the same from within Delphi using the TNMFTP-Component.
Only problem is that I can't get it to work.
I tried the SendFile-Method but no success.
I tried the DoCommand, but no success.
Is there anyone who did something like this before, and can help me out on this one ?
Btw, I'm using Delphi 5 Enterprise Edition on Windows XP platform.
Thanks in advance for you help.