LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2004, 02:40 PM   #31
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30

http://127.0.0.1:631/

Last edited by karlan; 11-08-2004 at 02:41 PM.
 
Old 11-09-2004, 11:07 AM   #32
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks Aeoruk

Good tip!
It is very useful to access locahost631 from a kernel, espectially as root. Saves a lot of time going back and forth from the kernl to a webpage, and vice versa.

An inexplicable thing I have now discovered is that kprinter, the standalone system, will not work if I stop CUPS running.
I was thinking that if I removed or disabled CUPS, I could get kprinter back working perfectly. Doesn't appear so.

Apparently from 9,1 on you have to use CUPS, and using LPRng is only done with difficulty.

I am now just waiting for Xris718 to get back on to complete his suggestion.

Ciao for now

273chris
 
Old 11-09-2004, 11:07 AM   #33
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the link Karlan!

273chris
 
Old 11-13-2004, 06:39 AM   #34
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi Xris718

I hope you are still around. I have brought these questions forward and pasted them here because I hope you might check the end of the thread. I still want to try your suggestions, because the situation still has not resolved itself fully and I typically get 2 perfect pages and then the printer hesitates in the middle of the 3rd page, aborts, and then prints garbage.
Printing from Open Office, I select print, and a print dialog box comes up, but no CUPS dialog box/window comes up. I have discovered the printer selected can be either 'Generic' or 'kprinter', it does not matter. I press the OK button and the printer will obey the command, but only print two pages in a row. The third is aborted, etc.

I am unsure of how to proceed with your last instruction:

I get to the part where I have gone into pico mime.convs
and pressed ctrl W (for Where is) and entered the following as you said:
# application/octet- stream application/vnd.cups-raw 0 -

The reply comes that the above line is not found. This is irrespective of whether I have a # sign in front or not.

When I use a kernel and list thus "/usr/bin" do "ls"
then among a long list just two separate words come up on the list - 'pico' and then underneath 'piconv'
There is no pico plus a filename.

So my question is (while in the /usr/bin list!) do I just put a . in front of pico, and then add the filename thus:

.pico application/octet- stream application/vnd.cups-raw 0 -

or do I put in .pico mimeconvs there?

If this is wrong, please indicate what to do instead.

Thanks!

273chris
 
Old 11-13-2004, 11:48 AM   #35
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi, pico filename if you are in the correct directory or
pico path to filename should open the file. If you issue
pico filename from a directory other then the one the file is in it will create a new file.Thus my suggestion, cd to the directory the file is in. Within the file you should find the line you're looking for under Raw filter...
good luck.
 
Old 11-14-2004, 05:08 PM   #36
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi Peacedog

This is a bit over my head ...I no longer understand what we are talking about
Are we talking about a file (an instruction of some kind?) containing the following single line

application/octet- stream application/vnd.cups-raw O -

which is to be inserted without the hash (#) under ?pico?

Perhaps my confusion will become clearer to you if I also write down my thoughts in the form of
questions, e.g:
1 You wrote in your reply above that I should cd to the directory the file it is in. However I cannot find the file...

2 You wrote pico filename - now this filename in this case - is it the single line I have mentioned above?

3 Assuming I do later find the line, do I put a . (full stop/dot) in front of the word pico?

Sorry about this - not a good weekend at all

273 chris
 
Old 11-14-2004, 05:59 PM   #37
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
No worries mate, the files in question by name are mime.convs, and mime.types. The program to edit the files is pico, so issuing pico with the filename after it as in pico /etc/cups/mime.types, or pico /etc/cups/mime.convs, should do two things.

First it should open the editor, or program pico, then open the file in question within the editor/program.

Within the file you should find the line.

# application/octet- stream application/vnd.cups-raw 0 -

Uncomment the line by removing the # mark. Hope that's a little more clear.

Just to reiterate, pico is the program.

The files are named, mime.convs, and mime.types.

The lines to edit are,
application/octet- stream application/vnd.cups-raw 0 -
and, application/octet-stream.
good luck.
 
Old 11-20-2004, 08:17 PM   #38
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi Peacedog

Thanks, this was terrific - your last directions went like a dream.
Report:
When I got to the command # service cups restart
it replied service - no such command.
So I then used:
# /etc/int.d/cups start

which I had picked up earlier on in the thread, and it replied "done"

Nothing happend printwise until I rebooted.
I had four printers set up on localhost631 each with a different printer-driver (all four are available to be chosen on localhost631).

The two printers that did NOT work were ones with the following drivers:
Epson Stylus Color Foomatic/Gimp-print(recommended)
and
Epson Stylus Color Foomatic/Gimp-print-ijs

I tried these several times during the course of an hour before or after others and the result was still the same - the printer would print a few lines or half a page and then abort, thereafter spewing out paper - sometimes with gobbldegook and sometimes blank sheets.
Switching off the printer for a minute each time did not suffice - it had to be repeated 3 times until the printer was ready for new jobs.

The drivers that DID work were:
1 Epson Stylus Color Foomatic/stcih.upp
and
2 Epson Stylus Color Foomatic/stcolor

I can hardly believe my luck, so I am sort of pinching myself to see whether I am dreaming....
Last time I thought I had got it to work, it was apparently OK until next morning!!!

Thanks very much for your patience, Peacedog

Then I don't know if you have seen my latest thread, but a very stange thing happened to my desktop yesterday...

best regards

273 chris

PS to others: Would anyone in the UK know of a really good course in Linux for beginners?
 
Old 11-21-2004, 04:29 PM   #39
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Then I don't know if you have seen my latest thread, but a very stange thing happened to my desktop yesterday
No I haven't, could you provide a link?
good luck.
 
Old 11-21-2004, 05:21 PM   #40
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Howdy Peacedog!

Thanks for the look-in.
The desktop problem has been resolved - if you want to see what happend type in 273chris in the search window and a heading about the desktop issue will come up. Thanks for the offer, though!

Re the printer issue.
I tested the printer again today and everything was fine. It printed from Open Office, and hey, it printed from my Mozilla browser (a page from here in fact) and it also printed from an email page in my Mozilla email browser!! So at last I have got where I wanted to get and started out to get exactly 4 months ago around the 17th July 04 when my printer was only printing from OO and not from my browser or email!! So you can bet I am so glad that I can print out again!!!

I had even begun to get horrible nightmares about having to return to that awful programme xx xxxxxxx with all the daily crashes, security warnings and updates and firewall problems, and hackers and spyware floating in and out etc etc........

I have learnt a lot more now about Linux than I knew at the start, but of course I feel I have only gleaned a tiny glimpse of how these kernel instructions work. I certainly don't know how KDE and YaST configure printers and at this stage I really don't want to. I want nothing to upset the printing facility I now have.

Of course to feel more secure and confident I would like to study Linux, but the courses I have found so far cost about 250 per two-day course, and three or four courses would be necessary for a user. So I'll look around to try and find something more affordable.

I think my biggest problem with printing now is the low-level mundane problem of the quality of paper or cartridges (the ink from the inkjet seems to spread along threads in the paper, making the text fuzzy) and that sort of very minor thing.

I really hope I don't have any more big problems for a long while.

Thank you very very much for your persistence and magnificent help.

best regards

273chris
 
Old 11-21-2004, 05:39 PM   #41
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
First let me say, you're welcome, it's been a pleasure assisting someone so patient and persistent. I'm glad I could contribute in a small way. As to your problem with courses and expense, there are tons of documentation, some of which I'll provide links to, that should be an ample study guide. I'm suggesting the "teach yourself approach" not to say that with the support system here at lq you'd really have to do it all yourself. With that said, good luck in your endeavors, and here come the links.

http://www.tldp.org/

http://linux-newbie.sunsite.dk/index.html

http://www.icon.co.za/~psheer/book/index.html.gz

That should keep you busy for a bit. If I may suggest, and it's economically feasable, pick yourself up a cheap test box, nothing fancy, but nothing cutting edge, say like an old pentium 400, or something. Use it to install different distros and basically screw with new configurations, etc.

With the online docs, the box to play with, and the support system here, you'll most certainly learn as much as any course could teach you in practicle experience.

Just a suggestion, in any event good luck.
 
Old 11-29-2004, 12:46 PM   #42
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi Peacedog

Unfortunately the things has reverted to the same behaviour - it will print out two sides OK and then abort the third in the middle and then churn out more sheets of paper without printing on it.

cups is still running, and the lines of code we uncommented are still uncommented.

A reboot does not help.

Any ideas what this could be due to? I have not dared touch CUPS or KDE.

regards

273chris
 
Old 11-29-2004, 04:42 PM   #43
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Have you installed anything, or upgraded anything. Usually the last thing you did before the problem occurs is the culprit.
good luck.
 
Old 11-29-2004, 05:09 PM   #44
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Dear Peacedog

I purposely did not install anything or upgraded anything. I have purposely not touched CUPS, KDE or YaST. All because I just wanted to watch and see. However I think the SuSE Linux I have does do regularly updates by itself. There was a little crash when playing the chess program Knights, but could it be that?

The behaviour is the same as when I thought I had a 'breakthrough', some weeks back. OK for a while, then suddenly one is back to square one with problems during printing the third page, and massive problems thereafter.

I have just rebooted but the beahviour is more or less the same - 2 pages and then one and a half lines on the third page.
CUPS is still running and our two lines are still uncommented.

I have no idea what this is due to. Is their any way to test the drivers or configurations?

At least I think I can get two pages printed every time. Well, sometimes yes and sometimes no. I have just rebooted to test this idea, , and it printed out 6 pages fine and then began pushing blank paper through with no printing. So it seems to be erratic.

273chris
 
Old 11-29-2004, 05:23 PM   #45
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
If the machine is updating, that's most likely the source of the problem. You may need to delete it and then add it again. You may have to go through all of the configuration again I'm sorry to say. One thing you should really do is dig in to your os docs, to see if it is or isn't auto updating. Something I need to do is reread the whole thread, to see if we missed something.
good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
server-error-internal-error with CUPS "Configure Printer" fskmh Slackware 6 06-05-2013 01:51 PM
HELP: Cannot Configure CUPS to Recognize Parallel Printer Port as a Printing Device! glaucon829 Linux - Newbie 4 06-05-2007 09:38 AM
Cannot get cups to configure printer solar1951 Mandriva 8 05-19-2005 03:08 PM
Configure DNS printer via CUPS command line adagbg Red Hat 0 03-09-2005 10:46 AM
difficulty sustaining configuration of printer using KDE 273chris Linux - Newbie 6 10-25-2004 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration