Technical article 105314

When printing from scosh, "no or empty file" occurs and it doesn't print.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

When printing from the scosh, the following message appears on the screen:

no or empty file

This occurs when printing from the calendar or e-mail.

Cause

Scosh uses the oaprint shell script to send out a print job. This shell script calls the oafprint binary to do the formatting. oafprint needs information from the pcap files. If these files do not exist, or are corrupted, this error can occur.

Solution

Restore /usr/lib/sco/pcap/* files from a backup or from the
original media using customextract(C).  If restoring from a
backup, re-establish the links by going into Software Manager.
Select "Verify Software" from the Software menu, and then select
"Broken/missing symbolic links".

From the Xinuos technical article database, record 105314. Reproduced with permission. The original is at www.sco.com/ta/105314, 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.