#!etsyhacks

home > greasemonkey scripts > printable receipt enhancer
Install

This script adds class names and IDs to a lot of the elements in the 'printer-friendly' receipt page. It doesn't make any visible changes itself, but you can more easily apply custom stylesheets (or additional Greasemonkey scripts) to customise it to suit your needs.

I've created some example stylesheets to show you the sorts of things you can do with this script. If you're writing your own stylesheets, then have a look at the page guide. If you don't know anything about CSS, talk to your local web page geek and see what they can do for you.

You might also like to refer to my notes on the Page Setup settings in Firefox, which can be used to customise the printed version of the page.

installation and operation
  • Install Firefox and Greasemonkey if you haven't already got them. You'll need to restart Firefox after installing Greasemonkey.
  • Once Greasemonkey is installed and running, follow this link (or click on the orange "install" button above).
  • The printable receipt enhancer script will be downloaded, and Greasemonkey will ask if you want to install it. Assuming you trust me, click "Install".

If you want to configure this script to automatically apply some style rules to customise the page, then do the followng:

  • Go to a printer-friendly receipt page.
  • Click on Tools > Greasemonkey > User Script Commands > Configure printer-friendly styles:
  • A box will pop up on the screen:
  • Enter the URL of a stylesheet and/or some CSS style rules in the relevant boxes, and click on "save".
  • The script will load the new rules and apply them. You can edit them at any time by following these steps.

If you want to temporarily disable your style settings, then:

  • Go to a printer-friendly receipt page.
  • Click on Tools > Greasemonkey > User Script Commands > Enable/disable styles:
  • The styles will be turned off.
  • Do the same thing again to turn them back on.
release history
2008/10/30: 1.0
Initial release
feeds
contact

Questions, comments, and feedback welcomed.

You can also sign up for email announcements for hack releases, updates, and general Etsyhacks news.

support etsyhacks

The code provided at etsyhacks.com is free. However, if you find it makes your life better, and you'd like to support future development, you can send me money via PayPal by clicking on the "Donate" button to the right.

You can also bid on the Project Wonderful ad space on the main Greasemonkey page, or you can sponsor a hack.

If you'd like to put an Etsyhacks button on your blog or web site, you can use one of these.

disclaimer

The term "Etsy" is a trademark of Etsy, Inc. This website is not endorsed or affiliated by Etsy, Inc. Please see http://www.etsy.com/trademark_guidelines.php for more information about using Etsy's trademarks. Anything provided on these pages is done so free of charge, and with no warranty. Use at your own risk.

support etsyhacks