不能吧!
试想:你正上网,你的网络打印机突然启动,并打印一大堆东东!恐怖!!!!
还有你的人不在,你的打印机打出一大堆东西,浪费啊!
试想:你正上网,你的网络打印机突然启动,并打印一大堆东东!恐怖!!!!
还有你的人不在,你的打印机打出一大堆东西,浪费啊!
解决方案 »
- 使用CURRENT_TIMESTAMP作默认值的时候怎么update时不更改时间
- file_get_contents出来的是乱码 为什么啊
- 又来提问了。。我怎么老是出状况啊
- 正则 匹配所有的字符怎么写?包括/ ? =这些
- 求助:急!如何读取数据表中分数计算总分后写入另一个数据表中?
- 公司可能要做个用 PHP的项目,我是做win32和.net开发的,现在要开始转了,有些问题,要咨询各位专业人事,请不要开玩笑,在此谢谢了!
- 有哪位熟悉apache source有項目期待合作。
- 请问如何用正则表达式,获取字符串中的数字?
- 关于配置文件求助
- 请教一个关于JQUERY赋值并用php后台取值的问题
- 众易网http://www.Xeasy.net推广.CN域名和“标准型主机”套餐,散分
- 如果字符串中没有http://则加上http://,有则不要加,请问如何实现?谢谢
你的问题主要是应用太少了,很少人会有这需求
php支持打印,不过只能在win32平台下
下面是节选,详情去查php手册
Printer functions
Introduction
These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. Installation
Add the line extension=php_printer.dll to your php.ini file. Runtime Configuration
The behaviour of these functions is affected by settings in php.ini. Table 122. Printer configuration options
Name Default Changeable
printer.default_printer "" PHP_INI_ALL printer_abort - Deletes the printer's spool file
printer_close - Close an open printer connection
printer_create_brush - Create a new brush
printer_create_dc - Create a new device context
printer_create_font - Create a new font
printer_create_pen - Create a new pen
printer_delete_brush - Delete a brush
printer_delete_dc - Delete a device context
printer_delete_font - Delete a font
printer_delete_pen - Delete a pen
printer_draw_bmp - Draw a bmp
printer_draw_chord - Draw a chord
printer_draw_elipse - Draw an ellipse
printer_draw_line - Draw a line
printer_draw_pie - Draw a pie
printer_draw_rectangle - Draw a rectangle
printer_draw_roundrect - Draw a rectangle with rounded corners
printer_draw_text - Draw text
printer_end_doc - Close document
printer_end_page - Close active page
printer_get_option - Retrieve printer configuration data
printer_list - Return an array of printers attached to the server
printer_logical_fontheight - Get logical font height
printer_open - Open connection to a printer
printer_select_brush - Select a brush
printer_select_font - Select a font
printer_select_pen - Select a pen
printer_set_option - Configure the printer connection
printer_start_doc - Start a new document
printer_start_page - Start a new page
printer_write - Write data to the printer