Technical article 105612

nobanner option doesn't work for an Autologic APS-5 printer.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

The "nobanner" option to the lp command does not work when printing to an Autologic APS-5 phototypesetter.

Cause

There is an error in the printer interface script for this printer.

Solution

This problem will be addressed in a future release of SCO OpenServer 5.

Currently, to resolve this problem, make a simple change to the
interface script.  If your printer is already configured on the
system, the script is located at:
/usr/spool/lp/admins/lp/interfaces/<printer name>

where <printer name> is the name you have assigned to the printer.

If the printer is not configured on the system, the script is located at:

/usr/spool/lp/model/ph.daps

Find the lines in the file that read:

case $options in
        nobanner )
                banner="no"
                ;;
        * )
                ;;
esac

and surround these lines with a "for" loop so that the lines now read:

for i in ${options}
do
  case "{$i}" in
          nobanner )
                  banner="no"
                  ;;
          * )
                  ;;
  esac
done
The "nobanner" option should now work.
NOTE:     Editing the file /usr/spool/lp/model/ph.daps will result in an
          ignorable error when performing a "Software Verify" operation
          through the Software Manager, if the software verified involves
          the UNIX component of SCO OpenServer 5.

From the Xinuos technical article database, record 105612. Reproduced with permission. The original is at www.sco.com/ta/105612, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.