Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cups: printer installed but not printing

104 views
Skip to first unread message

Anthony Campbell

unread,
Aug 4, 2011, 5:30:01 AM8/4/11
to
My /dev/usb/lp0 disappeared (again) and after two days' work trying to
get it back I finally gave up and installed the dreaded Cups.

This detected my Samsung ML2571N without problems and I thought
everything was fine. But, with the recommended driver, printing a test
page gives a blank sheet. And the lpr and lpq commands do not exist at
all so I can't try printing from the command line.

My only clue comes from lpstat:

ithaca:/usr/share/cups:$ lpstat -p -d
printer Samsung_ML-2570_Series is idle. enabled since Thu 04 Aug 2011 09:31:59 BST
Unable to open /usr/share/cups/charsets/utf-8: No such file or directory
no system default destination

The last two lines look bad but googling has not provided a clue (some
talk of bugs in Cups).


Can anyone point to possible solutions, please?

Anthony

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2011080409...@ithaca.acampbell.org.uk

Brian

unread,
Aug 4, 2011, 8:00:01 AM8/4/11
to
On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:

> This detected my Samsung ML2571N without problems and I thought
> everything was fine. But, with the recommended driver, printing a test
> page gives a blank sheet.

Which package did you install to get the driver?

> And the lpr and lpq commands do not exist at
> all so I can't try printing from the command line.

cups-bsd

> My only clue comes from lpstat:
>
> ithaca:/usr/share/cups:$ lpstat -p -d
> printer Samsung_ML-2570_Series is idle. enabled since Thu 04 Aug 2011 09:31:59 BST
> Unable to open /usr/share/cups/charsets/utf-8: No such file or directory

That file comes with cups-common. Is it on the system?

> no system default destination

You haven't told CUPS what the default print queue is. It can be done
from the browser interface.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110804113609.GI14528@desktop

Anthony Campbell

unread,
Aug 4, 2011, 9:20:01 AM8/4/11
to
On 04 Aug 2011, Brian wrote:
> On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:
>
> > This detected my Samsung ML2571N without problems and I thought
> > everything was fine. But, with the recommended driver, printing a test
> > page gives a blank sheet.
>
> Which package did you install to get the driver?
>
Not sure what you mean. I used the Samsung ML2571N foomatic/postscript
driver. Actually, on my stable installation this does print the test
page.

Other problems now solved thanks to your advice, except:

> > no system default destination
>
> You haven't told CUPS what the default print queue is. It can be done
> from the browser interface.

But what IS the default print queue in Cups? I can't find that specified
in any of the docs I've looked at. Or do I just create it?

Anthony


--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/2011080413...@ithaca.acampbell.org.uk

Dom

unread,
Aug 4, 2011, 9:40:01 AM8/4/11
to
On 04/08/11 14:09, Anthony Campbell wrote:
> On 04 Aug 2011, Brian wrote:
>> On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:
>>
>>> no system default destination
>>
>> You haven't told CUPS what the default print queue is. It can be done
>> from the browser interface.
>
> But what IS the default print queue in Cups? I can't find that specified
> in any of the docs I've looked at. Or do I just create it?

To show the current default queue: lpstat -d

To list and show the status of all queues: lpstat -a

To set the CUPS default queue: lpadmin -d queuename

--
Dom


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4E3AA0A7...@rpdom.net

Brian

unread,
Aug 4, 2011, 10:00:02 AM8/4/11
to
On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:

> But what IS the default print queue in Cups? I can't find that specified
> in any of the docs I've looked at. Or do I just create it?

At http://localhost:631/printers/ there should be a 'Set As Default'
option.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110804133629.GJ14528@desktop

Anthony Campbell

unread,
Aug 4, 2011, 12:10:02 PM8/4/11
to
On 04 Aug 2011, Brian wrote:
> On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:
>
> > But what IS the default print queue in Cups? I can't find that specified
> > in any of the docs I've looked at. Or do I just create it?
>
> At http://localhost:631/printers/ there should be a 'Set As Default'
> option.
>
>

I did that but still I get the error message with lpr -no default
destination.

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/2011080416...@ithaca.acampbell.org.uk

Camaleón

unread,
Aug 4, 2011, 12:40:01 PM8/4/11
to
On Thu, 04 Aug 2011 17:06:48 +0100, Anthony Campbell wrote:

> On 04 Aug 2011, Brian wrote:
>> On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:
>>
>> > But what IS the default print queue in Cups? I can't find that
>> > specified in any of the docs I've looked at. Or do I just create it?
>>
>> At http://localhost:631/printers/ there should be a 'Set As Default'
>> option.
>>
>>
>>
> I did that but still I get the error message with lpr -no default
> destination.

Show us the output of:

lpr -P your_printer /etc/hosts

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/pan.2011.08...@gmail.com

Anthony Campbell

unread,
Aug 4, 2011, 12:40:02 PM8/4/11
to
On 04 Aug 2011, Dom wrote:
>
> To show the current default queue: lpstat -d
>
> To list and show the status of all queues: lpstat -a
>
> To set the CUPS default queue: lpadmin -d queuename
>
> --
> Dom
>
>

Thanks to everyone for patience and replies. Printing is now working
following suggestions supplied.

Anthony

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/2011080416...@ithaca.acampbell.org.uk

Vincent Lefevre

unread,
Aug 4, 2011, 10:00:01 PM8/4/11
to
On 2011-08-04 17:06:48 +0100, Anthony Campbell wrote:
> I did that but still I get the error message with lpr -no default
> destination.

Which libcups2 do you use?

In my case, with libcups2 1.4.7-1:

ypig:~> lpq
lpq: error - no default destination available.

and with libcups2 1.4.6-11+b1:

ypig:~> lpq
lip-multi-3 is ready
no entries

I've reported the bug here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635096

--
Vincent Lef�vre <vin...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Ar�naire project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110805015...@prunille.vinc17.org

Anthony Campbell

unread,
Aug 5, 2011, 2:30:02 AM8/5/11
to
On 04 Aug 2011, Camale�n wrote:
> On Thu, 04 Aug 2011 17:06:48 +0100, Anthony Campbell wrote:
>
>
> Show us the output of:
>
> lpr -P your_printer /etc/hosts
>
> Greetings,
>
> --
> Camale�n
>
Thanks, Camaleon and everyone else who has helped. Everything is working
now; the solution was to set the Samsung as the default. I thought I had
done this but for some reason it didn't work at first but now it's fine.

Anthony

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/2011080506...@ithaca.acampbell.org.uk

0 new messages