Oh, the joys of NT desktop sessions and security.  You will need to have
the dll 'run' as a specific user to install a printer driver for the user
account that is running the dll.  If it's IIS 4 then your NTS setup should
let you specifiy the identity.






Dave O'Brien <[EMAIL PROTECTED]> on 10/03/99 07:37:15

Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc:    (bcc: Peter Jones/Logistics&Information
      Technology/Christchurch/Foodstuffs)
Subject:  [DUG]:  Printing from NT via ASP




Hi there...

I have written a dll to print simple reports (using tprinter) which
resides on an NT server and is supposed to be called from ASP. The dll
works fine when called from outside the web server, but when called from
ASP returns 8000ffff "There is no default printer currently selected".

Has anyone any ideas? It would seem that ASP can't see any printers. I
have tried using the default, and setting specific printers
(Printer.PrinterIndex = x).

Cheers,
David O'Brien.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz






---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to