Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.