--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gs-esp: Margins incorrect for ljet2p compatible printers
- From: "Mark A. Hershberger" <mah@everybody.org>
- Date: Mon, 19 Jul 2004 13:10:11 -0400 (EDT)
- Message-id: <20040719171011.71E3F132A0@localhost>
Package: gs-esp
Version: 7.07.1-8
Severity: normal
The margins are incorrect for my NEC SuperScript 1260, which uses the
the ljet2p driver.
Following the directions given when I print out
/usr/share/gs-esp/*/lib/align.ps, I was able to modify
/usr/share/gs-esp/*/lib/gs_init.ps with the following at the end of
the file:
<< /Margins [-60 10] >> setpagedevice
<< /.HWMargins [15 5 6 2] >> setpagedevice
gs-esp (and gs-gpl?) should include the capability to read
/etc/gs/printer.ps to get the proper values so that when I upgrade I
don't loose these settings.
Note that doing this would probably close Bug#48975.
If you include the following to the bottom of gs_init.ps:
%% Replace 5 (/etc/gs/printer.ps)
%% Add your customization
%% to /etc/gs/printer.ps
%% and not here.
%%
%%
and then include a /etc/gs/printer.ps:
%% Include customization for printer margins and whatnot
%% here. To align your margins, print out
%% /usr/lib/gs-esp/*/lib/align.ps and follow the directions. You
%% may also find step 6 at
%% http://www.linuxprinting.org/cups-doc.html helpful.
I think the problem would be fixed in a way that is easy to
upgrade. (Above is untested, though.)
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages gs-esp depends on:
ii gs-common 0.3.6 Common files for different Ghostsc
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libcupsimage2 1.1.20final+cvs20040330-4 Common UNIX Printing System(tm) -
ii libcupsys2-gnu 1.1.20final+cvs20040330-4 Common UNIX Printing System(tm) -
ii libgimpprint1 4.2.6-7 The Gimp-Print printer driver libr
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpaper1 1.1.14 Library for handling paper charact
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libstdc++5 1:3.3.4-2 The GNU Standard C++ Library v3
ii libtiff3g 3.5.7-2 Tag Image File Format library
ii libx11-6 4.3.0.dfsg.1-5 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-5 X Window System miscellaneous exte
ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information
--- End Message ---