Koozali.org: home of the SME Server

Unable to print from Server 7.3

Offline FrancisT

  • **
  • 23
  • +0/-0
Unable to print from Server 7.3
« 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
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Unable to print from Server 7.3
« Reply #1 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
« Last Edit: May 11, 2008, 01:59:03 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline FrancisT

  • **
  • 23
  • +0/-0
Re: Unable to print from Server 7.3
« Reply #2 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..
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Unable to print from Server 7.3
« Reply #3 on: May 24, 2008, 06:11:33 PM »

I am having a hernia operation on Monday

gook luck for you operation :-)

Stefano