Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP!!! Cannot Print in NT!
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00326280
Message ID:
00326416
Views:
23
If you are using SET PRINTER TO LPT1:, you shouldn't be having a problem. If you using SET PRINTER TO and using *ANY*
long name, the problem will eventually (and unpredictably) occur (also note that GETPRINTER() returns long names). I've also noticed that this problem did not appear to be in pre-SP3 VFP.

>>If your NT Printer Names are long file names, there is a bug in VFP SP3 that generates 'Error Loading Printer Driver' messages. Repeated
>>SET PRINTER commands will eventually work. The only workaround at this time is to wrap the SET PRINTER commands in a class library,
>>trap the error, and loop until successful (or max attempts have been reached).
>>
>>The only other solution is to shorten all of the network printer names to <=8 characters.
>>
>>HTH,
>>Ed
>>
>>>Since service pack 3 of VFP6, my clients and I cannot print from NT. I get error 1958, error loading printer driver. We were all using HP drivers, and the problem dissappears for most after changing to MS drivers. However, it didn't help a few people. Can anyone successfully print from NT with an HP driver using VFP6 SP3? Anyone know why this would start occuring after installing SP3 runtimes? Thanks for any input, it is greatly appreciated.
>>>
>>>Marcus.
>
>Thank you very much. Do you mean the actual name of the printer, or do you mean long file names in the path of the printer? I'm getting the error on machines printing to lpt1, but the printer names are definitely more than 8 characters: "HP Laserjet 6L" Is that what you're speaking of?
>
>Thanks,
>Marcus.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform