Posted by Grant Foraker on May 03, 2012 at 06:26:37:
In Reply to: COSWGLOB.INI and Printer Fonts posted by Jeff Cinelli on May 03, 2012 at 05:23:06:
Here's my standard COSWGLOB.INI ...
[Comet]
ExclusiveINI = 0 ; No
[Printer Fonts]
Font-0=Lucida Console, 12, 17, 0, 6
Font-1=Lucida Console, 12, 17, 0, 6
Font-2=Lucida Console, 12, 10, 0, 6
Font-10=Lucida Console, 12, 10, 0, 6
Font-11=Lucida Console, 12, 11, 0, 6
Font-12=Lucida Console, 12, 12, 0, 6
Font-13=Lucida Console, 12, 13, 0, 6
Font-14=Lucida Console, 12, 14, 0, 6
Font-15=Lucida Console, 12, 15, 0, 6
Font-16=Lucida Console, 12, 16, 0, 6
Font-17=Lucida Console, 12, 17, 0, 6
Font-18=Lucida Console, 12, 18, 0, 6
Font-19=Lucida Console, 12, 19, 0, 6
Font-20=Lucida Console, 12, 20, 0, 6
It serves too good purposes.
1) when a new Comet user is set up, they get their three system fonts automatically. The ones you normally set up manually via File/Set Printer Font. I like having Font-0 be 17CPI. This gives instant conversion of "RAW greenbar" reports into laser print and/or PDF.
2) if I need a simple font change in my program, I can call on any of the above with a (SelectSysFont=n), print what I need, and switch back. Don't need any of the WDL stuff.
The above only works with Fixed fonts like Lucida and Courier. And, you can go up to Font-99. So you can define multiple fonts.
I think you can play with the weight too. I think the "0" in the command line is the weight. Don't remember what number is bold.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.