0

hihi,

can someone please tell me how do i print directly to a printer without user's intervention ( without the need to view the select printer menu )

javascript can't let us access the printer directly.

I've read and followed what is says on the PHP official site
http://my.php.net/manual/en/ref.printer.php
but can't get it to work.

I unquote php_printer.dll in the php.ini file, downloaded the php_printer.dll file into the extensions folder and win32 folder. Tested using this
$handle = printer_open();

Kept getting the error, undefined function printer_open().

thanks in advance.

2
Contributors
1
Reply
3
Views
12 Years
Discussion Span
Last Post by LastMitch
0

@chunguy

can someone please tell me how do i print directly to a printer without user's intervention ( without the need to view the select printer menu )

This is question is not related to PHP at all.

I'm very surprise that noone told you to post this question in the Hardware & Software section 8 years ago.

I know it's 8 years too late.

But to answer your question.

You need to create .bat file and put that file in your Window Server and then you create a shortcut for all your computers to access it, then when someone want to print something they can click on that shortcut and it ping the printer and that will print out stuff from each computer.

Edited by LastMitch: grammer

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.