Kurt Pfeifle wrote: > I can not reproduce this with my version of CUPS here (currently a > self-compiled 1.3-r5706 from CUPS' Subversion repository). I'll test > with a Dapper version later.
Thanks. > A few questions for clarification, and to try and help reproduce this: > > * with "® HTML entity in the page TITLE" you mean the <title>...</title> > tag in the HTML code? In the <title>...</title> An example URL is: http://www.buttercupbakeshop.com/ An example URL is: http://www.kraftfoods.com/recipes/CakesPiesCheesecakes/CheesecakesBaked/PHILADELPHIAClassicCheesecake.html Note on the second URL they have they have the Unicode character rather than ® although the behavior seems to be the same. > * with "page title as the name of the job" -- do you mean What I actually meant was that when I type "lpq" on the system in question when things get hung I get (for my first URL example): notary is not ready Rank Owner Job File(s) Total Size 1st bkuhn 15 Buttercup Bake Shop® 1966080 bytes I am not sure how firefox is sending the job. I just chose Print from the firefox menu and took its defaults to send to the configured CUPS printer (called notary). > a) what's in the PostScript code as "%%Title:....", or I don't think so. If I look at the Postscript file in /var/spool/cups/d00015-001 in the example above, it starts with: %!PS-Adobe-3.0 %%BoundingBox: 0 0 612 792 %%HiResBoundingBox: 0 0 612 792 %%Creator: Mozilla PostScript module (rv:1.8.0.4/2006060817) %%DocumentData: Clean8Bit %%DocumentPaperSizes: Letter %%Orientation: Portrait %%Pages: 1 %%PageOrder: Ascend %%EndComments % MozillaCharsetName: iso-8859-1 %%BeginProlog ... %%EndProlog %%BeginResource: font DejaVu_Serif.Book.0.0.Set0 %!PS-AdobeFont-1.0-3.0 DejaVu_Serif.Book.0.0.Set0 1.0 %%Creator: Mozilla Freetype2 Printing code 2.0 %%Title: DejaVu_Serif.Book.0.0.Set0 %%Pages: 0 %%EndComments ... a 'cat -v c00015' gives: [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@^_ipp://localhost/printers/[EMAIL PROTECTED]@[EMAIL PROTECTED]@^TButtercup Bake [EMAIL PROTECTED]@^Vapplication/postscriptB^@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]:uuid:[EMAIL PROTECTED]@ [EMAIL PROTECTED]@^DDM-)[EMAIL PROTECTED]@^DDM-)[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^O#^@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^Ojob-printer-uri^@/ipp://localhost.localdomain:631/printers/[EMAIL PROTECTED]@^TButtercup Bake [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED] (not sure of a better way to give you the output of that, as it is a binary data structure, but you see that the Unicode trademark symbol is there in the job name) > b) what's in CUPS' error_log file on the "StartJob: argv = ...." > line? Yes, argv[3] seems to have the Unicode character in it. I restarted the server with debug error log level, resubmitted the job and got: D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[0]="notary" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[1]="16" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[2]="bkuhn" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[3]="Buttercup Bake Shop®" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[4]="1" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[5]="job-uuid=urn:uuid:2a53b34f-ff6d-34cc-4699-0dd6ec856d30" D [03/Jul/2006:17:05:48 -0400] [Job 16] argv[6]="/var/spool/cups/d00016-001" As I said, I think firefox is making a mistake by sending along non ASCII characters to cups, which is why I also filed a bug against firefox. Although, it seems that cups should have a more graceful handling of it. -- bkuhn -- ipp backend fails when there is a URL printed from firefox with Trademark symbol https://launchpad.net/bugs/51755 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
