diff -up system-config-printer-1.4.1/jobviewer.py.document-count system-config-printer-1.4.1/jobviewer.py
--- system-config-printer-1.4.1/jobviewer.py.document-count 2014-08-04 15:57:57.922351338 +0100
+++ system-config-printer-1.4.1/jobviewer.py 2014-08-04 16:03:26.648077391 +0100
@@ -1387,7 +1387,11 @@ class JobViewer (GtkGUI):
try:
attrs=c.getJobAttributes(jobid)
printer_uri=attrs['job-printer-uri']
- document_count=attrs.get ('document-count', 0)
+ try:
+ document_count = attrs['number-of-documents']
+ except KeyError:
+ document_count = attrs.get ('document-count', 0)
+
for document_number in range(1, document_count+1):
document=c.getDocument(printer_uri, jobid, document_number)
tempfile = document.get('file')