Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Printers in code
Message
 
 
À
10/08/2009 15:33:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01417163
Message ID:
01417165
Vues:
67
>I have an application that uses a receipt printer. The report to print to this printer is only 3" wide. I also have other full sized reports that I wish to print. I have tried setting the default printer to the receipt printer in windows and then using the set printer to command. This gives me an error that it can not access the print spooler.
>
>If I use the print command with the prompt option, then my report will only print 3" wide even though I have selected the standard printer.
>Any suggestions.

I don't see why it would not work, unless you have a problem in the name.

E.g.

set printer to name (myReportName)

is supposed to work.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform