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


Groups > linux.debian.user > #179515

Re: Samsung ML-1915 printer

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: Samsung ML-1915 printer
Date 2017-03-28 11:40 +0200
Message-ID <tpVLA-5we-25@gated-at.bofh.it> (permalink)
References (3 earlier) <tpFdL-1ZM-13@gated-at.bofh.it> <tpFx7-2mb-5@gated-at.bofh.it> <tpGtc-34b-3@gated-at.bofh.it> <tpGMx-3cO-1@gated-at.bofh.it> <tpI1Y-46a-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Mon 27 Mar 2017 at 19:57:01 +0100, Brian wrote:

> On Mon 27 Mar 2017 at 18:38:25 +0100, Rodolfo Medina wrote:
> 
> > Brian <ad44@cityscape.co.uk> writes:
> > 
> > > The HOWTO looks fine for 2010. In 2017 CUPS has changed but, more
> > > importantly for this thread and its sister one at
> > >
> > >  https://lists.debian.org/debian-user/2017/03/msg00100.html ,
> > >
> > > Samsung has made changes to its Unified Linux Driver package.
> > >
> > > rastertosamsungspl doesn't exist anymore. It is now rastertospl; the
> > > PPDS are altered to reflect this.
> > >
> > > It is a good object lesson in not using outdated proprietry software.
> > 
> > >From Samsung web site I downloaded the latest version of Unified Linux Driver
> > package and tried to use rastertospl in place of rastertosamsungspl, but it
> > won't work either...  I also accordingly changed the ppd file...  But, isn't it
> > strange that on another machine of mine, witht new version of CUPS, the printer
> > works with the old Samsung files?
> 
> Curious indeed. rastertospl has to be executable and owned by root.
> 
>  chown root.root rastertospl

I give in! Your ULD package doesn't work for you on unstable. Let us see
how mine goes on.

1. Go to http://www.samsung.com/uk/support/model/ML-1910/SEE and download
   uld_v1.00.06.tar.gz.

2. Decompress and unpack the file with 'tar zvxf uld_v1.00.06.tar.gz'.

3. cp uld/i386/rastertospl /usr/lib/cups/filter/.

4. chown root.root /usr/lib/cups/filter/rastertospl.

5. cp uld/noarch/share/ppd/Samsung_ML-191x_Series.ppd /usr/share/ppd/custom/.

6. lpinfo -m | grep ML-191x.

7. lpadmin -p ML191x -v file:/dev/null -E -m lsb/usr/custom/Samsung_ML-191x_Series.ppd.

The last five steps are done as root.

Now (as root again)

8. cupsfilter -p /etc/cups/ppd/ML192x.ppd -e -m printer/foo message.txt > out.prn 2>log.

log and out.prn have been compressed and attached to this mail.
Uncompress with gunzip. Note that the log shows all filters being run
successfully. As far as I am concerned, cupsd and the filtering system
have worked well. message.txt contains a secret message for you.

out.prn is a file which can be sent directly to the Samsung printer.
But I haven't got such a printer, you say. Ah, but *you* have. So do

 cat out.prn > /dev/usb/lp0

You can now reveal the message to everyone.

An invitation: any of the hundreds of list readers with a USB connected
Samsung printer which accepts SPL can have fun trying to print the file
too.

-- 
Brian.


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


Thread

Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 17:00 +0200
  Re: Samsung ML-1915 printer Teemu Likonen <tlikonen@iki.fi> - 2017-03-26 17:10 +0200
    Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 17:40 +0200
  Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 17:50 +0200
    Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-26 18:20 +0200
      Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-26 19:10 +0200
        Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-26 19:20 +0200
  RE: Samsung ML-1915 printer David Martens <David.Martens@wits.ac.za> - 2017-03-26 20:10 +0200
  Re: Samsung ML-1915 printer Doug <dmcgarrett@optonline.net> - 2017-03-26 20:50 +0200
    Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-27 14:00 +0200
      Re: Samsung ML-1915 printer kAt <giathnygeia@openmailbox.org> - 2017-03-27 18:00 +0200
        Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 18:20 +0200
          Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-27 19:20 +0200
            Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-27 19:40 +0200
              Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-27 21:00 +0200
                Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-03-28 11:40 +0200
                Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-03-29 00:10 +0200
                Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-05-18 18:40 +0200
                Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-05-18 20:20 +0200
                Re: Samsung ML-1915 printer <tomas@tuxteam.de> - 2017-05-19 10:20 +0200
                Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-05-20 09:30 +0200
                Re: Samsung ML-1915 printer Brian <ad44@cityscape.co.uk> - 2017-05-22 11:50 +0200
                [solved] Re: Samsung ML-1915 printer Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-05-24 09:00 +0200
                Sending Attachments to the List [was Re: Samsung ML-1915 printer] RavenLX <ravenlx@sitesplace.net> - 2017-05-25 13:50 +0200

csiph-web