Date: Sat, 18 Nov 2000 20:54:16 +0000 From: Tor Sigurdsson <tosi@suse.starf.rhi.hi.is> Message-ID: <20001118205416.B26233@dustpuppy.suse.starf.rhi.hi.is> Subject: Re: [SLE] Printing problem after upgrade to 7.0 Ehrm... SuSE does not use the /usr/spool link, it's only supplied for compatibility purposes. If you look at the correct location ( /var/lock and /var/spool/lock ) then you notice that the links are correct. ( /usr is by FHS not for spool files ) Also, a small typo by me, I meant /var/spool/lpd not /var/spool/lp :-) In /var/spool/lpd you should find one directory for each printer defined ( I'm using lprng but I assume lprold is the same - if in doubt, use lprng, it's in many aspects superior to lprold :-) The directories should look like this: /var/spool/lpd/remotehost-remoteprinter-remote: total 5 -rw-rw---- 1 lp lp 2084 Okt 30 17:19 acct -rw-r----- 1 lp lp 0 Okt 19 13:44 lock -rw-rw---- 1 lp lp 0 Okt 19 13:44 log -rw------- 1 lp lp 5 Okt 30 17:19 remote -rw-r----- 1 lp lp 0 Okt 19 13:44 status -rw------- 1 lp lp 5 Okt 30 17:19 unspooler.remote ( this is for a remote printer. the spooler mecanism should be similar or same for local printers ) Please, take my word for it, RedHat is in no way "better" and most certainly not better documented, as both of these are built frome the same sources. SuSE has done by far a superior job in documenting their distro, and for novice and intermediate users, SuSE is much more friendly than is RedHat. Being an RHCE and a long-time RedHat and SuSE user/manager/administrator/advocate, I'd like to think I know at least some of what I speak of ;-) If you have printer problems, and are using lprold, please consider un-installing lprold, installing lprng and give it another shot. A note to SuSE : PLEASE PLEASE stop making lprold the default ! Use lprng or license CUPS/ESP Regards, Tor Sigurdsson <p>On Sat, Nov 18, 2000 at 04:05:53PM +0100, Guido Milanese wrote:
On 18-Nov-00 Tor Sigurdsson wrote:
Hi,
To solve your problem, send the output of the following:
cat /etc/printcap cat
and
ls -lR /var/spool/lp
Here is the output of cat /etc/printcap
### BEGIN apsfilter: ### ljet3 a4 mono 300 ### # Warning: Configured for apsfilter, do not edit the labels! # apsfilter setup Sun Nov 12 23:34:03 CET 2000 # ascii|lp1|ljet3-a4-ascii-mono-300|ljet3 a4 ascii mb ono 300:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/ljet3-a4-ascii-mono-300:\ :lf=/var/spool/lpd/ljet3-a4-ascii-mono-300/log:\ :af=/var/spool/lpd/ljet3-a4-ascii-mono-300/acct:\ :if=/var/lib/apsfilter/bin/ljet3-a4-ascii-mono-300:\ :la@:mx#0:\ :tr=:cl:sh:sf: # lp|lp2|ljet3-a4-auto-mono-300|ljet3 a4 auto mono 300:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/ljet3-a4-auto-mono-300:\ :lf=/var/spool/lpd/ljet3-a4-auto-mono-300/log:\ :af=/var/spool/lpd/ljet3-a4-auto-mono-300/acct:\ :if=/var/lib/apsfilter/bin/ljet3-a4-auto-mono-300:\ :la@:mx#0:\ :tr=:cl:sh:sf: # raw|lp3|ljet3-a4-raw|ljet3 a4 raw:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/ljet3-a4-raw:\ :lf=/var/spool/lpd/ljet3-a4-raw/log:\ :af=/var/spool/lpd/ljet3-a4-raw/acct:\ :if=/var/lib/apsfilter/bin/ljet3-a4-raw:\ :la@:mx#0:\ :tr=:cl:sh:sf: # ### END apsfilter: ### ljet3 a4 mono 300 ###
In my system I do not have any /var/spool/lp file. There is a /var/spool/lp1, which is apparently empty. This is the output:
/var/spool/lp1/: total 0
This may be the result of my attempt to install the printer again, as the SuSE support suggested me to do.
I have also these permissions for the /usr/spool/locks:
ls -lR spool/locks lrwxrwxrwx 1 root root 7 feb 7 2000 spool/locks -> ../lock
that are wrong.
Many thanks for your help. I am seriously considering to abandon SuSE and install RedHat. It seems better documented. Besides that, I tried to tell to these folks of SuSE-Italy that, as a university professor, I have a remarkable influence in the choice of OS, and i was suggesting SuSE -- but they are apparently ignoring the point: one pays for support!
Thanks again, Guido, from Genova, Italy
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 18-Nov-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- ______ /---------------------------------------\ \ | Þór Sigurðsson | Tor Sigurdsson | t | | Netmaður | Network Specialist | o | |-----------------------------------------| s | | tosi@rhi.hi.is | i | \---------------------------------------/_____/
Message-ID: <XFMail.001201123241.gmilanese@mclink.it> Date: Fri, 01 Dec 2000 12:32:41 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 Dear listmembers, a couple of weeks ago I posted a request concerning my problems of printing after upgrading to SuSE 7.0 (I would NEVER do it again! how many troubles for nothing more!). I waited before writing again to you, because I sent again a help request to SuSE. Since I had no answer, I take again the liberty to ask you if you can help me -- a computer without a printer is almost useless! As suggested by some kind listmembers, I installed again the printer using Yast2. The "Hello wourld" page comes out correctly. Then the pritner (a very common HPLj3) is apparently installed correctly. But after that, what I get after trying to print with lpr -Pprinter1 moglie.txt is no printout and this message: lpr -Pprinter1 ~/moglie.txt Dec 1 12:19:15 pentiumiii lpr printer1: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'printer1', job 2, rank: 2nd. "Pipe rotta" is the Italian for "broken pipe". A lpq command outputs : Local printer 'printer1' on pentiumiii.miarete: Warning: queue is not active (no server present). Rank Owner Pr Job Host Files % Form Size Time 1st guido X 1 pentiumiii /home/guido/moglie... - 6.5K 12:09 2nd guido X 2 pentiumiii /home/guido/moglie... - 6.5K 12:19 what on earth is happening? This "printer1" is the default name given by Yast2. I did not change it because I have only one printer, can call it with any name. But why "no server present"? Should I delete all of the contents of the spool directory? Or should I install everything from scratch? I am very upset with SuSE. I think I will back up my files, erase everything in the Linux partition and install Corel. I am also sorry because, since I teach in an educational department, I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it. Best regards, and thanks anyway! g. ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Message-ID: <3A27A481.1874C6A5@gplvpartners.com> Date: Fri, 01 Dec 2000 12:15:45 +0000 From: Stefano Papini <stefano.papini@gplvpartners.com> Subject: Re: [SLE] Printing problem after upgrade to 7.0 Ciao Guido and SuSErs, I welcome you in Italian, as I'm italian too. Well, I didn't upgrade to SuSE7 because I have a fast internet connection and can upgrade my packages and my sources and cook my apps by mydelf. Anyway the demo I got at SMAU (one of the most important Italian IT expo) was really disappointing. For example, the 4/5 PC hosting SuSE were stupid win machines running /umsdos. So, just to save 10' installation on each PC, an hour, the potential customer experimented awfully slow SuSE systems! ... even for a ls...! I guess that many things should be discussed in Open Source marketing...! I can't help with your printing pb. but I want to make you avoid Corel linux, which has been rated as quiet un-trustable by several linux magazines.
I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it.
This list (although wonderful) is sadly THE ONLY SUPPORT AVAILABLE IN ITALY for SuSE. The italian distributors I experienced didn't give ANY added value and so keep on doing the italian translations. Again I think of a marketing issue! I already stressed these facts since 5.3 and obtained only a lot of quarrelling from some really unpolite guy supposed to work on translations. So, I only buy english versions. Regardless of typos, Italian version seem to be written by somebody totally external to tech subjects. Best regards, Stefano <p>Guido Milanese wrote:
Dear listmembers,
a couple of weeks ago I posted a request concerning my problems of printing after upgrading to SuSE 7.0 (I would NEVER do it again! how many troubles for nothing more!). I waited before writing again to you, because I sent again a help request to SuSE. Since I had no answer, I take again the liberty to ask you if you can help me -- a computer without a printer is almost useless!
As suggested by some kind listmembers, I installed again the printer using Yast2. The "Hello wourld" page comes out correctly. Then the pritner (a very common HPLj3) is apparently installed correctly. But after that, what I get after trying to print with
lpr -Pprinter1 moglie.txt
is no printout and this message:
lpr -Pprinter1 ~/moglie.txt Dec 1 12:19:15 pentiumiii lpr printer1: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'printer1', job 2, rank: 2nd.
"Pipe rotta" is the Italian for "broken pipe".
A lpq command outputs :
Local printer 'printer1' on pentiumiii.miarete: Warning: queue is not active (no server present). Rank Owner Pr Job Host Files % Form Size Time 1st guido X 1 pentiumiii /home/guido/moglie... - 6.5K 12:09 2nd guido X 2 pentiumiii /home/guido/moglie... - 6.5K 12:19
what on earth is happening? This "printer1" is the default name given by Yast2. I did not change it because I have only one printer, can call it with any name. But why "no server present"? Should I delete all of the contents of the spool directory? Or should I install everything from scratch?
I am very upset with SuSE. I think I will back up my files, erase everything in the Linux partition and install Corel. I am also sorry because, since I teach in an educational department, I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it.
Best regards, and thanks anyway! g.
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- 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/faq
Message-ID: <XFMail.001201235923.gmilanese@mclink.it> Date: Fri, 01 Dec 2000 23:59:23 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 01-Dec-00 Stefano Papini wrote:
This list (although wonderful) is sadly THE ONLY SUPPORT AVAILABLE IN ITALY for SuSE. The italian distributors I experienced didn't give ANY added value and so keep on doing the italian translations. Again I think of a marketing issue! yes, me too.
I already stressed these facts since 5.3 and obtained only a lot of quarrelling from some really unpolite guy supposed to work on translations. same happened to me. i think that if i will still use SuSE (which I doubt very much) I will but on the Internet the Engish version or the German one.
cheers, g. ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
From: Niels Stenhoj <stenhoj@adr.dk> Date: Fri, 1 Dec 2000 16:33:28 +0100 Message-Id: <00120116332800.01076@linux> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On Fri, 01 Dec 2000, you wrote:
I am very upset with SuSE. I think I will back up my files, erase everything in the Linux partition and install Corel. I am also sorry because, since I teach in an educational department, I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it.
I'd rather recommend reinstalling 6.4. The Corel distro looks good on the polished surface, but it's rather tricky to set up if you wish work normally, and then of course, it lacks the large amount of packages. On the other hand I aggree with you that the printer setup is unsmart in 7.0. Cheers, Niels
From: Cliff Sarginson <cliff@raggedclown.net> Date: Fri, 1 Dec 2000 17:41:27 +0100 Message-Id: <00120117412700.02179@buffy> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On Friday 01 December 2000 12:32, Guido Milanese wrote:
Dear listmembers,
a couple of weeks ago I posted a request concerning my problems of printing after upgrading to SuSE 7.0 (I would NEVER do it again! how many troubles for nothing more!). I waited before writing again to you, because I sent again a help request to SuSE. Since I had no answer, I take again the liberty to ask you if you can help me -- a computer without a printer is almost useless!
A Message for SuSE. Firstly did you register your copy of Suse linux with them If you dont do that your support requests are silently ignored. If you did register it, did you get an automated acknowledgment from them of your support request. If you did register and got an acknowledgement then they are obliged under their 60 day support to help you, it explicitly states in section A.1.2 of the Suse manual that installation support covers local printing. If you got no acknowledgment then maybe your registration is not on their system. Bother them with this. Their support is so minimimalistic anyway, takes an age to get anything out of them, and the information is often wrong, or of the sledge-hammer variety. But they should be pressured into providing it. I hope SuSE is listening to this. Having once got an apology from their support for a 2 week delay in a reply to a message from me, on grounds that they were overwhelmed after the release of Suse 7 and understaffed to cope with it, I think the management of Suse should take a long honest look at their advertising. 60 day support means squat if you wait 15 days for a near-useless response. Suse is not a bad distribution, but they over-hype themselves and are in danger of becoming box-shifters. And I agree if they cannot have their non-german language documentation checked by a native speaker they should seriously consider what a bad impression this makes in their non-German speaking sales areas. Their handbook is in many ways excellent, but even the English version also suffers from obviously not having been proof read by a native English speaker. Much of the online documenatation suffers from this in an even bigger way. Comments in rc.config are often particularly oblique. Of course excellent advice is available on this list from people who have worked out how to get things working. Since this is effectively a cost-free support service for SuSE, they should take note of what is said on it ! Ok. End of sermon :) As for your printer problem. Get rid of all traces of the printer installation. You can do this by brute force, or I believe you can do it through the SETUP program that comes with apsfilter. With SETUP you may have more luck installing it as well. Good Luck Cliff
As suggested by some kind listmembers, I installed again the printer using Yast2. The "Hello wourld" page comes out correctly. Then the pritner (a very common HPLj3) is apparently installed correctly. But after that, what I get after trying to print with
lpr -Pprinter1 moglie.txt
is no printout and this message:
lpr -Pprinter1 ~/moglie.txt Dec 1 12:19:15 pentiumiii lpr printer1: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'printer1', job 2, rank: 2nd.
"Pipe rotta" is the Italian for "broken pipe".
A lpq command outputs :
Local printer 'printer1' on pentiumiii.miarete: Warning: queue is not active (no server present). Rank Owner Pr Job Host Files % Form Size Time 1st guido X 1 pentiumiii /home/guido/moglie... - 6.5K 12:09 2nd guido X 2 pentiumiii /home/guido/moglie... - 6.5K 12:19
what on earth is happening? This "printer1" is the default name given by Yast2. I did not change it because I have only one printer, can call it with any name. But why "no server present"? Should I delete all of the contents of the spool directory? Or should I install everything from scratch?
I am very upset with SuSE. I think I will back up my files, erase everything in the Linux partition and install Corel. I am also sorry because, since I teach in an educational department, I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it.
Best regards, and thanks anyway! g.
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Message-ID: <XFMail.001201235930.gmilanese@mclink.it> Date: Fri, 01 Dec 2000 23:59:30 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 01-Dec-00 Cliff Sarginson wrote:
A Message for SuSE.
Firstly did you register your copy of Suse linux with them yes I did. I received a first answer, but it was totally useless and clearly nonsense -- they told me to look for a better driver: for a HPLJIIIp, better for archaeology than for computing! So I replied, saying something like: please send me a real answer, not this rubbish -- no answer at this stage...
[...]
Ok. End of sermon :)
As for your printer problem. Get rid of all traces of the printer installation. You can do this by brute force, how? deleting all the spool directory?
or I believe you can do it through the SETUP program that comes with apsfilter. With SETUP you may have more luck installing it as well. tried it, no change.
It seems to me that the clue must be in that "broken pipe" message. Why a broken pipe? lpr -Pprinter1 ~/moglie.txt Dec 1 12:19:15 pentiumiii lpr printer1: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'printer1', job 2, rank: 2nd. "Pipe rotta" is the Italian for "broken pipe". is there still hope? g. ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Message-ID: <3A285DF7.A35902DF@halenet.com.au> Date: Sat, 02 Dec 2000 12:27:03 +1000 From: Don Hansford <donh@halenet.com.au> Subject: Re: [SLE] Printing problem after upgrade to 7.0 Guido Try (as root) /var/lib/apsfilter/SETUP Delete existing printer file Then install the printer you want from the list Yast2 couldn't find my printer (LJ1100), but apsfilter set it up OK. For anyone with this printer, I used the LJ4dith driver. Works like a charm! HTH -- This Email is 100% Virus Free! How do I know? Because no Microsoft products were used to generate it! Regards Don Hansford ECKYTECH COMPUTING/ SQIT Warwick <SuSE Linux 6.4> "We're tired, we're wired, and our breath smells bad -- -But at least our Operating System doesn't suck!"
Message-ID: <XFMail.001202233315.gmilanese@mclink.it> Date: Sat, 02 Dec 2000 23:33:15 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 Sorry to bother you again with this printing problem. Before leaving Suse and installing another distribution (a friend suggest Mandrake as basically more reliable) I think I may try, with your kind help, a "final step". I tried *all* the suggestion of listmembers, including a new installation of 7.0. No change. From a lpq -a command I still get the "no spooling, no printing" answer. Looking in /var/spool/mail/guido (or /var/spool/mail/root) I read the same kind of message: "Your printer job (/home/guido/moglie.txt ) was not printed because it was not linked to the original file" What may this mean? thanks again for a rather furious Italian user... ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 02-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
From: Jerry Kreps <jerrykreps@jlkreps.net> Date: Sat, 2 Dec 2000 16:54:39 -0600 Message-Id: <00120216543900.23395@JLKreps> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On Saturday 02 December 2000 16:33, Guido Milanese wrote:
Sorry to bother you again with this printing problem. Before leaving Suse and installing another distribution (a friend suggest Mandrake as basically more reliable) I think I may try, with your kind help, a "final step".
SuSE 7 uses modules to load drivers. do a "cat /proc/modules" to see if lp is listed among the installed modules. If not then su to root and do "modprobe lp". If your printer is on, and online, you should hear it cycle when the lp module loads. Redo the "cat /proc/modules" and you will see lp and some associated modules listed. You can add "modprobe lp" to boot.local, so it will load the next time you reboot, then exit root and return to your user account. JLK <p>>
I tried *all* the suggestion of listmembers, including a new installation of 7.0. No change. From a lpq -a command I still get the "no spooling, no printing" answer.
Looking in /var/spool/mail/guido (or /var/spool/mail/root) I read the same kind of message:
"Your printer job (/home/guido/moglie.txt ) was not printed because it was not linked to the original file"
What may this mean? thanks again for a rather furious Italian user...
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 02-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- Scientific theories, according to Sir Karl Popper, can be "falsified," or proven wrong, by experiment. Unscientific theories -Marxist dialectical history and Freudian psychology were Popper's favorites- are formed in such a way that they cannot be falsified by data.
Message-ID: <XFMail.001203000025.gmilanese@mclink.it> Date: Sun, 03 Dec 2000 00:00:25 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 02-Dec-00 Jerry Kreps wrote:
SuSE 7 uses modules to load drivers. do a "cat /proc/modules" to see if lp is listed among the installed modules. OK, it was not installed.
If not then su to root and do "modprobe lp". Did it. Now there are several new lines, including printcap, and this crucial one:
lp 5476 0 (unused) is it correct?
If your printer is on, and online, you should hear it cycle when the lp module loads. No noise at all...
Redo the "cat /proc/modules" and you will see lp and some associated modules listed. OK. But when I try to print, I now obtain this message:
lpr: fatal error: no printcap entry for printer lp I also tried with lpr filename -Pljet3 but the answer is always the same. this is driving me crazy... thanks! <p>------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 02-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Date: Sat, 2 Dec 2000 15:39:56 -0800 From: Ben Rosenberg <brosenb@suse.com> Message-ID: <20001202153956.A18065@suse.com> Subject: Re: [SLE] Printing problem after upgrade to 7.0 It appears you are on the right track. Now log in as root..open YaST2 and launch the printer module so it can be configured. You should be able to get it working in YaST2. * Guido Milanese (gmilanese@mclink.it) [001202 15:08]: -**-On 02-Dec-00 Jerry Kreps wrote: -**- -**-> SuSE 7 uses modules to load drivers. -**-> do a "cat /proc/modules" to see if lp is listed among the installed -**-> modules. -**-OK, it was not installed. -**- -**-> If not then su to root and do "modprobe lp". -**-Did it. Now there are several new lines, including printcap, and this -**-crucial one: -**- -**-lp 5476 0 (unused) -**- -**-is it correct? -**- -**-> If your printer is on, and online, you should hear it cycle when the -**-> lp module loads. -**-No noise at all... -**- -**-> Redo the "cat /proc/modules" and you will see lp and some -**-> associated modules listed. -**-OK. But when I try to print, I now obtain this message: -**- -**-lpr: fatal error: no printcap entry for printer lp -**- -**-I also tried with -**- -**-lpr filename -Pljet3 -**- -**-but the answer is always the same. -**- -**-this is driving me crazy... -**- -**-thanks! -**- -**- -**-------------------------------------------- -**-E-Mail: Guido Milanese <gmilanese@mclink.it> -**-Homepage: http://fly.to/arsantiqua -**-02-Dec-00 - XFMail on Linux -**-+ + + + + + NON NOBIS DOMINE + + + + + + -**-------------------------------------------- -**- -**--- -**-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/faq -**- -- Benjamin Rosenberg The Linux Experts :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: SuSE Inc. Tel: +1-510-628-3380 ext:5086 580 Second St Suite 210 Fax: +1-510-835-3381 Suite 210 mailto:brosenb@suse.com Oakland CA 94607 U.S.A http://www.suse.com :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: If two men agree on everything, you may be sure that only one of them is doing the thinking. --LBJ "My opinions are not a reflection of the opinions of SuSE Inc."
From: Jerry Kreps <jerrykreps@jlkreps.net> Date: Sat, 2 Dec 2000 19:56:19 -0600 Message-Id: <00120219561900.23751@JLKreps> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On Saturday 02 December 2000 17:00, Guido Milanese wrote:
On 02-Dec-00 Jerry Kreps wrote:
SuSE 7 uses modules to load drivers. do a "cat /proc/modules" to see if lp is listed among the installed modules.
OK, it was not installed.
If not then su to root and do "modprobe lp".
Did it. Now there are several new lines, including printcap, and this crucial one:
lp 5476 0 (unused)
is it correct?
Yup!
If your printer is on, and online, you should hear it cycle when the lp module loads.
No noise at all...
You must have a laser printer..... ;-)
Redo the "cat /proc/modules" and you will see lp and some associated modules listed.
OK. But when I try to print, I now obtain this message:
lpr: fatal error: no printcap entry for printer lp
I also tried with
lpr filename -Pljet3
but the answer is always the same.
this is driving me crazy...
thanks!
No need to go insane! Now you have to configure the printcap file... Run YaST and select the 'Configure Hardware" option, which leads to the option to configure the printer, or run YaST2 and chose the 'Configure the Printer" button. BTW, I've tried Mandrake 7.1... It has a nice GUI install program, after that it is just RH. SuSE's got it beat a country mile. JLK <p>>
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 02-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- Scientific theories, according to Sir Karl Popper, can be "falsified," or proven wrong, by experiment. Unscientific theories -Marxist dialectical history and Freudian psychology were Popper's favorites- are formed in such a way that they cannot be falsified by data.
Message-ID: <XFMail.001203135211.gmilanese@mclink.it> Date: Sun, 03 Dec 2000 13:52:11 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 03-Dec-00 Jerry Kreps wrote:
No need to go insane! Now you have to configure the printcap file... Run YaST and select the 'Configure Hardware" option, which leads to the option to configure the printer, or run YaST2 and chose the 'Configure the Printer" button.
Thanks -- did it. Always the same answer: installing with yast2, the hello world statement is sent correctly, but the test page is not printed. From command line, lpq gives: Local printer 'lp' on pentiumiii.miarete: no spooling, no printing and lpr sometimes (not always) returns this info: illegal ack code '': Pipe rotta "Pipe rotta" = "broken pipe" not very nice indeed.... I also tried: cat moglie.txt | lpr -Pascii and this gave as output: cat moglie.txt | lpr -Pascii Dec 3 12:10:00 pentiumiii lpr ascii: Readlockfile: cannot open/create lock file '/var/spool/lpd/ljet3-a4-ascii-mono-300/lock': Permesso negato "Permesso negato" = permission denied I was logged as root. The permissions of the lock file are: -rw-r--r-- 1 root root 5 dic 3 11:42 /var/spool/lpd/ljet3-a4-ascii-mono-300/lock Permissions of the other lock files: /var/spool/lpd/ljet3-a4-auto-mono-300/lock -rwxrwxrwx 1 root root 5 nov 9 09:59 lock which seems wrong to me: I changed to -rw-r--r-- 1 root root but nothing changed -- still the message Readlockfile: cannot open/create lock file '/var/spool/lpd/ljet3-a4-auto-mono-300/lock': Permesso negato /var/spool/lpd/ljet3-a4-raw/lock -rw-r--r-- 1 root root 5 dic 3 11:42 lock To be sure, I also installed through yast. The problem is not, I think, in the printcap configuration: did it also manually using SETUP, but no change happened. There must be something wrong in the lock files permissions ore something like that -- why this "no spooling" message? I am rather confused, sorry to be such a nuisance to the list. But I promise that, if all of this ends well, I will post a detailed message with the whole story -- may be helpful to other people. Best regards from Italy! g. ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 03-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Date: Sun, 3 Dec 2000 13:52:46 +0000 From: Tor Sigurdsson <tosi@suse.starf.rhi.hi.is> Message-ID: <20001203135246.D19749@dustpuppy.suse.starf.rhi.hi.is> Subject: Re: [SLE] Printing problem after upgrade to 7.0 do: chown -R lp:lp /var/spool/lpd rclpd restart The line printer daemon runs at the demoted level of lp, and as root owns all the control-files, lp can't change those files. -tosi On Sun, Dec 03, 2000 at 01:52:11PM +0100, Guido Milanese wrote:
On 03-Dec-00 Jerry Kreps wrote:
No need to go insane! Now you have to configure the printcap file... Run YaST and select the 'Configure Hardware" option, which leads to the option to configure the printer, or run YaST2 and chose the 'Configure the Printer" button.
Thanks -- did it. Always the same answer: installing with yast2, the hello world statement is sent correctly, but the test page is not printed. From command line, lpq gives:
Local printer 'lp' on pentiumiii.miarete: no spooling, no printing
and lpr sometimes (not always) returns this info:
illegal ack code '': Pipe rotta
"Pipe rotta" = "broken pipe"
not very nice indeed....
I also tried:
cat moglie.txt | lpr -Pascii
and this gave as output:
cat moglie.txt | lpr -Pascii
Dec 3 12:10:00 pentiumiii lpr ascii: Readlockfile: cannot open/create lock file '/var/spool/lpd/ljet3-a4-ascii-mono-300/lock': Permesso negato
"Permesso negato" = permission denied
I was logged as root. The permissions of the lock file are:
-rw-r--r-- 1 root root 5 dic 3 11:42 /var/spool/lpd/ljet3-a4-ascii-mono-300/lock
Permissions of the other lock files: /var/spool/lpd/ljet3-a4-auto-mono-300/lock
-rwxrwxrwx 1 root root 5 nov 9 09:59 lock
which seems wrong to me: I changed to -rw-r--r-- 1 root root but nothing changed -- still the message Readlockfile: cannot open/create lock file '/var/spool/lpd/ljet3-a4-auto-mono-300/lock': Permesso negato
/var/spool/lpd/ljet3-a4-raw/lock -rw-r--r-- 1 root root 5 dic 3 11:42 lock
To be sure, I also installed through yast. The problem is not, I think, in the printcap configuration: did it also manually using SETUP, but no change happened. There must be something wrong in the lock files permissions ore something like that -- why this "no spooling" message?
I am rather confused, sorry to be such a nuisance to the list. But I promise that, if all of this ends well, I will post a detailed message with the whole story -- may be helpful to other people.
Best regards from Italy! g.
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 03-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- 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/faq
-- ______ /---------------------------------------\ \ | Þór Sigurðsson | Tor Sigurdsson | t | | Netmaður | Network Specialist | o | |-----------------------------------------| s | | tosi@rhi.hi.is | i | \---------------------------------------/_____/
Message-ID: <XFMail.001203163914.gmilanese@mclink.it> Date: Sun, 03 Dec 2000 16:39:14 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 03-Dec-00 Tor Sigurdsson wrote:
do:
chown -R lp:lp /var/spool/lpd rclpd restart
The line printer daemon runs at the demoted level of lp, and as root owns all the control-files, lp can't change those files.
Thanks. After the changes you suggested were done, the printer printed the queued files. However, even now, if I try to print anything with lpr, I get the -- alas! -- usual message: Dec 3 16:14:55 pentiumiii lpr lp: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'lp', job 768, rank: 1st. Pipe rotta = broken pipe. This is the very same message I had at the beginning of this unpleasant story. The printer driver is the same I had been using for 2 years now, ljet3, so there is, I think, no driver problem. Broken pipe, in this case, means (SuSE Italy told me in their otherwise useless answer) that the printing process is ended before being completed. But why? and why the queued files were correctly printed? thanks you all, g. ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 03-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
From: juergen.braukmann@ruhr-west.de Message-ID: <3A2E9B75.31B3AD71@ruhr-west.de> Date: Wed, 06 Dec 2000 21:03:01 +0100 Subject: Re: [SLE] Printing problem after upgrade to 7.0 Guido Milanese wrote:
On 03-Dec-00 Tor Sigurdsson wrote:
Hi Guido, I do not know wether I prior replyed to that thread, I have still a few hundred messages left to go through... I was seeing similar problems, and I was [censored] with SuSE support on that matter. After investigating a few days, it was a permission problem on /etc/rc.config (660 root.root). Apsfilter sources /etc/rc.config to find out wether a2ps is used or something else. That failed for the obvious reason of permissions, wereas I could happy print i.e. postscript files as normal user, everything but text. changing these permissions cured it. Juergen <p>> > do:
chown -R lp:lp /var/spool/lpd rclpd restart
The line printer daemon runs at the demoted level of lp, and as root owns all the control-files, lp can't change those files.
Thanks. After the changes you suggested were done, the printer printed the queued files. However, even now, if I try to print anything with lpr, I get the -- alas! -- usual message:
Dec 3 16:14:55 pentiumiii lpr lp: remote host pentiumiii.miarete: illegal ack code '$?@': Pipe rotta Your print job has been sent to printer 'lp', job 768, rank: 1st.
Pipe rotta = broken pipe.
This is the very same message I had at the beginning of this unpleasant story. The printer driver is the same I had been using for 2 years now, ljet3, so there is, I think, no driver problem. Broken pipe, in this case, means (SuSE Italy told me in their otherwise useless answer) that the printing process is ended before being completed. But why? and why the queued files were correctly printed?
thanks you all, g.
-- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
Message-ID: <XFMail.001207152753.gmilanese@mclink.it> Date: Thu, 07 Dec 2000 15:27:53 +0100 (CET) From: Guido Milanese <gmilanese@mclink.it> Subject: Re: [SLE] Printing problem after upgrade to 7.0 On 03-Dec-00 Tor Sigurdsson wrote: [...] and gave me some useful advice apropos of my printing problem after upgrade to SuSE 7.0. I was away (abroad) for some days, in a totally windows-ized university. Now I tried again. I deleted all the /etc/printcap.* entries. Now the test page (Testseite) is correctly printed by Yast2, but afterwards pages are not printed. The lpq -a command answers: Local printer 'lp' on pentiumiii.miarete: Warning: queue is not active (no server present). what is the meaning of this "no server present"? Why "no server present"? when I try lpr, the answer is again: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'lp', job 2, rank: 1st. Pipe rotta = broken pipe Hope someone will be kind again and help me. In fact this is my final attempt. After 21 days, I received a note from the Italian SuSE office, but their answer was again rubblish. May this has something to do with a spooler problem I heard of (new version -- old version?) thanks a lot! guido from italy (again: I was in the UK for 3 days...) ------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 07-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
Message-Id: <5.0.0.25.1.20001201134217.026dcaf0@popmail.i-2000.com> Date: Fri, 01 Dec 2000 13:53:39 -0500 From: Doug McGarrett <dougmack@i-2000.com> Subject: Re: [SLE] Printing problem after upgrade to 7.0 I too had printer problems "out of the box." As per someone on this list, I found the file that has the printer setup info (I forget its name now) and deleted the whole file. Then I went to YAST2 and set it up again, and for some reason it now works properly. (It not only printed the test message, but also an email. Before, it printed the test message, but anything else came out as many, many pages of garbage.) If my previous request for help is archived, the thread is "frustrated." That's where the answer was posted. It was near the end of the thread. (I also got sound to work with some kind reader's assistance. Thanx to all who have helped!) --doug English manuals do exist for SuSE, but I'm not sure how you would get them in Italy. They're pretty decent, also. Maybe they can be downloaded? At 12:32 PM 12/01/2000 +0100, you wrote:
Dear listmembers,
a couple of weeks ago I posted a request concerning my problems of printing after upgrading to SuSE 7.0 (I would NEVER do it again! how many troubles for nothing more!). I waited before writing again to you, because I sent again a help request to SuSE. Since I had no answer, I take again the liberty to ask you if you can help me -- a computer without a printer is almost useless!
As suggested by some kind listmembers, I installed again the printer using Yast2. The "Hello wourld" page comes out correctly. Then the pritner (a very common HPLj3) is apparently installed correctly. But after that, what I get after trying to print with
lpr -Pprinter1 moglie.txt
is no printout and this message:
lpr -Pprinter1 ~/moglie.txt Dec 1 12:19:15 pentiumiii lpr printer1: remote host pentiumiii.miarete: illegal ack code '$@': Pipe rotta Your print job has been sent to printer 'printer1', job 2, rank: 2nd.
"Pipe rotta" is the Italian for "broken pipe".
A lpq command outputs :
Local printer 'printer1' on pentiumiii.miarete: Warning: queue is not active (no server present). Rank Owner Pr Job Host Files % Form Size Time 1st guido X 1 pentiumiii /home/guido/moglie... - 6.5K 12:09 2nd guido X 2 pentiumiii /home/guido/moglie... - 6.5K 12:19
what on earth is happening? This "printer1" is the default name given by Yast2. I did not change it because I have only one printer, can call it with any name. But why "no server present"? Should I delete all of the contents of the spool directory? Or should I install everything from scratch?
I am very upset with SuSE. I think I will back up my files, erase everything in the Linux partition and install Corel. I am also sorry because, since I teach in an educational department, I was thinking to start a big campaing for Open Source and so on in Italian schools -- but how can I do it, if paid support offered by the most popular Linux distribution in Italy is so weak? Besides that, I tried to persuade the SuSE support to print their manual in English if not in German -- their Italian is so horrible that I often must translate it back to German in order to understand it.
Best regards, and thanks anyway! g.
------------------------------------------- E-Mail: Guido Milanese <gmilanese@mclink.it> Homepage: http://fly.to/arsantiqua 01-Dec-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + -------------------------------------------
-- 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/faq
participants (10)
-
brosenb@suse.com
-
cliff@raggedclown.net
-
donh@halenet.com.au
-
dougmack@i-2000.com
-
gmilanese@mclink.it
-
jerrykreps@jlkreps.net
-
juergen.braukmann@ruhr-west.de
-
stefano.papini@gplvpartners.com
-
stenhoj@adr.dk
-
tosi@suse.starf.rhi.hi.is