Availability |
Odoo Online
Odoo.sh
On Premise
|
Community Apps Dependencies | Show |
Lines of code | 2259 |
Technical Name |
remote_printer |
License | AGPL-3 |
Website | https://filloltechnologies.com |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Community Apps Dependencies | Show |
Lines of code | 2259 |
Technical Name |
remote_printer |
License | AGPL-3 |
Website | https://filloltechnologies.com |
Report printer
This module allows users to send reports or labelts to a printer attached to other user.
It adds an optional behaviour on reports to send it directly to a printer.
- Send to Client is the default behaviour providing you a downloadable PDF
- If is enable direct print instead download is directly sended to priner installed on self user
- Send to Printer prints the report on selected printer
Report behaviour is defined by settings.
You will find this option on default user config, on default report config and on specific config per user per report.
Settings can be configured:
- globally
- per user
- per report
- per user and report
Not required a server if the self computer have installed the printers can print him directly without printer prompt confirmation, can print multiple reports / labels directly, awsome for warehouse managment
You can have unlimeted servers only you need to create an user for each server and have a computer online in network, the printers are installed on this computer, can be used USB printer or network printer, all printers are compatible because you must be sure the printer are correct installed in computer
No monthly fees or cost per usage because your computer are listening the printers
Network encapsulated, don't need external connection outside of your network because your computers in your network are doing of server
Only compatible with Windows OS for a now, we are working for Linux & MacOS
Table of contents
Installation
This module depends of "Report to printer" (base_report_to_printer) must be install dependencies used them
- Install PyCups - https://pypi.python.org/pypi/pycups
sudo apt-get install cups sudo apt-get install libcups2-dev sudo apt-get install python3-dev sudo pip install pycups
Installation (Client as server printer)
Only compatible for windows OS only
- Install Remote Printer chrome extension - Remote Printer
- Install Java - https://www.java.com/en/download/
-
Install host file to connect the printer with chrome extension:
- Before install this must be installed java, this scritp uses java to make a bridge beetwin chrome extension to the printer
- Download the files requeried to usage click here
- Decompress file to any folder, the folder must don't be moved! I recomend you to put in root of C:\
- Execute "install.bat" this install in regedit a value to enable use the chrome extension with native message
- Now you can use the direct print, if it is not working please restart the computer and try again
- If you have any doubt / issue please contact me, attach screenshot of chrome console, there shows an error occurred on print: support_odoo@xxx.com
Usage (Client as server printer)
Only compatible for windows OS only
Go to "Remote Printer" app -> Print Spooler
In this page now are ready to listen the prints send to him, of course you can have this tab in background, but must be open all time to print reports
Configuration
You must have one windows computer they does has printer server, and you need one user account to "listen" the print spooler
- Go to "Remote Printer" -> Servers
- Set name of the server
- Set "Conected to user" to user you use to will send the prints
-
"Sent via" field to "Sent print via But to Client" is new method to sent report via bus between users
- if you want to use the vanilla "base_report_to_printer" system you must be set "Sent print via CUPS", usage is in: https://github.com/OCA/report-print-send
- Now go to printers and create new one, specific the name to show
- Set Name of system => This is a PRINTER NAME of computer
- Set "Server" (the user / server will own of the printer)
- (Optional) if you are using ZPL reports you can activate "Generate PDF instead print" if is allowd they generate a PDF withouth print, useful for zpl tests
- Finally go to reports and edite one
-
Set "Default action" there are 2 options:
- Send to Printer: This sent the documents to the user / server wich you select in the second field of "Default printer"
-
Send to Client: Is a vanilla behaviour of odoo printing system, this will not sent to print except if you activate "Direct Print"
- if "Direct Print" odoo uses a SELF user with SELF printer with the printer name selected in "Default printer", this is useful if you have a warehouse with a lot of computers with each computer have a printer with same name and it is printed in self station
- The behavior of print can be different for a different users, you can setup a default behavior to send all documents to one server but each user can configure to wich printer can be send (Go to user group and activate "User print group")
Please log in to comment on this module