Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用 PHP 脚本显示我的默认打印机名称,告诉我如何显示..
样品http://bagiin.com/xampp.JPG
像 adobe pdf (打印机名称) 红圈
抱歉我的英语不好
谢谢 b4
iwk
你需要使用这个功能
$printers = printer_list ( PRINTER_ENUM_DEFAULT ); foreach ($printers as $printer) { echo $printer['NAME']; }