:: Re: [DNG] Printing
Top Page
Delete this message
Reply to this message
Author: Hendrik Boom
Date:  
To: dng
Subject: Re: [DNG] Printing
On Mon, Oct 05, 2015 at 06:02:30PM +0200, Riccardo Boninsegna wrote:
> On Mon, Oct 5, 2015 at 5:52 PM, Hendrik Boom <hendrik@???> wrote:
> > Obtaining a driver from Brother's support site as a .deb file, I tried to install it with dpkg:
> >
> > root@notlookedfor:/home/hendrik/Download/BrotherPrinterDriver# dpkg -i hl3170cdwlpr-1.1.2-1.i386.deb
> As the name says, that's an LPR driver.
>
> Brother does not make actual drivers for CUPS, only ones for LPR plus
> a hack to make LPR drivers work in CUPS!


I'd be delighted woth using lpr. But even man lpr tells me about
CUPS. Has man lpr been suborned by CUPS?

>
> 1: If you're using an i386 system, you're good to go; if you're using
> amd64, enable 32 bit compatibility with (as superuser) `dpkg
> --add-architecture i386 && aptitude update && aptitude install
> libstdc++6:i386`; if you're using any other architecture, give up!


I have an i386 system. But as I mentioned, using dpkg to
install the lpr driver failed:

root@notlookedfor:/home/hendrik/Download/BrotherPrinterDriver# dpkg -i hl3170cdwlpr-1.1.2-1.i386.deb
Selecting previously unselected package hl3170cdwlpr.
(Reading database ... 118096 files and directories currently installed.)
Preparing to unpack hl3170cdwlpr-1.1.2-1.i386.deb ...
Unpacking hl3170cdwlpr (1.1.2-1) ...
Setting up hl3170cdwlpr (1.1.2-1) ...
mkdir: cannot create directory ‘/var/spool/lpd/hl3170cdw’: No such file or directory
chown: cannot access ‘/var/spool/lpd/hl3170cdw’: No such file or directory
chgrp: cannot access ‘/var/spool/lpd/hl3170cdw’: No such file or directory
chmod: cannot access ‘/var/spool/lpd/hl3170cdw’: No such file or directory
root@notlookedfor:/home/hendrik/Download/BrotherPrinterDriver#

So until I get the lpr level working, it won't help much to install the
lpr compatiility for UPS.

Or is the CUPS lpr compatibility etting in my way with installing an lpr
driver?

> 2: Download both drivers from
> http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hl3170cdw_all&os=128
> 3: Install "cups-daemon" (the actual print server) and "cups-bsd"
> (backwards compatibility with LPR command line tools)


These are already installed, presumably with the default iinstall of
devuan alpha 2.

> 4: Make sure your printer is connected and ready, install the LPR driver


How to I "connect" a network printer that communicates over wifi?
And this is the step that failed.

> 5: Install the CUPS driver
> 6: If all went fine, you should have the printer already configured
> (you may want to visit localhost:631 with a browser to set paper size,
> etc)!


-- hendrik