Re: Cups doesn't end print jobs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Waugh wrote:

> The network print server is using an implementation of IPP.  When CUPS
> has sent the job to it using the IPP backend, the backend waits until
> the job has finished.  It does this by repeatedly sending the
> Get-Job-Attributes IPP request.
> 
> The print server is responding with success, but either has no
> 'job-state' attribute included in the reply or else the job-state is
> IPP_JOB_PENDING, IPP_JOB_HELD, IPP_JOB_PROCESSING or IPP_JOB_STOPPED.
> 
> Try running the following command, replacing 'theprintserver' with the
> hostname of the print server:
> 
> python <<EOF
> import cups, pprint
> cups.setServer("theprintserver")
> c=cups.Connection()
> pprint.pprint(c.getJobs())
> EOF

Ok... here's what happens:

[root@lancre ~]# python <<EOF
> import cups, pprint
> cups.setServer("ep0")
> c=cups.Connection()
> pprint.pprint(c.getJobs())
> EOF
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
cups.IPPError: (1030, 'client-error-not-found')


-- 

-John (john@xxxxxxxxxxx)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux