[Samba] Doubts about sharing a winprinter

Alfonso A. webmaster at open-code.net
Mon May 26 19:40:49 GMT 2003


With the NEC Silentwriter Supercript 610 printer hooked in my Debian box, I get this error:

GREENDEMON:~# lpadmin -p sscript610 -v parallel:/dev/null -E -m laserjet.ppd
lpadmin: add-printer (set device) failed: client-error-not-possible

I don't know if the list of modules that I have loaded will help quite much, but here they are:

GREENDEMON:~# lsmod
Module                  Size  Used by    Tainted: P  
gamecon                 5512   0  (unused)
joydev                  6752   0  (unused)
lp                      6048   0  (autoclean)
agpgart                26720   3  (autoclean)
nvidia               1467712  10  (autoclean)
parport_pc             14984   1  (autoclean)
parport                13824   1  [gamecon lp parport_pc]
mod_quickcam           39524   0  (unused)
uhci                   24552   0  (unused)
usbcore                61600   0  [mod_quickcam uhci]
ide-scsi                7456   0 
via82cxxx_audio        17824   0 
es1371                 26752   0 
soundcore               3492   6  [via82cxxx_audio es1371]
ac97_codec             10048   0  [via82cxxx_audio es1371]
gameport                1452   0  [es1371]
3c59x                  25096   1 
input                   3296   0  [gamecon joydev]


Thanks for all your help and sorry... but I cannot understand quite well the way of printing in Linux with CUPS and Samba :(


On Mon, 26 May 2003 15:25:03 +0200
"Kurt Pfeifle" <kpfeifle at danka.de> wrote:

> > Message: 22
> > Date: Mon, 26 May 2003 12:00:19 +0200
> > From: Alfonso A. <webmaster at open-code.net>
> > Subject: Re: [Samba] Doubts about sharing a winprinter
> > To: samba at lists.samba.org
> > 
> > I know that my printer is compatible with the HP Laserjet II printer,
> 
> In this case it is *not* purely what is commonly called a Winprinter.
> You say you "know" it is compatible. Well, then first make it print
> when it is hooked (at the parallel port, I suppose?) directly to the
> Debian box (as root):
> 
>    lpadmin -p sscript610 -v parallel:/dev/null -E -m laserjet.ppd
> 
> Test if it prints with that PPD....
> 
> Then check if the "smb://" backend is available on your Debian:
> 
>    lpinfo -v | grep smb
> 
> If it is not there, create it:
> 
>    ln -s `which smbspool` /usr/lib/cups/backend/smb
> 
> (I suppose you get an answer to the question "which smbspool"....)
> Then you should hook it back at your Win98 box. Supposing you have
> "shared" it, install it on the Debian with this command:
> 
>    lpadmin -p ss610w98 -v smb://[Win98netbiosname]/[superscriptsharename] -E -P /etc/cups/ppd/sscript610.ppd
> 
> Check if it is installed:
> 
>    lpstat -t
> 
> Print.
> 
> Oh, and don't forget to read up at
> 
>    http://localhost:631/sam.html
>    http://localhost:631/sum.html
> 
> next time you sit in fron of your Debian box....
> 
> > which is PCL. The only thing I want to do is to send jobs to the
> > other machine from my Debian system, so they can be automatically
> > printed in the Windows machine. How can I do it?
> > 
> > Thanks
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list