Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178406 > unrolled thread

Printing packages

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2017-03-04 19:20 +0100
Last post2017-03-26 19:50 +0200
Articles 4 on this page of 44 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-04 19:20 +0100
    Re: Printing packages Brian <ad44@cityscape.co.uk> - 2017-03-04 19:30 +0100
      Re: Printing packages Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-03-04 20:10 +0100
        Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-04 21:00 +0100
          Re: Printing packages Brian <ad44@cityscape.co.uk> - 2017-03-04 21:10 +0100
          Re: Printing packages Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-04 21:20 +0100
            Correction: Re: Printing packages Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-04 21:40 +0100
              Re: Correction: Re: Printing packages Doug <dmcgarrett@optonline.net> - 2017-03-04 23:00 +0100
                Re: Correction: Re: Printing packages Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-04 23:50 +0100
                  Re: Correction: Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-05 08:00 +0100
                    Re: Correction: Re: Printing packages Liam O'Toole <liam.p.otoole@gmail.com> - 2017-03-05 19:30 +0100
                      Re: Correction: Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-05 21:00 +0100
            Re: Printing packages Brian <ad44@cityscape.co.uk> - 2017-03-04 21:40 +0100
              Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-04 22:40 +0100
                Re: Printing packages Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-05 00:10 +0100
                  Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-05 08:10 +0100
          Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 16:00 +0200
    Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-05 21:10 +0100
      Re: Printing packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-05 21:50 +0100
      Re: Printing packages Brian <ad44@cityscape.co.uk> - 2017-03-05 22:00 +0100
        `Filter failed' no print error message (was: Printing packages) Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-07 16:50 +0100
          Re: `Filter failed' no print error message (was: Printing packages) Brian <ad44@cityscape.co.uk> - 2017-03-07 18:10 +0100
            Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-11 22:10 +0100
              Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-12 00:30 +0100
                Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-13 17:30 +0100
                  Re: `Filter failed' no print error message Rob van der Putten <rob@sput.nl> - 2017-03-13 20:10 +0100
                  Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-13 21:00 +0100
                    Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-20 19:30 +0100
                      Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-25 13:10 +0100
                        Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 19:00 +0200
                          Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-26 22:00 +0200
                            Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 23:10 +0200
                              Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-27 00:50 +0200
                                Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 08:50 +0200
                                  Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-27 13:10 +0200
                                    Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 15:40 +0200
                                      Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-27 16:40 +0200
                                        Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 17:10 +0200
                                          Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-27 18:20 +0200
                                            Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 19:30 +0200
                                              Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-27 20:20 +0200
                  Re: `Filter failed' no print error message Brian <ad44@cityscape.co.uk> - 2017-03-13 21:10 +0100
          Re: `Filter failed' no print error message Teemu Likonen <tlikonen@iki.fi> - 2017-03-25 14:30 +0100
            Re: `Filter failed' no print error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 19:50 +0200

Page 3 of 3 — ← Prev page 1 2 [3]


#179485 — Re: `Filter failed' no print error message

FromBrian <ad44@cityscape.co.uk>
Date2017-03-27 20:20 +0200
SubjectRe: `Filter failed' no print error message
Message-ID<tpHpg-3Jt-25@gated-at.bofh.it>
In reply to#179480
On Mon 27 Mar 2017 at 18:22:04 +0100, Rodolfo Medina wrote:

> Brian <ad44@cityscape.co.uk> writes:
> 
> > How about
> >
> >  cupsfilter /etc/nsswitch > out.prn ?
> >
> > That should give more than one line of output.
> >
> > (Unable to determine MIME type of "/etc/nsswitch" is perturbing).
> 
> In this case, the output is:
> 
>  cupsfilter: Unable to determine MIME type of "/etc/nsswitch".
> 
> on both machines...

I chose /etc/nsswitch because it is a *small* ASCII text file and any
output would not be too large to send here.

Try the cupsfilter commands with /etc/services or any other text file.
Also try PDFs.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#178783 — Re: `Filter failed' no print error message

FromBrian <ad44@cityscape.co.uk>
Date2017-03-13 21:10 +0100
SubjectRe: `Filter failed' no print error message
Message-ID<tkEs1-5H9-1@gated-at.bofh.it>
In reply to#178764
On Mon 13 Mar 2017 at 16:27:30 +0000, Rodolfo Medina wrote:
 
> Brian <ad44@cityscape.co.uk> writes:
> 
> > There are seven instructions in the advice given. You haven't provided a
> > response to any of them. If there is a problem with following what is
> > required, please ask.
> 
> As the wiki suggests, I did:
> 
>  # cupsctl --debug-logging

Good.

> .  Then I did:
> 
> $ lpstat -t
> scheduler is running
> system default destination: Samsung_ML-191x_252x_Series

You have a Samsung ML-191x series B&W printer. It is not supported in
Debian. From where did you get the necessary drivers?

> device for Samsung_ML-191x_252x_Series: usb://Samsung/ML-191x%20252x%20Series?serial=Z2L9BABZ700571F.

Encouraging. CUPS has detected the printer is on a USB connection. There
should be no problem printing after your basic problem is sorted out.

> Samsung_ML-191x_252x_Series accepting requests since Sun 12 Mar 2017 07:44:58 GMT
> printer Samsung_ML-191x_252x_Series is idle.  enabled since Sun 12 Mar 2017 07:44:58 GMT
>         Sending data to printer.

Also OK.

> Samsung_ML-191x_252x_Series-16 rodolfo         457728   Sat 11 Mar 2017 19:56:36 GMT
> Samsung_ML-191x_252x_Series-17 unknown           1024   Sat 11 Mar 2017 20:09:12 GMT
> Samsung_ML-191x_252x_Series-18 unknown         457728   Sat 11 Mar 2017 20:20:18 GMT
> Samsung_ML-191x_252x_Series-19 rodolfo         457728   Sun 12 Mar 2017 07:44:49 GMT

These are pending jobs. I can not imagine you want them. Remove with
'cancel -a -x'. (This is in the wiki, too).

> The file /var/log/cups/error_log is very long.  I noticed in it the following
> lines:
> 
> D [07/Mar/2017:14:35:23 +0000] [Job 1] Started filter /usr/lib/cups/filter/pdftopdf (PID 4741)

This is the first thing that happens to any submitted file. You sent a
PDF file to the printer. No problem here.

> D [07/Mar/2017:14:35:23 +0000] [Job 1] Started filter /usr/lib/cups/filter/pdftops (PID 4742)

Eh? The printer does not recognise PostScript. It would print garbage if
it got it. I wonder why the filtering system thinks converting a PDF to
a PS file is needed. Is there any sign of "gstoraster" in your error_log?

> D [07/Mar/2017:14:35:23 +0000] [Job 1] Started filter /usr/lib/cups/filter/rastertosamsungspl (PID 4743)
> D [07/Mar/2017:14:35:23 +0000] [Job 1] Started backend /usr/lib/cups/backend/usb (PID 4744)
> D [07/Mar/2017:14:35:23 +0000] [Job 1] pdftops - copying to temp print file \"/var/spool/cups/tmp/0128658cb23ec\"
> D [07/Mar/2017:14:35:23 +0000] [Job 1] execv failed: No such file or directory
> D [07/Mar/2017:14:35:23 +0000] [Job 1] PID 4743 (/usr/lib/cups/filter/rastertosamsungspl) stopped with status 102 (No such file or directory)
> D [07/Mar/2017:14:35:23 +0000] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.

Post the output of 'ls -l /usr/lib/cups/filter'.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#179308 — Re: `Filter failed' no print error message

FromTeemu Likonen <tlikonen@iki.fi>
Date2017-03-25 14:30 +0100
SubjectRe: `Filter failed' no print error message
Message-ID<toTVv-1li-1@gated-at.bofh.it>
In reply to#178539

[Multipart message — attachments visible in raw view] — view raw

Rodolfo Medina [2017-03-07 15:41:54Z] wrote:

> Thanks, `cups' alone was enough. Now the printer seems to be
> configured. But it does not print, and, when I get into `jobs', I see
> they are stopped with "Filter failed" claim. What can I do? Please
> help. Thanks.

I had a "filter failed" problem too in Debian 8 and solved it by
installing newer ghostscript package from Debian testing. This bug
report looks familiar:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848876

In case you want to try that and you are using Debian 8 you could
proceed with this:

 1. Add Debian testing repository to /etc/apt/sources.list file:

        deb http://ftp.debian.org/debian/ testing main

 2. Run: apt update

 3. Run: apt install ghostscript/testing

 4. Remove the "deb" line from sources.list file.

 5. Run: apt update

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[toc] | [prev] | [next] | [standalone]


#179383 — Re: `Filter failed' no print error message

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-03-26 19:50 +0200
SubjectRe: `Filter failed' no print error message
Message-ID<tpksG-3f3-15@gated-at.bofh.it>
In reply to#179308
Teemu Likonen <tlikonen@iki.fi> writes:

> Rodolfo Medina [2017-03-07 15:41:54Z] wrote:
>
>> Thanks, `cups' alone was enough. Now the printer seems to be
>> configured. But it does not print, and, when I get into `jobs', I see
>> they are stopped with "Filter failed" claim. What can I do? Please
>> help. Thanks.
>
> I had a "filter failed" problem too in Debian 8 and solved it by
> installing newer ghostscript package from Debian testing. This bug
> report looks familiar:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848876
>
> In case you want to try that and you are using Debian 8 you could
> proceed with this:
>
>  1. Add Debian testing repository to /etc/apt/sources.list file:
>
>         deb http://ftp.debian.org/debian/ testing main
>
>  2. Run: apt update
>
>  3. Run: apt install ghostscript/testing
>
>  4. Remove the "deb" line from sources.list file.
>
>  5. Run: apt update

Thanks for your suggestion, but ghostscript is already installed in
my system, which is Sid...  So I don't think testing woul do do any better...

Rodolfo

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | linux.debian.user


csiph-web