LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2007, 10:49 PM   #1
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Rep: Reputation: 15
hp deksjet 3747 printing with samba


I have an hp deskjet 3747 printer that is setup with samba through cups. I have downloaded the linux drivers from hp and installed them on the fedora machine. I have it setup through smb://MSHOME/blue1689/HPDskjet3747. It is shared as HPDskjet3747 on the windows machine. It is port USB001. It verifies okay. When I try to print a test page in fedora 8, it shows up in the print queue on the windows machine. It is about a 64k file, so I think its working right, but it says pages N/A, status>printing. The printer gets ready to print and quits before anything comes out. (I mean the light flashes, it makes noise, then it doesn't do anything) I'm not sure if it has anything to do with permissions on the linux box, drivers or what it is. Isn't it supposed to say pages 1/1 instead of N/A? Could someone please tell me why my printer doesn't print anything or how I can resolve the issue.

Last edited by jzimm0007@msn.com; 11-11-2007 at 10:50 PM. Reason: There was a face in between status and printing
 
Old 11-12-2007, 06:20 PM   #2
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 jzimm0007@msn.com, I hope that's not a valid email address. Anyway, this should help.
What is the Device URI: ?
Good luck. ;-)
 
Old 11-13-2007, 01:45 PM   #3
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
The device URI is: smb://MSHOME/blue1689/HPDskjet3747

Here is the output of smbclient -L blue1689 -N
Domain=[BLUE1689] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Documents and Settings Disk
My Documents Disk
IPC$ IPC Remote IPC
SharedDocs Disk
My Music Disk
print$ Disk Printer Drivers
HPDskjet3747 Printer Feel free to use this printer.
C Disk
Josh Zimmerman.BLUE1689 Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Tommy's Music Disk
Domain=[BLUE1689] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------

Last edited by jzimm0007@msn.com; 11-13-2007 at 02:58 PM.
 
Old 11-13-2007, 06:25 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you use the hpijs driver with foomatic?
Good luck. ;-)
 
Old 11-13-2007, 07:31 PM   #5
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
Yes, It shows up in the print queue of the windows computer, but it does not print. I think it might be, because it says pages n/a so it thinks it is done printing before it starts.
 
Old 11-14-2007, 07:48 AM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
What does the /var/log/cups/error_log look like? Any clues there as to what is failing?
Good luck. ;-)
 
Old 11-14-2007, 05:16 PM   #7
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
E [13/Nov/2007:14:40:18 -0500] cupsdAuthorize: Local authentication certificate not found!
I [13/Nov/2007:14:40:26 -0500] [Job 13] Completed successfully.
E [13/Nov/2007:14:40:53 -0500] cupsdAuthorize: Local authentication certificate not found!
E [13/Nov/2007:14:40:53 -0500] cupsdAuthorize: Local authentication certificate not found!
E [11/Nov/2007:22:10:56 -0500] [cups-driverd] Unable to open PPD directory "/usr/local/share/ppd": No such file or directory
E [11/Nov/2007:22:10:56 -0500] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
I [11/Nov/2007:22:11:12 -0500] Started "/usr/lib/cups/daemon/cups-driverd" (pid=31869)
E [11/Nov/2007:22:11:12 -0500] [cups-driverd] Unable to open PPD directory "/usr/local/share/ppd": No such file or directory
E [11/Nov/2007:22:11:12 -0500] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
Does this mean anything? (had to shorten it)

Last edited by jzimm0007@msn.com; 11-14-2007 at 05:20 PM.
 
Old 11-14-2007, 07:10 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
It looks like you don't have a ppd or the wrong ppd file. Try going the the cups configuration from a browser and choose Foomatic/hpijs driver. You can access this from here.

http://localhost:631/

Good luck. ;-)
 
Old 11-14-2007, 08:19 PM   #9
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
DeskJet_3740 (Default Printer)
Description: HP Deskjet 3740
Location: Josh's Computer
Printer Driver: HP DeskJet 3740 Foomatic/hpijs (recommended)
Printer State: idle, accepting jobs, published.
Device URI: smb://MSHOME/blue1689/HPDskjet3747

I modified the printer changing the ppd driver to /etc/cups/ppd/deskjet_3747.ppd
 
Old 11-15-2007, 07:42 AM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Let's have a look at /etc/cups/cupsd.conf. Did you input a username and password when setting the Device URI: ?
Good luck. ;-)
 
Old 11-15-2007, 01:45 PM   #11
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
No; I did not put in a username and password.
LogLevel info
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
Encryption Required
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>

Last edited by jzimm0007@msn.com; 11-15-2007 at 01:46 PM.
 
Old 11-15-2007, 05:30 PM   #12
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:
No; I did not put in a username and password.
I believe you'll need to use a valid username and password to authenticate the print job on the windows machine. Check your Device URI in /etc/cups/printers.conf, it should look something like this.
Code:
DeviceURI smb://username:password@workgroup/server/printer
Good luck. ;-)
 
Old 12-21-2007, 09:46 PM   #13
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
I tried that and on the windows computer it says the owner is Guest. It still won't print anything. I also tried changing the permissions for Josh Zimmerman, but that didn't work either. Is there a way I can use the ipp protocal, because I don't know what the ip address of the printer is?
 
Old 12-22-2007, 02:06 PM   #14
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
You can find some configuration information here.
Good luck. ;-)
 
Old 12-23-2007, 04:36 AM   #15
jzimm0007@msn.com
Member
 
Registered: Aug 2007
Location: Hamilton, OH
Distribution: fedora 8
Posts: 31

Original Poster
Rep: Reputation: 15
My printer does not have a NIC in it. Doesn't the other protocols require this? I noticed when I am printing it says owner:Guest when it should be the person I am logged in as under Fedora 8 right? Maybe it isn't the permissions, would printing directly to the printer do anything? Why does it say pages N/A? It's supposed to say Remote downlevel document printing pages:1/1? I had to disable bi-directional printing on the windows machine. They should mention that in the cups documentation (They probably did I just did not see it).

Last edited by jzimm0007@msn.com; 01-01-2008 at 08:44 PM.
 
  


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
Samba...printing? liquidrabbit Linux - Hardware 18 04-30-2006 01:28 PM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 01:56 PM
Samba and Printing anickless Linux - Networking 7 12-16-2005 11:10 AM
Samba Printing: NEED HELP!!! headlessb Linux - Networking 7 11-09-2005 09:20 AM
printing through samba doralsoral Linux - Software 4 08-12-2004 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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