Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Support request] RGB Font color pdf stamper

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › RGB Font color pdf stamper

  • This topic has 5 replies, 2 voices, and was last updated 3 years, 9 months ago by wzp.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 26, 2021 at 11:19 am #83573
    support2
    Spectator

    Hello all, I did a search on the forum and did find a few threads regarding my question but none answered my specific question. From the search i concluded that the plugin cannot handle/produce a variety set of colors when stamping but only the basic ones.

    Our team wants to stamp in gray rather than black or white. What is the RGB code to stamp in gray? (gray is considered a basic/standard color right?)

    FYI, when we try changing the rgb values, 90% of the time it stamps in white.

    August 26, 2021 at 3:11 pm #83574
    wzp
    Moderator

    Have you tried 127|127|127 (hex 7F7F7F)?

    August 26, 2021 at 5:17 pm #83575
    support2
    Spectator

    Thanks for your reply but I just did try and still coming out white. I also tried the hex but still white and probably not even accepting it as hex(unless it does?). I know it is reading/accepting the RGB values since we got a pink color from some of our testing and yes for each red, green, and blue when using the appropriate values(eg. 0,0,1 to get it to print blue)

    Can the font color be modified/manipulated in the stamping code somehow?

    August 26, 2021 at 6:35 pm #83576
    wzp
    Moderator

    Can the font color be modified/manipulated in the stamping code somehow?

    Look in the vicinity of line 227 in the file: pdf_stamp_settings_page.php

    September 1, 2021 at 9:50 am #83619
    support2
    Spectator

    Thanks for your reply. I didnt look further but the only file i found with that name was in the root plugin folder and the line didnt correspond to font color(maybe because i was using notepad?). I did a search inside the file and found the section for font color, however, this does not look like the code of when the file gets stamped, this looks like the code of the settings page, which is the same as what is in wordpress plugin settings page.

    Is there another file that has the code of the stamping – if this code is off limits, please let me know so i can report this to my higher ups and we will have to stick with black.

    September 1, 2021 at 2:55 pm #83620
    wzp
    Moderator

    The line numbers were based on using the Vim (or Vi) *nix editor. Lines 224 through 226 read the desired RGB colors from the input form. Lines 441 through 443 set the RGB colors (including the black default). That is the only interaction the plugin has, with the 3rd party PDF library. If you wanted to try hard coding values, I’d try line 441-443. Once the values are set, all further stamps use those RGB colors.

    • This reply was modified 3 years, 9 months ago by wzp.
  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ