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.)