Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@ say to printer
Message
De
19/04/2003 08:31:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/04/2003 01:55:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00779442
Message ID:
00779473
Vues:
12
>i needed to make some programming to fill up a pre-printed form using @ SAY and SET DEVICE TO PRINTER. It fit ok to the form, but there is a problem: The dot matrix printer holds all the data in its buffer until i quit the application or send an EJECT command. Is there a command i can send to the printer to make it start printing? Something like and EOF or END OF JOB ! Any help on this would be welcomed. I tried to use LABEL FORM but couldn´t use it because i am printing in a continuos form and i found no way to make the LABEL FORM to fit in the next page, only the first goes well. I guess it´s meant to be used with single sheets.

What I usually do is prepare a text file (I use "?" and "??" instead of "@...say"), and then send it to the printer with the "???" command. One additional advantage of this method is that the text-file can be used directly for preview, with MODIFY COMMAND or RUN /N NOTEPAD.EXE MyFile.txt

HTH,

Hilmar.
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