[Bug 80967] gnome-web-photo integration as html printer

Killercow janklopper at innerheight.com
Mon Jan 22 11:51:44 UTC 2007


Public bug reported:

Binary package hint: nautilus

I'd like to have gnome-web-photo integrated with nautilus as a printer
for .html files,

gnome-web-photo has a print mode, and takes an input and output file name.
It outputs a .ps file which could be piped to the selected printer i guess.
This should allow the user to drag/drop html files on the printer, or select print from the context menu for multiple .html files at once.

gnome-web-photo reads its preferences from the ~/.gnome2/gnome-web-photo/prefs.js but it seems to be ignoring a whole bunch of settings.
Perhaps this should be fixed?

It might even be a good idea to have gnome-web-photo look at the
settings inside the firefox profile instead of a separate file, as this
would give the user an easy to find config screen. (inside firefox), a
symlink to the firefox settings dir would suffice to at least read those
settings.

I'd especially appreciate it if gnome-web-photo would honor the
"footer*,header*" settings.

I added following user settings to the prefs.js file, based on what my
firefox profile had.

user_pref("print.printer_PostScript/default.print_bgcolor", false);
user_pref("print.printer_PostScript/default.print_bgimages", false);
user_pref("print.printer_PostScript/default.print_colorspace", "default");
user_pref("print.printer_PostScript/default.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/default.print_downloadfonts", true);
user_pref("print.printer_PostScript/default.print_evenpages", true);
user_pref("print.printer_PostScript/default.print_footercenter", "");
user_pref("print.printer_PostScript/default.print_footerleft", "");
user_pref("print.printer_PostScript/default.print_footerright", "");
user_pref("print.printer_PostScript/default.print_headercenter", "");
user_pref("print.printer_PostScript/default.print_headerleft", "");
user_pref("print.printer_PostScript/default.print_headerright", "");
user_pref("print.printer_PostScript/default.print_in_color", true);
user_pref("print.printer_PostScript/default.print_margin_bottom", "0.5");
user_pref("print.printer_PostScript/default.print_margin_left", "0.5");
user_pref("print.printer_PostScript/default.print_margin_right", "0.5");
user_pref("print.printer_PostScript/default.print_margin_top", "0.5");
user_pref("print.printer_PostScript/default.print_oddpages", true);
user_pref("print.printer_PostScript/default.print_orientation", 0);
user_pref("print.printer_PostScript/default.print_pagedelay", 500);
user_pref("print.printer_PostScript/default.print_paper_data", 0);
user_pref("print.printer_PostScript/default.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/default.print_paper_name", "Letter");
user_pref("print.printer_PostScript/default.print_paper_size", 666);
user_pref("print.printer_PostScript/default.print_paper_size_type", 1);
user_pref("print.printer_PostScript/default.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/default.print_paper_width", "  8.46");
user_pref("print.printer_PostScript/default.print_plex_name", "default");
user_pref("print.printer_PostScript/default.print_printer", "PostScript/default");
user_pref("print.printer_PostScript/default.print_resolution_name", "default");
user_pref("print.printer_PostScript/default.print_reversed", false);
user_pref("print.printer_PostScript/default.print_scaling", "  1.00");
user_pref("print.printer_PostScript/default.print_shrink_to_fit", true);

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
gnome-web-photo integration as html printer
https://launchpad.net/bugs/80967




More information about the desktop-bugs mailing list