Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing On Dot Matrix Printer From VFP
Message
From
11/07/2001 23:21:14
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Printing On Dot Matrix Printer From VFP
Miscellaneous
Thread ID:
00529557
Message ID:
00529557
Views:
144
Hi there!!

When i try to take a printout from my VFP application on DMP (Dot Matrix Printer),printout comes in "Near Letter quality" and its very solow.

Soluitons which i tried....but didn't work

1.) In the printer properties
Device Options->Print Quality

i set this property to Draft.

2.)
set printer to name getprinter()
set device to print
set print on
** i tried this code with or without following line
@ prow(),0 say chr(27)+chr(120)+chr(0)


fl = fopen("tt.txt",10)
do while !feof(fl)
lstring = fgets(fl)
@ prow()+1,0 say lstring
if allt(lstring)='**'
eject
endif
enddo
set device to screen
set print off


But if i try to take the printout of any text file using

Run type filename.txt > prn

it works just fine..and fast
but the problem is , when i try to take the output of a report file using ASCII parameter it filters the special pritner code...even "Page Break"..

So , Please Help....


Regards

Sunny
Next
Reply
Map
View

Click here to load this message in the networking platform