Using CUPS with PHP for network printing

Nan Meng movingon_meng at hotmail.com
Tue May 18 12:20:12 PDT 2010


> On May 18, 2010, at 11:55 AM, Nan Meng wrote:
> > ...
> > In the "phpcups" PHP extension, we're using a function called =
> "cups_print_file" which accepts four arguments: the name of the printer =
> (i.e. canon), the file to print, the print job name, and additional =
> print options. Again, the function was working fine, but now it's giving =
> error code 1282. I cannot find any useful information from the web about =
> this "phpcups" extension, or the error code, and I don't have any =
> documentation here for it either.
>
>
> 1282 =3D=3D server-error-service-unavailable, which probably means that =
> you have a /etc/cups/client.conf file pointing at the old address.
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>

Thank you very much Michael. I went into the client.conf file and saw a ServerName there which is not resolving to the right address currently. I think that is the problem.

Thank you again. Saved my day.




More information about the cups mailing list