Saturday, October 26, 2013

 

Printing To a Windows Printer from Linux Machine

It is always a problem when you want to print something to a "Windows Only" printer. Either you bough the wrong printer ( as i did), or you are sharing a Windows printer with someone. The fact is : a Windows printer can only be printed by a Windows machine. So, if you want your printer to print something, it has to be connected to Windows, either a real machine or a virtual machine.  The idea is : install a pdf printer driver which will output the file to your Windows printer. However, the detail is difficult. I tried the redmon solution and it works, but i want a simpler solution. First step : Install the driver and print a test page, so you know your printer is working. Second step : Install a free PDF printer driver in your Windows machine. I use PDFCreator which can be configured to send your pages to another printer. So things set up as, PDFCreator installed as "server" and "shared" and redirect the output to another printer.  Linux machine can talk to PDFCreator by LPD and anything can be printed from any Linux program. There is a problem with this set up. The Windows user has to be logged in when you want to use your printer. However, there is way to set up the PDFCreator as "service". There are also some free pdf driver, such as Bullzip's PDF Printer, but you have to write some python script to make it works.

This page is powered by Blogger. Isn't yours?