Search 1.9 billion lines of Odoo code on GitHub

base_report_to_printer

Author: Agile Business Group & Domsense, Pegueroles SCP, NaN, LasLabs, Camptocamp, Odoo Community Association (OCA), Open for Small Business Ltd
License: AGPL-3
Branch: 12.0
Repository: 2FM/report-print-send
Dependencies: base, and web
Languages: HTML (418, 4.5%), JavaScript (47, 0.5%), PO File (6355, 68.6%), Python (1839, 19.9%), XML (470, 5.1%), and reStructuredText (132, 1.4%)
Other branches: 10.0, 11.0, 6.1, 7.0, 8.0, 9.0, and moylop260-patch-1
Other repositories: 3dfxsoftware/customaddons, ACCOMODATA-BVBA/report-print-send, AMhadhbi/report-print-send, AbdelghaniDr/report-print-send, Alfa-90/report-print-send, AliWebkul/report-print-send, Anaximelis/odoo-addons, BibekLamichhane/report-print-send, Change2improve/report-print-send, ClearCorp/oca-report-print-send, Cloudxtreme/report-print-send, CompassionCH/report-print-send, Comunitea/report-print-send, Dobtor-OCA/report-print-send, Endika/report-print-send, FedericoLaTorre/patches, ForgeFlow/report-print-send, Gabinete-Digital/report-print-send, GathSystemsOdoo/odoo-addons, Guobower/report-print-send, Hamza-Talibi/report-print-send, Hasnur/report-print-send, HomerDeoDatu/report-print-send, Ingeos/report-print-send, InteroTechnologies/report-print-send, Jarsa/report-print-send, JibenCL/report-print-send, KennyLeung/report-print-send, KontorConsulting/odoo-addons, LasLabs/report-print-send, Mahmoud-Alaa-Eldeen/odoo-addons, NeatNerdPrime/report-print-send, Nucleoos/odoo-addons-1, OCA-MUK/report-print-send, OCA/report-print-send, ProJobless/customaddons, QANSEE/report-print-send, RL-OtherApps/patches, RealSolutionsLux/report-print-send, RibraX/report-print-send, RoelAdriaans/report-print-send, SHEFFIELDAFRICA/report-print-send, SerpentConsultingServices/report-print-send, SeuMarco/report-print-send, StefanRijnhart/report-print-send, Style-sen/report-print-send, Tecnativa/report-print-send, ThomasBinsfeld/report-print-send, Vauxoo/report-print-send, VisiionSolucionesTecnologicas/report-print-send, VitalPet/report-print-send, WithPrice/customaddons, aaltinisik/customaddons, aaltinisik/report-print-send, aatshi/odoo-addons, abaghirli/report-print-send, abakus-it/report-print-send, acsone/report-print-send, adhoc-dev/patches, adhoc-dev/report-print-send, agknz/report-print-send, ahilali/report-print-send, ajinvn2019/report-print-send, akretion/report-print-send, alanljj/report-print-send, alesisjoan/report-print-send, alfieqashwa/report-print-send, amarildogolloshi/report-print-send, amendoncabh/report-print-send, andrius-preimantas/report-print-send, angelmoya/report-print-send, anhvu-sg/report-print-send, antilhue/report-print-send, apachesep/report-print-send, apetbiz/report-print-send, aroodooteam/report-print-send, artapon/report-print-send, auphofBSF/report-print-send, aurestic/report-print-send, bd5dml77/report-print-send, binovo/aaltinisik-customaddons, blutecsolutions/report-print-send, brain-tec/report-print-send, bretif/report-print-send, bvkl/report-print-send, bwrsandman/report-print-send, camptocamp/report-print-send, chris86tian/odoo-addons, clagoa/OCA_report-print-send, conandark/report-print-send, connect-to-ak/report-print-send, damendieta/report-print-send, daramousk/report-print-send, diaali/odoo-addons, diagramsoftware/report-print-send, dielse/customaddons, diggy128/report-print-send, djmania/report-print-send, doganaltunbay/customaddons, dpgch/report-print-send, dyshrmn/report-print-send, ekitsikpui5/report-print-send, etobella/report-print-send, eucedajosue/report-print-send, fengzoo2018/patches, fmdl/report-print-send, gdgellatly/report-print-send, grindtildeath/report-print-send, gsunjka/report-print-send, guewen/report-print-send, guidev224/report-print-send, gurneyalex/report-print-send, guwenfeng/report-print-send, hammadraza/report-print-send, haroldtamo/report-print-send, haryoran04/report-print-send, hochalex/odoo-addons, hodile90/report-print-send, iamyeonhan/report-print-send, iceship/odoo-addons-3, igallart/report-print-send, igh-fp/report-print-send, informaticartica/report-print-send, ingadhoc/patches, inspiredbusiness/report-print-send, intero-chz/report-print-send, isos/report-print-send, isoscl/patches, isoscl/report-print-send, jadhavajay/odoo-addons, jamotion/odoo-addons, jardosa/report-print-send, jcarlosmontoya/odoo-addons, jco-subteno-it/report-print-send, jeffery9/report-print-send, jes8930/report-print-send, josueBulle/report-print-send, karizmaconseil/report-print-send-1, kevin070982/odoo-project-10.0, kirankantesariya/customaddons, kit9/customaddons, kmee/report-print-send, lideritjnma/report-print-send, lihaihe/report-print-send, loctv/patches, lubonbvba/report-print-send, maniraj89/report-print-send, markrobinson85/report-print-send, mikael85/report-print-send, mohamed-helmy/report-print-send, mohamedhabibchallouf/report-print-send, mokilog/odoo-addons, moylop260/report-print-send, muguli22/report-print-send, musabekinci/customaddons, mustafa-altinisik/customaddons, myonnet/oca-report-print-send, nbessi/report-print-send, nbornand/report-print-send, niulinlnc/report-print-send, nonofpy/report-print-send, noorealam96/report-print-send, ntleipzig/odoo-addons, numerigraphe/report-print-send, odoo-ar/report-print-send, odoofans/patches, odoonz/report-print-send, odoousers2014/odoo-addons, oihane/report-print-send, omalbastin/patches, onurugur/customaddons, onurugur/report-print-send, petypi/report-print-send, philhug/report-print-send, pragmasoft-de/odoo-addons-equitania, pragmasoft-de/report-print-send, pscloud/report-print-send, puchisco/report-print-send, quentingigon/report-print-send, rascayu/odoo-addons, raycarnes/report-print-send, robertsvx27/report-print-send, rosenvladimirov/report-print-send, rossasa/report-print-send, rosyidridho/report-print-send, roussel2nis/report-print-send, rousseldenis/report-print-send, royalline1/patches, royalline1/report-print-send, rschnapka/report-print-send, rudisulistyo/report-print-send, rven/report-print-send, sanube/report-print-send, sc4you/odoo-addons-1, schout-it/report-print-send, sebalix/report-print-send, sematicshood/flectra, sendalpegat/report-print-send, sewisoft/report-print-send, sidikbilardi/report-print-send, sjpatel21/report-print-send, startviewit/report-print-send, stockklauser/odoo-addons, subteno-it/report-print-send, suniagajose/odoo-addons, suningwz/customaddons, sutti2/odoo-addons, tegin/report-print-send, thomasbshop/report-print-send, ti-ku/report-print-send, time2sales/report-print-send, topecz/report-print-send, tranhung07081989/report-print-send, ursais/report-print-send, valentinthirion/report-print-send, vertelab/report-print-send, vidtsin/patches, vishaltyagityagi/report-print-send, vniter/odoo-addons, vrenaville/report-print-send, vvrossem/report-print-send, westlyou/report-print-send, widiana/report-print-send, x0rzkov/odoo-report-print-send, xpansa/report-print-send, xpertiz/report-print-send, ygdmxy/report-print-send, yonucex/odoo-addons, yoyo2k/report-print-send, yvaucher/report-print-send, zarumaru/report-print-send, zeroincombenze/report-print-send, and zohaibrehman/report-print-send

<h1 class="title">Report to printer</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/report-print-send/tree/12.0/base_report_to_printer"><img alt="OCA/report-print-send" src="https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/144/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allows users to send reports to a printer attached to the server.</p> <p>It adds an optional behaviour on reports to send it directly to a printer.</p> <ul class="simple"> <li><cite>Send to Client</cite> is the default behaviour providing you a downloadable PDF</li> <li><cite>Send to Printer</cite> prints the report on selected printer</li> </ul> <p>It detects trays on printers installation plus permits to select the paper source on which you want to print directly.</p> <p>Report behaviour is defined by settings.</p> <p>You will find this option on default user config, on default report config and on specific config per user per report.</p> <p>This allows you to dedicate a specific paper source for example for preprinted paper such as payment slip.</p> <p>Settings can be configured:</p> <ul class="simple"> <li>globally</li> <li>per user</li> <li>per report</li> <li>per user and report</li> </ul> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id2">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id3">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id4">Usage</a></li> <li><a class="reference internal" href="#changelog" id="id5">Changelog</a></li> <li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id7">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id8">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id2">Installation</a></h2> <p>To install this module, you need to:</p> <ol class="arabic simple"> <li>Install PyCups - <a class="reference external" href="https://pypi.python.org/pypi/pycups">https://pypi.python.org/pypi/pycups</a></li> </ol> <pre> <code lang="bash">sudo apt-get install cups sudo apt-get install libcups2-dev sudo apt-get install python3-dev sudo pip install pycups</code> </pre> <a name="configuration"></a> <h2><a class="toc-backref" href="#id3">Configuration</a></h2> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Enable the &quot;Printing / Print User&quot; option under access rights to give users the ability to view the print menu.</li> </ol> <a name="usage"></a> <h2><a class="toc-backref" href="#id4">Usage</a></h2> <p>Guidelines for use:</p> <blockquote> <ul class="simple"> <li>To update the CUPS printers in <em>Settings &gt; Printing &gt; Update Printers from CUPS</em></li> <li>To print a report on a specific printer or tray, you can change these in <em>Settings &gt; Printing &gt; Reports</em> to define default behaviour.</li> <li>To print a report on a specific printer and/or tray for a user, you can change these in <em>Settings &gt; Printing &gt; Reports</em> in <em>Specific actions per user</em></li> <li>Users may also select a default action, printer or tray in their preferences.</li> </ul> </blockquote> <p>When no tray is configured for a report and a user, the default tray setup on the CUPS server is used.</p> <a name="changelog"></a> <h2 class="with-subtitle"><a class="toc-backref" href="#id5">Changelog</a></h2> <h2 class="section-subtitle" id="id1"><span class="section-subtitle">12.0.1.0.0 (2018-02-04)</span></h2> <ul class="simple"> <li>[RELEASE] Port from V11.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id6">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/report-print-send/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/report-print-send/issues/new?body=module:%20base_report_to_printer%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id7">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id8">Authors</a></h3> <ul class="simple"> <li>Agile Business Group &amp; Domsense</li> <li>Pegueroles SCP</li> <li>NaN</li> <li>LasLabs</li> <li>Camptocamp</li> <li>Open for Small Business Ltd</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id9">Contributors</a></h3> <ul class="simple"> <li>Ferran Pegueroles &lt;<a class="reference external" href="mailto:ferran&#64;pegueroles.com">ferran&#64;pegueroles.com</a>&gt;</li> <li>Albert Cervera i Areny &lt;<a class="reference external" href="mailto:albert&#64;nan-tic.com">albert&#64;nan-tic.com</a>&gt;</li> <li>Davide Corio &lt;<a class="reference external" href="mailto:davide.corio&#64;agilebg.com">davide.corio&#64;agilebg.com</a>&gt;</li> <li>Lorenzo Battistini &lt;<a class="reference external" href="mailto:lorenzo.battistini&#64;agilebg.com">lorenzo.battistini&#64;agilebg.com</a>&gt;</li> <li>Yannick Vaucher &lt;<a class="reference external" href="mailto:yannick.vaucher&#64;camptocamp.com">yannick.vaucher&#64;camptocamp.com</a>&gt;</li> <li>Lionel Sausin &lt;<a class="reference external" href="mailto:ls&#64;numerigraphe.com">ls&#64;numerigraphe.com</a>&gt;</li> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Sylvain Garancher &lt;<a class="reference external" href="mailto:sylvain.garancher&#64;syleam.fr">sylvain.garancher&#64;syleam.fr</a>&gt;</li> <li>Jairo Llopis &lt;<a class="reference external" href="mailto:jairo.llopis&#64;tecnativa.com">jairo.llopis&#64;tecnativa.com</a>&gt;</li> <li>Graeme Gellatly &lt;<a class="reference external" href="mailto:graeme&#64;o4sb.com">graeme&#64;o4sb.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id10">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/report-print-send/tree/12.0/base_report_to_printer">OCA/report-print-send</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>