Graphic Background

Hello,

I thought at first that this was going to be easy…

The issue I am faced with is the user wants a red bar to display down the entire printed page of my documents. The problem is I only want this image to print and not display in client (as its ugly and doesnt sit right based on window size) - is there an easy way to hide this image until printed rather than having to click on a separate button that has a print form with the graphic in it?

Thanks for the help.

Subject: hide-when formula

You didn’t say the red bar had to display behind the text. So, if it doesn’t, then I would simply hide it. Since you want it to print down the entire length of the document, what you’re really going to have to do to pull that off is create a table with two columns, and the leftmost column has a red background, is only (whatever bar width) wide, and has text properties, hide-when formula, in the middle section checkmark everything EXCEPT Printed. In the right-hand column, everything else in your form. Remember you can set your table margin left to 0 so that it sits flush on the left of the form.

If you have to make the bar go behind your text, then you will probably need to use the alternate-form-for-printing method you alluded to. (If you try to just make a red bar the length of your text and hide that, then you will constantly be adjusting the length of that image.)

I am assuming this is for Notes client, but will point out anyways that background image printing is frequently turned off in the browser options, so this would be likely not printed from a web client.

Subject: Hide-when doesn’t have that option

You don’t have the option to hide something when viewing, that is shown when oprinting (for lots of very sensible reasons)

I would suggest investigating using a special print-only form and give the user a button to open the document using that in a pop-up window before printing

Subject: @Command( [FilePrint] ) should do what you want

Hi Diane

As Maria pointed out, you cannot make the red bar visible only when printed, so if your user doesn’t mind using a custom print action button on the actionbar or the form somewhere, then you could use the [FilePrint] command to switch the form to one with the red bar which isn’t normally visible.

kind regards

Simon