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


Groups > linux.debian.user > #179413

Re: `Filter failed' no print error message

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: `Filter failed' no print error message
Date 2017-03-27 00:50 +0200
Message-ID <tpp90-6Ki-11@gated-at.bofh.it> (permalink)
References (5 earlier) <tnae8-cZ-85@gated-at.bofh.it> <toSG5-z2-9@gated-at.bofh.it> <tpjGh-2B4-9@gated-at.bofh.it> <tpmuu-4EH-21@gated-at.bofh.it> <tpnAd-5OK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 26 Mar 2017 at 22:02:44 +0100, Rodolfo Medina wrote:

> Brian <ad44@cityscape.co.uk> writes:
> 
> > On Sun 26 Mar 2017 at 17:58:28 +0100, Rodolfo Medina wrote:
> >
> >> Brian <ad44@cityscape.co.uk> writes:
> >> 
> >> >  > From where did you get the necessary drivers?
> >> >  > Is there any sign of "gstoraster" in your error_log?
> >> 
> >> No, no gstoraster in error_log.  From UnifiedLinuxDriver_1.02.tar.gz I
> >> extracted ML-191xspl2.ppd and copied it in a subdirectory of my home
> >> directory, and the file rastertosamsungspl that I copied into
> >> /usr/lib/cups/filter.
> >
> > No gstoraster. You aren't going anywhere. You will not be able to print.
> >
> > [...]
> >
> > "UnifiedLinuxDriver" indicates a package downloaded from
> >
> >  http://www.bchemnet.com/suldr/
> >
> > But there is no version 1.02 offered by this site, See here
> >
> >  http://www.bchemnet.com/suldr/suld.html
> >
> > Copying the PPD and filter is ok. But what file did you copy them from?
> > UnifiedLinuxDriver_1.02.tar.gz is not offered by the bchemnet.com site.
> >
> > Have you got that, too. The file you say you downloaded does not exist
> > at bchemnet.com as far as I can see.
> 
> 
> I downloaded - years ago, when I bought the printer - from:
> 
>  http://www.samsung.com

You were asked from where you got the package a couple of mails ago. I
should have insisted you answer rather than guessing from a file name.

Your best strategy is to download the latest package from Samsung
instead of using something ancient.

Alternatively, changing

 *cupsFilter:  "application/vnd.cups-postscript 0 rastertosamsungspl"

to

 *cupsFilter:  "application/vnd.cups-raster 0 rastertosamsungspl"

just might work.


> .  With those two files, the printer had always worked fine with Debian.  Now I
> installed Debian on a new machine, and the printer won't print.  Strange
> because the old machine, where the printer still does work, *also* has Debian
> Sid, the same operating system I have on my new Lenovo AMD A6 Desktop.
> 
> 
> >> > You have rastertosamsungspl as a filter. It needs to be given raster
> >> > data. It looks like it is being given PostScript - so the filter stops.
> >> >
> >> > Also provide the outputs of
> >> >
> >> >  cat /etc/cups/ppd/ppd_for_the printer | grep NickName
> >> 
> >> Here it is:
> >> 
> >> # cat Samsung_ML-191x_252x_Series.ppd | grep NickName
> >> *ShortNickName: "ML-191x 252x"
> >> *NickName:      "Samsung ML-191x 252x Series"
> >
> > Now - that looks ok
> >
> >> > and 
> >> >
> >> >  cat /etc/cups/ppd/ppd_for_the printer | grep cupsFilter
> >> >
> >> > You will probably have to be root to get these.
> >> 
> >> and:
> >> 
> >> # cat Samsung_ML-191x_252x_Series.ppd | grep cupsFilter
> >> *cupsFilter:  "application/vnd.cups-postscript 0 rastertosamsungspl"
> >> 
> >> What now?  Thanks...
> >
> > What now?
> >
> > Whatever package you are using is expecting rastertosamsungspl to process
> > PostScript. As its name implies, it will only process raster data. CUPS
> > will not like this line.
> >
> > Please post
> >
> >  cat Samsung_ML-191x_252x_Series.ppd | grep cupsFilter
> >
> > for the machine which prints for you. Check the PPD file name in
> > /etc/cups.ppd first.
> 
> 
> Here it is:
> 
> *cupsFilter:  "application/vnd.cups-postscript 0 rastertosamsungspl"
> 
> , but exactly the same output also comes from Lenovo machine, where the printer
> won't work...  So I think there must be some other different special reason
> because one is ok and the other is not although the system is the same on both.

I very much doubt the filtering on both machines is identical. The
error_log you posted for the non-working machine had

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

PostScript is being produced. There is no pstoraster filter in unstable's
cups-filters package to give raster data to rastertosamsungspl.

Please run

 cupsfilter --list-filters -p /etc/cups/ppd/<ML-191x_ppd> -m printer/foo <input> -e > out.prn 2> log

on both machines. A PDF or a text file would do for <input>. Post the
two logs you get.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web