Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 10:01
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to Access a Windows Shared Printer from Puppy 4
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
mpierrat25


Joined: 23 Aug 2007
Posts: 105
Location: France (25)

PostPosted: Tue 29 Jul 2008, 13:01    Post_subject:  

@guerry

unziping is OK however I suppose, I have to execute the file cupswrapperMFC210C-1.0.2

if I try that I got a bad interpreter error
if I try sh cups.... I got an exit(0)

in fact the script is supposed to use /bin/csh

what can we do?

mpierrat25
Back to top
View user's profile Send_private_message MSNM 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Tue 29 Jul 2008, 15:58    Post_subject:  

Sorry- you are beyond anything that I know about. I'll probably get expelled from the forum for this- but it might be easier with a Debian based distro, so that installing your driver just comes naturally.

Gerry
Back to top
View user's profile Send_private_message 
mpierrat25


Joined: 23 Aug 2007
Posts: 105
Location: France (25)

PostPosted: Thu 31 Jul 2008, 09:23    Post_subject:  

@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
Back to top
View user's profile Send_private_message MSNM 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 10 Aug 2008, 09:17    Post_subject:  

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
Back to top
View user's profile Send_private_message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Sun 10 Aug 2008, 15:32    Post_subject:  

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)

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send_private_message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 10 Aug 2008, 16:13    Post_subject:  

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
Back to top
View user's profile Send_private_message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sat 16 Aug 2008, 10:03    Post_subject:  

Go to topic t=32508 for how to do it in Puppy 301.

Gerry
Back to top
View user's profile Send_private_message 
Phoebe's_Dad


Joined: 19 Aug 2008
Posts: 21

PostPosted: Thu 04 Sep 2008, 13:52    Post_subject: 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.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9203
Location: Stratford, Ontario

PostPosted: Thu 04 Sep 2008, 16:40    Post_subject:  

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?
Back to top
View user's profile Send_private_message 
Phoebe's_Dad


Joined: 19 Aug 2008
Posts: 21

PostPosted: Fri 05 Sep 2008, 09:18    Post_subject:  

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?


Sorry,

1. Dingo 4.00

2. not seeing that smb icon


Hmmm

Thanks...
Back to top
View user's profile Send_private_message 
shri


Joined: 13 Jun 2008
Posts: 12

PostPosted: Thu 11 Sep 2008, 04:18    Post_subject:  How to Access a Windows Shared Printer from Puppy 4
Sub_title: "/usr/lib/cups/backend/smb failed"
 

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
Back to top
View user's profile Send_private_message 
cptncatholic

Joined: 15 Sep 2008
Posts: 1

PostPosted: Mon 15 Sep 2008, 15:47    Post_subject:  

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.

exProphecy wrote:
I'm getting this error:
"Tree connect failed (NT_STATUS_ACCESS_DENIED)"


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?
Back to top
View user's profile Send_private_message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Thu 18 Sep 2008, 03:09    Post_subject:  

Have you tried turning off ALL firewalls on your Windows machine?

Gerry
Back to top
View user's profile Send_private_message 
stevetimar

Joined: 23 Sep 2008
Posts: 2

PostPosted: Tue 23 Sep 2008, 17:34    Post_subject: Access a windows shared printer
Sub_title: Can't get printer to work
 

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.
Back to top
View user's profile Send_private_message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 28 Sep 2008, 12:35    Post_subject:  

Have you checked the "share" tab of the printer properties? On my windows machine the printer's "sharename" is different from its installed name (ie, the name under its icon).

Gerry
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0891s ][ Queries: 12 (0.0061s) ][ GZIP on ]