Karim:
>Re: Printing problems.
>Greetings,
>I have setup all the necessary file permissions, files which the
>spool needs, and edited the printcap. When I issue the 'lpr'
>command; file inclusive, the printer becomes active but no characters
>appear on the sheet just 'ejected' from the printer; just a plain
>sheet.
>Someone mentioned that the input filter may be the problem. So,
>I deleted the printcap entry ':if=...'. Yet, the problem still
>persisted.
>I have even issued the command 'ls -l > /dev/lp1'; same problem.
>Could the problem be the file and/or directory permissions? Any
>information will be appreciated...
to the spooling mechanism and file permissions! There is something not
working between Linux and the printer: For some reason, your printer is not
printing out plain ASCII that is being sent to it.
Here are a couple things you should check for:
- Is your printer set up to print ASCII? Some printers, especially PostScript
printers, have to have an option turned on from their menu to let them
autosense between plain ASCII and PostScript files and react accordingly.
To check this, try "copy autoexec.bat lpt1:" from DOS and see if the ASCII
file prints correctly. If it doesn't, then that's probably your problem.
- Are you using polling or interrupts to print? If you are using interrupts,
are they correct? The command "tunelp" under Linux will let you set these.
In general, polling tends to be the more conservative method (works with
most printer setups) than interrupts, but interrupts are more efficient.
StEpHaN!
--
Stephan Jou | "The best thing for being sad," replied Merlyn,