Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting PCL code to an HP5 priinter
Message
De
15/06/2005 23:30:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01023736
Message ID:
01023789
Vues:
12
>I tried the following:
>strtofile(chr(27)+'%-12345X@PJL RDYMSG DISPLAY="MESSAGE HERE"',"hpDisplay.txt")
>!copy /b hpDisplay.txt \\server\printer
>
>and also tried with doing a net use lpt1 \\server\printer and then
>
>!copy /b hpDisplay.txt lpt1
>
>Neither one got the display on the printer to change.
>Anyone know what I am doing wrong?

After finding the manual... This worked... and My printer display changed:
??? chr(27)+"E"+chr(27)+'%-12345X@PJL RDYMSG DISPLAY = "HiDi Ho" '+CHR(10)+chr(27)+'%-12345X'
SET PRINTER TO
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform