Creating a Custom Report Watermark

As of 3/19/2018 an update was made to make the watermark process a bit easier. If you've had HomeGauge installed since before that date, to get the new watermark-ready stylesheets you'll need to navigate to Documents\HomeGauge\PrintFormats and delete the contents (if you have any custom stylesheets, do not delete those!) Then reinstall HomeGauge by accessing the Install HG5 link on your Dashboard. Once done, follow steps 1-3 below, ignoring the rest of the steps.

Creating a custom watermark is currently an advanced process. You will need to be familiar with image editing and comfortable editing CSS files. If you need help with this process, please contact Support at 828-254-2030. Custom watermarks can be done as part of a paid report stylesheet edit.
  1. Create a watermark from your logo.
    1. Open a high quality version of your current logo in an image editor such as PhotoShop, Paint.net, or Gimp.
    2. Using a tool such as as Levels, create a faded version of your logo for use as a watermark. For a watermark image not to interfere with your report content, you should make the watermark image very light.
    3. You can experiment with the size of your watermark image, but a limit of 500px wide (for landscape oriented logos) and/or 500px tall (for portrait oriented logos) is a good place to start.
    4. Save the file as watermark.jpg. It is critical that the name and file type are exact.
  2. Find your print format folder.
    1. To find this in HomeGauge, go to the menu File -> Printing Options and click on the Style & Format tab. Below the list of Styles on the right, you will see a line that says "Folder: Format#" -- that shows you which folder the style you use resides in. That folder resides in \Documents\HomeGauge\PrintFormats\ -- so, for example, the Narrative 3 format is in the folder: \Documents\HomeGauge\PrintFormats\Format8
  3. Important: Rename the existing file called watermark.jpg to watermarkold.jpg
  4. Copy your watermark image.
    1. Paste the watermark image file into the folder you found in Step 2.
  5. Make a custom copy of the standard CSS file you use.
    1. Using Windows file explorer, go to the same folder found in Step 2, and make a copy of the CSS file that you use. The CSS file you use will match the name of the Style option you found in your software in step 2 such as Blue.css or Red.css. Once you've made a copy, rename this copy to something else you'll remember such as Blue-CompanyName.css. It's important that this file be renamed so your customizations aren't overwritten in a reinstall.
  6. Edit the custom CSS file.
    1. Open up the custom CSS file you created in Step 4 using Notepad.
    2. Paste the following code to the very bottom of the file:

    3. Save your file.
  7. Select this new style from your printing options. Go back to the menu File -> Printing Options and click the Style & Format tab. Find your new custom CSS file from the list on the right, select it, and click OK. The next time you upload or print, you should have your watermark in your report.

If you decide to remove your watermark from a stylesheet, you can remove watermark.jpg from that folder. Then rename watermarkold.jpg to watermark.jpg

If you are using one of the following formats, there is one modification you'll need to make:

  • Format6 - Modern Gradient
  • Format7 - All colors
  • Format7b - All colors

For these stylesheets, open the corresponding .css file for the color you're using in Notepad, and look for the following line near the top: hgImageInclude("images\line-blue.gif", "images\line1.jpg") - The exact images shown will differ, but in any case you'll want to add the a comma after the last double quote but before the ) followed by a space and then "watermark.jpg". For instance: hgImageInclude("images\line-blue.gif", "images\line1.jpg", "watermark.jpg")

  • 209
  • 16-Apr-2018
  • 1636 Views