01-23-04 10:07 PM
a few weeks ago X stopped working on my slackware9 drive, and i wrote
a book report on there in regular text format. so, i wrote a little
printing app that prints the input file by simply opening /dev/lp0 and
i set a counter for line breaks at 79 characters for correct the page
size and correct formatting and blah blah blah and everything worked
fine. i fixed a little bit of the report using mcedit and then ran it
through the app with a laser printer in the regular printer port in my
computer.
so, i ended up reinstalling slackware on another drive to fix X and
all and i copied my code and things over. reinstalled the kernel and
everything worked fine. or so i thought... since i only have
winprinters, i figured i'd print this thing off using my app. i
recompile it, run it, but /dev/lp0 doesn't work.
(on the same computer as before) i did:
[root@Meryl]$ echo "yes" > /dev/lp0
/dev/lp0: no such device
as far as i can remember, i reinstalled everything (slackware9,
kernel, etc.) the same way as before, and on the same computer, with
the same printer, but it just doesn't seem to work.
i even took my drive to another computer, with another printer, and
tried lp0, lp1, and lp2.. to no prevail.
not that it matters, but i'm running Slackware 9 with kernel
2.6-test9.
i went and reinstalled the kernel again insuring most of the parallel
port options were enabled, but it still didn't work
ideas?
[ Post a follow-up to this message ]
|