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.
|
Hi jzimm0007@msn.com, I hope that's not a valid email address. Anyway, this should help.
What is the Device URI: ? Good luck. ;-) |
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 --------- ------- |
Did you use the hpijs driver with foomatic?
Good luck. ;-) |
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.
|
What does the /var/log/cups/error_log look like? Any clues there as to what is failing?
Good luck. ;-) |
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) |
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. ;-) |
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 |
Let's have a look at /etc/cups/cupsd.conf. Did you input a username and password when setting the Device URI: ?
Good luck. ;-) |
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> |
Quote:
Code:
DeviceURI smb://username:password@workgroup/server/printer |
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?
|
You can find some configuration information here.
Good luck. ;-) |
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).
|
All times are GMT -5. The time now is 03:54 PM. |