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



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


References: 
 >LPR on Mac OS X (From: Jack Wright <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.