1755383 Members
3874 Online
807 Solutions
New Discussion юеВ

Samba Printing Problem

 
ng_7
Regular Advisor

Samba Printing Problem

Dear Expert,

I have a Seikosha seiko Precision BP9000 attached to win 2000 pc. We want to set up this printer so that we can print from HP Unix 11i. Please refer to the attached Steps. I have completed the step, but printing still fail eventhough the printer already enable and accept printing. The error that I getting in root is as below :

├в From root@tamcoapp.tamco.com.my Thu Aug 23 17:45:09 mal 2007
Received: (from lp@localhost)
by tamcoapp.tamco.com.my (8.9.3/8.9.3) id RAA17009
for root; Thu, 23 Aug 2007 17:45:09 +0800 (mal)
Date: Thu, 23 Aug 2007 17:45:09 +0800 (mal)
From: root@tamcoapp.tamco.com.my
Message-Id: <200708230945.RAA17009@tamcoapp.tamco.com.my>
X-Authentication-Warning: tamcoapp.tamco.com.my: lp set sender to root using -f
To: root@tamcoapp.tamco.com.my

error code 127 in request famprt-24 on printer famprt├в

I have successfully install on Win 98 and Win XP using the same printer and same steps.
Please advise me why install to win 2000 have this problem.

thanks

Regards
ng
4 REPLIES 4
skt_skt
Honored Contributor

Re: Samba Printing Problem

have u successfully configured the printer on win2000 side?

what do u see from the following commands after a giving a test print form unix

lpstat -vUNIXQNAME
lpstat -oUNIXQNAME
lpstat -pUNIXQNAME
Joelmel Roche
Valued Contributor

Re: Samba Printing Problem

Hi Ng,

The path which contains the error listings for printers:
/usr/include/sys/errno.h

Errno 127 does not exist in this file.

The lpspooler is just passing back a posix shell code.

127 means "not found"

There is most likely a problem with a missing file, missing directory, or an
incorrect filename.

Turn on lpspooler verbose mode with "lpshut" then "lpsched -v" and try the
print request to see what is logged.

To return the lpspooler to normal, "lpshut" then "lpsched"

The log file is /var/spool/lp/log.

Details of the problem may be found in the log file.
ng_7
Regular Advisor

Re: Samba Printing Problem

after giving a test print (stprd.sh) from unix

app:/var/mail# lpstat -pfamprt
printer famprt disabled since Aug 24 13:47 -
disabled by scheduler: ERROR: Printer interface script returned non-zero exit status.
fence priority : 0


app:/var/mail# lpstat -vfamprt
device for famprt: /dev/null


app:/var/mail# lpstat -ofamprt
famprt-244 root priority 0 Aug 24 13:47
stprd.sh 218 bytes

"Turn on lpspooler verbose mode with "lpshut" then "lpsched -v" and try the
print request to see what is logged."

the log file in /var/spool/lp/log.

***** LP LOG: Aug 24 13:46 *****
FIFO: Aug 24 13:47 r famprt 244 root tamcoapp 0
famprt-244 root famprt Aug 24 13:47
FIFO: Aug 24 13:47 d famprt
CHILD: Aug 24 13:47 famprt 244 0100
~


thanks



skt_skt
Honored Contributor

Re: Samba Printing Problem

your outputs shows the priner is disaabled. what happend if you enbale and try?

Lpstat -v hows printer is configured as a network printer; Try configuring as a remote printer..