Printing with EPL language

Well you have to know that you are in a COMMAND-box when using NET USE… And therefore you cannot use ‘\something\xxx’ - You can not use the single quote sign. You have to find the correct printername (that is why your NAV code does not work!!!)

You have to find the DNS-name of your printer.

So start with nbtstat -a 192.168.1.121 and find the name of the “printer-server”

Mine is HP9A6648

I know that the name of my pirnter is N911A

So I have to do a

NET USE LPT1: \HP9A6648\N911a /persistent:Yes

If you cannot find your printers correct name…then you need to find a network expert to help you - You have to be able to print from command line in order to “translate” it into the correct naming in NAV-code…

PRINTING to a simple printer is one of the most complicated things to do.

Thnaks for your answers and your time spent Palle, really appreciated.

I’ve spent the night during different approaches, and I used a 3rd party SW to send to a known printer the files in one folder. I located in that folder a generated EPL, and it has been printed correctly, so I think I can say that the EPL file is correct.

I must emphasize that if I use in the “Verb” argument the “open” option, I don’t get the rror, and the file is openned with the default app that has been selected for that extension. It seems that is a problem with the printing of that extension, that it isn’t available from the right click menu…