LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2005, 01:54 PM   #1
c--
Member
 
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82

Rep: Reputation: 15
stylus c80 configured but won't print under ubuntu


I've installed ubuntu, which seems like a great distro, like if debian unstable became its own distro with good docs and tutuorials.

However, my stylus c80 printer is all configured, and seems to work without error, but won't print.
I ran an apt-get install cupsys-driver-gimpprint to get the right driver following the ubuntu wiki instructions, and configured it with the gui interface. I used the gimpprint driver, it auto detected the printer, and it shows up, but when I try to print a test page, it just says printing and nothing comes out of the printer.

Thanks in advance for any help
 
Old 02-22-2005, 09:55 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,296

Rep: Reputation: Disabled
if you have kde you can use kcontrol centre to check if
ALL USERS is allowed for the print server

if you don't know how to do that.....use your normal web browser and type in
localhost:631 ....press enter
if cups is running and printer on......your last config stuff should appear

if cups is not running you need to go into /etc/rc.d/ for your runlevel which maybe 5 on your distro and see if any command tries to start cups.

in mdk there is an entry for cups and its permission is RWX

HOWever I have a sneaky feeling your printer is not defaulted to cups but to LPR which you can check with kcontrol centre don't know howto with gnome
 
Old 02-25-2005, 01:56 AM   #3
c--
Member
 
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82

Original Poster
Rep: Reputation: 15
ok, if I run cupsd from the command line as root, it returns to the prompt without error and the server is running,but when I hit restart from within the KDE controll center, it gives me an error saying it can't connect to the server. when the server is running, I can browse to it, and when I look at the printer it says "printer fault"

The printer is out of ink in one of its cartridges, but the black is full and I'm trying to use it to print text. Could being out of yellow ink cause it to not print?

also, as far as defaulting to lp instead of cups, how do I check that?
thx
 
Old 02-25-2005, 03:29 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Is the printer showing up in the printers section of Control Center? You can try the lp option with a command like date > /dev/lp0 (as root probably). In the control center make sure it is seeing cups as the printing system and the printer is listed. If it isn't you need to add it.
 
Old 02-25-2005, 03:55 AM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
I have the same problem with a HP DeskJet 840C. Like TigerOC said, it appears in ControlCenter and the printing system is CUPS. Yet nothing comes out of it. I can see that the page (a test page) is queued but not even the printer's led won't flash, it stays on just like nothing happened. No errors otherwise.

One thing that looks strange to me is: "Devicearallel:/dev/unknown-parallel0" even if I configured it on the parallel port.

Any solutions?
 
Old 02-25-2005, 04:24 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have had two oldish hp's (670 and 930) working fine. You need to configure through Konqueror by entering the address http://localhost:631 You'll need to set the printer up and it will run all the diagnostics for you. If there are errors it will report them.

Harken do modprobe parport and see what output you get. If mod not present do insmod parport.

Last edited by TigerOC; 02-25-2005 at 04:37 AM.
 
Old 02-25-2005, 08:09 AM   #7
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Here's what modprobe and insmod says:
Quote:
vsoft:/home/harken# modprobe parport
FATAL: Module parport not found.
vsoft:/home/harken# insmod parport
insmod: can't read 'parport': No such file or directory
Then I remembered that I compiled my kernel with built-in parallel support. Here's from .config:
Quote:
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
CONFIG_PARPORT_SERIAL=m
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
Should this be the problem? Should I have compiled it as a module?
 
Old 02-25-2005, 09:05 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
It doesn't matter as long as there is parallel support.Look in your /var/log/syslog and look for lines like this;

Feb 20 07:42:42 kt3 kernel: parport0: irq 7 detected
Feb 20 07:42:42 kt3 kernel: parport0: cpp_daisy: aa5500ff(98)
Feb 20 07:42:42 kt3 kernel: parport0: assign_addrs: aa5500ff(98)
Feb 20 07:42:42 kt3 kernel: parport0: Printer, HEWLETT-PACKARD DESKJET 930C

If you have lines like this do as root date > /dev/lp0 and the printer should print out the date. If you don't have lines like this then check that there isn't a problem with the connections and the cable.
 
Old 02-25-2005, 09:34 AM   #9
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Two days ago I uninstalled and reinstalled CUPS and whatelse needed (at least it think I did) so I'll show you the logs before:
Quote:
Feb 23 18:12:42 vsoft kernel: parport: PnPBIOS parport detected.
Feb 23 18:12:42 vsoft kernel: parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Feb 23 18:12:43 vsoft kernel: lp0: using parport0 (interrupt-driven).
and after:
Quote:
Feb 25 10:34:11 vsoft kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Feb 25 10:34:15 vsoft kernel: lp0: using parport0 (polling).
The physical connection is 100% OK as I can print using XP (actually printing is mostly the reason I keep Win on my machine).
After issuing 'date > /dev/lp0', it pulls in a sheet from the tray, it moves the printing head for a while and suddendly stops, whitout spitting out the sheet. Instead the second button's led on the printer, the one for manual feed, starts blinking and if I press it the sheet comes out with the date printed on it.

Yet, when I tried printing a test text file (just some text organized in lines like "Line 1 Line2", etc.), again, I have to press the manual feed button but the text comes out messed up, with white spaces where they don't belong. And the test page sent from Printing Manager...does nothing. No head movement, nothing.

What could be wrong? Too old printer?
 
Old 02-25-2005, 10:08 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
That's fine, as mine does the same thing because there is no method to format the text. It means there is no problem with the driver and the actual connection with the printer is good. What happens when you open a browser and enter http://localhost:631 ?
 
Old 02-25-2005, 01:39 PM   #11
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
That looks fine, no errors. Yet, before sending a test page the printer's status is "Idle, accepting jobs". Afterwards, it says:
Quote:
Location: /dev/printer
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
Device URI: parallel:/dev/unknown-parallel0
I don't get the part with "not connected". What happens on the course?
Obviously, nothing happens, no led flashing, no sounds, nothing.
 
Old 02-25-2005, 03:16 PM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Are you sure you are specifying /dev/lp0 in the setup. On the very first dialog box where you add a new printer and the second item "where" are you entering /dev/lp0?

Last edited by TigerOC; 02-25-2005 at 03:17 PM.
 
Old 02-25-2005, 03:32 PM   #13
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Yes, I specified /dev/lp0 everywhere I could (I was thinking to even name it that way!). I reinstalled it...nothing.
Something yet stroke me. From Printing Manager I sent a test page. The IPP job report says:
Quote:
Attribute
Values
job-id
15
job-more-info
http://vsoft.thenet:631/jobs/15
job-uri
http://vsoft.thenet:631/jobs/15
job-printer-up-time
Fri Feb 25 22:24:24 2005
printer-uri
ipp://localhost:631/printers/840DJ
job-originating-user-name
root
job-name
KDE Print Test
document-format
application/postscript
multiple-document-handling
separate-documents-uncollated-copies
orientation-requested
0x3
job-priority
50
job-originating-host-name
localhost
job-id
15
job-state
0x3
job-media-sheets-completed
0
job-printer-uri
http://vsoft.thenet:631/printers/840DJ
job-name
KDE Print Test
job-k-octets
15
time-at-creation
Fri Feb 25 22:24:10 2005
time-at-processing
Fri Feb 25 22:24:10 2005
time-at-completed

job-hold-until
no-hold
job-sheets
none
none
job-state-reasons
printer-stopped
Printer stopped? Why? The job is queued alright but it stays there, in the queue.
Looks like something happens at the driver's level. I can print the date (some text let's say) from command line (I still have to press the feed button) but can't get it to do anything otherwise.
 
Old 02-25-2005, 03:59 PM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
i have just done a dummy run on mine and you need to confirm that you done the same. After setting the device, port and its name on the first page you then move to the location and select parallel#1 on the next dialog it will then come up with the the manufacturer then list of printers and you select the printer model from the list and then it tells you the driver it has used and then it goes on to say it has been installed. If you now click printers at the top it should list the printer and have something like this;

HP DeskJet 670C Foomatic/hpijs (recommended)
Description: hp670C
Location: /dev/lp0
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/lp0

Are you seeing this?
 
Old 02-25-2005, 06:17 PM   #15
c--
Member
 
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82

Original Poster
Rep: Reputation: 15
I should mention that my epson stylus c80 is connected via usb. It shows up in the controll center, I can even send jobs to it and it says that was successful except they never get printed. wtf?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Epson Stylus C60 will not print scuzzman Linux - Hardware 4 10-15-2005 01:23 PM
Epson Stylus C44+ doesn't print (no error message) addy86 Linux - Hardware 2 09-15-2005 12:51 PM
epson stylus color 850 won't print shotokan Linux - Hardware 4 05-23-2005 02:48 PM
configured cups... print jobs just dissapear ! qwijibow Linux - Distributions 2 06-29-2004 03:38 PM
Newbie - Epson stylus color 480 parallel - wont print. nmoog Linux - Hardware 3 05-06-2004 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration