Technical article 103597

Using standard interface script; stop extra formfeed and banner.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

When printing with the standard interface script an extra formfeed is coming out between files and I want to stop the banner from printing.

Solution

To stop the formfeed between files:
1. cd /usr/spool/lp/admins/lp/interfaces
2. vi "printername"  - where printername is the name of the
                          printer you created when you added it.
3. /FORMFEED      (this will get you close to the area you
                   need to edit)  This is a 'vi' function
                   to locate the word 'FORMFEED'
IT WILL READ: Set FORMFEED to be a pipeline that will
              simulate a formfeed if you don't have a real
              formfeed and want filebreaks.

4. Comment out the lines that read:

if [ -z "${FF}" -a "no" = "${nofilebreak}" -a -n "${LPPAGER}" ]
then
         FORMFEED="${LPPAGER}" ${length}"
fi
----------------------------------------------------------------------
To stop the banner:
The 'standard' interface script uses the variable: nobanner
1. Locate the variable 'nobanner'.  It will read: nobanner="no"

2. Change the word, "no" to "yes" and save the file.

From the Xinuos technical article database, record 103597. Reproduced with permission. The original is at www.sco.com/ta/103597, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.