Closed Bug 282389 Opened 20 years ago Closed 20 years ago

[ps] PostScript error page needs to be tailored differently for CUPS

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dmosedale, Assigned: dbaron)

Details

(Whiteboard: [patch])

Attachments

(1 file)

In my current Fedora Core 3 install using a trunk build of firefox from a few
days ago, the XUL element to set the "Print Command" is hidden in the UI.  This
means that apparently something strange is going on with the nsIPrintSettings
implementation, since I can't think of any reason where this shouldn't be
settable on Linux.

This is a problem, because the gecko printing engine sometimes spits out a
printout telling you specifically how to configure this to get around outdated
PostScript interpreters in a printer.
It's hidden when you're examining the "Properties..." of a CUPS printer rather
than a Postscript printer.

CUPS has its own UI for postscript filtering, and we should probably tailor the
message we print out for that if we're using a CUPS printer.
I'm not sure what we should do about print-to-file, but I suspect it doesn't
matter all that much.  (This leaves the current message intact when printing to
a file.)
Comment on attachment 174413 [details] [diff] [review]
give different message for CUPS

I was a bit terse with the text given the difficulty of writing it.

Do you think we should try to give instructions for doing this in different
distros?  I know how to do it on FC3, but I'm not sure how consistent distros
are.

On FC3, it's Menu -> System Settings -> Printers -> [printer name] -> Edit ->
Driver Options -> Ghostscript pre-filtering.
Attachment #174413 - Flags: first-review?(kherron+mozilla)
Flags: first-review?(kherron+mozilla)
Product: Toolkit → Core
Summary: "Print Command" UI hidden in Firefox on FC3 → [ps] PostScript error page needs to be tailored differently for CUPS
Version: unspecified → Trunk
I think on some systems, CUPS is configured via an HTTP/HTML browser interface.
Attachment #174413 - Flags: review?(kherron+mozilla)
This bug will be moot very soon. We're gonna generate a lot more portable
postscript than we currently do. See bug 234182. 
Attachment #174413 - Flags: review?(kherron+mozilla)
Taking bug, although I expect to mark it wontfix once bug 234182 lands.
Assignee: nobody → dbaron
Whiteboard: [patch]
Ignoring bug 234812 for the sake of argument:

(In reply to comment #3)
> I was a bit terse with the text given the difficulty of writing it.
> 
> Do you think we should try to give instructions for doing this in different
> distros?  I know how to do it on FC3, but I'm not sure how consistent distros
> are.

Perhaps a better solution would be to separate the instructions from the
postscript sequences, and have the print job object supply the text. We could
evne load the text from a separate file to support i18n/distro customization.
The postscript that actually prints the text could be generated dynamically.
I'm going to close this. No issues have been reported about the fix for bug 234182.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: