array Sys_GetSpooler ()
Array of information about all the printing queues and being printed documents |
Provides information about all print queues
This function only works in Windows
print_r(Sys_GetSpooler());