Visual Foxpro Report Forms don't print correctly

Questions about Wine on Linux
Post Reply
I_guy
Newbie
Newbie
Posts: 3
Joined: Fri Sep 06, 2019 10:05 am

Visual Foxpro Report Forms don't print correctly

Post by I_guy » Fri Sep 06, 2019 10:25 am

Trying to add a ubuntu 18.04 workstation to a LAN of Win7 computers. Visual Foxpro 9 compiled exe runs via wine on the ubuntu installation. VFP9 Exe on Win7 can access and manipulate data on the linux computer. VFP9 Exe on Linux can access and manipulate data on the Win7 computers. Exe on Linux computer can print to Win7 computer except when when Report Forms are used. Instead of printed lines, all Report Forms print as solid black boxes.

I thought that it might be a font problem, but I've been unable to change to any font that prints properly.

I've been trying to solve this problem for over a week - no joy. Can't find an answer anywhere. If anyone can steer me in the right direction I'd be eternally grateful.

I_guy
Newbie
Newbie
Posts: 3
Joined: Fri Sep 06, 2019 10:05 am

Re: Visual Foxpro Report Forms don't print correctly

Post by I_guy » Wed Sep 11, 2019 2:05 pm

Thinking that it may be a printer driver problem, I had the program print to a PDF file. Same problem with output as solid black lines. I really don't want to convert the multitude of Report Forms that my program uses, especially because I have yet to find a simple command to change the orientation from Portrait to Landscape when necessary.

Has anyone tackled this problem successfully?

I_guy
Newbie
Newbie
Posts: 3
Joined: Fri Sep 06, 2019 10:05 am

Re: Visual Foxpro Report Forms don't print correctly

Post by I_guy » Mon Sep 16, 2019 3:33 pm

Found something that seems to be working, allowing me to use my existing Report Forms.

SET REPORTBEHAVIOR 80 allows my VFP9 program to print Report Forms from Linux computers.

Hopefully this will help anyone else who is wrestling with this issue.

Post Reply