Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Layout problems printing a report
Message
 
 
À
27/02/2004 08:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00881411
Message ID:
00881415
Vues:
20
Kurt,

The correct for of SET PRINTER command is
set printer to NAME (cMyPrinterName)
Check also Re: Changing printer from default Message #856526

>Hi,
>
>I have a problem. I ve created a program that is used on 5 computers. Each computer has an other printer installed. When i print the report with "report form myreport to printer prompt noconsole" the user can choose the right printer an there is no problem.
>
>Now a have created a small text file on each computer containing the name of the printer for this computer so the user doesnt has to choose the right printer.
>so somewhere in my programe i read the printer name and then i do :
> report form myreport to printer noconsole.
>
>The strange thing is that the layout on the report is for some computer totaly wrong.
>
>When i print the report on the same computer choosing the good printer with the prompt clause in de syntax the reports sorts with the right layout....
>
>Whats going on here ????
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform