tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Rainer Wolf <Rainer.Wolf () rz ! uni-ulm ! de>
To: tru64-unix-managers
Subject: [SUMMARY partial] : LPS 5 Problem
Date: Tue, 01 Jul 1997 12:36:22 +0000	[thread overview]
Message-ID: <96078614710146.tru64-unix-managers.marc@archive.invalid> (raw)



Setting up different Queues like on VMS is not possible, unfortunately
I got no response.
My workaround was to set up several queues by doing the print
client setup a few times.
I modified the default banner sheet file
    /var/spool/LPS/lib/bannerPage.psh
which is ok for duplex/a4 (big input tray default)

to files like
/var/spool/LPS/lib/bannerPage_folie.psh
/var/spool/LPS/lib/bannerPage_oneside.psh
/var/spool/LPS/lib/bannerPage_top.psh
/var/spool/LPS/lib/bannerPage_top_oneside.psh
and changed the equivalent field of the print client
                    9) Banner sheet file: xxxxx

the end of the default bannerpage looks like:

bash-2.01# tail bannerPage.psh
  %
  % Output the imaged page and force the banner sheet out
  % (in case the printer is set to duplex mode by default).
  %
  showpage
  statusdict begin newsheet end
} def

--------------------------------------------------------------------

So i modified the end
to
bash-2.01# diff bannerPage.psh bannerPage_oneside.psh
<   statusdict begin newsheet end
>   statusdict begin newsheet false setduplexmode end

.... for one sided printjobs (assuming the file itself has no duplex enabled)
--------------------------------------------------------------------
to
bash-2.01# diff /var/spool/LPS/lib/bannerPage.psh
/var/spool/LPS/lib/bannerPage_folie.psh
<   statusdict begin newsheet end
> statusdict begin newsheet false setduplexmode 2 setoutputtray 1 setpapertray
end


... to get transparencies come on the left side of the LPS32 and get the
    input from the upper paper tray
    The side effect is that those won't come unattended
     You must be quick to get out the transparencies as they are coming
   for they are very hot.
-----------------------------------------------------------------------------
The problem I still have is to replace the input / output filter
by some filter scripts which would call lpsif /lpsof at the end but
should do some file - conversion before ... or should  take lpd ?


Maybe this helps someone
Rainer

                 reply	other threads:[~1997-07-01 12:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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