PDA

View Full Version : Print to a printer without driver in Linux



seauniv
30th December 2014, 02:31
Hi guys,

We developed a Qt application which deployed on Linux. Now we want to print to a printer which doesn't have driver on Linux but have on Windows.
My question is how we can print to the printer directly?

Thanks in advance.

wysota
30th December 2014, 09:06
Not sure what you are asking about. If you can't install the printer on Linux you will have to provide a way to move the document you want to print from Linux to Windows. One way is to print to pdf and then copy it to Windows where you can print it. Another way is to deploy a helper application (e.g.a print server that accepts documents over http) on Windows which will accept the document and print it for you automatically.

Other than that, install the printer on the Linux machine, there probably exist solutions which can share a generic print queue on Windows and you should be able to use that.

seauniv
31st December 2014, 07:29
Not sure what you are asking about. If you can't install the printer on Linux you will have to provide a way to move the document you want to print from Linux to Windows. One way is to print to pdf and then copy it to Windows where you can print it. Another way is to deploy a helper application (e.g.a print server that accepts documents over http) on Windows which will accept the document and print it for you automatically.

Other than that, install the printer on the Linux machine, there probably exist solutions which can share a generic print queue on Windows and you should be able to use that.

The problem is there is no drivers for our printer on Linux machine, so cannot install it on Linux.

wysota
31st December 2014, 07:54
The problem is there is no drivers for our printer on Linux machine, so cannot install it on Linux.

Read my post again, install the printer on Windows and share it with the Linux box using one of the methods I described.