Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-25 Thread Boris Samorodov
22.04.2014 10:48, O. Hartmann пишет:
 On Sun, 13 Apr 2014 20:50:01 +0400
 Boris Samorodov b...@passap.ru wrote:
 
 12.04.2014 17:16, O. Hartmann пишет:
 On Fri, 11 Apr 2014 08:19:45 -0400
 Ajtim lum...@gmail.com wrote:

 On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
 On Wed, 09 Apr 2014 02:23:58 +0400

 Boris Samorodov b...@passap.ru wrote:
 09.04.2014 00:25, O. Hartmann пишет:
 On Tue, 08 Apr 2014 23:16:33 +0400

 Boris Samorodov b...@passap.ru wrote:
 08.04.2014 17:42, O. Hartmann пишет:
 Since the update of print/cups from 1.5.X to 1.7.1

 How did you do it?

 As it is reported in /usr/ports/UPDATING. I delete first cups-image,
 then did the update which reeled in all the new stuff automatically.

 OK, lets start from some obvious things.
 Did you restart cupsd while experimenting?

 No.

 Give an output for:
 -
 % type lpr

 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

 % ls -l /usr/local/etc/cups

 -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl

 % make -C /usr/ports/print/cups-client pretty-print-config

 -GNUTLS (whoops ... this is not the default, isn't it?)

 == corrected that with a new recompilation with rmconfig preceded.

 % grep CUPS /etc/make.conf

 NULL (menas: no output)

 % pkg info -x cups hp foo gut

 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

 -

 Stop cupsd, move temporary /var/log/cups/*_log to another location.
 Start cupsd and look for suspicious messages at /var/log/cups/* files.

 Nothing suspicious so far. With print/cups-filters installed, the whole 
 cups
 printing system is corrupted and doesn't print a single sheet of paper
 (PDF/PS) normal es expected.


 Prior to this task, I recompiled, as you suggested, first all cups ports 
 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 
 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
 work 
 It printed:%PDF-1.4
 and jobs processing  never stopped. Than I removed device and installed 
 again 
 with -3000-ps.ppd.gz and it works but cannot print test page.
  

 I tried alternatives, but it is with all (known to me) usefull drivers for 
 the
 specific printer the same result: empty pages, print job stuck in queue. I 
 also tried
 most recent hplip-3.14.4 but I doubt this is the reason. 

 I can print PDF and PS, as reported, when deinstalling/removing 
 print/cups-filters
 using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
 jobfile.ps.
 This fails when print/cups-filter is installed.

 This is rather strange. But may be this is because you use hplip which
 I've never used before.

 Have you tried to deinstall by intention cups-filters and check whether the 
 formerly
 used driver works for you?

 Yes, I tested cups-1.7.0 for several months 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-25 Thread Max Brazhnikov
On Fri, 25 Apr 2014 16:12:10 +0400 Boris Samorodov wrote:
 22.04.2014 10:48, O. Hartmann пишет:
  On Sun, 13 Apr 2014 20:50:01 +0400
  Boris Samorodov b...@passap.ru wrote:
  
  12.04.2014 17:16, O. Hartmann пишет:
  On Fri, 11 Apr 2014 08:19:45 -0400
  Ajtim lum...@gmail.com wrote:
 
  On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
  On Wed, 09 Apr 2014 02:23:58 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  09.04.2014 00:25, O. Hartmann пишет:
  On Tue, 08 Apr 2014 23:16:33 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  08.04.2014 17:42, O. Hartmann пишет:
  Since the update of print/cups from 1.5.X to 1.7.1
 
  How did you do it?
 
  As it is reported in /usr/ports/UPDATING. I delete first cups-image,
  then did the update which reeled in all the new stuff automatically.
 
  OK, lets start from some obvious things.
  Did you restart cupsd while experimenting?
 
  No.
 
  Give an output for:
  -
  % type lpr
 
  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
 
  % ls -l /usr/local/etc/cups
 
  -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl
 
  % make -C /usr/ports/print/cups-client pretty-print-config
 
  -GNUTLS (whoops ... this is not the default, isn't it?)
 
  == corrected that with a new recompilation with rmconfig preceded.
 
  % grep CUPS /etc/make.conf
 
  NULL (menas: no output)
 
  % pkg info -x cups hp foo gut
 
  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
 
  -
 
  Stop cupsd, move temporary /var/log/cups/*_log to another location.
  Start cupsd and look for suspicious messages at /var/log/cups/* files.
 
  Nothing suspicious so far. With print/cups-filters installed, the whole 
  cups
  printing system is corrupted and doesn't print a single sheet of paper
  (PDF/PS) normal es expected.
 
 
  Prior to this task, I recompiled, as you suggested, first all cups 
  ports 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 
  I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
  work 
  It printed:%PDF-1.4
  and jobs processing  never stopped. Than I removed device and installed 
  again 
  with -3000-ps.ppd.gz and it works but cannot print test page.
   
 
  I tried alternatives, but it is with all (known to me) usefull drivers 
  for the
  specific printer the same result: empty pages, print job stuck in queue. 
  I also tried
  most recent hplip-3.14.4 but I doubt this is the reason. 
 
  I can print PDF and PS, as reported, when deinstalling/removing 
  print/cups-filters
  using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
  jobfile.ps.
  This fails when print/cups-filter is installed.
 
  This is rather strange. But may be 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-25 Thread Boris Samorodov
25.04.2014 17:00, Max Brazhnikov пишет:
 On Fri, 25 Apr 2014 16:12:10 +0400 Boris Samorodov wrote:
 22.04.2014 10:48, O. Hartmann пишет:
 On Sun, 13 Apr 2014 20:50:01 +0400
 Boris Samorodov b...@passap.ru wrote:

 12.04.2014 17:16, O. Hartmann пишет:
 On Fri, 11 Apr 2014 08:19:45 -0400
 Ajtim lum...@gmail.com wrote:

 On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
 On Wed, 09 Apr 2014 02:23:58 +0400

 Boris Samorodov b...@passap.ru wrote:
 09.04.2014 00:25, O. Hartmann пишет:
 On Tue, 08 Apr 2014 23:16:33 +0400

 Boris Samorodov b...@passap.ru wrote:
 08.04.2014 17:42, O. Hartmann пишет:
 Since the update of print/cups from 1.5.X to 1.7.1

 How did you do it?

 As it is reported in /usr/ports/UPDATING. I delete first cups-image,
 then did the update which reeled in all the new stuff automatically.

 OK, lets start from some obvious things.
 Did you restart cupsd while experimenting?

 No.

 Give an output for:
 -
 % type lpr

 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

 % ls -l /usr/local/etc/cups

 -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl

 % make -C /usr/ports/print/cups-client pretty-print-config

 -GNUTLS (whoops ... this is not the default, isn't it?)

 == corrected that with a new recompilation with rmconfig preceded.

 % grep CUPS /etc/make.conf

 NULL (menas: no output)

 % pkg info -x cups hp foo gut

 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

 -

 Stop cupsd, move temporary /var/log/cups/*_log to another location.
 Start cupsd and look for suspicious messages at /var/log/cups/* files.

 Nothing suspicious so far. With print/cups-filters installed, the whole 
 cups
 printing system is corrupted and doesn't print a single sheet of paper
 (PDF/PS) normal es expected.


 Prior to this task, I recompiled, as you suggested, first all cups 
 ports 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 
 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
 work 
 It printed:%PDF-1.4
 and jobs processing  never stopped. Than I removed device and installed 
 again 
 with -3000-ps.ppd.gz and it works but cannot print test page.
  

 I tried alternatives, but it is with all (known to me) usefull drivers 
 for the
 specific printer the same result: empty pages, print job stuck in queue. 
 I also tried
 most recent hplip-3.14.4 but I doubt this is the reason. 

 I can print PDF and PS, as reported, when deinstalling/removing 
 print/cups-filters
 using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
 jobfile.ps.
 This fails when print/cups-filter is installed.

 This is rather strange. But may be this is because you use hplip which
 I've never used before.

 Have you tried to deinstall by intention 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-22 Thread O. Hartmann
On Sun, 13 Apr 2014 20:50:01 +0400
Boris Samorodov b...@passap.ru wrote:

 12.04.2014 17:16, O. Hartmann пишет:
  On Fri, 11 Apr 2014 08:19:45 -0400
  Ajtim lum...@gmail.com wrote:
  
  On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
  On Wed, 09 Apr 2014 02:23:58 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  09.04.2014 00:25, O. Hartmann пишет:
  On Tue, 08 Apr 2014 23:16:33 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  08.04.2014 17:42, O. Hartmann пишет:
  Since the update of print/cups from 1.5.X to 1.7.1
 
  How did you do it?
 
  As it is reported in /usr/ports/UPDATING. I delete first cups-image,
  then did the update which reeled in all the new stuff automatically.
 
  OK, lets start from some obvious things.
  Did you restart cupsd while experimenting?
 
  No.
 
  Give an output for:
  -
  % type lpr
 
  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
 
  % ls -l /usr/local/etc/cups
 
  -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl
 
  % make -C /usr/ports/print/cups-client pretty-print-config
 
  -GNUTLS (whoops ... this is not the default, isn't it?)
 
  == corrected that with a new recompilation with rmconfig preceded.
 
  % grep CUPS /etc/make.conf
 
  NULL (menas: no output)
 
  % pkg info -x cups hp foo gut
 
  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
 
  -
 
  Stop cupsd, move temporary /var/log/cups/*_log to another location.
  Start cupsd and look for suspicious messages at /var/log/cups/* files.
 
  Nothing suspicious so far. With print/cups-filters installed, the whole 
  cups
  printing system is corrupted and doesn't print a single sheet of paper
  (PDF/PS) normal es expected.
 
 
  Prior to this task, I recompiled, as you suggested, first all cups ports 
  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 
  I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
  work 
  It printed:%PDF-1.4
  and jobs processing  never stopped. Than I removed device and installed 
  again 
  with -3000-ps.ppd.gz and it works but cannot print test page.
   
  
  I tried alternatives, but it is with all (known to me) usefull drivers for 
  the
  specific printer the same result: empty pages, print job stuck in queue. I 
  also tried
  most recent hplip-3.14.4 but I doubt this is the reason. 
  
  I can print PDF and PS, as reported, when deinstalling/removing 
  print/cups-filters
  using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
  jobfile.ps.
  This fails when print/cups-filter is installed.
 
 This is rather strange. But may be this is because you use hplip which
 I've never used before.
 
  Have you tried to deinstall by intention cups-filters and 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-19 Thread Cary
Boris Samorodov wrote:
 14.04.2014 15:58, Alex Dupre пишет:
 Boris Samorodov ha scritto:
 Great, glad to be helpful.

 May be the patch is not right and the problem should be resolved
 in another way. But anyway the problem seems to be localized and
 I'm sure Max will do the right thing.

 As already said, I fixed the very same problem with hplip installing
 cups-filter: I don't know which one is the correct way.
 
 Alex, I've read your previous answer. But didn't reply, ENOTIME, sorry.
 
 The problem here was when both hplip and cups-filters were installed.
 



Boris,
Thank you for the patch.

Before rebuilding hplip-3.14.4 I found that perl would hang
consuming most of the cpu cycles as it tried to start
/usr/local/bin/foomatic-rip using the symlink foomatic-rip-hplip installed in
/usr/local/libexec/cups/filter .

I use cups to access a printer
with a smb:// uri.  The lp (1) command worked, but
for several months I have not been able
to print from a web browser.  After updates of cups ports and
with the patch for hplip things have improved.
Error messages in the past from cups-1.5 mentioned
the pdftops filter.

Cary
-- 
c...@sdf.org
SDF Public Access UNIX System - http://sdf.org


--
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-14 Thread O. Hartmann
On Sun, 13 Apr 2014 20:50:01 +0400
Boris Samorodov b...@passap.ru wrote:

 12.04.2014 17:16, O. Hartmann пишет:
  On Fri, 11 Apr 2014 08:19:45 -0400
  Ajtim lum...@gmail.com wrote:
  
  On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
  On Wed, 09 Apr 2014 02:23:58 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  09.04.2014 00:25, O. Hartmann пишет:
  On Tue, 08 Apr 2014 23:16:33 +0400
 
  Boris Samorodov b...@passap.ru wrote:
  08.04.2014 17:42, O. Hartmann пишет:
  Since the update of print/cups from 1.5.X to 1.7.1
 
  How did you do it?
 
  As it is reported in /usr/ports/UPDATING. I delete first cups-image,
  then did the update which reeled in all the new stuff automatically.
 
  OK, lets start from some obvious things.
  Did you restart cupsd while experimenting?
 
  No.
 
  Give an output for:
  -
  % type lpr
 
  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
 
  % ls -l /usr/local/etc/cups
 
  -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl
 
  % make -C /usr/ports/print/cups-client pretty-print-config
 
  -GNUTLS (whoops ... this is not the default, isn't it?)
 
  == corrected that with a new recompilation with rmconfig preceded.
 
  % grep CUPS /etc/make.conf
 
  NULL (menas: no output)
 
  % pkg info -x cups hp foo gut
 
  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
 
  -
 
  Stop cupsd, move temporary /var/log/cups/*_log to another location.
  Start cupsd and look for suspicious messages at /var/log/cups/* files.
 
  Nothing suspicious so far. With print/cups-filters installed, the whole 
  cups
  printing system is corrupted and doesn't print a single sheet of paper
  (PDF/PS) normal es expected.
 
 
  Prior to this task, I recompiled, as you suggested, first all cups ports 
  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 
  I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
  work 
  It printed:%PDF-1.4
  and jobs processing  never stopped. Than I removed device and installed 
  again 
  with -3000-ps.ppd.gz and it works but cannot print test page.
   
  
  I tried alternatives, but it is with all (known to me) usefull drivers for 
  the
  specific printer the same result: empty pages, print job stuck in queue. I 
  also tried
  most recent hplip-3.14.4 but I doubt this is the reason. 
  
  I can print PDF and PS, as reported, when deinstalling/removing 
  print/cups-filters
  using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
  jobfile.ps.
  This fails when print/cups-filter is installed.
 
 This is rather strange. But may be this is because you use hplip which
 I've never used before.

I used hplip before with CUPS 1.5.X with the printer of mine, 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-14 Thread Boris Samorodov
14.04.2014 13:36, O. Hartmann пишет:
 On Sun, 13 Apr 2014 20:50:01 +0400
 Boris Samorodov b...@passap.ru wrote:
 
 12.04.2014 17:16, O. Hartmann пишет:
 On Fri, 11 Apr 2014 08:19:45 -0400
 Ajtim lum...@gmail.com wrote:

 On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
 On Wed, 09 Apr 2014 02:23:58 +0400

 Boris Samorodov b...@passap.ru wrote:
 09.04.2014 00:25, O. Hartmann пишет:
 On Tue, 08 Apr 2014 23:16:33 +0400

 Boris Samorodov b...@passap.ru wrote:
 08.04.2014 17:42, O. Hartmann пишет:
 Since the update of print/cups from 1.5.X to 1.7.1

 How did you do it?

 As it is reported in /usr/ports/UPDATING. I delete first cups-image,
 then did the update which reeled in all the new stuff automatically.

 OK, lets start from some obvious things.
 Did you restart cupsd while experimenting?

 No.

 Give an output for:
 -
 % type lpr

 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

 % ls -l /usr/local/etc/cups

 -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl

 % make -C /usr/ports/print/cups-client pretty-print-config

 -GNUTLS (whoops ... this is not the default, isn't it?)

 == corrected that with a new recompilation with rmconfig preceded.

 % grep CUPS /etc/make.conf

 NULL (menas: no output)

 % pkg info -x cups hp foo gut

 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

 -

 Stop cupsd, move temporary /var/log/cups/*_log to another location.
 Start cupsd and look for suspicious messages at /var/log/cups/* files.

 Nothing suspicious so far. With print/cups-filters installed, the whole 
 cups
 printing system is corrupted and doesn't print a single sheet of paper
 (PDF/PS) normal es expected.


 Prior to this task, I recompiled, as you suggested, first all cups ports 
 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 
 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't 
 work 
 It printed:%PDF-1.4
 and jobs processing  never stopped. Than I removed device and installed 
 again 
 with -3000-ps.ppd.gz and it works but cannot print test page.
  

 I tried alternatives, but it is with all (known to me) usefull drivers for 
 the
 specific printer the same result: empty pages, print job stuck in queue. I 
 also tried
 most recent hplip-3.14.4 but I doubt this is the reason. 

 I can print PDF and PS, as reported, when deinstalling/removing 
 print/cups-filters
 using clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
 jobfile.ps.
 This fails when print/cups-filter is installed.

 This is rather strange. But may be this is because you use hplip which
 I've never used before.
 
 I used hplip before with CUPS 1.5.X with the printer of mine, the HP 
 OfficeJet Pro 8600
 N911a, as I mentined. The hplip driver suite privided the only prperly 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-14 Thread Alex Dupre
Boris Samorodov ha scritto:
 Great, glad to be helpful.
 
 May be the patch is not right and the problem should be resolved
 in another way. But anyway the problem seems to be localized and
 I'm sure Max will do the right thing.

As already said, I fixed the very same problem with hplip installing
cups-filter: I don't know which one is the correct way.

-- 
Alex Dupre
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-14 Thread Boris Samorodov
14.04.2014 15:58, Alex Dupre пишет:
 Boris Samorodov ha scritto:
 Great, glad to be helpful.

 May be the patch is not right and the problem should be resolved
 in another way. But anyway the problem seems to be localized and
 I'm sure Max will do the right thing.
 
 As already said, I fixed the very same problem with hplip installing
 cups-filter: I don't know which one is the correct way.

Alex, I've read your previous answer. But didn't reply, ENOTIME, sorry.

The problem here was when both hplip and cups-filters were installed.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-13 Thread Boris Samorodov
12.04.2014 17:16, O. Hartmann пишет:
 On Fri, 11 Apr 2014 08:19:45 -0400
 Ajtim lum...@gmail.com wrote:
 
 On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
 On Wed, 09 Apr 2014 02:23:58 +0400

 Boris Samorodov b...@passap.ru wrote:
 09.04.2014 00:25, O. Hartmann пишет:
 On Tue, 08 Apr 2014 23:16:33 +0400

 Boris Samorodov b...@passap.ru wrote:
 08.04.2014 17:42, O. Hartmann пишет:
 Since the update of print/cups from 1.5.X to 1.7.1

 How did you do it?

 As it is reported in /usr/ports/UPDATING. I delete first cups-image,
 then did the update which reeled in all the new stuff automatically.

 OK, lets start from some obvious things.
 Did you restart cupsd while experimenting?

 No.

 Give an output for:
 -
 % type lpr

 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

 % ls -l /usr/local/etc/cups

 -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl

 % make -C /usr/ports/print/cups-client pretty-print-config

 -GNUTLS (whoops ... this is not the default, isn't it?)

 == corrected that with a new recompilation with rmconfig preceded.

 % grep CUPS /etc/make.conf

 NULL (menas: no output)

 % pkg info -x cups hp foo gut

 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

 -

 Stop cupsd, move temporary /var/log/cups/*_log to another location.
 Start cupsd and look for suspicious messages at /var/log/cups/* files.

 Nothing suspicious so far. With print/cups-filters installed, the whole cups
 printing system is corrupted and doesn't print a single sheet of paper
 (PDF/PS) normal es expected.


 Prior to this task, I recompiled, as you suggested, first all cups ports 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 
 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't work 
 It printed:%PDF-1.4
 and jobs processing  never stopped. Than I removed device and installed 
 again 
 with -3000-ps.ppd.gz and it works but cannot print test page.
  
 
 I tried alternatives, but it is with all (known to me) usefull drivers for 
 the specific
 printer the same result: empty pages, print job stuck in queue. I also tried
 most recent hplip-3.14.4 but I doubt this is the reason. 
 
 I can print PDF and PS, as reported, when deinstalling/removing 
 print/cups-filters using
 clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME 
 jobfile.ps. This
 fails when print/cups-filter is installed.

This is rather strange. But may be this is because you use hplip which
I've never used before.

 Have you tried to deinstall by intention cups-filters and check whether the 
 formerly used
 driver works for you?

Yes, I tested cups-1.7.0 for several months with no ill-effects (HP,
OKI and Epson printers).

 I also deinstalled everything related to hplip and cups (cups, cups-XXX, 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-12 Thread O. Hartmann
On Fri, 11 Apr 2014 19:09:13 +0400
Boris Samorodov b...@passap.ru wrote:

 11.04.2014 15:08, O. Hartmann пишет:
  On Wed, 09 Apr 2014 02:23:58 +0400
  Boris Samorodov b...@passap.ru wrote:
  
  09.04.2014 00:25, O. Hartmann пишет:
  On Tue, 08 Apr 2014 23:16:33 +0400
  Boris Samorodov b...@passap.ru wrote:
 
  08.04.2014 17:42, O. Hartmann пишет:
  Since the update of print/cups from 1.5.X to 1.7.1
 
  How did you do it?
 
  As it is reported in /usr/ports/UPDATING. I delete first cups-image, then 
  did the
  update which reeled in all the new stuff automatically.
 
  OK, lets start from some obvious things.
  Did you restart cupsd while experimenting?
  
  No.
 
 Given you have cupsd running at this mere system, it may be a good
 idea to restart it after printer/cups-base update(s).
 
  Give an output for:
  -
  % type lpr
  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
  
  % ls -l /usr/local/etc/cups
  
  -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
 
 Seems that you commented out a line at mime.* files.
 
  drwxr-xr-x  2 root  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl
  
  
  % make -C /usr/ports/print/cups-client pretty-print-config
  -GNUTLS (whoops ... this is not the default, isn't it?)
 
 As for me, it is the default. But I don't think the problem is here.
 
  == corrected that with a new recompilation with rmconfig preceded.
  
  % grep CUPS /etc/make.conf
  NULL (menas: no output)
  
  % pkg info -x cups hp foo gut
  
  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
  -
 
 OK, you have quite a few cups ports.
 
  Stop cupsd, move temporary /var/log/cups/*_log to another location.
  Start cupsd and look for suspicious messages at /var/log/cups/* files.
  
  Nothing suspicious so far. With print/cups-filters installed, the whole 
  cups printing
  system is corrupted and doesn't print a single sheet of paper (PDF/PS) 
  normal es
  expected.
  
  Prior to this task, I recompiled, as you suggested, first all cups ports and
  afterwards hplip/foomatic. I also installed print/cups-filters before 
  recompiling
  hplip/foomatic.
 
 Hm. As for me, I can't build hplip with new cups* ports:
 -
 ===  Installing for cups-base-1.7.1
 ===  Checking if print/cups-base already installed
 ===   cups-base-1.7.1 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of print/cups-base
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1
 
 Stop.
 make[3]: stopped in /usr/ports/print/cups-base
 *** Error code 1
 
 Stop.
 make[2]: stopped in /usr/ports/print/cups-base
 *** Error code 1
 
 Stop.
 make[1]: stopped in /usr/ports/print/hplip
 *** Error code 1
 -
 
 This is because cups-base is no more installing libcupsdriver.so. And
 

Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported

2014-04-12 Thread O. Hartmann
On Fri, 11 Apr 2014 08:19:45 -0400
Ajtim lum...@gmail.com wrote:

 On Friday 11 April 2014 13:08:33 O. Hartmann wrote:
  On Wed, 09 Apr 2014 02:23:58 +0400
  
  Boris Samorodov b...@passap.ru wrote:
   09.04.2014 00:25, O. Hartmann пишет:
On Tue, 08 Apr 2014 23:16:33 +0400

Boris Samorodov b...@passap.ru wrote:
08.04.2014 17:42, O. Hartmann пишет:
Since the update of print/cups from 1.5.X to 1.7.1

How did you do it?

As it is reported in /usr/ports/UPDATING. I delete first cups-image,
then did the update which reeled in all the new stuff automatically.
   
   OK, lets start from some obvious things.
   Did you restart cupsd while experimenting?
  
  No.
  
   Give an output for:
   -
   % type lpr
  
  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
  
   % ls -l /usr/local/etc/cups
  
  -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  cups512 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  cups946 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  cups512 11 Apr 12:02 ssl
  
   % make -C /usr/ports/print/cups-client pretty-print-config
  
  -GNUTLS (whoops ... this is not the default, isn't it?)
  
  == corrected that with a new recompilation with rmconfig preceded.
  
   % grep CUPS /etc/make.conf
  
  NULL (menas: no output)
  
   % pkg info -x cups hp foo gut
  
  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
  
   -
   
   Stop cupsd, move temporary /var/log/cups/*_log to another location.
   Start cupsd and look for suspicious messages at /var/log/cups/* files.
  
  Nothing suspicious so far. With print/cups-filters installed, the whole cups
  printing system is corrupted and doesn't print a single sheet of paper
  (PDF/PS) normal es expected.
  
  
  Prior to this task, I recompiled, as you suggested, first all cups ports 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 
 I used as usual hp-business_inkjet_3000-hpijs-pcl3.ppd.gz and it didn't work 
 It printed:%PDF-1.4
 and jobs processing  never stopped. Than I removed device and installed again 
 with -3000-ps.ppd.gz and it works but cannot print test page.
  

I tried alternatives, but it is with all (known to me) usefull drivers for the 
specific
printer the same result: empty pages, print job stuck in queue. I also tried
most recent hplip-3.14.4 but I doubt this is the reason. 

I can print PDF and PS, as reported, when deinstalling/removing 
print/cups-filters using
clients like xpdf, xdvi or printing directly via lpr -PPRINTER_NAME jobfile.ps. 
This
fails when print/cups-filter is installed.

Have you tried to deinstall by intention cups-filters and check whether the 
formerly used
driver works for you?

I also deinstalled everything related to hplip and cups (cups, cups-XXX, hplip, 
qpdf,
foomatic-XXX) and reinstalled first print/cups which reels in all