Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

How to print directly to printer

By
Abdullah Sofan
on 12/3/14, 5:45 AM 3,377 views

How can I print invoice directly to printer?

It's a long process having to save the document in the pc, opening it in a pdf reader, then printing it.

0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 12/3/14, 6:06 AM

My search in google with direct printer openerp return the following link: http://planet.agilebg.com/en/2011/10/linking-openerp-to-cups-printers-base_report_to_printer/.  Have you tried?

Also a previous post: https://www.odoo.com/forum/help-1/question/how-to-send-reports-directly-to-printer-in-v7-0-1341

Ivan
on 12/3/14, 6:08 AM

Of course I did already, but I thought this only works to send print jobs to a printer attached to the server. How can I print on a printer attached to a client pc directly?

Abdullah Sofan
on 12/3/14, 6:17 AM

Use network printing (IPP). Share the printer attached to the client so that the server can see it, then attach that printer to the server. You can then send the print job to that printer connected to the client. I understand that using the said module you can only send one report (e.g. invoice) to one printer. However, AFAIK, there is no other solution yet that enables user to choose printer when printing and directly prints the invoice without download. If you are OK to get the PDF still displayed (automatically and in browser) and then user can print it (and choose the printer to print to), try the web_pdf_viewer (https://www.odoo.com/apps/trunk/web_pdf_viewer/) module. Not sure if it works with IE though.

Ivan
on 12/3/14, 6:28 AM

I am absoloutly OK with having the PDF still displayed. I went ahead and installed web_pdf_viewers as you mentioned, but it does not work. I even tried to install the plugins mentioned in the app page for both chrome and firefox but no matter what I did the browser always asks to download the file. Any ideas?

Abdullah Sofan
on 12/3/14, 10:15 AM

We have been using that module without any problem. Check the browser's console log (Press F12 to bring up the developer's tools, there should be Console Tab) if there is any error. Not sure why it did not work in your environment.

Ivan
on 12/3/14, 10:59 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 12/3/14, 5:45 AM
Seen: 3377 times
Last updated: 3/16/15, 8:10 AM