Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO
Message
De
16/01/1997 20:53:55
 
 
À
16/01/1997 14:48:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00017567
Message ID:
00017623
Vues:
77
>>>>>>>>I am trying to set the printer to a previously retreived name from getprinter(). When I use the SET PRINTER TO NAME variable - I get a "Error Accessing Printer Spooler" error. I also tried SET PRINTER TO variable, of course that did not work either. This is VFP 3.0
>>>>>>>>
>>>>>>>>Bryan
>>>>>>>
>>>>>>>It seems to me that since you select a printer in 'Print Setup' you will print to it (so you don't need SET PRINTER TO...). There is a trick that you should clean up printer table (frx file) from printer name.
>>>>>>
>>>>>>
>>>>>>I can't use printer setup in my app, as I do not have a file menu. I want to store the printer that the user selects to use again next time the app is run.
>>>>>
>>>>>Use SYS(1037) to bring up Print Setup dialog. Selected once it will not be change until next reselection. BTW I was sure that getprinter() invokes that dialog too.
>>>>
>>>>SYS(1037) has more details (paper size, source, orientation) but top part of its window looks exactly the same as GETPRINTER(), may be they return selected different way?
>>> May be, but the main purpose is to select printer whatever we return, isn't it?
>>
>>maybe i'm missing something, but doesn't windoze have the capability of selecting a default printer? if so, you don't need to do that here (unless of course you want to use a different default printer for your fox app only.
>
>Yes, you are right, but some users don't know Windows very much and probably should be prompted in right direction inside an application.


YES YES THATS IT. I dont always want to use the windows default for my app. I would like my app to have a different default than the windows default.

Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform