My Backend does not display when i runlpinfo-v

Patrice toussaint15 at yahoo.fr
Wed Jul 27 06:37:18 PDT 2011


>
> Hello,
>
> On Jul 27 00:37 Patrice wrote (excerpt):
> >>> I wrote a simple socket Backend file for my own printing and store it
> >>> in the directory /usr/lib/cups/backend/mysocket. The permission of the
> >>> file is the same as others (-rwxr-xr-x) but when I run lpinfo -v to see
> >>> all the available backends my backend does not display.
> >>
> >> Have a look at
> >> http://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS
> >> for examples.
> >
> > The example I am using is from the link above but I still can't get
> > it to work. Is there something I should do when installing the
> > the backend in the directory? I suppose the above example should
> > also work under Ubuntu 10.10
>
> The examples were tested and worked for me when I wrote the article and
> right now I verified that the "optimistic backend for a network printer"
> works on my openSUSE 11.3 system:
> -----------------------------------------------------------------------
> root at host# lpinfo -v | grep mysocket
> network mysocket://192.168.1.2:9100
>
> root at host# lpadmin -p testy -v mysocket://192.168.1.2:9100 -E
>
> root at host# lpstat -v testy
> device for testy: mysocket://192.168.1.2:9100
> -----------------------------------------------------------------------
>
> I don't know about possible peculiarities or differences in Ubuntu.
>
> Perhaps a re-start of the cupsd may help?
>
> Perhaps /var/log/cups/error_log (with "LogLevel debug") may
> show something of interest why it does not work?
>
>
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
> HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
>

Hello Johannes

When I run the command $ lpinfo -v | grep mysocket I get the following error in the "/var/log/cups/error_log" file:

E [27/Jul/2011:15:21:33 +0200] [cups-deviced] PID 8653 (mysocket) stopped with status 8!

Regards
Patrice





More information about the cups-devel mailing list