You can install the printer as an lpr printer on Windows. In the following I'm assuming Win7, but other versions of Windows are similar.
Go to Devices & Printers and click on "Add a printer". Make sure you add a "local" printer. When asked for the port, create a new Standard TCP/IP port with the linux host's IP address. If Windows cannot find it, create a Custom port and set it to LPR, with the linux printer name as the queue name. If Windows does find the host, still make sure it is set to LPR, if necessary by going to Printer Properties > Ports > Configure Port. Finish the installation by telling Windows the printer model. Make sure you have driver files handy.
You could also install the printer as a local printer connected to LPT1 or FILE. Then go to the Ports tab and create the required TCP/IP port.
cat yourfile.pdf | ssh user@yourubuntumachine lpr
, credit: askubuntu.com/questions/26433/how-to-print-over-ssh