[Samba] None

root root at wuyw.netstd.com
Wed Mar 19 04:06:27 GMT 2003


Content-Type: text/plain;
  charset="us-ascii"
From: Wu Yongwei <adah at pku.edu>
To: samba at samba.org
Subject: Problem accessing Windows printer from Linux side
Date: Wed, 19 Mar 2003 12:06:26 +0800
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303191205.16578.adah at pku.edu>

I am using Red Hat 8.0 with KDE, and I have installed samba-common and=20
samba-client packages, version 2.2.7-4.8.0. The Windows server is a Windo=
ws=20
2000 Server with a HP LaserJet 4500. I can use "smbclient -L //server -U=20
user" to view the shares. After setting up in the Red Hat Printer Config,=
 now=20
I can see the status of the printer is "Idle (accepting jobs)" in the Pri=
nt=20
dialog, but whenever I print, nothing occurs. Checking=20
/var/spool/lpd/LaserJet4500/status.pr I found the folowing lines:

IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: postscript job=20
line1=3D>%!PS-Adobe-3.0' at 2003-03-19-10:45:41.787 ## A=3Droot at wuyw+671=20
number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '<' at 2003-03-19-10:45:41.787 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: prepended:' at=20
2003-03-19-10:45:41.789 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '<</PageSize[612 792]/ImagingBBox=20
null>>setpagedevice' at 2003-03-19-10:45:41.789 ## A=3Droot at wuyw+671 numb=
er=3D671=20
process=3D1743
IF filter 'mf_wrapper' filter msg - 'gs  PID pid2=3D1765' at=20
2003-03-19-10:45:41.793 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at=20
2003-03-19-10:45:41.807 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'closed *main::KID3' at=20
2003-03-19-10:45:41.807 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT at=20
/usr/sbin/lpdomatic line 812, <KID4_IN> line 586.' at 2003-03-19-10:45:41=
=2E823=20
## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'KID3 finished' at 2003-03-19-10:45:4=
1.831=20
## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'Main process finished' at=20
2003-03-19-10:45:41.838 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter finished at 2003-03-19-10:45:41.861 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
printing finished at 2003-03-19-10:45:41.862 ## A=3Droot at wuyw+671 number=3D=
671=20
process=3D1743
LP filter msg - 'cat: write error: Broken pipe' at 2003-03-19-10:45:41.86=
2 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
waiting for printer filter to exit at 2003-03-19-10:45:41.863 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
accounting at end at 2003-03-19-10:45:41.863 ## A=3Droot at wuyw+671 number=3D=
671=20
process=3D1743
finished 'root at wuyw+671', status 'JFAIL' at 2003-03-19-10:45:41.863 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
subserver pid 1743 exit status 'JFAIL' at 2003-03-19-10:45:41.864 ## A=3D=
<NULL>=20
number=3D0 process=3D1679
job 'root at wuyw+671', attempt 3, allowed 3 at 2003-03-19-10:45:41.865 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1679
send_failure_action 'JREMOVE' at 2003-03-19-10:45:41.865 ## A=3Droot at wuyw=
+671=20
number=3D671 process=3D1679
job 'root at wuyw+671', removing job - status JREMOVE at 2003-03-19-10:45:41=
=2E865=20
## A=3Droot at wuyw+671 number=3D671 process=3D1679
keeping error job 'root at wuyw+671' at 2003-03-19-10:45:41.866 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1679
[root at wuyw LaserJet4500]# cat status.pr
IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: postscript job=20
line1=3D>%!PS-Adobe-3.0' at 2003-03-19-10:45:41.787 ## A=3Droot at wuyw+671=20
number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '<' at 2003-03-19-10:45:41.787 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: prepended:' at=20
2003-03-19-10:45:41.789 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - '<</PageSize[612 792]/ImagingBBox=20
null>>setpagedevice' at 2003-03-19-10:45:41.789 ## A=3Droot at wuyw+671 numb=
er=3D671=20
process=3D1743
IF filter 'mf_wrapper' filter msg - 'gs  PID pid2=3D1765' at=20
2003-03-19-10:45:41.793 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at=20
2003-03-19-10:45:41.807 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'closed *main::KID3' at=20
2003-03-19-10:45:41.807 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT at=20
/usr/sbin/lpdomatic line 812, <KID4_IN> line 586.' at 2003-03-19-10:45:41=
=2E823=20
## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'KID3 finished' at 2003-03-19-10:45:4=
1.831=20
## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter msg - 'Main process finished' at=20
2003-03-19-10:45:41.838 ## A=3Droot at wuyw+671 number=3D671 process=3D1743
IF filter 'mf_wrapper' filter finished at 2003-03-19-10:45:41.861 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
printing finished at 2003-03-19-10:45:41.862 ## A=3Droot at wuyw+671 number=3D=
671=20
process=3D1743
LP filter msg - 'cat: write error: Broken pipe' at 2003-03-19-10:45:41.86=
2 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
waiting for printer filter to exit at 2003-03-19-10:45:41.863 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
accounting at end at 2003-03-19-10:45:41.863 ## A=3Droot at wuyw+671 number=3D=
671=20
process=3D1743
finished 'root at wuyw+671', status 'JFAIL' at 2003-03-19-10:45:41.863 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1743
subserver pid 1743 exit status 'JFAIL' at 2003-03-19-10:45:41.864 ## A=3D=
<NULL>=20
number=3D0 process=3D1679
job 'root at wuyw+671', attempt 3, allowed 3 at 2003-03-19-10:45:41.865 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1679
send_failure_action 'JREMOVE' at 2003-03-19-10:45:41.865 ## A=3Droot at wuyw=
+671=20
number=3D671 process=3D1679
job 'root at wuyw+671', removing job - status JREMOVE at 2003-03-19-10:45:41=
=2E865=20
## A=3Droot at wuyw+671 number=3D671 process=3D1679
keeping error job 'root at wuyw+671' at 2003-03-19-10:45:41.866 ##=20
A=3Droot at wuyw+671 number=3D671 process=3D1679

What can be the problems? I tried searching in the documentation, but fou=
nd=20
little information on accessing Windows printer from Linux side.

Thanks in advance.

Best regards,

Wu Yongwei


More information about the samba mailing list