Printing in Puppy: cups-install-v0.3.pup (with Gutenprint)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#21 Post by trapster »

The browser launches , And it shows http://localhost:/631 in the title bar but i get an error message in the middle stating:

Try http://localhost:631

You do not need the "/" prior to 631
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#22 Post by pakt »

trapster wrote:Try http://localhost:631

You do not need the "/" prior to 631
Thanks, trapster, for catching that :)

Strange though, because the CUPS dotpup doesn't add the "/"...
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#23 Post by jason.b.c »

trapster wrote:
The browser launches , And it shows http://localhost:/631 in the title bar but i get an error message in the middle stating:

Try http://localhost:631

You do not need the "/" prior to 631
Oh did i get that wrong..? :lol:

I wasn't for sure if i was remembering that correctly , I was almost certain i remembered seeing a "/" at the end there in the title bar...


I'll try it again here soon...
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

3nCrypt
Posts: 20
Joined: Tue 30 Jan 2007, 21:53

SMB on CUPS

#24 Post by 3nCrypt »

I've used CUPS before, but have forgotten the proper syntax.

I have a network shared printer running at home off a Windows XP Pro SP2 computer.

- I choose "Unknown Network Device (smb)" in the Admin area.
- I enter this for Device URI: smb://anonymous:anonymous//PCNAME/SHARENAME

Nothing happens when I click on Print Test Page. Am I entering something wrong in the Device URI box?

3nCrypt
Posts: 20
Joined: Tue 30 Jan 2007, 21:53

#25 Post by 3nCrypt »

Now I don't know if this helped or not but I read some things online that your smb.conf file has to be edited to point to your home workgroup so I edited it to use "HOME" as that's my Windows Workgroup name.

I still can't get CUPS to work, but now LinNeighborhood sees the Workgroup and systems on there.

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#26 Post by jason.b.c »

I still cannot get this thing to work..

I have some 464.58 mb's of free space in the puppy partition , The printer is plugged in during install , and:
does in fact show up in the browser when it is launched , Why dosen't it work...??

I even tried installing it in a puppy live session , And it still wouldn't work...

Unable to connect
Is the message i see ( even in the live session )...
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#27 Post by jason.b.c »

*BUMP*
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#28 Post by GuestToo »

i don't know if this is your problem, but i seem to remember that you must use the exact address that is in the config file ... so if it is configured to allow 127.0.0.1 and you use localhost, it will not work

does http://127.0.0.1:631 work?

or maybe http://127.0.0.1:631/

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#29 Post by jason.b.c »

GuestToo wrote:i don't know if this is your problem, but i seem to remember that you must use the exact address that is in the config file ... so if it is configured to allow 127.0.0.1 and you use localhost, it will not work

does http://127.0.0.1:631 work?

or maybe http://127.0.0.1:631/
Nope..! , Still no luck here..., I still get the error...

Has anybody at all had this trouble..?? Does this dot.pup actually work correctly..??

I'm starting to wonder if the pup is corrupt or something.. ( the download )
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#30 Post by Mstar »

I believe the answer is here:

http://www.murga-linux.com/puppy/viewtopic.php?t=15094

I fought this same battle for two weeks, then installed smbspool as per the post and CUPS immediately began working.

YMMV, but it worked for me.

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#31 Post by jason.b.c »

Mstar wrote:I believe the answer is here:

http://www.murga-linux.com/puppy/viewtopic.php?t=15094

I fought this same battle for two weeks, then installed smbspool as per the post and CUPS immediately began working.

YMMV, but it worked for me.
smbspool didn't help , the localhost thing still won't open... :roll:
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

Torymon
Posts: 96
Joined: Tue 22 Aug 2006, 21:35
Location: The Great State of Mississippi,USA

#32 Post by Torymon »

What printer are you trying to setup?
You may need additional "filters" like 'pnm2ppa'
Google "foomatic" and/or "generate .ppd files" and see if you can
get the proper drivers/filters/whatever..
I have a Hewlet-Packard Deskjet 820Cse. It's NOT in the puppy wizards
and Pakts CUPS script won't help by itself.
I HAVE to install "pnm2ppa" FIRST, then make sure I put the .ppd file in
my root directory, then run Pakt's CUPS script.
With "pnm2ppa" already in place, the script runs right through and
brings up a browser window with the administration page. From there,
I select 'Manage Printers' - 'Add Printer' and select the appropriate items.

Which reminds me... Does anyone know if you still HAVE to make the
name a one word entry?
I haven't tried it... I remember it used to be you HAD to make that
first one a "one-word" entry with NO spaces. I'm just curious.

(Thanks again Pakt!!! The script has really smoothed up!! Great Work!!)

But, Jason, let me know what printer you're trying to get working,
if you don't have Internet, I'll try to get the .ppd file and pnm2ppa
(if needed) and post them here in a follow-up.
PPD files are small and pnm2ppa tar file is only 187K.
Hope I can help, just let me know!

Pakt... U DA MAN!!!

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

#33 Post by mikeb »

Firstly the solution to the address problem is try
http://localhost:631/admin

never works for me without the admin.

Anyway cups is working fine here ,can print from windows 2000 also , samba is not needed to do this just network to <host>:631/printers/<name_of_printer> with IPP installed on the client..(added in network settings)

On the subject of size....the dotput is compiled to use ghostscript 9.15 but gsview is compiled to use 8.51 or 8.53 depending on the puppy version.
This results in two sets of ghostscipt files for each version for everything to run...ie duplication of around 5mb worth of files compressed.
Could a version of gsview compiled for 8.15 be included in the package perhaps...there doesn't seem to be a way to share one of the versions (went crosseyed trying)

Thanks for the effort to make this a straghtforward and 'worth-its-weight-in-gold' package,

regards

mike

update...looked at the cups site and it seems like the two ghostscript (esp 8.15 / gpl 8.57) versions are to be merged ..available soon...not sure how this affects the puppy cups implementation but the streamlining I mentioned will happen with this change.

lowdog
Posts: 3
Joined: Mon 04 Jun 2007, 15:38

hp psc 1401

#34 Post by lowdog »

Finally Got my Printer to work in puppy with this version thank you!!!!!!


Lowdog

PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#35 Post by PaulBx1 »

There is no uninstall feature in this dotpup.
Well, that makes it rather less palatable. I sure like to be able to back out packages, especially when loading something big like cups into something small like Puppy, where I don't know whether it is going to help me before I try it.

So, I guess I won't try it, even though I'm getting tired of taking a thumb drive upstairs to my wife's XP machine to print something.

I realize it was suggested to back up the pup_save first, in case it doesn't work. But there are other reasons to want to back out packages, for example when this revision is superceded by another, or because some day the standard Puppy print setup may be good enough.

Shouldn't developers be using the petget packager these days?

Sorry to be a nag about this...

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Strange Behavior

#36 Post by ecomoney »

Hi, Im using 2.15ce with CUPS. I develop at home and take the resulting pup_save.sfs files over to a community centre cybercafe where I work, both locations are networked with dhcp.

Ive (think Ive) noticed that CUPS seems to automatically pick up printers that are installed on other computers on the network, and I cant seem to remove them when I take them up to the cybercafe. Is there a way of clearing all of the cups configuration and printers to make a fresh install? Would re-installing this package do it?

Also, I want to share a quick tip for creating a quick desktop shortcut for this package. Its a little batch file that will launch dillo with "localhost:631" already in the browser, and its really quick.

http://www.ecomoney.eu/puppy/misc/printing.sh

Perhaps it can be included in the next cups package?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#37 Post by mikeb »

Ive (think Ive) noticed that CUPS seems to automatically pick up printers that are installed on other computers on the network, and I cant seem to remove them when I take them up to the cybercafe. Is there a way of clearing all of the cups configuration and printers to make a fresh install? Would re-installing this package do it?
Yes its keen to pick up printers...perhaps maually editing printers.conf in /etc/cups might do the trick.....I noticed when trying to delete jobs I get permission denied...probably needs a change in the cups.conf file
I realize it was suggested to back up the pup_save first, in case it doesn't work. But there are other reasons to want to back out packages, for example when this revision is superceded by another, or because some day the standard Puppy print setup may be good enough.
What about testing ram only ie pfix=ram.....should work nicely with xp...install internet printing (ipp) and choose this method with the setup printer wizard putting the full cups printer address ...I used the adobe postscipt driver which seems to produce a better quality print than the original manufacturer one.....or via samba if you are using that.
If the package was updated it would more than likly overwrite existing file and add new ones.

mike

mike[/quote]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

cheers

#38 Post by ecomoney »

Thanks MikeB about the hint with the /etc/printers.conf. Were testing a new version of the software for the cybercafe so there are updates practically everyday. I assume if I symlink the printers.conf file to something outside the pup_save file, I can just run a software update by replacing the pup_save and not have to set up the printing on all ten machines! :D
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#39 Post by mikeb »

I assume if I symlink the printers.conf file to something outside the pup_save file, I can just run a software update by replacing the pup_save and not have to set up the printing on all ten machines!
probably though I notied that the cups.conf file format does change between versions...suck it and see.

mike

Post Reply