So i've been searching trying to find an examle on how to set the printer name or address using print_open() a printing function of php, but I can't figure out how I should be calling the printer.

Also I was hoping there was a way to use the default printer on the pc, seeing several different users with different printers might be using this...if there is a way..

can some one gimme any ideas???

    The function you need to use is actually called printer_open(). Calling this function without any parameters will attempt to use what the Windows system considers the default printer. If you specify a printer name, it will use that.

    The documentation at http://php.mirrors.ilisys.com.au/manual/en/function.printer-open.php details more on how to use this and the other printing functions. You should note though that these functions only work on Windows systems; Linux and Mac's will throw up errors.

      Write a Reply...