Black Ice Software
September Developer News
Volume 12, Issue 9 - September, 2007
The BLACK ICE NEWSLETTER is published by Black Ice Software, LLC. The contents of this newsletter in its entirety are Copyright © 2007 by Black Ice Software, LLC. 292 Route 101, Salzburg Square, Amherst, NH 03031, USA. Black Ice Software, LLC. does hereby give permission to reproduce material contained in this newsletter, provided credit is given to the source, and a copy of the publication that the material appears in is sent to Black Ice Software at the above address. Phone: (603) 673-1019 Fax: (603) 672-4112

How to Set Word Coordinates in the Text Output File


By default the Black Ice printer driver creates one “style and position” entry for text having the same style. For example:


[[1063,300,1488,344][10][,,][Courier New]]New Text Document


If you would like to generate an entry for each word, you must add the following section to the INI file of the printer driver:


[Text Output Settings]

Display Word Coordinates=1


If this section is in the INI file, the generated text output file will contain style and position information separated for each word. For example:


[[1063,300,1138,344][10][,,][Courier New]]New[[1138,300,1163,344][10][,,][Courier New]] [[1163,300,1263,344][10][,,][Courier New]]Text[[1263,300,1288,344][10][,,][Courier New]] [[1288,300,1488,344][10][,,][Courier New]]Document


This printer driver INI file is in the windows’ driver directory (at 2 locations), for example C:\WINDOWS\system32\spool\drivers\w32x86\3\ and C:\WINDOWS\system32\spool\drivers\w32x86.