On 2025-12-03 19:27, Dianne Skoll via Remind-fans wrote:
On Wed, 03 Dec 2025 16:10:06 -0800
Aric Gregson <[email protected]> wrote:

Wondering if it is possible to somehow pass colors that are different
from remind/tkremind screen output to rem2pdf?

Sure; I do that all the time for the same reason as you.  Put
something like this in your file:

IF $PSCal && !defined("tkremind")
   # The -p option was supplied and we're not generating output
   # for TkRemind, so pick appropriate colors for printing
   SET blue "0 0 40"

   # Use the printer device's default color, typically black
   SET $DefaultColor "-1 -1 -1"
ELSE
   # Either no -p option or we're in TkRemind.  Pick appropriate colors
   # for a dark screen background
   SET blue "32 32 255"

   # Make non-COLOR reminders a very light grey
   SET $DefaultColor "224 244 244"
ENDIF

REM Wed SPECIAL COLOR [blue] A blue reminder

Anyway, you get the idea... make your color choices conditional.

Fantastic!! Awesome! Thank you!

Aric
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to