Skip to content

Raw Print#264

Closed
IamSaiyyamChhetri wants to merge 11 commits into
frappe:developfrom
IamSaiyyamChhetri:saiyyam_raw_printing_
Closed

Raw Print#264
IamSaiyyamChhetri wants to merge 11 commits into
frappe:developfrom
IamSaiyyamChhetri:saiyyam_raw_printing_

Conversation

@IamSaiyyamChhetri
Copy link
Copy Markdown

@IamSaiyyamChhetri IamSaiyyamChhetri commented May 20, 2024

  1. Create a method to render each element
  2. Overwrite get_print_html() to enable print preview for 'raw print'

Issue :

  1. Trying to more options value for select fieldtype in print designer screen is going in loop, no logs in console.
    Screenshot 2024-05-21 at 12 17 32 PM

  2. Need to fetch print settings single value, when used get_single_value() due to callback facing some issue.

Progress :

  1. Validation for overlapping, eg : If in same row if two rectangle is drawn then on save button it will throw error
    Screenshot 2024-05-21 at 11 35 06 AM

  2. Need to fetch print settings single value, when used get_single_value() due to callback facing some issue.

What Next :

  1. If child element is selected then 'Raw Cmd before/after' will not visible.

@IamSaiyyamChhetri IamSaiyyamChhetri marked this pull request as draft May 20, 2024 07:27
IamSaiyyamChhetri added 4 commits May 21, 2024 11:25
1. Validtion for Element Overlapping
2. Preview in 'Print Preview' Page
3. Trying to show custom value in select
1. overwrite method. used get_single_value() instead of get_doc()
1. Remove 'Enable Raw Printing' select field
2. Change fieldtype from 'data' to 'select'
1. Disable Raw CMD for child element
2. Custom Field for Raw_CMD
@IamSaiyyamChhetri
Copy link
Copy Markdown
Author

Updates:

  1. Check & Disable raw_cmd before/After field for child element
  2. Custom Field in 'Print Settings'

IamSaiyyamChhetri added 5 commits May 22, 2024 13:45
1. Correct condition validation, use flags instead of startsWith()
1. Code Refactor.
2. overwrite whitelisted method
1. Handle escapse character
1. Add options for qz.print() data
@IamSaiyyamChhetri
Copy link
Copy Markdown
Author

IamSaiyyamChhetri commented May 30, 2024

Created a new PR so closing this PR.
Link : #275

@IamSaiyyamChhetri IamSaiyyamChhetri deleted the saiyyam_raw_printing_ branch June 28, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant