On DOS we can:
NET USE LPT1: \\remote-pc\shared_printer
COPY file.txt > LPT1
I know on Linux I can print to local usb printer:
cat file.txt > /dev/usb/lp2
But how to print to a remote (Linux Shared Printer) AND to a (Windows Shared Printer) ?
Tks