Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169

    Watermarking or something similar??

    Hi Everyone!

    Does anyone have any advice to printing a watermark on an embedded web object when the user selects print?

    Let me explain....

    I have an application that contains over 200 html files of individual instructions for individual projects. The html files are displayed in a web object when an item is selected from a list box.

    In my trial version I would like to have a watermark or any text printed over the instruction when the user clicks on the print button for that instruction sheet. I do not want the watermark to print on the full version.

    Does anyone have any suggestions or experience doing that? I would love to do it via code if at all possible.

    Thanks for you help!!

    Sue

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    The easiest way to handle this is probably going to be inserting code for a background image (watermark) into the body tag of the HTML page to be printed, at the time of printing. One idea anyhow.

  3. #3
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    That could work.....but it would be in the background and behind graphics instead of on top of them, correct? I have some graphic templates on the instruction sheet that I want to have something printed on top of them until they are registered for the software.

    I know I can take the graphics into an editor and do what I want but .... I'm trying to avoid that tedious stuff if at all possible.

    My standby option is to disable the print button until the app is registered but that's not my favorite option.

    Thanks for the idea and I'll play around with it to see if I can get by with that.

    Any other suggestions are invited too!!

    Sue

    Quote Originally Posted by Corey
    The easiest way to handle this is probably going to be inserting code for a background image (watermark) into the body tag of the HTML page to be printed, at the time of printing. One idea anyhow.

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    You could use CSS to create a layer containing your watermark over top of the page content I think, but I'm no expert on that...

  5. #5
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    Quote Originally Posted by Corey
    You could use CSS to create a layer containing your watermark over the page content I think, but I'm no expert on that...
    Hmmmmm....CSS?? That might work. I haven't used that in a long time but I will check it out and see if it's possible. Thanks!

    Sue

  6. #6
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    AFAIK it is possible, CSS "layers" is probably what you want to check into...

  7. #7
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    Quote Originally Posted by Corey
    AFAIK it is possible, CSS "layers" is probably what you want to check into...
    Thanks, Corey...I found a couple ways to use the layers that I'll try.

    Appreciate the point in the right direction!!

    Sue

  8. #8
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Let us know how it turns out.

  9. #9
    Join Date
    Dec 2003
    Posts
    891
    i think i would disable the print feature WITH a message that printing is only available in the full version. this will emphasize the difference between the trial and full version.
    Just be sure to disable the web object in the trial version. Or they can just right click and save/copy image.

  10. #10
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    Quote Originally Posted by Roboblue
    i think i would disable the print feature WITH a message that printing is only available in the full version. this will emphasize the difference between the trial and full version.
    Just be sure to disable the web object in the trial version. Or they can just right click and save/copy image.

    Thanks, Roboblue! I am struggling with whether to allow printing or not in the trial version. I can see pros and cons of each.

    I did think about the right click thing and I've disabled the right click on the web object with javascript to discourage that ;D

    I sure appreciate this collaboration!!

    Thanks!
    Sue

  11. #11
    Join Date
    Dec 2003
    Posts
    891
    if you want to protect your text, disabling right click won't do it. You can still use left click to select and and copy

  12. #12
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    Quote Originally Posted by Roboblue
    if you want to protect your text, disabling right click won't do it. You can still use left click to select and and copy
    I found the following to "discourage" that too:

    Below is a little trick that will stop your visitors from copying and pasting your webpage information. Anyone with experience may know a way around this trick. However it will make it hard enough to discourage them and get them moving on to easier targets.

    Add the following html code to your BODY tag:
    Here is how your BODY tag may look once implemented:
    <body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">

    ondragstart="return
    false" onselectstart="return false"

    Sue

  13. #13
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by sue
    I found the following to "discourage" that too:

    Below is a little trick that will stop your visitors from copying and pasting your webpage information. Anyone with experience may know a way around this trick. However it will make it hard enough to discourage them and get them moving on to easier targets.

    Add the following html code to your BODY tag:
    Here is how your BODY tag may look once implemented:
    <body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">

    ondragstart="return
    false" onselectstart="return false"

    Sue
    One way I believe around such is to use, fwiw:

    Shift+F10 (simulates a right-click style popup menu).

    I know you stated that
    Anyone with experience may know a way around this trick." I just wanted to share such for anyone reading such.

    Intrigued

  14. #14
    Join Date
    Dec 2003
    Posts
    891
    If you can get by without a scroll bar, disabling the web object would superscede the need for any code in the html.
    Last edited by Roboblue; 04-10-2006 at 05:00 PM.

  15. #15
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    169
    Quote Originally Posted by Roboblue
    If you can get by without a scroll bar, disabling the web object would superscede the need for any code in the html.
    I tried that but then the functionality is disabled. What I have is a list box with a list of projects. The list box is populated from a folder where all the html's are. When the user selects a project from the list box then the web object displays that html file.

    If I disable the web object a project will not appear in the web object when selected.

    Is there another way to do it so that the functionality remains while not allowing the user to print the content in the web object?

    Sue

Page 1 of 2 1 2 LastLast

Similar Threads

  1. inf file in the root of a AM5 project
    By Jason Pate in forum AutoPlay Media Studio 5.0
    Replies: 14
    Last Post: 09-13-2005, 11:56 AM
  2. weird png transparency behavior
    By yosik in forum AutoPlay Media Studio 5.0
    Replies: 17
    Last Post: 02-21-2004, 10:03 AM
  3. How to automate building many similar CD's
    By Steve OHara in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 11-22-2003, 10:37 AM
  4. a similar product for online registration
    By dan37_123 in forum Setup Factory 6.0
    Replies: 2
    Last Post: 08-07-2002, 08:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts