Moderatore: Staff

Available Printers
No printers found.






# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
transmission-daemon:127.0.0.1
sshd:127.0.0.1
#newscache:127.0.0.1
nntpd:127.0.0.1:setenv = POSTING_OK
esmtp:127.0.0.1
/usr/sbin/stunnel:127.0.0.1
/usr/bin/socat:127.0.0.1
/usr/sbin/cupsd:127.0.0.1
# End of hosts.allow.
ALL:ALL
# cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.deny 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL:ALL
# End of hosts.deny.


brhl2030lpr-2.0.1-i386-1.lzm
cupswrapperHL2030-2.0.1-i386-1.lzm
/usr/local/Brother/cupswrapper/brcupsconfig3
/usr/local/Brother/cupswrapper/cupswrapperHL2030-2.0.1


# groups
root bin daemon sys adm disk wheel floppy audio video cdrom tape plugdev

SYS
brother HL-2170W printer will work well. Some notes:
(1)
from:
http://solutions.brother.com/linux/sol/ ... ivers.html
http://solutions.brother.com/linux/sol/ ... ivers.html
get:
http://solutions.brother.com/Library/so ... 1.i386.rpm
http://solutions.brother.com/Library/so ... 1.i386.rpm
(2)
make those .rpm into modules - do rpm2tgz & tgz2lzm
(3)
best to get working with usb first (only difference for network printing is the port=)
edit file: /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2
change this line: port=usb:/dev/usb/lp0
to - for usb : port=usb://brother/HL-2170W%20series
or - for network: port=socket://192.168.1.1 (replace 192.168.1.1 with your printer ip)
(4)
to add printer - in terminal do:
/usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2 -i
( -h : help -i : install -e : uninstall -r : remove printer )
(5)
you can do (3) & (4) with terminal/script
(or add these lines to .../slax/rootcopy/etc/rc.d/rc.local to make this happen at start up):
mv /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2 /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2_old
sed 's#^\tport=usb:/dev/usb/lp0$#\tport=usb://brother/HL-2170W%20series#g' /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2_old > /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2
chmod +x /usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2
/usr/local/brother/cupswrapper/cupswrapperHL2170W-2.0.2 -i
(6)
you might also need or want some of these:
ghostscript ghostscript-fonts gv enscript a2ps cupslogtool foomatic-filters pdfdistiller poster
Hope this helps, I cannot fully remember, if any gaps/improvements please reply.

Visitano il forum: Nessuno e 0 ospiti