COPY file to printer?

Hi, I want to copy a file to a printer, preferably not using the shell command. FILE.COPY(FileName, Driver/DeviceName) doesn’t seem to work - I get a runtime error. Any ideas?

Maybe you could try to do this by using a SHELL command?!? SHELL(STRSUBSTNO('cmd.exe /c copy %1 %2', Filename, Devicename));

Hi Joerg, That’s the solution (shell) we use today. As I wrote in my initial posting, I’d like to avoid using the shell command, though. Does anybody know why FILE.COPY doesn’t work?


preferably not using the shell command

[:I][:I][:I] This happens if you programm, drink coffee and read MBSONLINE at the same time … sorry