Visual Fox Pro Not using Printer Preferences when Different from Factory Defaults

Robert 1 Reputation point
2021-05-21T18:50:21.773+00:00

I want to preface this with the statement that I'm not a programmer, I'm a support tech for a program written in Visual Fox Pro9 and I'm trying to do some homework on an issue.

There are occasions where a user needs to default a type of print job (Printing checks) to a different tray than regular printing. Normally, this is done by installing a 2nd instance of the printer and setting the printer preferences to default to Tray 2, name the printer something else, and call it a day. There have been some problems lately though.

No matter what we change the preferences to, VFP defaults to the print driver factory defaults. This sends the print job to output source "Auto-Select" and it comes out of Tray 1.

Ultimately, my question is can VFP be configured to look at a printer's preferences over its defaults?

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Zacharias 1 Reputation point
    2022-01-16T03:27:38.837+00:00

    Hi

    You will need to have access to the source code or ask the programmer who designed the software. Either way, you go into the report designer and pull up the report form (checks form). Under the file tab, select page setup, print setup. Select the printer you want and assign the defaults you want such as the tray, orientation, etc. and click save. Then the important part is go to the report tab and check off the printer environment option. This will save the printer environment settings to that report. In summary you set tray 2 as the default tray under the print setup for the specific report, then save the printer environment with the report.

    HTH
    Mike


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.