Printing jobs
Ed Greshko
Ed.Greshko at greshko.com
Sun Mar 31 05:32:58 UTC 2013
On 03/31/13 12:38, Richard Vickery wrote:
>
>
>
> On Sat, Mar 30, 2013 at 8:20 PM, Ed Greshko <Ed.Greshko at greshko.com <mailto:Ed.Greshko at greshko.com>> wrote:
>
> On 03/31/13 10:46, Richard Vickery wrote:
> >
> >
> > $ rpm -qa | grep ^hp
> > hplip-libs-3.13.2-1.fc18.x86_64
> > hplip-gui-3.13.2-1.fc18.x86_64
> > hplip-3.13.2-1.fc18.x86_64
> > hplip-common-3.13.2-1.fc18.x86_64
> > hpijs-3.13.2-1.fc18.x86_64
>
> OK.....
>
> >
> > $ lpstat -a
> > HP_LaserJet_P1005 accepting requests since Sat 30 Mar 2013 05:47:46 PM PDT
>
> So, the printer is defined. Earlier you noted....
>
> $: lpr March*
> lpr: Error - no default destination available.
>
> Since you don't have a default set, you should be able to print with....
>
> lpr -P HP_LaserJet_P1005 file_to_print
>
>
> >
> > $ grep /var/lib/hp /etc/selinux/targeted/contexts/files/file_contexts
> > /var/lib/hp(/.*)?system_u:object_r:hplip_var_lib_t:s0
>
> That is very odd. All of my systems have...
>
>
> I suppose it's that I use hplip rather than cups?
No. The file /etc/selinux/targeted/contexts/files/file_contexts is provided by selinux-policy-targeted. cups and hplip are not mutually exclusive.
I just checked and earlier versions of the policy did have hplip_var_lib....
So....
yum update selinux-policy-targeted
Should correct that problem....
Can you print with lpr using either -P or setting the default?
--
>From now on, at least during winter time, Im going to blame all spelling an grammar erros on the cat sitting on my chest every time I sit down at the computer....
More information about the users
mailing list