SuSE GmbH

SuSE Support Database

Title: Trouble when printing more than one ASCII file

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Trouble when printing more than one ASCII file

Applies to

SuSE Linux: Version 5.2, 1st Edition

Symptom:

When calling

   lpr file1 file2 ...
nothing is printed.

Cause:

The program lpr sends lpd one print job with two or more ASCII files. The filter script apsfilter tries to determine the name of the corresponding file, which doesn't work with one print job.

Solution:

Insert a head -1 in /var/lib/apsfilter/filter/data in line 204 :

    [ -z "$NAME" ]   &&   NAME=`grep -E '^N' ${CF} | tail +2c`
then becomes
    [ -z "$NAME" ]   &&   NAME=`grep -E '^N' ${CF} | head -1 | tail +2c`

You can also simply install ftp://ftp.suse.com/pub/suse_update/special/Ghostscript/aps-1.2.SuSE-1.i386.rpm as a replacement.

Hint :

If you want to see the corresponding names for the files, you should use the package plp instead of lprold. However please make sure that your network is set up correctly, even if you have no or not a permanent network.connection.

----------

Keywords: APSFILTER, APS, LPR, ASCII

----------

Categories: Printer

----------

Feedback welcome: Send Mail to feedback@suse.de (Please give the following subject: SDB-aps_bug2)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-aps_bug2, Copyright SuSE GmbH, Nuremberg, Germany - Version: 03. Apr 1998
SuSE GmbH - Last generated: 07. Oct 1999 16:32:45 by maddin with sdb_gen 1.00.0