Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only print once before restarting CUPS #2

Open
josealgardataborges opened this issue Oct 29, 2014 · 0 comments
Open

Can only print once before restarting CUPS #2

josealgardataborges opened this issue Oct 29, 2014 · 0 comments

Comments

@josealgardataborges
Copy link

Hello

As anyone had this problem?

I print once and then i can only print again after i restart CUPS with 'service cups restart', then wait a few seconds and i can print again.

The PHP code im using to print is the following:

setHost("localhost"); $ipp->setAuthentication("root","password"); // system username & password, need to be lpadmin $ipp->setPrinterURI("/printers/QL-720NW"); $ipp->setData("test_file.txt"); echo "
Job status: ".$ipp->printJob(); // Print job, display job status ?>

What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant