I wrote these notes while installing a new HP Photosmart 5720 printer I got:
It's an All-In-One printer that has Scanning and FAX, which both features work with Linux under Ubuntu (I'm using Lucid 10.04 btw). The printer cann also scan and FAX independent of any computer too.
It took about an hour to actually get the printer out of the box, put it together (install ink and remove a bunch of packing tape*) and just connect it to the computer, it does not come with any instructions aside from a diagram on how to connect the power cable and warrenty. I used a USB connection since I was not comfortable with wireless in my area.
*You need to make sure that you remove ALL the physical blue packaging tape that was on the actual printer, there are a lot and if you miss one or two it can cause things to jam.
First, make sure that you upgrade hplip, I needed to upgrade to hplip version 3.12.10a for things to work. http://hplipopensource.com/hplip-web/downloads.html
Once I connected the printer to the computer (via USB) and powered on the printer everything was auto-detected. But in case it did not auto detect this is what you need to do:
Go to: Device->Setup Device...
Select your connection type (I used the USB connection), then HP as the manufacturer. It should then auto-detect and give you two listings; Photosmart_7520 and Photosmart_7520_fax, one is for the printer and the other is for the FAX.
I suggest that you set the verbose description to include "Printer" to distinquish that from the "FAX", e.g. "HP Photosmart 7520 Printer" and "HP Photosmart 7520 FAX", and the identifier name should be "Photosmart-7520" and "Photosmart-7520-FAX" (respectively). That will really help when you are looking for the right one in an application's printers list.
There is no entry for the scanner, it's handled differently (see scanning section below).
Remember to set the printer (not the FAX) as the default, for some reason it sets the FAX as the default sometimes. In hp-toolbox select the printer ("Photosmart-7520") in the list and go to Printer Control->Set As Default.
You may also need to log out and log in again for the "Actions->Print Test Page" and other things to work (I'm not sure why).
Print from computer to printer:
Testing with GEdit and GIMP both print without any major problems.
Some of the things you might run into is that you need to make sure that the correct printer is selected (make sure that you select the printer and not the FAX, seems like a silly thing to point out but having the wrong one selected happens more often than you think).
You may also need to set EACH OF YOUR application's Printer Properties or Printer Setup and make sure that "Paper Type" and "Paper Source" are set to some value OTHER than Automatic. Typically this is under Print...->Page Setup. If you do not set this then you may get some kind of "conflict error". For the Paper Source, the Main Tray refers to the lower (lowest) physical tray on the printer and the "Photo Tray" refers to the removable tray just above it (where smaller photo paper is placed).
Also, be sure to go through every setting just to be extra sure you have everything set correctly before you click on Print.
Borderless printing using GIMP:
This works too, but requires a lot of steps and things to check.
First open your image in GIMP and then go to File->Page Setup, set Format For to "Photosmart-7520" and the Paper Size, if you want to print (for example) on 4x6 inch photo paper select "Photo Borderless 4x6in". Note that it will say 4.22 inches wide and 6.2 inches height (I think this is for the full bleed/borderless effect, and not that the paper is actually that size). Click Apply.
Then make sure that the image you are printing is the correct size and resolution by going to Image->Print Size... make sure it is set to 4 INCHES in width and 6 INCHES in height (double check the units). You may need to adjust/resize/crop your image in order to get the right size.
Once you have double-checked everything, go to File->Print... and make sure Page Setup->Paper Size (it may be insensitive/greyed out) says "Photo Borderless 4x6in" (you can change this in File->Page Setup as mentioned above).
Now physically load the 4x6 inch photo paper in the upper tray (the long 6 inch end goes into the printer) face down. Set Page Setup->Paper Source to "Photo Tray".
Under Image Settings you can visually see if everything is correct, check "Ignore Page Margins" and make sure that the Width and Height are set to the highest value (about 4.131 and 6.196 respectively), Center should be set to "Both".
Also check all the other options as well (Color, Image Quality, etc). Image Quality needs to be set to "Normal" or better.
Click on Print.
NOTE: sometimes the printer will give you an error saying there is a paper size "mismatch" (on the printer's display), I think this is a bug with the printer itself as it never reports it to the computer/Linux. Just reload the paper and click Ok. I had to retry 3 times to get it to finally recognize it. If you press the red X it will report to Linux that it finished printing but never actually print.
Scan from printer to USB memory stick:
Just a quick note, you need to have your USB memory stick to be formatted to FAT/VFAT in order for the printer to be able to write the scanned images to (it will not accept NTFS, HFS, EXT#, etc).
Scan from printer to computer via USB:
You can only initiate a scan from your computer under Ubuntu and HPLIP (not from the printer to the computer). I have tested it and it works using simple-scan and XSane.
Using simple-scan, you need to go to Document->Preferences to make sure everything is set up correctly as the application's settings override the scan settings you last set on the printer. For some reason there are two listings for the scanner, I think it's because there is a printer and a FAX, but selecting either one works the same.
You can safely set the Page Size to Automatic for scanning.
If you want to scan in color then make sure that you set Document->Scan->Photo.
You can place the document in either the document feeder (the small lid that you flip open to the left that is on TOP of the printer) or the single page scanner (the lid that opens away from you). If you place the document(s) in the document feeder then make sure that you to go Document->Scan->All Pages From Feeder. If you place the document in the single page scanner then go to Document->Scan->Single Page.