Closed Bug 93827 Opened 24 years ago Closed 24 years ago

Print module autoselection could be better...

Categories

(Core :: Printing: Output, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: roland.mainz, Assigned: roland.mainz)

Details

(Keywords: crash)

Attachments

(2 files)

Unix print module autoselection could be better. Currently the Xprint module is "activated" by setting the XPSERVERLIST env var; setting |user_pref("print.print_method", 1)| in prefs.js forces Xprint module, setting |user_pref("print.print_method", 0)| forces the PostScript module. It would be better to do it this way: |user_pref("print.print_method", x)| x=0 : default, use autoselection via XPSERVERLIST x=1 : use Xprint module x=2 : use PostScript module x=3 : use Win32 print API ("reserved" value, not implemented on Unix :-) More things to fix: - the code should use |enum|s instead of plain integer values - "print.print_method" should be documented in unix.js - |#ifdef USE_POSTSCRIPT| PostScript glue code to implement RFE/bug 80625 partially...
Reassigning to myself...
Assignee: dcone → Roland.Mainz
Target Milestone: --- → mozilla0.9.4
Filed patch. Note that this patch fixes crashes when the print device context cannot initalize for some reason, too. Requesting r=/sr=
Status: NEW → ASSIGNED
Keywords: crash
Keywords: patch, review
looks good, make sure to run through tests for the methods you support. r=dcone.
dcone: > looks good, make sure to run through tests for the methods you support. yup... I tested that... and I'll test that again tonight... > r=dcone. thanks!
sr=blizzard
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reopening. Unix builds with GTK+ toolkit but without libXp.so do not build (like "worms"). Silly mistake... Patch follows...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch bustage fixSplinter Review
Oh... yes... I forgot to close this one... :-) Fixed. And works... :-) sujay, wanna verify, please ?
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Roland can you verify this and mark VERIFIED-FIXED ? thanks.
Tested.... works. Marking bug as VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: