1834038 Members
2427 Online
110063 Solutions
New Discussion

can't print

 
Tarek
Super Advisor

can't print

Hi..
i'm using a program and i want to print..
i'm not able to print to any printer installed on the ws..i'm having this error:
The LP print service could not read your request file. See if the spooling file system is full.
What do i have to check?? I only want to know if it's a ws problem or a program problem??
Thanks
8 REPLIES 8
Bill McNAMARA_1
Honored Contributor

Re: can't print

I'd suggest making sure the scheduler is running and tasks are recognised by:
lpstat -t
then have a look around to make sure /var/adm/spool is not too small or full.

Later,
Bill

It works for me (tm)
Robin Wakefield
Honored Contributor

Re: can't print

Also check the permissions on your lp* commands. They should be :

-r-sr-xr-x 1 root bin /usr/bin/lp
-r-xr-xr-x 1 bin bin /usr/bin/lpr
-r-sr-xr-x 1 lp bin /usr/bin/lpstat
-r-sr-xr-x 1 root bin /usr/sbin/lpadmin
-r-sr-xr-x 1 lp bin /usr/sbin/lpfence
-r-sr-xr-x 1 lp bin /usr/sbin/lpmove
-r-sr-xr-x 1 root bin /usr/sbin/lpsched
-r-sr-xr-x 1 lp bin /usr/sbin/lpshut

Robin
Tarek
Super Advisor

Re: can't print

The scheduler is running. The /var/adm/spool doesn't exist. The permissions are Ok.
Any more suggestion??
Thanks in advance.
Bill McNAMARA_1
Honored Contributor

Re: can't print

Sorry the /var/adm/spool directory I mentioned is /var/spool/lp/

On a system that works perhaps you could verify that. It's the location the data is send to before it goes off to the printer.

Later,
Bill
It works for me (tm)
Tarek
Super Advisor

Re: can't print

The /var/spool/lp contains many directories. If i enter in request there are the names of the printers and inside there isn't any request. How can i control that if i try to print to any printer, the ws spool is forwarding the request?
Shahul
Esteemed Contributor

Re: can't print


Hi

First U check up by using lpstat command

#lpstat -t

It will give the detailed about the configured printers, and it will show the pending jobs. If a number pending jobs are there please issue this command.

#cancel -e

If ur scheduler is not running issue these

#lpshut
#lpsched
#enable "printer name"
#accept "printer name"

I hope this will help U

Shahul
Bill McNAMARA_1
Honored Contributor

Re: can't print

Can we just verify that the program doing the printing is not the one responsible.
try
# ioscan -fnk | lp -onb -olandscape
you shoudl get a job number and the printer destination,
then
# lpstat -t
from command line

I found this on the web through a search here that may or may not be related:
http://www.hppro.com/pages/article.asp?ArticleID=1589

Later,
bill
It works for me (tm)
Tarek
Super Advisor

Re: can't print

Thanks to all. I did every check you told me, and i think that my ws is ok and that the problem is related to the program used.
Regards to all and thanks again.
Tarek