Edge Print: Direct Printing Agent for Odoo.sh & Cloud - PDF, ZPL Labels, ESC/POS, Auto-Print, No IoT Box
by Viyug Infotech https://viyuginfotech.com$ย 108.47

Print from cloud Odoo to the printers in your warehouse and shop.
Edge Print puts a small agent on a PC or Raspberry Pi next to your printers. It connects out to your Odoo, so it works on odoo.sh and any cloud server without IoT box, VPN or a print-cloud subscription. Shipping labels, delivery slips and invoices print by themselves when a transfer is validated, and every report gets "Print to...".
No IoT box No subscription Prints in a second
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Odoo in the cloud, printers in the warehouse
A cloud server cannot reach a Zebra printer on the shop LAN. So people download PDFs, open them, pick the printer and click print, hundreds of times a day, or pay a monthly fee per printer to a print cloud.
Before
- Download, open, print for every delivery slip and label
- IoT box needs Enterprise, print clouds charge every month
- Nobody notices a printer out of paper until the truck waits
- Jobs vanish when the network drops
After
- Validate the delivery: label and slip come out by themselves
- One-time app, your own agent, jobs never leave your server
- Printer status and paper-out shown live in Odoo
- Agent spool, retries with backoff and a dead-letter list
How it works
Install the agent
On a Windows PC, Linux PC or Raspberry Pi that reaches the printers.
Pair it
One-time code from the setup wizard. Only outgoing HTTPS.
Pick printers and rules
Found printers appear in Odoo. Choose what prints when.
Work as usual
Validate, post, confirm: the documents come out of the right printer.
What you get
Pairing code, then a private token
A code valid once for 15 minutes pairs the agent; it gets its own token (Odoo stores only a hash). Revoke it with one click.
Instant wake-up
The agent keeps a websocket to the Odoo bus and fetches a job the moment it is queued; it falls back to polling if the websocket is blocked.
Finds the printers
CUPS queues, Windows printers, USB raw printers and a scan of port 9100 on your subnets, with live status.
Every printer language
PDF through CUPS or SumatraPDF / Windows, raw ZPL, EPL and TSPL for label printers, ESC/POS for receipts, IPP for network printers.
Auto-print rules
Transfer validated (by operation type), invoice posted, manufacturing order done, sales or purchase confirmed, with record filter, copies, tray, paper, duplex.
Printer per user and workstation
Printer-choice rules by document, user, workstation and operation type; each user has a default office and label printer.
Queue you can trust
Idempotency keys stop double prints, retries back off from 30 s to 30 min, a fallback printer takes over, dead letters wait for Retry.
Live dashboard
Agents online, printers ready or out of paper, jobs waiting, printed today and dead letters, updated without reload.
Offline-safe agent
Claimed jobs are spooled to disk, results are kept until Odoo is reachable, and a printed job is never printed again.
Agent auto-update and logs
Odoo tells the agent its new version (checksum verified); agent version, platform and log are visible in Odoo.
Label Designer Studio
If installed, its ZPL labels go through the agent and edge rules can print a label template on validation.
Setup wizard
Download, pair, pick printers, choose rules, test page. Working in a few minutes.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Works with odoo.sh and cloud servers (printer on a LAN) | Yes | Often IoT box or print cloud |
| No monthly fee per printer or per page | Yes | Often a subscription |
| Jobs stay between your Odoo and your agent | Yes | Often a third-party relay |
| Printer discovery and paper-out status | Yes | Rarely |
| Idempotent queue, backoff, failover, dead letters | Yes | Retry at best |
| Offline spool on the agent | Yes | Rarely |
| Rules by operation type, user and workstation | Yes | Partly |
| Agent pairing with a one-time code, hashed tokens | Yes | API key in a file |
| Agent update from Odoo | Yes | Manual |
Setup in 5 steps
Edge Print appears in the menu. Open Configuration > Setup wizard.
One zip for Windows, Linux and Raspberry Pi. Python 3; a single .exe can be built for Windows.
Run the pair command with the code shown, then the service installer.
Tick the printers to use and set PDF, ZPL or ESC/POS for each. Scan the network for label printers.
Delivery slip and shipping label on delivery, receipt slip, invoice on posting. A test page prints on each printer.
Workflow walkthrough
Step by step through a real run: agent on a Linux PC, printers and scales emulated on the network and serial ports. Fictional company, customers and documents.
Start the setup wizard
Edge Print > Configuration > Setup wizard. Download the agent (one zip for Windows, Linux and Raspberry Pi) and name the workstation where it runs.

Get a pairing code
The wizard creates the agent and shows a code that works once and expires in 15 minutes, with the command to run on the workstation.

Pair and start the agent on the workstation
On the Raspberry Pi: pair with the code, see the printers the agent finds (CUPS queues and label printers on port 9100), install the service. The agent connects out to Odoo only.

Printers appear in Odoo
Click "The agent is running": the printers it reported are listed with their status. Untick what you do not need and say what each printer understands.

Choose what prints by itself
Delivery slip and 4x6 shipping label on delivery validation, receipt slip, invoice on posting. Set them as your default printers and add "Print to..." to the documents.

Done
The rules are created and a test page goes to every printer. The whole setup takes a few minutes.

Live dashboard
Every workstation with its agent version, instant (websocket) or polling mode, printers and their status, jobs waiting, printed today and dead letters. It refreshes by itself.

Printer details
Network label printer found by the scan: language ZPL, live status read from the printer (paper out with ~HS), fallback printer, link to a Label Designer printer profile.

An auto-print rule
Shipping label when a delivery is validated, only for the Delivery Orders operation type, on the Zebra at the packing desk. Filters, users and workstations narrow it down.

Validate a delivery
A warehouse user validates the delivery as usual. Nothing else to click.

The jobs print within a second
In another browser the print queue shows the shipping label and the delivery slip as printed, without reload. The agent was woken up through the websocket.

What came out of the printers
The 4x6 ZPL label received by the label printer on port 9100 (rendered by our printer emulator) and the delivery slip PDF printed through CUPS.

"Print to..." on any document
The Action menu of pickings, invoices and any document with an enabled report offers Print to: the printer proposed comes from your rules, copies, paper, tray and duplex can be changed.

Failures are visible and fixable
A switched-off printer: the job was retried with growing pauses and became a dead letter with the exact error. Fix the printer, click Retry.

Agent log in Odoo
Version, platform, spool and the last lines of the agent log are sent with every heartbeat, so support does not need access to the PC.

Questions
Does it work on odoo.sh and Odoo Online?
odoo.sh, cloud hosting and on-premise: yes, the agent only connects out to your Odoo. Odoo Online (SaaS) does not allow third-party apps with Python code, so it is not possible there.
Which printers?
Any printer the agent PC can print to: CUPS or Windows printers (USB, network, shared), raw network printers on port 9100 (Zebra, TSC, Honeywell, Epson TM, TVS, Xprinter ...), USB raw printers on Linux and IPP printers.
What does the agent need?
Python 3.8 or newer, nothing else for printing. pyserial for scales and pole displays, pywin32 on Windows. A PyInstaller script builds a single .exe for Windows PCs without Python.
Is the Windows .exe signed?
No. The build script produces an unsigned .exe; Windows SmartScreen may ask for confirmation the first time. Sign it with your company certificate if your policy requires it, or run the Python version.
Can a label print twice?
No. Each rule queues a document once (idempotency key), the agent remembers the jobs it printed, and a result delivered twice is only counted once.
What happens when the internet drops?
Jobs already fetched stay in the agent spool and print; results are sent when Odoo is reachable again. Jobs queued in Odoo wait and print when the agent is back.
I use Direct Print (viyug_report_direct_print). Do I need to migrate?
Direct Print keeps working. Edge Print adds the paired agent, discovery, status, websocket wake-up, POS and scales. Configuration > Import from Direct Print copies its printers, printer choices, auto-print rules and user printers.
Do I need Label Designer Studio?
No. Edge Print ships a 4x6 ZPL shipping label and works with Odoo's own ZPL labels. With Label Designer Studio installed, its labels can go through the agent too.
Extensions
One agent, one engine. Edge POS and Edge Scale include Edge Print.
Edge Print
The agent and the print engine: pairing, discovery, rules, auto-print, queue, dashboard. PDF, ZPL, EPL, TSPL, ESC/POS.
You are hereEdge POS
Receipt and kitchen printers, cash drawer and pole display for the Point of Sale.
View appNeed a hand?
Questions about your printers, scales or the agent installation? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Edge agent for Windows, Linux and Raspberry Pi: pairing code, websocket wake-up, discovery, status, spool, auto-update
- Printers, printer-choice and auto-print rules, "Print to..." and direct Print button
- Queue with idempotency keys, backoff, failover, dead letters; live dashboard; setup wizard
- Import from Direct Print; optional Label Designer Studio integration
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 3446 |
| Technical Name |
viyug_edge_print |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module