regarding cups

Premjo premjo.elias at gmail.com
Fri Sep 28 01:28:23 PDT 2007


Is it possible to create my own CUPS command file which works with my printer?, i have my printer hex codes. is it possible to execute this before the print job (means ink levels, ink types, etc...)?. if possible how do i can initiate this command exceution without th print job?

thank you,
premjo
>
> --=-7pC0KCDggPx7aOcs5G/t
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote:
> > Premjo wrote:
> > > Hi,
> > >    Is it possible to send instant commands to the printer and receive t=
> he reply by using the cupsBackChannelRead() and the results can be shown on=
>  the web (http://localhost:631) or on the right click property of the print=
> ers ?, please help me on this.
> >=20
> > No, only drivers (which are run only when you send a print job) can
> > communicate with devices.
>
> It's the kind of thing I'd like to be able to do as well, particularly
> for checking ink levels.
>
> If the driver supports CUPS-COMMAND files, *and* STR #1307 were
> addressed, this would in fact be possible from the web interface.  The
> results could be found from the marker-state attributes.
>
> Tim.
> */
>
>
> --=-7pC0KCDggPx7aOcs5G/t
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
>
> iD8DBQBG/Co/aSWRox63mSMRAoC+AKCMTi0lP7t3cjLb7LqS7xceXpM4+QCfayko
> jU6XfBbt+fyoADWZZvDXR3c=
> =QU5O
> -----END PGP SIGNATURE-----
>
> --=-7pC0KCDggPx7aOcs5G/t--
>





More information about the cups mailing list