Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing LABELs on a Panasonic KP-1624 !
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00228178
Message ID:
00228212
Vues:
19
I have the same problem in an app where the user wants to print a single label on a Panasonic dot matrix while browsing through the database.

My solution works, but it is a pain to setup.

1. I create an ADDITIONAL printer on each workstation. This printer uses the same Panasonic printer driver (whatever it is). If it is a network printer, it gets the same network path ie. \\server1\kxp1624). I rename this printer to a specific name (I use lablpptr as the printer name for lack of imagination).

2. Again on each workstation, open the properties of lapbptr and select paper and then custom size. Since the labels they are using are the typical 3.5" X 1" labels, I define the custom size as 350 by 100 (units are .01 inches)

3. In VFP I use the label designer and in print setup, I designate the printer as lablptr and the paper type as custom.

4. To print the label, I use this code:
set printer to lablptr
label form custlabl to print next 1
set printer to default

All this does seem to produce 1 label. It does send a form feed as semi-brain-dead Windows always does, but since the paper size is 1" tall, the page feed has no effect.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform