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


Groups > linux.debian.user > #184188

Re: cups

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: cups
Date 2017-07-24 22:10 +0200
Message-ID <u6RPY-1lt-5@gated-at.bofh.it> (permalink)
References (2 earlier) <u62kq-2mn-13@gated-at.bofh.it> <u6rLQ-1he-13@gated-at.bofh.it> <u6uqm-32L-7@gated-at.bofh.it> <u6Jz4-42s-27@gated-at.bofh.it> <u6QAx-jq-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 24 Jul 2017 at 20:46:31 +0200, Pol Hallen wrote:

> A discovered that: debian testing before sending to cups server my pdf file
> uses ghostscript with ps2write and send ps file to. So the original pdf
> (about 200/300K) becomes a ps file with 9Mb of size :-/

Indeed. A PostScript file is produced because the queue uses a PPD which
instructs it to do this.
 
> this is the header of file:
> 
> %!PS-Adobe-3.0
> %%HiResBoundingBox: 0 0 596.00 842.00
> %%Creator: GPL Ghostscript 921 (ps2write)
> %%LanguageLevel: 2
> %%CreationDate: D:20170724202031+02'00'
> %%For: (max)
> %%Title: (158.pdf)
> 
> Forcing remove ghostscript local cups doesn't works, do you have an idea to
> create a work-around? for ghostscript ps2write is a device.

Ghostscript cannot be removed - cups-filters depends on it. But you can
have it not being used on the testing client by setting a queue which
avoids filtering. This would bring it into line with the stable client's
queue, which I guess also avoids filtering. (You did not answer my query
in the last mail, lpoptions -p ...; that is why it is a guess).

1. Set up this queue:

      lpadmin -p testq -v ipp://192.168.1.100/printers/E460DN -E -m raw

2. Print:

      lp -d testq 158.pdf

-- 
Brian.

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


Thread

cups Pol Hallen <deben@fuckaround.org> - 2017-07-20 20:00 +0200
  Re: cups Mark Fletcher <mark27q1@gmail.com> - 2017-07-21 00:50 +0200
  Re: cups Gene Heskett <gheskett@shentel.net> - 2017-07-21 03:00 +0200
    Re: cups Curt <curty@free.fr> - 2017-07-21 10:50 +0200
  Re: cups Erik Christiansen <dvalin@internode.on.net> - 2017-07-21 08:20 +0200
    Re: cups Darac Marjal <mailinglist@darac.org.uk> - 2017-07-21 10:30 +0200
  Re: cups Brian <ad44@cityscape.co.uk> - 2017-07-21 20:40 +0200
    Re: cups Pol Hallen <deben@fuckaround.org> - 2017-07-22 15:10 +0200
      Re: cups Brian <ad44@cityscape.co.uk> - 2017-07-23 18:20 +0200
        Re: cups Pol Hallen <deben@fuckaround.org> - 2017-07-23 21:10 +0200
          Re: cups Brian <ad44@cityscape.co.uk> - 2017-07-24 13:20 +0200
            Re: cups Pol Hallen <deben@fuckaround.org> - 2017-07-24 20:50 +0200
              Re: cups Brian <ad44@cityscape.co.uk> - 2017-07-24 22:10 +0200
                Re: cups Pol Hallen <deben@fuckaround.org> - 2017-07-24 22:30 +0200
                Re: cups Brian <ad44@cityscape.co.uk> - 2017-07-24 22:50 +0200
                Re: cups Pol Hallen <deben@fuckaround.org> - 2017-07-24 23:00 +0200

csiph-web