[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lpr command not found



On 02/01/2012 11:39 PM, lina wrote:
Thanks,

Before I thought it's some hidden command in some package, did not
realize I should use aptitude show or dpkg -S or apt-cache search.
(actually I was not addicted to use those ways,  I used to go to
debian webpage and looking for package.)

well, I have a derived problem, after installing lpr,

$ lpr ProbSet_2.pdf
lpr: lp: unknown printer

$ lpstat
HP-LaserJet-P4015-225   lina            156672   Thursday
02,February,2012 11:35:38 AM SGT

lp ProbSet_2.pdf
request id is HP-LaserJet-P4015-226 (1 file(s))

I don't know what's going on.

thanks,


On Thu, Feb 2, 2012 at 12:27 PM,<keitho@strucktower.com>  wrote:
Hi,

which package contains the lpr command for printing.

Thanks,


I seem to recall from one of your posts that you are using cups.  If
you installed the cups-bsd package, then lpr is already installed.

The lpr package conflicts with the cups-bsd package

$apt-cache show cups-bsd
Package: cups-bsd
Source: cups
Version: 1.5.0-16
Installed-Size: 154
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Architecture: amd64
Replaces: lpr
Provides: lpr
Depends: libc6 (>= 2.4), libcups2 (>= 1.4.0), debconf (>= 0.5) | debconf-2.0, cups-client (= 1.5.0-16), update-inetd, cups-common
Suggests: cups
Conflicts: lpr, lprng
Description-en: Common UNIX Printing System(tm) - BSD commands
 The Common UNIX Printing System (or CUPS(tm)) is a printing system and
 general replacement for lpr, lpd and the like.  It supports the
 Internet Printing Protocol (IPP), and has its own filtering driver
 model for handling various document types.
 .
 This package provides the BSD commands for interacting with CUPS.  It
 is provided separately to allow CUPS to coexist with other printing
 systems (to a small degree).


Reply to: