Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to dot matrix printer with VFP6
Message
De
05/01/2000 10:26:04
 
 
À
05/01/2000 10:12:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00313185
Message ID:
00313197
Vues:
36
>I just converted a Fox 2.0 program that prints invoices on a dot matrix printer. The invoice form is only approximately 2/3 the size of a regular 11 inch page (42 lines long) and is a continuous form.
>
>How can I get the printer to align at the top of each invoice form using the VFP 6.0 report writer? I used to send control codes to the printer to set it up for the shortened invoice form and had no problems. Those same control codes don't seem to work with the new report form.

Since you don't mind being tied to hardware, either define a custom formsize in Windows, and develop the VFP 6 report using that driver and custom paper definition (and use only native fonts in the report to avoid the issues of having Windows send text as graphics), or abandon the use of the report writer for generating the invoice. You can send exact print sequences direct to the printer without having the stream interpreted by Windows using ???
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform