LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2006, 10:11 PM   #1
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Rep: Reputation: 32
Slackware 10.2 HP Deskjet 3930


Hi,

Slackware is the ONLY Linux that would go on my eMachine W3502:

Mobo D101GCC
Processor Intel Celeron "D" EM64T
ATI Radeon Xpress 200

KDE's "Add Printer Wizard" is detecting my HP DeskJet 3930 on USBPrinter#1. I have the driver for the HP DeskJet 3920 which I was able to use by clcking the "Database" button. (This driver works fine with this printer on Xandros OS3 Deluxe and SuSE 10.0 Boxed Edition.) When I get to the "Printer Test" page, after I click on the "Test" button, I get a message from "Information Control" that the "Test page successfully sent to printer. Wait until printing is complete, then click the OK button." The problem is, even though the test page was sent to the printer, the printer gives no output.... not ebven a flashing green indicator light.

I'm using CUPS. Generic UNIX LPD Print System doesn't give me the option of "Add Printer/Class." LPR/LPRng Print System doesn't detect the printer at all on the USB port even though it does give me the option to "Add Printer/Class."

I'd really like to get Slackware to work on this computer. I've tried to install:

SuSE10.0 Boxed Ed.
Xandros OS3 Deluxe
Mepis
Knoppix
Darkstar
Santa Fe Linux
FC5
and others with either major problems or a refusal to install.

If I can't get Slackware to work here, I guess this box is going to be Windows only.

Thank you.

-Joe
 
Old 10-02-2006, 01:39 AM   #2
doeppjakab
LQ Newbie
 
Registered: Jul 2006
Distribution: Desktop: Slackware 12, Slamd64; Server: OpenBSD
Posts: 10

Rep: Reputation: 0
Check out the cups log files (/var/log/cups/error_log and /var/log/cups/access_log). Type in the following command in a terminal
Quote:
tail -f /var/log/cups/*
, then try installing and printing a test page. What messages do you get?

You might also try cups' own print managing tool. Open a web browser to localhost:631.

jd
 
Old 10-02-2006, 03:07 AM   #3
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
Open up Konqueror and type as jd suggested, localhost:631/. then set up your printer from there.
You need to be root; then,
"Add Printer or Modify Printer" and follow the prompts. Then Print Test Page and see what messages are displayed on the "Printer State" line or hopefully you will get a test page to print.
This may give you some clues. I find this a better way to install printers with CUPS. Just my preference.

C.
 
Old 10-02-2006, 03:36 AM   #4
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
Come to think of it, and particularly if you get permission denied errors, you may need to change the permissions of directory /var/spool/cups

As su do;

#chmod 775 -R /var/spool/cups

The -R recursively changes the permissions of any documents stored in this directory.
 
Old 10-02-2006, 06:00 AM   #5
LocoMojo
Member
 
Registered: Oct 2004
Distribution: Slackware 12
Posts: 165

Rep: Reputation: 30
This sounds eerily like a problem I had when I first installed Slackware a while back. Everything seemed to work properly, but my HP printer never started up. It turned out to be a Ghostscript problem.

The best way to diagnose the problem is to edit your cupsd.conf file in /etc/cups. Go to the "Loglevel" line and if it says "info", change it to "debug" and save the file.

Then restart cups by doing "/etc/rc.d/rc.cups restart" (without the quotes).

Then try to print a small text file.

Then go to /var/log/cups and open up error_log. Go to the end of the file then scroll up and look for any indication of errors.

My bet is it has something to do with the Ghostscript renderer.

Once you've resolved the problem, don't forget to re-edit the /etc/cups/cupsd.conf and change the "Loglevel" back to "info".

Good luck.

LocoMojo
 
Old 10-02-2006, 03:43 PM   #6
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I tried going through Konqueror to localhost:631, but the problem is that CUPS doesm't seem to have a way for me to oad my driver for the HP DJ 3920 and CUPS doesn't have this driver in its database.

I tried following the directions re

"The best way to diagnose the problem is to edit your cupsd.conf file in /etc/cups. Go to the "Loglevel" line and if it says "info", change it to "debug" and save the file."

There is no actual listing on the LogLevel line as to info or debug. But, I did uncomment the line next to debug listed under the LogLevel line. (Both info and debug and debug2 were listed below it.) I then

"Then restart cups by doing "/etc/rc.d/rc.cups restart" (without the quotes).

Then try to print a small text file.

Then go to /var/log/cups and open up error_log. Go to the end of the file then scroll up and look for any indication of errors.'

The results there were

"I [03/Oct/2006:16:29:48 -0400] Adding start banner page "none" to job 9.
I [03/Oct/2006:16:29:48 -0400] Adding end banner page "none" to job 9.
I [03/Oct/2006:16:29:48 -0400] Job 9 queued on 'HP_Deskjet_3920' by 'root'.
I [03/Oct/2006:16:29:48 -0400] Started filter /usr/lib/cups/filter/pstops (PID 3731) for job 9.
I [03/Oct/2006:16:29:48 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3732) for job 9.
I [03/Oct/2006:16:29:48 -0400] Started backend /usr/lib/cups/backend/usb (PID 3733) for job 9.
E [03/Oct/2006:16:29:48 -0400] PID 3732 stopped with status 22!
I [03/Oct/2006:16:29:48 -0400] Hint: Try setting the LogLevel to "debug" to find out more."


I'm sorry, but i'm not sure as to how to set the LogLevel to debug. I did find the LOgLevel line, but everything in the whole file seems commented out.

-Joe
 
Old 10-02-2006, 04:01 PM   #7
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I tried going through Konqueror to localhost:631, but the problem is that CUPS doesm't seem to have a way for me to oad my driver for the HP DJ 3920 and CUPS doesn't have this driver in its database.

I tried following the directions re

"The best way to diagnose the problem is to edit your cupsd.conf file in /etc/cups. Go to the "Loglevel" line and if it says "info", change it to "debug" and save the file."

I changed it to debug

"Then restart cups by doing "/etc/rc.d/rc.cups restart" (without the quotes).

Then try to print a small text file.

Then go to /var/log/cups and open up error_log. Go to the end of the file then scroll up and look for any indication of errors.'

The results there were

I [03/Oct/2006:16:55:30 -0400] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [03/Oct/2006:16:55:30 -0400] LoadPPDs: No new or changed PPDs...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Scanning /var/spool/cups...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Loading attributes for job 6...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Loading attributes for job 7...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Loading attributes for job 8...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Loading attributes for job 9...
D [03/Oct/2006:16:55:30 -0400] LoadAllJobs: Loading attributes for job 10...
I [03/Oct/2006:16:55:30 -0400] Full reload complete.
D [03/Oct/2006:16:55:30 -0400] StartListening: NumListeners=1
D [03/Oct/2006:16:55:30 -0400] StartListening: address=00000000 port=631
D [03/Oct/2006:16:55:30 -0400] ResumeListening: setting input bits...
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] ReadClient: 5 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 5 status_code=1
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] ReadClient: 5 POST /classes/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 5 status_code=1
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] ReadClient: 5 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 5 status_code=1
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] ReadClient: 7 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] CloseClient: 7
D [03/Oct/2006:16:55:49 -0400] ReadClient: 5 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 5 status_code=1
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] ReadClient: 7 POST /classes/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] CloseClient: 7
D [03/Oct/2006:16:55:49 -0400] ReadClient: 5 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 5 status_code=1
D [03/Oct/2006:16:55:49 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:49 -0400] CloseClient: 5
D [03/Oct/2006:16:55:49 -0400] ReadClient: 7 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:49 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:49 -0400] CloseClient: 7
D [03/Oct/2006:16:55:51 -0400] AcceptClient: 5 from localhost:631.
D [03/Oct/2006:16:55:51 -0400] ReadClient: 5 POST / HTTP/1.1
D [03/Oct/2006:16:55:51 -0400] ProcessIPPRequest: 5 status_code=0
D [03/Oct/2006:16:55:51 -0400] ReadClient: 5 GET /printers/HP_Deskjet_3920.ppd HTTP/1.1
D [03/Oct/2006:16:55:51 -0400] SendFile: 5 file=7
D [03/Oct/2006:16:55:51 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:51 -0400] ReadClient: 7 POST /printers/HP_Deskjet_3920 HTTP/1.1
D [03/Oct/2006:16:55:51 -0400] print_job: auto-typing file...
D [03/Oct/2006:16:55:51 -0400] print_job: request file type is application/postscript.
D [03/Oct/2006:16:55:51 -0400] check_quotas: requesting-user-name = 'root'
D [03/Oct/2006:16:55:51 -0400] print_job: requesting-user-name = 'root'
D [03/Oct/2006:16:55:51 -0400] Adding default job-sheets values "none,none"...
I [03/Oct/2006:16:55:51 -0400] Adding start banner page "none" to job 11.
I [03/Oct/2006:16:55:51 -0400] Adding end banner page "none" to job 11.
I [03/Oct/2006:16:55:51 -0400] Job 11 queued on 'HP_Deskjet_3920' by 'root'.
D [03/Oct/2006:16:55:51 -0400] Job 11 hold_until = 0
D [03/Oct/2006:16:55:51 -0400] StartJob(11, 0x80dbfd0)
D [03/Oct/2006:16:55:51 -0400] StartJob() id = 11, file = 0/1
D [03/Oct/2006:16:55:51 -0400] job-sheets=none,none
D [03/Oct/2006:16:55:51 -0400] banner_page = 0
D [03/Oct/2006:16:55:51 -0400] StartJob: argv = "HP_Deskjet_3920","11","root","KDE Print System","1","PageSize=A4 media=A4 orientation-requested=3","/var/spool/cups/d00011-001"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[2]="USER=root"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[3]="CHARSET=iso-8859-1"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[4]="LANG=en_US"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[5]="PPD=/etc/cups/ppd/HP_Deskjet_3920.ppd"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[9]="CONTENT_TYPE=application/postscript"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[10]="DEVICE_URI=usb://3930?serial=CN58B1549Q04DF"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[11]="PRINTER=HP_Deskjet_3920"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[14]="CUPS_SERVER=localhost"
D [03/Oct/2006:16:55:51 -0400] StartJob: envp[15]="IPP_PORT=631"
D [03/Oct/2006:16:55:51 -0400] StartJob: statusfds = [ 8 9 ]
D [03/Oct/2006:16:55:51 -0400] StartJob: filterfds[1] = [ 10 -1 ]
D [03/Oct/2006:16:55:51 -0400] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [03/Oct/2006:16:55:51 -0400] StartJob: filterfds[0] = [ 11 12 ]
D [03/Oct/2006:16:55:51 -0400] start_process("/usr/lib/cups/filter/pstops", 0xbfff01f0, 0xbffef560, 10, 12, 9)
I [03/Oct/2006:16:55:51 -0400] Started filter /usr/lib/cups/filter/pstops (PID 3971) for job 11.
D [03/Oct/2006:16:55:51 -0400] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [03/Oct/2006:16:55:51 -0400] StartJob: filterfds[1] = [ 10 13 ]
D [03/Oct/2006:16:55:51 -0400] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbfff01f0, 0xbffef560, 11, 13, 9)
I [03/Oct/2006:16:55:51 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3972) for job 11.
D [03/Oct/2006:16:55:51 -0400] StartJob: backend = "/usr/lib/cups/backend/usb"
D [03/Oct/2006:16:55:51 -0400] StartJob: filterfds[0] = [ -1 11 ]
D [03/Oct/2006:16:55:51 -0400] start_process("/usr/lib/cups/backend/usb", 0xbfff01f0, 0xbffef560, 10, 11, 9)
I [03/Oct/2006:16:55:51 -0400] Started backend /usr/lib/cups/backend/usb (PID 3973) for job 11.
D [03/Oct/2006:16:55:51 -0400] ProcessIPPRequest: 7 status_code=0
D [03/Oct/2006:16:55:51 -0400] CloseClient: 7
D [03/Oct/2006:16:55:51 -0400] [Job 11] Page = 595x842; 10,36 to 585,833
D [03/Oct/2006:16:55:51 -0400] [Job 11] slowcollate=0, slowduplex=0, sloworder=0
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BoundingBox: 0 0 594 841
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Creator: Qt 3.3.4
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%CreationDate: Tue Oct 3 16:55:51 2006
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Orientation: Portrait
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Pages: 1
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%DocumentFonts: BitstreamVeraSans-Roman
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndComments
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BeginProlog
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndProlog
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BeginSetup
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BeginFont: Bitstream Vera Sans
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Creator: Converted from TrueType by Qt
D [03/Oct/2006:16:55:51 -0400] [Job 11] /usr/lib/cups/filter/foomatic-rip: No such file or directory
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %% Font Page 00
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BeginFont: BitstreamVeraSans-Roman
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%FontName: BitstreamVeraSans-Roman-Uni
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Creator: Composite font created by Qt
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndFont
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndFont
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndSetup
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Page: 1 1
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Page: 1 1
D [03/Oct/2006:16:55:51 -0400] [Job 11] pw = 575.6, pl = 797.0
D [03/Oct/2006:16:55:51 -0400] [Job 11] PageLeft = 9.7, PageRight = 585.3
D [03/Oct/2006:16:55:51 -0400] [Job 11] PageTop = 833.0, PageBottom = 36.0
E [03/Oct/2006:16:55:51 -0400] PID 3972 stopped with status 22!
D [03/Oct/2006:16:55:51 -0400] [Job 11] PageWidth = 595.0, PageLength = 842.0
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%BeginPageSetup
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%EndPageSetup
D [03/Oct/2006:16:55:51 -0400] [Job 11] 0 %%Trailer
D [03/Oct/2006:16:55:51 -0400] [Job 11] Saw Trailer!
D [03/Oct/2006:16:55:51 -0400] [Job 11] Saw EOF!
D [03/Oct/2006:16:55:51 -0400] [Job 11] Printer using device file "/dev/usb/lp0"...
D [03/Oct/2006:16:55:51 -0400] [Job 11] LPGETSTATUS returned a port status of 18...
D [03/Oct/2006:16:55:51 -0400] UpdateJob: job 11, file 0 is complete.
D [03/Oct/2006:16:55:51 -0400] CancelJob: id = 11
D [03/Oct/2006:16:55:51 -0400] StopJob: id = 11, force = 0
D [03/Oct/2006:16:55:51 -0400] StopJob: printer state is 3
D [03/Oct/2006:16:55:52 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:52 -0400] ReadClient: 7 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:52 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:52 -0400] CloseClient: 7
D [03/Oct/2006:16:55:52 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:52 -0400] ReadClient: 7 POST /classes/ HTTP/1.1
D [03/Oct/2006:16:55:52 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:52 -0400] CloseClient: 7
D [03/Oct/2006:16:55:52 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:52 -0400] ReadClient: 7 POST /printers/ HTTP/1.1
D [03/Oct/2006:16:55:52 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:52 -0400] CloseClient: 7
D [03/Oct/2006:16:55:52 -0400] AcceptClient: 7 from localhost:631.
D [03/Oct/2006:16:55:52 -0400] ReadClient: 7 POST / HTTP/1.1
D [03/Oct/2006:16:55:52 -0400] ProcessIPPRequest: 7 status_code=1
D [03/Oct/2006:16:55:52 -0400] CloseClient: 7
D [03/Oct/2006:16:56:02 -0400] CloseClient: 5


I hope this helps.

Thank you for trying to help me.

-Joe
 
Old 10-02-2006, 04:24 PM   #8
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
In your first post you mentioned lprng. Have you got that installed as well as cups? It's not installed by default on 10.2.
 
Old 10-02-2006, 04:32 PM   #9
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
The other thing you could do is download hplip from /testing in slackware current. It's for the all-in-one hp printers but your printer is listed as a supported device.
 
Old 10-02-2006, 08:11 PM   #10
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
Linux Printing org. You can download the ppd file for your printer there - if it's supported. Alternatively hplip as suggested. Here is a link - howto - hplip on Slack.

http://www.linuxquestions.org/linux/...Slackware_10_2

You have gone to a lot of trouble with the above output - providing you have a ppd file for your printer installed e.g. /etc/cups/ppd (This is where I keep mine) you should have no problems with your setup. And, providing you have write access as user to /var/spool/cups all should go well.

As a rough and temporary approach you could try the following.
If you cannot find support specifically for your printer, you could use a ppd file for a similar model. I am doing this with a canon printer and it works fine.
I see that Deskjet 3940 is supported. If you havn't already, and you are willing, you could try that driver and see what results you get.

C.

Last edited by The_Outlander; 10-02-2006 at 08:29 PM.
 
Old 10-02-2006, 08:17 PM   #11
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi,

lprng is listed on the dropdown menu. I used all default settings during installation. But, I found an online tutoprial that suggested that lprng could interfere with CUPS, so I followed the directions to turn it off using chmod -x something something. I was notified that lprng is not installed.

I tried installing hplip as you suggested. However, it's complaining that I don't have a Python interpreter installed, so it's refusing to ./configure. I have to figure out how to install a Python interpreter first if I'm to use this.

If LocoMojo is correct about this being a ghostscript problem, is the ghostscript component included in hplip? Or does this bypass ghostscript?
(I'm really interested in trying to understanding this. I had a real printing problem sometime back when trying to use DSL on a very old laptop that didn't include my printer driver by default. I never did get it resolved.)

If worse comes to worse, is there a way I can simply send things to the printer using the command line and bypass the GUI? I can do it once, then "history", then !command number.

Thanks,
-Joe
 
Old 10-02-2006, 08:26 PM   #12
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi Chesh,

I already have the .ppd file. I can't get it to work in Slackware.

I did try following this exact tutorial, but that's when I ran into the Python interpretor issue.

-Joe
 
Old 10-02-2006, 08:46 PM   #13
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I'm now getting the following message from Catastrophe -KNotify:

A print error occurred:

cupsdoprint -P 'HP_DESKJET_3920 -J " -H 'localhost:631' -U 'joegum' -o 'Quality=300ColorCMYK
multiple-document-handling=separate-documents-uncollated-copies
orientation-requested=3' 'opt/kde/share/apps/kdeprint/testprint.ps' :
execution failed with message:
client-error-not-possible
 
Old 10-02-2006, 08:57 PM   #14
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
http://www.cups.org/articles.php?L291+I0+TFAQ+P1+Q
 
Old 10-02-2006, 10:09 PM   #15
LocoMojo
Member
 
Registered: Oct 2004
Distribution: Slackware 12
Posts: 165

Rep: Reputation: 30
Hi joegumbo,

Sorry it took so long for me to get back to you, but it's been a hectic day for me here and it will be hectic for me in the forseeable future.

Anyway, looking over your error_log, one line piques my interest:

Quote:
D [03/Oct/2006:16:55:51 -0400] [Job 11] /usr/lib/cups/filter/foomatic-rip: No such file or directory
Ok, on my Slackware box I have a symlink in /usr/lib/cups/filter/foomatic-rip which points to /usr/bin/foomatic-rip.

Here's what I suggest you do. First do a

Code:
which foomatic-rip
in your console. If you're lucky, you'll have it already installed and you're simply missing a symlink in your /usr/lib/cups/filter directory. If the result of your "which foomatic-rip" command is /usr/bin/foomatic-rip then you need to (as root) cd to /usr/lib/cups/filter and then type:

Code:
ln -s /usr/bin/foomatic-rip foomatic-rip
If the result of the "which foomatic-rip" shows "no foomatic-rip in blah blah blah" then that could mean either of two things, 1. foomatic-rip is installed, but not in your path or 2. foomatic rip isn't installed on your system.

In this case, you should try and do:

Code:
locate foomatic-rip
This is assuming you have a slocatedb, of course. Hopefully you'll find foomatic-rip this way and if you do then we would now know that it isn't in your path so you'll have put it in your path. I'm assuming you know how to do this, if you don't...just holler at me again and I'll tell you how. You could also look to see if you have the hpijs OR hplip package installed by looking in your /var/log/packages directory. FWIW, I'm using the hpijs package.

Another thing you should do, while you're at it, doublecheck that you have the correct PPD file installed and that it is installed in the right place. I'm using a an HP Deskjet 722C so I have DeskJet722C.ppd in my /etc/cups/ppd directory.

It also wouldn't hurt to check that you have a ghostscript package installed by looking in your /var/log/packages directory.

Hope this helps. If not, holler back here again and I'm sure, if not me, someone else more knowledgable than I will be able to get you going.

By the way, always remember to restart cups:

Code:
/etc/rc.d/rc.cups restart
after making any changes to your cups configs.

Good luck!

LocoMojo
 
  


Reply



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
HP Deskjet 3930 sofasurfer Debian 16 07-15-2006 11:23 PM
HP 3930 and Modem............ kate45 Linux - Newbie 1 03-15-2006 04:05 PM
HP DeskJet 5550 USB & Slackware Tratulla Linux - Hardware 0 08-20-2003 09:30 AM
Slackware 9 and HP Deskjet 3820 PJota Linux - Hardware 1 07-29-2003 10:24 AM
HP DeskJet 690C & Slackware 9.0 tireseas Linux - Hardware 0 07-13-2003 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:08 PM.

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