blue-mouse
Member
Hi,
I have my own list template:
/com_fabrik/views/list/tmpl/default-2015-12-14-table-zlicz-pakiety-pdf1
that i use as:
- Front-end-template
and
-PDF template ( PDF Orientation: Portrait, PDF Paper size: a2)
---------------------------------------------------------------------------
My custom template -PDF template - i can print only when i have:
PDF Paper size: a2, a1, a0.
----------------------------------------------------------------------------
I need PDF Paper size a4 (PDF orientation: portrait)
when i try a3, or a4 i get en error:
I was testing this problem and see that i can print on a3 when number of lines on list-view is small.
In that case all printed lines can fit in 1 page sheet.
When i have on list_view more lines (all my lines are only calculations, i don't have visible records on my custom template for list view) than i have use "a2" that is enought long to fit in all my lines.
I need have pdf on a4 portrait and fit whole printout on more than 1 page sheet - it can be 2,3,4 sheets for my pdf.
How to do in my custom-list-template that is also pdf-template: pagination:
- pagination always when necessary to divide text
- or pagination beetween my lines on printout in fixed position - for example before line (default.php)
echo " <div class='podkr1' style='margin-top: -7px; margin-bottom:* {font-family:'dejavu sans'!important} -13px; text-align:right;'> </div><br/>";
I have my own list template:
/com_fabrik/views/list/tmpl/default-2015-12-14-table-zlicz-pakiety-pdf1
that i use as:
- Front-end-template
and
-PDF template ( PDF Orientation: Portrait, PDF Paper size: a2)
---------------------------------------------------------------------------
My custom template -PDF template - i can print only when i have:
PDF Paper size: a2, a1, a0.
----------------------------------------------------------------------------
I need PDF Paper size a4 (PDF orientation: portrait)
when i try a3, or a4 i get en error:
Code:
Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/cc.joomla/libraries/dompdf/include/frame_decorator.cls.php on line 355
I was testing this problem and see that i can print on a3 when number of lines on list-view is small.
In that case all printed lines can fit in 1 page sheet.
When i have on list_view more lines (all my lines are only calculations, i don't have visible records on my custom template for list view) than i have use "a2" that is enought long to fit in all my lines.
I need have pdf on a4 portrait and fit whole printout on more than 1 page sheet - it can be 2,3,4 sheets for my pdf.
How to do in my custom-list-template that is also pdf-template: pagination:
- pagination always when necessary to divide text
- or pagination beetween my lines on printout in fixed position - for example before line (default.php)
echo " <div class='podkr1' style='margin-top: -7px; margin-bottom:* {font-family:'dejavu sans'!important} -13px; text-align:right;'> </div><br/>";
PHP:
---------- pagination here ---- how to do? --------
echo " <div class='podkr1' style='margin-top: -7px; margin-bottom:* {font-family:'dejavu sans'!important} -13px; text-align:right;'> </div><br/>";
echo "<div class='tyt1'>Pakiety wej?? dwustanowych IF: - - - - - Add5</div>";
if ($order1==0){
$query = "SELECT `is_pak_dwus_if`, `konfig_napiecie`, `konfig_wd` FROM `ccjom_cc_kk_karta_rejestr` WHERE `rodzaj_karty_np_wzorzec`= '2' ORDER BY `id`";
}
else {
$query = "SELECT `is_pak_dwus_if`, `konfig_napiecie`, `konfig_wd` FROM `ccjom_cc_kk_karta_rejestr` WHERE `zamow_symbol`=".$order1." ORDER BY `id`";
}
Attachments
Last edited: