Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print command
Message
De
13/09/2007 14:25:15
 
 
À
13/09/2007 14:00:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01254171
Message ID:
01254179
Vues:
14
>I am using XP box and trying to use print command:
>
>PRINT /D:LPT1 fullpthfilename
>
>Nothing is happening. What am I doing wrong?

- Do you have a printer physically attached to LPT1, OR
- Have you redirected LPT1 to whichever local or network port has the printer?

Your printer must be DOS-compatible for this to work. This rules out a lot of low-cost "Windows-only" (so-called GDI) printers which don't have any processor or memory of their own, they rely on your PC for all rendering etc.

Assuming you do have a DOS-compatible printer attached to LPT1 you should be able to print to it with
COPY /b FullPathFileName LPT1

or

COPY /b FullPathFileName LPT1.DOS

or

COPY /b FullPathFileName PRN
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform