From senthil_pushpavanalingam at mindtree.com Wed Sep 1 06:06:56 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Wed, 01 Sep 2010 06:06:56 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5298-cups.development@news.easysw.com> Hi Team, I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. lpinfo -v not listing my usb printer connected. I could see the device connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also shows the printer connected. But my lpinfo -v command shows always 5 other devices (http, ipp, socket, lpd & scsi). went through some extend of debug by enabling DEBUG option in code (debug.h). when i enable DEBUG option lpinfo -v hangs. Looking experts input to resolve my problem. Thanks, Senthil From msweet at apple.com Wed Sep 1 08:42:03 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 01 Sep 2010 08:42:03 -0700 Subject: [cups.development] CUPS not detect the USB printer connected In-Reply-To: <5298-cups.development@news.easysw.com> References: <5298-cups.development@news.easysw.com> Message-ID: <5299-cups.development@news.easysw.com> Sounds like a permissions problem - the USB backend runs as the "lp" user by default, so the USB device files will need to be writable by "lp" or have the appropriate group with group write enabled. On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > Hi Team, > > I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. lpinfo -v not listing my usb printer connected. I could see the device connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also shows the printer connected. But my lpinfo -v command shows always 5 other devices (http, ipp, socket, lpd & scsi). > > went through some extend of debug by enabling DEBUG option in code (debug.h). when i enable DEBUG option lpinfo -v hangs. > > Looking experts input to resolve my problem. > > Thanks, > Senthil > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From senthil_pushpavanalingam at mindtree.com Thu Sep 2 07:25:56 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Thu, 02 Sep 2010 07:25:56 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5300-cups.development@news.easysw.com> Thanks Michael for quick input. OpenWrt for embedded device not having all the users in my config. I have only root user and admin user. I have root permission for the /usr/lib/cups/backend/usb. owner and group permission also for user root. I login as a root and executes lpinfo -v. its shows only 5 devices. Same time when i change the directory /usr/lib/cups/backend/ run "usb" i could able to see the printer details including serial number. Thanks, Senthil > Sounds like a permissions problem - the USB backend runs as the "lp" = > user by default, so the USB device files will need to be writable by = > "lp" or have the appropriate group with group write enabled. > > On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > > > Hi Team, > >=20 > > I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = > lpinfo -v not listing my usb printer connected. I could see the device = > connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also = > shows the printer connected. But my lpinfo -v command shows always 5 = > other devices (http, ipp, socket, lpd & scsi). > >=20 > > went through some extend of debug by enabling DEBUG option in code = > (debug.h). when i enable DEBUG option lpinfo -v hangs. > >=20 > > Looking experts input to resolve my problem. > >=20 > > Thanks, > > Senthil > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From werner.flamme at ufz.de Thu Sep 2 09:40:38 2010 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 02 Sep 2010 09:40:38 -0700 Subject: [cups.bugs] [LOW] STR #3657: when printing from SAP, a starting banner is added though not configured Message-ID: <8967-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi, I'm using either CUPS 1.3.9 or CUPS 1.4.4 on SLES 11 SP 1. In both cases, I get starting banners for any printjob that is issued from my SAP boxes. Other printjobs do not cause those banners. I know this effect from CUPS 1.2.3 (on Solaris 10). We solved it by using CUPS 1.1.8, which did not add this banner. With CUPS 1.2.x, it helped to simply delete or rename the banner page (/usr/share/cups/banner/standard), but with CUPS 1.3/1.4 this workaround causes nothing to be printed. Providing an empty file (0 bytes) does not help - no output. Providing a file with the original content, but each line commented out, brings an empty page first. The part of the rror log reads ---snip--- D [02/Sep/2010:12:41:25 +0200] cupsdSetBusyState: Not busy D [02/Sep/2010:12:41:25 +0200] cupsdReadClient: 17 POST /printers/Lpz_061_207_HPLaserJet_4200 HTTP/1.1 D [02/Sep/2010:12:41:25 +0200] cupsdSetBusyState: Active clients D [02/Sep/2010:12:41:25 +0200] cupsdAuthorize: No authentication data provided. D [02/Sep/2010:12:41:25 +0200] cupsdReadClient: 17 1.1 Create-Job 1 D [02/Sep/2010:12:41:25 +0200] Create-Job ipp://localhost/printers/Lpz_061_207_HPLaserJet_4200 D [02/Sep/2010:12:41:25 +0200] Create-Job client-error-bad-request: Bad job-sheets value "standard"! E [02/Sep/2010:12:41:25 +0200] Returning IPP client-error-bad-request for Create-Job (ipp://localhost/printers/Lpz_061_207_HPLaserJet_4200) from localhost D [02/Sep/2010:12:41:25 +0200] cupsdSetBusyState: Not busy D [02/Sep/2010:12:41:25 +0200] cupsdReadClient: 17 WAITING Closing on EOF D ---pins--- How can I tell CUPS not to bring out a banner at all? The printer's entry in /etc/cups/printer.conf reads: ---snip--- Info Lpz_061_207_HPLaserJet_4200 at printle6 [26/08 19:07] MakeModel HP LaserJet 4200 Series Postscript (recommended) DeviceURI socket://141.65.129.65:9100 State Idle StateTime 1283424142 Type 8425668 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-command 0 commandtops Filter application/vnd.cups-postscript 0 - Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job Attribute marker-colors none,none Attribute marker-levels 20,38 Attribute marker-names Black Print Cartridge HP Q1338A,Maintenance Kit HP 110V-Q2429A, 220V-Q2430A Attribute marker-types tonerCartridge,fuser Attribute marker-change-time 1283424142 ---pins--- Oh, and of course inside SAP any banner printing is disabled. Regards, Werner Link: http://www.cups.org/str.php?L3657 Version: 1.4.4 From msweet at apple.com Thu Sep 2 09:55:00 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 02 Sep 2010 09:55:00 -0700 Subject: [cups.bugs] [LOW] STR #3657: when printing from SAP, a starting banner is added though not configured Message-ID: <8968-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. More than likely SAP is queuing using LPD, so you need to tweak the cups-lpd configuration. Link: http://www.cups.org/str.php?L3657 Version: 1.4.4 Fix Version: None From msweet at apple.com Thu Sep 2 10:21:30 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 02 Sep 2010 10:21:30 -0700 Subject: [cups.development] CUPS not detect the USB printer connected In-Reply-To: <5300-cups.development@news.easysw.com> References: <5300-cups.development@news.easysw.com> Message-ID: <5301-cups.development@news.easysw.com> You need to check the permissions of the /dev/usb/* files. On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: > Thanks Michael for quick input. OpenWrt for embedded device not having all the users in my config. I have only root user and admin user. I have root permission for the /usr/lib/cups/backend/usb. owner and group permission also for user root. I login as a root and executes lpinfo -v. its shows only 5 devices. Same time when i change the directory /usr/lib/cups/backend/ run "usb" i could able to see the printer details including serial number. > > Thanks, > Senthil > >> Sounds like a permissions problem - the USB backend runs as the "lp" = >> user by default, so the USB device files will need to be writable by = >> "lp" or have the appropriate group with group write enabled. >> >> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: >> >>> Hi Team, >>> =20 >>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = >> lpinfo -v not listing my usb printer connected. I could see the device = >> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also = >> shows the printer connected. But my lpinfo -v command shows always 5 = >> other devices (http, ipp, socket, lpd & scsi). >>> =20 >>> went through some extend of debug by enabling DEBUG option in code = >> (debug.h). when i enable DEBUG option lpinfo -v hangs. >>> =20 >>> Looking experts input to resolve my problem. >>> =20 >>> Thanks, >>> Senthil >>> _______________________________________________ >>> cups-dev mailing list >>> cups-dev at easysw.com >>> http://lists.easysw.com/mailman/listinfo/cups-dev >> >> ________________________________________________________________________ >> Michael Sweet, Senior Printing System Engineer, PWG Chair >> >> >> >> > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From senthil_pushpavanalingam at mindtree.com Thu Sep 2 22:38:05 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Thu, 02 Sep 2010 22:38:05 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5302-cups.development@news.easysw.com> Michael, Here the /dev/usb/* file permission details, crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could see the polling process detects only 5 fd some time. some time it shows 7 fd. [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... this may give some info to you on the problem part. Thanks, Senthil > You need to check the permissions of the /dev/usb/* files. > > On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: > > > Thanks Michael for quick input. OpenWrt for embedded device not having = > all the users in my config. I have only root user and admin user. I have = > root permission for the /usr/lib/cups/backend/usb. owner and group = > permission also for user root. I login as a root and executes lpinfo -v. = > its shows only 5 devices. Same time when i change the directory = > /usr/lib/cups/backend/ run "usb" i could able to see the printer details = > including serial number. > >=20 > > Thanks, > > Senthil > >=20 > >> Sounds like a permissions problem - the USB backend runs as the "lp" = > =3D > >> user by default, so the USB device files will need to be writable by = > =3D > >> "lp" or have the appropriate group with group write enabled. > >>=20 > >> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > >>=20 > >>> Hi Team, > >>> =3D20 > >>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. =3D > >> lpinfo -v not listing my usb printer connected. I could see the = > device =3D > >> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also = > =3D > >> shows the printer connected. But my lpinfo -v command shows always 5 = > =3D > >> other devices (http, ipp, socket, lpd & scsi). > >>> =3D20 > >>> went through some extend of debug by enabling DEBUG option in code =3D= > > >> (debug.h). when i enable DEBUG option lpinfo -v hangs. > >>> =3D20 > >>> Looking experts input to resolve my problem. > >>> =3D20 > >>> Thanks, > >>> Senthil > >>> _______________________________________________ > >>> cups-dev mailing list > >>> cups-dev at easysw.com > >>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>=20 > >> = > ________________________________________________________________________ > >> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>=20 > >>=20 > >>=20 > >>=20 > >=20 > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From msweet at apple.com Thu Sep 2 22:49:36 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 02 Sep 2010 22:49:36 -0700 Subject: [cups.development] CUPS not detect the USB printer connected In-Reply-To: <5302-cups.development@news.easysw.com> References: <5302-cups.development@news.easysw.com> Message-ID: <5303-cups.development@news.easysw.com> The files need a different group (whichever group is in cupsd.conf - usually "sys"...) On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: > Michael, > > Here the /dev/usb/* file permission details, > > crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 > crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 > > In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could see the polling process detects only 5 fd some time. some time it shows 7 fd. > > [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... > this may give some info to you on the problem part. > > Thanks, > Senthil > >> You need to check the permissions of the /dev/usb/* files. >> >> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: >> >>> Thanks Michael for quick input. OpenWrt for embedded device not having = >> all the users in my config. I have only root user and admin user. I have = >> root permission for the /usr/lib/cups/backend/usb. owner and group = >> permission also for user root. I login as a root and executes lpinfo -v. = >> its shows only 5 devices. Same time when i change the directory = >> /usr/lib/cups/backend/ run "usb" i could able to see the printer details = >> including serial number. >>> =20 >>> Thanks, >>> Senthil >>> =20 >>>> Sounds like a permissions problem - the USB backend runs as the "lp" = >> =3D >>>> user by default, so the USB device files will need to be writable by = >> =3D >>>> "lp" or have the appropriate group with group write enabled. >>>> =20 >>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: >>>> =20 >>>>> Hi Team, >>>>> =3D20 >>>>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. =3D >>>> lpinfo -v not listing my usb printer connected. I could see the = >> device =3D >>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb also = >> =3D >>>> shows the printer connected. But my lpinfo -v command shows always 5 = >> =3D >>>> other devices (http, ipp, socket, lpd & scsi). >>>>> =3D20 >>>>> went through some extend of debug by enabling DEBUG option in code =3D= >> >>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. >>>>> =3D20 >>>>> Looking experts input to resolve my problem. >>>>> =3D20 >>>>> Thanks, >>>>> Senthil >>>>> _______________________________________________ >>>>> cups-dev mailing list >>>>> cups-dev at easysw.com >>>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>>> =20 >>>> = >> ________________________________________________________________________ >>>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>>> =20 >>>> =20 >>>> =20 >>>> =20 >>> =20 >>> _______________________________________________ >>> cups-dev mailing list >>> cups-dev at easysw.com >>> http://lists.easysw.com/mailman/listinfo/cups-dev >> >> ________________________________________________________________________ >> Michael Sweet, Senior Printing System Engineer, PWG Chair >> >> >> >> > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From senthil_pushpavanalingam at mindtree.com Fri Sep 3 00:15:07 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Fri, 03 Sep 2010 00:15:07 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5304-cups.development@news.easysw.com> Michael, My development environment is so customized. i dont' have many groups. i have only root and admin as user. and root as group. So, i have change the permission to group as Read&Write. Is it any still require the file /dev/usb/lp0 should be in "sys" group? Thanks, Senthil > The files need a different group (whichever group is in cupsd.conf - = > usually "sys"...) > > On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: > > > Michael, > >=20 > > Here the /dev/usb/* file permission details, > >=20 > > crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 > > crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 > >=20 > > In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could = > see the polling process detects only 5 fd some time. some time it shows = > 7 fd. > >=20 > > [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... > > this may give some info to you on the problem part. > >=20 > > Thanks, > > Senthil > >=20 > >> You need to check the permissions of the /dev/usb/* files. > >>=20 > >> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: > >>=20 > >>> Thanks Michael for quick input. OpenWrt for embedded device not = > having =3D > >> all the users in my config. I have only root user and admin user. I = > have =3D > >> root permission for the /usr/lib/cups/backend/usb. owner and group =3D > >> permission also for user root. I login as a root and executes lpinfo = > -v. =3D > >> its shows only 5 devices. Same time when i change the directory =3D > >> /usr/lib/cups/backend/ run "usb" i could able to see the printer = > details =3D > >> including serial number. > >>> =3D20 > >>> Thanks, > >>> Senthil > >>> =3D20 > >>>> Sounds like a permissions problem - the USB backend runs as the = > "lp" =3D > >> =3D3D > >>>> user by default, so the USB device files will need to be writable = > by =3D > >> =3D3D > >>>> "lp" or have the appropriate group with group write enabled. > >>>> =3D20 > >>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > >>>> =3D20 > >>>>> Hi Team, > >>>>> =3D3D20 > >>>>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = > =3D3D > >>>> lpinfo -v not listing my usb printer connected. I could see the =3D > >> device =3D3D > >>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb = > also =3D > >> =3D3D > >>>> shows the printer connected. But my lpinfo -v command shows always = > 5 =3D > >> =3D3D > >>>> other devices (http, ipp, socket, lpd & scsi). > >>>>> =3D3D20 > >>>>> went through some extend of debug by enabling DEBUG option in code = > =3D3D=3D > >>=20 > >>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. > >>>>> =3D3D20 > >>>>> Looking experts input to resolve my problem. > >>>>> =3D3D20 > >>>>> Thanks, > >>>>> Senthil > >>>>> _______________________________________________ > >>>>> cups-dev mailing list > >>>>> cups-dev at easysw.com > >>>>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>>> =3D20 > >>>> =3D > >> = > ________________________________________________________________________ > >>>> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>>> =3D20 > >>>> =3D20 > >>>> =3D20 > >>>> =3D20 > >>> =3D20 > >>> _______________________________________________ > >>> cups-dev mailing list > >>> cups-dev at easysw.com > >>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>=20 > >> = > ________________________________________________________________________ > >> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>=20 > >>=20 > >>=20 > >>=20 > >=20 > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From werner.flamme at ufz.de Fri Sep 3 00:27:29 2010 From: werner.flamme at ufz.de (Werner Flamme) Date: Fri, 03 Sep 2010 00:27:29 -0700 Subject: [cups.bugs] [LOW] STR #3657: when printing from SAP, a starting banner is added though not configured In-Reply-To: <20100902165458.510033C680FE@dns.easysw.com> References: <20100902165458.510033C680FE@dns.easysw.com> Message-ID: <8969-cups.bugs@news.easysw.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Sweet [02.09.2010 18:54]: > > DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. > > [STR Closed w/o Resolution] > > General support is not available via the STR form. Please post to the CUPS > forums and/or mailing lists for general support. > > More than likely SAP is queuing using LPD, so you need to tweak the > cups-lpd configuration. > > Link: http://www.cups.org/str.php?L3657 > Version: 1.4.4 > Fix Version: None > Thanks for giving me the hint to look at STR #2619. Regards, Werner - -- Werner Flamme, Abt. WKDV Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-1921 - Fax (0341) 235-451921 Information nach ?? 37a HGB, 35a GmbHG: Sitz der Gesellschaft: Leipzig Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703 Vorsitzender des Aufsichtsrats: MinR Wilfried Kraus Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Georg Teutsch Administrativer Gesch?ftsf?hrer: Dr. Andreas Schmidt -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkyAo1kACgkQk33Krq8b42MtLQCfS5y3BcuHh/eVmuPYsFyX/F1p CU8An0rNUaLkA7JHHZGpbfqyu9sPr2tH =gGyM -----END PGP SIGNATURE----- From senthil_pushpavanalingam at mindtree.com Fri Sep 3 02:03:00 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Fri, 03 Sep 2010 02:03:00 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5305-cups.development@news.easysw.com> Changing permission of /dev/usb/lp0 to 777 thing fine. Now i could able to see the USB printer as output of "lpinfo -v". Here the sample output from my target system: network socket direct usb://HP/Officejet%20J4500%20series?serial=CN9BSD80B2052V network http network ipp network lpd direct scsi When i issue the lp command to fire a print-out, i didn't see job printed on the printer. no error mesg on console. Appreciate your help if you can give the debug steps. Senthil > Michael, > > My development environment is so customized. i dont' have many groups. i have only root and admin as user. and root as group. > > So, i have change the permission to group as Read&Write. Is it any still require the file /dev/usb/lp0 should be in "sys" group? > > Thanks, > Senthil > > > > The files need a different group (whichever group is in cupsd.conf - = > > usually "sys"...) > > > > On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: > > > > > Michael, > > >=20 > > > Here the /dev/usb/* file permission details, > > >=20 > > > crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 > > > crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 > > >=20 > > > In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could = > > see the polling process detects only 5 fd some time. some time it shows = > > 7 fd. > > >=20 > > > [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... > > > this may give some info to you on the problem part. > > >=20 > > > Thanks, > > > Senthil > > >=20 > > >> You need to check the permissions of the /dev/usb/* files. > > >>=20 > > >> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: > > >>=20 > > >>> Thanks Michael for quick input. OpenWrt for embedded device not = > > having =3D > > >> all the users in my config. I have only root user and admin user. I = > > have =3D > > >> root permission for the /usr/lib/cups/backend/usb. owner and group =3D > > >> permission also for user root. I login as a root and executes lpinfo = > > -v. =3D > > >> its shows only 5 devices. Same time when i change the directory =3D > > >> /usr/lib/cups/backend/ run "usb" i could able to see the printer = > > details =3D > > >> including serial number. > > >>> =3D20 > > >>> Thanks, > > >>> Senthil > > >>> =3D20 > > >>>> Sounds like a permissions problem - the USB backend runs as the = > > "lp" =3D > > >> =3D3D > > >>>> user by default, so the USB device files will need to be writable = > > by =3D > > >> =3D3D > > >>>> "lp" or have the appropriate group with group write enabled. > > >>>> =3D20 > > >>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > > >>>> =3D20 > > >>>>> Hi Team, > > >>>>> =3D3D20 > > >>>>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = > > =3D3D > > >>>> lpinfo -v not listing my usb printer connected. I could see the =3D > > >> device =3D3D > > >>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb = > > also =3D > > >> =3D3D > > >>>> shows the printer connected. But my lpinfo -v command shows always = > > 5 =3D > > >> =3D3D > > >>>> other devices (http, ipp, socket, lpd & scsi). > > >>>>> =3D3D20 > > >>>>> went through some extend of debug by enabling DEBUG option in code = > > =3D3D=3D > > >>=20 > > >>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. > > >>>>> =3D3D20 > > >>>>> Looking experts input to resolve my problem. > > >>>>> =3D3D20 > > >>>>> Thanks, > > >>>>> Senthil > > >>>>> _______________________________________________ > > >>>>> cups-dev mailing list > > >>>>> cups-dev at easysw.com > > >>>>> http://lists.easysw.com/mailman/listinfo/cups-dev > > >>>> =3D20 > > >>>> =3D > > >> = > > ________________________________________________________________________ > > >>>> Michael Sweet, Senior Printing System Engineer, PWG Chair > > >>>> =3D20 > > >>>> =3D20 > > >>>> =3D20 > > >>>> =3D20 > > >>> =3D20 > > >>> _______________________________________________ > > >>> cups-dev mailing list > > >>> cups-dev at easysw.com > > >>> http://lists.easysw.com/mailman/listinfo/cups-dev > > >>=20 > > >> = > > ________________________________________________________________________ > > >> Michael Sweet, Senior Printing System Engineer, PWG Chair > > >>=20 > > >>=20 > > >>=20 > > >>=20 > > >=20 > > > _______________________________________________ > > > cups-dev mailing list > > > cups-dev at easysw.com > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > ________________________________________________________________________ > > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > > > > > > From alan at popey.com Fri Sep 3 06:38:43 2010 From: alan at popey.com (Alan Pope) Date: Fri, 03 Sep 2010 06:38:43 -0700 Subject: [cups.bugs] [LOW] STR #3658: Obscure notification message: 'com.apple.print.recoverable' Message-ID: <8970-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I filed this bug against Ubuntu but it is probably an upstream (CUPS) specific bug? https://bugs.launchpad.net/bugs/447940 My network printer has had its IP change due to me reconfiguring my network. I have an Ubuntu 9.10 laptop which hasn't been informed of this fact, so still has the old IP address. I went to print to it, thinking I'd get some kind of message about the printer being unavailable but instead got a notification popup saying:- "Printer 'Genicom-microLaser-210': 'com.apple.print.recoverable'. I can only guess at what this means. The same message appears if I hover over the printer icon. Now of course I can "fix" this by changing the IP address of the printer, but the message is a touch obscure. Indeed, one nice thing is simply changing the IP address in the admin screen results in my output appearing - which is very nice :) Link: http://www.cups.org/str.php?L3658 Version: 1.4.1 From msweet at apple.com Fri Sep 3 06:43:11 2010 From: msweet at apple.com (Michael Sweet) Date: Fri, 03 Sep 2010 06:43:11 -0700 Subject: [cups.bugs] [LOW] STR #3658: Obscure notification message: 'com.apple.print.recoverable' Message-ID: <8971-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] No, not a CUPS bug - your Ubuntu UI isn't handling the IPP printer-state-reason value that is being set by the driver you are using, in this case a Mac-specific "extra message" field that was deprecated In 10.4 but is still in common use. Link: http://www.cups.org/str.php?L3658 Version: 1.4.1 Fix Version: Third-party From msweet at apple.com Fri Sep 3 08:19:42 2010 From: msweet at apple.com (Michael Sweet) Date: Fri, 03 Sep 2010 08:19:42 -0700 Subject: [cups.development] CUPS not detect the USB printer connected In-Reply-To: <5304-cups.development@news.easysw.com> References: <5304-cups.development@news.easysw.com> Message-ID: <5306-cups.development@news.easysw.com> Either add a group and use it for the USB files and the Group directive in cupsd.conf, or chmod the USB backend to mode 0500 so that it runs as root. On Sep 3, 2010, at 12:15 AM, Senthil Murugan wrote: > Michael, > > My development environment is so customized. i dont' have many groups. i have only root and admin as user. and root as group. > > So, i have change the permission to group as Read&Write. Is it any still require the file /dev/usb/lp0 should be in "sys" group? > > Thanks, > Senthil > > >> The files need a different group (whichever group is in cupsd.conf - = >> usually "sys"...) >> >> On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: >> >>> Michael, >>> =20 >>> Here the /dev/usb/* file permission details, >>> =20 >>> crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 >>> crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 >>> =20 >>> In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could = >> see the polling process detects only 5 fd some time. some time it shows = >> 7 fd. >>> =20 >>> [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... >>> this may give some info to you on the problem part. >>> =20 >>> Thanks, >>> Senthil >>> =20 >>>> You need to check the permissions of the /dev/usb/* files. >>>> =20 >>>> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: >>>> =20 >>>>> Thanks Michael for quick input. OpenWrt for embedded device not = >> having =3D >>>> all the users in my config. I have only root user and admin user. I = >> have =3D >>>> root permission for the /usr/lib/cups/backend/usb. owner and group =3D >>>> permission also for user root. I login as a root and executes lpinfo = >> -v. =3D >>>> its shows only 5 devices. Same time when i change the directory =3D >>>> /usr/lib/cups/backend/ run "usb" i could able to see the printer = >> details =3D >>>> including serial number. >>>>> =3D20 >>>>> Thanks, >>>>> Senthil >>>>> =3D20 >>>>>> Sounds like a permissions problem - the USB backend runs as the = >> "lp" =3D >>>> =3D3D >>>>>> user by default, so the USB device files will need to be writable = >> by =3D >>>> =3D3D >>>>>> "lp" or have the appropriate group with group write enabled. >>>>>> =3D20 >>>>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: >>>>>> =3D20 >>>>>>> Hi Team, >>>>>>> =3D3D20 >>>>>>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = >> =3D3D >>>>>> lpinfo -v not listing my usb printer connected. I could see the =3D >>>> device =3D3D >>>>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb = >> also =3D >>>> =3D3D >>>>>> shows the printer connected. But my lpinfo -v command shows always = >> 5 =3D >>>> =3D3D >>>>>> other devices (http, ipp, socket, lpd & scsi). >>>>>>> =3D3D20 >>>>>>> went through some extend of debug by enabling DEBUG option in code = >> =3D3D=3D >>>> =20 >>>>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. >>>>>>> =3D3D20 >>>>>>> Looking experts input to resolve my problem. >>>>>>> =3D3D20 >>>>>>> Thanks, >>>>>>> Senthil >>>>>>> _______________________________________________ >>>>>>> cups-dev mailing list >>>>>>> cups-dev at easysw.com >>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>>>>> =3D20 >>>>>> =3D >>>> = >> ________________________________________________________________________ >>>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>>>>> =3D20 >>>>>> =3D20 >>>>>> =3D20 >>>>>> =3D20 >>>>> =3D20 >>>>> _______________________________________________ >>>>> cups-dev mailing list >>>>> cups-dev at easysw.com >>>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>>> =20 >>>> = >> ________________________________________________________________________ >>>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>>> =20 >>>> =20 >>>> =20 >>>> =20 >>> =20 >>> _______________________________________________ >>> cups-dev mailing list >>> cups-dev at easysw.com >>> http://lists.easysw.com/mailman/listinfo/cups-dev >> >> ________________________________________________________________________ >> Michael Sweet, Senior Printing System Engineer, PWG Chair >> >> >> >> > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From msweet at apple.com Fri Sep 3 08:33:15 2010 From: msweet at apple.com (Michael Sweet) Date: Fri, 03 Sep 2010 08:33:15 -0700 Subject: [cups.development] CUPS not detect the USB printer connected In-Reply-To: <5305-cups.development@news.easysw.com> References: <5305-cups.development@news.easysw.com> Message-ID: <5307-cups.development@news.easysw.com> On Sep 3, 2010, at 2:03 AM, Senthil Murugan wrote: > Changing permission of /dev/usb/lp0 to 777 thing fine. Now i could able to see the USB printer as output of "lpinfo -v". > Here the sample output from my target system: > network socket > direct usb://HP/Officejet%20J4500%20series?serial=CN9BSD80B2052V > network http > network ipp > network lpd > direct scsi > > When i issue the lp command to fire a print-out, i didn't see job printed on the printer. no error mesg on console. Appreciate your help if you can give the debug steps. Depending on the kernel you are using, you may be running into a compatibility issue between the HP printer and the USB printer driver - I know I've had issues printing from a Sheevaplug to my HP printers... > > Senthil > > >> Michael, >> >> My development environment is so customized. i dont' have many groups. i have only root and admin as user. and root as group. >> >> So, i have change the permission to group as Read&Write. Is it any still require the file /dev/usb/lp0 should be in "sys" group? >> >> Thanks, >> Senthil >> >> >>> The files need a different group (whichever group is in cupsd.conf - = >>> usually "sys"...) >>> >>> On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: >>> >>>> Michael, >>>> =20 >>>> Here the /dev/usb/* file permission details, >>>> =20 >>>> crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 >>>> crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 >>>> =20 >>>> In /etc/cups/cupsd.conf enable the debug level as "debug2" and i could = >>> see the polling process detects only 5 fd some time. some time it shows = >>> 7 fd. >>>> =20 >>>> [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... >>>> this may give some info to you on the problem part. >>>> =20 >>>> Thanks, >>>> Senthil >>>> =20 >>>>> You need to check the permissions of the /dev/usb/* files. >>>>> =20 >>>>> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: >>>>> =20 >>>>>> Thanks Michael for quick input. OpenWrt for embedded device not = >>> having =3D >>>>> all the users in my config. I have only root user and admin user. I = >>> have =3D >>>>> root permission for the /usr/lib/cups/backend/usb. owner and group =3D >>>>> permission also for user root. I login as a root and executes lpinfo = >>> -v. =3D >>>>> its shows only 5 devices. Same time when i change the directory =3D >>>>> /usr/lib/cups/backend/ run "usb" i could able to see the printer = >>> details =3D >>>>> including serial number. >>>>>> =3D20 >>>>>> Thanks, >>>>>> Senthil >>>>>> =3D20 >>>>>>> Sounds like a permissions problem - the USB backend runs as the = >>> "lp" =3D >>>>> =3D3D >>>>>>> user by default, so the USB device files will need to be writable = >>> by =3D >>>>> =3D3D >>>>>>> "lp" or have the appropriate group with group write enabled. >>>>>>> =3D20 >>>>>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: >>>>>>> =3D20 >>>>>>>> Hi Team, >>>>>>>> =3D3D20 >>>>>>>> I'm working on the embedded system with OpenWrt plus CUPS 1.3.10. = >>> =3D3D >>>>>>> lpinfo -v not listing my usb printer connected. I could see the =3D >>>>> device =3D3D >>>>>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb = >>> also =3D >>>>> =3D3D >>>>>>> shows the printer connected. But my lpinfo -v command shows always = >>> 5 =3D >>>>> =3D3D >>>>>>> other devices (http, ipp, socket, lpd & scsi). >>>>>>>> =3D3D20 >>>>>>>> went through some extend of debug by enabling DEBUG option in code = >>> =3D3D=3D >>>>> =20 >>>>>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. >>>>>>>> =3D3D20 >>>>>>>> Looking experts input to resolve my problem. >>>>>>>> =3D3D20 >>>>>>>> Thanks, >>>>>>>> Senthil >>>>>>>> _______________________________________________ >>>>>>>> cups-dev mailing list >>>>>>>> cups-dev at easysw.com >>>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>>>>>> =3D20 >>>>>>> =3D >>>>> = >>> ________________________________________________________________________ >>>>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>>>>>> =3D20 >>>>>>> =3D20 >>>>>>> =3D20 >>>>>>> =3D20 >>>>>> =3D20 >>>>>> _______________________________________________ >>>>>> cups-dev mailing list >>>>>> cups-dev at easysw.com >>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>>>> =20 >>>>> = >>> ________________________________________________________________________ >>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>>>> =20 >>>>> =20 >>>>> =20 >>>>> =20 >>>> =20 >>>> _______________________________________________ >>>> cups-dev mailing list >>>> cups-dev at easysw.com >>>> http://lists.easysw.com/mailman/listinfo/cups-dev >>> >>> ________________________________________________________________________ >>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>> >>> >>> >>> >> > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From mwisnicki at gmail.com Sun Sep 5 13:46:59 2010 From: mwisnicki at gmail.com (Marcin Wisnicki) Date: Sun, 05 Sep 2010 13:46:59 -0700 Subject: [cups.bugs] [LOW] STR #3659: configure fails silently Message-ID: <8972-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Some configuration failures result in warnings that are easy to miss. For example, since r9162 compiling cups with --disable-openssl --enable-gnutls (default for FreeBSD port) will silently disable gnutls after printing a warning. This resulted in missing SSL support and I've wasted a lot of time finding the source of this problem. I am requesting reverting that change and making a policy to always fail if something is wrong. Trying to be smart and guess for the user is just to error prone. Link: http://www.cups.org/str.php?L3659 Version: 1.4.4 From senthil_pushpavanalingam at mindtree.com Sun Sep 5 22:42:55 2010 From: senthil_pushpavanalingam at mindtree.com (Senthil Murugan) Date: Sun, 05 Sep 2010 22:42:55 -0700 Subject: CUPS not detect the USB printer connected Message-ID: <5308-cups.development@news.easysw.com> I'm using kernel version 2.6.30 & when i select Raw printer model debug log (/var/log/cus/errorlog) not give any detail on failure. i could see the job in Queue. Your input on debug steps will help. > On Sep 3, 2010, at 2:03 AM, Senthil Murugan wrote: > > Changing permission of /dev/usb/lp0 to 777 thing fine. Now i could = > able to see the USB printer as output of "lpinfo -v". > > Here the sample output from my target system: > > network socket > > direct usb://HP/Officejet%20J4500%20series?serial=3DCN9BSD80B2052V > > network http > > network ipp > > network lpd > > direct scsi > >=20 > > When i issue the lp command to fire a print-out, i didn't see job = > printed on the printer. no error mesg on console. Appreciate your help = > if you can give the debug steps. > > Depending on the kernel you are using, you may be running into a = > compatibility issue between the HP printer and the USB printer driver - = > I know I've had issues printing from a Sheevaplug to my HP printers... > > >=20 > > Senthil > >=20 > >=20 > >> Michael, > >>=20 > >> My development environment is so customized. i dont' have many = > groups. i have only root and admin as user. and root as group. > >>=20 > >> So, i have change the permission to group as Read&Write. Is it any = > still require the file /dev/usb/lp0 should be in "sys" group? > >>=20 > >> Thanks, > >> Senthil > >>=20 > >>=20 > >>> The files need a different group (whichever group is in cupsd.conf - = > =3D > >>> usually "sys"...) > >>>=20 > >>> On Sep 2, 2010, at 10:38 PM, Senthil Murugan wrote: > >>>=20 > >>>> Michael, > >>>> =3D20 > >>>> Here the /dev/usb/* file permission details, > >>>> =3D20 > >>>> crw-rw---- 1 root root 180, 0 Jan 1 00:09 lp0 > >>>> crw-rw---- 1 root root 180, 1 Jan 1 00:10 lp1 > >>>> =3D20 > >>>> In /etc/cups/cupsd.conf enable the debug level as "debug2" and i = > could =3D > >>> see the polling process detects only 5 fd some time. some time it = > shows =3D > >>> 7 fd. > >>>> =3D20 > >>>> [02/Jan/1970:17:14:10 +0000] cupsdDoSelect: Read on fd 5... > >>>> this may give some info to you on the problem part. > >>>> =3D20 > >>>> Thanks, > >>>> Senthil > >>>> =3D20 > >>>>> You need to check the permissions of the /dev/usb/* files. > >>>>> =3D20 > >>>>> On Sep 2, 2010, at 7:25 AM, Senthil Murugan wrote: > >>>>> =3D20 > >>>>>> Thanks Michael for quick input. OpenWrt for embedded device not =3D= > > >>> having =3D3D > >>>>> all the users in my config. I have only root user and admin user. = > I =3D > >>> have =3D3D > >>>>> root permission for the /usr/lib/cups/backend/usb. owner and group = > =3D3D > >>>>> permission also for user root. I login as a root and executes = > lpinfo =3D > >>> -v. =3D3D > >>>>> its shows only 5 devices. Same time when i change the directory = > =3D3D > >>>>> /usr/lib/cups/backend/ run "usb" i could able to see the printer =3D= > > >>> details =3D3D > >>>>> including serial number. > >>>>>> =3D3D20 > >>>>>> Thanks, > >>>>>> Senthil > >>>>>> =3D3D20 > >>>>>>> Sounds like a permissions problem - the USB backend runs as the = > =3D > >>> "lp" =3D3D > >>>>> =3D3D3D > >>>>>>> user by default, so the USB device files will need to be = > writable =3D > >>> by =3D3D > >>>>> =3D3D3D > >>>>>>> "lp" or have the appropriate group with group write enabled. > >>>>>>> =3D3D20 > >>>>>>> On Sep 1, 2010, at 6:06 AM, Senthil Murugan wrote: > >>>>>>> =3D3D20 > >>>>>>>> Hi Team, > >>>>>>>> =3D3D3D20 > >>>>>>>> I'm working on the embedded system with OpenWrt plus CUPS = > 1.3.10. =3D > >>> =3D3D3D > >>>>>>> lpinfo -v not listing my usb printer connected. I could see the = > =3D3D > >>>>> device =3D3D3D > >>>>>>> connected in /proc/bus/usb/devices & /usr/share/cups/backend/usb = > =3D > >>> also =3D3D > >>>>> =3D3D3D > >>>>>>> shows the printer connected. But my lpinfo -v command shows = > always =3D > >>> 5 =3D3D > >>>>> =3D3D3D > >>>>>>> other devices (http, ipp, socket, lpd & scsi). > >>>>>>>> =3D3D3D20 > >>>>>>>> went through some extend of debug by enabling DEBUG option in = > code =3D > >>> =3D3D3D=3D3D > >>>>> =3D20 > >>>>>>> (debug.h). when i enable DEBUG option lpinfo -v hangs. > >>>>>>>> =3D3D3D20 > >>>>>>>> Looking experts input to resolve my problem. > >>>>>>>> =3D3D3D20 > >>>>>>>> Thanks, > >>>>>>>> Senthil > >>>>>>>> _______________________________________________ > >>>>>>>> cups-dev mailing list > >>>>>>>> cups-dev at easysw.com > >>>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>>>>>> =3D3D20 > >>>>>>> =3D3D > >>>>> =3D > >>> = > ________________________________________________________________________ > >>>>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>>>>>> =3D3D20 > >>>>>>> =3D3D20 > >>>>>>> =3D3D20 > >>>>>>> =3D3D20 > >>>>>> =3D3D20 > >>>>>> _______________________________________________ > >>>>>> cups-dev mailing list > >>>>>> cups-dev at easysw.com > >>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>>>> =3D20 > >>>>> =3D > >>> = > ________________________________________________________________________ > >>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>>>> =3D20 > >>>>> =3D20 > >>>>> =3D20 > >>>>> =3D20 > >>>> =3D20 > >>>> _______________________________________________ > >>>> cups-dev mailing list > >>>> cups-dev at easysw.com > >>>> http://lists.easysw.com/mailman/listinfo/cups-dev > >>>=20 > >>> = > ________________________________________________________________________ > >>> Michael Sweet, Senior Printing System Engineer, PWG Chair > >>>=20 > >>>=20 > >>>=20 > >>>=20 > >>=20 > >=20 > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From timo.lindfors at iki.fi Mon Sep 6 05:49:26 2010 From: timo.lindfors at iki.fi (Timo Juhani Lindfors) Date: Mon, 06 Sep 2010 05:49:26 -0700 Subject: [cups.bugs] [MOD] STR #3646: REGRESSION (1.3.8 -> 1.4.4): pstops produces postscript that hangs Ricoh Aficio 3035 Message-ID: <8973-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] Thanks, the debugging output will appear in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593338 in 10 minutes. Link: http://www.cups.org/str.php?L3646 Version: 1.4.4 Fix Version: Third-party From pipitas at gmail.com Mon Sep 6 13:02:40 2010 From: pipitas at gmail.com (pipitas at gmail.com) Date: Mon, 06 Sep 2010 13:02:40 -0700 Subject: [cups.bugs] [MOD] STR #3660: Typo "httpFreeCredential(s)" in libcups2.def (in SVN trunk) Message-ID: <8974-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Today I was trying to compile libcups2.dll on Windows XP (with MSVC++ 2008 Express Edition). This error message came up: Error 1 error LNK2001: unresolved external symbol httpFreeCredential libcups2.def libcups2 That symbol's name should probably be "httpFreeCredentials" (plural) since t his is the only form such a string appears in http.{c,h}. ---- (Cannot associate bug to s/w version "1.5-trunk", hence "1.4-current") Link: http://www.cups.org/str.php?L3660 Version: 1.4-current From tranhathuy at gmail.com Mon Sep 6 18:18:44 2010 From: tranhathuy at gmail.com (tran ha thuy) Date: Mon, 06 Sep 2010 18:18:44 -0700 Subject: Broken Pipe when using command lpinfo, lpadmin, etc Message-ID: <5309-cups.development@news.easysw.com> Hi all, I'm now facing a problem with CUPS 1.4.3. After running configure and make, make install, starting cups service seems to be no problem, but anytime i try to use the commands like [lpinfo -v], [lpinfo -m], [lpadmin], i always get broken pipe error. Reading through the code, i found that this error is caused by recv() returning 0 when httpGets is getting HTTP message from the server. Before this error occurs, the server return the following message when i call lpadmin to add new printer POST /admin/ HTTP/1.1 Content-Length: 4400194212128 Content-Type: application/ipp Host: localhost User-Agent: CUPS/1.4.3 Expect: 100-continue Does anyone know what is missing here? From bernerus at chalmers.se Tue Sep 7 05:39:32 2010 From: bernerus at chalmers.se (Christer Bernérus) Date: Tue, 07 Sep 2010 05:39:32 -0700 Subject: [cups.bugs] [HIGH] STR #3662: Bug in scheduler/auth.c, Kerberos Context not initialized Message-ID: <8975-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi. I came across this bug while trying to figure out how kerberos authentication on the Mac is supposed to work. This bug affects all cups clients that connects through the UNIX socket and that authenticates to the server using kerberos. (One might wonder why, but the server might just require this) Anyway, here is a diff against SVN version 9294 +++ scheduler/auth.c (working copy) @@ -993,6 +996,24 @@ "cupsdAuthorize: Copying credentials for UID %d...", CUPSD_UCRED_UID(peercred)); +if (!KerberosInitialized) + { + /* + * Setup a Kerberos context for the scheduler to use... + */ + + KerberosInitialized = 1; + + if (krb5_init_context(&KerberosContext)) + { + KerberosContext = NULL; + + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to initialize Kerberos context"); + return; + } + } + + krb5_ipc_client_set_target_uid(CUPSD_UCRED_UID(peercred)); if ((error = krb5_cc_default(KerberosContext, &peerccache)) != 0) Caveat: Indenting is not correct in the above diff. You will want to fix this. What happens is that when the server gets a request that land in this particular piece of code, the global KerberosContext might not be initialized. This is a requirement for the call to krb5_cc_default, just after the code that I added. The added code is of course borrowed from the cupsdCopyKrb5Creds() routine a bit below in the same file. -- Christer Link: http://www.cups.org/str.php?L3662 Version: 1.4-current From jo.rueter at gmail.com Tue Sep 7 08:26:16 2010 From: jo.rueter at gmail.com (Jochen Rueter) Date: Tue, 07 Sep 2010 08:26:16 -0700 Subject: [cups.bugs] [HIGH] STR #3661: remote ipp jobs never complete Message-ID: <8976-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'm running a CUPS printserver on OpenWRT Backfire 10.03 on a NSLU2 machine. Print jobs sent from other machines are somehow stuck. Printing never continues with the next job. The remote machine still shows the job as "printing". The CUPS frontend on the server show the job neither as complete nor active, but in "all jobs" it's still listed as "pending". Attached my cupsd.conf and printers.conf. I also attached a snippet from the cups errorlog with loglevel debug2. This part repeats, until I manually delete the job. I found a bug description matching my behaviour in https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/43352 but this was fixed as of Cups 1.2.11. Link: http://www.cups.org/str.php?L3661 Version: 1.4.2 -------------- next part -------------- A non-text attachment was scrubbed... Name: cups.log Type: application/octet-stream Size: 25028 bytes Desc: not available URL: From jo.rueter at gmail.com Tue Sep 7 08:26:17 2010 From: jo.rueter at gmail.com (Jochen Rueter) Date: Tue, 07 Sep 2010 08:26:17 -0700 Subject: [cups.bugs] [HIGH] STR #3661: remote ipp jobs never complete Message-ID: <8977-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "cupsd.conf"... Link: http://www.cups.org/str.php?L3661 Version: 1.4.2 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cupsd.conf URL: From jo.rueter at gmail.com Tue Sep 7 08:26:37 2010 From: jo.rueter at gmail.com (Jochen Rueter) Date: Tue, 07 Sep 2010 08:26:37 -0700 Subject: [cups.bugs] [HIGH] STR #3661: remote ipp jobs never complete Message-ID: <8978-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "printers.conf"... Link: http://www.cups.org/str.php?L3661 Version: 1.4.2 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: printers.conf URL: From jo.rueter at gmail.com Tue Sep 7 08:26:37 2010 From: jo.rueter at gmail.com (Jochen Rueter) Date: Tue, 07 Sep 2010 08:26:37 -0700 Subject: [cups.bugs] [HIGH] STR #3661: remote ipp jobs never complete Message-ID: <8979-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'm using file DeviceURI because Cups didn't detect my printer on the USB port automatically. Link: http://www.cups.org/str.php?L3661 Version: 1.4.2 From msweet at apple.com Tue Sep 7 08:39:12 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 07 Sep 2010 08:39:12 -0700 Subject: [cups.bugs] [MOD] STR #3660: Typo "httpFreeCredential(s)" in libcups2.def (in SVN trunk) Message-ID: <8980-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Also noticed that httpCopyCredentials was not being exported. Link: http://www.cups.org/str.php?L3660 Version: 1.4-current Fix Version: 1.5-current (r9295) From msweet at apple.com Tue Sep 7 08:45:26 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 07 Sep 2010 08:45:26 -0700 Subject: [cups.bugs] [HIGH] STR #3662: Bug in scheduler/auth.c, Kerberos Context not initialized Message-ID: <8981-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L3662 Version: 1.4-current Fix Version: 1.5-current (r9296) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str3662.patch URL: From bernerus at chalmers.se Wed Sep 8 06:30:32 2010 From: bernerus at chalmers.se (Christer Bernérus) Date: Wed, 08 Sep 2010 06:30:32 -0700 Subject: [cups.bugs] [HIGH] STR #3664: cupsd.conf directives SetEnv and PassEnv have no effect Message-ID: <8982-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The directives SetEnv and PassEnv in cupsd.conf have no effect. The directives are parsed and calls are made to cupsdSetEnv() which stores the settings in the common_env array [scheduler/env.c] , when reading the config file [scheduler/conf.c]. However all these calls are later undone by a call to cupsdInitEnv() which removes the contents of common_env array and fills it with the standard env variables for cupsd. All this happens within the cupsdReadConfiguration() function in scheduler/conf.c. As far as I can see, it did not harm to move the call of cupsdInitEnv() to right before the opening of the configuration file at about line 700 in conf.c. I was looking at SVN version 9289 but the code seems to have had this error since at least 2007... Link: http://www.cups.org/str.php?L3664 Version: 1.4-current From as at seh.de Wed Sep 8 07:46:46 2010 From: as at seh.de (Andrea Sen) Date: Wed, 08 Sep 2010 07:46:46 -0700 Subject: Lots of backend processes after stopping cupsd? Message-ID: <8983-cups.bugs@news.easysw.com> Hello, if I restart my server, while there is still running a backend process (if a job could not be printed for some reasons), it seems as if this process is started over and over again. This happens also, if I just stop cupsd, then there are 1000 or more processes belonging to cups. Mainly backend processes, but also some cupsd processes. Most of them are marked as defunct. Is this the correct behavior? Shutting down the server takes some time, I think because all the processes have to be stopped? I use Ubuntu 9.04, but compiled cups-1.4.4 on my own. Printing and everything else works well... Thanks a lot, Andrea Sen From duyk at apple.com Wed Sep 8 08:45:48 2010 From: duyk at apple.com (Charles Duyk) Date: Wed, 08 Sep 2010 08:45:48 -0700 Subject: [cups.bugs] [HIGH] STR #3663: Changing printer sharing settings while running a job stalls the job Message-ID: <8984-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi Mike, In the middle of a job we modified a printer from being unshared->shared via the web interface, which caused the job to stall indefinitely. Canceling and restarting worked. OS: Ubuntu Karmic CUPS Version: 1.4.1 Printer: HP 3800n Link: http://www.cups.org/str.php?L3663 Version: 1.4.1 From msweet at apple.com Wed Sep 8 08:51:27 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 08 Sep 2010 08:51:27 -0700 Subject: [cups.bugs] Lots of backend processes after stopping cupsd? In-Reply-To: <8983-cups.bugs@news.easysw.com> References: <8983-cups.bugs@news.easysw.com> Message-ID: <8985-cups.bugs@news.easysw.com> We should be sending SIGKILL to the backends on shutdown - which backends are sticking around? On Sep 8, 2010, at 7:46 AM, Andrea Sen wrote: > Hello, > > if I restart my server, while there is still running a backend process (if a job could not be printed for some reasons), it seems as if this process is started over and over again. > This happens also, if I just stop cupsd, then there are 1000 or more processes belonging to cups. Mainly backend processes, but also some cupsd processes. Most of them are marked as defunct. > > Is this the correct behavior? Shutting down the server takes some time, I think because all the processes have to be stopped? > > I use Ubuntu 9.04, but compiled cups-1.4.4 on my own. Printing and everything else works well... > > Thanks a lot, > Andrea Sen > _______________________________________________ > cups-bugs mailing list > cups-bugs at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-bugs ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From as at seh.de Wed Sep 8 23:59:30 2010 From: as at seh.de (Andrea Sen) Date: Wed, 08 Sep 2010 23:59:30 -0700 Subject: [cups.bugs] Lots of backend processes after stopping cupsd? In-Reply-To: <744C9F4B-7498-4055-9A15-994DEF3601F5@apple.com> References: <8983-cups.bugs@news.easysw.com> <744C9F4B-7498-4055-9A15-994DEF3601F5@apple.com> Message-ID: <8986-cups.bugs@news.easysw.com> It happens with lpd, usb and socket backend, but I didn't try the other ones. For me it seems as if the backend is shutdown correctly, but the same job is restarted immediately, shutdown again and so on. Michael Sweet wrote: > We should be sending SIGKILL to the backends on shutdown - which backends are sticking around? > > On Sep 8, 2010, at 7:46 AM, Andrea Sen wrote: > > >> Hello, >> >> if I restart my server, while there is still running a backend process (if a job could not be printed for some reasons), it seems as if this process is started over and over again. >> This happens also, if I just stop cupsd, then there are 1000 or more processes belonging to cups. Mainly backend processes, but also some cupsd processes. Most of them are marked as defunct. >> >> Is this the correct behavior? Shutting down the server takes some time, I think because all the processes have to be stopped? >> >> I use Ubuntu 9.04, but compiled cups-1.4.4 on my own. Printing and everything else works well... >> >> Thanks a lot, >> Andrea Sen >> _______________________________________________ >> cups-bugs mailing list >> cups-bugs at easysw.com >> http://lists.easysw.com/mailman/listinfo/cups-bugs >> > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > > _______________________________________________ > cups-bugs mailing list > cups-bugs at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-bugs > From schwarzera at freenet.de Thu Sep 9 06:37:20 2010 From: schwarzera at freenet.de (Axel Schwarzer) Date: Thu, 09 Sep 2010 06:37:20 -0700 Subject: [cups.bugs] [LOW] STR #3666: Errors in german templates (double '>') Message-ID: <8987-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The following cmd yields two problems: ---8<--- find templates/ -name '*' -exec grep -l '>>' {} \; templates/de/add-class.tmpl templates/de/add-rss-subscription.tmpl ---8<--- As a result an extraneous '>' is shown in the webinterface. Link: http://www.cups.org/str.php?L3666 Version: 1.4-current From msweet at apple.com Thu Sep 9 11:16:49 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 09 Sep 2010 11:16:49 -0700 Subject: [cups.bugs] [LOW] STR #3665: cups-lpd is run under lp:lp (def) and can't write /var/spool/d*-001 Message-ID: <8988-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. cups-lpd does not directly write to /var/spool/cups. More than likely the issue is that the default temporary directory passed by xinetd does not allow the "lp" user to create files in it... Link: http://www.cups.org/str.php?L3665 Version: 1.4.4 Fix Version: None From msweet at apple.com Thu Sep 9 11:22:00 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 09 Sep 2010 11:22:00 -0700 Subject: [cups.bugs] [LOW] STR #3667: classes.conf and printers.conf have permissions 600 (-rw-------) Message-ID: <8989-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] (Not a security bug) printers.conf can contain sensitive information in the device URI and so we do not allow access to this file by ordinary users. In 1.4.5 we are using ConfigFilePerm with the group and other bits masked so you'll basically just be changing the read, write, and execute bits of the owner (root). classes.conf does not have this issue and in 1.4.5 we are using the ConfigFilePerm value as-is. Link: http://www.cups.org/str.php?L3667 Version: 1.4-current Fix Version: None From msweet at apple.com Thu Sep 9 12:42:26 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 09 Sep 2010 12:42:26 -0700 Subject: [cups.bugs] [LOW] STR #3666: Errors in german templates (double '>') Message-ID: <8990-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L3666 Version: 1.4-current Fix Version: 1.5-current (r9298) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str3666.patch URL: From bernerus at chalmers.se Fri Sep 10 06:44:41 2010 From: bernerus at chalmers.se (Christer Bernérus) Date: Fri, 10 Sep 2010 06:44:41 -0700 Subject: [cups.bugs] [HIGH] STR #3670: Kerberos authentication fetches wrong username from peer cache Message-ID: <8991-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The code in scheduler/auth.c (around line 1000) seems to attempt to fetch the name of the connected user from the peer cache. However, the current code fetches the name OF the peer cache instead, which on the Mac gives the username "Initial default ccache" Here is my suggested fix: @@ -974,7 +979,8 @@ cupsd_ucred_t peercred; /* Peer credentials */ socklen_t peersize; /* Size of peer credentials */ krb5_ccache peerccache; /* Peer Kerberos credentials */ - const char *peername; /* Peer username */ + char *peername; /* Peer username */ + krb5_principal peerprinc; /* Default principal from user's ccace */ @@ -1002,23 +1026,31 @@ (int)CUPSD_UCRED_UID(peercred), error, strerror(errno)); return; } - - if ((peername = krb5_cc_get_name(KerberosContext, peerccache)) != NULL) + + if ((error = krb5_cc_get_principal(KerberosContext, peerccache, &peerprinc)) != 0) { - strlcpy(username, peername, sizeof(username)); - - con->have_gss = 1; - con->type = CUPSD_AUTH_NEGOTIATE; - - cupsdLogMessage(CUPSD_LOG_DEBUG, - "cupsdAuthorize: Authorized as %s using Negotiate", - username); + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to get default Kerberos principal for UID %d", + (int)CUPSD_UCRED_UID(peercred)); + return; } - else + if ((error = krb5_unparse_name(KerberosContext, peerprinc, &peername)) != 0) + { cupsdLogMessage(CUPSD_LOG_ERROR, - "Unable to get Kerberos name for UID %d", - (int)CUPSD_UCRED_UID(peercred)); + "Unable to unparse default Kerberos principal for UID %d", + (int)CUPSD_UCRED_UID(peercred)); + return; + } + + strlcpy(username, peername, sizeof(username)); + con->have_gss = 1; + con->type = CUPSD_AUTH_NEGOTIATE; + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdAuthorize: Authorized as %s using Negotiate", + username); + Unfortunately, svn diff seems to have been a bit confused here. The changes are more understandable when seen side by side. -- Christer Link: http://www.cups.org/str.php?L3670 Version: 1.4-current From elijah at chalmers.se Fri Sep 10 08:19:30 2010 From: elijah at chalmers.se (Johan Bengtsson) Date: Fri, 10 Sep 2010 08:19:30 -0700 Subject: [cups.bugs] [HIGH] STR #3668: cupstestppd fails to detect CloseGroup missing Message-ID: <8992-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] -bash-3.2$ grep OpenGroup aos-m-3002-color1.ppd *OpenGroup: InstallableOptions/Options Installed *OpenGroup: XRGraphicsGroup/1. Graphics -bash-3.2$ grep CloseGroup aos-m-3002-color1.ppd *CloseGroup: InstallableOptions -bash-3.2$ -bash-3.2$ cupstestppd aos-m-3002-color1.ppd aos-m-3002-color1.ppd: PASS WARN DefaultGuaranteedMaxSeparations has no corresponding options! -bash-3.2$ Link: http://www.cups.org/str.php?L3668 Version: 1.4.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: aos-m-3002-color1.ppd Type: application/octet-stream Size: 81880 bytes Desc: not available URL: From elijah at chalmers.se Fri Sep 10 08:19:38 2010 From: elijah at chalmers.se (Johan Bengtsson) Date: Fri, 10 Sep 2010 08:19:38 -0700 Subject: [cups.bugs] [HIGH] STR #3669: PPD fails cupstestppd test after being exported with cupsaddsmb Message-ID: <8993-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] -bash-3.2$ cupsaddsmb test-m-3002-color1 Password for elijah required to access localhost via SAMBA: -bash-3.2$ cupstestppd test-m-3002-color1.ppd test-m-3002-color1.ppd: PASS WARN DefaultGuaranteedMaxSeparations has no corresponding options! -bash-3.2$ cupstestppd /etc/samba/drivers/W32X86/test-m-3002-color1.ppd /etc/samba/drivers/W32X86/test-m-3002-color1.ppd: FAIL **FAIL** Unable to open PPD file - OpenGroup without a CloseGroup first on line 2379. REF: Pages 45-46, section 5.2. Link: http://www.cups.org/str.php?L3669 Version: 1.4.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: aos-m-3002-color1.ppd Type: application/octet-stream Size: 81880 bytes Desc: not available URL: From elijah at chalmers.se Fri Sep 10 08:19:41 2010 From: elijah at chalmers.se (Johan Bengtsson) Date: Fri, 10 Sep 2010 08:19:41 -0700 Subject: [cups.bugs] [HIGH] STR #3669: PPD fails cupstestppd test after being exported with cupsaddsmb Message-ID: <8994-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Related to #3668 Link: http://www.cups.org/str.php?L3669 Version: 1.4.4 From msweet at apple.com Fri Sep 10 08:21:43 2010 From: msweet at apple.com (Michael Sweet) Date: Fri, 10 Sep 2010 08:21:43 -0700 Subject: [cups.bugs] [MOD] STR #3669: PPD fails cupstestppd test after being exported with cupsaddsmb Message-ID: <8995-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] Duping against STR #3668; we can't "fix" a broken PPD, but we should be detecting the brokenness with the original PPD. Link: http://www.cups.org/str.php?L3669 Version: 1.4.4 From mail.me at reply.to.address Sun Sep 12 05:05:53 2010 From: mail.me at reply.to.address (Alex Taylor) Date: Sun, 12 Sep 2010 05:05:53 -0700 Subject: "Error: /undefined in --.endpage--" with foomatic-rip Message-ID: <5310-cups.development@news.easysw.com> Sorry for the rather lengthy post, but I could really use some help with this porting problem, and I figured too much information is better than too little... I'm helping with the OS/2 port of CUPS. At present, I'm trying to get working a number of Japanese-model (mostly Epson) laser printers which use foomatic-rip. First, a quick summary of how CUPS works under OS/2. Normal OS/2 applications can only print to an OS/2 print queue. Every OS/2 print queue has associated with it (A) a print driver (which generates the native-format print data), and (B) a "port driver" (like a backend) which is responsible for sending that data to the printer. With CUPS, for (A) we use an OS/2 PostScript print driver (our own build, but mostly based on IBM's code) so that the generated print job is a PS file. For (B) we use a special port driver that we've written which waits until the PostScript job file is fully generated, and then runs CUPS lpr on it (so it gets passed to cupsd, which takes it over from there). The port driver makes one minor modification to the PS file: it always adds the first line "%!PS-Adobe-3.0" to work around certain problems (such as the fact that the PostScript driver generates the header "%!PS-Adobe" instead, which I believe is technically incorrect according to the DSC). The problem I'm having is this: when printing to a printer which uses foomatic-rip to print via GhostScript, the job is always truncated just before the end (so the last few bytes are cut off). This is the error output that I get (in this particular instance, printing to an Epson LP-9400): Closing renderer Error: /undefined in --.endpage-- Operand stack: 0 true 1 (PAGE: ) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop 1723 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1729 0 3 %oparray_pop --nostringval-- 1809 1 3 %oparray_pop --nostringval-- 4 --nostringval-- Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- Current allocation mode is local Now, this ONLY happens when the PostScript job file was passed through our CUPS port driver; if I set the OS/2 print queue to output to file only, and then print that file manually (using CUP lpr), then it prints fine. Normally, I'd say this points to a bug in our port driver (or at least in the PS data that comes out of it)... and that may turn out to be the case. However, if I take the same output file, and print it from, say, an Ubuntu Linux box, it prints perfectly well. This archive contains two instances of the same printed document: http://users.socis.ca/~ataylo00/input_ps_files.zip (~380 kB) "blue_good.ps" was generated by printing directly to file; as noted above, it prints correctly. "blue_bad.ps" was generated by printing to the CUPS printer through our port driver, then saving the generated spooler file; this file exhibits the truncation error. (Feel free to try the recipe, BTW. It's really good. ) Now here's the weird thing. If I edit "blue_bad.ps" and DELETE the line "%!PS-Adobe-3.0" from the top (or change it to simply "%!PS-Adobe"), then all of a sudden the file will print correctly! I _think_ this is because not having the correct PS header will cause foomatic-rip to skip over the first section, which I guess must result in the error (whatever it is) being bypassed somehow. (This is presumably the same reason why "blue_good.ps" prints correctly -- because it lacks this header.) At the end of the day, I don't know whether it's the PostScript data that is invalid somehow, or if there's a bug in our port of foomatic (or of GhostScript), or if it's some odd combination of the two. Since I don't really know much about the PostScript language, I can't really say. (That's also one reason I'm posting here instead of on the foomatic list.) I turned on foomatic-rip debug logging and compared the output from these two files. http://users.socis.ca/~ataylo00/foomatic_output_files.zip (~385 kB) This archive contains the logfiles and the final foomatic-generated PS data files from both the "good" and "bad" jobs. I wonder if anyone could provide further insights on this problem? Thanks... -- Alex Taylor Fukushima, Japan http://www.socis.ca/~ataylo00 Please take off hat when replying. From h.blischke at acm.org Sun Sep 12 10:28:16 2010 From: h.blischke at acm.org (Helge Blischke) Date: Sun, 12 Sep 2010 10:28:16 -0700 Subject: "Error: /undefined in --.endpage--" with foomatic-rip References: <5310-cups.development@news.easysw.com> Message-ID: <5311-cups.development@news.easysw.com> Alex Taylor wrote: > Sorry for the rather lengthy post, but I could really use some help > with this porting problem, and I figured too much information is better > than too little... > > I'm helping with the OS/2 port of CUPS. At present, I'm trying to get > working a number of Japanese-model (mostly Epson) laser printers which > use foomatic-rip. > > First, a quick summary of how CUPS works under OS/2. Normal OS/2 > applications can only print to an OS/2 print queue. Every OS/2 print > queue has associated with it (A) a print driver (which generates the > native-format print data), and (B) a "port driver" (like a backend) > which is responsible for sending that data to the printer. With CUPS, > for (A) we use an OS/2 PostScript print driver (our own build, but > mostly based on IBM's code) so that the generated print job is a PS > file. For (B) we use a special port driver that we've written which > waits until the PostScript job file is fully generated, and then runs > CUPS lpr on it (so it gets passed to cupsd, which takes it over from > there). > > The port driver makes one minor modification to the PS file: it always > adds the first line "%!PS-Adobe-3.0" to work around certain problems > (such as the fact that the PostScript driver generates the header > "%!PS-Adobe" instead, which I believe is technically incorrect according > to the DSC). > > The problem I'm having is this: when printing to a printer which uses > foomatic-rip to print via GhostScript, the job is always truncated just > before the end (so the last few bytes are cut off). > > This is the error output that I get (in this particular instance, > printing to an Epson LP-9400): > > > Closing renderer > Error: /undefined in --.endpage-- > Operand stack: > 0 true 1 (PAGE: ) > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- false 1 %stopped_push 1846 1 3 %oparray_pop > 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop 1723 1 3 > %oparray_pop --nostringval-- %errorexec_pop .runexec2 > --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > --nostringval-- 1729 0 3 %oparray_pop --nostringval-- 1809 > 1 3 %oparray_pop --nostringval-- 4 --nostringval-- > Dictionary stack: > --dict:1154/1684(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- > Current allocation mode is local > > > Now, this ONLY happens when the PostScript job file was passed through > our CUPS port driver; if I set the OS/2 print queue to output to file > only, and then print that file manually (using CUP lpr), then it prints > fine. > > Normally, I'd say this points to a bug in our port driver (or at least > in the PS data that comes out of it)... and that may turn out to be the > case. However, if I take the same output file, and print it from, say, > an Ubuntu Linux box, it prints perfectly well. > > This archive contains two instances of the same printed document: > http://users.socis.ca/~ataylo00/input_ps_files.zip (~380 kB) > "blue_good.ps" was generated by printing directly to file; as noted > above, it prints correctly. "blue_bad.ps" was generated by printing to > the CUPS printer through our port driver, then saving the generated > spooler file; this file exhibits the truncation error. > > (Feel free to try the recipe, BTW. It's really good. ) > > Now here's the weird thing. If I edit "blue_bad.ps" and DELETE the > line "%!PS-Adobe-3.0" from the top (or change it to simply "%!PS-Adobe"), > then all of a sudden the file will print correctly! I _think_ this is > because not having the correct PS header will cause foomatic-rip to skip > over the first section, which I guess must result in the error (whatever > it is) being bypassed somehow. (This is presumably the same reason why > "blue_good.ps" prints correctly -- because it lacks this header.) > > At the end of the day, I don't know whether it's the PostScript data > that is invalid somehow, or if there's a bug in our port of foomatic > (or of GhostScript), or if it's some odd combination of the two. Since > I don't really know much about the PostScript language, I can't really > say. (That's also one reason I'm posting here instead of on the > foomatic list.) > > I turned on foomatic-rip debug logging and compared the output from > these two files. > http://users.socis.ca/~ataylo00/foomatic_output_files.zip (~385 kB) > This archive contains the logfiles and the final foomatic-generated PS > data files from both the "good" and "bad" jobs. > > I wonder if anyone could provide further insights on this problem? > > Thanks... > Well, the PS file generated by your OS/2 generator is by no means DSC compliant which is essential for foomatic-rip to function properly. For test, I have modified the bue_good.ps to be formally DSC compliant (though the statements semantically belonging to the prolog and setup section, respectively, are intermixed) and attached it to my reply. It should then go through foomatic-rip without producing errors. The reason why the unhacked (good) PS file prints correctly simply is that the CUPS pstops filter does not recognize it as DSC compliant and therefore treats the whole file as a single page. But then all features like number-up printing, reversed output etc. are disabled in fact. If you compare the attached test file against ypur "good.ps", ypou'll easily see how to settle your issue, even for jobs with more than one page. BTW. many thanks for the recipe!. Helge -------------- next part -------------- A non-text attachment was scrubbed... Name: blue_test.ps Type: application/postscript Size: 901932 bytes Desc: not available URL: From msweet at apple.com Sun Sep 12 23:44:51 2010 From: msweet at apple.com (Michael Sweet) Date: Sun, 12 Sep 2010 23:44:51 -0700 Subject: [cups.bugs] [LOW] STR #3672: /usr/lib/cups/filter/pstoraster failed Message-ID: <8996-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] We do not support or develop the software/driver you are using. Please contact the developer for assistance. You should contact the Ghostscript folks (ghostscript.com) for help... Link: http://www.cups.org/str.php?L3672 Version: 1.4.4 Fix Version: Third-party From Bill at WRLee.com Sun Sep 12 23:45:25 2010 From: Bill at WRLee.com (Bill Lee) Date: Sun, 12 Sep 2010 23:45:25 -0700 Subject: [cups.bugs] [HIGH] STR #3672: /usr/lib/cups/filter/pstoraster failed Message-ID: <8997-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] All attempts to print to a network attached printer fail with this message. Setting LogLevel to debug shows (/usr/lib/cups/filter/pstoraster) stopped with status 1! Only thing that smacks of a previous error is the message Fontmap entry for Fontmap.local ends prematurely! Giving up. Full error log can be provided if needed Link: http://www.cups.org/str.php?L3672 Version: 1.4.4 From kiran.sajeev at ust-global.com Mon Sep 13 07:24:21 2010 From: kiran.sajeev at ust-global.com (kiran sajeev) Date: Mon, 13 Sep 2010 07:24:21 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5312-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Currently CUPS has image filters to print most common raster image files like BMP, JPEG, GIF etc. We need feature to print scalable vector graphics image files (SVG) also. Link: http://www.cups.org/str.php?L3674 Version: -feature From mail.me at reply.to.address Mon Sep 13 19:55:06 2010 From: mail.me at reply.to.address (Alex Taylor) Date: Mon, 13 Sep 2010 19:55:06 -0700 Subject: "Error: /undefined in --.endpage--" with foomatic-rip References: <5310-cups.development@news.easysw.com> <5311-cups.development@news.easysw.com> Message-ID: <5313-cups.development@news.easysw.com> On Sun, 12 Sep 2010 17:28:16 UTC, Helge Blischke wrote: > > At the end of the day, I don't know whether it's the PostScript data > > that is invalid somehow, or if there's a bug in our port of foomatic > > (or of GhostScript), or if it's some odd combination of the two. > > Well, the PS file generated by your OS/2 generator is by no means DSC > compliant which is essential for foomatic-rip to function properly. > > For test, I have modified the bue_good.ps to be formally DSC compliant > (though the statements semantically belonging to the prolog and setup > section, respectively, are intermixed) and attached it to my reply. It > should then go through foomatic-rip without producing errors. Unfortunately, this fixed version (blue_test.ps) doesn't work either. In fact, it seems to fail much earlier on, as the printer simply spits out a blank page. The error in the log looks similar, however. Closing renderer Error: /undefined in --.endpage-- Operand stack: 0 true 1 (PAGE: ) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop 1723 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1729 0 3 %oparray_pop --nostringval-- 1809 1 3 %oparray_pop --nostringval-- 4 --nostringval-- Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- Complete logfile and generated foomatic-rip.ps are here: http://users.socis.ca/~ataylo00/foomatic_output_new.zip > The reason why the unhacked (good) PS file prints correctly simply is > that the CUPS pstops filter does not recognize it as DSC compliant and > therefore treats the whole file as a single page. But then all features > like number-up printing, reversed output etc. are disabled in fact. I suspected something of the sort, thanks for confirming it. > If you compare the attached test file against ypur "good.ps", ypou'll > easily see how to settle your issue, even for jobs with more than one > page. Indeed, thank you. However, applying the same changes to other .PS files yields much the same result as with blue_test.ps (namely, a blank page). -- Alex Taylor Fukushima, Japan http://www.socis.ca/~ataylo00 Please take off hat when replying. From jsmeix at suse.de Tue Sep 14 03:11:08 2010 From: jsmeix at suse.de (jsmeix.suse) Date: Tue, 14 Sep 2010 03:11:08 -0700 Subject: [cups.bugs] [LOW] STR #3672: /usr/lib/cups/filter/pstoraster failed Message-ID: <8998-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] FYI only a blind guess: Error messages like "/usr/lib/cups/filter/pstoraster failed" could be related to "CUPS default 'RIPCache 8m' causes various kind of printout failures". Have a look at http://en.opensuse.org/Portal:Printing and follow the links therein. Link: http://www.cups.org/str.php?L3672 Version: 1.4.4 Fix Version: Third-party From simon at conditional-fee.co.uk Tue Sep 14 07:21:13 2010 From: simon at conditional-fee.co.uk (Simon) Date: Tue, 14 Sep 2010 07:21:13 -0700 Subject: [cups.bugs] [CRIT] STR #3675: downoaded update to Fedora12 which caused Samsung SCX4216F to cease functioning Message-ID: <8999-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Spent about 9 hours trying procedures suggested from various similar problems but failed. CUPS reports:- Page 1 (Scheduler not running?): {'cups_connection_failure': False} Page 2 (Choose printer): {'cups_dest': , 'cups_instance': None, 'cups_queue': 'scx4x16', 'cups_queue_listed': True} Page 3 (Check printer sanity): {'cups_device_uri_scheme': u'usb', 'cups_printer_dict': {'device-uri': u'usb://Samsung/SCX-4x16%20Series', 'printer-info': u'scx4x16', 'printer-is-shared': True, 'printer-location': u'', 'printer-make-and-model': u'Samsung SCX-4x16 Series', 'printer-state': 3, 'printer-state-message': u'/usr/lib/cups/filter/rastertosamsungspl failed', 'printer-state-reasons': [u'none'], 'printer-type': 8523844, 'printer-uri-supported': u'ipp://localhost:631/printers/scx4x16'}, 'cups_printer_remote': False, 'is_cups_class': False, 'local_cups_queue_attributes': {'auth-info-required': u'none', 'charset-configured': u'utf-8', 'charset-supported': [u'us-ascii', u'utf-8'], 'color-supported': False, 'compression-supported': [u'none', u'gzip'], 'copies-default': 1, 'copies-supported': (1, 9999), 'cups-version': u'1.4.4', 'device-uri': u'usb://Samsung/SCX-4x16%20Series', 'document-format-default': u'application/octet-stream', 'document-format-supported': [u'application/octet-stream', u'application/pdf', u'application/postscript', u'application/vnd.cups-banner', u'application/vnd.cups-pdf', u'application/vnd.cups-postscript', u'application/vnd.cups-raw', u'application/vnd.hp-hpgl', u'application/x-cshell', u'application/x-csource', u'application/x-perl', u'application/x-shell', u'image/gif', u'image/jpeg', u'image/png', u'image/tiff', u'image/x-bitmap', u'image/x-photocd', u'image/x-portable-anymap', u'image/x-portable-bitmap', u'image/x-portable-graymap', u'image/x-portable-pixmap', u'image/x-sgi-rgb', u'image/x-sun-raster', u'image/x-xbitmap', u'image/x-xpixmap', u'text/css', u'text/html', u'text/plain'], 'finishings-default': 3, 'finishings-supported': [3], 'generated-natural-language-supported': [u'en-us'], 'ipp-versions-supported': [u'1.0', u'1.1', u'2.0', u'2.1'], 'ippget-event-life': 15, 'job-creation-attributes-supported': [u'copies', u'finishings', u'ipp-attribute-fidelity', u'job-hold-until', u'job-name', u'job-priority', u'job-sheets', u'media', u'media-col', u'multiple-document-handling', u'number-up', u'output-bin', u'orientation-requested', u'page-ranges', u'print-quality', u'printer-resolution', u'sides'], 'job-hold-until-default': u'no-hold', 'job-hold-until-supported': [u'no-hold', u'indefinite', u'day-time', u'evening', u'night', u'second-shift', u'third-shift', u'weekend'], 'job-k-limit': 0, 'job-page-limit': 0, 'job-priority-default': 50, 'job-priority-supported': [100], 'job-quota-period': 0, 'job-settable-attributes-supported': [u'copies', u'finishings', u'job-hold-until', u'job-name', u'job-priority', u'media', u'media-col', u'multiple-document-handling', u'number-up', u'output-bin', u'orientation-requested', u'page-ranges', u'print-quality', u'printer-resolution', u'sides'], 'job-sheets-default': (u'none', u'none'), 'job-sheets-supported': [u'none', u'classified', u'confidential', u'mls', u'secret', u'selinux', u'standard', u'te', u'topsecret', u'unclassified'], 'marker-change-time': 0, 'media-bottom-margin-supported': [440], 'media-col-supported': [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type'], 'media-default': u'iso_a4_210x297mm', 'media-left-margin-supported': [440], 'media-right-margin-supported': [440], 'media-source-supported': [u'auto', u'manual'], 'media-supported': [u'na_letter_8.5x11in', u'na_legal_8.5x14in', u'iso_a4_210x297mm', u'na_executive_7.25x10.5in', u'om_folio_210x330mm', u'om_jb5_182.03x257.17mm', u'jis_b5_182x257mm', u'iso_a5_148x210mm', u'om_com10_104.77x241.3mm', u'om_monarch_98.42x190.5mm', u'om_dl_110.06x220.13mm', u'om_c5_161.92x228.95mm', u'om_c6_113.94x161.92mm'], 'media-top-margin-supported': [440, 299], 'media-type-supported': [u'auto', u'normal', u'thin', u'thick', u'bond', u'ohp', u'cardstock', u'label', u'used', u'color', u'envelope'], 'multiple-document-handling-supported': [u'separate-documents-uncollated-copies', u'separate-documents-collated-copies'], 'multiple-document-jobs-supported': True, 'multiple-operation-time-out': 300, 'natural-language-configured': u'en-us', 'notify-attributes-supported': [u'printer-state-change-time', u'notify-lease-expiration-time', u'notify-subscriber-user-name'], 'notify-events-default': [u'job-completed'], 'notify-events-supported': [u'job-completed', u'job-config-changed', u'job-created', u'job-progress', u'job-state-changed', u'job-stopped', u'printer-added', u'printer-changed', u'printer-config-changed', u'printer-deleted', u'printer-finishings-changed', u'printer-media-changed', u'printer-modified', u'printer-restarted', u'printer-shutdown', u'printer-state-changed', u'printer-stopped', u'server-audit', u'server-restarted', u'server-started', u'server-stopped'], 'notify-lease-duration-default': 86400, 'notify-lease-duration-supported': (0, 2147483647), 'notify-max-events-supported': [100], 'notify-pull-method-supported': [u'ippget'], 'notify-schemes-supported': [u'dbus', u'mailto', u'rss'], 'number-up-default': 1, 'number-up-supported': [1, 2, 4, 6, 9, 16], 'operations-supported': [2, 4, 5, 6, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 34, 35, 37, 38, 16385, 16386, 16387, 16388, 16389, 16390, 16391, 16392, 16393, 16394, 16395, 16396, 16397, 16398, 16399, 16423], 'orientation-requested-default': None, 'orientation-requested-supported': [3, 4, 5, 6], 'output-bin-default': u'face-down', 'output-bin-supported': [u'face-down'], 'page-ranges-supported': True, 'pages-per-minute': 8, 'pdl-override-supported': [u'not-attempted'], 'port-monitor': u'none', 'port-monitor-supported': [u'none'], 'print-quality-default': 4, 'print-quality-supported': [4], 'printer-commands': [u'AutoConfigure', u'Clean', u'PrintSelfTestPage'], 'printer-current-time': '(IPP_TAG_DATE)', 'printer-error-policy': u'stop-printer', 'printer-error-policy-supported': [u'abort-job', u'retry-current-job', u'retry-job', u'stop-printer'], 'printer-info': u'scx4x16', 'printer-is-accepting-jobs': True, 'printer-is-shared': True, 'printer-location': u'', 'printer-make-and-model': u'Samsung SCX-4x16 Series', 'printer-more-info': u'http://localhost:631/printers/scx4x16', 'printer-name': u'scx4x16', 'printer-op-policy': u'default', 'printer-op-policy-supported': [u'authenticated', u'default'], 'printer-resolution-default': '(unknown IPP tag)', 'printer-resolution-supported': ['(unknown IPP tag)', '(unknown IPP tag)'], 'printer-settable-attributes-supported': [u'printer-info', u'printer-location'], 'printer-state': 3, 'printer-state-change-time': 1284311135, 'printer-state-message': u'/usr/lib/cups/filter/rastertosamsungspl failed', 'printer-state-reasons': [u'none'], 'printer-type': 8523844, 'printer-up-time': 1284311148, 'printer-uri-supported': [u'ipp://localhost:631/printers/scx4x16'], 'queued-job-count': 4, 'server-is-sharing-printers': True, 'sides-default': u'one-sided', 'sides-supported': [u'one-sided'], 'uri-authentication-supported': [u'requesting-user-name'], 'uri-security-supported': [u'none']}} Page 4 (Check PPD sanity): {'cups_printer_ppd_defaults': {u'Extra': {u'Darkness': u'Normal', u'Economode': u'PrinterDefault', u'InputSlot': u'Auto', u'MediaType': u'Auto'}, u'General': {u'PageSize': u'A4', u'Resolution': u'600dpi'}}, 'cups_printer_ppd_valid': True, 'missing_pkgs_and_exes': ([], [])} Page 5 (Local or remote?): {'printer_is_remote': False} Page 6 (Choose device): {'cups_device_dict': {'device-class': 'direct', 'device-id': 'MFG:Samsung;CMD:GDI;MDL:SCX-4x16 Series;CLS:PRINTER;MODE:PCL;STATUS:IDLE;', 'device-info': 'Samsung SCX-4x16 Series', 'device-make-and-model': 'Samsung SCX-4x16 Series'}} Page 7 (Printer state reasons): {'printer-state-message': u'/usr/lib/cups/filter/rastertosamsungspl failed', 'printer-state-reasons': [u'none']} Page 8 (Error log checkpoint): {'cups_server_settings': {'BrowseLocalProtocols': 'CUPS dnssd', 'BrowseRemoteProtocols': 'CUPS', 'DefaultAuthType': 'Basic', 'MaxLogSize': '0', 'SystemGroup': 'sys root', '_debug_logging': '0', '_remote_admin': '0', '_remote_any': '0', '_remote_printers': '1', '_share_printers': '1', '_user_cancel_any': '0'}, 'error_log_checkpoint': 436675L} Page 9 (Print test page): {'test_page_attempted': '12/Sep/2010:18:17:04 +0000', 'test_page_job_id': [714], 'test_page_job_status': [(True, 714, 'scx4x16', 'Test Page', 'Stopped', {'attributes-charset': u'utf-8', 'attributes-natural-language': u'en-us', 'document-count': 1, 'document-format': u'application/vnd.cups-banner', 'job-hold-until': u'no-hold', 'job-id': 714, 'job-k-octets': 1, 'job-media-progress': 0, 'job-media-sheets-completed': 0, 'job-more-info': u'ipp://localhost:631/jobs/714', 'job-name': u'Test Page', 'job-originating-host-name': u'localhost', 'job-originating-user-name': u'root', 'job-preserved': True, 'job-printer-state-message': u'/usr/lib/cups/filter/rastertosamsungspl failed', 'job-printer-state-reasons': [u'none'], 'job-printer-up-time': 1284311829, 'job-printer-uri': u'ipp://www.conditional-fee.co.uk:631/printers/scx4x16', 'job-priority': 50, 'job-sheets': [u'none', u'none'], 'job-state': 6, 'job-state-reasons': u'job-stopped', 'job-uri': u'ipp://localhost:631/jobs/714', 'job-uuid': u'urn:uuid:ce584bb7-a698-3a81-44cf-a09857ec8583', 'printer-uri': u'ipp://localhost/printers/scx4x16', 'time-at-completed': None, 'time-at-creation': 1284311824, 'time-at-processing': 1284311824})], 'test_page_successful': False} Page 10 (Error log fetch): {'error_log': ['E [12/Sep/2010:18:17:04 +0100] [Job 714] Job stopped due to filter errors; please consult the error_log file for details.', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] The following messages were recorded from 06:17:04 PM to 06:17:04 PM', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Adding start banner page "none".', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Adding end banner page "none".', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] File of type application/vnd.cups-banner queued by "root".', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] hold_until=0', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Queued on "scx4x16" by "root".', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] job-sheets=none,none', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[0]="scx4x16"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[1]="714"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[2]="root"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[3]="Test Page"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[4]="1"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[5]="job-uuid=urn:uuid:ce584bb7-a698-3a81-44cf-a09857ec8583 job-originating-host-name=localhost"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] argv[6]="/var/spool/cups/d00714-001"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[0]="CUPS_CACHEDIR=/var/cache/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[1]="CUPS_DATADIR=/usr/share/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[6]="CUPS_SERVERROOT=/etc/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[7]="CUPS_STATEDIR=/var/run/cups"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[8]="HOME=/var/spool/cups/tmp"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[10]="SERVER_ADMIN=root at www.conditional-fee.co.uk"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[11]="SOFTWARE=CUPS/1.4.4"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[12]="TMPDIR=/var/spool/cups/tmp"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[13]="USER=root"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[15]="CUPS_ENCRYPTION=IfRequested"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[16]="IPP_PORT=631"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[17]="CHARSET=utf-8"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[18]="LANG=en_US.UTF-8"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[19]="PPD=/etc/cups/ppd/scx4x16.ppd"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[20]="RIP_MAX_CACHE=8m"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[21]="CONTENT_TYPE=application/vnd.cups-banner"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[22]="DEVICE_URI=usb://Samsung/SCX-4x16%20Series"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[23]="PRINTER_INFO=scx4x16"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[24]="PRINTER_LOCATION="', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[25]="PRINTER=scx4x16"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[26]="CUPS_FILETYPE=document"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] envp[27]="FINAL_CONTENT_TYPE=printer/scx4x16"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Started filter /usr/lib/cups/filter/bannertops (PID 20204)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Started filter /usr/lib/cups/filter/pstops (PID 20205)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Started filter /usr/lib/cups/filter/rastertosamsungspl (PID 20206)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Started backend /usr/lib/cups/backend/usb (PID 20207)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] load_banner(filename="/var/spool/cups/d00714-001")', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] STATE: +connecting-to-device', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Page = 595x838; 12,12 to 582,830', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Printer using device file "/dev/usblp0"...', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] STATE: -connecting-to-device', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0xef65b0)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Page = 595x838; 12,12 to 582,830', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] slow_collate=0, slow_duplex=0, slow_order=0', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Before copy_comments - %!PS-Adobe-3.0', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %!PS-Adobe-3.0', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%BoundingBox: 12 12 582 830', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %cupsRotation: 0', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%Creator: bannertops/CUPS v1.4.4', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%CreationDate: Sun 12 Sep 2010 06:17:04 PM BST', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%LanguageLevel: 2', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%DocumentData: Clean7Bit', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%Title: (Test Page)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%For: (root)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%Pages: 1', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%DocumentSuppliedResources: font Monospace', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%+ font Monospace-Bold', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%+ font Monospace-BoldOblique', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%+ font Monospace-Oblique', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] %%EndComments', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Before copy_prolog - %%BeginProlog', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Read 285 bytes of print data...', "D [12/Sep/2010:18:17:04 +0100] [Job 714] ExecProgramV: 'gs' '-dNOPAUSE' '-dBATCH' '-dSAFER' '-q' '-sOutputFile=-' '-sDEVICE=pbmraw' '-r600' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=838' '-dFIXEDMEDIA' '-'", 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Child PID for gs is 20208', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] STATE: -media-empty-warning', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] STATE: -offline-report', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Printer is now online.', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] Wrote 285 bytes of print data...', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] End of messages', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] printer-state=3(idle)', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] printer-state-message="/usr/lib/cups/filter/rastertosamsungspl failed"', 'D [12/Sep/2010:18:17:04 +0100] [Job 714] printer-state-reasons=none']} Page 11 (Locale issues): {'printer_page_size': u'A4', 'system_locale_lang': 'en_US', 'user_locale_ctype': 'en_US', 'user_locale_messages': 'en_US'} Link: http://www.cups.org/str.php?L3675 Version: 1.4.2 From spamdummy at greimann.de Tue Sep 14 07:21:17 2010 From: spamdummy at greimann.de (Sönke Greimann) Date: Tue, 14 Sep 2010 07:21:17 -0700 Subject: [cups.bugs] [HIGH] STR #3676: Character swapping when printing to Brother MFC-7820 using ipp queue Message-ID: <9000-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] System language German, up-to-date Gentoo Linux with a 2.6.35-gentoo-r5 kernel Using CUPS 1.4.4 and a Brother MFC-7820N connected via LAN. Setup using BR7820_2_GPL.ppd driver provided by Brother. Connection Protocol is ipp://hostname/BINARY_P1 Action to perform bug: Printing a document (A4 standard letter template) from OpenOffice 3.2.1. Expected Behaviour: Document should print as displayed on screen. Actual Behaviour: All capital "D"s are being printed as capital "A"s. Document looks fine otherwise, but is undoubtably unuseable for production purposes. Reproducible: Always Workaround(s): a) export to .pdf before printing. b) use lpd protocol instead of ipp. c) configure printer using the "raw" printer driver instead of brother's ..ppd and lose all printer setup goodness. Currently using workaround b). Still guessing as to why this is happening using ipp though. Link: http://www.cups.org/str.php?L3676 Version: 1.4.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: BR7820_2_GPL.ppd Type: application/octet-stream Size: 21016 bytes Desc: not available URL: From yannis.haralambous at telecom-bretagne.eu Tue Sep 14 07:21:18 2010 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Tue, 14 Sep 2010 07:21:18 -0700 Subject: [cups.bugs] [HIGH] STR #3677: smbclient sending no frames outside local VLAN Message-ID: <9002-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'm trying to print on my company's printer accessible via samba. Whenever I try to access the print server via smbclient I get: pc-salsa-info-092:py yannis$ smbclient -L vss-cups-03.priv.enst-bretagne.fr -U yharalam Error connecting to 10.29.90.8 (Host is down) Connection to vss-cups-03.priv.enst-bretagne.fr failed (Error NT_STATUS_ACCESS_DENIED) Actually the print server is alive and perfectly accessible via ping. The print server IP is outside my VLAN (my IP is 10.66.145.92 and the mask 255.255.0.0). When I do an smbclient to a machine in my VLAN I get a quite different result: pc-salsa-info-092:py yannis$ smbclient -L 10.66.145.90 -U yharalam timeout connecting to 10.66.145.90:445 timeout connecting to 10.66.145.90:139 Error connecting to 10.66.145.90 (Operation already in progress) Connection to 10.66.145.90 failed (Error NT_STATUS_ACCESS_DENIED) Which means that the 10.66.145.90 is seen while the 10.29.90.8 print server is not. Surprisingly, when I do a tcpdump, I see outgoing frames in the first case (inside VLAN), but not in the second (outside VLAN). In other words: when attempting a smb connection outside my VLAN, MacOS X will not even send a single frame. My firewall is deactivated. What can be the cause of this refusal to do a smb connection? Is this a configuration problem? Strange as it may seem, I managed to print the first day, the problem only appeared the second day and I still cannot print at all. Link: http://www.cups.org/str.php?L3677 Version: 1.4.4 From spamdummy at greimann.de Tue Sep 14 07:21:18 2010 From: spamdummy at greimann.de (Sönke Greimann) Date: Tue, 14 Sep 2010 07:21:18 -0700 Subject: [cups.bugs] [HIGH] STR #3676: Character swapping when printing to Brother MFC-7820 using ipp queue Message-ID: <9001-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Feel free to lower severity rating of this bug. I feel that this behaviour resulting in unuseable printouts can be safely considered a "High" priority, but the readily available workarounds may lead to a different judgment on your part. Link: http://www.cups.org/str.php?L3676 Version: 1.4.4 From msweet at apple.com Tue Sep 14 07:22:33 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 14 Sep 2010 07:22:33 -0700 Subject: [cups.bugs] [LOW] STR #3675: downoaded update to Fedora12 which caused Samsung SCX4216F to cease functioning Message-ID: <9003-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] Please contact your Linux distributor for this issue. Link: http://www.cups.org/str.php?L3675 Version: 1.4.2 Fix Version: Third-party From msweet at apple.com Tue Sep 14 07:23:53 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 14 Sep 2010 07:23:53 -0700 Subject: [cups.bugs] [LOW] STR #3676: Character swapping when printing to Brother MFC-7820 using ipp queue Message-ID: <9004-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] We do not support or develop the software/driver you are using. Please contact the developer for assistance. In this case, you need to work with Oracle on resolving this issue in OpenOffice. Link: http://www.cups.org/str.php?L3676 Version: 1.4.4 Fix Version: Third-party From msweet at apple.com Tue Sep 14 07:24:52 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 14 Sep 2010 07:24:52 -0700 Subject: [cups.bugs] [LOW] STR #3677: smbclient sending no frames outside local VLAN Message-ID: <9005-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] We do not support or develop the software/driver you are using. Please contact the developer for assistance. In this case, you need to contact the Samba folks. Link: http://www.cups.org/str.php?L3677 Version: 1.4.4 Fix Version: Third-party From jp107 at cam.ac.uk Tue Sep 14 07:58:40 2010 From: jp107 at cam.ac.uk (Jon Peatfield) Date: Tue, 14 Sep 2010 07:58:40 -0700 Subject: [cups.bugs] [LOW] STR #3676: Character swapping when printing to Brother MFC-7820 using ipp queue Message-ID: <9006-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] Does configuring the cups queue to connect to the 9100 port on the printer show the same effect? ie using URIs like socket://hostname:9100 rather than ipp or lpd? Glancing at the PPD you mention there doesn't seem to be anything odd in it, so I might suspect that the ipp implementation in the printer is the cause... Personally we always talk to our (mostly HP) printers using socket://...:9100 since otherwise the standard cups filtering won't happen (well there are mechanisms but they seem to rely on magic in the PPDs). Link: http://www.cups.org/str.php?L3676 Version: 1.4.4 Fix Version: Third-party From spamdummy at greimann.de Tue Sep 14 08:26:28 2010 From: spamdummy at greimann.de (Sönke Greimann) Date: Tue, 14 Sep 2010 08:26:28 -0700 Subject: [cups.bugs] [LOW] STR #3676: Character swapping when printing to Brother MFC-7820 using ipp queue Message-ID: <9007-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] I think OpenOffice can be safely ruled out as the culprit. As mentioned, the problem is resolved by using the lpd:-protocol... I didn't try with the socket:-protocol yet but will do so. ipp: was chosen initially because documentation noted that this is the protocol natively supported by CUPS and use of lpd: was disencouraged where one of the other protocols was supported. http://www.cups.org/documentation.php/doc-1.4/network.html Brother notes support for ipp protocol for the MFC-7820N, so it is likely the .ppd. Link: http://www.cups.org/str.php?L3676 Version: 1.4.4 Fix Version: Third-party From sibxol at btconnect.com Tue Sep 14 16:07:49 2010 From: sibxol at btconnect.com (sibu xolo) Date: Tue, 14 Sep 2010 16:07:49 -0700 Subject: [cups.development] cupe-1.4.3,kde-4.4.5 Message-ID: <5314-cups.development@news.easysw.com> Greetings, I have a computer with these: -----cpu -amd64 2 cores -----o/s cblfs 64-bit linux kernel-2.6.35.4 -----printing cups-1.4.3 epson-BX300F (a usb printer) I used localhost:631 to configure cups. ########################## ----running lpinfo -v (no usb printers are listed) and USB-printing has kernel support. root [ ~ ]# /usr/sbin/lpinfo -v network ipp direct scsi network lpd network http network socket direct hal:///org/freedesktop/Hal/devices/usb_device_4b8_848_18-digit- serialNO_if1_printer_noserial network beh root [ ~ ]# ------ running lpstat -p -d: root [ ~ ]# /usr/bin/lpstat -p -d printer EPSON_Stylus_Office_BX300F is idle. enabled since Tue Sep 14 16:27:02 2010 system default destination: EPSON_Stylus_Office_BX300F root [ ~ ]# --------------------------PRINT TESTS---------------------------------- ###file to print (text file named testPRINT) in kwrite with a single line at line 3 "testPRINT". Result: nothing happened ########## logs files after 'nothing-happened' attempt in KDE ------------/var/log/cups/error_log D [14/Sep/2010:23:35:10 +0100] cupsdSetBusyState: Dirty files D [14/Sep/2010:23:35:10 +0100] cupsdReadClient: 16 POST / HTTP/1.1 D [14/Sep/2010:23:35:10 +0100] cupsdSetBusyState: Active clients and dirty files D [14/Sep/2010:23:35:10 +0100] cupsdAuthorize: No authentication data provided. D [14/Sep/2010:23:35:10 +0100] cupsdReadClient: 16 1.1 Get-Job-Attributes 1 D [14/Sep/2010:23:35:10 +0100] Get-Job-Attributes ipp://localhost/jobs/10 D [14/Sep/2010:23:35:10 +0100] Returning IPP successful-ok for Get-Job- Attributes (ipp://localhost/jobs/10) from localhost D [14/Sep/2010:23:35:10 +0100] cupsdSetBusyState: Dirty files D [14/Sep/2010:23:35:10 +0100] cupsdReadClient: 16 WAITING Closing on EOF D [14/Sep/2010:23:35:10 +0100] cupsdCloseClient: 16 I [14/Sep/2010:23:35:41 +0100] Saving job cache file "/var/cache/cups/job.cache"... I [14/Sep/2010:23:35:41 +0100] Saving subscriptions.conf... D [14/Sep/2010:23:35:41 +0100] cupsdSetBusyState: Not busy ---------/var/log/access_log localhost - - [14/Sep/2010:23:35:10 +0100] "POST /printers/EPSON_Stylus_Office_BX300F HTTP/1.1" 200 196 Create-Job successful- ok localhost - - [14/Sep/2010:23:35:10 +0100] "POST /printers/EPSON_Stylus_Office_BX300F HTTP/1.1" 200 15099 Send-Document client- error-document-format-not-supported localhost - - [14/Sep/2010:23:35:10 +0100] "POST /jobs/ HTTP/1.1" 200 189 Cancel-Job successful-ok ###file to print (text file named testPRINT) with a single line at line 3 "testPRINT" using cli. Result: printer responds and produces black blank page sx [ ~ ]# lp -d EPSON_Stylus_Office_BX300F testPRINT request id is EPSON_Stylus_Office_BX300F-11 (1 file(s)) sx [ ~ ]# ------------/var/log/cups/error_log D [14/Sep/2010:23:43:43 +0100] cupsdAcceptClient: 15 from localhost (Domain) D [14/Sep/2010:23:43:43 +0100] cupsdReadClient: 15 POST / HTTP/1.1 D [14/Sep/2010:23:43:43 +0100] cupsdSetBusyState: Active clients and dirty files D [14/Sep/2010:23:43:43 +0100] cupsdAuthorize: No authentication data provided. D [14/Sep/2010:23:43:43 +0100] cupsdReadClient: 15 1.1 Get-Notifications 1 D [14/Sep/2010:23:43:43 +0100] Get-Notifications / D [14/Sep/2010:23:43:43 +0100] cupsdIsAuthorized: requesting-user-name="sx" D [14/Sep/2010:23:43:43 +0100] Returning IPP successful-ok for Get- Notifications (/) from localhost D [14/Sep/2010:23:43:43 +0100] cupsdSetBusyState: Dirty files D [14/Sep/2010:23:43:43 +0100] cupsdReadClient: 15 WAITING Closing on EOF D [14/Sep/2010:23:43:43 +0100] cupsdCloseClient: 15 D [14/Sep/2010:23:43:44 +0100] [Job 11] Unloading... I [14/Sep/2010:23:44:14 +0100] Saving job cache file "/var/cache/cups/job.cache"... I [14/Sep/2010:23:44:14 +0100] Saving subscriptions.conf... D [14/Sep/2010:23:44:14 +0100] cupsdSetBusyState: Not busy -------------/var/log/cups/acces_log localhost - - [14/Sep/2010:23:42:20 +0100] "POST /printers/EPSON_Stylus_Office_BX300F HTTP/1.1" 200 394 Create-Job successful- ok localhost - - [14/Sep/2010:23:42:20 +0100] "POST /printers/EPSON_Stylus_Office_BX300F HTTP/1.1" 200 290 Send-Document successful-ok ########################## This printer performed 'outof'the-box' with cups-1.3.7/kde-4.2.2. Sonme advice on whether mmalfunctioning is due to kde or cups and possible remedies would be appreciated SibuXolo From piyush.kunal at wipro.com Wed Sep 15 07:47:08 2010 From: piyush.kunal at wipro.com (piyush kunal) Date: Wed, 15 Sep 2010 07:47:08 -0700 Subject: Email ID needed of the cups developers. Message-ID: <5315-cups.development@news.easysw.com> Hi, We at Wipro, have generated bug reports using our static analyzer on codebase APACHE. We'd like to share this report with the appropriate developers. We do not want to publish the reports publicly yet, since our static analyzer has not been released officialy till now. Could someone let me know the emails to send the report to? My email is piyush dot kunal at wipro dot com.(piyush.kunal at wipro.com) Thanks n Regards Piyush Kunal From piyush.kunal at wipro.com Wed Sep 15 07:49:40 2010 From: piyush.kunal at wipro.com (piyush kunal) Date: Wed, 15 Sep 2010 07:49:40 -0700 Subject: Email ID needed of the cups developers. Message-ID: <5316-cups.development@news.easysw.com> Hi, We at Wipro, have generated bug reports using our static analyzer on codebase CUPS. We'd like to share this report with the appropriate developers. We do not want to publish the reports publicly yet, since our static analyzer has not been released officialy till now. Could someone let me know the emails to send the report to? My email is piyush dot kunal at wipro dot com.(piyush.kunal at wipro.com) Thanks n Regards Piyush Kunal From bounties at haikuware.com Wed Sep 15 09:53:43 2010 From: bounties at haikuware.com (Karl vom Dorff) Date: Wed, 15 Sep 2010 09:53:43 -0700 Subject: Haiku CUPS bounty Message-ID: <5317-cups.development@news.easysw.com> I am running a fund raising campaign (a code bounty) to port CUPS to the Haiku OS (Haiku is an open-source implementation of the BeOS). Bounty: http://haikuware.com/bounties/cupsport Haiku Website: http://www.haiku-os.org/ BeOS info: http://en.wikipedia.org/wiki/BeOS There's over $1000 raised with a target of $2000. I realize this isn't very much, but the Haiku project is open source and it's hope the developer would see this as a great opportunity (perhaps for their resume?). Haiku gets consistent coverage on tech websites, and has made great progress in the past couple years. That said, the project has a very limited amount of core developers, which is why I'm posting here for help. If anybody is interested in this bounty, please advise. Best regards, From john at cs.york.ac.uk Wed Sep 15 10:39:25 2010 From: john at cs.york.ac.uk (John A. Murdie) Date: Wed, 15 Sep 2010 10:39:25 -0700 Subject: [cups.development] [RFE] STR #3678: Canceled jobs remain on web display until scheduler restart Message-ID: <5318-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I have job status lines which say 'canceled at date/time' which stay on display with CUPS 1.4.4 without any 'remove' button, apparently forever - until the scheduler is restarted. Please may we have a feature which will remove them after a (short) time, or at least a 'Remove' button. Link: http://www.cups.org/str.php?L3678 Version: -feature From cups.10.domino50 at spamgourmet.com Wed Sep 15 14:15:18 2010 From: cups.10.domino50 at spamgourmet.com (john doe) Date: Wed, 15 Sep 2010 14:15:18 -0700 Subject: "ghost" image on Pixma MP970 Message-ID: <9008-cups.bugs@news.easysw.com> Hello all, When printing, the color parts generate like a "ghost image", that is larger than the original and located on the right, but lighter and in grey. Other than this "ghost image", the print is fine. - Debian Squeeze, i386 - cups 1.4.4-3 - cups-bjnp-0.5.4 - Driver: Canon PIXMA MP970 - CUPS+Gutenprint v5.2.6 (color, 2-sided printing) - Connection: bjnp://canon-mp970:8611 - printing over the network Does anybody have an idea on how to correct this problem? (BTW, the scanner is just doing fine over the network). Thanks for your input - tom From msweet at apple.com Wed Sep 15 14:25:55 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 15 Sep 2010 14:25:55 -0700 Subject: [cups.bugs] "ghost" image on Pixma MP970 In-Reply-To: <9008-cups.bugs@news.easysw.com> References: <9008-cups.bugs@news.easysw.com> Message-ID: <9009-cups.bugs@news.easysw.com> Almost certainly a Gutenprint driver issue, so you might want to report it to them... On Sep 15, 2010, at 2:15 PM, john doe wrote: > Hello all, > When printing, the color parts generate like a "ghost image", that is larger than the original and located on the right, but lighter and in grey. Other than this "ghost image", the print is fine. > > - Debian Squeeze, i386 > - cups 1.4.4-3 > - cups-bjnp-0.5.4 > - Driver: Canon PIXMA MP970 - CUPS+Gutenprint v5.2.6 (color, 2-sided printing) > - Connection: bjnp://canon-mp970:8611 > - printing over the network > > Does anybody have an idea on how to correct this problem? (BTW, the scanner is just doing fine over the network). > > Thanks for your input - tom > _______________________________________________ > cups-bugs mailing list > cups-bugs at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-bugs ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From anurag.chourasia at gmail.com Wed Sep 15 14:58:34 2010 From: anurag.chourasia at gmail.com (Anurag) Date: Wed, 15 Sep 2010 14:58:34 -0700 Subject: Cannot Authenticate Login to CUPS for doing Admin Tasks Message-ID: <9010-cups.bugs@news.easysw.com> Dear CUPS Team, When doing any admin task on the printer through the CUPS Interface(http://localhost:631), we are prompted for the user ID and Password. But no matter what we enter(including root or any other user's credentials) the CUPS Interface is not accepting the User/Password. The User/Password keeps popping up as if the entered credentials were wrong (even when they were correct). End of this message has the config file for CUPS that we are using. +++++++++++++++++++++++++++++++++++++++++++++++++++++ Red Hat Enterprise Linux Server release 5.5 (Tikanga) Kernel 2.6.18-194.8.1.el5 on an x86_64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ yum info cups.x86_64 Loaded plugins: rhnplugin, security Installed Packages Name : cups Arch : x86_64 Epoch : 1 Version : 1.3.7 Release : 18.el5_5.7 +++++++++++++++++++++++++++++++++++++++++++++++++++++ MaxLogSize 2000000000 # Show troubleshooting information in error_log. LogLevel debug SystemGroup sys root # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny # (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.) BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL Encryption Required # Allow remote administration... Order allow,deny Allow @LOCAL AuthType Default Require user @SYSTEM @OWNER # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow +++++++++++++++++++++++++++++++++++++++++++++++++++++ Kindly help me out here. Regards, Anurag From anurag.chourasia at gmail.com Wed Sep 15 15:24:08 2010 From: anurag.chourasia at gmail.com (Anurag) Date: Wed, 15 Sep 2010 15:24:08 -0700 Subject: Zebra Printer - Raw Queue Issues Message-ID: <9011-cups.bugs@news.easysw.com> Dear CUPS Staff, When I print to a Zebra Printer with the following configuration, the label does not get printed. Only 1 or 2 out of every 50 label print request result in a label coming out of the printer. lpoptions -p loespejo_14 ======================== finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none printer-info='Lo Espejo 14 - Socket Protocol' printer-is-accepting-jobs=1 printer-is-shared=1 printer-location='Lo Espejo 14' printer-make-and-model='Local Raw Printer' printer-state=3 printer-state-change-time=1284416198 printer-state-reasons=none printer-type=4 The same label when printed using another printer (everything same but different printer-make-and-model) prints fine always but the label contains ZPL Code instead of the Barcode/Visual Elements etc. Zebra asked me to change the model to Raw Queue and that's where I hit the problem described above. lpoptions -pp_z_s ================== media=w288h360 finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none printer-info=p_z_s printer-is-accepting-jobs=1 printer-is-shared=1 printer-location printer-make-and-model='Zebra ZPL Label Printer, 1.3' printer-state=3 printer-state-change-time=1284579429 printer-state-reasons=none printer-type=36932 lpstat -v ========= device for loespejo_14: socket://10.15.98.14:9100 device for p_z_s: socket://10.15.98.14:9100 The communication parameters etc are same for both the printers. The only difference is in printer-make-and-model. One is "Zebra ZPL Label Printer, 1.3" and another is "Local Raw Printer". If i submit a label print command (lp -d) to the "Local Raw Printer" then.... 1. When a label is NOT printed, the netstat command shows one connection in TIME_WAIT to the printer PORT. 2. When a label is printed OK, the netstat command DOES NOT shows any extra connection in TIME_WAIT to the printer PORT. There seems to be something wrong with the "Local Raw Printer" driver or I am not sure what. If it could print every label requested then the issue is solved for me. Could you please help me through to a solution? Please let me know if I could help with more details. Regards, Anurag From as at seh.de Wed Sep 15 23:00:01 2010 From: as at seh.de (Andrea Sen) Date: Wed, 15 Sep 2010 23:00:01 -0700 Subject: [cups.bugs] Lots of backend processes after stopping cupsd? In-Reply-To: <4C8885C8.4050101@seh.de> References: <8983-cups.bugs@news.easysw.com> <744C9F4B-7498-4055-9A15-994DEF3601F5@apple.com> <4C8885C8.4050101@seh.de> Message-ID: <9012-cups.bugs@news.easysw.com> Hello, as far as I didn't get any response, I'd like to know, if this bug will be solved in the next release (or later)? Thanks a lot, Andrea Sen Andrea Sen wrote: > It happens with lpd, usb and socket backend, but I didn't try the other > ones. > > For me it seems as if the backend is shutdown correctly, but the same > job is restarted immediately, shutdown again and so on. > > > Michael Sweet wrote: > >> We should be sending SIGKILL to the backends on shutdown - which backends are sticking around? >> >> On Sep 8, 2010, at 7:46 AM, Andrea Sen wrote: >> >> >> >>> Hello, >>> >>> if I restart my server, while there is still running a backend process (if a job could not be printed for some reasons), it seems as if this process is started over and over again. >>> This happens also, if I just stop cupsd, then there are 1000 or more processes belonging to cups. Mainly backend processes, but also some cupsd processes. Most of them are marked as defunct. >>> >>> Is this the correct behavior? Shutting down the server takes some time, I think because all the processes have to be stopped? >>> >>> I use Ubuntu 9.04, but compiled cups-1.4.4 on my own. Printing and everything else works well... >>> >>> Thanks a lot, >>> Andrea Sen >>> _______________________________________________ >>> cups-bugs mailing list >>> cups-bugs at easysw.com >>> http://lists.easysw.com/mailman/listinfo/cups-bugs >>> >>> >> ________________________________________________________________________ >> Michael Sweet, Senior Printing System Engineer, PWG Chair >> >> >> >> >> _______________________________________________ >> cups-bugs mailing list >> cups-bugs at easysw.com >> http://lists.easysw.com/mailman/listinfo/cups-bugs >> >> > > _______________________________________________ > cups-bugs mailing list > cups-bugs at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-bugs > From msweet at apple.com Wed Sep 15 23:25:19 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 15 Sep 2010 23:25:19 -0700 Subject: [cups.bugs] Lots of backend processes after stopping cupsd? In-Reply-To: <4C91B258.1040206@seh.de> References: <8983-cups.bugs@news.easysw.com> <744C9F4B-7498-4055-9A15-994DEF3601F5@apple.com> <4C8885C8.4050101@seh.de> <4C91B258.1040206@seh.de> Message-ID: <9013-cups.bugs@news.easysw.com> At this point I have been unable to reproduce the problem with standard CUPS. Feel free to file a bug on cups.org for this (and please include as much detail, log files, configuration info, etc. as you can), but don't expect a fast fix. http://www.cups.org/str.php On Sep 15, 2010, at 10:59 PM, Andrea Sen wrote: > Hello, > > as far as I didn't get any response, I'd like to know, if this bug will > be solved in the next release (or later)? > > Thanks a lot, > Andrea Sen > > Andrea Sen wrote: >> It happens with lpd, usb and socket backend, but I didn't try the other >> ones. >> >> For me it seems as if the backend is shutdown correctly, but the same >> job is restarted immediately, shutdown again and so on. >> >> >> Michael Sweet wrote: >> >>> We should be sending SIGKILL to the backends on shutdown - which backends are sticking around? >>> >>> On Sep 8, 2010, at 7:46 AM, Andrea Sen wrote: >>> >>> >>> >>>> Hello, >>>> >>>> if I restart my server, while there is still running a backend process (if a job could not be printed for some reasons), it seems as if this process is started over and over again. >>>> This happens also, if I just stop cupsd, then there are 1000 or more processes belonging to cups. Mainly backend processes, but also some cupsd processes. Most of them are marked as defunct. >>>> >>>> Is this the correct behavior? Shutting down the server takes some time, I think because all the processes have to be stopped? >>>> >>>> I use Ubuntu 9.04, but compiled cups-1.4.4 on my own. Printing and everything else works well... >>>> >>>> Thanks a lot, >>>> Andrea Sen >>>> _______________________________________________ >>>> cups-bugs mailing list >>>> cups-bugs at easysw.com >>>> http://lists.easysw.com/mailman/listinfo/cups-bugs >>>> >>>> >>> ________________________________________________________________________ >>> Michael Sweet, Senior Printing System Engineer, PWG Chair >>> >>> >>> >>> >>> _______________________________________________ >>> cups-bugs mailing list >>> cups-bugs at easysw.com >>> http://lists.easysw.com/mailman/listinfo/cups-bugs >>> >>> >> >> _______________________________________________ >> cups-bugs mailing list >> cups-bugs at easysw.com >> http://lists.easysw.com/mailman/listinfo/cups-bugs >> > > _______________________________________________ > cups-bugs mailing list > cups-bugs at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-bugs ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From as at seh.de Thu Sep 16 00:40:51 2010 From: as at seh.de (Andrea Sen) Date: Thu, 16 Sep 2010 00:40:51 -0700 Subject: [cups.bugs] [MOD] STR #3679: Cups shutdown is not working cleanly Message-ID: <9014-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Cups is compiled with ./configure, make, make install on a standard ubuntu 9.04 installation. Add a printer, e.g. a socket printer, disconnect the printer and print a testpage. If now cups is killed or restarted, some thousend backend and some cups processes appear in top, all are zombie processes. This happens also with cups 1.4.3, but I had no problems with 1.4b1. Link: http://www.cups.org/str.php?L3679 Version: 1.4.4 From jpopelka at redhat.com Thu Sep 16 07:52:17 2010 From: jpopelka at redhat.com (Jiri Popelka) Date: Thu, 16 Sep 2010 07:52:17 -0700 Subject: [cups.bugs] [MOD] STR #3679: Cups shutdown is not working cleanly Message-ID: <9015-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] More info with proposed patch is here: https://bugzilla.redhat.com/show_bug.cgi?id=624441 Link: http://www.cups.org/str.php?L3679 Version: 1.4.4 From msweet at apple.com Thu Sep 16 14:50:28 2010 From: msweet at apple.com (Michael Sweet) Date: Thu, 16 Sep 2010 14:50:28 -0700 Subject: [cups.development] GSSServiceName In-Reply-To: <5288-cups.development@news.easysw.com> References: <5288-cups.development@news.easysw.com> Message-ID: <5319-cups.development@news.easysw.com> On Aug 27, 2010, at 7:06 AM, Christer Bern??rus wrote: > Hi. > > The GSSServiceName configuration seems to have vanished from cupsd.conf in 1.4. > What is the current default or how do I set this? CUPS no longer has a fixed service name, so there is no default or way to set it. ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From as at seh.de Fri Sep 17 00:06:49 2010 From: as at seh.de (Andrea Sen) Date: Fri, 17 Sep 2010 00:06:49 -0700 Subject: [cups.bugs] [MOD] STR #3679: Cups shutdown is not working cleanly Message-ID: <9016-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Thanks a lot, this patch fixes the bug for me. Link: http://www.cups.org/str.php?L3679 Version: 1.4.4 From msweet at apple.com Sat Sep 18 08:10:16 2010 From: msweet at apple.com (Michael Sweet) Date: Sat, 18 Sep 2010 08:10:16 -0700 Subject: [cups.bugs] Zebra Printer - Raw Queue Issues In-Reply-To: <9011-cups.bugs@news.easysw.com> References: <9011-cups.bugs@news.easysw.com> Message-ID: <9017-cups.bugs@news.easysw.com> On Sep 15, 2010, at 3:24 PM, Anurag wrote: > ... > lpstat -v > ========= > device for loespejo_14: socket://10.15.98.14:9100 > device for p_z_s: socket://10.15.98.14:9100 > > > The communication parameters etc are same for both the printers. The only difference is in printer-make-and-model. One is "Zebra ZPL Label Printer, 1.3" and another is "Local Raw Printer". > > If i submit a label print command (lp -d) to the "Local Raw Printer" then.... > > 1. When a label is NOT printed, the netstat command shows one connection in TIME_WAIT to the printer PORT. > > 2. When a label is printed OK, the netstat command DOES NOT shows any extra connection in TIME_WAIT to the printer PORT. > > There seems to be something wrong with the "Local Raw Printer" driver or I am not sure what. If it could print every label requested then the issue is solved for me. Could you please help me through to a solution? > > Please let me know if I could help with more details. What OS/Linux distribution? What version of CUPS? Does the error_log file show anything for the failed jobs? ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From andrey.mahalkin at gmail.com Mon Sep 20 00:33:33 2010 From: andrey.mahalkin at gmail.com (Andrey Mahalkin) Date: Mon, 20 Sep 2010 00:33:33 -0700 Subject: [cups.bugs] [MOD] STR #3680: Scheduler crashes when installing printer with malformed PPD file Message-ID: <9018-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Adding a printer with a mailformed PPD file (an example is attached) may crash the cupsd. Moreover, cupsd fails to restart after the crash (crashes again). Probably, cupsd should check PPD files on printer add. Example of malformed incorrect PPD file is attached. Link: http://www.cups.org/str.php?L3680 Version: 1.4.3 -------------- next part -------------- A non-text attachment was scrubbed... Name: postscript.ppd Type: application/octet-stream Size: 28378 bytes Desc: not available URL: From HelgeBlischke at web.de Mon Sep 20 01:44:57 2010 From: HelgeBlischke at web.de (H. Blischke) Date: Mon, 20 Sep 2010 01:44:57 -0700 Subject: [cups.bugs] [MOD] STR #3680: Scheduler crashes when installing printer with malformed PPD file Message-ID: <9019-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] At the end of the *cupsFilter keyword the colon is missing. Link: http://www.cups.org/str.php?L3680 Version: 1.4.3 From andrey.mahalkin at gmail.com Mon Sep 20 02:36:19 2010 From: andrey.mahalkin at gmail.com (Andrey Mahalkin) Date: Mon, 20 Sep 2010 02:36:19 -0700 Subject: [cups.bugs] [MOD] STR #3680: Scheduler crashes when installing printer with malformed PPD file Message-ID: <9020-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Yes, I know, that PPD file is incorrect. But, probably, cupsd should report an error instead of crash? Link: http://www.cups.org/str.php?L3680 Version: 1.4.3 From anurag.chourasia at gmail.com Mon Sep 20 06:42:49 2010 From: anurag.chourasia at gmail.com (Anurag) Date: Mon, 20 Sep 2010 06:42:49 -0700 Subject: Zebra Printer - Raw Queue Issues Message-ID: <9021-cups.bugs@news.easysw.com> > On Sep 15, 2010, at 3:24 PM, Anurag wrote: > > ... > > lpstat -v > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > device for loespejo_14: socket://10.15.98.14:9100 > > device for p_z_s: socket://10.15.98.14:9100 > >=20 > >=20 > > The communication parameters etc are same for both the printers. The = > only difference is in printer-make-and-model. One is "Zebra ZPL Label = > Printer, 1.3" and another is "Local Raw Printer". > >=20 > > If i submit a label print command (lp -d) to the "Local Raw Printer" = > then.... > >=20 > > 1. When a label is NOT printed, the netstat command shows one = > connection in TIME_WAIT to the printer PORT. > >=20 > > 2. When a label is printed OK, the netstat command DOES NOT shows any = > extra connection in TIME_WAIT to the printer PORT. > >=20 > > There seems to be something wrong with the "Local Raw Printer" driver = > or I am not sure what. If it could print every label requested then the = > issue is solved for me. Could you please help me through to a solution? > >=20 > > Please let me know if I could help with more details. > > What OS/Linux distribution? > > What version of CUPS? > > Does the error_log file show anything for the failed jobs? > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > Dear Michael, Here are the details solicited (Linux Version and CUPS Version). +++++++++++++++++++++++++++++++++++++++++++++++++++++ Red Hat Enterprise Linux Server release 5.5 (Tikanga) Kernel 2.6.18-194.8.1.el5 on an x86_64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ yum info cups.x86_64 Loaded plugins: rhnplugin, security Installed Packages Name : cups Arch : x86_64 Epoch : 1 Version : 1.3.7 Release : 18.el5_5.7 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Please note that the error_log file shows no error at all for the labels which were not printed (even though the job went into succcessful state.) The error_log for both conditions (when the label is printed and when the label is not printed) is exactly the same. Please let me know if you want to have a look at the log file and I can paste the contents here or upload it to some please or send it by email. Please guide. Regards, Anurag From HelgeBlischke at web.de Mon Sep 20 10:17:08 2010 From: HelgeBlischke at web.de (H. Blischke) Date: Mon, 20 Sep 2010 10:17:08 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5320-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I just compiled the ghostpdl (version 9.00, but the 8.7x versions should work as well) and tested the gsvg utility by converting tiger.svg to PostScript. The result looks good, though the output is as of ghostscripts pswrite device which is poor with respect to fonts; but the pdfwrite device would be a suitable alternative. It would be not too hard a task to build a wrapper around this utility (maybe a Perl script for simplicity) to act as a svg image filter. Any comments? Link: http://www.cups.org/str.php?L3674 Version: -feature From msweet at apple.com Tue Sep 21 15:08:17 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 21 Sep 2010 15:08:17 -0700 Subject: [cups.bugs] [MOD] STR #3680: Scheduler crashes when installing printer with malformed PPD file Message-ID: <9022-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L3680 Version: 1.4.3 Fix Version: 1.5-current (r9308) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str3680.patch URL: From msweet at apple.com Tue Sep 21 15:10:06 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 21 Sep 2010 15:10:06 -0700 Subject: [cups.bugs] [LOW] STR #3671: Improve mapping of non-standard PWG and PPD media names. Message-ID: <9023-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L3671 Version: 1.4-current Fix Version: 1.5-current (r9304) From msweet at apple.com Tue Sep 21 15:32:43 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 21 Sep 2010 15:32:43 -0700 Subject: [cups.bugs] [MOD] STR #3679: Cups shutdown is not working cleanly Message-ID: <9024-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. The proposed change in bugzilla is no good - we don't want to stop the printer since that change *can* get unintentionally saved in printers.conf. An alternate patch is attached which tracks whether we are shutting down and doesn't start new jobs automatically if so. Link: http://www.cups.org/str.php?L3679 Version: 1.4.4 Fix Version: 1.5-current (r9309) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str3679.patch URL: From pokozon at gmail.com Wed Sep 22 10:25:20 2010 From: pokozon at gmail.com (Toma) Date: Wed, 22 Sep 2010 10:25:20 -0700 Subject: Samsung Color printers bug Message-ID: <9025-cups.bugs@news.easysw.com> Samsung CLP-315 Samsung CLX-3175 Print too dark with cups driver. original: http://www.flickr.com/photos/48535633 at N04/4445720899/ cups print: http://www.flickr.com/photos/48535633 at N04/4445719947/ With the Samsung manufacturing original driver NOT this problem! Thnx From h.blischke at acm.org Wed Sep 22 13:27:03 2010 From: h.blischke at acm.org (Helge Blischke) Date: Wed, 22 Sep 2010 13:27:03 -0700 Subject: Samsung Color printers bug References: <9025-cups.bugs@news.easysw.com> Message-ID: <9026-cups.bugs@news.easysw.com> Toma wrote: > Samsung CLP-315 > Samsung CLX-3175 > > Print too dark with cups driver. > > original: > http://www.flickr.com/photos/48535633 at N04/4445720899/ > > cups print: > http://www.flickr.com/photos/48535633 at N04/4445719947/ > > With the Samsung manufacturing original driver NOT this problem! > > Thnx What driver/filter do you use for these printers? I guess you need the propoer color profiles. Helge From pokozon at gmail.com Thu Sep 23 07:17:43 2010 From: pokozon at gmail.com (Toma) Date: Thu, 23 Sep 2010 07:17:43 -0700 Subject: Samsung Color printers bug Message-ID: <9027-cups.bugs@news.easysw.com> > Toma wrote: > > > Samsung CLP-315 > > Samsung CLX-3175 > > > > Print too dark with cups driver. > > > > original: > > http://www.flickr.com/photos/48535633 at N04/4445720899/ > > > > cups print: > > http://www.flickr.com/photos/48535633 at N04/4445719947/ > > > > With the Samsung manufacturing original driver NOT this problem! > > > > Thnx > > What driver/filter do you use for these printers? > I guess you need the propoer color profiles. > > Helge > Some photos: http://picasaweb.google.com/104058507750606480115/CupsVsSamsung# Ubuntu 10.04 LTS, but 9.10 too. The color testpage is bad, dark colors. If change color profile, dark too. Thank you. (Sorry, my english is poor.) From anurag.chourasia at gmail.com Thu Sep 23 13:07:45 2010 From: anurag.chourasia at gmail.com (Anurag) Date: Thu, 23 Sep 2010 13:07:45 -0700 Subject: Zebra Printer - Raw Queue Issues Message-ID: <9028-cups.bugs@news.easysw.com> Dear Michael, Here are the details solicited again (Linux Version and CUPS Version). +++++++++++++++++++++++++++++++++++++++++++++++++++++ Red Hat Enterprise Linux Server release 5.5 (Tikanga) Kernel 2.6.18-194.8.1.el5 on an x86_64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ yum info cups.x86_64 Loaded plugins: rhnplugin, security Installed Packages Name : cups Arch : x86_64 Epoch : 1 Version : 1.3.7 Release : 18.el5_5.7 +++++++++++++++++++++++++++++++++++++++++++++++++++++ I have collected the CUPS DEBUG Logs. The logs in the link http://paste.org/pastebin/view/22751 are for the job that was submitted but nothing came out of the printer. The logs in the link http://paste.org/pastebin/view/22752 are for the job that was submitted and the label came out of the printer. Please note that there is a slight difference in the logs close to line 293 in the first log(unsuccessful) and 296 in the second log(unsuccessful) Regards, Anurag > On Sep 15, 2010, at 3:24 PM, Anurag wrote: > > ... > > lpstat -v > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > device for loespejo_14: socket://10.15.98.14:9100 > > device for p_z_s: socket://10.15.98.14:9100 > >=20 > >=20 > > The communication parameters etc are same for both the printers. The = > only difference is in printer-make-and-model. One is "Zebra ZPL Label = > Printer, 1.3" and another is "Local Raw Printer". > >=20 > > If i submit a label print command (lp -d) to the "Local Raw Printer" = > then.... > >=20 > > 1. When a label is NOT printed, the netstat command shows one = > connection in TIME_WAIT to the printer PORT. > >=20 > > 2. When a label is printed OK, the netstat command DOES NOT shows any = > extra connection in TIME_WAIT to the printer PORT. > >=20 > > There seems to be something wrong with the "Local Raw Printer" driver = > or I am not sure what. If it could print every label requested then the = > issue is solved for me. Could you please help me through to a solution? > >=20 > > Please let me know if I could help with more details. > > What OS/Linux distribution? > > What version of CUPS? > > Does the error_log file show anything for the failed jobs? > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From kiran.sajeev at ust-global.com Fri Sep 24 02:52:21 2010 From: kiran.sajeev at ust-global.com (kiran sajeev) Date: Fri, 24 Sep 2010 02:52:21 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5321-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Looks to me like there may be performance concerns with the approach mentioned. The idea is to have an SVG image filter as we have for the BMP, JPEG and other raster image types. This should me automatically mapped when we invoke the lp or lpr commands or the CUPS API to print file.We should be able to integrate it directly possibly without script wrappers. Link: http://www.cups.org/str.php?L3674 Version: -feature From jsmeix at suse.de Fri Sep 24 02:58:58 2010 From: jsmeix at suse.de (jsmeix.suse) Date: Fri, 24 Sep 2010 02:58:58 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5322-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Could you explain what a noticable performance impact could be when a wrapper script calls the actual converter program? Link: http://www.cups.org/str.php?L3674 Version: -feature From kiran.sajeev at ust-global.com Fri Sep 24 03:05:31 2010 From: kiran.sajeev at ust-global.com (kiran sajeev) Date: Fri, 24 Sep 2010 03:05:31 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5323-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] For example if we have a hundred files queued up for printing, each time the script wrapper invoking the converter program is not advicable. Correct me if i am wrong :) Link: http://www.cups.org/str.php?L3674 Version: -feature From HelgeBlischke at web.de Fri Sep 24 04:46:05 2010 From: HelgeBlischke at web.de (H. Blischke) Date: Fri, 24 Sep 2010 04:46:05 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5324-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] >From my experience (I built CUPS filters entirely as Perl scripts since more than 7 years already) the "scripting penalty" is neglectable (even on boxes that are relatively slow - about 500 Mhz - from today's point of view. On the other hand, the benefits of scripting are ease of installation (you do not need the CUPS source tree for compiling a single filter) and maintenance and system independence. Link: http://www.cups.org/str.php?L3674 Version: -feature From jsmeix at suse.de Fri Sep 24 06:21:55 2010 From: jsmeix at suse.de (jsmeix.suse) Date: Fri, 24 Sep 2010 06:21:55 -0700 Subject: [cups.development] [RFE] STR #3674: CUPS should be able to print scalable vector graphics image (SVG) files Message-ID: <5325-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] For each file which is to be printed, all needed filters are run as separated processes (usually each as user "lp") where the data is moved from filter to filter via pipes. Link: http://www.cups.org/str.php?L3674 Version: -feature From anurag.chourasia at gmail.com Fri Sep 24 09:28:31 2010 From: anurag.chourasia at gmail.com (Anurag Chourasia) Date: Fri, 24 Sep 2010 09:28:31 -0700 Subject: [cups.bugs] [Solved] Re: Cannot Authenticate Login to CUPS for doingAdmin Tasks Message-ID: <9029-cups.bugs@news.easysw.com> Hi Michael, I was all set to capture the logs and It's strange that the problem is resolved without me doing anything. I don't know what to say. I am embarrased :-) I have been having this problem for last 2 weeks. I have restarted CUPS multiple times but no result. Today i can authenticate using the root user or any normal user. If i see this problem again on this or any other machine then I will let you know with the CUPS Logs Capture. Thanks a lot for your help on this. Regards, Anurag -------------- next part -------------- An HTML attachment was scrubbed... URL: From amal.naggar at erfanhospital.com Sun Sep 26 01:57:51 2010 From: amal.naggar at erfanhospital.com (Amal) Date: Sun, 26 Sep 2010 01:57:51 -0700 Subject: Printing Arabic in Linux Message-ID: <5326-cups.development@news.easysw.com> I am using Oracle Enterprise Linux and I need to know how to print Arabic characters on an HP Laser printer. Any information is appreciated. From mail.me at reply.to.address Mon Sep 27 03:11:30 2010 From: mail.me at reply.to.address (Alex Taylor) Date: Mon, 27 Sep 2010 03:11:30 -0700 Subject: "Error: /undefined in --.endpage--" with foomatic-rip References: <5310-cups.development@news.easysw.com> <5311-cups.development@news.easysw.com> <5313-cups.development@news.easysw.com> Message-ID: <5327-cups.development@news.easysw.com> On Tue, 14 Sep 2010 02:55:06 UTC, "Alex Taylor" wrote: > > > At the end of the day, I don't know whether it's the PostScript data > > > that is invalid somehow, or if there's a bug in our port of foomatic > > > (or of GhostScript), or if it's some odd combination of the two. I've decided it's best to put the above question aside for now, and simply strip the issue down to the actual point of failure. To whit, GhostScript is choking on the final PostScript file: http://users.socis.ca/~ataylo00/output_ps_bad.zip (~115 kB) ....even though it works quite well on the original file (before pstops and foomatic take their turns at it): http://users.socis.ca/~ataylo00/input_ps_ok.zip (~111 kB) In any case, I think I'd better resume this topic on cups.general, as tracing GS execution problems seems to me to be more of a usage issue... Thanks. -- Alex Taylor Fukushima, Japan http://www.socis.ca/~ataylo00 Please take off hat when replying. From bill.kirkpatrick at earthlink.net Mon Sep 27 07:02:52 2010 From: bill.kirkpatrick at earthlink.net (Bill Kirkpatrick) Date: Mon, 27 Sep 2010 07:02:52 -0700 Subject: [cups.development] [RFE] STR #3681: CPUS provided, all driver, Toner/Ink "draft mode" Message-ID: <5328-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Various printers/drivers provide various levels of "draft" mode, intended to save Ink/Toner. Some work, some not so much, and some don't even bother with such an option. I discovered something called "Ecofont", a scaleable font with largish holes cut out of it amounting to about 20% of the coverage area. I noticed that on all of my printers (2 laser, 1 ink) the holes weren't even visible until scaled quite large. The concept is to add a print option at the CUPS level, w/o knowledge of the drivers, such that the CUPS raster API will automatically cut a simple 1 pixel checkerboard pattern of white out of the raster planes delivered to rastertoXXX drivers. That's a draft mode for everybody, with a 50% consumable savings. Link: http://www.cups.org/str.php?L3681 Version: -feature From bill.kirkpatrick at earthlink.net Mon Sep 27 07:02:53 2010 From: bill.kirkpatrick at earthlink.net (Bill Kirkpatrick) Date: Mon, 27 Sep 2010 07:02:53 -0700 Subject: [cups.development] [RFE] STR #3681: CPUS provided, all driver, Toner/Ink "draft mode" Message-ID: <5329-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "Test"... Link: http://www.cups.org/str.php?L3681 Version: -feature -------------- next part -------------- A non-text attachment was scrubbed... Name: Test Type: application/octet-stream Size: 926 bytes Desc: not available URL: From jldunn2000 at googlemail.com Tue Sep 28 04:26:10 2010 From: jldunn2000 at googlemail.com (John Dunn) Date: Tue, 28 Sep 2010 04:26:10 -0700 Subject: Getting printer/job status and print completion Message-ID: <5330-cups.development@news.easysw.com> Does CUPs support any method of getting the status of the printer or a job. Does it support getting a list of jobs which have been completed? Basically I want to be able to 1. Submit a job to a printer via CUPS 2. Check the status of the printer(Is it idle, printing or in error) 3. Get a list of jobs for the printer and their status(queued,printing, number of pages printed) 4. Get a list of jobs that have recently completed printing Is this possible with CUPS? From jldunn2000 at googlemail.com Tue Sep 28 05:00:25 2010 From: jldunn2000 at googlemail.com (John Dunn) Date: Tue, 28 Sep 2010 05:00:25 -0700 Subject: Java CUPS API Message-ID: <5331-cups.development@news.easysw.com> Are their any plans to provide the APIs in Java? Alternatively do you know of any Java CUPS APIs? From msweet at apple.com Tue Sep 28 08:30:07 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 28 Sep 2010 08:30:07 -0700 Subject: [cups.development] Getting printer/job status and print completion In-Reply-To: <5330-cups.development@news.easysw.com> References: <5330-cups.development@news.easysw.com> Message-ID: <5332-cups.development@news.easysw.com> On Sep 28, 2010, at 4:26 AM, John Dunn wrote: > Does CUPs support any method of getting the status of the printer or a job. Does it support getting a list of jobs which have been completed? > > Basically I want to be able to > > 1. Submit a job to a printer via CUPS > 2. Check the status of the printer(Is it idle, printing or in error) > 3. Get a list of jobs for the printer and their status(queued,printing, number of pages printed) > 4. Get a list of jobs that have recently completed printing > > Is this possible with CUPS? Some of this is possible using the Berkeley and System V commands, however much of the functionality of CUPS (and IPP) is not exposed at the command-line. You can write small C/C++ programs to do what you want using the CUPS API; there are Python (available from Red Hat) and PHP (included with CUPS) mappings of this API as well. Finally, CUPS 1.5 (currently in development) includes a greatly enhanced version of ipptool that allows you to send arbitrary IPP requests and get the responses in different formats - I've been posting snapshots of this program on the download page: http://www.cups.org/software.php ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From msweet at apple.com Tue Sep 28 08:31:42 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 28 Sep 2010 08:31:42 -0700 Subject: [cups.development] Java CUPS API In-Reply-To: <5331-cups.development@news.easysw.com> References: <5331-cups.development@news.easysw.com> Message-ID: <5333-cups.development@news.easysw.com> On Sep 28, 2010, at 5:00 AM, John Dunn wrote: > Are their any plans to provide the APIs in Java? > > Alternatively do you know of any Java CUPS APIs? We used to provide a Java API, however it was barely maintained and needed a lot of work for the current version of Java and was dropped in CUPS 1.4. At present we have no plans to bring it back... ________________________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair From msweet at apple.com Tue Sep 28 09:54:32 2010 From: msweet at apple.com (Michael Sweet) Date: Tue, 28 Sep 2010 09:54:32 -0700 Subject: [cups.bugs] [MOD] STR #3682: SIGHUP causes segmentation fault in cups_array_find Message-ID: <9030-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L3682 Version: 1.4.3 Fix Version: 1.4.4 From jldunn2000 at googlemail.com Wed Sep 29 03:18:38 2010 From: jldunn2000 at googlemail.com (John Dunn) Date: Wed, 29 Sep 2010 03:18:38 -0700 Subject: Getting printer/job status and printcompletion Message-ID: <5334-cups.development@news.easysw.com> Do you have a URL where I can find the Python mappings of the CUPS API ? That would be great > On Sep 28, 2010, at 4:26 AM, John Dunn wrote: > > Does CUPs support any method of getting the status of the printer or a = > job. Does it support getting a list of jobs which have been completed? > >=20 > > Basically I want to be able to > >=20 > > 1. Submit a job to a printer via CUPS > > 2. Check the status of the printer(Is it idle, printing or in error) > > 3. Get a list of jobs for the printer and their = > status(queued,printing, number of pages printed) > > 4. Get a list of jobs that have recently completed printing > >=20 > > Is this possible with CUPS? > > > Some of this is possible using the Berkeley and System V commands, = > however much of the functionality of CUPS (and IPP) is not exposed at = > the command-line. > > You can write small C/C++ programs to do what you want using the CUPS = > API; there are Python (available from Red Hat) and PHP (included with = > CUPS) mappings of this API as well. > > Finally, CUPS 1.5 (currently in development) includes a greatly enhanced = > version of ipptool that allows you to send arbitrary IPP requests and = > get the responses in different formats - I've been posting snapshots of = > this program on the download page: > > http://www.cups.org/software.php > > ________________________________________________________________________ > Michael Sweet, Senior Printing System Engineer, PWG Chair > > > > From twaugh at redhat.com Wed Sep 29 03:24:55 2010 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 29 Sep 2010 03:24:55 -0700 Subject: [cups.development] Getting printer/job status and printcompletion In-Reply-To: <5334-cups.development@news.easysw.com> References: <5334-cups.development@news.easysw.com> Message-ID: <5335-cups.development@news.easysw.com> On Wed, 2010-09-29 at 03:18 -0700, John Dunn wrote: > Do you have a URL where I can find the Python mappings of the CUPS API ? > That would be great http://cyberelk.net/tim/software/pycups/ Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: From msweet at apple.com Wed Sep 29 08:21:49 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 29 Sep 2010 08:21:49 -0700 Subject: [cups.bugs] [LOW] STR #3683: lpq -h argument must be before -P to list a remote queue Message-ID: <9031-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] This is as designed - the order of arguments is important. Also, any --help support is non-standard since we currently do not provide help for the commands. Link: http://www.cups.org/str.php?L3683 Version: 1.4.4 Fix Version: Will Not Fix From glogow at fbihome.de Wed Sep 29 08:28:34 2010 From: glogow at fbihome.de (Jan-Marek Glogowski) Date: Wed, 29 Sep 2010 08:28:34 -0700 Subject: [cups.bugs] [HIGH] STR #3682: SIGHUP causes segmentation fault in cups_array_find Message-ID: <9032-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'm using Ubuntu Hardy with an Ubuntu Lucid Backport of cups 1.4.3. The is also the Launchpad Bug #636488 (https://bugs.launchpad.net/ubuntu/+source/cups/+bug/636488). The crash always happens, when using the attached classes.conf. I've attached a full backtrace, the cupsd.conf, printers.conf and classes.conf. Link: http://www.cups.org/str.php?L3682 Version: 1.4.3 -------------- next part -------------- A non-text attachment was scrubbed... Name: backtrace.log Type: application/octet-stream Size: 5250 bytes Desc: not available URL: From glogow at fbihome.de Wed Sep 29 08:28:38 2010 From: glogow at fbihome.de (Jan-Marek Glogowski) Date: Wed, 29 Sep 2010 08:28:38 -0700 Subject: [cups.bugs] [HIGH] STR #3682: SIGHUP causes segmentation fault in cups_array_find Message-ID: <9033-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "classes.conf"... Link: http://www.cups.org/str.php?L3682 Version: 1.4.3 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: classes.conf URL: From glogow at fbihome.de Wed Sep 29 08:28:39 2010 From: glogow at fbihome.de (Jan-Marek Glogowski) Date: Wed, 29 Sep 2010 08:28:39 -0700 Subject: [cups.bugs] [HIGH] STR #3682: SIGHUP causes segmentation fault in cups_array_find Message-ID: <9034-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "cupsd.conf"... Link: http://www.cups.org/str.php?L3682 Version: 1.4.3 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cupsd.conf URL: From glogow at fbihome.de Wed Sep 29 08:28:41 2010 From: glogow at fbihome.de (Jan-Marek Glogowski) Date: Wed, 29 Sep 2010 08:28:41 -0700 Subject: [cups.bugs] [HIGH] STR #3682: SIGHUP causes segmentation fault in cups_array_find Message-ID: <9035-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "printers.conf"... Link: http://www.cups.org/str.php?L3682 Version: 1.4.3 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: printers.conf URL: From cups at colin.guthr.ie Wed Sep 29 08:28:41 2010 From: cups at colin.guthr.ie (Colin Guthrie) Date: Wed, 29 Sep 2010 08:28:41 -0700 Subject: [cups.bugs] [LOW] STR #3683: lpq -h argument must be before -P to list a remote queue Message-ID: <9036-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi, If I use "lpq -P PrinterName -h hostname" the -P bit is apparently resolved with the default host, not the one specified by the -h argument. The following output shows this (192.168.1.5 is a remote machine, not the localhost which is also running a cups server): [colin at summit ~]$ lpq -h 192.168.1.5 -P Xerox_Phaser_6125 Xerox_Phaser_6125 is ready no entries [colin at summit ~]$ lpq -P Xerox_Phaser_6125 -h 192.168.1.5 lpq: Unknown destination "Xerox_Phaser_6125"! As you can see in the first example I specify -h first and the printer shows up fine, but if I specify -h second it fails. As the --help output show -P first and -h second this was the order I picked initially and scratched my head for some time about the problem. It could be this is intended behaviour, but if so, the arguments order in the --help outpu and/or man page should highlight this better. (FWIW, I found this when trying to make BrowseRelay work... it was working a while back, but after changing a router it is somehow magically broken :( - I can list the printers in the lpq output as shown but a simple browserelay line to the same IP will not make the printer available to the private subnet - it's a different problem tho' so I wont harp on about it!) For references the remote machine is OSX (because that printer model does not have Linux drivers - even tho' it should just be a recompile :() and the localhost is Linux, both running 1.4.4. Link: http://www.cups.org/str.php?L3683 Version: 1.4.4 From cups at colin.guthr.ie Wed Sep 29 08:57:34 2010 From: cups at colin.guthr.ie (Colin Guthrie) Date: Wed, 29 Sep 2010 08:57:34 -0700 Subject: [cups.bugs] [LOW] STR #3683: lpq -h argument must be before -P to list a remote queue Message-ID: <9037-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] Thanks for the prompt response Mike. Fair enough. It would be nice if the output: [root at summit cups]# lpq --help Usage: lpq [-P dest] [-U username] [-h hostname[:port]] [-l] [+interval] Actually read: [root at summit cups]# lpq --help Usage: lpq [-h hostname[:port]] [-P dest] [-U username] [-l] [+interval] instead. If you like I could prepare a patch, but if it's too trivial to change then I understand. (that said, the order of the -U argument is maybe important too?) Link: http://www.cups.org/str.php?L3683 Version: 1.4.4 Fix Version: Will Not Fix From msweet at apple.com Wed Sep 29 09:05:06 2010 From: msweet at apple.com (Michael Sweet) Date: Wed, 29 Sep 2010 09:05:06 -0700 Subject: [cups.bugs] [LOW] STR #3683: lpq -h argument must be before -P to list a remote queue Message-ID: <9038-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] I'd be happy to update the help text, except that we don't have any - you'll need to file a bug with your Linux distro to get that fixed. The man page already shows the arguments in the correct order (and yes, the order of -U can be important if the queue is authenticated...) Link: http://www.cups.org/str.php?L3683 Version: 1.4.4 Fix Version: Will Not Fix From jsmeix at suse.de Wed Sep 29 09:13:39 2010 From: jsmeix at suse.de (jsmeix.suse) Date: Wed, 29 Sep 2010 09:13:39 -0700 Subject: [cups.bugs] [LOW] STR #3683: lpq -h argument must be before -P to list a remote queue Message-ID: <9039-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/o Resolution] My CUPS 1.4.4 sources contain e.g. in berkeley/lpq.c (lines wrapped here): ------------------------------------------------ static void usage(void) { _cupsLangPuts(stderr, _("Usage: lpq [-P dest] [-U username] [-h hostname[:port]] " "[-l] [+interval]\n")); exit(1); } ------------------------------------------------ Link: http://www.cups.org/str.php?L3683 Version: 1.4.4 Fix Version: Will Not Fix