Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Print Syle for invoice and and packaging slip in admin

    How can i alter the PRINT layout for the invoice and packagingslip?
    I'd love to add a centered watermark to the page.

  2. #2
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Print Syle for invoice and and packaging slip in admin

    Hi,

    You would need to alter the admin/packingslip.php and admin/invoice.php files. They use the admin/includes/stylesheet.css file for styling. They do not have a separate stylesheet for printing but you could add one.

    Regards,
    Christian.

  3. #3
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: Print Syle for invoice and and packaging slip in admin

    i figured that... i tried (and succeded) to add the watermark but that does NOT get printed...
    So, there has to be a way to make it print and print in the center of the page, that is...

    adding the background image to what i see on the screen isn't the issue at all. but i don't want the wtaremark on the screen... i want it on the paper

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Print Syle for invoice and and packaging slip in admin

    CJPinder is right.

    Here's some additional info that may help steer you in that direction:

    The admin has a print stylesheet which is currently used on the Orders page. You could set up the invoice and packingslip to use it also:

    change this:
    Code:
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    to this:
    Code:
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <link rel="stylesheet" type="text/css" media="print" href="includes/stylesheet_print.css">
    
    Then add suitable print styles to the stylesheet_print.css file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Print Syle for invoice and and packaging slip in admin

    Quote Originally Posted by stevefriedman71 View Post
    i figured that... i tried (and succeded) to add the watermark but that does NOT get printed...
    So, there has to be a way to make it print and print in the center of the page, that is...

    adding the background image to what i see on the screen isn't the issue at all. but i don't want the wtaremark on the screen... i want it on the paper
    Background images don't usually print. That's mostly a browser thing.
    You might get around it by changing some browser page-setup preferences.


    http://web-graphics.com/mtarchive/001703.php
    http://archivist.incutio.com/viewlist/css-discuss/61548
    http://www.microsoft.com/enable/trai...ackground.aspx
    http://ask.metafilter.com/25297/CSS-...kground-images
    http://support.microsoft.com/kb/296326 - "it's by design"
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Add logo to print on Invoice and packing slip
    By dfontana in forum Customization from the Admin
    Replies: 19
    Last Post: 14 Jun 2015, 09:17 PM
  2. Print button for Invoice and Packing Slip?
    By Crunch in forum Managing Customers and Orders
    Replies: 4
    Last Post: 9 Mar 2010, 08:49 AM
  3. Add footer to packing slip and invoice print out
    By Kitty in forum Managing Customers and Orders
    Replies: 1
    Last Post: 25 Nov 2007, 10:47 PM

Posting Permissions

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