× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am using a print file to print names that can be a maximum length of 66 bytes.
A co-worker tells me that you can somehow know how much space a name takes up, even though the print is proportional.
He also said he did not have any more information on that, just heard you could do it.

So if the first name occupies the full line, you would test and advance to the next line.
If it does not take up the full line, you can test the next name and see if they can both fit on the same line.

THIS NAME TAKES UP THE FULL LINE OF PRINT WWWWWWWWW YES IT DOES

THIS IS A SHORTER NAME THIS IS ANOTHER SHORTER NAME

Easy when you use CPI, but I suspect my co-worker wants to make me look stupid, forever engraved in cyber space, thinking you
can somehow test how much space is used in proportional printing.

TIA

Tom Deskevich
INFOCON
814-472-6066
Fax 814-472-5019

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.