Scythe Posted February 14, 2006 Report Share Posted February 14, 2006 (edited) Good day, I'm running Mandirva 2006 and would like to print to a printer running off of a Windows XP machine. Unfortunately, the printer, a HP Laserjet 1100, cannot be networked via ethernet - it has to run through parallel connection to the XP machine. Is there any way to print to this printer through the network, even though it crosses platforms? I'm just a newb so I have no idea if this would work :) Edited February 19, 2006 by Scythe Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 14, 2006 Report Share Posted February 14, 2006 First, you need to share the printer on Windows. Then, you can install samba following the samba faq on here, and that'll get you sorted. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 14, 2006 Report Share Posted February 14, 2006 and don't forget to install cups :P . you can also check on Null's started topic.. click below https://mandrivausers.org/index.php?showtopic=30754&hl= . Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 14, 2006 Author Report Share Posted February 14, 2006 (edited) First, you need to share the printer on Windows. Then, you can install samba following the samba faq on here, and that'll get you sorted. Already have the printer shared on my Windows home network :) When I try to configure Samba, it tells me that "localhost" is not a proper DNS name and that I need to readjust it. Where can i adjust the name and what would be a proper FQDN (Fully Qualified Domain Name)? Edited February 14, 2006 by Scythe Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 15, 2006 Report Share Posted February 15, 2006 When I try to configure Samba, it tells me that "localhost" is not a proper DNS name and that I need to readjust it. Where can i adjust the name and what would be a proper FQDN (Fully Qualified Domain Name)? You only need to configure Samba if you want to share the printer and files from your linux pc, and since your goal is to have access on printer that has been shared on your windows PC, what you need to be installed and Configured in your linux PC is CUPS.. as with my previous reply, the thread I mentioned is similar to your issue... to have access on a printer connected to windows PC from Linux PC. Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 15, 2006 Author Report Share Posted February 15, 2006 (edited) When trying to start CUPS like you mentioned in the thread you posted, I get this error: [root@localhost scythe]# /etc/init.d/cups start Starting CUPS printing system: cupsd: Child exited with status 98! [FAILED] Yes, I do have CUPS installed. Edited February 15, 2006 by Scythe Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 15, 2006 Report Share Posted February 15, 2006 (edited) according to cups FAQ http://www.linuxprinting.org/cups-faq.html#q_4_2 4.2 cupsd: Child exited with status 98!? Another process is using the port that cupsd listens to (default 631). It might be the rpc.rquotad deamon. Either disable this deamon or make sure cupsd starts before nfs. so to disable the ff:.. if you dont use nfs service.. try as root #/etc/init.d/nfs stop #/etc/init.d/portmap stop #/etc/init.d/nfslock stop then restart cups by #/etc/init.d/cups restart and try again Edited February 15, 2006 by aioshin Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 16, 2006 Author Report Share Posted February 16, 2006 This is what I get: [root@localhost ~]# service cups start Starting CUPS printing system: cupsd: Child exited with status 98! [FAILED] [root@localhost ~]# /etc/init.d/nfs stop bash: /etc/init.d/nfs: No such file or directory [root@localhost ~]# /etc/init.d/portmap stop Stopping portmap services: [ OK ] [root@localhost ~]# /etc/init.d/nfstock stop bash: /etc/init.d/nfstock: No such file or directory [root@localhost ~]# /etc/init.d/cups restart Stopping CUPS printing system: [ OK ] Starting CUPS printing system: [ OK ] [root@localhost ~]# chkconfig --list | grep cups cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups-lpd: off Apparently I don't have nfs or nfstock or they're located elsewhere. Either way, it still says that cups-lpd is off. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 16, 2006 Report Share Posted February 16, 2006 just to correct, its not nfstock, its nfslock Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 16, 2006 Author Report Share Posted February 16, 2006 Ok, that makes more sense. But I still get this: [root@localhost scythe]# /etc/init.d/nfs stop bash: /etc/init.d/nfs: No such file or directory [root@localhost scythe]# /etc/init.d/portmap stop Stopping portmap services: [ OK ] [root@localhost scythe]# /etc/init.d/nfslock stop Stopping NFS locking: [FAILED] Stopping NFS statd: [ OK ] [root@localhost scythe]# /etc/init.d/sups restart bash: /etc/init.d/sups: No such file or directory [root@localhost scythe]# /etc/init.d/cups restart Stopping CUPS printing system: [ OK ] Starting CUPS printing system: [ OK ] [root@localhost scythe]# chkconfig --list | grep cups cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups-lpd: off CUPS is still off. Probably because NFS locking wouldnt stop, I'm guessing. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 17, 2006 Report Share Posted February 17, 2006 (edited) [root@localhost scythe]# /etc/init.d/cups restartStopping CUPS printing system: [ OK ] Starting CUPS printing system: [ OK ] the above means that cups started sucessfully, so you may try to do your goal now, configure cups so you can print on your printer connected to your windows machine and lets see what will happen... and by the way, try to do the command below for the following services not to load when you reboot as root#chkconfig --level 5 nfslock off #chkconfig --level 5 portmap off and [root@localhost scythe]# chkconfig --list | grep cupscups 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups-lpd: off as you can see, the 5:on means that cups will start when your desktop or X start Edited February 17, 2006 by aioshin Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 17, 2006 Author Report Share Posted February 17, 2006 Ok, this is what's happening. I go to System-> Config-> KDE-> Peripherals-> Printers and it gives me the KDE Control Module. So far so good. I go to Add-> Add Printer/Class, hit Next, and select SMB shared printer (Windows). Then I have it log in as anonymous. It recognizes the different computers on my Windows home netowrk, but when I try to open up a computer (by clicking the + sing to the left of the name) it says Error returning browse list: NT_STATUS_ACCESS_DENIED So I'm guessing that my Windows computer is blocking the attempt to connect. When I try to connect with either the guest account or a user account, it recognizes the network, but nothing under that. Odd thing is, when I try it as an anonymous user, open up the network, and then pause where ti displays the network computers, then go "Back" and select the guest account, press "Next" and then click the plus sign next to the computer, it displays the printer. (Get that? :P) But then when I continue with the steps, install the driver, and try to test it, it give me this: Unable to create temporary printer. So I'm stuck. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 17, 2006 Report Share Posted February 17, 2006 ok try the menu-system-configuration-configure your desktop-peripherals-printers-then click on administrator mode---enter root password . add printer class - next - smb shared printer - user Identification - then select the normal account and enter the Administrator account on windows. . next - smb printer settings, don't scan the network, enter the workgroup assigned to that windows PC, server - IP add of the windows PC, Printer - shared name of the printer on windows PC - next then select the manufacturer......(were you able to reach this part?) . try to use the Windows Admin user and password so you have full control with regards to adding the printer... . also don't forget the Administrator Mode option . I'm just not sure if the printer you have there has the linux equivalent driver on cups... Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 17, 2006 Author Report Share Posted February 17, 2006 Ok, did everything you said, and it told me that it successfully sent a test page. Only thing is that the test page didn't print. So close.... Oh, and LinuxPrinting.org says it (HP Laserjet 1100) works perfectly. Hmm. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 17, 2006 Report Share Posted February 17, 2006 firewall, on the other thread, its the firewall on its XP that prevents printing from linux, try to check that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.