Hi all,
I have a thermal Labelprinter (Intermec EasyCode 3400).
I have a textfile on my disk with following content :
<STX><ESC>C<ETX><STX><ESC>E6<CAN><ETX>
<STX><ESC>F01<NUL>1310125<ETX>
<STX><ESC>F06<NUL>Here comes some text<ETX>
<STX><ESC>F48<NUL>27/02/2007 08:38:46<ETX>
<STX><ESC>F11<NUL>Her comes a number<ETX>
<STX><RS>1<ETB><ETX>
<STX><ESC>C<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.
Wim.
Our community of experts have been thoroughly vetted for their expertise and industry experience.