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

Re: lpr command not found



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,
>>
>
> lpr is the name of the package.
>
> If a progam is installed, you can use:
>
> dpkg -S <program_name>
>
> to find the package name. If it is not installed you can use:
>
> apt-cache search <program_name>
>
> Depending on your setup you may want to look up lp as well.
>
> Keith Ostertag
>


Reply to: