Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending to printer
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01428050
Message ID:
01428222
Views:
48
They do output diff length! Printer is Laserjet 9500 mfp
here's my test code
set prin to e:\top.
set prin on
SET PRINT FONT 'Courier new', 10

? repl("i", 20)
? repl("m", 20)
set prin to
set prin off

modi file e:\top. * looks fine here
type e:\top to prin * misaligned here






>Hmmmm.... let's go back to basics. I have a feeling you have font issues.
>
>Run this:
>* Add here your commands to set output to printer.
>
>? repl("i", 20)
>? repl("m", 20)
>
>* Now add the commands to close the printer and flush it, so it prints...
>If the above code produces two lines of different length, your printer's using a proportional font, like Naomi said.
>
>BTW, what's the printer's brand and model?
>
>Alex
>
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform