-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add print handler implementation to LCLCefClient #40
Comments
PDF function not working too. The pdf printing function runs without any error by following this code: http://wiki.freepascal.org/fpCEF3#Creating_a_pdf , but does not generate the pdf. I think is the same case! |
Yes indeed. One needs to implement the print handler in any case. |
The implementation of the print handler should be rather similar to the dialog handler. I don't know, when I will find time to complete this. |
Don't worry. First thank you for the download implementation, i think this will save my life. I am very happy with the fact that you will implement this two in your project examples! |
The latest fpCEF version now has a minimal print handler implementation, so that printing to PDF files is now supported. Complete printing support on Linux is much more complicated unfortunately. There is a reference implementation of the print handler in CEF, but it is limited to GTK. There is platform independent printing support in Lazarus through the Maybe I'll try to complete the implementation sometime, but for now this is just too much out of the scope of fpCEF. |
This helped a lot (pdf printing can be use to run the command lp and send the pdf to the real printer). About the reference i will read it and try to implement. I am just a Linux administrator but i am trying to learn something if you discover this first than me please share. And thank you about all this, how can i contribute with the project more? |
If you want to use gtk, then you could indeed try.
Well, you started with a really challenging task ...
Of course I will.
Report bugs and ask questions (as long as the answers are not too obvious). Implementing the printing support, I found typing errors. |
Follow-up of issue #39.
The text was updated successfully, but these errors were encountered: