LinuxQuestions.org
Register a domain and help support LQ
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-26-2005, 02:26 AM   #16
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49

In the cups configuration when you get to the second dialog box select usb printer#1 from the drop down then select the brand and then the model. Do test printing from this module.
 
Old 02-26-2005, 02:57 AM   #17
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
I have an usb epson c61.

for those interested, in kcontrol centre for those on kde there are printer settings
make sure you have cups showing up and not lpr please

2) su mode to check lsmod you need some usb modules unless compiled in
eg
usblp
ehci-hcd
uhci-hcd
usbcore

3) then with printer on as all others including me have suggested use your web browser to go to address
localhost:631

4) then add or change printer to your usb printer........or com port printer as the case may be
my usb is on /dev/usb/lp0

5) if you have sent stuff that was not configured corrrectly.....you may be sending postcript or junk which may still be in your buffer so check if any jobs are current and delete the lot of them b4 test printing
 
Old 02-26-2005, 03:06 AM   #18
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Ok, I'll do this step by step and present you the situation:
1.Name=DJ840;Location=/dev/lp0;Description=/dev/lp0 (told you I'll put lp0 wherever I can)
2.Device=Parallel port #1
3.Model/Driver for DJ840->Make=HP
4.Model/Driver for DJ840->Model=HP DeskJet 840C Foomatic/hpijs (recommended) (en)
5.Printer DJ840 has been added succesfully.

Printers section reads:
Quote:
Description: /dev/lp0
Location: /dev/lp0
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/unknown-parallel0
So far so good.
6.Print test page="Test page sent; job ID is DJ840-16"
Click on "DJ840-16", result:
Quote:
Description: /dev/lp0
Location: /dev/lp0
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
Device URI: parallel:/dev/unknown-parallel0
Again, "not connected"!

I'll post what packages I have installed, maybe it helps:cupsomatic-ppd,cupsys,cupsys-client,cupsys-pt,libcupsimage2,libcupsys2-gnutls10,
libgnomecups1.0-1; foomatic-db,foomatic-db-engine,foomatic-filters,foomatic-filters-ppds.

Something else needed?

Last edited by harken; 02-26-2005 at 03:09 AM.
 
Old 02-26-2005, 03:15 AM   #19
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by harken
Ok, I'll do this step by step and present you the situation:
1.Name=DJ840;Location=/dev/lp0;Description=/dev/lp0 (told you I'll put lp0 wherever I can)
2.Device=Parallel port #1
Here is your error. You are not using the parallel port you are using usb so at this point you must select usb printer#1

you can also check to see if it is picking up the device by doing as root cat /proc/bus/usb/devices

Last edited by TigerOC; 02-26-2005 at 03:20 AM.
 
Old 02-26-2005, 03:29 AM   #20
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
No, no improvement. First of all, I do use the parallel port, I know how one looks (25 pins). However, I set it up on USB port #1 and:
Quote:
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
Device URI: usb:/dev/usb/lp0
/usb doesn't even exist in /dev. I really don't know what can be wrong.
 
Old 02-26-2005, 03:39 AM   #21
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The message is saying it cannot see the device so do root cat /proc/bus/usb/devices. Is the printer showning up? I am getting a bit confused here. Just to clarify the printer is connected via usb? Do not use the parallel cable as well.
 
Old 02-26-2005, 03:45 AM   #22
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Quote:
vsoft:/home/harken# cat /proc/bus/usb/devices

T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
S: SerialNumber=0000:00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
S: SerialNumber=0000:00:10.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S: SerialNumber=0000:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: SerialNumber=0000:00:10.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10 ehci_hcd
S: Product=VIA Technologies, Inc. USB 2.0
S: SerialNumber=0000:00:10.4
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
I'm absolutely sure I'm using a parallel cable connected to a parallel port (the only parallel port my machine has).
 
Old 02-26-2005, 03:58 AM   #23
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Sorry harken this results from 2 people with same problem posting in the same thread. In post 15 it stated that the printer is connected to usb by the thread originator c-- . I did not look at who posted.
Going back to the parallel port install after you have set the device to parallel port#1 (note on my cups it lists 3 Cannon epsom and hp) and you have selected it, it should then go to manufacturer and then model. Is it doing this?
 
Old 02-26-2005, 04:04 AM   #24
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by c--
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?
When you go through the setup you are setting the device to printer usb#1 and then selecting the make (epsom) then model c80+gimprint?
Check that the device is being seen by doing as root cat /proc/bus/usb/devices and see if it is listed.
 
Old 02-26-2005, 04:17 AM   #25
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Quote:
Sorry harken this results from 2 people with same problem posting in the same thread
Yeah, sorry for that but I thought since the problems are similar there was no pint in starting another thread.
Quote:
Going back to the parallel port install after you have set the device to parallel port#1 (note on my cups it lists 3 Cannon epsom and hp) and you have selected it, it should then go to manufacturer and then model. Is it doing this?
Sure, look at post #18, numbers 2-5.
Told you, the strange part is that I can print something like date using redirection but nothing else.

Summarizing what I've posted so far:the printer appears to install correctly using either http://localhost:631 and Printing Manager, with the Foomatic 840C hpijs driver (also tried Foomatic 840C hpdj) on parallel port #1. Physical connection ok since it prints flawlessly under XP. Here comes the strange part: before attempting to print a test page, the printer's state is "Idle, accepting jobs". Afterwards, it is "Not connected, will retry in 30 seconds".
Somewhere along this route something happens but I can't figure out where.
 
Old 02-26-2005, 05:06 AM   #26
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I found this thread http://www.linuxquestions.org/questi...03/10/3/105221 see if it helps.
 
Old 02-26-2005, 05:19 AM   #27
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Well, it helped improving my general knowledge, not the printing problem. I loaded the lp module but no result.
One more thing, I said I have built in my kernel the parport drivers. So, shouldn't they show up in lsmod? 'Cause they don't.
 
Old 02-26-2005, 06:47 AM   #28
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
There are a couple of things to try;
With a print job on hold do as root /etc/init.d/cupsys restart #this restarts the cups server
Check the cups logs and see if there is a clue in the log file that may enlighten us.
There is something about the connection between cups and sending the job to the printer as you have mentioned. I have done a Google search and apart from being unable to read some foreign reports I was unable to find anything helpful as you already know the parallel port is functional. If we cannot find a cause then perhaps post on the cups forums. Seems a Debian/cups linked phenomenon.
 
Old 02-26-2005, 07:31 AM   #29
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Ok, I did as you said and here are the last entries in cups' logs:error_log
Quote:
[26/Feb/2005:14:21:34 +0200] Adding start banner page "none" to job 4.
I [26/Feb/2005:14:21:34 +0200] Adding end banner page "none" to job 4.
I [26/Feb/2005:14:21:34 +0200] Job 4 queued on '840DJ' by 'root'.
I [26/Feb/2005:14:21:34 +0200] Started filter /usr/lib/cups/filter/pstops (PID 4257) for job 4.
I [26/Feb/2005:14:21:34 +0200] Started filter /usr/lib/cups/filter/foomatic-rip(PID 4258) for job 4.
I [26/Feb/2005:14:21:34 +0200] Started backend /usr/lib/cups/backend/parallel (PID 4259) for job 4.
I [26/Feb/2005:14:22:04 +0200] Scheduler shutting down normally.
I [26/Feb/2005:14:22:05 +0200] Listening to 0:631
I [26/Feb/2005:14:22:05 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [26/Feb/2005:14:22:05 +0200] Configured for up to 100 clients.
I [26/Feb/2005:14:22:05 +0200] Allowing up to 100 client connections per host.
I [26/Feb/2005:14:22:05 +0200] Full reload is required.
I [26/Feb/2005:14:22:05 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 2165 PPDs...
I [26/Feb/2005:14:22:05 +0200] LoadPPDs: No new or changed PPDs...
I [26/Feb/2005:14:22:05 +0200] Full reload complete.
I [26/Feb/2005:14:22:05 +0200] Started filter /usr/lib/cups/filter/pstops (PID 4284) for job 4.
I [26/Feb/2005:14:22:05 +0200] Started filter /usr/lib/cups/filter/foomatic-rip(PID 4285) for job 4.
I [26/Feb/2005:14:22:05 +0200] Started backend /usr/lib/cups/backend/parallel (PID 4286) for job 4.
and access_log
Quote:
localhost - - [26/Feb/2005:14:21:34 +0200] "POST / HTTP/1.1" 200 200
localhost - - [26/Feb/2005:14:21:34 +0200] "GET /ppd/840DJ.ppd HTTP/1.1" 200 17378
localhost - - [26/Feb/2005:14:21:34 +0200] "POST /printers/840DJ HTTP/1.1" 200 14852
localhost - - [26/Feb/2005:14:21:41 +0200] "POST /printers/ HTTP/1.1" 200 224
localhost - - [26/Feb/2005:14:21:41 +0200] "POST /classes/ HTTP/1.1" 200 224
.........
localhost - - [26/Feb/2005:14:23:31 +0200] "POST / HTTP/1.1" 200 377
localhost - - [26/Feb/2005:14:23:36 +0200] "POST /printers/ HTTP/1.1" 200 224
localhost - - [26/Feb/2005:14:23:36 +0200] "POST /classes/ HTTP/1.1" 200 224
localhost - - [26/Feb/2005:14:23:36 +0200] "POST /printers/ HTTP/1.1" 200 112
localhost - - [26/Feb/2005:14:23:36 +0200] "POST /printers/ HTTP/1.1" 200 376
localhost - - [26/Feb/2005:14:23:36 +0200] "POST / HTTP/1.1" 200 200
localhost - - [26/Feb/2005:14:23:36 +0200] "GET /ppd/840DJ.ppd HTTP/1.1" 200 17378
..........
localhost - - [26/Feb/2005:14:24:11 +0200] "POST / HTTP/1.1" 200 377
localhost - - [26/Feb/2005:14:24:16 +0200] "POST /printers/ HTTP/1.1" 200 224
localhost - - [26/Feb/2005:14:24:16 +0200] "POST /classes/ HTTP/1.1" 200 224
localhost - - [26/Feb/2005:14:24:16 +0200] "POST /printers/ HTTP/1.1" 200 112
localhost - - [26/Feb/2005:14:24:16 +0200] "POST /printers/ HTTP/1.1" 200 376
localhost - - [26/Feb/2005:14:24:16 +0200] "POST / HTTP/1.1" 200 200
localhost - - [26/Feb/2005:14:24:16 +0200] "GET /ppd/840DJ.ppd HTTP/1.1" 200 17378
localhost - - [26/Feb/2005:14:24:16 +0200] "POST / HTTP/1.1" 200 377
mentioning that the IPP report says that the job creation time was 14:21:34. I trimmed some lines as the log was too long.

Got any clues? I don't see anything helpful.
 
Old 02-26-2005, 07:48 AM   #30
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
No, nothing.
 
  


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


All times are GMT -5. The time now is 04:02 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