User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0
As detailed in this page: http://forums.mozillazine.org/viewtopic.php?f=9&t=736835 , newer versions of Mozilla products (Firefox 3 / Firefox 3.5 / Seamonkey 2), on printing, truncate print job names to 30 characters. Previous versions sent longer print job names (64 characters on FF 2).
This affects printing to PDF, where most utilities will use the job title as file name, and advanced printing utilities such as FinePrint, which use the print job name as page header.
This is annoying because frequently the useful part of the page title (excluding site name, etc.) is located beyond the 30-character point.
Reproducible: Always
Steps to Reproduce:
1.Select a page with a long TITLE name.
2.Print (preferrably to a printer with a long queue, a stopped queue, or a virtual printer such as PDFcreator or FinePrint)
3.Check the print queue or the results from the virtual printer.
Actual Results:
Job name is truncated, such as:
FF3 Truncating Print Web Pa...
Expected Results:
Full job name, such as:
FF3 Truncating Print Web Page Job Title / Name &bull; mozillaZine Forums

This is not exactly a bug, but it should be confirmed if it is the only way to get it solved.
I have tried all freeware pdf printers around with Google Chrome and Firefox (pdfcreator, cutepdf, primopdf, dopdf etc...). Chrome allows full page title on filename, FF3 only allows some characters. FF2 behaved ok, too.
Windows long filenames allow up to 255 characters, so this limitation in FF3 doesn´t make sense.

yep. so firefox 4 beta _4_ made me also sad. :-(
The truncation is especially worse, when printing to pdf-driver, cause you have to manually edit the filename, even though the pagetitle is (in its full length) complete.

Please don't "bump" bugs or spam with biweekly "yup this affects another beta" comments. This is a bug tracker, not a forum. If someone takes the time to work on this issue, you'll see them post updates/patches here -- if you don't see that, then it shouldn't be any surprise that this issue remains.
Keep in mind that Mozilla is a free, open-source project, with limited resources. Our bug tracker has plenty of issues like this that we'd love to address if/when we get the time, but we need to focus on the highest-priority bugs & features. If this bug is important to you, you're free to work on it yourself (or find someone to work on it) -- that's the beauty of open-source -- and if you end up with a nice patch, it'll most likely be accepted and checked in.
Please also read https://bugzilla.mozilla.org/page.cgi?id=etiquette.html - in particular, points #1 and #2

Created attachment 490355[details][diff][review]
patch
Other browsers can print document titles whose length is longer than 30 (and even 64) characters without truncation. So I believe this restirction is unreasonable.
I changed the value of DOC_TITLE_LENGTH to (MAX_PATH-1) because MSKB says:
> The StartDoc function validates its parameters by checking that the length
> of the lpszDocName and the lpszOutput members of the DOCINFO structure are
> *less than* MAX_PATH.

I just wanted to say, thank you thank you thank you!! MAN that was a pain. I had even gone so far as to download & TRY to compile the Mozilla source code (fail). That saved me about 100+ hours & as I'm recovering from cubital tunnel surgery, wouldn't have been a good idea.
Again, thanks!!

Note

You need to
log in
before you can comment on or make changes to this bug.