After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616883 - [Print][Page Handling][Page Scaling][Fit to Printable Area]
[Print][Page Handling][Page Scaling][Fit to Printable Area]
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: printing
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on: 637069
Blocks:
 
 
Reported: 2010-04-26 20:17 UTC by John Thomason
Modified: 2010-12-20 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Thomason 2010-04-26 20:17:23 UTC
[Print][Page Handling][Page Scaling][Fit to Printable Area]

When printing... How do I make this setting 'sticky'???

I have a customer that must print with the same settings each time, and is tired of changing this option every time they have to print.

I tried the 'cups' option 'cups-fit-to-page' in the evince 'print-settings' configuration file:

[Print Settings]
cups-fit-to-page=true


But, this did NOT work.

Can I set something in the 'print-settings' file || make the setting sticky via gconf???
Comment 1 Michael Chudobiak 2010-06-01 18:47:25 UTC
I also see this, with evince-2.30.1-2.fc13.x86_64.

Please make this setting sticky.

- Mike
Comment 2 John Thomason 2010-10-04 09:40:58 UTC
In the mean time...

Use "Option fitplot true" in the /etc/cups/printers.conf file

# Printer configuration file for CUPS v1.4.4
# Written by cupsd on 2010-10-04 00:01
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter HP_LaserJet_1022nw>
Info HP LaserJet 1022nw
MakeModel HP LaserJet 1022nw hpijs pcl3, 3.10.5, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_1022nw?serial=JN06G5Q
State Idle
StateTime 1277485106
Type 8425500
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip-hplip
Filter application/vnd.cups-pdf 0 foomatic-rip-hplip
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option fitplot true


Cheers,
John Thomason
Comment 3 Adrian Johnson 2010-10-04 10:11:12 UTC
The default in evince has been recently changed to "shrink to fit". I'd like to print with no page scaling. Changing CUPS options won't undo the scaling that evince has already done.
Comment 4 Pacho Ramos 2010-12-08 14:36:15 UTC
I suffer the same problem of evince not remembering last setting even with 2.32
Comment 5 Michael Chudobiak 2010-12-08 17:52:26 UTC
I've looked at the gnome-2-32 branch source code - it is supposed to save evince-print-setting-page-scale in the user's print-settings file.

print-setting-page-scale is saved into the gtk_print_settings in ev_print_operation_print_custom_widget_apply.

ev_window_save_print_settings should then save everything, using gtk_print_settings_to_key_file.

Somewhere, though, the evince-print-setting-page-scale key seems to be dropped from the gtk_print_settings, after printing.

I can't quite figure it out...

- Mike
Comment 6 Carlos Garcia Campos 2010-12-12 12:02:14 UTC
This is a gtk+ issue, see #637069.
Comment 7 Carlos Garcia Campos 2010-12-20 20:13:39 UTC
Fixed in gtk+ now, it will be fixed when you upgrade gtk+. Thanks.