Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print without eject the paper ?
Message
De
29/12/2004 04:10:30
 
 
À
28/12/2004 22:03:26
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00972775
Message ID:
00972840
Vues:
13
What you can do, is redirect the EJECT character to a file, and then delete this file:
set printer on
? "Invoice No.:"+invno
? "Client code:"+cusno
? "Client name:"+cusname
...
set printer off
set printer to file dummy.xxx
EJECT && to force the eject
set printer to
erase dummy.xxx
>Hi,
>
>I want to print a invoice on a dot matrix printer but I want the print
>head stay and stop on the last position which finish printing the invoice.
>But after the command SET PRINTER TO, the printer will eject the page,
>I don't want it to eject.
>
>How to do it ?
>
>Please advise.
>Thanks.
>Derek
>
>For Example
>
>
>set printer on
>? "Invoice No.:"+invno
>? "Client code:"+cusno
>? "Client name:"+cusname
>...
>set printer off
>set printer to    <= Form feed occcur after this command. I don't wan to form feed.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform