Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error accessing printer spooler (Error 1957)
Message
De
26/11/1997 10:26:27
 
 
À
26/11/1997 08:44:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00062254
Message ID:
00062399
Vues:
103
>>>>
>>>>Jon, did you try to use the button using SYS(1037) in your print dialog?
>>>>Probably it can help you to get rid if this whole thing.
>>>>
>>>>Nick
>>>>
>>>Nick I changed that line to "SET PRINTER TO NAME SYS(1037)" and that prevented the error, but I thats not what I want. I want the user to select the proper printer for each of the 2 reports, which are located in the array. whats up with "SET PRINTER TO NAME m.anyprinter" syntax?
>>>
>>But you can have a button, which calls SYS(1037), user selects the proper printer, and then by pressing Print button
>>
>>REPORT FORM ... TO PRINTER NOCONSOLE or
>>LABEL FORM ... TO PRINTER NOCONSOLE
>>
>>and you don't need that array.
>>That's what I have in my Print Options form.
>>
>>Nick
>
>Ok, I thank I got ya, I'll give this a whirl and see what I get
>
>Thanks again Nick
>Jon Wilshusen
>future VFP Expert :)

I got it I change my code from:
SET PRINTER TO NAME m.cSelPrinter1
to
SET PRINTER TO NAME (m.cSelPrinter1)
and that seemed to corrected the problem

Jon
Thanks
Jon
Non-MVP Non-MCP Non-MCSE

Visual FoxPro, What else is there?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform