I also own an old Apple ImageWriter II printer, and I thought it would be
fun to see it printing again.

I've got it hooked up to the serial port on my Linux system here, and if I
connect to it with Kermit (9600bps, 8N1), everything works fine.

I'm using the following printcap entry:

  imagewriter
    :force_localhost
    :cm=Apple Imagewriter
    :lp=/dev/ttyS1
    :br=9600
    :sd=/var/spool/lpd/%P
    :filter=/usr/libexec/filters/ifhp
    :ifhp=model=gs,gs_device=appledmp
    :lf=/var/spool/lpd/%P/log

Printing to this queue appears to work...no errors, no complaints -- and no
output.  Gah!  I'm not sure which debugging options would be most useful
here; neither the lpd man page nor the LPRng HOWTO discuss this issue very
much (or, if they do, I'm simply managed to overlook a zillion times, which
wouldn't be a first for me :).

All the variations I've tried appear to indicate that things are working
correctly -- there's just nothing, not even garbage, coming out of the
serial port.

Is there anything obviously wrong with this setup?  The 'daemon' user
belongs to the 'tty' group, and thus ought to have r/w access to
/dev/ttyS1.

Which debugging options would yield the most useful information here?  I'd
like to know if lpd is able to successfully open the serial port or not.

A general question -- how can I increase the general level of logging
without running in debug mode?  I'd really like to see errors of any sort
go to syslog; is there a way to specify this?  Failing that, I'd like to
see them show up in the file specified with the 'lf' option -- the file
does exist, and is downed by 'daemon', but it remains stubbornly empty.

Help?

-- Lars

-- 
Lars Kellogg-Stedman <[EMAIL PROTECTED]> --> http://www.larsshack.org/


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to