Re: [Cooker] CUPS 1.1.3

2000-09-21 Thread Moshe Vainer

Oops, time to eat my hat again...

It seems that latest samba packages from Mandrake do include smbspool, only they 
include it
in samba- and not in samba-client..

My new problem with cups seems to be that hackkernel has a very strange version of 
smbfs,
that
refuses to connect with smbspool by smb://username:password@servername/share
but rather demands smbclient or smbprint with '-I serverip'

Anyone familiar with this problem?


Moshe Vainer wrote:

 My mistake, i was talking all the time about smbspool, which is not included in 
mandrake.

 Too bad, since it is the only way to print from cups to smb printers...

 From the cups manual:

 quote
 Printing to Windows Servers

 CUPS can print to Windows servers in one of two ways. The first way uses the LPD 
protocol
 on the CUPS system and the "TCP/IP Printing Services" on the Windows
 system. You can find out more about this configuration in the LPD section earlier in 
this
 chapter.

 The second way is through the Microsoft Server Message Block ("SMB") protocol. 
Support for
 this protocol is provided with the free SAMBA software package. You can
 download SAMBA from:

   http://www.samba.org

 To configure CUPS for SAMBA, run the following command:

   ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER

 The smbspool(1) program is provided with SAMBA starting with SAMBA 2.0.6. Once you 
have
 made the link you can configure your printers with one of the following
 device URIs:

   smb://workgroup/server/sharename
 /quote

 I already pointed this list to this problem once, to no avail. Redhat is doing a 
better
 job at this.
 This is even more strange, since cups is going to be the default printing system for
 Mandraks, IIRC.

 Rgrds,
 Moshe Vainer
 [EMAIL PROTECTED]

 Reinhard Katzmann wrote:

  Hi Moshe!
 
Well actualy mandrake DOES include smbprint in its samba package, and I have
it installed.
   
[root@dark /root]# rpm -qf /usr/bin/smbprint
samba-client-2.0.6-4mdk
   
SHadowX
  
   But not in latest cooker - (samba-client-2.0.7-7mdk)
   The only way it worked for me was to install
   samba-client-2.0.7-4utmp from Redhat.
 
  No, you're wrong here definitifely. I just checked myself
  (and smb printing works for me at office):
 
  [root@linux cups]# rpm -qf `which smbprint`
  samba-client-2.0.7-7mdk
  [root@linux cups]#
 
  Maybe something is wrong with your samba-client-package,
  so you might want to reinstall it.
 
   Anyway, it is easily tested by the command you just provided,
   so to the original poster, you can use
   #rpm -qf /usr/bin/smbprint
   to see if you have smbprint in your samba-client package.
  
 
  It works for me :) Hopefully ShadowX can test if smbprint itself
  works, before seeking the problem within cups.
 
  Best regards,
 
  Reinhard Katzmann
  --
  E-Mail: [EMAIL PROTECTED]



Re: [Cooker] CUPS 1.1.3

2000-09-21 Thread Till Kamppeter

See one of my previous messages!

   Till

Reinhard Katzmann wrote:
 
 Hi Till!
 
  Same here. Did you try printerdrake already ?
 
 Ok, I tried myself and got it recognizing cups first after having added
 a printer with lpadmin (I still had lpd on my system which I removed first).
 After removing the printer again (did not print anything), printerdrake
 suddenly recognized cups printers, even if none was configured.
 
 I still cannot print however, I get the following message:
 Fatal error: Unable to find driver named "bjc-6000 (GIMP-Print)"!"
 (from the web interface).
 
 From the error_log file:
 
 D [20/Sep/2000:13:26:58 +0100] StartJob() statusfds = 14, 15
 D [20/Sep/2000:13:26:58 +0100] StartJob() filterfds[1] = 16, -1
 D [20/Sep/2000:13:26:58 +0100] StartJob() filter = "/usr/lib/cups/filter/pstops"
 D [20/Sep/2000:13:26:58 +0100] StartJob() filterfds[0] = 17, 18
 I [20/Sep/2000:13:26:58 +0100] Started filter /usr/lib/cups/filter/pstops (PID 8326) 
for job 4.
 D [20/Sep/2000:13:26:58 +0100] StartJob() filter = "/usr/lib/cups/filter/pstoraster"
 D [20/Sep/2000:13:26:58 +0100] StartJob() filterfds[1] = 16, 19
 I [20/Sep/2000:13:26:58 +0100] Started filter /usr/lib/cups/filter/pstoraster (PID 
8327) for job
  4.
 D [20/Sep/2000:13:26:58 +0100] StartJob() filter = 
"/usr/lib/cups/filter/rastertoprinter"
 D [20/Sep/2000:13:26:58 +0100] StartJob() filterfds[0] = 17, 18
 I [20/Sep/2000:13:26:58 +0100] Started filter /usr/lib/cups/filter/rastertoprinter 
(PID 8328) fo
 r job 4.
 D [20/Sep/2000:13:26:58 +0100] StartJob() backend = "/usr/lib/cups/backend/parallel"
 D [20/Sep/2000:13:26:58 +0100] StartJob() filterfds[1] = -1, 16
 I [20/Sep/2000:13:26:58 +0100] Started backend /usr/lib/cups/backend/parallel (PID 
8329) for job
  4.
 E [20/Sep/2000:13:26:58 +0100] PID 8328 crashed with status 1!
 D [20/Sep/2000:13:26:58 +0100] Page = 595x842; 11,18 to 586,832
 D [20/Sep/2000:13:26:58 +0100] START 860550 1507596 220795 1430548 141188 true 397 3 
0
 D [20/Sep/2000:13:26:58 +0100] END PROCS 860571 1527688 237474 1430548 142652 true 
501 3 0
 E [20/Sep/2000:13:26:58 +0100] Fatal error: Unable to find driver named "bjc-6000 
(GIMP-Print)"!
 D [20/Sep/2000:13:26:58 +0100] gs_std_e.ps 860581 1527688 242485 1430548 144028 true 
508 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_iso_e.ps 860587 1547780 250071 1430548 144028 true 
509 3 0
 D [20/Sep/2000:13:26:58 +0100] END FONTDIR/ENCS 860589 1547780 250223 1430548 144028 
true 511 3
 0
 D [20/Sep/2000:13:26:58 +0100] END DEVS 860592 1549956 252844 1430548 144028 true 
515 3 0
 D [20/Sep/2000:13:26:58 +0100] END STATD 860598 1570048 260593 1430548 145640 true 
517 3 0
 D [20/Sep/2000:13:26:58 +0100] END GS_FONTS 860607 1570048 273942 1430548 145640 
true 559 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_type1.ps 860610 1570048 276585 1430548 145640 true 
564 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_dps1.ps 860614 1570048 278424 1430548 145640 true 
566 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_lev2.ps 860633 1623652 326541 1430548 146036 true 
573 3 0
 D [20/Sep/2000:13:26:58 +0100] BEGIN RESOURCES 860636 1623652 327116 1430548 146036 
true 573 4 
 1
 D [20/Sep/2000:13:26:58 +0100] END CATEGORY 860639 1623652 328331 1430548 146192 
true 574 5 1
 D [20/Sep/2000:13:26:58 +0100] END GENERIC 860642 1623652 330746 1430548 146192 true 
574 4 1
 D [20/Sep/2000:13:26:58 +0100] END FIXED 860660 1643744 340485 1430548 146192 true 
574 4 1
 D [20/Sep/2000:13:26:58 +0100] END MISC 860664 1643744 345353 1430548 146192 true 
574 4 1
 D [20/Sep/2000:13:26:58 +0100] CloseClient() 12
 D [20/Sep/2000:13:26:58 +0100] END ENCODING 860678 1643744 346254 1430548 146192 
true 574 4 1
 D [20/Sep/2000:13:26:58 +0100] gs_res.ps 860681 1643744 347308 1430548 146192 true 
578 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_typ42.ps 860683 1643744 347613 1430548 146192 true 
581 3 0
 D [20/Sep/2000:13:26:58 +0100] CloseClient() 11
 D [20/Sep/2000:13:26:58 +0100] gs_cidfn.ps 860709 1643744 353211 1430548 146192 true 
595 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_cmap.ps 860788 1663836 361756 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_btokn.ps 860794 1663836 364700 1430548 146192 true 
597 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_dps2.ps 860800 1663836 366634 1430548 146192 true 
597 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_setpd.ps 860809 1683928 378399 1430548 146192 true 
597 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_typ32.ps 860817 1683928 379459 1430548 146192 true 
595 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_ll3.ps 860832 1704020 390930 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_mex_e.ps 860836 1704020 394715 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_mro_e.ps 860840 1704020 395396 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_wan_e.ps 860844 1704020 396045 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_cff.ps 860858 1704020 408460 1430548 146192 true 
596 3 0
 D [20/Sep/2000:13:26:58 +0100] gs_ttf.ps 860868 1724112 420828 1430548 146192 

Re: [Cooker] CUPS 1.1.3

2000-09-21 Thread Till Kamppeter

Thierry SAURA wrote:
 
 my configuration doesn't have something special. But, i have a problem
 with a socket printer (HP laserjet 5si), the test page produces
 a first page with 2 lines like "@PJL JOB " and a lot of blank pages
 when i use HP LaserJet 5si driver. With an old version of cups (1.1.1 if
 i remember well), i could use pcl-5si (GIMP-Print) driver and i could
 print. Now, i have the following error in the web interface :
 Description: HP / pcl-5si (GIMP-Print)
 Location:
 Printer State: idle, accepting jobs.
 "Fatal error: Unable to find driver named "pcl-5si (GIMP-Print)"!"
 Device URI: socket://xxx.xxx.xxx.xxx:9100/


Tomorrow I will upload a new cups-drivers package (13mdk) with a fix and
some new stuff. This will probably fix your HP LaserJet 5si problem.
 
Moreover, the web interface doesn't work with 1.1.3 when i want to
 add a new printer (document contents no data).


This is already fixed. Downlaod the newest release of CUPS (1.1.3-2mdk).
 
   Till




Re: [Cooker] CUPS 1.1.3

2000-09-21 Thread Till Kamppeter

Install the smb packages, they only need to be installed, the SMB daemon
does not need to be running because you are only a client in your
situation.

Restart the CUPS daemon with

   /etc/rc.d/init.d/cups restart

Now the configuration for the access to an SMB printer should work.

I recommand using KUPS for doing the configuration. To install KUPS
install QTCUPS because it is needed by KUPS.

Take care that you have updated to the newest release of KUPS, older
releases crash when you press any key.

Start KUPS with

   kups 

or choosing Configuration/Printing/KUPS in the menu. In the KUPS window
you click on the "Add printer" icon and get a dialog. Click on "Next"
and choose the SMB printer connection. Enter login and password for the
SMB server or choose "Guest account". On the next screen click on the
"Scan" button to get a list of all SMB servers in your network. Choose
the appropriate one and click on the small "+" at this entry. Then click
on the desired printer and click "Next". On the next screens
choose/enter the usual info (Manufacturer, model, queue name,
description, location). After confirming on the last screen it should be
possible to print on your SMB printer.

   Till


SHadowX wrote:
 
 On Tue, 19 Sep 2000, you wrote:
  Oi,
 
  Now available on Cooker and in Mandrake 7.2:
 
 CUPS 1.1.3
 
  Lot of bugfixes, test it!
 
 Till
 Tried it, butit still can't print to smb printers.
 
 If anyone knows how to cinfigure mandrake to print on smb printers I would be
 happy to know.
 
 SHadowX




Re: [Cooker] CUPS 1.1.3

2000-09-21 Thread Till Kamppeter

Fixed (cups-1.1.3-2mdk)!

   Till



Reinhard Katzmann wrote:
 
 Hi Till  Thierry!
 
 Moreover, the web interface doesn't work with 1.1.3 when i want to
  add a new printer (document contents no data).
 
 Same here. Did you try printerdrake already ?
 
 Best regards,
 
 Reinhard Katzmann
 --
 E-Mail: [EMAIL PROTECTED]




R: [Cooker] CUPS 1.1.3

2000-09-20 Thread Parodi Davide

I succeded configuring smb printer as "lp" with CUPS web admin and then
re-configuring it, adding host, ip, user and password. with linuxconf.

Ciao.

 -Messaggio originale-
 Da:   SHadowX [SMTP:[EMAIL PROTECTED]]
 Inviato:  Wednesday, September 20, 2000 11:38 AM
 A:[EMAIL PROTECTED]
 Oggetto:  Re: [Cooker] CUPS 1.1.3
 
 On Tue, 19 Sep 2000, you wrote:
  Oi,
 
  Now available on Cooker and in Mandrake 7.2:
 
 CUPS 1.1.3
 
  Lot of bugfixes, test it!
 
 Till
 Tried it, butit still can't print to smb printers.
 
 If anyone knows how to cinfigure mandrake to print on smb printers I would
 be 
 happy to know.
 
 SHadowX




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Thierry SAURA

 "SHadowX" == SHadowX  [EMAIL PROTECTED] writes:

SHadowX On Tue, 19 Sep 2000, you wrote:
 Oi,
 
 Now available on Cooker and in Mandrake 7.2:
 
 CUPS 1.1.3
 
 Lot of bugfixes, test it!
 
 Till
SHadowX Tried it, butit still can't print to smb printers.

SHadowX If anyone knows how to cinfigure mandrake to print on smb
SHadowX printers I would be happy to know.

I don't have problem to use smb printer (HP laserjet 4M),
my configuration doesn't have something special. But, i have a problem
with a socket printer (HP laserjet 5si), the test page produces
a first page with 2 lines like "@PJL JOB " and a lot of blank pages
when i use HP LaserJet 5si driver. With an old version of cups (1.1.1 if
i remember well), i could use pcl-5si (GIMP-Print) driver and i could
print. Now, i have the following error in the web interface :
Description: HP / pcl-5si (GIMP-Print)
Location: 
Printer State: idle, accepting jobs. 
"Fatal error: Unable to find driver named "pcl-5si (GIMP-Print)"!" 
Device URI: socket://xxx.xxx.xxx.xxx:9100/ 

   Moreover, the web interface doesn't work with 1.1.3 when i want to
add a new printer (document contents no data).

Thierry.





Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Reinhard Katzmann

Hi Till  Thierry!

Moreover, the web interface doesn't work with 1.1.3 when i want to
 add a new printer (document contents no data).

Same here. Did you try printerdrake already ?

Best regards,

Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Reinhard Katzmann

Hi ShadowX!

 Tried it, butit still can't print to smb printers.
 
 If anyone knows how to cinfigure mandrake to print on smb printers I would be 
Work just fine at Office, I simply use smb://server/printer, you have to
enable printing and accepting jobs. Sorry, I don't have the config here,
but tomorrow I can post it. At Office there is a HPLaserjet 5MP.
I used printerdrake to configure the printer there.

Also smb seems to have problems when a windows user is printing just in the
same time when you try to print and the printer setting might be set back
to "printing disabled" (happened twice for me now).

Best regards,

Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Moshe Vainer

You probably need smbprint which should come with samba-client, but mandrake does not
include it. Install samba-client from redhat's development ftp and you should be ok..

Rgrds,
Moshe Vainer
[EMAIL PROTECTED]


SHadowX wrote:

 On Tue, 19 Sep 2000, you wrote:
  Oi,
 
  Now available on Cooker and in Mandrake 7.2:
 
 CUPS 1.1.3
 
  Lot of bugfixes, test it!
 
 Till
 Tried it, butit still can't print to smb printers.

 If anyone knows how to cinfigure mandrake to print on smb printers I would be
 happy to know.

 SHadowX



Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread SHadowX

On Wed, 20 Sep 2000, you wrote:
 You probably need smbprint which should come with samba-client, but
 mandrake does not include it. Install samba-client from redhat's
 development ftp and you should be ok..

 Rgrds,
 Moshe Vainer
 [EMAIL PROTECTED]


Well actualy mandrake DOES include smbprint in its samba package, and I have 
it installed.

[root@dark /root]# rpm -qf /usr/bin/smbprint
samba-client-2.0.6-4mdk

SHadowX




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Moshe Vainer

SHadowX wrote:

 On Wed, 20 Sep 2000, you wrote:
  You probably need smbprint which should come with samba-client, but
  mandrake does not include it. Install samba-client from redhat's
  development ftp and you should be ok..
 
  Rgrds,
  Moshe Vainer
  [EMAIL PROTECTED]
 

 Well actualy mandrake DOES include smbprint in its samba package, and I have
 it installed.

 [root@dark /root]# rpm -qf /usr/bin/smbprint
 samba-client-2.0.6-4mdk

 SHadowX

But not in latest cooker - (samba-client-2.0.7-7mdk)
The only way it worked for me was to install
samba-client-2.0.7-4utmp from Redhat.
Anyway, it is easily tested by the command you just provided,
so to the original poster, you can use
#rpm -qf /usr/bin/smbprint
to see if you have smbprint in your samba-client package.

Rgrds,
Moshe Vainer
[EMAIL PROTECTED]




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread Reinhard Katzmann

Hi Moshe!

  Well actualy mandrake DOES include smbprint in its samba package, and I have
  it installed.
 
  [root@dark /root]# rpm -qf /usr/bin/smbprint
  samba-client-2.0.6-4mdk
 
  SHadowX
 
 But not in latest cooker - (samba-client-2.0.7-7mdk)
 The only way it worked for me was to install
 samba-client-2.0.7-4utmp from Redhat.

No, you're wrong here definitifely. I just checked myself
(and smb printing works for me at office):

[root@linux cups]# rpm -qf `which smbprint`
samba-client-2.0.7-7mdk
[root@linux cups]# 

Maybe something is wrong with your samba-client-package,
so you might want to reinstall it.

 Anyway, it is easily tested by the command you just provided,
 so to the original poster, you can use
 #rpm -qf /usr/bin/smbprint
 to see if you have smbprint in your samba-client package.
 

It works for me :) Hopefully ShadowX can test if smbprint itself
works, before seeking the problem within cups.

Best regards,

Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]




Re: [Cooker] CUPS 1.1.3

2000-09-20 Thread SHadowX

On Tue, 19 Sep 2000, you wrote:
 Oi,

 Now available on Cooker and in Mandrake 7.2:

CUPS 1.1.3

 Lot of bugfixes, test it!

Till
Tried it, butit still can't print to smb printers.

If anyone knows how to cinfigure mandrake to print on smb printers I would be 
happy to know.

SHadowX




[Cooker] CUPS 1.1.3

2000-09-20 Thread Till Kamppeter

Oi,

Now available on Cooker and in Mandrake 7.2:

   CUPS 1.1.3

Lot of bugfixes, test it!

   Till