Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print in a OKI 321 Printer
Message
 
To
04/03/1999 14:38:04
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00194151
Message ID:
00194155
Views:
20
>HOW CAN I DEFINE THE FONT TO PRINT IN A OKI PRINTER , IN A FOX PROGRAM?
>
>I WANT TO MAKE A PROGRAM IN FOX THAT PRINTS WITH THE COMMANDS “@ X,Y SAY ”
>I´VE TRIED WITH
>
>&& --- PEACE OF CODE
>
>SET DEVICE TO PRINTER
>SET PRINTER FONT ‘UTILITY’, 12 ”
>@ 10,20 SAY ‘HELP ME’
>
>&& --
>
>AND IT DOESN´T WORK.
>
>I´WOULD LIKE SOMEONE TO HELP ME,


It's not a monitor, so @10,2 does not mean anything to the printer.

Is this DOS or fp26 or VFP?

in DOS or FP2.6

set printer on
for i = 1 to 10
?
endfor
space_in = 2
value = "Help Me"
? space(space_in)+value

set printer off


Why not try the report writer? If you don't have to strike pre-printed forms it's great. When you have to change 1/4 line spacing it gets pretty funky.
Previous
Reply
Map
View

Click here to load this message in the networking platform