Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Margin not working
Message
From
25/09/2008 17:48:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Set Margin not working
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01350824
Message ID:
01350824
Views:
55
Hello everyone,

I am converting an FPW2.6 system to VFP 9. We are hired to do only a functional conversion, meaning minimal effort just to get the system to work.

There is a very complex report that uses SET PRINTER ON and ? and ?? instead of the report writer. We do not want to have to recreate this if not necessary.

I have made some good headway so far. Using SET PRINTER TO NAME and SYS(1037) and GETPRINTERS and SET PRINTER ON and SET PRINTER TO, I have the report printing--even to Adobe.

However, the ? and ?? commands use the "AT" clause to specify the column. Of course, this report starts at column 0. To change the AT positions would be a big job.

I tried the SET MARGIN TO nn command (where nn is column number) but it has no affect.

Can this be set in the Windows print driver, perhaps using the approach used in setprtprops from the download section?

Any ideas?

TIA,
Dan
Next
Reply
Map
View

Click here to load this message in the networking platform