Custom pdf layout export from list

ivicacevis

New Member
Hi,

can you explain me how to get report with specific letters

I followed https://fabrikar.com/forums/index.php?wiki/pdf-output/
created custom template
1733422008824.png

added the part for font
1733421965472.png


1733422072400.png


but letters are not supported / encoded
1733422122892.png
 
Last edited:
The syntax is
* {font-family:'dejavu sans'!important}
i.e. asterix+space before {
 
Please don't change the structure given in the cusstom_css_example.php

Code:
* Don't edit anything outside of the BEGIN and END comments.
.....
*/

header('Content-type: text/css');
$c = $_REQUEST['c'];
echo <<<EOT
/* BEGIN - Your CSS styling starts here */

#listform_$c {
    margin-top: 25px !important;
}

/* END - Your CSS styling ends here */
EOT;

So do
Code:
/* BEGIN - Your CSS styling starts here */

* {font-family:'dejavu sans'!important}

/* END - Your CSS styling ends here */
 
tnx. how to make additional improvements?:
example in attachment
1. table look
2. bold font
3. different size of font
4. insert additional rows, which are not in database
5. fit to one A4 page
6. alignment in cell
Bez naslova.png
 
Last edited:

Members online

No members online now.
Back
Top