Skip to content

pipech/frappe-print-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖨️ [WIP] Print Utils

Print Utilities for Frappe Framework

Installation

bench get-app print_utils https://github.com/pipech/frappe-print-utils
bench install-app print_utils

Usage

Python Function

from print_utils.layout import get_print_layout

html = get_print_layout(
  content=body,
)

Jinja Templating

{{ get_qrcode_img("your_barcode_data", error_correction='~15%') }}
{{ get_barcode_img(data="5901234123457", barcode_class="ean13") }}

License

MIT

About

🖨️ Print utilities for Frappe web framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published