[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] GUSI and lpr - good point to get started?



Hello to the list,

I really like PERL and I would like to attempt to have a cron job
(Macintosh Crond, of course) check a certain directory for
files to be printed. I would then negotiate with a UNIX-lpd
to have it accept the file for printing.

Consequently, I need info on the following two things:
1) where do I find the RFC describing the dialog between
    an lpr-client and the lpd? (I obviously don't know the
    right keywords for the search engines I have visited).
2) Where do I find docs for that GUSI stuff in conjunction
    with MacPERL? I haven't got the slightest idea how to
    open a Socket with this library. Will I have to scan the
    source code to find out? (I don't speak much C, unfortunately)

Thanks in advance for any info you might be able to provide,

Ciao,
HSK