Try ERPNext Buy Support Partners Foundation Foundation Members

Print Node Integration for Frappe Framework

@Uagut it’s already made!

When you setup print node, and install your API key, you will be able to setup one action.

One action bind the hability to print an print format in a certain print.
These actions can be invoked manually by the users, or you can define one event to print it, like on Submit, so every time your document is submitted, it will be printed.

Hi Max,
First big thanks, for the great and helpful work. I would be grateful if there is any update in the table on XML ESC POS
Thank you in advances

Hi @Ali_Abdelhalim
The XML/EscPOS is quite limited for tables, but still very usefull.

I have being planning one upgrade of the ESC/POS printing for one highquality, that bypass these limitations of the XML/ESCPOS but I didn’t found yet incentives to dedicate on that.

I sent you a message

Hello

I am trying to uninstall Printnode Integration and i am faced with this error

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 174, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/ubuntu/xlevel/apps/frappe/frappe/utils/bench_helper.py”, line 97, in
main()
File “/home/ubuntu/xlevel/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/commands/init.py”, line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/commands/site.py”, line 338, in uninstall
remove_app(app, dry_run, yes)
File “/home/ubuntu/xlevel/apps/frappe/frappe/installer.py”, line 219, in remove_app
frappe.delete_doc(“Module Def”, module_name)
File “/home/ubuntu/xlevel/apps/frappe/frappe/init.py”, line 768, in delete_doc
ignore_permissions, flags, ignore_on_trash, ignore_missing)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/delete_doc.py”, line 78, in delete_doc
doc.run_method(“on_trash”)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 1048, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 1033, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File “/home/ubuntu/xlevel/apps/printnode_integration/printnode_integration/events.py”, line 48, in on_trash
settings = frappe.get_doc(‘Print Node Settings’, ‘Print Node Settings’)
File “/home/ubuntu/xlevel/apps/frappe/frappe/init.py”, line 725, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 67, in get_doc
controller = get_controller(doctype)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/base_document.py”, line 36, in get_controller
module = load_doctype_module(doctype, module_name)
File “/home/ubuntu/xlevel/apps/frappe/frappe/modules/utils.py”, line 192, in load_doctype_module
raise ImportError(‘Module import failed for {0} ({1})’.format(doctype, module_name + ’ Error: ’ + str(e)))
ImportError: Module import failed for Print Node Settings (frappe.core.doctype.print_node_settings.print_node_settings Error: No module named print_node_settings.print_node_settings)