#612199 gs-esp: Margins incorrect for ljet2p compatible printers

Package:
ghostscript
Source:
ghostscript
Description:
interpreter for the PostScript language and for PDF
Submitter:
"Mark A. Hershberger"
Date:
2024-03-04 06:33:03 UTC
Severity:
minor
Tags:
#612199#5
Date:
2004-07-19 17:10:11 UTC
From:
To:
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.)

#612199#10
Date:
2011-02-06 17:26:00 UTC
From:
To:
clone 260281 -1 -2
reassing -1 ghostscript
retitle -1 "Add custom margin configuration file"
severity -1 wishlist
reassing -2 ghostscript
severity -2 minor
tags 260281 + moreinfo
tags -2 moreinfo
thanks

I have opened a wishlist bug for the configuration file. Could you also suplly moreinformation about the margin problem of the NEC
SuperScript 1260?

Thank you

Bastien

#612199#25
Date:
2024-03-04 05:13:59 UTC
From:
To:
moreinformation about the margin problem of the NEC

Closing, as no further information received.
-Steve