we set printers up using jetadmin. The users print letters etc in portrait to eg. printer1. Some of them want to print landscape to printer1. Any ideas on what the best thing to do is?. Any files to edit etc?. Basic steps please
Sorry, don't know Jetadmin, but vouldn't you set up a copy of the portrait printer ad change it to print landsacpe by default, calling it something like <printer>_ls or whatever? Others who use Jetadmin will probably be along soon to debunk this!!
Another approach is to create an alias like "lpf" that will direct the printout through a filter. The filter will send the landscape command to the printer prior to sending a print data. If interested, I'll find the filter we use and post it here.
Gonko...
Took me a while to prove this works. I am attaching 2 scripts. The first script is the landscape filter for text file (non-postscript). The second script (what I call mylp) inputs the text file name. Example: mylp myfile.txt.
I hope is help.
************************************************************
landfilter:
#!/bin/csh -f
# Please do not remove the above line. Needed to run this script file
# as a c-shell script and not a bourne shell script if executed from
# a system call in c.
#
# This script is used to print to a laser printer.
#
#
(echo "^[&l1O^[(s13H^[&l5.0C^[&k7.0H"; cat $*;echo "^[E")
************************************************************
mylp:
#!/bin/csh -f
# Please do not remove the above line. Needed to run this script file
# as a c-shell script and not a bourne shell script if executed from
# a system call in c.
#
# This script is used to print to a laser printer.
#
Have you user place them in their own bin directory. Make sure this directory is in the environment variable "PATH".
Also make sure these scripts are executables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.