Your message dated Tue, 05 Nov 2013 15:27:02 +0000
with message-id <[email protected]>
and subject line Bug#717722: fixed in chromium-browser 30.0.1599.101-2
has caused the Debian Bug report #717722,
regarding chromium: Unable to print with lpr gtk-print-backend set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
717722: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717722
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chromium
Version: 28.0.1500.71-1~deb7u1
Severity: normal

Hi

We need to set

        gtk-print-backends = lpr,file

in our environment (we need to print over lpr). Opening the print
dialog with CTRL+p only shows print to file and on the terminal I see:

[10753:10753:0723/141229:ERROR:browser_main_loop.cc(186)] Gtk: 
IA__gtk_printer_is_accepting_jobs: assertion `GTK_IS_PRINTER (printer)' failed

This is similar to [1].

 [1] https://code.google.com/p/chromium/issues/detail?id=181525

The required capability for lpr backend should be the postscript
capability, so GTK_PRINT_CAPABILITY_GENERATE_PS is missing:

241   // Since we only generate PDF, only show printers that support PDF.
242   // TODO(thestig) Add more capabilities to support?
243   GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
244       GTK_PRINT_CAPABILITY_GENERATE_PDF |
245       GTK_PRINT_CAPABILITY_PAGE_SET |
246       GTK_PRINT_CAPABILITY_COPIES |
247       GTK_PRINT_CAPABILITY_COLLATE |
248       GTK_PRINT_CAPABILITY_REVERSE);

The attached patch adds GTK_PRINT_CAPABILITY_GENERATE_PS to supported
capabilities.

Without GTK_PRINT_CAPABILITY_GENERATE_PS "print to lpr" does not show
in the printer dialog.

For many devices that support ps and pdf over the lp protocol printing
is not possible in the current version.

This happens under Wheezy (but worked under GTK and chromium-browser
under Squeeze).

Regards,
Salvatore

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chromium depends on:
ii  chromium-inspector  28.0.1500.71-1~deb7u1
ii  gconf-service       3.2.5-1+build1
ii  libasound2          1.0.25-4
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-38
ii  libcairo2           1.12.2-3
ii  libcups2            1.5.3-5
ii  libdbus-1-3         1.6.8-1+deb7u1
ii  libexpat1           2.1.0-1
ii  libfontconfig1      2.9.0-7.1
ii  libfreetype6        2.4.9-1.1
ii  libgcc1             1:4.7.2-5
ii  libgconf-2-4        3.2.5-1+build1
ii  libgcrypt11         1.5.0-5
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgnome-keyring0   3.4.1-1
ii  libgtk2.0-0         2.24.10-2
ii  libjpeg8            8d-1
ii  libnspr4            2:4.9.2-1
ii  libnss3             2:3.14.3-1
ii  libnss3-1d          2:3.14.3-1
ii  libpango1.0-0       1.30.0-1
ii  libspeechd2         0.7.1-6.2
ii  libstdc++6          4.7.2-5
ii  libudev0            175-7.2
ii  libx11-6            2:1.5.0-1+deb7u1
ii  libxcomposite1      1:0.4.3-2
ii  libxdamage1         1:1.1.3-2
ii  libxext6            2:1.3.1-2+deb7u1
ii  libxfixes3          1:5.0-4+deb7u1
ii  libxml2             2.8.0+dfsg1-7+nmu1
ii  libxrandr2          2:1.3.2-2+deb7u1
ii  libxrender1         1:0.9.7-1+deb7u1
ii  libxslt1.1          1.1.26-14.1
ii  libxss1             1:1.2.2-1
ii  xdg-utils           1.1.0~rc1+git20111210-6

chromium recommends no packages.

Versions of packages chromium suggests:
pn  chromium-l10n  <none>

-- Configuration Files:
/etc/chromium/default changed [not included]

-- no debconf information
--- a/src/chrome/browser/printing/print_dialog_gtk.cc
+++ b/src/chrome/browser/printing/print_dialog_gtk.cc
@@ -241,6 +241,7 @@
   // Since we only generate PDF, only show printers that support PDF.
   // TODO(thestig) Add more capabilities to support?
   GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
+      GTK_PRINT_CAPABILITY_GENERATE_PS |
       GTK_PRINT_CAPABILITY_GENERATE_PDF |
       GTK_PRINT_CAPABILITY_PAGE_SET |
       GTK_PRINT_CAPABILITY_COPIES |

--- End Message ---
--- Begin Message ---
Source: chromium-browser
Source-Version: 30.0.1599.101-2

We believe that the bug you reported is fixed in the latest version of
chromium-browser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Gilbert <[email protected]> (supplier of updated chromium-browser 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


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

Format: 1.8
Date: Sat, 02 Nov 2013 21:25:50 +0000
Source: chromium-browser
Binary: chromium chromium-dbg chromium-l10n chromium-inspector
Architecture: source all amd64
Version: 30.0.1599.101-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Chromium Maintainers 
<[email protected]>
Changed-By: Michael Gilbert <[email protected]>
Description: 
 chromium   - Google's open source chromium web browser
 chromium-dbg - Debugging symbols for the chromium web browser
 chromium-inspector - page inspector for the chromium browser
 chromium-l10n - chromium-browser language packages
Closes: 717722 725800
Changes: 
 chromium-browser (30.0.1599.101-2) unstable; urgency=medium
 .
   * Use system zlib.
   * Remove arm patches.
   * Update lintian overrides.
   * Remove an unsafe symlink.
   * Remove icu build dependency.
   * Support poststript printing (closes: #717722).
   * Use fonts-ipafont instead of ttf-kochi (closes: #725800).
Checksums-Sha1: 
 fdbf8a51bbda93abfcb895d82c22abe352d83501 3897 
chromium-browser_30.0.1599.101-2.dsc
 f923f7f8b9727666e3f7e0fbf7c5a8b975dbc4f9 254412 
chromium-browser_30.0.1599.101-2.debian.tar.gz
 453d8eec3fa76eb0de0f55a66085918c2792cba3 2900208 
chromium-l10n_30.0.1599.101-2_all.deb
 da4e47950c55d8a35bc2ce855499db1226c1484f 691150 
chromium-inspector_30.0.1599.101-2_all.deb
 ca179a13e470d3ad33309d20702748a529462cef 36591868 
chromium_30.0.1599.101-2_amd64.deb
 27d4d9a637e94b65a4e18fc7d54b30915797d765 489600474 
chromium-dbg_30.0.1599.101-2_amd64.deb
Checksums-Sha256: 
 d0e4f503dadf834c3a68abcf57b626db92c1c0280ed5f2659f47f61ea400c4c3 3897 
chromium-browser_30.0.1599.101-2.dsc
 24b4421e891cd50e3460de93cd0f02a13df817cfb5a8ec8477d83e1d3e0beb26 254412 
chromium-browser_30.0.1599.101-2.debian.tar.gz
 eb5e681a6bf61c7a366b6fc998ff81bd8f51db7195cb45120c501d6871583bf7 2900208 
chromium-l10n_30.0.1599.101-2_all.deb
 92525aee8032703299820c1dc4ee8af0ff089b4e85aa147092babbba5e8362f6 691150 
chromium-inspector_30.0.1599.101-2_all.deb
 8fcb2bc3b9300d11f56073a5f3f177d68b798ebbb416ae280471e688e643e5bf 36591868 
chromium_30.0.1599.101-2_amd64.deb
 cfb78e083f620f4de012b31ee3c347a1c9030b70f46705b10dd217d98d9f734c 489600474 
chromium-dbg_30.0.1599.101-2_amd64.deb
Files: 
 5ee9346bdff46d41babfc11adbbac63d 3897 web optional 
chromium-browser_30.0.1599.101-2.dsc
 8cfa14a3eaf7d7eccbc6930e74bb7160 254412 web optional 
chromium-browser_30.0.1599.101-2.debian.tar.gz
 03babb7a1fbda1bd24788cc8cee0aebc 2900208 localization optional 
chromium-l10n_30.0.1599.101-2_all.deb
 9739c601fa3f4e3bf3f88e190a15913e 691150 web optional 
chromium-inspector_30.0.1599.101-2_all.deb
 9eb5a38f116176730ae45707fd4b62f1 36591868 web optional 
chromium_30.0.1599.101-2_amd64.deb
 73a88e3ba82764b106e1fd771ea43a8a 489600474 debug extra 
chromium-dbg_30.0.1599.101-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQQcBAEBCgAGBQJSePnZAAoJELjWss0C1vRz1Tgf/jsr2ENdvqdB/NygcRPPj+RY
Zg9w5w7+3xEfI2HeNGIVz/MLaRtIMp6wEJqfimgy35omkf9ClAV236CZCIT9WMJ7
Dsi51J00zGLPIuevnvs+cM21VrF9mXh1X1GJrkXGeloIE13wgGKECdMOB5PPQxTl
BvvnhTZOBf02SQkAN8xyEDfC63c1sbpiaf9IHn+PWjTnIuNthWCjsF3v0d0CjzWa
eZFRodf2ZgrVYwD4dhnew8y1Jo6TncsJC9oHN/zmuJaSfxCzr3hj9hmr37D6epzR
h9gCmcbjfDb1LlvMUDs3AvHWoYyUiPKS2/rcRotk2U9/bONbLLqfQ/HLRDshrrFQ
anfDNfat5whRCfhO+VIc8xFUAblaEh7gtOauTnbzgP4Vb3tokIvp5ayXKK82OOJY
/qOy8qLjncjhvQs9laSm6Qf/AvoKuMVFME0o0DohltD4Z+xsH5oOCY+VV1C6MYc3
HzZkb8NzqwIkOh5GGJhejJN8nE2dIOOpaO4dj+supdNc+39JFcQQzo/78WHd9BHS
R+O/B+lAOpZUnViv2nhv4mzF8Fy+qPH2rB/xp75uUv4CxfvSWFoFnYx7n8CWHJ/D
9SzopOZENcinktn66gqz9gkJ1mG4+RUCd8BewQdkOYJ6dJoGxP1HcZoaja9IPDcV
g50ghnHASdab9Ksd7ugOwqe02LFxPfK8Rcj/no0lBGqpTm7fYMoqi7WsHs1yJ9IX
2p2AxdDf7SIfVC/qlhKg0gRchgjtFN17TOfsKqvKEJI+YUPEG9mvQ9+aoj5qJI53
W7dCWFG+4hk4fnfTpzMmH26OZ32srSEBZzifwYCBXlqyfsmeX5v25qtj4OEecpCs
+Lxja84yQDHaXQYAZQrGzF81XARXvkOv+CbJ9VC6TaYFZPsFOq3jtvJ32GLfq0bY
3k2BZLUYrNP4hokxKRa5JjZkIpA37OdeqmKdxAs0pRlfap/4uH1c9WfzKheCcVJJ
WwjQiYR1ISJivnN/fQWI8DWROl2C0659Grs4DKA7MhWxM2LaLbSJtw34/vZTLHDl
Q+KGL25qddfawF/2N/aDcVp6TvVIWsI67p3Yc3m6KuoRc9suDRr6RpWXkj6H3Yb6
wDwFveKYvc7PtMZ2gKL+VvjBBAJucUy4DJUXnDURzQWxeB8xI2X8+Qa8X7EurXP9
g3Ji6/kkOiAzL61t2Yc12jUuI72fVCKEPcJaKr3rYqAI4pj4nrnB41ghUyPIZSlL
5Br49eT2h8voYJlQBc6/gEBHfRPO00pt5/S5171Tmp6XFHzzQhqVn/MpltvrsWE4
IL1OJLL4EeXM89XhxjxOTJYdHYIAhx3uOx+i46vz5OdjOq4wjnXm2ImkSBduqkc=
=Jymx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to