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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Prints to Wrong Printer

Status
Not open for further replies.
Jul 3, 2000
20
US
When some users run a couple particular reports, they do not print to their default printer nor, when given the prompt to select a printer, print to that printer. They all print to the printer in my office. The reports do not have any environment saved nor are they specified to run on a particular printer. My default printer is an HP4000 and the other printers are HP4100's. Only a couple reports do this, the others are fine.

What am I missing?
 
Assuming that these reports were created using Foxpro's Report Designer, this is most often caused by the contents of the FRX file.

You can try to eliminate this issue by hacking your report's FRX file as below:
Code:
mcReportForm = "C:\Reports\MyReport.frx"
USE (mcReportForm) 
SELECT MyReport
REPLACE Expr WITH "",;
   Tag WITH "",;
   Tag2 WITH "";
FOR RECNO() = 1
USE

NOTE: If one or more of the reports is laid out in Landscape orientation rather than Portrait, you will need to change this hack.

You can change the contents of Tag & Tag2 as shown above, but the Expr memo field will need to be manually edited to eliminate the Printer-specific definitions and retain the Orientation.

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top