Results 1 to 3 of 3

Thread: Add logo or css to PDF file

  1. #1
    New user
    Join Date
    06-21-09.
    Location
    Germany
    Posts
    15

    Default Add logo or css to PDF file

    Hi everybody,

    I'd like to add a page header with address logo to the PDF documents. I created a print.css and it works well with the browser's print function but doesn't seem to have any influence on PDFs generated by the "Print article to PDF" button.

    Can anybody tell me if the PDF outputs can be changed? They do look really neat and they show far better page breaks than my css styled browser-generated pages, but it would be nice to add a picture and adapt some minor styling issues. Only I wasn't able to find any information about this.

    Any hint would be highly appreciated ;-)

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Add logo or css to PDF file

    From the TCPDF documentation, it looks like you can add a header logo in /plugins/tcpdf/config/tcpdf_config.php. More info here: http://www.tecnick.com/pagefiles/tcpdf/ ... g.php.html.

    The project website is here: http://www.tecnick.com/public/code/cp_d ... p_dp=tcpdf

  3. #3
    User
    Join Date
    03-23-10.
    Location
    Canada
    Posts
    34

    Default Re: Add logo or css to PDF file

    Thanks for posting! I had the same issue and there was the answer! Thanks Ben.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •