Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I could not give print to HP Deskjet F380 printer in PHP coding.

I tried this

$ipp = new PrintIPP();
$ipp->setData("./filename.pdf"); // Path to file.

shoud I do any changes in php.ini file ? and how ?, please help me as soon as possible.

Thanks in advance Ajmal

share|improve this question

closed as off topic by womble, EightBitTony, Sven, Wesley, MDMarra May 13 '12 at 18:31

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Is the user running your web server process a member of whatever group gets access to your printers? – EEAA May 12 '12 at 5:22

/printers/epson is the example URI from the documentation. You need to look at your CUPS configuration and determine the correct name for your HP Deskjet. Then you would use /printers/DeskJet (or whatever the printer name is)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.