Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any tip for printing?
Message
De
19/03/2009 08:23:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
18/03/2009 18:33:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01389345
Message ID:
01389470
Vues:
66
The old clipper program probably sends the report in text mode to the printer. You can do the same. Prepare a text file, and send it to the printer with the command "???". For example:
* Insert commands to send information to text file, MyReport.Txt, here

lcFileInRam = FileToStr("MyReport.txt")
??? lcPrinterCodes + lcFileInRam
Printer codes would contain printer commands to select a standard font. rtfm - the printer manual in this case.

You may want to use my reporting class for text reports and Excel reports - download #9991 - to assist you in creating the report.

>Hi, friends:
>
>I have a little problem. One of my clients prints his notes in an old Epson LX1050 printer that works perfectly. D.O.S. (Actually CA CLIPPER) prints any document fast and simply as DOS seems to be.
>
>I try to print the same but with VFP. Obviously prints well too but the point is: It's slow and it's not the same font.
>
>Anyone knows how coud I get the same result?
>
>I tried @ say... I tried report form... I tried ?...
>
>I have to set the page lengh in 6 inches too and I know how to get it in DOS but I ignore the way in VFP .and. changing the printer propertis didn't give me satisfactory results.
>
>Excuse me for such silly questions but although I'm 45 years old I am a child of five years in VFP...
>
>Thank you.
>
> Héctor
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform