469,352 Members | 1,677 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

SciTE: Printing in Black & White

Dear Pythonic People,

I recently discovered SciTE (1.68) as a programming editor, and I
find it just beautiful. Small, fast, elegant and beautiful. I
particularly like syntax highlighting features -- not simply different
colours, but styles and fonts too.

I don't know whether this is the right place to ask this type of
question, but...

...I like to study large files of (hobby) code on paper. I have a
black and white bubble-jet printer. However, my (Win NT4) screen
syntax-highlighting setup has a couple of problems when it comes to
doing print-outs.

The _chief_ problem is that my on-screen background colour is not
bright white -- it's an off-white cream, which is so much easier on my
eyes:

SciTEGlobal.properties...

....
# Global default styles for all languages
# Default
style.*.32=$(font.base),back:#EDE1D5,fore:#000000
....

However, each page of printout appears as black (or darkish)
characters, on top of a filled rectangle of light texture, as the above
"background".

Ideally, I'd like to be able to configure SciTE printouts with a
different highlighting style from the appearance on the screen. Instead
of colour variations, I'd use combinations of bold, underlined, and
italics, and different font faces -- all in plain black print -- for
printouts on my b&w printer.

How can I go about doing this? If I understand things right, I can
configure my SciTE installation using Lua. But I hesitate slightly at
this prospect, if there's a simpler (but more plodding) way.

(I've already noticed that exporting as say RTF, and then changing
the RTF styles for printing with a regular-expression script, is one
possible, messy and very kludgey solution.)

With kind regards,

Sandy
--
Alexander Anderson <ju**********@alma-services.abel.co.uk>
(Yorkshire, England)

Where there is no vision, the people perish.
May 1 '06 #1
1 2077
Alexander Anderson:
...I like to study large files of (hobby) code on paper. I have a
black and white bubble-jet printer. However, my (Win NT4) screen
syntax-highlighting setup has a couple of problems when it comes to
doing print-outs.

The _chief_ problem is that my on-screen background colour is not
bright white -- it's an off-white cream, which is so much easier on my
eyes:


There are several properties that tweak printing listed in the
documentation. Perhaps you want print.colour.mode=2.

Neil

[ copied from the SciTE-interest mailing list,
http://mailman.lyra.org/mailman/listinfo/scite-interest ]
May 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Phil Galey | last post: by
reply views Thread by Mark Davison | last post: by
1 post views Thread by Dreamtime | last post: by
3 posts views Thread by =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post: by
3 posts views Thread by jabslim via DotNetMonster.com | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.