Carsten Neumann on Mon, 26 Mar 2001 16:44:14 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: faq / tuning margins


On Mon, 26 Mar 2001, Teemu wrote:
> Hello,
> 
>  I needed to reinstall because some Debian unstable packages were
>  actually unstable ;) and with the latest deb the testpage doesn't fit
>  in one page. The source version corrected this problem.
> 
>  Some basic information... My printer is Epson Stylus Color 460 and
>  some software versions follow. Debian packages: gs-aladdin 6.01-7,
>  libpaperg 1.0.5, psutils 1.17-12. Apsfilter 1.6.2.1 source.
>  Drivers being used are stcany (360dpi) and stcany_h (720dpi).
> 
>  There is just one minor problem regarding margins. I would like to
>  adjust bottom margin, faq in address
>  http://www.apsfilter.org/docs/faq/chap-tuning.html#AEN285 
>  says "uniprint drivers contain a line '-dupMargins="{ 9.0 39.96 9.0
>  9.0}" or similar; these are the left, bottom, right, top margins in
>  points (1pt = 1/72"). Other". Some text missing after that i think...
> 
>  So, other margins are 9/72"=3mm but bottom is 40/72"=14mm. Can this
>  be adjusted somehow? As I measured, this bottom margin is exactly
>  14mm which is just too much for me ;) I tried to 'grep dupMargins'
>  from several files but didn't find it. I thought this is a
>  ghostscript option but it seems to be ignored when I add it to
>  /etc/apsfilter/apsfilterrc.
> 
>  Any help appreciated.
> 
> -- 
>  Teemu

Apsfilter 1.6.2.1 seems very old.
But I think there must be apsfilterrc.<printer> files containing such lines:
#  GS_FEATURES=
#  PRELOADS=

Change them to either
#  GS_FEATURES=
  PRELOADS="margins.ps"
or
  GS_FEATURES='-dMargins="{<xoffs> <yoffs>}"'
#  PRELOADS=

Where margins.ps is a file in /var/lib/apsfilter/preloads/ you'll have to adapt for your purposes.

HTH
Kind regards

	Carsten