Does anyone know how to raw print directly to a network tcp/ip printer port (i mean like IP_192.168.0.100)? I know the winspool.writeprinter method and it seems that does not work for printers connected via tcp/ip port. Also tried with the windows.escape method and the PASSTHROUGH param but it sends jobs containing just formfeeds without any text.
My problem is that i need to send some escape codes directly to the printer (for text compression) so i must write directly to it. It works fine with a local printer.