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 Sun 08 Dec 2019, 00:14
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to Install Your Printer/Scanner in Puppy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 29 [421 Posts]   Goto page: 1, 2, 3, ..., 27, 28, 29 Next
Author Message
rcrsn51


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

PostPosted: Sat 21 Aug 2010, 14:14    Post subject:  How to Install Your Printer/Scanner in Puppy  

Things to Know:

1. There are two steps to installing a printer in CUPS - detecting the hardware device and supplying a valid driver package. Just because CUPS detected your printer does not guarantee that it will work. Picking a printer model similar to your own may or may not be successful.

2. Unlike Windows, you should start the install procedure with the printer turned ON.

3. Despite what you may have read, a PPD file by itself is rarely sufficient to install a printer in Puppy. In most cases, you need an additional driver package.

4. Some printer drivers use the /tmp folder, which must have a full set of write permissions. Right-click on the /tmp folder and select Properties. All the "Write" boxes must be checked. This is also true for /dev/null and /var/tmp. Check that /dev/random is all-readable.

5. CUPS will auto-detect some, but not all, networked printers. If yours is not detected, use the following manual install procedure:

a. Run PeasyPort and scan your network for Port 9100. Get the IP address of the printer.
b. Start the CUPS wizard and open the Add Printer page.
c. Select the protocol AppSocket/JetDirect
d. Enter the Connection URI as: socket://aaa.bbb.cc.dd:9100

6. The Puppy Firewall will block access to networked printers. If you want to run the firewall, use a custom install that gives full access to the printer's IP address . Read here.

7. After a scanning session, some HP all-in-one units need to be rebooted before printing will work again.

8. Here are some handy commands for working with CUPS:
Code:
/etc/init.d/cups  status | start | stop
cancel -a (to cancel all print jobs)

9. Some Puppies do not recognize parallel port printers. You must run the command "modprobe lp". Add it to the file /etc/rc.d/rc.local and reboot.

10. To save a document as a PDF, use your application's Print > Print to File option instead of CUPS-PDF.

-------------------------

Installing a Printer:

You don't need to use the Puppy Printer Wizard to install a printer. Just launch your web browser and go to the CUPS interface at:
Code:
http://localhost:631

Open the Administration tab and select Add Printer or Find New Printers (depending on your CUPS version). If your printer is auto-detected, follow the steps to install it. Then print a test page. In CUPS 1.4, look for this option under the Maintenance drop-down menu.

-------------------------

For a little program that checks the ink levels of your printer, look at InkGUI.

-------------------------

Printing Digital Photos:

A good program for printing digital photos is PeasyPrint. To print on 4x6 photo paper, you will need to change some settings in CUPS. Look under Set Default Options for items like Media Size, Media Type and Print Quality.

Another useful tool for manipulating your photos is RPhoto. It can crop an image in a fixed 2x3 aspect ratio so it is ready to print on 4x6 photo paper. Download an RPhoto PET here. Click the green DOWNLOAD box.

To resize JPEG image files, look at PeasyScale.

-----------------------------

Scanner Drivers:

Some useful command line tools are:
Code:
sane-find-scanner (this command is broken in some new Puppies like Tahrpup)
scanimage -L
scanimage --help


Run Xsane from the Graphic menu. Ignore the warning about running as root. Your scanner should be auto-detected.

Peasyscan is a light-weight alternative to Xsane. It uses the same backend tools as Xsane, but with a simpler user interface. Read about it here. Peasyscan is included with newer Puppies.


To share a scanner across a network, read here.

----------------------------

Networked Printers:

In Windows, a network printer is identified by its MAC address or NETBIOS name. So a Windows client can always find the printer even if the printer's IP address changes. However, CUPS configures its printers by IP address. If you reset your network and the printer's address changes, you must reinstall it on Puppy client machines.

If it's a standalone printer, give it a static IP address. Or see the procedure here. Use it on Puppy client machines to associate the print server name with its IP address. For a one-click procedure, read here about the IP4CUPS tool.

---------------------------------

Sharing your Puppy Printer with Other Windows or Linux Machines:

Update: In recent versions of CUPS, printer sharing has become problematic. A much simpler method is discussed here. This, along with IP4CUPS, may be the best way to manage your network printers.

Update: Read here for info about connecting an XP machine to a Puppy shared printer via CUPS.

---------------------------------

Connecting to a Linux Shared Printer

Linux machines share their printers through CUPS with the Internet Printing Protocol. Depending on the version of CUPS running on the remote computer, there are several choices:

1. The remote printer may be auto-detected by Puppy's CUPS so no installation is required. The shared printer will automatically appear in an application's Print dialog.

2. If this doesn't happen, try a manual install on the client machine. In Puppy, run the CUPS wizard and select Add Printer > Internet Printing Protocol. Use a URI like:
Code:
ipp://aaa.bbb.cc.dd:631/printers/printer_name

The client machine must provide the driver. See the example here.

3. The shared printer still is not visible. Consider running a p910nd server on the remote computer as discussed above.

----------------------------------------

Last edited by rcrsn51 on Mon 02 Dec 2019, 21:26; edited 297 times in total
Back to top
View user's profile Send private message 
thelash

Joined: 07 Apr 2006
Posts: 40
Location: Eltham, NZ

PostPosted: Mon 23 Aug 2010, 06:42    Post subject: cups 1.4.3 not working in lupu.  

Hi. I have a frugal install of lupu 5.1 on an IBM T22 laptop. Previous puppies have given me no hassles, but when I open the cups server on firefox, I can get no further than the home page. Clicking on any of the operations eg add a printer gives me '500 Internal Server Error.' Taking your advice, I downloaded the cups 1.3.11 pet but when I click on this I get a failed to install message. I don't know what to try next, any guidance much appreciated.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 23 Aug 2010, 08:30    Post subject:  

It sounds like your install has experienced some other corruption that is affecting CUPS. I can use Firefox as the browser for CUPS with no problems and I can successfully install CUPS 1.3.11 over top of the CUPS 1.4.3. This is in Lupu 5.1 with the latest patches.

Boot off the Live CD using the "puppy pfix=ram" option and try printing again.
Back to top
View user's profile Send private message 
thelash

Joined: 07 Apr 2006
Posts: 40
Location: Eltham, NZ

PostPosted: Tue 24 Aug 2010, 03:44    Post subject: cups not working in lupu (SOLVED)  

Thanks - used pfix=ram and cups worked as normal. (I never considered that - haven't had a corrupted install with Puppy before.)
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3217

PostPosted: Sat 28 Aug 2010, 22:08    Post subject:  

In Lupu, ln -s /opt/samba/bin/smbclient /usr/bin/smbclient didn't work, but
cp did. (probably the same reason that a link to .mozilla never worked very long if at all).

Maybe a reason people are having trouble with lupu, CUPS 1.4.3 ??
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 29 Aug 2010, 07:45    Post subject:  

Quote:
In Lupu, ln -s /opt/samba/bin/smbclient /usr/bin/smbclient didn't work,


In the latest Lupu, the folder /opt/samba is gone and its files have been moved into /usr/bin.

You will also notice that the traditional CUPS smb: backend, which used smbspool, is now missing. It has been replaced by a new version that uses smbclient.
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Tue 07 Sep 2010, 07:57    Post subject:  

Using CUPS 1.4.3 - if the "Maintenance" and "Administration" drop-down list menu items can be activated please be so kind as to explain how.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 07 Sep 2010, 08:53    Post subject:  

Sir Jasper wrote:
Using CUPS 1.4.3 - if the "Maintenance" and "Administration" drop-down list menu items can be activated please be so kind as to explain how.

In the older versions of Lupu that used Netsurf as the default browser, those menus didn't work. You need the new Lupu that has Midori as the default browser.
Back to top
View user's profile Send private message 
thelash

Joined: 07 Apr 2006
Posts: 40
Location: Eltham, NZ

PostPosted: Thu 09 Sep 2010, 06:44    Post subject: lupu 511 cups not working.
Subject description: server errors
 

Have upgraded to Lupu 511 on my IBM t22 laptop. Running live, I was able to successfully install my hp deskjet f2180 printer using cups 1.4.3. On making a save file, this install appeared to transfer successfully, however, after a couple of shutdowns and installation of other software including go open office 3.2, I lost printing and was back to the dreaded 'server error 500' when attempting to leave the cups home page. Installed 1.3.11 pet and ghostscript files as per this forum topic, and have got the 1.3.11 home screen up on both midori and firefox 3.6.8, but can get no further - clicking on any menu entry doesn't load anything - screen stays where it is.
Can't print, can't use cups server, haven't got a clue where to go from here.
(Tried setting up on live run then creating save file a couple more times, but always ended up losing printing.)

Any clues anyone? Is it possible to remove cups completely and start again?
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 09 Sep 2010, 09:37    Post subject:  

I've never seen this 500 error myself, so it's difficult to comment. But here's what I would do.

1. Start a fresh frugal install and immediately make a savefile.

2. Reboot using the savefile and install the printer. Verify that it works.

3. Start adding/changing other items and test your printer each time.

Are you installing this printer locally through USB or through your network?
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 09 Sep 2010, 15:26    Post subject:  

@thelash:

I did some googling and your problem may be due to some corrupt print jobs. Try this set of commands:
Code:
/etc/init.d/cups stop
rm -rf /var/spool/cups
rm -rf /var/run/cups
rm -rf /var/cache/cups
/etc/init.d/cups start
Back to top
View user's profile Send private message 
thelash

Joined: 07 Apr 2006
Posts: 40
Location: Eltham, NZ

PostPosted: Fri 10 Sep 2010, 05:33    Post subject: lupu 511 cups not working (SOLVED)
Subject description: server errors
 

A big thank you rcrsn51 for all your help and the time you must have spent mulling over my hassles. Tried the commands in your last post to no avail, so went to your suggestion of a fresh frugal and adding things till cups broke.
I have discovered the culprit - I have a Go Open Office 3.2 squash file which I downloaded a while ago from somewhere on the forum. Soon as I set bootup to load it, I got the 500 server error and no response from the cups home page - both 1.4.3 and 1.3.11. With this sfs removed, I've been able to set up printing in cups 1.4.3 with no hassles and have loaded all the programs etc onto my pupsave that I want. Interestingly, I've set up an old openoffice.org version 1.1.4 from way back in my puppy 2 days with no problems - this is not an sfs but is the actual files which I have on my hard drive and have linked into my save file to preserve storage space. I may yet convert it to an sfs to see if it breaks the system. I haven't a clue why my Go Open Office sfs does this - any ideas?
Thanks again for your help.
Back to top
View user's profile Send private message 
Bilby

Joined: 26 Nov 2010
Posts: 1

PostPosted: Fri 26 Nov 2010, 01:07    Post subject: Thanks for this thread  

I'm a Puppy newbie, just installed today.

The only real problem I had was getting my HP printer to work.

Your advice regarding the HP driver worked. So thanks
Back to top
View user's profile Send private message 
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: Sun 27 Mar 2011, 14:37    Post subject: Hp CJ 1215  

I am using 431. I really do not want to change distros but if necessary I will.

Would you mind supplying the icm files for that printer, the Hp Colorjet 1215?

Thank you for all your efforts
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 27 Mar 2011, 15:35    Post subject:  

Please see my reply in the other thread concerning the correct foo2xxx package to use with Puppy 4.3.1.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 29 [421 Posts]   Goto page: 1, 2, 3, ..., 27, 28, 29 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 1.5092s ][ Queries: 13 (1.1133s) ][ GZIP on ]