Logistics mailing list archives

logistics@odoo-community.org

Avatar

Re: Print shipping label directly through user browser

by
LasLabs, Dave Lasley
- 17/03/2017 19:30:23
You are correct in your eval that base_report_to_printer won’t work without network access.

I have tried this a few times, but for the most part Javascript is not able to bypass the standard print dialog due to security concerns. There are some browser specific ways to do it, but you still run into the issue of the print options - such as paper size, tray, etc.

If the label printer is the primary printer on the computer, and all print options are set in it as the default, it is possible to implement this. Easiest way is “Kiosk Printing”:

— Dave Lasley

On Mar 17, 2017, at 11:23 AM, Maxime Chambreuil <mchambreuil@ursainfosystems.com> wrote:

Hello,

I have a customer on version 8 who wants to skip all the clicking to get the shipping label printed: basically, you click on "Transfer" and the label is printed.

The Odoo server is in a secure datacenter and does not have direct access to the printers on the internal network. That's why I am assuming that the base_report_to_printer module would not work in my situation.

Do you have a solution that would use the user browser? A JS script or something to automate the clicking and printing? Or any other solution?

Thank you.

Ursa Information Systems Maxime Chambreuil
Project Manager / Consultant

Ursa Information Systems
1450 W Guadalupe Road, Suite 132
Gilbert, Arizona, 85233

Office:     1-855-URSA ERP x 710
                1-855-877 2377 x 710
Mobile:   1-602-427-5632

_______________________________________________
Mailing-List: https://odoo-community.org/groups/logistics-21
Post to: mailto:logistics@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


Reference