# Frequently asked questions ###### *Q*: It does not work and everything is broken. *A*: Please, try to execute the command manually in your shell. Snappy is a thin PHP wrapper and most likely your issue is with wkhtmltopdf itself or is already described in this FAQ. If not, feel free to open the issue in Snappy issue tracker. How to get the command to execute - ```php var_dump($snappy->getCommand('http://google.com', 'test.pdf'), array('some' => 'option')); ``` Please, note that wkhtmltopdf takes only input url or file name as a source. ###### *Q*: My tables are broken when it is rendered on multiple pages with break. *A*: Add ```thead``` and ```tbody``` tags. Add the following css ```css table, tr, td, th, tbody, thead, tfoot { page-break-inside: avoid !important; } ``` ###### *Q*: I have a PNG with a transparent background. When generating a PDF, the background turns black. *A*: It is wkhtmltopdf bug as described in https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2214. You should update wkhtmltopdf to at least 0.12.3-dev ###### *Q*: Is there a way to secure the pdf so it can't be edited? *A*: There is no way to add a password via wkhtmltopdf, but there is a way via other linux tools like pdftk ###### *Q*: We are using wkhtmltopdf to export html to pdf. It breaks the HTML in two pages of pdf. Can we add a break? *A*: It is known problem of `wkhtmltopdf`. You can use css `page-break-after`, like: ```html