Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print one label
Message
De
24/10/2002 02:20:22
 
 
À
22/10/2002 12:17:54
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00713918
Message ID:
00714684
Vues:
13
>I have a client with a Panasonic Dot-matrix KX-P1124i that he uses to print one label at a time from tractor feed. FP DOS prints one just fine. I'm moving him up to VFP7 and can't figure out how to print one 1-inch label without a long form feed. The printer is set to a FF of 1 inch but I think VFP is overriding it some how. Any suggestions?

(1) Define a custom form length of 1" for the printer in the Windows Printer dialog. Create a specific Windows printer name that uses that custom form length by default for the report. Use that printer name for printing output to the 1" label. Remove at a minimum the DRIVER and DEVICE entries from the Expr field and clear the Tag and Tag2 fields of the first record of the FRX if using a report form.

(2) If you create the label 'by hand' using ?/??/???, try using a class such as my DIRPRTCLASS that bypasses the Windows GDI for its output - it doesn't automatically force to top of page, but it also doesn't let the GDI do font rendering and the like. DIRPRTCLASS requires you to use calls to class methods rather than the ?/??/??? commands; not a difficult translation, but it can be tedious.
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