>>>I use lcPrinter = GetPrinter( ) in an app to allow the user to pick a printer. All is good as long as they pick a UNC print device like \\MONTANA\SV_HPCOLORCADPRO. However this also allows the user to pick “HP LaserJet 4 Plus” which produces “Error accessing print spooler” at runtime.
>>>
>>>How is the best way to deal with this?
>>
>>Jim,
>>
>>Are you doing
set printer to Name (lcPrinter)
>
>Yep, works in development but errors at runtime.
Oh.
Is the printer (and driver) ok? It is probably worth looking into the HP drivers they seem to cause lots of problems
Few things for you to check (although I don't know if any of them specifically relate to your problem)
Remove Tag,Tag2 & Expr from the 1st row of the .FRX (needs to be done each time after modifying report)
Change Printer drivers (either use HP drivers provided on Win9X cd or get the latest Enhanced PCL drivers from HP)
Failing that just throw away the HP printer <g>
Sorry I can't be more help!
Will Jones