Information générale
Titre:
Printing On Dot Matrix Printer From VFP
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement