Alexander Anderson wrote:

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

Perfectly fine!

    ...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.

Old hardware and related software, isn't it? :-) I write this on my Pentium II 300MHz, running Win98SE, but I have a color printer! ;-)

[...]
    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.

Aaah, that's an old wish I have. I believe we should be able to configure printing styles indenpendently of display styles, so we can change the size (done with a global factor), the colors (back colors may be unwanted on paper, as may be eolfilled), perhaps the fonts. And, like you wrote, we may want to print in black & white, even on a color printer (but also on a laser printer like I have at work), and thus play more with fonts, italics/bold/underlined, etc.

    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.

Currently, it is not possible, althought using Lua may be a good idea to explore. Note that having to provide two sets of styles for each language may be time consuming and confusing, but if we default to use the same styles, it should be OK the way it is.

    (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.)

I would have used the HTML export... Your idea isn't so bad, but that's not very flexible/fast/natural...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to