Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing On Dot Matrix Printer From VFP
Message
De
11/07/2001 23:21:14
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Printing On Dot Matrix Printer From VFP
Divers
Thread ID:
00529557
Message ID:
00529557
Vues:
145
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
Fil
Voir

Click here to load this message in the networking platform