PECL may have a few old things, php_printer.dll is almost out of date. In addition, since PHP is a scripting language, it is incredibly difficult to access hardware functions (such as a printer) directly. Your best bet is to find or write printer access functions as C ++ and run the script using system () ;, Good luck!
source share