when printing bitmaps on a foxpro report the application keeps changing the printer setting to grayscale. Does anyone have any ideas on what is causing this? The code that runs the report is as follows:
report form formname to printer noconsole nooptimize
I found the solution under a different post. The report stores the default printer info from the machine that you made it on. If it is a laser printer(black and white) then it will set a color printer's setting to grayscale when it is run. Here is the solution if anyone else needs it.
1.open the report in foxpro:
USE REPORTNAME.FRX
2.Locate the record that holds the printer info:
LOCATE FOR Objtype=1 AND Objcode=53
3.Remove the printer settings:
REPLACE Tag WITH ""
REPLACE Tag2 WITH ""
REPLACE Expr WITH ""
4.Close the report:
USE
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.