[cups-devel] [UNKN] STR #4389: Create-Job-Subscription seems to do the same thing as Create-Printer-Subscription
nicolas.delaby at ezeep.com
nicolas.delaby at ezeep.com
Fri Mar 14 08:49:32 PDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Assuming there is a job existing with job-id = 7
I run ipptool command with the following file
{
NAME "Create Job Subscription"
OPERATION "Create-Job-Subscription"
GROUP operation-attributes-tag
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
ATTR uri job-uri ipp://cups:631/jobs/7
ATTR name requesting-user-name admin
GROUP subscription-attributes-tag
ATTR uri notify-recipient-uri rss://
ATTR keyword notify-events all
}
cups complain the job_uri is not valid (I guess)
==> /srv/docker/cups/var/log/cups/error_log <==
D [14/Mar/2014:14:55:35 +0000] [Client 9] 1.1 Create-Job-Subscription 51925
D [14/Mar/2014:14:55:35 +0000] Create-Job-Subscription
ipp://cups.dev.ezeep.net:631/jobs/7
D [14/Mar/2014:14:55:35 +0000]
cupsdCreateSubscription(con=0x7fcd6b00c960(9),
uri="ipp://cups:631/jobs/7")
D [14/Mar/2014:14:55:35 +0000] Create-Job-Subscription
client-error-not-found: The printer or class does not exist.
If I ran the Create-Job-Subscription operation with printer-uri and job-id,
then it returns 'successful-ok' but it creates another yet Printer
Subscription.
Once the job is performed, the Subscription is still there, as I understood
the spec, the duration life of Job Subscription is bound to the life of the
job it monitors.
This is why I concluded that Create-Job-Subscrption does the same thing as
Create-Printer-Subscription.
Link: https://www.cups.org/str.php?L4389
Version: 1.7.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org
iQIcBAEBCgAGBQJTIyUMAAoJENujp6sI12IjsTYP/0XvulGx7gNbziZupSBCj5hJ
X/UnAs/usGWZQQpvi7NvJWq+hRqs/nuVWqzKzVlVD76KIqtUzHAS3AnKp6Wk+ZwA
e4WGI8dHvraSBVcoxi7BQ1i+sq8Za3qgIK8HEeTk3JWE9QM5S7RrYVUF8mG6jTGY
Xd/BX1f5wnrerVZhFkS2VOKNyr2p5lZIusb11eV9OxZvka7MTkHDd5HyW+tavqGU
ei0XmK8ERgstEfZExIJDz5eXY2aOMlAZJRt+GnAafCPZCDl9r4yR02QdLWvjVoUL
VmOIHA8p7BQfwp0gR38/9zfdKMypt10nGJIkZPivV3AbzyvWAu2+jjLfeCRllHIU
8SJbsRsFs+IIHTQx+lEAOgYFIok98UeAOa8/d20QYI2ikrQOEbm481r36pExIGMx
pD6ZCzHwJ4sZKWy+YdFrV5YOe/p/uwfwOXrPH8ueqWhjo5u/Q654OtHN9wnNzDyK
Tg9zCzXwthZEKNU0b5hsfoqN+aiGIVlpsQq/6vhbtSU1AmUatxvk99pgTvdRJzqB
6e4v7dhFgIEAe147esvhDF0uBDOfXV0rthMOesIGcdMhjJ+a4Ql7cZg9gEyNLJuf
sswo7m1h4sR0Eyogg0mHVaU8mfuKVKWJH7wIiNdGU/XAEjOqbdBPdS6K7BoOr81g
RRcKbsY07b18/1EDWIF3
=p1Ke
-----END PGP SIGNATURE-----
More information about the cups-devel
mailing list