Re: [SLE] Can't Print
--- Graham Smith
David,
Have you tried again to cat /etc/princap > /dev.lp0 as set out below.
The only reason I asked to do an ls -l on /dev/lp0 was to ascertain if there were any strange links set up because as previously mentioned the cat command as shown directly outputs the file to the printer port bypassing all other software. So it is basically imposible to do what you said happened.
Please retry the commands as shown below and let us know what happens cat /etc/printcap > /dev/lp0
This gets nothing.
cat /etc/printcap > /dev/lp1.
This gets: bash: /dev/lp1: Device not configured What is this "cat" by the way?
Regards,
Graham Smith
---------------------------------- On 13-Mar-2000 Juergen Braukmann wrote:
David wrote:
yes exactly :s -l /dev/lp0 gets
crw-rw---- 1 root lp 6, 0Apr15 1999
/dev/lp0
Is that a good thing? David
That's perfectly normal. What Graham suggested is the basic test on "unwilling" devices: cat a file to it. Since it's connected to the printer, something is bound to happen.
i.e. try:
cat /etc/printcap > /dev/lp0
you should expect a "staicased" output like
-----8<---- # ### BEGIN apsfilter: ### PS_300dpi a4 mono 300 ###
Configured for
At some point it runs of the page, showing
lp0 *is* the correct device. Then it's time to think about the rest. Well if all fails it's trial and error with /dev/lp1.
Juergen
PS: If stuff is listed in the queue but doesn't print try (as root) "lpc up all"
--- Graham Smith
wrote: On 13-Mar-2000 David wrote:
doing what you suggest adds the file to
list
in lpq but the printer remains silent.
That does not make sense. The command cat <file> > /dev/lp0 writes directly to the port and bypasses
# Warning: that communication works and the the
lpr program altogether. What happens when you do an ls -l on /dev/lp0? You should see something like shown below.
ls -l /dev/lp0 crw-rw---- 1 root lp 6, 0 Dec 4 01:39 /dev/lp0
Regards,
Graham Smith
-- ===========================================
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On 14-Mar-2000 David wrote:
--- Graham Smith
wrote: David,
Have you tried again to cat /etc/princap > /dev.lp0 as set out below.
The only reason I asked to do an ls -l on /dev/lp0 was to ascertain if there were any strange links set up because as previously mentioned the cat command as shown directly outputs the file to the printer port bypassing all other software. So it is basically imposible to do what you said happened.
Please retry the commands as shown below and let us know what happens cat /etc/printcap > /dev/lp0
This gets nothing.
cat /etc/printcap > /dev/lp1.
This gets:
bash: /dev/lp1: Device not configured
Good we know it is connected to /dev/lp0 now and that the port is not functioning properly for some reason. What printer are you using? Have you checked to see if you can print from MS-Dos or Windows on this machine to the printer. I suppect that you have a hardware problem. Have you checked the cable?
What is this "cat" by the way?
man cat NAME cat - concatenate files and print on the standard output SYNOPSIS cat [OPTION] [FILE]... DESCRIPTION Concatenate FILE(s), or standard input, to standard output. Or put simply it prints a file to the screen unless redirected. Similiar to the 'type' command under DOS. Regards Graham Smith ____________________________________ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
dvalyou@yahoo.com
-
gqs@zip.com.au