Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set window default printer ?
Message
De
03/06/2009 03:39:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
03/06/2009 03:26:36
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01403342
Message ID:
01403345
Vues:
53
It's bad behaviour of an exe to change OS Default Printer.

Instead you need an applikation specific printer

The first idea would be to use simple SYS(1037) to set a printer during apps lifetime.

The next would be to create a default printer that will restore after application start.

This can be done via the additional parameters of SYS(1037). If you have close interest on this I can post a solution.

Agnes
>Hi,
>
>My computer have three printer queues, I want to set the windows default printer in my application.
>I mean not using SET PRINTER TO command.
>I need set the default printer check sign in Start->Printer and Fax.
>
>Please advise.
>
>Derek Yim
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform