[cups-devel] [UNKN] STR #4560: str4405.patch does only work partly (lpstat sometimes has not up to date job hold/resume info)

Stephan Graf noreply at cups.org
Wed Jan 7 04:05:38 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

belongs to Bug STR #4405
Now I have tested with the patched version of the job.c file (->
files.tar).

The "lp -H hold -i #" command is working, and "lpstat -l" shows the actual
job state (job-hold-until-specified).
But if I want to release the job by using the command "lp -H resume -i #"
the "lpstat -l" info is not updated thow in the web interface the job state
changes to "pending".

Stephan

Here the output from my tests:

[root at jsc-cups testprints]# cups-config --version
1.7.5
[root at jsc-cups testprints]# lpq -P jscnews
jscnews is not ready
no entries
[root at jsc-cups testprints]# lpstat -l -o jscnews
[root at jsc-cups testprints]# lpr -Pjscnews CTLADYTR.JPG
[root at jsc-cups testprints]# lpstat -l -o jscnews
jscnews-70477           root           1543168   Wed Jan  7 12:28:25 2015
	Alerts: none
	queued for jscnews
[root at jsc-cups testprints]# lp -H hold -i 70477 
[root at jsc-cups testprints]# lpstat -l -o jscnews
jscnews-70477           root           1543168   Wed Jan  7 12:28:25 2015
	Alerts: job-hold-until-specified
	queued for jscnews
[root at jsc-cups testprints]# lp -H resume -i 70477 
[root at jsc-cups testprints]# lpstat -l -o jscnews
jscnews-70477           root           1543168   Wed Jan  7 12:28:25 2015
	Alerts: job-hold-until-specified
	queued for jscnews
[root at jsc-cups testprints]# # in web interface: pending
[root at jsc-cups testprints]# lp -H hold -i 70477 
[root at jsc-cups testprints]# # in web interface: held   
[root at jsc-cups testprints]# # in web interface: click on release
[root at jsc-cups testprints]# lpstat -l -o jscnews
jscnews-70477           root           1543168   Wed Jan  7 12:28:25 2015
	Alerts: none
	queued for jscnews

Link: https://www.cups.org/str.php?L4560
Version: 1.7.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUrSESAAoJENujp6sI12IjFCQP/iKTrE0o+UuFcbBccnKTwtSk
AcRy0uK+qsUFs+ZA9ZLFBI8JVOHg9qXyqa9XQCOs36276gauyCW3U7re5Gy18Pjm
l21uLoWppxrz2TF3L1GSOTOkwIuOD+FpW7KVilaBqH+PSIAQEofm5c6+zDt+1YO+
zF0/8q/hFTQSVDXlfR1bkKaObI/w5/FNW0nAyqL6uNCdo3QKhVwZG8irFHrqxtzA
fLff58rbiIvBgt3elvNnFFi5awaSTBP4Gu+YSKiiYfinWnD/jzP+i95rw3C0JC0V
kq9RnnCgNyO16Mmqef9txjEXVmZl5qLQhCzh1NDseAkxqWLQxV79gFRBqtYNkLCU
x6UjVq9qZwpDtGLrA7O0+U/BDWLWxJMLVVgplqdC6uuYxsAzhdJnK/kDsJmvFzif
3PXj/NIZHi3RY4Ni0tTAaGMgFD+GY74l5+RWgJYFFtv8MEo60udiQ9cOtThViN6h
VFxohzqelgpnA+neB3uSLIPNyCh4UvlD1KvHJdimorTWLzhd1WkGeAogcD0TV2Br
gq9Uod0brQWzojftgC3DIyXXYLlH6U5LvXsQJJX2xbTg5FcEwt3wNg8qyNCe7Vm3
Qo+9p+YALwxXEEBUHSP12pikSt6LQNB15dEKVbJBxeGO2ROnM8YzfkCQP8QwbcN6
wOsfKS/x242AGrIUH72H
=byKe
-----END PGP SIGNATURE-----




More information about the cups mailing list