Subject Re: printer paper source
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 11 Aug 2020 09:43:20 -0700
Newsgroups dbase.getting-started

On 8/11/2020 7:58 AM, Mervyn Bick wrote:
> On 2020-08-10 19:35, Ken Mayer wrote:
>
>> Okay, well ... when I run papersize this is the output:
>>
>> HP LaserJet 1020
>>           1 - Letter
>>           5 - Legal
>>           7 - Executive
>>           9 - A4
> .....
>>         260 - Post Card
>>         258 - 8.5x13
>>         257 - 16K
>>         256 -
>>
>> Note that 256 doesn't have anything after it.
>
> Just out of curiosity would you run the attached program.  It should
> print the last three paper sizes character by character with each
> character on a new line.  The initial character of each name will be
> against the left margin and the remaining 63 characters will be indented.
>
> This should show if the last paper size is empty or not.  If it starts
> with a 0 then this is an error as that is used as an end-of-string
> marker.  If there are characters following the initial 0 then
> PaperSize.prg can probably be modified to ship leading zeros.

This is what I get:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0



--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm