Launchpad has imported 13 comments from the remote bug at
https://bugzilla.novell.com/show_bug.cgi?id=735404.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-12-07T16:51:28+00:00 Jsmeix-x wrote:

CUPS 1.6 will have major incompatible changes:


"Transition all non-Mac filters to OpenPrinting"
http://www.cups.org/str.php?L3930
"Deprecate and stub out image file support"
http://www.cups.org/str.php?L3931


"Drop serial and parallel backends"
http://www.cups.org/str.php?L3935


"Drop support for CUPS Browsing and Polling"
http://www.cups.org/str.php?L3922
"CUPS browsing is deprecated and scheduled for removal ... after 1.5.x"
http://www.cups.org/str.php?L3889
"Bonjour is the replacement"
http://www.cups.org/newsgroups.php?gcups.general+T+Q%22Why+is+CUPS+browsing+deprecated%22


"Deprecate PPD functions"
http://www.cups.org/str.php?L3926
"Deprecate the PPD compiler"
http://www.cups.org/str.php?L3927
"Support for PPDs is not going away in CUPS 1.6"
http://www.cups.org/newsgroups.php?gcups.general+T+Q%22CUPS+1.6+and+PPD%22


In general for changes in the upcomming CUPS version 1.6 see
http://www.cups.org/roadmap.php?VERSION=1.6

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/0

------------------------------------------------------------------------
On 2011-12-21T12:48:06+00:00 Jsmeix-x wrote:

Related to this is "PDF as Standard Print Job Format", see

http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_standard_print_job_format

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/1

------------------------------------------------------------------------
On 2012-01-31T08:37:40+00:00 Jsmeix-x wrote:

A beta version of the new OpenPrinting CUPS Filters package
is released. See
http://www.cups.org/str.php?L2897
and
http://www.cups.org/str.php?L3930

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/2

------------------------------------------------------------------------
On 2012-02-15T09:28:01+00:00 Jsmeix-x wrote:

Not an incompatible change but a noteworthy change:
In CUPS 1.6 the libusb-based "usb" backend will be built by default, see
http://www.cups.org/str.php?L2890
--------------------------------------------------------------------------
till.kamppeter 15:20 Feb 13, 2012

Mike, can you also change the build system so that
the libusb-based "usb" backend will get built by default?

The libusb-based backend has once more functionality, especially bi-di
works with all printers, without any manufacturer-wise restrictions,
and second, it works also in systems with usblp module present, as it
detaches the module from the printer before communicating and reattaches
the module after finishing the communication. This means that it
always "just works". The usblp-based backend is now only a fallback
solution for systems without libusb.
--------------------------------------------------------------------------

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/3

------------------------------------------------------------------------
On 2012-02-16T09:53:46+00:00 Jsmeix-x wrote:

Probably of interest related to Samba and printing in Windows environment:
http://www.cups.org/str.php?L2900
---------------------------------------------------------------------------
Given that the Windows drivers are now unsupported, we will no longer
be investing time in new features or documentation for cupsaddsmb.
---------------------------------------------------------------------------

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/4

------------------------------------------------------------------------
On 2012-02-16T10:10:16+00:00 Jsmeix-x wrote:

FYI,
some links to reports, discussions and replies from Michael Sweet:

(German only):
http://www.heise.de/newsticker/meldung/CUPS-1-6-unterstuetzt-Linux-schlechter-1435234.html

(German only):
http://www.heise.de/open/artikel/Kernel-Log-Apple-verschlankt-Cups-1435037.html

http://www.heise.de/open/news/foren/S-Und-hier-ist-eine-Antwort-des-
Entwicklers/forum-222028/msg-21443591/read/

http://cyberelk.net/tim/2012/02/06/cups-1-6-changes-ahead/

http://lists.fedoraproject.org/pipermail/devel/2012-January/161306.html

http://lists.linuxfoundation.org/pipermail/printing-
architecture/2012/002412.html

http://lists.linuxfoundation.org/pipermail/printing-
architecture/2012/002426.html

http://lists.linuxfoundation.org/pipermail/printing-
architecture/2012/002425.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/5

------------------------------------------------------------------------
On 2012-02-16T10:38:47+00:00 Jsmeix-x wrote:

Probably only of interest for exceptional use-cases
http://www.cups.org/str.php?L3999
---------------------------------------------------------------------------
... the PHP module has been removed from CUPS 1.6 and later.
---------------------------------------------------------------------------

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/6

------------------------------------------------------------------------
On 2012-03-01T11:23:16+00:00 Jsmeix-x wrote:

Regarding "Drop support for CUPS Browsing and Polling" (see comment #0)
Ludwig Nussel suggested an interesting idea how to provide backward
compatibility in this case:

When a CUPS <= 1.5.x server should be replaced by a CUPS >= 1.6.x server
in a bigger network printing environment with arbitrary client systems,
the existing client systems expect to get CUPS Browsing information
as it had worked all the time up to CUPS <= 1.5.x.

Of course the admin could "just upgrade" all those arbitrary
client systems with CUPS >= 1.6.x - but perhaps he might not like it ;-)

To provide CUPS Browsing information to the clients
a separated CUPS-Browsing-daemon could be implemented
that gets print queue information from a CUPS >= 1.6.x server
and creates CUPS Browsing information.

The crucial point is that such a CUPS-Browsing-daemon is separated
software and not a SUSE-specific add-on-hack for CUPS 1.6.x
so that our CUPS 1.6.x is still in full compliance with upstream
and admins who don't need or want such a CUPS-Browsing-daemon
don't need to install its RPM package.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/7

------------------------------------------------------------------------
On 2012-06-28T14:22:36+00:00 Jsmeix-x wrote:

Related to "Drop support for CUPS Browsing and Polling"
the display of remote printers shared via LDAP, or SLP
will also be dropped in CUPS 1.6:

"Drop support for custom LDAP/SLP printer schemas"
http://www.cups.org/str.php?L3923

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/8

------------------------------------------------------------------------
On 2012-07-25T13:04:49+00:00 Jsmeix-x wrote:

Regarding comment #9 "a separated CUPS-Browsing-daemon":

The CUPS Browse Protocol is described at
http://www.cups.org/documentation.php/doc-1.5/spec-browsing.html

What TYPE is can be found in the cups-1.5.3 sources in cups/cups.h
-----------------------------------------------------------------------------
typedef unsigned cups_ptype_t;          /**** Printer type/capability bits ****/
enum cups_ptype_e                       /**** Printer type/capability bit 
constants ****/
{                                       /* Not a typedef'd enum so we can OR */
  CUPS_PRINTER_LOCAL = 0x0000,          /* Local printer or class */
  CUPS_PRINTER_CLASS = 0x0001,          /* Printer class */
  CUPS_PRINTER_REMOTE = 0x0002,         /* Remote printer or class */
  CUPS_PRINTER_BW = 0x0004,             /* Can do B&W printing */
  CUPS_PRINTER_COLOR = 0x0008,          /* Can do color printing */
  CUPS_PRINTER_DUPLEX = 0x0010,         /* Can do duplexing */
  CUPS_PRINTER_STAPLE = 0x0020,         /* Can staple output */
  CUPS_PRINTER_COPIES = 0x0040,         /* Can do copies */
  CUPS_PRINTER_COLLATE = 0x0080,        /* Can collage copies */
  CUPS_PRINTER_PUNCH = 0x0100,          /* Can punch output */
  CUPS_PRINTER_COVER = 0x0200,          /* Can cover output */
  CUPS_PRINTER_BIND = 0x0400,           /* Can bind output */
  CUPS_PRINTER_SORT = 0x0800,           /* Can sort output */
  CUPS_PRINTER_SMALL = 0x1000,          /* Can do Letter/Legal/A4 */
  CUPS_PRINTER_MEDIUM = 0x2000,         /* Can do Tabloid/B/C/A3/A2 */
  CUPS_PRINTER_LARGE = 0x4000,          /* Can do D/E/A1/A0 */
  CUPS_PRINTER_VARIABLE = 0x8000,       /* Can do variable sizes */
  CUPS_PRINTER_IMPLICIT = 0x10000,      /* Implicit class */
  CUPS_PRINTER_DEFAULT = 0x20000,       /* Default printer on network */
  CUPS_PRINTER_FAX = 0x40000,           /* Fax queue */
  CUPS_PRINTER_REJECTING = 0x80000,     /* Printer is rejecting jobs */
  CUPS_PRINTER_DELETE = 0x100000,       /* Delete printer @since CUPS 1.2/Mac 
OS X 10.5@ */
  CUPS_PRINTER_NOT_SHARED = 0x200000,   /* Printer is not shared @since CUPS 
1.2/Mac OS X 10.5@ */
  CUPS_PRINTER_AUTHENTICATED = 0x400000,/* Printer requires authentication 
@since CUPS 1.2/Mac OS X 10.5@ */
  CUPS_PRINTER_COMMANDS = 0x800000,     /* Printer supports maintenance 
commands @since CUPS 1.2/Mac OS X 10.5@ */
  CUPS_PRINTER_DISCOVERED = 0x1000000,  /* Printer was automatically discovered 
and added @since CUPS 1.3/Mac OS X 10
.5@ */
  CUPS_PRINTER_SCANNER = 0x2000000,     /* Scanner-only device @since CUPS 
1.4/Mac OS X 10.6@ */
  CUPS_PRINTER_MFP = 0x4000000,         /* Printer with scanning capabilities 
@since CUPS 1.4/Mac OS X 10.6@ */
  CUPS_PRINTER_OPTIONS = 0x6fffc        /* ~(CLASS | REMOTE | IMPLICIT | 
DEFAULT | FAX | REJECTING | DELETE | NOT_SHA
RED | AUTHENTICATED | COMMANDS | DISCOVERED) @private@ */
};
-----------------------------------------------------------------------------

What STATE is can be found in the cups-1.5.3 sources in cups/ipp.h
-----------------------------------------------------------------------------
typedef enum ipp_pstate_e               /**** Printer states ****/
{
  IPP_PRINTER_IDLE = 3,                 /* Printer is idle */
  IPP_PRINTER_PROCESSING,               /* Printer is working */
  IPP_PRINTER_STOPPED                   /* Printer is stopped */
} ipp_pstate_t;
-----------------------------------------------------------------------------

Accordingly a simple proof-of-concept how to submit CUPS Browsing info
with hardcoded TYPE = CUPS_PRINTER_REMOTE = 0x0002
and hardcoded STATE = IPP_PRINTER_IDLE = 3
to a single remote host is the following bash command
(there is exactly one space between each field):
----------------------------------------------------------------------
echo '2 3 ipp://PRINT.SERVER.IP.ADDRESS:631/printers/QUEUE-NAME "Location" 
"Description" "Make and Model" lease-duration=300 job-sheets=none,none' 
>/dev/udp/REMOTE:HOST:IP:ADDRESS/631
----------------------------------------------------------------------
lease-duration=300 means that after 300 seconds the remote host
discards these Browsing info (i.e. it removes the matching entry from
/var/cache/cups/remote.cache (/etc/cups/yes/remote.cache for CUPS < 1.4).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/9

------------------------------------------------------------------------
On 2012-07-25T15:11:17+00:00 Jsmeix-x wrote:

There is a typo in comment #9:
"Regarding comment #9" should read "Regarding comment #7".


Regarding sending CUPS Browsing info as UDP broadcast:

Sending CUPS Browsing info as UDP broadcast via bash fails (even as root):
-------------------------------------------------------------------------------
echo '2 3 ipp://PRINT.SERVER.IP.ADDRESS:631/printers/QUEUE-NAME "Location"
"Description" "Make and Model" lease-duration=300 job-sheets=none,none'
>/dev/udp/HOST:BROADCAST:IP:ADDRESS/631

-bash: connect: Permission denied
-bash: /dev/udp/HOST:BROADCAST:IP:ADDRESS/631: Permission denied
-------------------------------------------------------------------------------

I don't know how to set SO_BROADCAST (see "man 7 socket") via bash
so that I use this perl script (the $data assignment is one line):
--------------------------------------------------------------------------------
#!/usr/bin/perl

use strict;
use IO::Socket;

my $bcaddr = 'HOST:BROADCAST:IP:ADDRESS';
my $port = 631;
my $data = '2 3 ipp://PRINT.SERVER.IP.ADDRESS:631/printers/QUEUE-NAME "Location"
"Description" "Make and Model" lease-duration=300 job-sheets=none,none';

socket(sock, PF_INET, SOCK_DGRAM, getprotobyname("udp")) or die "socket:$@";
setsockopt(sock, SOL_SOCKET, SO_BROADCAST, 1) or die "setsockopt:$@";
my $dest = sockaddr_in($port,inet_aton($bcaddr));

send(sock,$data,0,$dest) or die "send():$!";
--------------------------------------------------------------------------------

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/10

------------------------------------------------------------------------
On 2012-07-31T08:45:32+00:00 Jsmeix-x wrote:

An overview regarding the changes:
http://www.cups.org/documentation.php/doc-1.6/whatsnew.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/11

------------------------------------------------------------------------
On 2012-09-28T10:16:50+00:00 Jsmeix-x wrote:

It seems at least CUPS version 1.6.1 is not yet ready for normal
usage because it has major issues, see for example

http://www.cups.org/str.php?L4159
"For a raw queue pointing to a remote CUPS server
 via dnssd URI the options of the server's PPD
 are not shown by print dialogs"

http://www.cups.org/str.php?L4178
"CUPs 1.6.x server does not send PPD/option info to CUPS 1.6.x client"

http://www.cups.org/str.php?L4180
"CUPS 1.6.1 crashes on shutdown"

http://www.cups.org/str.php?L4183
"CUPS 1.6.1 crashes on startup when DNS-SD host name
 cannot get determined via Avahi"

http://www.cups.org/str.php?L4192
"CUPS daemon crashes on bad entry in cupsd.conf"

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/comments/12


** Changed in: cups (Suse)
       Status: Unknown => Confirmed

** Changed in: cups (Suse)
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1061069

Title:
  CUPS 1.6 has major incompatible changes. Do not use CUPS 1.6.1 on
  stable Ubuntu releases

Status in “cups” package in Ubuntu:
  Confirmed
Status in “cups” package in Suse:
  Confirmed

Bug description:
  Drastic changes in CUPS 1.6.1 (non Apple feature removed mostly) are
  detrimental to Ubuntu users. We should wait until the missing features
  (like automatic appearing of remote CUPS queues) before to unleash the
  newer version to users. This means downgrading cups in Quantal.

  See LP #1061063 and LP#1052897 for examples and the big list on Suse
  bugzilla : https://bugzilla.novell.com/show_bug.cgi?id=735404 for more
  informations.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: cups 1.6.1-0ubuntu9
  ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
  Uname: Linux 3.5.0-16-generic x86_64
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  CupsErrorLog:
   W [03/Oct/2012:07:36:11 +0200] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id 
'HP_LaserJet_P3010-Gray..' already exists
   W [03/Oct/2012:07:36:11 +0200] CreateDevice failed: 
org.freedesktop.ColorManager.AlreadyExists:device id 'cups-HP_LaserJet_P3010' 
already exists
  Date: Wed Oct  3 18:23:44 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120911)
  Lpstat:
   device for Brother: 
dnssd://Brother%20QL-570%20%40%20gland._ipp._tcp.local/cups
   device for HP_LaserJet_P3010: hp:/net/HP_LaserJet_P3010_Series?zc=laserjet
  MachineType: LENOVO 4293AA6
  Papersize: a4
  PpdFiles: HP_LaserJet_P3010: HP LaserJet P3010 Series Postscript (recommended)
  ProcEnviron:
   LANGUAGE=fr_CH:fr
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_CH.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-16-generic 
root=UUID=529c6222-fe36-40b3-9692-581c477062a4 ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/25/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8DET61WW (1.31 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4293AA6
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr8DET61WW(1.31):bd04/25/2012:svnLENOVO:pn4293AA6:pvrThinkPadX220:rvnLENOVO:rn4293AA6:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4293AA6
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO
  modified.conffile..etc.cups.cupsd.conf: [modified]
  mtime.conffile..etc.cups.cupsd.conf: 2012-10-02T11:11:41.190220

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1061069/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to