Re: Help: Printer sharing in Linux Red Hat 9.0

From: Bob_M (r.mariotti_at_financialdatacorp.com)
Date: 09/09/04


Date: Wed, 08 Sep 2004 21:41:31 -0700

On Thu, 02 Sep 2004 11:00:30 -0400, Ross Contino
<rosscontino@suscom.net> wrote:

>Hello:
>
>I have a small home network with 3 Windows XP boxes and one Linux Red
>Hat 9.0. Basically so I can learn Linux....
>
>I have a HP deskjet 960c attached to one of the Windows XP boxes (it has
>the Service Pack 2 installed) I have been trying to get Linux to see
>the printer and install it. I have read:
>http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html#to_windows.
>
>At the command prompt, I yield the following:
>
>[root@localhost root]# smbclient -L ATHLON -N
>added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
>Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
>Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
>
> Sharename Type Comment
> --------- ---- -------
> My Documents Disk
> IPC$ IPC Remote IPC
> print$ Disk Printer Drivers
> SharedDocs Disk
> data Disk
> hpdeskje Printer hp deskjet 960c
> backups Disk
> Downloads Disk
> mysql Disk
> www Disk
>
> Server Comment
> --------- -------
>
> Workgroup Master
> --------- -------
>[root@localhost root]#
>
>Obviously it sees the "hpdeskje" printer as a share. However, it appear
>invisible from the SAMBA web interface, from the CUPS web interface,
>from KDE print manager. KDE print manager cannot even detect my network
>under the scan feature.
>
>I also tried LinNeighborhood. Each time I go to "Browse Network," the
>program immediately exits.
>
>Any help would be greatly appreciated.
>
>Ross

Ross;

You might want to take a look at SAMBA (SMB) which comes with most
distros. With that you should be able to pipe the output of your
printing to a samba command similar to this:

\\windows_machine\printername -N -P -c 'cat -'

We do this in production to send server program output dynamically to
the printers attached to remote Windows desktops.

see www.samba.org

Bob



Relevant Pages

  • Re: I want to be convinced; convince me.
    ... Mac, but I'm having trouble convincing myself to do it. ... Windows 2000 has been very stable for me for many years, ... But, like I said, I haven't used 10.4 with Samba yet. ... Or is it an post-installation manual install? ...
    (comp.sys.mac.advocacy)
  • Re: samba and lan with winxp and linux computers
    ... I added a fourth computer running Redhat Linux 9 personal edition. ... | read the redhat documentation and the samba documentation and these ... | install any samba components by default. ... | now for the windows network but it still can't see the windows ...
    (alt.os.linux.redhat)
  • Re: SuSE 9.1 - prbl with Samba Client and locations
    ... >>I also installed 'swat' to allow editing my Samba ... the Windows user must connect using their ... TCP/IP" setting for one of the Win XP machines. ... the default Samba install expects. ...
    (alt.os.linux.suse)
  • Re: I want to be convinced; convince me.
    ... Mac, but I'm having trouble convincing myself to do it. ... Windows 2000 has been very stable for me for many years, ... But, like I said, I haven't used 10.4 with Samba yet. ... Or is it an post-installation manual install? ...
    (comp.sys.mac.advocacy)
  • Re: Aix and Windows using same Filesystem
    ... > Basically aix produce file and windows read file. ... Samba is just plain priced right, but you are on your own with it. ... And you only have to install and configure it once, ...
    (comp.unix.aix)