Jump to content

Problem using fucntion printer


Perigoso

Recommended Posts

Hi guys,

I'm using php 4.3 Apache and mysql.(php.ini with the php_printer.dll installed)

I'm trying to print something in a shared printer but i can't.

When i open the printer manager in the control panel, it says ERROR printing.

here is the code i use:

$handle = printer_open("Epson");
printer_write($handle, "Text to print");
printer_close($handle);

 

I have the shared printer on a pc and i'm trying to make a print on the server.

Basicly i have a pc that as acess to the server and can print from there using php.

I have allready tried it print it on the server with the printed installed there and it works.

 

Can someone help me out on this one?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/55734-problem-using-fucntion-printer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.