hi,

there is a printcap option similar to the lpr -Z option:

change 
:filter=/usr/libexec/filters/ifhp:\

to
:filter=/usr/libexec/filters/ifhp -Tlandscape:\

this will giv the landscape option to the filter...

regars
                ~christoph




Paul Pompetti schrieb:
> 
> I've got text print jobs coming from a IBM mainframe
> to Redhat Linux 7.0 box that I want to print in
> landscape mode, 132 columns, 66 rows.
> 
> Installed on the box are LPRng 3.7.4 and ifhp 3.4.4,
> as well as a2ps, ghostscript etc.  Most of the
> printers on the network are various HP Laserjets with
> JetDirect cards installed.
> 
> What I'm trying to do and haven't been able to figure
> out is how to filter the job or put lines into the
> printcap to take the incoming text file and print it
> landscape, 132 columns, 66 rows.  I tried putting
> append_z=landscape into the printcap and got landscape
> output put can't figure out how to get the 132
> columns.
> 
> I also tried editing the /etc/ifhp.conf file to change
> the a2ps options but had no luck with that.  Here is
> the printcap entry that I'm using right now for one of
> the printers:
> 
> laser3|Printer1 auto:\
>         :rm=laser3.ssd.ray.com:\
>         :rp=raw:\
>         :ifhp=model=hp5simx:\
>         :filter=/usr/libexec/filters/ifhp:\
>         :sd=/var/spool/lpd/imslaser3:\
>         :lf=/var/spool/lpd/imslaser3/log:\
>         :af=/var/spool/lpd/imslaser3/acct:\
>         :mx#0:
> 
> What I'd really like is 2 printcap entries for each
> printer. 1 entry like the above that is normal and the
> user can give all the options on the command line.
> The other entry would be where the user just sends the
> file from the IBM mainframe and the printcap entry
> handles putting the file in landscape.  Can anyone
> help?
> 
> Thanks,
> 
> Paul Pompetti
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
> 
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
> 
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> 
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------

-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\ 
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to