Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LPR on Mac OS X



After looking over your netinfo entry more closely, I realized you have
LPR_PRINTER=1 in it. And, something I hadn't thought of before was to
use the PrintCenter to define an LPR printer and see what it produced. I
got the following:

ixsmim2-test: \
:lo=lock:rp=ixsmim2-test:rm=ixsmim2:lp: \
:sd=/var/spool/lpd/ixsmim2-test:LPR_PRINTER=1:ppdurl:

I was able to use lpr to print to this printer:

lpr -Pixsmim2-test test.ps

Thanks for your help,
Jack

"Sven A. Schmidt" wrote:
>
> On Mittwoch, Mai 23, 2001, at 11:19 Uhr, Jack Wright wrote:
>
> > I'm trying to get lpr to work on Mac OS X/Darwin, but I keep getting:
> >
> > $ lpr -Pixsmim2 test.ps
> > jobs queued, but cannot start daemon.
>
> I posted the following to macosx.com a while ago. Except for the netinfo
> part, this should apply to Darwin as well. Maybe your spool dir isn't in
> place?
>
> -----------------------------
>
> To configure lpr printing, do the following.
>
> 1. Create or copy a valid printcap for your printer(s) (see below for a
> template)
>
> 2. Load this printcap into netinfo:
> niload printcap . < myprintcap
>
> 3. Create the spool directory in /var/spool/lpd and chown it to
> daemon.daemon
>
> I'm using this printcap for printing on my LW360 attached to a Linux box
> (192.168.252.1), queue name "lp":
>
> Hera_LW360: \
> :lo=lock:rp=lp:rm=192.168.252.1:LPR_PRINTER=1:ppdurl:lp: \
> :sd=/var/spool/lpd/hera_lw360:
>
> You can confirm successful loading of your printcap with:
> nidump printcap .
>
> Note that you can also configure this via the Netinfo Manager.
> Supposedly it even creates the spool directory for you, but I couldn't
> confirm this right now.
>
> HTH,
> Sven
> _______________________________________________
> darwinos-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/darwinos-users


References: 
 >Re: LPR on Mac OS X (From: "Sven A. Schmidt" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.