Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report - defaullt printer settings
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01022570
Message ID:
01022935
Views:
10
Cathy

Sorry 1 last question

If I look at the fields in expr this is my interpretation of what you have said - am I correct?

DRIVER=winspool
Clear - DEVICE=\\EMAIL\DAILY OKI
OUTPUT=LPT1:
ORIENTATION=0
Clear - PAPERSIZE=164
Clear - ASCII=164
COPIES=1
Clear - DEFAULTSOURCE=15
PRINTQUALITY=120
COLOR=1
YRESOLUTION=72
TTOPTION=2
COLLATE=0

Thanks

Colin


>You need to get rid of the printer environment information that is stored with the report. To do that, open the report file as a table browse it. In the first record, clear the TAG and TAG2 fields. Also in the first record there is a field called EXPR. Don't clear it all -- but edit the field and clear the printer information. You still want to retain things like orientation.
>
>Note that you will have to do this EVERY time you make a change to the report. Earlier versions of VFP always save the printer environment. Starting with VFP 8, you can turn that "feature" off.
>
>Cathy
>
>
>
>>Hi
>>
>>I am printing to 1 of 2 dot matrix printers both of which have a default paper size of Lexmark. The machine I am printing from also has a default paper size of Lexmark
>>
>>myreport="c:\mailflight\blank1.frx"
>>report FORM (myreport) TO PRINTER prompt noconsole
>>
>>brings up the printer dialogue box - I select the appropriate printer only to find that the default paper size is Letter - I can of course alter this manually
>>
>>I can also alter blank1.frx to have a default printer of 1 of the 2 printers - then the correct paper size comes up in the printer dialogue box PROVIDING I select that printer
>>
>>If I select the second printer then I am again presented with Letter
>>
>>How so I change this so that the correct paper size is presented irrespective of which of the 2 printers I choose?
>>
>>Thanks
>>
>>Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform