[1403] in RedHat Linux List

home help back first fref pref prev next nref lref last post

printing problems

daemon@ATHENA.MIT.EDU (Sheldon E. Newhouse)
Mon Oct 28 10:15:14 1996

Date: Mon, 28 Oct 1996 10:11:42 -0500
From: "Sheldon E. Newhouse" <sen1@math.msu.edu>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I finally decided to install printing with RH 3.0.3. It doesn't work.
 My /etc/printcap file is the following.

# /etc/printcap
#
# Please don't edit this file directly unless you know what you are
doing!
# Be warned that the control-panel printtool requires a very strict
format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.

##PRINTTOOL## LOCAL laserjet 300x300 letter {}
lp:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :lp=/dev/lp0:\
        :if=/var/spool/lpd/lp/filter:

I have an HP Laserjet Series II printer on LPT1:

The filter file is the following. 

#!/bin/sh

DEVICE=laserjet
RESOLUTION=300x300
PAPERSIZE=letter
SENDEOF=

nenscript -TUS -ZB -p- |
if [ "$DEVICE" = "PostScript" ]; then
        cat -
else
        gs -q -sDEVICE=$DEVICE \
                -r$RESOLUTION \
                -sPAPERSIZE=$PAPERSIZE \
                -dNOPAUSE \
                -dSAFER \
                -sOutputFile=- -
fi

if [ "$SENDEOF" != "" ]; then
        printf "\004"
fi

exit 0

When I try to print, the file gets into the spool directory OK, but I
get the message 

  waiting for lp to become ready (offline ?)

I don't understand. The printer works fine under Windows 95.

Any ideas?

TIA,
 -sen

 ---------------------------------------------------------------------------
 | Sheldon E. Newhouse            |    e-mail: sen1@math.msu.edu           |
 | Mathematics Department         |       				   |
 | Michigan State University      | telephone: 517-355-9684                |
 | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
 ---------------------------------------------------------------------------



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post