Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing on Dot Matrix Printer
Message
De
22/01/2003 06:59:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
22/01/2003 06:37:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00744171
Message ID:
00744176
Vues:
20
>My problem is that the last line of printable text does not print at first attempt but prints only when you make the printer offline.
>
>I can get last line printed by printing spaces with @say on next @say row. But I do not want to do that.
>
>Can any body help me to solve this problem?

I suggest you write to a file, not to the printer. Then, send the file to the printer with "???". This has worked so far, for me.

Alternatively, you could also send individual characters to the printer with "???".

Sending to a file first has the additional advantage that you can use the file for preview. For instance, send it to your default text editor, or to your default browser.

Personally, instead of using "@...SAY", I got into the habit of using "?" and "??". Later, I changed this into a class, with support for data-grouping, line, column, and page counting, output to Excel, preview in text editor or browser, support for bold and italic (shows in browser preview), and other features more. If you are interested to take a look, get download #9991.

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