tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Sheryl A. Campbell" <campbell () lvc ! edu>
To: tru64-unix-managers
Subject: Q:  Changing /etc/printcap for left margin
Date: Fri, 15 Aug 1997 15:34:27 +0000	[thread overview]
Message-ID: <96078615810446.tru64-unix-managers.marc@archive.invalid> (raw)

Hi all!

What a silly, silly question I have. (An easy one to make everyone feel good
on a Friday.) 

We are printing out a whole bunch of reports from our database, and are
unable to adjust the left margin in the database (gotta love the db
manager!). So ... we thought we'd add a printcap entry with a filter to
indent printing by default on this printer. According to the man pages, it
looks as simple as adding a filter entry, or changing our current landscaped
one, which looks like the following:

#! /bin/csh -f
#  LVC's landscaped filter
#
/bin/cat /usr/local/landscaped.string - /usr/local/reset.string |lpr -Pspareq

All we thought we'd have to do is add -i(# to indent) to the lpr command.
So, I added -i10 and it made the print-out closer to the edge than it had
been. Easy, I thought ... it's working, but I didn't include enough spaces.
So, to be safe, put in -i50. This printed in the exact same spot -i10 did!
(Which is still closer to the edge than regular printing.)

What gives? Any super-sleuth have a suggestion for me? Thanks so much!

Regards,

        Sheryl

% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
%  Sheryl A. Campbell                     Internet: campbell@lvc.edu  %
%  Assistant Director                        Voice:    (717)867-6060  %
%  Administrative Computing                    FAX:    (717)867-6019  %
%                                                                     %
%            L E B A N O N    V A L L E Y    C O L L E G E            %
%                                                                     %
% DEC Unix 3.2d-1, Coll: Live 13.11, Dev 14.4, Ben: Live 4.3, Dev 4.3 %
%                                                                     %
%                    Visit my Personal Web Page at                    %
%       http://www.geocities.com/Heartland/Plains/4407/index.html     %
%                                                                     %
%                Never underestimate the power of a smile!            %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %

             reply	other threads:[~1997-08-15 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-15 15:34 Sheryl A. Campbell [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-08-18 14:10 Q: Changing /etc/printcap for left margin Sheryl A. Campbell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox