I tried on Lexmark Optra S 1255 and HP LaserJet 5SI Mopier (printserver :
Linux Redhat 6.2). Logs are attached. I think ıt worked for mopier.(I saw
Tray 2 Open at the mopier log .When I was doing the test Tray 2 was open.)

Şeref Tufan Şen
ITU-BIDB
[EMAIL PROTECTED]
285 39 30
Public-pgp-key : http://atlas.cc.itu.edu.tr/~tufan/tufan.key


a) download the latest ifhp beta:

   ftp://ftp.astart.com/pub/LPRng/private/ifhp-*.tgz

b) compile, etc. the code:

   tar zxvf ifhp-*.tgz
   cd ifhp-*
   configure; make

   DO NOT INSTALL THIS VERSION..!!!

c) put the following script into /tmp/send:


#!/bin/sh
DEV=/dev/lp0           <- replace with your parallel port device
FILE=/tmp/one.ps
./ifhp -Tdev=$DEV,trace,debug=2 <$FILE 2>&1 | tee /tmp/log

d) copy ifhp/UTILS/one.ps to /tmp

e) Make sure that you can read status back from the parallel port.
   If you have linux,  then you should be able to use the
   /proc/sys/parport/0/autoprobe file for information.
   You can also try

     insmod parport_probe

   and see what happens.  You should get status.

f) Now do:
   sh /tmp/send

And watch the output... horrible... but it will (hopefully) show you
that it is reading status from the parallel port.

log.lexmark

log.mopier

Reply via email to