Ok currently I am trying to discover ways to print directly to, and only to the deafult printer that is attached to whatever machine happends to indicate that it wishes to have a print out.
What I ment by no user interaction is; on selection of printers as in : onclick="window.print()". There are several issues I have with that function.

I have looked into using the COM object to see if there was a way to send print jobs to the que that way, and so far the best I have been able to come up with is; $printer = new COM("OlePrn.AspHelp") or die("Unable to instanciate printer");

This however does not allow me to print, and does not select the default printer. It does however do everything else as it pertains to retrieving information about the device.... wonderfull....

I have poured through the tech net, knowledge base, online forums, wsh and ADSI looking for a way to send a print job but to no avail .. If anyone has any great and all powefull solutions it would be greatly appreciated 🙂

Thanks

p.s: And yes I have tried the php printing functions, however they are unreliable in how they detect default printers, at least in my environment do to the fact we have Terminal Service clients as well as local clients.

    I normally use javascript imbedded into he PHP somwehere...

    <body onload="window.print()";>

    Works for me...

      It does not prompt the user to choose a printer ?

      As well, I need to have a way check the transaction before I issue a print job, if the transaction failes I dont whant the print job to continue.

        1) Show User a "Check this data page"

        If User agrees data is correct then

        2) Redirect to a page with the onload=print, and redirect after x seconds script (statement)

          Write a Reply...