Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: FrancisT on May 11, 2008, 01:54:20 AM

Title: Unable to print from Server 7.3
Post by: FrancisT on May 11, 2008, 01:54:20 AM
I am attempting to print the flexbackup log each morning using cron.

In Printers I have set up the printer:
xerox     Xerox PE220     lp0     N/A     N/A     Remove

From a putty session:
[root@ibmeserver ~]# gunzip -c /var/log/flexbackup/all.latest.gz | lp -d xerox

I get the following errot:
lp: unable to print file: server-error-service-unavailable

How can I make lp available? or should I be going about this using a different method.

Thanks,
Francis
Title: Re: Unable to print from Server 7.3
Post by: cactus on May 11, 2008, 01:50:44 PM
I get the following errot:
lp: unable to print file: server-error-service-unavailable

How can I make lp available? or should I be going about this using a different method.
This does not mean lp is unavailable, it means that lp is unable to execute your request. What is the output of :

Code: [Select]
lpstat -t
and

Code: [Select]
lpstat -l
and

Code: [Select]
lpstat -c
Title: Re: Unable to print from Server 7.3
Post by: FrancisT on May 24, 2008, 10:53:32 AM
Sorry for the delay.

lpstat -t
lpstat: Unable to connect to server: Connection refused

lpstat -l
lpstat: Unable to connect to server: Connection refused

lpstat -c
lpstat: Unable to connect to server: Connection refused

I am having a hernia operation on Monday, so will not be able to get back to this until later in the week.  Should have plenty of time then..
Title: Re: Unable to print from Server 7.3
Post by: Stefano on May 24, 2008, 06:11:33 PM

I am having a hernia operation on Monday

gook luck for you operation :-)

Stefano