LPRng scripting question ...

LPRng scripting question ...

Post by Neil Cher » Mon, 23 Apr 2001 20:54:17

I need to modify the scripts used by LPRng as I want to add a command
that will use an X10 module to power on the printer when the command
starts and power it off when it's finished (I'll worry about the last
details later). Any hints where to find the scripts that are in use?


http://members.home.net/ncherry                         (Text only)
http://meltingpot.fortunecity.com/lightsey/52           (Graphics)
http://linuxha.sourceforge.net/                             (SourceForge)


1. HPDJ500C/LPRng/ifhp/apsfilter-LPRng

I've got a HP DeskJet 500C attached to my parallel port.  I've been able to
send files to it via "cat filename > /dev/lp0", so I know I've got kernel
modules, etc. working right.  I've installed LPRng, ifhp, and
apsfilter-LPRng, but I've been unsucessful getting it to print postscript
(or even plain text) with lpr.  I've gotten the files to spool correctly,
but I think I've got some problems with the filter setup.  In the process
of fiddling around with printcap, apsfilter.conf, etc. I've gotten it to
print out a bunch of PJL commands, but on another attempt, I got it to
filter the file through gs, but it didn't print.  (When checked the
filter's progress w/ ps, it seemed like gs was running, but not doing
anything.)  Can someone help me out?

------------------  Posted via CNET Linux Help  ------------------

2. Annoying Netscape Problem in Red Hat 6.2/Gnome Environment

3. Lprng printer scripts

4. how to disable root console login?

5. simple LPRng question

6. setup of ppp connection

7. lprNG / lpd & Mail -s question on InfoMagic Slakware April 97

8. lm_sensors: Only got voltage. Where's CPU temp?

9. LPRng question

10. Question about lprng and samba

11. lprng question

12. A Solaris 8 (Bourne Shell) Scripting question, regarding a log rotation script

13. Question: Use a Perl Script to Make a Call to a Bourne Shell Script?