Baptiste Cecconi wrote:
> Hi there,
> 
> I had to setup command line printing on my OSX a few months ago, and I 
> made a tutorial web page, but it is in french... (sorry i'm french ;-)
> http://macspabc.obspm.fr/mac.php?id=2
> 
> I can give you there some tips and tricks about this setup :
> 
> 1. edit the /etc/printcap file to add your printer. Keep in mind that 
> for an unknown reason, you can't give aliases in your /etc/printcap file, 
> so the entry should be in the following form :
> 

Many thanks to everybody,

Command line printing does work fine as described by Baptiste. I had
indeed loaded the contents of /etc/printcap into NetInfo at the very
beginning, but it did not work because of the alias declared in printcap.

In fact, printcap can keep the aliases if one likes to, but they *must*
not be in NetInfo. It's easy to achieve this in 4 simple commands as root:

step 1: `niload printcap . < /etc/printcap'
step 2: `nidump -r /printers . > netinfo.printers'
step 3: `vi netinfo.printers' to suppress the aliases
step 4: `niload -r /printers . < netinfo.printers'

Thanks again to all of you,

`lpr', `Print' and `a2ps', all three work now :-)

And thanks for the info about CUPS which I ignored.

Cheers,

Harald








-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to