Skip to content

Can only print once before restarting CUPS #2

Description

@josealgardataborges

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions