-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print Invoice Directly Using Print Button #785
Comments
This requires more cooperation with the system, hence this is probably not trivial. |
I have added this functionality locally |
Hi can you please contribute your code to main branch. It is most required facility |
Is this still working in progress or left behind ? |
@dvodev could you tell me how did you do it locally so that I could do that , even if it unstable no problem |
i changed the saveHtmlasPdf.ts file for now I havent worked on it much but it says you to save the pdf and when you click the save button it doesnt save and just open print window, this is the changed code , I dont know if its correct or wrong but it works I guess
|
hello, i have tried your code and it's working fine but still showing for saving as PDF but after that you are right no pdf has been saved only redirect me to popup for printing which is very good for now. i hope we can continue on it |
This is only on a windows machine working using the system properties. This
is not something that should be put merged into master
Thank You,
Dakota Vogt
…On Sun, Sep 29, 2024 at 9:53 AM Xcode Technology ***@***.***> wrote:
hello,
this feature is really very important and i'm also looking for this
option, "print without saving as PDF"
—
Reply to this email directly, view it on GitHub
<#785 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANA43WEHM27UYU2RXQOQTSLZZAA5VAVCNFSM6AAAAABAOKU5WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM3DMNBVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @dvodev, I wanted to let you know that the fix I implemented is just a temporary solution for your local system. I understand that it won't be merged into the main branch. If I intended for it to be merged, I would have made more comprehensive changes, including altering the buttons and other elements. Thank you for responding though |
i made another version of the code where it will open the temp pdf in edge browser there you can select to print or save as pdf and When you close the temp file will be automatically deleted , but the code needs to altered according to your system (the adddress of the edge browser exe) if you want i could send that too |
Sounds good, and I appreciate your help and support. I was already thinking that since Frappe Books uses a web version, why not add this feature for people who prefer not to save the PDF, helping them conserve storage as the app is used locally. |
You can edit this code according to your computer file arrangement |
Awesome, thank you very much ! |
Now we can not print invoice directly,we need to download pdf and print .Print Directly From Print Button
The text was updated successfully, but these errors were encountered: