Linux / Samba as LAN print queue server?

Linux / Samba as LAN print queue server?

Post by Bill Delphenic » Wed, 23 Feb 2000 04:00:00



I want to set up a dedicated high-performance Linux/Samba server to
handle print queues for our LAN. My workstations are all NT 4. The NOS
has been NW5, but we are moving rapidly towards Linux. The LAN is Cisco
switched FastEthernet. We have a mix of new HP 8000 Series color
printers, older HP 3 and 4 black & white laser printers and some newer
Epson 1520 color printers, all with LAN cards in them.  We print a lot
of of very large color files with multiple copies which require vast
amounts of disk space for the queues.

It seems that TCP/IP printing under NT is the natural solution for this,
but I haven't been able to find any information on setting up a Linux
and / or Samba queue server.

I assume this possible, but what do I need to do to get it going?

Thanks for any assistance.

 
 
 

Linux / Samba as LAN print queue server?

Post by Hans Edere » Wed, 23 Feb 2000 04:00:00


Quote:> It seems that TCP/IP printing under NT is the natural solution for this,
> but I haven't been able to find any information on setting up a Linux
> and / or Samba queue server.

> I assume this possible, but what do I need to do to get it going?

It is possible. I suggest to read the Linux Printing Howto - there is a
section for remote printing. Make sure that printing from Linux to the
remote printers work. After that you have to modify your smb.conf.

Here's my example:
I have a apple printer with integated Ethernet.

in /etc/printcap
Apple|remote printer on appleps:\       <= Just the name
        :sd=/var/spool/lpd/test:\       <= the spool directory
        :rm=appleps:\                   <= the remote printer, defined in                                    <=
/etc/hosts
        :rp=raw:\                       <= name of the queue in appleps
        :bk:sh:mx#0:                    <= mx#0 means no limit for jobs

in smb.conf
section global
load printers = yes                     <= automagically loads printers
                                        <=defined in printcap
[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        print ok = yes
        browseable = No
        printing = BSD

I'll be out of office for a while so if you need more infos send a mail
to:

CU

Hans

 
 
 

Linux / Samba as LAN print queue server?

Post by Rod Smi » Wed, 23 Feb 2000 04:00:00


[Posted and mailed]



Quote:> I want to set up a dedicated high-performance Linux/Samba server to
> handle print queues for our LAN. My workstations are all NT 4. The NOS
> has been NW5, but we are moving rapidly towards Linux. The LAN is Cisco
> switched FastEthernet. We have a mix of new HP 8000 Series color
> printers, older HP 3 and 4 black & white laser printers and some newer
> Epson 1520 color printers, all with LAN cards in them.  We print a lot
> of of very large color files with multiple copies which require vast
> amounts of disk space for the queues.

> It seems that TCP/IP printing under NT is the natural solution for this,
> but I haven't been able to find any information on setting up a Linux
> and / or Samba queue server.

> I assume this possible, but what do I need to do to get it going?

It certainly is possible. You can read the Linux Printing and Printing
Usage HOWTOs (http://www.linuxdoc.org/HOWTO/HOWTO-INDEX-3.html) to learn
something about setting up the printers, and any documentation you like
on Samba if you want to use Windows networking protocols for printer
sharing (check http://www.samba.org and
http://www.oreilly.com/catalog/samba/ for online Samba documentation).
Understanding Ghostscript (http://www.cs.wisc.edu/~ghost) may also be
important if you want to share the non-PostScript printers as PostScript
models. You might also want to consider a book, either on general office
networking or on Samba specifically. I've got several suggestions listed
at http://www.rodsbooks.com/~books/books-network.html.

--

http://www.rodsbooks.com
Author of books on Linux networking & WordPerfect for Linux

 
 
 

1. Linux / Samba as LAN print queue server?

Hi, Hans

I think you can set up your samba printQUEUE via UNIX remote priner
because your printer is a network printer and it can spek lpd. Do you
know similar configuration for samba print queue server that sends jobs
to a printer shared by Win95? I looked at Printing-How-To but even
double queuing relies on UNIX remote printer. I just started playong
with SAMBA to replace Netware5 server, but without reliable print queue
server I can't do that - i print received faxes, and if the printng
station is down I will loose them.

Thanks,

Dmitri

.......

It is possible. I suggest to read the Linux Printing Howto - there is a
section for remote printing. Make sure that printing from Linux to the
remote printers work. After that you have to modify your smb.conf.

Here's my example:
I have a apple printer with integated Ethernet.

in /etc/printcap
Apple|remote printer on appleps:\       <= Just the name
        :sd=/var/spool/lpd/test:\       <= the spool directory
        :rm=appleps:\                   <= the remote printer, defined
in                                       <=
/etc/hosts
        :rp=raw:\                       <= name of the queue in appleps
        :bk:sh:mx#0:                    <= mx#0 means no limit for jobs

in smb.conf
section global
load printers = yes                     <= automagically loads printers
                                        <=defined in printcap
[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        print ok = yes
        browseable = No
        printing = BSD

2. Video Problems: STB PCI Powergraph 64

3. Print queue dies when printing via Samba

4. Changing all date fields from mm/dd/yy to dd/mm/yy

5. printing woes through samba - Messages Queued but no printing

6. Restricted Shell

7. Printing from Linux using LAN Print Server

8. link to aout libc.so.4 from elf system

9. point solaris print queue to win2000 print queue

10. Q: Blank page when printing with Samba from NT 4.0 to Linux print server

11. lpd stops sending queued print jobs to remote Print Server.

12. TCPIP printing across LAN to print server

13. Printing from Linux to Banyan Vines Print Queue?