From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 12:19:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3370CBC5 for ; Fri, 11 Apr 2014 12:19:59 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2D7910B7 for ; Fri, 11 Apr 2014 12:19:58 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id x3so5701362qcv.26 for ; Fri, 11 Apr 2014 05:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=NfZaXehIxkqJ/XSxj8Xzk8/W0+hVE23oSQn8c5MXiUg=; b=tYT1Qu8mDGCWHwO2j4DJvTVOTSvlZZZQO0jDgvz8ZqvBlIMQCyb7NrlqScGmuuh8vC /hUsN4qQZ2kkFjJ3LtFxzTFN/DN0yj8CdQE0YsbyiGHozffTEECTTaMgt3mZmhOB4/k7 gJWKWvc9sBXhT41mR8yc46/rSRjtKN1NSrYZ7pBsSoqsli5dgRqBN6oh0MnlQCgdUJzy Tt4da7zl1kmbyS/T/Hp8rk7tp3BI9uYNTtnZV/4vzcpCCKV8WHx3+aEcPwuaD4swm64J A8ryagcPwuCmgNWq1s0lT9Z6jSQ8HhazxPjkqzDFh3hHnxTdnuetV8SBIfqm+LwOb1r7 E0Dg== X-Received: by 10.140.94.227 with SMTP id g90mr26798752qge.58.1397218798014; Fri, 11 Apr 2014 05:19:58 -0700 (PDT) Received: from lumiwa.farms.net ([64.223.227.7]) by mx.google.com with ESMTPSA id d15sm13346831qae.23.2014.04.11.05.19.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 05:19:57 -0700 (PDT) From: Ajtim To: freebsd-questions@freebsd.org Subject: Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported Date: Fri, 11 Apr 2014 08:19:45 -0400 Message-ID: <2456953.yOakfpjjYJ@lumiwa.farms.net> User-Agent: KMail/4.12.4 (FreeBSD/10.0-RELEASE; KDE/4.12.4; amd64; ; ) In-Reply-To: <20140411130833.0d4cd2f2.ohartman@zedat.fu-berlin.de> References: <20140408154210.1aec26a8.ohartman@zedat.fu-berlin.de> <534476FE.4020109@passap.ru> <20140411130833.0d4cd2f2.ohartman@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: Boris Samorodov , "O. Hartmann" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lumiwa@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 12:19:59 -0000 On Friday 11 April 2014 13:08:33 O. Hartmann wrote: > On Wed, 09 Apr 2014 02:23:58 +0400 >=20 > Boris Samorodov wrote: > > 09.04.2014 00:25, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > On Tue, 08 Apr 2014 23:16:33 +0400 > > >=20 > > > Boris Samorodov wrote: > > >> 08.04.2014 17:42, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > >>> Since the update of print/cups from 1.5.X to 1.7.1 > > >>=20 > > >> How did you do it? > > >=20 > > > As it is reported in /usr/ports/UPDATING. I delete first cups-ima= ge, > > > then did the update which reeled in all the new stuff automatical= ly. > >=20 > > OK, lets start from some obvious things. > > Did you restart cupsd while experimenting? >=20 > No. >=20 > > Give an output for: > > ----- > > % type lpr >=20 > lpr is /usr/local/bin/lpr > pkg which /usr/local/bin/lpr > /usr/local/bin/lpr was installed by package cups-base-1.7.1 >=20 > > % ls -l /usr/local/etc/cups >=20 > -r--r--r-- 1 root wheel 2807 11 Apr 11:58 cups-browsed.conf > -rw-r----- 1 root cups 3197 8 Apr 17:15 cups-files.conf > -rw-r----- 1 root cups 3197 8 Apr 17:15 cups-files.conf.bak > -rw-r----- 1 root wheel 3137 11 Apr 12:02 cups-files.conf.sample > -r--r--r-- 1 root wheel 9521 11 Apr 11:50 cups-pdf.conf > -r--r--r-- 1 root wheel 9521 11 Apr 11:50 cups-pdf.conf.sample > -rw-r----- 1 root cups 3442 8 Apr 17:22 cupsd.conf > -rw-r----- 1 root cups 5098 8 Apr 17:20 cupsd.conf.O > -rw-r----- 1 root cups 3442 8 Apr 17:22 cupsd.conf.bak > -rw-r----- 1 root wheel 4492 11 Apr 12:02 cupsd.conf.default > -r--r--r-- 1 root wheel 4492 11 Apr 12:02 cupsd.conf.sample > drwxr-xr-x 2 root wheel 512 11 Apr 12:02 interfaces > -r--r--r-- 1 root wheel 1875 8 Apr 19:17 mime.convs > -r--r--r-- 1 root wheel 1874 11 Apr 12:02 mime.convs.sample > -r--r--r-- 1 root wheel 6456 8 Apr 19:18 mime.types > -r--r--r-- 1 root wheel 6455 11 Apr 12:02 mime.types.sample > drwxr-xr-x 2 root cups 512 11 Apr 12:02 ppd > -rw------- 1 root cups 4134 8 Apr 17:33 printers.conf > -rw------- 1 root cups 4134 8 Apr 14:58 printers.conf.O > -rw------- 1 root cups 4134 8 Apr 17:22 printers.conf.bak > -rw-r--r-- 1 root cups 946 11 Apr 11:53 pstoraster.convs > -r--r--r-- 1 root wheel 778 11 Apr 12:04 pstotiff.convs > -r--r--r-- 1 root wheel 2084 11 Apr 12:04 pstotiff.types > -r--r--r-- 1 root wheel 284 11 Apr 11:49 snmp.conf > -r--r--r-- 1 root wheel 284 11 Apr 12:02 snmp.conf.sample > drwx------ 2 root cups 512 11 Apr 12:02 ssl >=20 > > % make -C /usr/ports/print/cups-client pretty-print-config >=20 > -GNUTLS (whoops ... this is not the default, isn't it?) >=20 > =3D=3D> corrected that with a new recompilation with rmconfig precede= d. >=20 > > % grep CUPS /etc/make.conf >=20 > NULL (menas: no output) >=20 > > % pkg info -x cups hp foo gut >=20 > cups-base-1.7.1 > cups-client-1.7.1 > cups-filters-1.0.52 > cups-image-1.7.1 > cups-pdf-2.6.1_1 > cups-pstoraster-8.15.4_7 > cups-samba-6.0_7 > gutenprint-cups-5.2.8_1 > libgnomecups-0.2.3_5,1 > linux-f10-cups-libs-1.3.11_1 > foomatic-db-hpijs-1.4 > hplip-3.14.1 > kdevelop-php-1.6.0_1 > kdevelop-php-docs-1.6.0_1 > php5-5.4.27 > swhplugins-0.4.15_4 > foomatic-db-20140331 > foomatic-db-engine-4.0.11,2 > foomatic-db-hpijs-1.4 > foomatic-filters-4.0.17 > gimp-gutenprint-5.2.8 > gutenprint-base-5.2.8 > gutenprint-cups-5.2.8_1 > gutenprint-ijs-5.2.8 >=20 > > ----- > >=20 > > Stop cupsd, move temporary /var/log/cups/*_log to another location.= > > Start cupsd and look for suspicious messages at /var/log/cups/* fil= es. >=20 > Nothing suspicious so far. With print/cups-filters installed, the who= le cups > printing system is corrupted and doesn't print a single sheet of pape= r > (PDF/PS) normal es expected. >=20 >=20 > Prior to this task, I recompiled, as you suggested, first all cups po= rts and > afterwards hplip/foomatic. I also installed print/cups-filters before= > recompiling hplip/foomatic. It works for me now (FreeBSD 10.0-RELEASE): I did deinstall cups* and hplip. Than installed cups and patched hplip.= First=20 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't= work=20 It printed:%PDF-1.4 and jobs processing never stopped. Than I removed device and installed= again=20 with -3000-ps.ppd.gz and it works but cannot print test page. =20 --=20 ajtiM -------- http://www.redbubble.com/people/lumiwa