I've installed the dll without any problem, made a report in navision that creates an ascii-file
with the necessary escape-codes and now I want to print my label with the next command
pathtxtFile := 'c:\textNav.txt';
PrinterName := '\\FIPRI\PR36--BP1344';
NaviPrinter.DirectPrint(PrinterName, pathtxtFile);
But this doesn't work, what am i doing wrong ?
Thx,
alexander
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
PrinterName := '\\FIPRI\PR36--BP1344';
CREATE(NaviPrinter);
pathtxtFile := 'c:\textNav.txt';
txtfile.open(pathtxtfile);
txtfile.textmode;
repeat
txtfile.read(v_lijn);
NaviPrinter.DirectPrint(PrinterName,v_lijn);
until txtfile.pos >= txtfile.len;
txtfile.close;
What is wrong ?
Thx
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.