View previous topic :: View next topic |
Author |
Message |
bigjohn Guru
Joined: 30 Nov 2003 Posts: 317 Location: 5100N, 0019W
|
Posted: Tue May 25, 2004 9:25 pm Post subject: printers and stuff |
|
|
working through the gentoo printing guide when I come across this
Quote: | Parallel Port Modules
To enable Parallel port support, go to Parallel port support and enable Parallel port support and PC-style hardware. Depending on your printer you also have to activate Multi-IO cards (parallel and serial), Support for foreign hardware and IEEE 1284 transfer mode. Then go to Character devices and enable Parallel Printer Support. Users of 2.6 kernels will find these options under Device Drivers.
|
Which is all well and good, but how do I "go to Parallel port support" if I don't know how to get there in the first place?
regards
John _________________ How to read manpages
rute users handbook
Take care with "emerge -U" |
|
Back to top |
|
|
sak102010 Tux's lil' helper
Joined: 08 Jun 2003 Posts: 82
|
Posted: Wed May 26, 2004 2:44 am Post subject: |
|
|
I think what the author is referring to is building the appropriate modules in the kernel. I had to do a little searching with a 2.6 kernel in menuconfig, so the location of the parallel port modules is probably different depending on what your kernel is.
Hope that helps... _________________ Thanks,
Sak |
|
Back to top |
|
|
bigjohn Guru
Joined: 30 Nov 2003 Posts: 317 Location: 5100N, 0019W
|
|
Back to top |
|
|
sak102010 Tux's lil' helper
Joined: 08 Jun 2003 Posts: 82
|
Posted: Thu May 27, 2004 5:44 am Post subject: |
|
|
Hmmm, after I built in the parallel port stuff into the kernel, I just did the code listing 2.7 from the gentoo printing guide ...
Code: |
# touch test.txt
# echo "Hello World" > test.txt
# cat test.txt > /dev/lp0
|
It should just work, output directly to the connected printer as a line-printer, which just prints to paper what you'd see on a console. i.e. you'll have to eject the page manually. I didn't get anything showing up in /var/log/messages, like the printing guide describes either, but it just worked for me.
From there, you can look up the drivers and stuff to get formatted, postscript printing working through cups, etc. Hope that helps... _________________ Thanks,
Sak |
|
Back to top |
|
|
|