The original problem was, when using Printtool to set up my
HP non-PostScript printer, a Printtool PostScript test page
was not aligned properly.  The solution is to add the following
line at the bottom of the "gs_init.ps" file (found in the /usr/share/ghostscript/5.10
directory tree):

72    x     mul    72    y    mul    translate

where x and y are the offsets (in inches) to correct the misalignment. Remember
the origin of the page is at the lower-left corner, so if, say, the page is 0.1" too
low and 0.2 inches too far to the right, you would enter:

72    -0.2   mul   72   0.1   mul   translate

Tom Browder

P.S.  For Linda and Paul:  If you don't use PostScript files, what do you print
on you Linux box?
-----Original Message-----
From: Paul M. Foster <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, November 15, 1999 5:35 PM
Subject: Re: Printer Adjustments


>
>
>On Mon, 15 Nov 1999, Tom Browder wrote:
>
>> I have an HP non-PostScript printer setup by Printtool (RH 6.0).
>> 
>> Anything sent to it has the page offset vertically by 1/2 inch.
>> 
>> How can I fix my system so the offset is fixed?
>> 
>
>This is a hack that I found out the hard way, and works for RH6.1, and for
>straight text files only. Go to /var/spool/lpd/lp/textonly.cfg. There
>should be a line in there like: TEXTONLYOPTIONS= . Find out (for your
>given printer) what the command is for changing the top margin to what you
>want, and put that in quotes after TEXTONLYOPTIONS=. (This string should
>be formatted like a C printf format string.) This will act like a setup
>string that will hit your printer every time you send something. Also note
>that inkjets and lasers have a certain set margin in which they can't
>print, regardless of what command you give them.
>
>Wish I could be more help, but I don't know what version of PCL your
>printer uses, etc.
>
>Paul M. Foster
>
>
>-- 
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>
>



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to