Re: lpr error messages

From: Adam Smith (adam_at_internode.com.au)
Date: 09/30/04

  • Next message: Eric Crist: "Re: lpr error messages"
    Date: Thu, 30 Sep 2004 11:58:11 +0930
    To: Gary Schenk <gwschenk@socal.rr.com>
    
    

    On Wed, Sep 29, 2004 at 07:21:16PM -0700, Gary Schenk said:
    > I cannot print from either X or the command line. It was working
    > fine until a few hours ago. Any suggestions on where to start
    > on this would be much appreciated.

    LPR is a binary and so the output here is unexpected (as they look more
    like script errors).

    > bash-2.05b$ lpr test.txt
    > /usr/bin/lpr: line 12: */5: No such file or directory
    > /usr/bin/lpr: line 15: 0: command not found
    > /usr/bin/lpr: line 18: 1: command not found
    > /usr/bin/lpr: line 19: 15: command not found
    > /usr/bin/lpr: line 20: 30: command not found
    > /usr/bin/lpr: line 25: 1,31: command not found
    > /usr/bin/lpr: line 28: 1: command not found

    > I'm thinking that /usr/bin/lpr must be corrupted. I'm not
    > sure how to go about testing that theory, or what to do
    > if that is the case. I've searched the list archives and
    > googled to no avail.

    If you want to reinstall the lpr binary, you can either go through a make
    installworld process or install the binary on it's own by going into
    /usr/src/usr/sbin/lpr and doing a 'make install'. That will recompile and
    reinstall lpr.

    -- 
    Adam Smith
    Internode	: http://www.internode.on.net
    Phone		: (08) 8228 2999
    Dog for sale: Eats lots and is fond of children.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Eric Crist: "Re: lpr error messages"

    Relevant Pages

    • Re: lpr error messages
      ... I've searched the list archives and ... > If you want to reinstall the lpr binary, you can either go through a make ... > installworld process or install the binary on it's own by going into ... > reinstall lpr. ...
      (freebsd-questions)
    • Re: Printing in Linux
      ... Years ago, one would install 'lpr', set up some print filters and be ... Is it possible to do it with plain old LPR, or, better yet, just dump ... I set User to root, User to lp, Group to root, Group to 'lp'. ... In modern Linux varients one ...
      (comp.os.linux)
    • Re: Newb
      ... You might try looking through the list archives for terms ... fresh 'clean' install at the baseline of the FCx number each release ... I'm new to linux and can't seem to find a real beginners ...
      (Fedora)
    • Re: kernel-source
      ... >> with the ISOs, or searching the list archives, or spend a few ... > I did in fact install the .src rpm and found all of the patches. ... > searched the Red Hat website for a howto on patching the kernel source ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: LPGETSTATUS returned a port status of 18... --- Can anyone decipher this?
      ... Since this was the only message I found about Samsung SCX-4100 and I ... Since my distro is not rpm based the install programm cursed a few ... reload parport module or restart your system. ... Firefox uses lpr and for some reason Samsung's replacement didn't ...
      (Debian-User)