Has anyone experienced this issue
Create a report In design mode, Right Click on the report and select "Properties" On the "Page Layout" tab select "Page Setup" Choose "Landscape" as the Orientation. Click "OK" and the check the "Save printer environment" checkbox on the Page "Layout" tab. Click "OK" and save the changes to the report. Issue the command "Report Form MyReport.frx NOEJECT NOCONSOLE PREVIEW" The Report displays correctly in landscape mode. Issue the command "Report Form MyReport.frx NOEJECT NOCONSOLE PROMPT PREVIEW" The Report displays correctly in landscape mode, but when choosing to print, the report prints in Portrait mode Issue the command "Report Form MyReport.frx NOEJECT NOCONSOLE PROMPT to Printer" Select the printer and print the report. It prints in Portrait mode. Issue the command "Report Form MyReport.frx NOEJECT NOCONSOLE to Printer" The report prints correctly in Landscape mode.
- The issue seems to be with using the "PROMPT" keyword. It seems that when the Print Dialog box is displayed, the printer's settings revert to it's default settings.
This is not the case in any version previous to VFP9 This behavior occurs even when setting REPORTBEHAVIOR to 80
Setting Resource to off has no effect
VFP9 Reports
ralfkret
Seems to be OK when I try this. Do you have SP1 for VFP 9.0 installed If not, maybe you should try it and see if that fixes it for you.
Kuido Klm
Actually it is unlikely that you will ever hear back from them. They do not normally reply to bug reports. I would send another if I were you, and include as much info has you have - the more they have, the more likely it is that they can figure out what is going on.
JDT
Sorry, but I don't have the resources to test this.
You could always report it as a VFP 9.0 bug (details of how to do this are on the "support" page at the VFP Home page on Microsoft's website).
This does sound like some sort of conflict issue - though I cannot imagine what could produce this result...wierd!
Shafa
dcallan
I installed SP1, and am still getting the same results. But, I also have some additional info.
There are a specific set of circumstanses that produce this result. It seems I only get this behavior when I have my default printer set to a shared printer that is set up on a server that is running WTS. Keep in mind that I am not accessing this printer through WTS, but have it set up on my machine.
If I have my default printer set to a printer connected to my local machine, I do not experience this behavior.
If I have my default printer set to a printer connected to another computer (Not running WTS) on the network, I do not experience this behavior.
Even if I access a different printer through the print dialog box, the portrait/landscape setting remains the same.
I checked this using VFP8, and I do not experience this issue.
If you have the resources, see if you obtain the same results. Thanks again.