Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer outputs black boxes instead of text
Message
From
30/11/2001 13:19:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00587508
Message ID:
00588152
Views:
44
>Dragan:
>
>Thanks for your reponse. I tried your suggestions and the problem persists. I printed the text files which the reports created from both the DOS edit program and the windows notepade program and both printed just fine.

One thing to try is VFP's "type {your textfile here} to print" command, to see if it's raw printing from Fox or your app.

>However, the output from within the application still insists on printing black boxes. I also too the application home and printed the output to my laser printer with the same result. (I'm printing from an Epson dot matrix printer at work). I also tried the SET PRINTER FONT "courier", 12 command - again, no help.

Mmmm... could it be your printer driver speaks a completely different language, incompatible with @say? I've actually never done @say directly to printer, it was always
set print to (lcTxtFileName)
set device to print
and I sent the file to print later, using various methods, but in DOS days it was mostly low-level printing using fopen(), fread() and ?? or ???.
I'm curious to know whether Sergey's suggestion works - I never needed the Style clause, and can't really remember what does it do.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform