BV Commerce Forum
»
BV Commerce Community
»
Feedback & Suggestions
»
Shopper's "print" invoice button should print an invoice, not the browser page.
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Shopper's "print" invoice button should print an invoice, not the browser page. Formatting a wide website pushes info off the paper.
The shopper invoice should be as easily editable as if it was an other print template.
Just the facts, m'am. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 1/15/2008(UTC) Posts: 58
|
+1 on that
I wonder if there is away to direct or focus the print command to only print the #maincontent
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
You can format the print out with a print stylesheet to isolate what you want printed. Most commonly named print.css
<link rel="stylesheet" type="text/css" media="print" href="SOURCE/URL/print.css" /> |
|
|
|
|
Rank: Member
Joined: 1/15/2008(UTC) Posts: 58
|
Merging Cliff's post. No, you don't want to grab a separate page to print, since all the info you need is right there. The admin invoice uses a print stylesheet, so you may be able to use that as a reference (but probably not). But it's pretty easy if you've worked with your own stylesheet before, just make sure to use media="print" to tell the browser to use that stylesheet for printing, like this: Originally Posted by: "Somebody" <link rel="stylesheet" type"text/css" href="print.css" media="print" />
You could even use your current stylesheet without messing with any other pages by using @media, for example: @media print { #Header, #Footer { display: none; } }
Just put the print-specific rules in there, or even import a separate print stylesheet using your main screen stylesheet, like this: @import url(print.css) print
I haven't tested any of this in BV yet, but they should work as long as nothing is interfering. 1st question. How do I attach the "print button" to the link ?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.