How to Access a Windows Shared Printer from Puppy 4
- mpierrat25
- Posts: 113
- Joined: Thu 23 Aug 2007, 20:56
- Location: France (25)
- mpierrat25
- Posts: 113
- Joined: Thu 23 Aug 2007, 20:56
- Location: France (25)
@gerry,
Do not mind, the script problem is now fixed. I needed unrpm and csh to
install properly. see :
http://www.murga-linux.com/puppy/viewtopic.php?t=31949
Now that I'm sure the cups print correctly, I will work on smb.
To be follows
Do not mind, the script problem is now fixed. I needed unrpm and csh to
install properly. see :
http://www.murga-linux.com/puppy/viewtopic.php?t=31949
Now that I'm sure the cups print correctly, I will work on smb.
To be follows
Just in case anyone with Puppy 3.01 feels like trying it- don't. Easy problem: smbspool is in /usr/bin/, not /opt/samba/bin.
Insuperable problem (for my expertise) is that cups keeps asking for authentication, and never gets as far as printing anything. This is the version of cups that needs a password to do anything- someone on another thread asked why BK changed back to an older cups for 4.0- maybe this is why??
Gerry
Insuperable problem (for my expertise) is that cups keeps asking for authentication, and never gets as far as printing anything. This is the version of cups that needs a password to do anything- someone on another thread asked why BK changed back to an older cups for 4.0- maybe this is why??
Gerry
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Pretty complicated as procedure. Didn't imagine this.
But a question tho.
My XP printer is defined as shared.
When I look for shares with pnethood for shares on my XP machine, it finds the printer as print$. I can mount that printer. And a directory is made containing exe's end dll's in subdirectories.
Can the printer be addressed through this way?
If not, and seeing this thread, it looks to me it's simpler to unplug the printer from the desktop (MD8818) and plug it into the laptop (USB connection) and define the printer in CUPS. Well in my case maybe.
(P.S. wanted to upload a picture, but got a msg max filesize is reached. Have to sort that out first)
But a question tho.
My XP printer is defined as shared.
When I look for shares with pnethood for shares on my XP machine, it finds the printer as print$. I can mount that printer. And a directory is made containing exe's end dll's in subdirectories.
Can the printer be addressed through this way?
If not, and seeing this thread, it looks to me it's simpler to unplug the printer from the desktop (MD8818) and plug it into the laptop (USB connection) and define the printer in CUPS. Well in my case maybe.
(P.S. wanted to upload a picture, but got a msg max filesize is reached. Have to sort that out first)
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Well, I'm giving up! It worked fine when I set it up a month ago, but then, after a couple of weeks, suddenly stopped. I think I've checked just about everything, and it won't work. What changed, I can't imagine, but it's at the Puppy end, not Windows, as I have the same setup with Debian, and that still works.
Gerry
EDIT: my problem has morphed into one that has plagued me through all versions of Puppy: my printer is not supported by Gutenprint, so I use a driver from Canon. When I first tried Dingo, the problem had gone away- my printer worked. Now, something happened, and it doesn't.
Ah well...
What I have found out is that the full URI for a samba printer should be:
smb://user-name-on-windows:password@workgroup/network-name-of-windows-pc/shared-printer-name
Gerry
EDIT: my problem has morphed into one that has plagued me through all versions of Puppy: my printer is not supported by Gutenprint, so I use a driver from Canon. When I first tried Dingo, the problem had gone away- my printer worked. Now, something happened, and it doesn't.
Ah well...
What I have found out is that the full URI for a samba printer should be:
smb://user-name-on-windows:password@workgroup/network-name-of-windows-pc/shared-printer-name
- Phoebe's_Dad
- Posts: 20
- Joined: Tue 19 Aug 2008, 13:02
Re: How to Access a Windows Shared Printer from Puppy 4
What if I don't see "Windows Printer Via Samba" despite 'following orders'?
rcrsn51 wrote:Puppy 4 has the CUPS printing system built-in. However there is a small bug that must be fixed before it can access a Windows shared printer.
This exercise assumes that you have found a suitable PPD file for your Windows printer and installed it in /usr/share/cups/model. Before starting, go to your Windows computer and locate its machine name and the name of the shared printer.
In Puppy, verify that you have the file /opt/samba/bin/smbspool
Then go to the folder /usr/lib/cups/backend
Inside this folder you need to make a symlink to the smbspool file and name it "smb". Open a console inside the folder and type:
ln -s /opt/samba/bin/smbspool smb
Restart CUPS with the following command (or reboot Puppy):
/etc/init.d/cups restart
Open the CUPS web interface at http://localhost:631/
Go to Admin Tasks and start adding a new printer.
At the bottom of the Device list you should see "Windows Printer via Samba"
Make the device URI smb://PCNAME/PRINTERNAME
Select your printer manufacturer and model.
Go to Manage Printers and print a test page.
You may have problems if the Windows host denies access to the Puppy client. In that case, you should try a URI that provides authentication. For example,
smb://USERNAME:PASSWORD@PCNAME/PRINTERNAME
or
smb://WORKGROUP/USERNAME:PASSWORD@PCNAME/PRINTERNAME
If you need to set up printing from a Windows machine to a Puppy printer, read here.
Here are some things to check.
1. What version of Puppy are you using?
2. Go into the folder /usr/lib/cups/backend. Do you see an icon named "smb" with an arrow on it? Is it a shortcut to the file /opt/samba/bin/smbspool?
3. Run the CUPS admin interface. Start adding a new printer. Under Device, scroll down to the very bottom of the list. Is "Windows Printer via Samba" there?
1. What version of Puppy are you using?
2. Go into the folder /usr/lib/cups/backend. Do you see an icon named "smb" with an arrow on it? Is it a shortcut to the file /opt/samba/bin/smbspool?
3. Run the CUPS admin interface. Start adding a new printer. Under Device, scroll down to the very bottom of the list. Is "Windows Printer via Samba" there?
- Phoebe's_Dad
- Posts: 20
- Joined: Tue 19 Aug 2008, 13:02
Sorry,rcrsn51 wrote:Here are some things to check.
1. What version of Puppy are you using?
2. Go into the folder /usr/lib/cups/backend. Do you see an icon named "smb" with an arrow on it? Is it a shortcut to the file /opt/samba/bin/smbspool?
3. Run the CUPS admin interface. Start adding a new printer. Under Device, scroll down to the very bottom of the list. Is "Windows Printer via Samba" there?
1. Dingo 4.00
2. not seeing that smb icon
Hmmm
Thanks...
How to Access a Windows Shared Printer from Puppy 4
Hi rcrsn51
I am tring to install windows share printer from puppy.i tried all instrution as per your command.
I am sucessefully installed windows share printer in minisys.
But when i am tring to installing windows share printer in pcpuppyos using kernal (Linux pcpuppyos 2.6.21.7 #1 Sun Sep 9 02:29:54 GMT-8 2007 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz GenuineIntel GNU/Linux)
The printer was set when i click on (Printer Test Page) its give me an error ("/usr/lib/cups/backend/smb failed")
why should happend whether i am doing wrong or any other else.
plese give me solution of it for windos shared printing.
thanks
shri
I am tring to install windows share printer from puppy.i tried all instrution as per your command.
I am sucessefully installed windows share printer in minisys.
But when i am tring to installing windows share printer in pcpuppyos using kernal (Linux pcpuppyos 2.6.21.7 #1 Sun Sep 9 02:29:54 GMT-8 2007 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz GenuineIntel GNU/Linux)
The printer was set when i click on (Printer Test Page) its give me an error ("/usr/lib/cups/backend/smb failed")
why should happend whether i am doing wrong or any other else.
plese give me solution of it for windos shared printing.
thanks
shri
-
- Posts: 1
- Joined: Mon 15 Sep 2008, 19:28
Phoebe's Dad:
If you're not seeing the smb icon in /usr/lib/cups/backend , then SAMBA won't be included in the Device list in cups. Just fixed that myself.
So, open up ROX, navigate to /usr/lib/cups/backend, right-click on some whitespace in that directory, choose "Window" and then "Terminal Here" from the submenu.
Type: ln -s /opt/samba/bin/smbspool smb
An icon for 'smb' with an arrow on it should appear in the ROX window. If it doesn't, then /opt/samba/bin/smbspool may not exist. We'll have to fix that.
If you have the 'smb' icon, then go back to the terminal window and type:
/etc/init.d/cups restart
then type exit.
If you have the CUPS manager open already, close it and re-open it using the wizard. "Windows Printing using SAMBA" should be listed as the *last* option in the device list...
Keep us posted
Okay now, I have a problem of my own, and it's the same one exProphecy had.
If you're not seeing the smb icon in /usr/lib/cups/backend , then SAMBA won't be included in the Device list in cups. Just fixed that myself.
So, open up ROX, navigate to /usr/lib/cups/backend, right-click on some whitespace in that directory, choose "Window" and then "Terminal Here" from the submenu.
Type: ln -s /opt/samba/bin/smbspool smb
An icon for 'smb' with an arrow on it should appear in the ROX window. If it doesn't, then /opt/samba/bin/smbspool may not exist. We'll have to fix that.
If you have the 'smb' icon, then go back to the terminal window and type:
/etc/init.d/cups restart
then type exit.
If you have the CUPS manager open already, close it and re-open it using the wizard. "Windows Printing using SAMBA" should be listed as the *last* option in the device list...
Keep us posted
Okay now, I have a problem of my own, and it's the same one exProphecy had.
I've tried all the smb:// configurations that have been suggested and I've tried resetting up the windows network on our XP machine where said printer is being shared. And I'm still not getting a connection. Any one have any insights to this problem?exProphecy wrote:I'm getting this error:
"Tree connect failed (NT_STATUS_ACCESS_DENIED)"
-
- Posts: 2
- Joined: Tue 23 Sep 2008, 20:49
Access a windows shared printer
I start puppy 4.00 with a boot disk and then switch to a multisession disk at the boot prompt.
I can connect my Brother HL-2040 printer to a usb port and it works fine. I've tried several different ways when it is connected to a windows print server.
I followed the instructions of rcrsn51 posted on May 8,2008 regarding "Windows Printer via Samba."
When I click print test page nothing happens. I click the printer name and Cups states: (Printer State:stopped, accepting jobs,
Device URI:SMB//LK97EA63/Brother HL-2040 series)
Each time I click start printer and print test page, I get this same result.
Is my device uri incorrect? LK97EA63 is the print server connected to the router. The printer name is as it is listed under properties in windows.
I won't want to have to connect the printer to a usb port every time I boot puppy. Any suffestions would be appreciated.
I can connect my Brother HL-2040 printer to a usb port and it works fine. I've tried several different ways when it is connected to a windows print server.
I followed the instructions of rcrsn51 posted on May 8,2008 regarding "Windows Printer via Samba."
When I click print test page nothing happens. I click the printer name and Cups states: (Printer State:stopped, accepting jobs,
Device URI:SMB//LK97EA63/Brother HL-2040 series)
Each time I click start printer and print test page, I get this same result.
Is my device uri incorrect? LK97EA63 is the print server connected to the router. The printer name is as it is listed under properties in windows.
I won't want to have to connect the printer to a usb port every time I boot puppy. Any suffestions would be appreciated.
-
- Posts: 2
- Joined: Tue 23 Sep 2008, 20:49
Access a windows shared printer
I am using the shared name. I even tried inserting the workgroup name after:smb://. It did not work. I communicate via a Orinoco wireless PC card to a Linksys wireless access point, which uses encryption. I connect to the internet, so I should be able to connect to the printer.
Any other suggestions?
Any other suggestions?
Do you mean that you want to connect a printer to a Puppy machine and make it available to other networked Puppy machines?I would prefer this, then most likely I can connect a puppy to a puppy machine with no issue for printing.
If this is your intent, you don't need to do anything! Once you have CUPS running, it will automatically broadcast its presence to other Puppy computers.