Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending text to printer
Message
De
14/05/1997 23:16:57
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
14/05/1997 17:03:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032292
Message ID:
00032366
Vues:
38
>>>In v2.6 we used @SAY to send a line of text to printer, in Visual we are unable to use @SAY and therefore use ??.
>>>
>>>The problem is (Using FoxPrint, 12 pt) that ?? only allows 79 characters accross and wraps the 80th. @SAY works fine.
>>>
>>>Example
>>>
>>>SET PRINTER ON
>>>SET PRINTER FONT "FoxPrint", 12
>>>SET CONSOLE OFF
>>>FOR lnCount = 1 TO 10
>>>(Works) ?? REPL('X',80)
>>>(Doesn't) @ 0,0 SAY REPL('X',80)
>>>
>>>ENDFOR
>>>SET PRINTER OFF
>>>SET PRINTER TO
>>>
>>>Any help/insight would be appreciated. Thanks in advance.
>>
>>have you tried foxprint 10 pt?
>
>That is a thought, however, this is to be used with a pre-formatted form in which we do not design, and before we spend time trying to modify our code to run at 10pt, I was hoping there is a way to work with 12 pt. Either way. thanks much for the input.

I am not sure but have you tried triple ?, that writes directly to the port? ie,
??? repl('x',80)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform