Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New default printer

Status
Not open for further replies.

k2a

Programmer
Jun 26, 2012
133
DE
I hvae installed a new printer on my W7 system and set it as my new default printer.
In my VFP main application program there is a statement SET PRINTER TO DEFAULT, but now
most reports are not printed any more.

What could be the reason for that?

Klaus

 
The first place to look at would be one of your VFP Report Forms.
Select one of them that does NOT work.

Then, in the VFP Command Window, open that Report Form as a Data Table.
Example: USE C:\temp\MyReportForm.frx

Then open up the Memo fields named TAG & TAG2 and look at its contents to see if a Specific Printer setting had been saved within the Form itself.
If you find that a specific printer is defined, you will need to erase that.
Typically you would erase the entire contents of these Memo fields - UNLESS you needed a Landscape layout on your report - in which case you retain that specific line in the Memo field.

Good Luck,
JRB-Bldr


 
most reports are not printed any more.

What could be the reason for that?

I'll bet they ARE printed but they're sitting in the print queue for your old printer.

Open the reports in the report designer. On the Report menu, uncheck Printer Environment. (This setting is a little insidious since it formerly defaulted to ON and now defaults to OFF, but any reports that pre-date the default change already have the setting saved.)
 
Thank you all for your very quick responses.
With your help the print problem is now solved.

Klaus
 
I had the same issue. When I uncheked save printer environments and the report again it used current default printer, not the old default printer.

Regards,

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top