CUPS and PHP

Michael Sweet mike at easysw.com
Fri Apr 7 10:06:51 PDT 2006


Kevin Seymour wrote:
> Hello,
> 
> I'm using phpcups to interface with CUPS via a webpage.  I am able to
> view the jobs in the queue and am also able to delete the jobs in the
> queue via my web interface and the cups_get_jobs() and
> cups_cancel_job() functions.  What I'd like to be able to do next is
> release the hold on a job and have it print as all the files that get
> printed to this server get held infedinately until released.  I
> thought I might use the cups_print_file() function but it's not
> really what I want.  I even went so far as to try to use the
> function, which I successfully got to work with a file path I hard
> coded in, to print the files that are sitting in /var/spool/cups but
> keep getting error number 1030.  I'm sure this is not the correct
> method to do this and am wondering what the method is if it has even
> been implemented in the phpcups library.  I don't see it looking at
> the phpcups.c souce so I gather it's a round about thing to do, or I
> just can't do it.

Currently we don't provide PHP versions of the IPP request handling
code; this will change in the future...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list