[Bug 1057979] New: ghostscript defining default papersize
http://bugzilla.suse.com/show_bug.cgi?id=1057979 Bug ID: 1057979 Summary: ghostscript defining default papersize Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: Ralf.Friedl@online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Ghostscript PAPERSIZE defaults to letter, which is unfortunate if you want to use A4. According to the Ghostscript documentation at https://ghostscript.com/doc/7.07/Use.htm#Change_default_size this can be changed by editing the initialization file gs_init.ps, located in the Resource/Init directory. Editing a file that will be replaced with the next update would not be good, but there is another problem, there is no file gs_init.ps to edit. Also according to https://www.ghostscript.com/doc/current/Use.htm#Finding_files if built with COMPILE_INITS=1 (currently the default build) the files in the Resource directory are built into the executable. So how to change the default paper size, preferably in a way that will survive the next update? It should be possible to change the file gs_init.ps before building Ghostscript so that it would read something like /etc/sysconfig/ghostscript. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1057979 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |jsmeix@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1057979 http://bugzilla.suse.com/show_bug.cgi?id=1057979#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |UPSTREAM --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- That there was no /usr/share/ghostscript/*/Resource/Init/gs_init.ps was an intermediate state from Ghostscript 9.18 to 9.22, cf. https://build.opensuse.org/package/view_file/Printing/ghostscript/ghostscrip... that reads (excerpts): ---------------------------------------------------------------------------- Wed Feb 28 00:14:31 UTC 2018 - stefan.bruens@rwth-aachen.de ... - Use --disable-compile-inits, to allow unbundling of Resource files ... Wed Nov 29 16:04:48 CET 2017 - jsmeix@suse.de - Version upgrade to 9.22. ... Thu Sep 24 10:29:04 CEST 2015 - jsmeix@suse.de - Version upgrade to 9.18rc1 (first release candidate for 9.18). ... - Removed --disable-compile-inits from configure, see http://bugs.ghostscript.com/show_bug.cgi?id=696223 and "Precompiled run-time data" in /usr/share/ghostscript/9.18/doc/Make.htm ---------------------------------------------------------------------------- I think the curretly right way is to call Ghostscript with the intended paper size like 'gs -sPAPERSIZE=a4', see the section "Choosing paper size" in /usr/share/doc/ghostscript/*/Use.htm#Paper_size In general regarding enhancement requests for Ghostscript: We (i.e. openSUSE) do not develop Ghostscript. We only distribute it "as is" from Ghostscript upstream. Please ask for enhancements at Ghostscript upstream http://www.ghostscript.com so that there is a direct communication between you and the upstream authors, cf. "Background Information" at https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com