Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Layout problems printing a report
Message
 
 
To
27/02/2004 08:01:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881411
Message ID:
00881415
Views:
19
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform