• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MitchA
#1 Posted : Tuesday, February 12, 2008 9:27:12 AM(UTC)
MitchA

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.
Tafel1
#2 Posted : Friday, June 20, 2008 10:14:50 PM(UTC)
Tafel1

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
Matt@9BallDesign
#3 Posted : Friday, June 20, 2008 11:30:45 PM(UTC)
Matt@9BallDesign

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" />
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
Tafel1
#4 Posted : Saturday, June 21, 2008 1:11:44 PM(UTC)
Tafel1

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" Go to Quoted Post
<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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012