Bug#293397: GnomePrint: Custom location broken for Generic PS

Andrew Lau Andrew Lau <netsnipe@users.sourceforge.net>, 293397@bugs.debian.org
Mon, 14 Feb 2005 16:24:47 +1100


--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Rob and co.,

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D293397
seems to be affecting all GNOME applications.

Here's a test case for gedit:

[File -> Print]
Select "Generic Postscript" as your printer and choose Custom as your
Location. It doesn't matter if you change the string "lpr" or not.
[Print]

Nothing is printed, but here's the STDERR output:

				 =3D=3D=3D=3D=3D

** (gedit:16936): WARNING **: Opening 'lpr' for output failed

(gedit:16936): GnomePrint-CRITICAL **: file gnome-print-ps2.c: line 260
(gnome_print_ps2_construct): assertion `ret =3D=3D GNOME_PRINT_OK' failed

(gedit:16936): GnomePrint-WARNING **: file gnome-print.c: line 132:
Destroying Context with open transport

(gedit:16936): GnomePrint-CRITICAL **: file gnome-print-job.c: line 555
(gnome_print_job_print): assertion `ctx !=3D NULL' failed
				=20
				 =3D=3D=3D=3D=3D

Printing still works fine if you choose lpr as your location instead of
explictly specifying it in the custom box. Personally, I'm using CUPS
here as my printing backend.

Cheers,
Andrew "Netsnipe" Lau

--=20
---------------------------------------------------------------------------
	Andrew "Netsnipe" Lau	<http://www.cse.unsw.edu.au/~alau/>
 Debian GNU/Linux Maintainer & UNSW Computing Students' Society President
				     -
		  "Nobody expects the Debian Inquisition!
     Our two weapons are fear and surprise...and ruthless efficiency!"
---------------------------------------------------------------------------

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFCEDYfmyTAfS6LaL0RAkKjAKCQuGqUJYd6jBRZSAuI1BAdJMsUjACgq4On
ea4XsHRPMesqFRpI6TODDsU=
=LnLk
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--