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

Error Loading Printer Driver 2

Status
Not open for further replies.

davewelsh

Programmer
Jun 26, 2001
71
CA
Background:
I have two Windows 98 machines on a peer-to-peer network each with two printers (four total). ComputerA has two dot matrix printers and computerB has an HPIII SI and an HP 4. The HP 4 is the default printer for both computers.

I also have a number of VFP reports. All the code, databases, documents, etc. are located on computerA.

The way the destination printer is determined is by the report itself -- I use no
Code:
SET PRINTER TO
commands. I did this by selecting a report and hitting modify and then selecting file|page setup. From there I hit print setup and chose my printer. Now whenever I print the report via
Code:
REPORT FORM xxx TO PRINTER NOCOSOLE
it prints to the correct printer.

On computerA all the printing is fine. I can print to the two local printers (dot matrix) and the two network ones (laser). On ComputerB I can print to the two network printers (dot matrix) and I can print to the HP 4.


My Problem:
From within my FoxPro application only, computerB cannot print to the HPIII Si. When it comes time to print a report to the HPIII Si, I get the error "Error Loading Printer Driver". I can still print from computerA to the HPIII Si, but computerB will not print to the HPIII Si from within FoxPro at all.


My Workaround:
As I wrote this I came up with a workaround. It seems to work fine, but I would still like to know how to properly resolve this issue.

What I did was go to computerB and rename the HPIII Si to "HPIII Si (local)" and re-shared it. (Renaming a printer makes the share disapear.) I then created a network printer with the name "HPIII Si". Now FoxPro thinks it is printing to a network printer, but it is really only printing to LPT1. Now computerB prints to the HPIII Si exactly the same way computerA does.

I'm not sure if anyone has ever run into a problem like this, but I would appreciate any insight people might be able to give me.
 
Hi, also has some similar problems and Rick gave me links on Microsoft that talk about this problem.

Check out - "BUG: "Error loading printer driver" with Space in Printer Name (Q287650)"

OR

- "BUG: Printing to a Non-Default Printer May Cause an Error (Q253884)".

I Hope these Links solve your problem.

Marlon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top