🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #55226

Re: Installing a network printer

#55226
From: Manfred Bartz
Date: Tue, 08 Jul 1997 00:00
39 lines
2113 bytes
ghercus@melbourne.microhelp.com.au (Graeme Hercus) writes:

> Does anyone know how to install a network printer under Slackware 3.2
> without running setup?
> 
> When I type /proc/devices, lp appears but there are no ports listed,
> ie. /dev/lp0, lp1 or lp2 are not there
> 
> I need to install printing without running setup because the server
> has been configured and I don't want to overwrite any of the settings.

You should have these special files in the /dev directory:
    crw-r-----   1 root     daemon     6,   0 1995-04-28 09:17:09 lp0
    crw-r-----   1 root     daemon     6,   1 1995-04-28 09:17:11 lp1
    crw-r-----   1 root     daemon     6,   2 1995-04-28 09:17:12 lp2
if not you can add them with ``mknod''.  I don't know if you need them
if you only print remotely.

I am not sure if you want to set up a local printer or if you want to
use a remote printer.

For remote printing, all you need to do is to put something like this
in your printcap:
    # remote printer at "darkstar"
    lp|lj|lj3|lj4:\
	    :lp=:\
            :rm=darkstar:\
            :sd=/var/spool/lpd:\
            :lf=/var/log/lpd-errs:\
            :mx#0:

For a local printer, it is more complicated.  You probably will need
some sort of ``magic filter'' to print various file formats
(Postscript, ASCII text, raw printer files).

-- 
Manfred Bartz <mbartz@werple.net.au>
  --- LINUX, live free or die ---
Technical Details
Message-ID: <m290zi2yjh.fsf@reddwarf.aup.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <33bc4f48.7947427@203.16.192.120>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,97b31e2b38584f18
X-Google-Attributes: gid102983,public
From: Manfred Bartz <mbartz@werple.net.au>
Subject: Re: Installing a network printer
Date: 1997/07/08
Message-ID: <m290zi2yjh.fsf@reddwarf.aup.com.au>
X-Deja-AN: 255355973
Sender: mbartz@reddwarf.aup.com.au
References: <33bc4f48.7947427@203.16.192.120>
X-Face: `7XhJ:(7$0=La3f9Tu4$Y8v0tVk-)FpJb(fz(H}9zi&.<tC9:`s'U*Q8Pz&(*x0xAY93N6A :"ObLj?n/\Xm['+nlFm:tE8TMp*dHA3H:1Ny\orulI(nV.Q59Em:i>p/pIs*!p"BJf0#wws0[pX,/: &
Organization: Werple Internet a division of Mira Networking, Melbourne, Sydney and Brisbane
Newsgroups: aus.computers.linux