printer_list -- Return an array of printers attached to the server
Syntax
array printer_list ( int enumtype [, string name [, int level]] )
The function enumerates available printers and their capabilities.
level sets the level of information request.
Can be 1,2,4 or 5. enumtype must be one of the
following predefined constants:
PRINTER_ENUM_LOCAL:
enumerates the locally installed printers.
PRINTER_ENUM_NAME:
enumerates the printer of name, can be a server,
domain or print provider.
PRINTER_ENUM_SHARED:
this parameter can't be used alone, it has to be OR'ed with other
parameters, i.e. PRINTER_ENUM_LOCAL to detect the locally shared
printers.
PRINTER_ENUM_DEFAULT:
(Win9.x only) enumerates the default printer.
PRINTER_ENUM_CONNECTIONS:
(WinNT/2000 only) enumerates the printers to which the user has
made connections.
PRINTER_ENUM_NETWORK:
(WinNT/2000 only) enumerates network printers in the computer's
domain. Only valid if level is 1.
PRINTER_ENUM_REMOTE:
(WinNT/2000 only) enumerates network printers and print servers in the
computer's domain. Only valid if level is 1.
printer list php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php printer list syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.