Hiii everyOne,
Is there a way in QML to print a document directly without passing by C++?
Cheers,
Hiii everyOne,
Is there a way in QML to print a document directly without passing by C++?
Cheers,
Assuming you mean QtQuick, that will probably depend on what the component can do that you use to display/edit the document.
Most components can not print themselves as far as I know.
Cheers,
_
Thanks,
I have a template that contains static data (first name, family name, age, ...) and I have a userInterface that contains some TextInput
I want when I enter the data (TextInput) and click on the print button ------> print the data on the template
Someone can help me ?
Cheers,
And you have a component that handles the template and replacing placeholders with the data you provide at runtime?
Cheers,
_
No I don't have, and I don't know how do it
I started doing some documentations
Do you have some documentations that can help me and focus on my problem
Cheers
Well, you said you have a template.
So what does that template look like?
Cheers,
_
It's just a pdf file that contains :
First name :
Family name :
age :
...
I want to print the data from TextInput in its place ( First name : name from TextInput - age : age from TextInput - etc ...)
Cheers,
Then printing is really the least of your concerns, getting your values into the template will be the first and more important step.
You will either end up with some library that can parse and render PDF and is very likely capable of printing it, or you end up with a newly generated PDF that you then open in PDF viewer for printing.
Cheers,
_
Binary01 (19th February 2016)
I have to learn many things
Yes, You're right,
STEP 1 : so how can I put values into the template ?
STEP 2 : Printing
Have u any documentation that can help me ?
What is your opinion about this link : https://github.com/tanelipe/QmlPrinter
Cheers,
Binary01 (19th February 2016)
I need some orientation...
I have not found enough documentation on internet
If someone has already worked in this topic, plz I need his help : Documentations, Examples, ...
Cheers,
Hiii,
How can I Open/View a PDF in an application QML ?
I found this 2 ways :
1- With Pdfjs ---> using WebView{ ... }
2- With Poppler
If someOne has an idea concerning this 2 ways
Procedure of installing Poppler/Pdfjs ?
config: Qt 5.1.0 VS 2012
Cheers,
Bookmarks