How to use Puppy as a wireless print server?

Using applications, configuring, problems
Message
Author
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

How to use Puppy as a wireless print server?

#1 Post by Subito Piano »

Hi! This has been bugging me for years -- I can never use Puppy as a print server b/c I never can discover the printer. My main box is Ubuntu-based (sorry, long story...); I have an HP LaserJet 1100 hooked up to the Puppy Box, all is thru a wireless network, and Cups cannot discover the printer. The firewall has been disabled, there isn't even any encryption (yet) -- i tried using the hostname and ip address to bypass "discovery" but nothing works. I don't have this problem when using other distros or even (gasp!) Win98 as for the server but i would like to both conquer this probelm once and for all -- and NOT use a ubuntu-based distro for my server. Any thoughts???

THANK YOU!!

Image

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

Is cups set to 'publish' the printer ie
Share published printers connected to this system
or similar...
and for clients...
Show printers shared by other systems
in the CUPS admin

If so it should appear to any cups daemon on other machines, firewall permitting..... I have a network printer now but thats all I used to do...now it gets in the way lol.

For windows clients I had to play with ipp/ghostscript/xerox driver in japanese for NT4 lol but usually got there in the end. Samba might be easier but never tried it cos I use it not.

mike

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post by rcrsn51 »

Old versions of CUPS were very good both at advertising shared printers across a network and detecting other CUPS shared printers.

But this no longer seems to be true. Read the discussion here about setting up shared printers.

Mikeb has provided the settings on the Puppy SERVER.

On a CLIENT, you need to do a manual install using the ipp protocol. The client will need the appropriate printer driver.

I got this to work on an Ubuntu client and a Puppy client. Neither was able to auto-detect the shared printer on the Puppy print server.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#4 Post by mikeb »

Old versions of CUPS were very good both at advertising shared printers across a network and detecting other CUPS shared printers.
Yes more locked down with each version...in case someone steals your printer through the phone line :D ..ps i mentioned client in there somewhere...

I tried CUPS 1.5 and it was so broken (slackware) I went to 1.4 but use 1.3.10 mainly. Gutenprint and other drivers seem ok with older CUPS.

mike

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#5 Post by Subito Piano »

I had the appropriate boxes checked and all firewalls off; i think it's cups 1.4 on Puppy BUT 1.5.3 on my L'ubuntu laptop. I tried both ipp and http, using

Code: Select all

http://192.168.2.23:631/printers/MY_PRINTER
but did not work. Do let me know if i'm missing something. I've used both localhost:631 and the L'ubuntu printer utility but neither worked. I booted my laptop into Puppy as well but stil could not access the Puppy print server. Image
Read the discussion here about setting up shared printers.
I will try this when i get home tonight and let you know what happens.

Thanks....

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

When you install the printer in the CUPS SERVER, there are two steps.

1. There is a Share checkbox for the individual printer.
2. There is a Share checkbox on the Admin screen.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#7 Post by Subito Piano »

All has been or already was done. No go -- either the printer is not responding or it times out or it's busy. If one of those responses means i am close -- do let me know.
DO i want the inet addr of the server or the Broadcast address? Or the printer IP or MAC address. I tried the printer IP yesterday, i believe.
Not sure what to do at this point. I will try a live ubuntu disk and see if that works so at least i will know if it's a hardware or software problem....

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#8 Post by rcrsn51 »

I have experienced the same frustration getting CUPS to share a printer. Try this method instead.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#9 Post by Subito Piano »

using the inet address of the host computer, i get "the printer is busy"

using the Bcast address, i get "the printer is not responding"

both of these messages i have seen before.

I have a parallel printer with a USB converter cable; the p910nd-start file reads:

Code: Select all

p910nd -f /dev/usb/lp0 0
so i used 9100 as per your instructions.

I restarted the host computer and again using the inet address under socket, i received "the printer is unreachable at this time" Image

Any ideas what i am doing wrong?

Oh, and i assume i need to set this script to autostart, correct? Mercy, i don't need to give the script write permissions, do i?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#10 Post by rcrsn51 »

Subito Piano wrote:I have a parallel printer with a USB converter cable
This is fairly important information.

How do you have this printer set up in CUPS as a local printer?
DO i want the inet addr of the server or the Broadcast address? Or the printer IP or MAC address. I tried the printer IP yesterday, i believe.
I don't understand this. You want the IP address of the computer to which the printer is attached.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#11 Post by Subito Piano »

Hmm -- here's this info, if i missed anything, lemmeknow!

(HOST COMPUTER)
Show printers shared by other sytems (cups only)
Share printers connected to this sytem (cups only)
allow printing from the
  • internet
    advertise web interface
allow printing from internet
allow remote administration
allow users to cancel any job
preserve job history

There are no classes

Location is local printer
driver is CUPS+Gutenprint v.5.25
connection is usb://HP/LaserJet%201100 (????)

Sharing is checked for the individual printer as well

It is set as the server default

I haev not allowed or disallowed any users....not sure how to do this unless it's MAC address or ip

Hope this is what you need! (Err - what I need!)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#12 Post by rcrsn51 »

Start the p910nd server running on the computer with the printer.

Go to a Puppy client machine and run PeasyPort from the Network menu.

Enter the IP address of the server machine and Port 9100.

Is it detected?

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#13 Post by Subito Piano »

No go - blank screen.

If i don't respond for the rest of the evening, it's b/c i had to get some rest early tonight....

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#14 Post by rcrsn51 »

Subito Piano wrote:No go - blank screen.
Then there is some problem with your network.

Run PeasyPort again and check for Port 631 (CUPS). If it also does not respond then the problem is with your network and not the printer setup.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#15 Post by Subito Piano »

OOOOOOOOOO-KAY. It did not work with port 631, no surprise. We recently switched to Cable internet and i have NOT been impressed with the Ubee cable modem they are "renting" to us (it can't set up encryption correctly, poor range). I was already in process of replacing it, I'll try later with a different wireless and report back (might take some time).

THANK YOU!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#16 Post by rcrsn51 »

I suspect that the router part of your cable modem is blocking these other ports.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#17 Post by Subito Piano »

Hmm...but port filtering is not enabled -- ??

BTW, whose bust is your avatar? I've wondered that a long time.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#18 Post by rcrsn51 »

Subito Piano wrote:BTW, whose bust is your avatar? I've wondered that a long time.
My location is your first hint. :wink:

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#19 Post by mikeb »

The bust depicts a man looking at his printer and saying to himself 'I wish rcrsn51 was around to sort it out'

mike

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#20 Post by rcrsn51 »

A quick Google of "stratford ontario bust" was pretty depressing. At one time, Perth County had its own version of Walter White.

So skip those entries.

Post Reply