Re: Using samba printer with Netatalk


Subject: Re: Using samba printer with Netatalk
From: Carsten Neumann (deltor@snafu.de)
Date: Mon May 21 2001 - 07:59:43 EDT


On Mon, 21 May 2001, Alle mails voor SMS systeem wrote:
> Hey,
>
> I have a printer on a winbox, which I can print to from the linux using
> Samba. Now I would like to use netatalk to be able to print from my mac,
> for which there is no driver for the Brother HL-820.

Since you can print from linux there is no need for a special driver.
Ghostscript (apsfilter) does this already for you if the printer itself can't speak Postscript.

>
> Does anyone have an idea how to do that ?
>

Make an entry for the "auto" printer, in your case "lp", in your papd.conf (probably in /etc/atalk),
and restart papd.
The printer should then show up in the Chooser.

> Thanks in advance,
> Thomas
>
> PS : this is my printcap :
>
> # /etc/printcap
> # APS1_BEGIN:printer1
> # - don't delete start label for apsfilter printer1
> # - no other printer defines between BEGIN and END LABEL
> lp|Printer1 auto:\
> :lp=/dev/null:\
> :if=/etc/apsfilter/basedir/bin/apsfilter:\
> :sd=/var/spool/lpd/lp:\
> :lf=/var/spool/lpd/lp/log:\
> :af=/var/spool/lpd/lp/acct:\
> :mx#0:\
> :sh:
> raw1|Printer1 raw:\
> :lp=/dev/null:\
> :if=/etc/apsfilter/basedir/bin/apsfilter:\
> :sd=/var/spool/lpd/raw1:\
> :lf=/var/spool/lpd/raw1/log:\
> :af=/var/spool/lpd/raw1/acct:\
> :mx#0:\
> :sf:\
> :sh:
> # APS1_END - don't delete this

Good luck!

Kind regards

        Carsten



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:40 EDT