-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Rohan Bansal <[email protected]> Co-authored-by: Heather Kusmierz <[email protected]>
- Loading branch information
1 parent
63cd89a
commit 3d692fc
Showing
11 changed files
with
353 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
31 changes: 31 additions & 0 deletions
31
beam/beam/print_format/handling_unit_6x4_zpl_format/handling_unit_6x4_zpl_format.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"absolute_value": 0, | ||
"align_labels_right": 0, | ||
"creation": "2024-07-01 15:46:33.585470", | ||
"custom_format": 1, | ||
"default_print_language": "en", | ||
"disabled": 0, | ||
"doc_type": "Handling Unit", | ||
"docstatus": 0, | ||
"doctype": "Print Format", | ||
"font_size": 14, | ||
"idx": 0, | ||
"line_breaks": 0, | ||
"margin_bottom": 15.0, | ||
"margin_left": 15.0, | ||
"margin_right": 15.0, | ||
"margin_top": 15.0, | ||
"modified": "2024-07-01 18:53:58.230171", | ||
"modified_by": "Administrator", | ||
"module": "BEAM", | ||
"name": "Handling Unit 6x4 ZPL Format", | ||
"owner": "Administrator", | ||
"page_number": "Hide", | ||
"print_format_builder": 0, | ||
"print_format_builder_beta": 0, | ||
"print_format_type": "Jinja", | ||
"raw_commands": "{% set hu = get_handling_unit(doc.name) %}\n{% set label = zebra_zpl_label(width=4*203, length=6*203, dpi=203) -%}\n\n{{ label.add(zebra_zpl_barcode(hu.handling_unit, width=4, height=260, position=(20, 40), justification=\"C\", ratio=1, human_readable='N')) -}}\n{{ label.add(zebra_zpl_text(hu.handling_unit, position=(40, 320), width=(4*203-80), font_size=40, justification=\"C\")) }}\n{{ label.add(zebra_zpl_text(frappe.utils.cstr(hu.qty) + \" \" + hu.uom, position=(40, 400), width=(4*203-80), font_size=40)) }}\n{{ label.add(zebra_zpl_text(hu.item_code, position=(40, 480), width=(4*203-80), font_size=40)) }}\n{{ label.add(zebra_zpl_text(hu.warehouse, position=(40, 560), width=(4*203-80), font_size=40)) }}\n{{ label.add(zebra_zpl_text(frappe.utils.format_datetime(hu.posting_datetime), position=(40, 640), width=(4*203-80), font_size=40)) }}\n\n{{ label.dump_contents() }}", | ||
"raw_printing": 1, | ||
"show_section_headings": 0, | ||
"standard": "Yes" | ||
} |
Empty file.
33 changes: 33 additions & 0 deletions
33
beam/beam/print_format/labelary_print_preview/labelary_print_preview.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"absolute_value": 0, | ||
"align_labels_right": 0, | ||
"creation": "2024-07-01 15:53:35.152254", | ||
"css": ".print-format-preview {\n background-color: var(--gray-200);\n}\n\n.zpl-label {\n min-height: 4in;\n max-height: 4in;\n min-width: 6in;\n max-width: 6in;\n background-color: white;\n}\n\n.print-format {\n max-width: unset;\n min-height: unset;\n}\n\n.print-preview {\n background: unset;\n}", | ||
"custom_format": 1, | ||
"default_print_language": "en", | ||
"disabled": 0, | ||
"doc_type": "Handling Unit", | ||
"docstatus": 0, | ||
"doctype": "Print Format", | ||
"font_size": 14, | ||
"html": "<div class=\"zpl-label\">\n<img src=\"data:image/png;base64,{{ labelary_api(doc, 'Handling Unit 6x4 ZPL Format', {}) }}\" /> \n</div>\n", | ||
"idx": 0, | ||
"line_breaks": 0, | ||
"margin_bottom": 15.0, | ||
"margin_left": 15.0, | ||
"margin_right": 15.0, | ||
"margin_top": 15.0, | ||
"modified": "2024-07-01 18:54:12.428312", | ||
"modified_by": "Administrator", | ||
"module": "BEAM", | ||
"name": "Labelary Print Preview", | ||
"owner": "Administrator", | ||
"page_number": "Hide", | ||
"print_format_builder": 0, | ||
"print_format_builder_beta": 0, | ||
"print_format_type": "Jinja", | ||
"raw_commands": "", | ||
"raw_printing": 0, | ||
"show_section_headings": 0, | ||
"standard": "Yes" | ||
} |
Empty file.
31 changes: 31 additions & 0 deletions
31
beam/beam/print_format/warehouse_barcode/warehouse_barcode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"absolute_value": 0, | ||
"align_labels_right": 0, | ||
"creation": "2024-06-11 10:14:57.183542", | ||
"custom_format": 1, | ||
"default_print_language": "en", | ||
"disabled": 0, | ||
"doc_type": "Warehouse", | ||
"docstatus": 0, | ||
"doctype": "Print Format", | ||
"font_size": 14, | ||
"html": "<meta name=\"pdfkit-orientation\" content=\"Portrait\"/>\n<div class=\"barcode-label-container\">\n <div id=\"margin-top\">0mm</div>\n <div id=\"margin-left\">0mm</div>\n <div id=\"margin-bottom\">0mm</div>\n <div id=\"margin-right\">0mm</div>\n\n <div id=\"barcode-label\" class=\"align-middle\">\n <div class=\"text-center\">\n {{barcode128(doc.barcodes[0].barcode)}}\n </div>\n <div class=\"text-center item_code\">\n <span class=\"ellipsis\">{{ doc.name }}</span>\n </div>\n </div>\n</div>\n\n<style>\n#margin-top,#margin-left,#margin-bottom,#margin-right {\n display: none;\n}\n\n\n@media screen, print {\n .barcode-label-container {\n border: 1px solid black;\n padding: 0;\n margin: 0;\n min-width: 3in;\n max-width: 3in;\n min-height: 1in;\n max-height: 1in;\n font-family: Helvetica, sans-serif;\n display: block;\n }\n .text-center {\n margin: 0;\n padding: 0;\n }\n .barcode {\n max-width: 2.8in;\n min-width: 2.8in;\n min-height: .5in;\n max-height: .5in;\n }\n .item_code {\n }\n}\n\n</style>", | ||
"idx": 0, | ||
"line_breaks": 0, | ||
"margin_bottom": 15.0, | ||
"margin_left": 15.0, | ||
"margin_right": 15.0, | ||
"margin_top": 15.0, | ||
"modified": "2024-06-11 10:16:45.288929", | ||
"modified_by": "Administrator", | ||
"module": "BEAM", | ||
"name": "Warehouse Barcode", | ||
"owner": "Administrator", | ||
"page_number": "Hide", | ||
"print_format_builder": 0, | ||
"print_format_builder_beta": 0, | ||
"print_format_type": "Jinja", | ||
"raw_printing": 0, | ||
"show_section_headings": 0, | ||
"standard": "Yes" | ||
} |
Oops, something went wrong.