472,357 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,357 software developers and data experts.

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 2304
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Konrad Koller | last post by:
Under Windows print formatting (header, footer etc.) is OK. Under LINUX it does not work. SciTEGlobal.properties state around line 352: # Printing - only works on Windows Why? How is print...
0
by: Phil Galey | last post by:
I have a VB.NET application running on Windows 2000 Pro. I have a DeskJet 5550 printer, with the Windows default setup specifying to print in grayscale. From a 3rd-Party DLL called QuickPDF, I...
0
by: Mark Davison | last post by:
Hi, I hope someone can help, this has been driving me mad! I am trying to generate a graphic on the fly. This is then shown in the browser in a "print preview" type window. The user can click a...
7
by: marfi95 | last post by:
I'm trying to implement some code in vb.net to allow the user to adjust the brightness or contrast on an image (through the use of a slider) that is already black & white in the bitmap. I have...
0
by: Phil Galey | last post by:
I'm printing to a DeskJet 5550 printer. From WordPerfect, if I have a color document and I specify grayscale in the printer properties dialog, it prints in grayscale as expected. However, from...
1
by: Dreamtime | last post by:
Hi I am using Visual Studio 2005 and the bundled Crystal Reports (previously I used .net 2003 and bundled Crystal Reports for 2 years - same issues!) I have a report which is displayed in the...
5
by: kaosyeti | last post by:
how can i get my report to print all in black when i have a control with conditional formatting to change the font color about 10% of the time it shows up. i've been trying to find a way to format...
3
by: =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post by:
Is there a way to force printing in black and white programatically?
3
by: jabslim via DotNetMonster.com | last post by:
i want to print files in vb.net with the ability to let users choose if they want it "colored" or only "black and white"(grayscale). how can i make a file print in only "black and white"? ill...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.