Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending text to printer
Message
From
14/05/1997 23:16:57
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
14/05/1997 17:03:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00032292
Message ID:
00032366
Views:
40
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform