English 中文(简体)
PHP 印刷法(纸面打印)
原标题:PHP Print code (print into paper)
  • 时间:2010-08-06 20:29:41
  •  标签:
  • php

是否有PHP功能从网页上(浏览器上)印刷一些东西?

我正在谷歌搜索,但结果是功能。 或您能够分享的任何想法或任何网络方案拟定语言。 我需要一部法典,从我的数据库中印制一份议题清单。 处理这一 st问题。 我不知道这是否可行。

问题回答

如果你谈论一个网络应用程序,你可以使用<代码>window(<>功能”将印刷方言盒带上。

如果不使用活性或其它这种骗子,就不可能自动向打印机发送一些东西。

这是一件好事,设想一个恶意的网站,未经你同意,在你的机器上印刷数千页。

如果你运行一个指挥线,则取决于操作系统。

如果意图是印刷版图,用户可以点击“Print this”纽吨和server ,则将印刷文件,如果你使用一个LC/Apple/BSD服务器的话,可使用CUPS。 http://www.cups.org/articles.php?L545+TNews+Q。

try this, you need to add php_printer.dll, then enable that extension (after restarting apache) http://in2.php.net/manual/en/function.printer-write.php





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...