Skip to content
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

Header not show in ubuntu #503

Open
muhammadjabir445 opened this issue Mar 17, 2023 · 2 comments
Open

Header not show in ubuntu #503

muhammadjabir445 opened this issue Mar 17, 2023 · 2 comments
Labels

Comments

@muhammadjabir445
Copy link

muhammadjabir445 commented Mar 17, 2023

I use this code but it only works on Windows while on Linux why doesn't the header appear

        $pdf = \PDF::loadView('export.export-pdf-inventory-delivery-dokumen',
        ['data'=>$data_inventory_delivery_detail,
        'data_inventory_delivery'=>$data_inventory_delivery,
        'model_size_array'=>$data_inventory_delivery_size]);

        return $pdf->setOption('header-font-size', 8)
        ->setOption('header-left', 'Header Left')
        ->setOption('header-right', ''.$data->doc_no.'-page [page]/[topage]')
        ->stream('Inventory_Delivery_'.$data_inventory_delivery->doc_no.'.pdf');

wkhtmltopdf 0.12.6

@muhammadjabir445
Copy link
Author

up

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy.
If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added the stale label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant