Fixing scanning on an HP Photosmart C6300 series in Ubuntu 12.10

Originally published on eve.gd on 7 December 2012, last updated 6 September 2026.

Read this post on the web (with images, PDF and citation details)

If you own an HP Photosmart C6300 series and upgraded to Ubuntu 12.10, you may have noticed that you are unable to set the scan resolution (DPI) in any of your programs. gscan2pdf has the scan resolution dropdown menu greyed out and you will be unable to get xsane to present you with a list of resolutions.

The answer is that the models.dat shipped with hplip versions under 3.12.10 contains an error. To fix this, you simply need to edit (as root) /usr/share/hplip/data/models/models.dat and change

hplip versions under 3.12.10
an error
you simply need to edit

scan-src=2

to

scan-src=1

in the section called photosmart_c6300_series (it has to be this section, not the generic photosmart section).

For those who don't know how to do this, if you open up a Terminal window and type the following, you should, once you've entered your password at the prompt, get a visual editor that will make this easier:

sudo gedit /usr/share/hplip/data/models/models.dat

Hope that helps somebody!

References

This reference list has been generated, in many cases, through an automated process and may therefore contain errors or incomplete metadata. It is provided purely as assistance for finding the items mentioned within this post.

1. Mageia bug report for hplip models.dat error <https://bugs.mageia.org/show_bug.cgi?id=7637>

2. ‘Question #208678 "Cannot set scan resolution on a Photosmart C63..." : Questions : HPLIP’, Launchpad <https://answers.launchpad.net/hplip/+question/208678>

https://bugs.mageia.org/show_bug.cgi?id=7637
https://answers.launchpad.net/hplip/+question/208678