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.