From michael.lackner at unileoben.ac.at Tue Apr 1 00:01:34 2008 From: michael.lackner at unileoben.ac.at (Michael Lackner) Date: Tue, 01 Apr 2008 00:01:34 -0700 Subject: Authenticated Printing (Linux on Linux) usingCUPS and IPP Message-ID: <32271-cups.general@news.easysw.com> > Sorry this is slightly off topic. PrintAgent offers CUP's print-job > authentication so I believe this is relevant to your question. > > PrintAgent is a component of PrintingWorks : http://www.lucidsystems.org/printingworks > > There is a demonstration available online. The demonstration is shown > on Mac OS X. However, PrintAgent is capable of providing print > authentication on most modern operating systems including RedHat as it > is written in ruby. > > PrintAgent is a free download and is licensed under the GNU GPL so you > can tailor the system to meet your requirements. > > Hope this helps. Thanks for your reply. I guess PrintAgent is a CUPS Backend Wrapper just like Papercut and PyKota? Question is, how usernames and passwords are being passed to PrintAgent. I guess, i will meet heavy resistance in our department, if I try to force Linux users to install a client application for this.. But thanks for showing me PrintAgent, I'll try that, hope it doesn't conflict with Papercut. > > > On top of that, why am I not being asked with some sort of GUI > > popup? > > > If i hadn't started Adobe Reader from the bash, i would have never > > > seen the CLI dialog prompting me for a password to authenticate > > > against the server... > > > > For what it's worth, I am working on a solution for this as part of > > the > > system-config-printer administration and job monitoring tool in Red > > Hat > > Enterprise Linux and Fedora. That would also be very convenient, if one could just enter UN/PWD in the system-config-printer GUI (maybe for IPP and SMB?). Thanks so far. From twaugh at redhat.com Tue Apr 1 01:37:52 2008 From: twaugh at redhat.com (Tim Waugh) Date: Tue, 01 Apr 2008 01:37:52 -0700 Subject: [cups.general] Authenticated Printing (Linux on Linux) usingCUPS and IPP In-Reply-To: <32271-cups.general@news.easysw.com> References: <32271-cups.general@news.easysw.com> Message-ID: <32272-cups.general@news.easysw.com> On Tue, 2008-04-01 at 00:01 -0700, Michael Lackner wrote: > That would also be very convenient, if one could just enter UN/PWD in > the system-config-printer GUI (maybe for IPP and SMB?). In fact it will be part of the job monitoring application -- the one that shows a printer icon in the notification area when a print job is in the queue. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From monnier at iro.umontreal.ca Tue Apr 1 02:16:58 2008 From: monnier at iro.umontreal.ca (Stefan Monnier) Date: Tue, 01 Apr 2008 02:16:58 -0700 Subject: [cups.general] Authenticated Printing (Linux on Linux) using CUPS and IPP References: <32265-cups.general@news.easysw.com> Message-ID: <32273-cups.general@news.easysw.com> > ipp://:@printerhost:631/ [...] > > AuthType Basic > Order Deny,Allow > Deny From All > Allow From All > Sorry, can't help you, but I just want to point out that this is exactly what I want to do as well. I already posted a question about it on this list, tho not nearly as clear as yours (because I had no idea how to even start using Basic auth), and didn't get any useful answer. Hopefully your better formulated question will bring some concrete answer. Stefan From alet at librelogiciel.com Tue Apr 1 02:38:21 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 02:38:21 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32206-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> Message-ID: <32274-cups.general@news.easysw.com> On Thu, Mar 20, 2008 at 07:16:47AM -0700, cedric chambault wrote: > I have a cups server and try to install client (ubuntu feisty). > I have 1500 students using ldap authentication. > lp command has a "-U" option to specify USERNAME. > but if a student, username "student1" type "lp -U student2 file" > it prints "file" using the "student2" account. > I also use pykota for printing quotas and the command use the student2 quota. > I don't know how to block "-U" option to prevent users to steal quota from others ! Still no (real) answer to this ? Is this because the solution is in CUPS' documentation ? Or is this because CUPS lacks the functionnality to ensure users really are who they claim they are ? Cedric if you can't do this with CUPS (I really don't know), since you are using PyKota you can use its PyKotIcon add-on to do what you want. The sample pykota.conf configuration file contains several examples. You can also use PrintAgent it seems, which offer similar functionnalities, although less generic if I understand correctly. bye Jerome Alet From jsmeix at suse.de Tue Apr 1 03:49:16 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 01 Apr 2008 03:49:16 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <20080401072817.GA20201@mail.librelogiciel.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> Message-ID: <32275-cups.general@news.easysw.com> Hello, On Apr 1 09:28 Jerome Alet wrote (shortened): > On Thu, Mar 20, 2008 at 07:16:47AM -0700, cedric chambault wrote: > ... > > lp command has a "-U" option to specify USERNAME. > > but if a student, username "student1" type "lp -U student2 file" > > it prints "file" using the "student2" account. .... > ... is this because CUPS lacks the functionnality to ensure users > really are who they claim they are ? According to how I understand it, how should a service running on a server machine know who the user is "behind" a client program on a remote client system without special authentication? See "man cancel" ----------------------------------------------------------------- Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in cupsd.conf(5). ----------------------------------------------------------------- Since CUPS 1.2 see also http://www.cups.org/documentation.php/policies.html Since CUPS 1.3 Kerberos might be useful to avoid an explicite authentication dialog for each job submission (or whatever else IPP operation an authentication requires), see http://www.cups.org/documentation.php/kerberos.html By the way: Think about a user who makes his own IPP client program which can send whatever he likes to the CUPS server. Think about a user who is root on his own laptop so that he can run arbitrary programs to receive and send arbitrary stuff via network. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From david.collins at goodrich.com Tue Apr 1 08:24:20 2008 From: david.collins at goodrich.com (David Collins) Date: Tue, 01 Apr 2008 08:24:20 -0700 Subject: For Michael Sweet Message-ID: <32276-cups.general@news.easysw.com> Mike, I really would like to have a conversation about the easysw products that we had purchased and suggestions on going forward. We have quite a large number of printers in our environment. Thanks, David From mike at easysw.com Tue Apr 1 09:36:15 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 09:36:15 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32274-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <32274-cups.general@news.easysw.com> Message-ID: <32277-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Or is this because CUPS lacks the functionnality to ensure users > really are who they claim they are ? You need to enable authentication. Note that doing so will likely break applications that print using the lp/lpr commands... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From alet at librelogiciel.com Tue Apr 1 10:54:45 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 10:54:45 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> Message-ID: <32278-cups.general@news.easysw.com> On Tue, Apr 01, 2008 at 12:49:01PM +0200, Johannes Meixner wrote: > > According to how I understand it, how should a service running > on a server machine know who the user is "behind" a client program > on a remote client system without special authentication? > ... > > Think about a user who makes his own IPP client program > which can send whatever he likes to the CUPS server. > > Think about a user who is root on his own laptop so that > he can run arbitrary programs to receive and send > arbitrary stuff via network. Is there is a way for the CUPS server to require the password for the username specified with -U (and not for the user who launched the lp command) ? This seems to be a very common problem. So either people don't read the CUPS' documentation (me included), can't find it while reading it, or it is not possible. If user 'john' launches 'lp' without using -U, then there should be a way for CUPS to ask john's password. If now 'john' launches 'lp -U Mary ...' then CUPS should ask for Mary's password (or wait for it as part of the job submission process). Is this possible with some setting in cupsd.conf ? If yes how ? Of course this should work with any IPP client : if the transmitted password is incorrect on the CUPS server side, or possibly not send at all, the job should be rejected. Even without asking for a password, is there a setting in cupsd.conf to allow the checking for the existence of that particular user, preferably through PAM and/or configurable external command (think special LDAP queries combined with time slots and the like) ? It seems several people are having this very same problem. Personally I'm playing with settings in my cupsd.conf, and the logs don't make any sense to me (date removed for readability) : --- CUT --- D [] cupsdReadClient: 23 POST /printers/PDFGen HTTP/1.1 D [] cupsdAuthorize: No authentication data provided. D [] Print-Job ipp://localhost/printers/PDFGen D [] print_job: auto-typing file... D [] cupsdIsAuthorized: username="" E [] Print-Job: Unauthorized D [] cupsdSendError: 23 code=401 (Unauthorized) D [] cupsdCloseClient: 23 D [] cupsdAcceptClient: 23 from localhost:631 (IPv4) D [] cupsdReadClient: 23 POST /printers/PDFGen HTTP/1.1 D [] cupsdAuthorize: Authorized as root using Local D [] Print-Job ipp://localhost/printers/PDFGen D [] print_job: auto-typing file... D [] cupsdIsAuthorized: username="root" I [] [Job 124] Adding start banner page "none,none". --- CUT --- Jow was printed on local CUPS server by user 'jerome' with : lp -U nonuser -dPDFGen myfile.ps No password was asked, 'nonuser' doesn't exist locally, and job was printed. Was is this 'cupsdAuthorize' and in which way was this print job related to user 'root' ??? Why did CUPS send and error 401 but lp didn't ask anything ? my cupsd.conf contained --- CUT --- LogLevel debug SystemGroup lpadmin # Allow remote access Port 631 # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic Allow localhost # Allow shared printing... Order allow,deny Allow @LOCAL Allow localhost # Restrict access to the admin pages... Order allow,deny Allow localhost AuthType Default Require user @SYSTEM Allow localhost # Restrict access to the configuration files... Order allow,deny Allow localhost 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 Require valid-user AuthType Default Order deny,allow Order deny,allow Allow @LOCAL --- CUT --- Any hint about what I'm doing incorrectly ? I thought changing the '' in the default policy would be sufficient... Thanks in advance for any help. Jerome Alet From msweet at apple.com Tue Apr 1 13:03:23 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 01 Apr 2008 13:03:23 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <20080401115850.GC14818@mail.librelogiciel.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> Message-ID: <32279-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Is there is a way for the CUPS server to require the password for the > username specified with -U (and not for the user who launched the lp > command) ? Not generally, although the peer credential stuff will work this way for domain socket connections on 1.3 and higher. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From henri at stmargarets.school.nz Tue Apr 1 13:40:00 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:40:00 -0700 Subject: [cups.general] Authenticated Printing In-Reply-To: References: Message-ID: <32280-cups.general@news.easysw.com> Sorry, I do not have any experience integrating PrintAgent with PaperCut. I do not see why it would not work. However, as I said I have no experience doing this so I am quite ignorant in this regard. If PaperCut dose not have a system for dealing with laptop user authentication then you could have a word to the developers and ask them to address this issue for you. PrintAgent is a component of PrintingWorks. Pykota is the back-end print accounting system for PrintingWorks. As such I can authoritatively state that PrintAgent works with Pykota. Finally open source software is quite flexible, in part because you have access to the source code. > Thanks for your reply. I guess PrintAgent is a CUPS Backend Wrapper > just like Papercut and PyKota? Question is, how usernames and > passwords are being passed to PrintAgent. I guess, i will meet heavy > resistance in our department, if I try to force Linux users to > install a client application for this.. > > But thanks for showing me PrintAgent, I'll try that, hope it doesn't > conflict with Papercut. From henri at stmargarets.school.nz Tue Apr 1 13:46:02 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:46:02 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: References: Message-ID: <32281-cups.general@news.easysw.com> I have used PyKotIcon and can attest that it works as advertised. Both PrintAgent and PyKotIcon are certainly possible solution to this problem. Note : I only have experience using the solutions mentioned above with PyKota as the back-end accounting system. > Cedric if you can't do this with CUPS (I really don't know), since > you are using PyKota you can use its PyKotIcon add-on to do what you > want. The sample pykota.conf configuration file contains several > examples. You can also use PrintAgent it seems, which offer similar > functionnalities, although less generic if I understand correctly. From henri at stmargarets.school.nz Tue Apr 1 13:48:12 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:48:12 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: References: Message-ID: <32282-cups.general@news.easysw.com> I agree, this is certainly a possibility. Does anyone have this working with CUP's? > Since CUPS 1.3 Kerberos might be useful to avoid an explicite > authentication dialog for each job submission (or whatever > else IPP operation an authentication requires), see > http://www.cups.org/documentation.php/kerberos.html From henri at stmargarets.school.nz Tue Apr 1 14:12:14 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 14:12:14 -0700 Subject: [cups.general] Printer added with lpadmin doesn't show? In-Reply-To: References: Message-ID: <32284-cups.general@news.easysw.com> If you are dealing with 40+ printers you may find PrinterSetup to be of assistance with the management of the related cups queues. Once you work out the command to add one of these queues, it should be just a couple of quick modifications to PrinterSetup so you can easily deploy all these queues. You may also find the printer creation scripts within the Utilities directory of PrinterSetup a good place to start looking for examples. If I run your command I do create a CUP's print queue. Sorry, I am not sure why this is not working for you. Finally, I am not sure what the ?ibm=yes part of your command is doing. Perhaps someone on the list with more experience would be able to explain what this is doing. Hope this helps. > I added the printer like this: > /usr/sbin/lpadmin -p ibm -E -v lpd://oprintsvr/hp?ibm=yes > > The printer shows up in /etc/cups/printers.conf, and "lpstat -a" > shows the printer correctly. > > "lpq -l" however, doesn't show the printer at all > The distro dependent printer configuration programs (RedHat) > system-config-printer-tui: doesn't show the printer at all > system-config-printer-gui: shows the printer under browsed queues, > and doesn't allow for any editing. > > Any clue as to how I can add the printer via command line so that it > shows up normally? From mike at easysw.com Tue Apr 1 15:23:48 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 15:23:48 -0700 Subject: Common UNIX Printing System 1.3.7 Message-ID: <144-cups.announce@news.easysw.com> CUPS 1.3.7 is now available for download from the CUPS web site: http://www.cups.org/software.php The new release includes three security fixes and several printing and authentication fixes. We encourage all CUPS users to update to the current release. Changes include: * CVE-2008-0047: cgiCompileSearch buffer overflow (STR #2729) * CVE-2008-1373: CUPS GIF image filter overflow (STR #2765) * Updated the "make check" tests to do a more thorough automated test. * cups-driverd complained about missing directories (STR #2777) * cupsaddsmb would leave the Samba username and password on disk if no Windows drivers were installed (STR #2779) * The Linux USB backend used 100% CPU when a printer was disconnected (STR #2769) * The sample raster drivers did not properly handle SIGTERM (STR #2770) * The scheduler sent notify_post() messages too often on Mac OS X. * Kerberos access to the web interface did not work (STR #2748) * The scheduler did not support "AuthType Default" in IPP policies (STR #2749) * The scheduler did not support the "HideImplicitMembers" directive as documented (STR #2760) * "make check" didn't return a non-zero exit code on error (STR #2758) * The scheduler incorrectly logged AUTH_foo environment variables in debug mode (STR #2751) * The image filters inverted PBM files (STR #2746) * cupsctl would crash if the scheduler was not running (STR #2741) * The scheduler could crash when printing using a port monitor (STR #2742) * The scheduler would crash if PAM was broken (STR #2734) * The image filters did not work with some CMYK JPEG files produced by Adobe applications (STR #2727) * The Mac OS X USB backend did not work with printers that did not report a make or model. * The job-sheets option was not encoded properly (STR #2715) * The scheduler incorrectly complained about missing LSB PPD directories. From alet at librelogiciel.com Tue Apr 1 19:08:14 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 19:08:14 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <47F29501.50206@apple.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> Message-ID: <32285-cups.general@news.easysw.com> On Tue, Apr 01, 2008 at 01:03:13PM -0700, Michael R Sweet wrote: > Jerome Alet wrote: > > ... > > Is there is a way for the CUPS server to require the password for the > > username specified with -U (and not for the user who launched the lp > > command) ? > > Not generally, although the peer credential stuff will work this > way for domain socket connections on 1.3 and higher. OK, so if I understand correctly, third party tools like PrintAgent or PyKotIcon really are necessary to support the general case : ensure the username and password are checked locally on the CUPS server which manages physical printers, while being directly asked (over the network) to the remote end user, even if the end user has to hop over several CUPS servers to send a job to a physical printer ? Couldn't CUPS support such a (configurable) functionnality natively in the future ? Of course a cross-platform (preferably) client side app would be needed but I'm willing to contribute my own code which does just this for inclusion in CUPS if you ask (working-but-soon-to-be-rewritten-for-over-a-year-now). bye Jerome Alet From mike at easysw.com Tue Apr 1 20:29:10 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 20:29:10 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32285-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> Message-ID: <32286-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Couldn't CUPS support such a (configurable) functionnality natively > in the future ? We already support many authentication modes and proxy authentication. What is missing on Linux is support for proxy authentication in the desktop environments. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From bouldersgate at hotmail.com Tue Apr 1 22:58:08 2008 From: bouldersgate at hotmail.com (Darren Cocco) Date: Tue, 01 Apr 2008 22:58:08 -0700 Subject: Remote DownLevel Document - SMB Message-ID: <32287-cups.general@news.easysw.com> I need some assitance in regards to setting up a CUPS box to print to a Windows 2003 Server. The only problem I have at this point in time is that when the print job goes to the queue the document name is Remote DownLevel Document. Is there some way to set up CUPS so that it will send the document name along with print job. Please note it is not possible to modify the Windows 2003 Server or change the printing backend. This is the command used to add the printer to CUPS: sudo lpadmin -p Printer-FM -v smb://username:password at DOMAIN/IP_ADDRESS/Printer-FM -m laserjet.ppd.gz -o printer-is-shared=false -o media=A4 -E CUPS Version 1.3.6 Thank you. From twaugh at redhat.com Wed Apr 2 02:02:20 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 02 Apr 2008 02:02:20 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32286-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> Message-ID: <32288-cups.general@news.easysw.com> On Tue, 2008-04-01 at 20:29 -0700, Michael Sweet wrote: > We already support many authentication modes and proxy authentication. > What is missing on Linux is support for proxy authentication in the > desktop environments. Could you give an example of what you mean by proxy authentication? I am currently working on a graphical interface for CUPS-Authenticate-Job: is that related? Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From michael.lackner at unileoben.ac.at Wed Apr 2 02:49:45 2008 From: michael.lackner at unileoben.ac.at (Michael Lackner) Date: Wed, 02 Apr 2008 02:49:45 -0700 Subject: Authenticated Printing (Linux on Linux) usingCUPS and IPP Message-ID: <32289-cups.general@news.easysw.com> It seems, that while CUPS itself supports a lot of authentication options, the client side of it has some problems. So, update: I found out, that submitting the credentials within the IPP:// line did not work at all. I didn't get that at the beginning, and I'll explain why. A lot of our Users have different Usernames on their Laptops/Desktops and on our 19" computation "servers". The servers all auth against said LDAP, the printserver too. The Desktops and Laptops don't. But on MY machine I have the same username that I also use on the LDAP-/Printserver. Let's just say, that username is "myuser", and the PWD is "mypwd". So, when trying this URI: IPP://myuser:mypwd@:/ ..it did auth on the shell only. However, when trying to specify a different user (that didn't exist as a system user on my client machine), it still wanted to auth "myuser", no matter, what i specified on that IPP:// line. So, CUPS as client seems to use the system Username of the user who wants to print, not the username specified in the IPP:// URI. So, another question arises: How am I supposed to pass credentials to the CUPS/IPP server AT ALL when printing? I mean, it works on the CUPS webinterface because of the Auth Dialog, but where can i even specify any credentials for the printing itself, if not in the IPP:// URI? Either I'm a really incapable Google user, or that information just doesn't exist anywhere.. ;) I also searched the CUPS documentation, but didn't find anything. It only says, what auth methods are supported, but not how they are configured exactly. Even if the dialog popup won't work, it would be good, if I could at least specify the plaintext (or ideally: hashed, for Digest Auth) credentials in printers.conf on the client side, just as it's being done for SMB:// too. Any ideas for that client-side problem? From gene.heskett at verizon.net Wed Apr 2 05:15:53 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Wed, 02 Apr 2008 05:15:53 -0700 Subject: [cups.general] disaser recovery Message-ID: <32290-cups.general@news.easysw.com> Greetings; I had the boot drive toss its cookies over the weekend, and had to re-install on a new drive. Cups, at localhost:631 is only seeing the default printer, so I need to recover (I use amanda and its all there, someplace, the where is unk) the rest of my 'printers'. Where is this data stored so that I know where to find it in 250GB of backups? Thanks. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) This fortune would be seven words long if it were six words shorter. From bcook at poughkeepsieschools.org Wed Apr 2 06:12:06 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Wed, 02 Apr 2008 06:12:06 -0700 Subject: [cups.general] starting with cups Message-ID: <32291-cups.general@news.easysw.com> Hello all, I am just starting out with cups. I was looking to see what I could get it to do, to help our printing situation. We have a mix of win98, win2k, winxp, os9, osx. I'd like to see what I can do with authentication, quotas, and having simpler drivers on workstations or pushing them what they need to print. One of the questions I have is; Cups uses PPDs, so since cups already has the 'drivers' what would you set the 'driver' to be on a workstation? Would you set it to the same? Like if I had an hp5000 defined in cups, and cups can print to that printer when access that printer on a workstation via cups, what driver would I use? 'generic postscript' or 'text only' or would I again use the hp5000 driver? Also is there guide/manual to getting started with cups for using at a print server for workstations? Or is cups just for unix hosts wanting to print? Thanks in advance. From kschmitt at tootsie-roll.com Wed Apr 2 07:40:52 2008 From: kschmitt at tootsie-roll.com (Kyle Schmitt) Date: Wed, 02 Apr 2008 07:40:52 -0700 Subject: Printer added with lpadmin doesn't show? Message-ID: <32293-cups.general@news.easysw.com> Thanks, I'll look into PrinterSetup today. As far as the ?ibm=yes part, that was a typeo, the correct line is ?reserve=yes, which is needed to print to some very persnickity LPD systems. From frederic at juliana-multimedia.com Wed Apr 2 08:02:49 2008 From: frederic at juliana-multimedia.com (=?ISO-8859-15?Q?Fr=E9d=E9ric_Massot?=) Date: Wed, 02 Apr 2008 08:02:49 -0700 Subject: Windows CUPS Driver In-Reply-To: <32251-cups.general@news.easysw.com> References: <32251-cups.general@news.easysw.com> Message-ID: <32294-cups.general@news.easysw.com> Joseph Harnish wrote: > Hello, > > I am attempting to implement the cups driver on Windows workstations > in an attempt to solve a multitude of problems. Yes, it lacks a CUPS client for Windows, it would solve many printing problems on Windows PC, we would no longer be dependent on buggy drivers supplied by the printer manufacturers. We would have a uniform configuration on Unix systems, Mac and Windows. Regards. -- ============================================== | FR?D?RIC MASSOT | | http://www.juliana-multimedia.com | | mailto:frederic at juliana-multimedia.com | ===========================Debian=GNU/Linux=== From gene.heskett at verizon.net Wed Apr 2 08:15:09 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Wed, 02 Apr 2008 08:15:09 -0700 Subject: [cups.general] disaser recovery [fixed] In-Reply-To: <200804020815.27209.gene.heskett@verizon.net> References: <200804020815.27209.gene.heskett@verizon.net> Message-ID: <32295-cups.general@news.easysw.com> On Wednesday 02 April 2008, Gene Heskett wrote: >Greetings; > >I had the boot drive toss its cookies over the weekend, and had to > re-install on a new drive. > >Cups, at localhost:631 is only seeing the default printer, so I need to >recover (I use amanda and its all there, someplace, the where is unk) the >rest of my 'printers'. > >Where is this data stored so that I know where to find it in 250GB of > backups? > >Thanks. I'd forgotten to restart the cups daemon after doing the usual recovery, and all is well now. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) That wouldn't be good enough. -- Larry Wall in <199710131621.JAA14907 at wall.org> From satimis at yahoo.com Wed Apr 2 08:20:42 2008 From: satimis at yahoo.com (Stephen Liu) Date: Wed, 02 Apr 2008 08:20:42 -0700 Subject: How to set pdf printer asking for input of filename Message-ID: <32296-cups.general@news.easysw.com> Hi folks, Archlinux 86-64 2007-08-2 cups-pdf virtual printer Is there any way to set the printer asking for input of filename and path before printing starts. Thanks B.R Stephen L From msweet at apple.com Wed Apr 2 08:44:51 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 02 Apr 2008 08:44:51 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <1207126929.3775.6.camel@cyberelk.elk> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> <1207126929.3775.6.camel@cyberelk.elk> Message-ID: <32297-cups.general@news.easysw.com> Tim Waugh wrote: > On Tue, 2008-04-01 at 20:29 -0700, Michael Sweet wrote: >> We already support many authentication modes and proxy authentication. >> What is missing on Linux is support for proxy authentication in the >> desktop environments. > > Could you give an example of what you mean by proxy authentication? I > am currently working on a graphical interface for CUPS-Authenticate-Job: > is that related? That's one part of it; applications (and in the context of Linux - GNOME and KDE) can also detect when authentication is required, either by getting an explicit challenge or by seeing the auth-info-required attribute and providing the corresponding information. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From twaugh at redhat.com Wed Apr 2 08:54:01 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 02 Apr 2008 08:54:01 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <47F3A9EA.4050209@apple.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> <1207126929.3775.6.camel@cyberelk.elk> <47F3A9EA.4050209@apple.com> Message-ID: <32298-cups.general@news.easysw.com> On Wed, 2008-04-02 at 08:44 -0700, Michael R Sweet wrote: > That's one part of it; applications (and in the context of Linux - > GNOME and KDE) can also detect when authentication is required, either > by getting an explicit challenge or by seeing the auth-info-required > attribute and providing the corresponding information. Thank you for the clarification. I am working on this feature for system-config-printer-applet, which runs as part of a desktop user's session, monitoring jobs the user has submitted. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jesse.waters at timco.aero Wed Apr 2 11:53:44 2008 From: jesse.waters at timco.aero (Jesse Waters) Date: Wed, 02 Apr 2008 11:53:44 -0700 Subject: printing barcodes Message-ID: <32299-cups.general@news.easysw.com> Hello all, Need some help in printing barcodes to Kyocera-Mita FS-9120dn. Our existing application runs on HPUX 11.0 systems. It can print 3of9 barcodes without an issue to all printers we have at our facility (mixture of kyoceras, dells, & hp printers). The app send/loads PCL fonts to the printer then within the print stream it has escape sequences to use barcode font instead of regular text, after barcode part is sent it turns it off by send a closing escape sequence string. Whats strange is I could get the application to print properly to a HP 4050n but only using a generic text driver. If i tried any other driver all it would print is escape characters barcode. Any suggestions or pointers be a great help, Jesse Waters Timco Aviation Services Unix/Linux/Database Admin From alheidgj at upmc.edu Wed Apr 2 14:34:13 2008 From: alheidgj at upmc.edu (Greg Alheid) Date: Wed, 02 Apr 2008 14:34:13 -0700 Subject: Printing only 63 lines of text on Xerox 4510 DT Message-ID: <32300-cups.general@news.easysw.com> I'm having a problem printing 66 lines of text on a Xerox Phaser 4510DT after setting up it. The Phaser 4510DT print queue has been setup using IPP and a MS Windows xrx4510n.ppd file downloaded from Xerox. I send a file of 132 lines from a Sun using LPD to a Linux system setup as print server. The printer only prints 63 lines per page on the printer, for total of three pages with 6 lines on the last page. # cups-config --version 1.2.10 # lrt xrx4510n.ppd -rw-r--r-- 1 root root 44874 Nov 16 2006 xrx4510n.ppd # head xrx4510n.ppd *PPD-Adobe: "4.3" *% Xerox Corporation (R) Printer Description File *% Copyright Xerox Corporation *% Copyright Adobe Systems, Inc. *% All Rights Reserved. *% Date: 11/16/06 *% OPB Build Number: 3.0.3 *% PPD for Windows PPD Only Driver, English *FormatVersion: "4.3" *FileVersion: "1.0" What I need to configure to get this to print 66 lies per page? Thanks for any help! Greg From henri at stmargarets.school.nz Wed Apr 2 19:53:33 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 02 Apr 2008 19:53:33 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 3 In-Reply-To: References: Message-ID: <32301-cups.general@news.easysw.com> You may want to have a look at PrintingWorks. http://www.lucidsystems.org/printingworks > I'd like to see what I can do with authentication, quotas, and having > simpler drivers on workstations or pushing them what they need to > print. From litauer at uni-koblenz.de Thu Apr 3 01:55:03 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Thu, 03 Apr 2008 01:55:03 -0700 Subject: unsupported charset Message-ID: <32302-cups.general@news.easysw.com> Hi, I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of my clients are still using cups-1.1.x Printing to the (new) cups server leads to # lpr -Ppresse /etc/group lpr: Unsupported character set "iso-8859-15"! Examining /usr/share/cups/charsets I only found utf-8. I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but this file doesn't exist on my client and my LANG is set to POSIX. Btw: Changing all client configurations is not an option ... Any way to get the server to accept requests other than utf-8? -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From kssingvo at suse.de Thu Apr 3 03:25:27 2008 From: kssingvo at suse.de (Klaus Singvogel) Date: Thu, 03 Apr 2008 03:25:27 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32302-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> Message-ID: <32303-cups.general@news.easysw.com> Christoph Litauer wrote: > I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of > my clients are still using cups-1.1.x > > Printing to the (new) cups server leads to > > # lpr -Ppresse /etc/group > lpr: Unsupported character set "iso-8859-15"! This is a known feature. I think the limitation to UTF-8 was introduced wich cups-1.3.x. > I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but > this file doesn't exist on my client and my LANG is set to POSIX. > Btw: Changing all client configurations is not an option ... You might have set a locale ("locale") on the client to non UTF-8 and this is the cause of the problem. > Any way to get the server to accept requests other than utf-8? No. Exception: you want to introduce this into the source code at your own. Work-around: try to convert your (text)files to UTF-8 (e.g. with "iconv") and send them as UTF-8 encoded to your server. Note that your locale variables should be set to the correct values too. Regards, Klaus. -- Klaus Singvogel - Maxfeldstr. 5 - 90409 Nuernberg - Germany Phone: +49-911-74053-0 GnuPG-Key-ID: 1024R/5068792D 1994-06-27 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From h.blischke at srz.de Thu Apr 3 04:50:45 2008 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 03 Apr 2008 04:50:45 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32303-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <32303-cups.general@news.easysw.com> Message-ID: <32304-cups.general@news.easysw.com> Klaus Singvogel wrote: > Christoph Litauer wrote: > >>I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >>my clients are still using cups-1.1.x >> >>Printing to the (new) cups server leads to >> >># lpr -Ppresse /etc/group >>lpr: Unsupported character set "iso-8859-15"! > > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. > > >>I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but >>this file doesn't exist on my client and my LANG is set to POSIX. >>Btw: Changing all client configurations is not an option ... > > > You might have set a locale ("locale") on the client to non UTF-8 > and this is the cause of the problem. > > >>Any way to get the server to accept requests other than utf-8? > > > No. > Exception: you want to introduce this into the source code at your own. > > Work-around: try to convert your (text)files to UTF-8 (e.g. with > "iconv") and send them as UTF-8 encoded to your server. Note that your > locale variables should be set to the correct values too. > > Regards, > Klaus. Use the attached file and put into the appropriate directory. It is the file originally delivered with CUPS 1.1.18 and modified to default to utf-8. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups_C URL: From litauer at uni-koblenz.de Thu Apr 3 04:58:43 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Thu, 03 Apr 2008 04:58:43 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32303-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <32303-cups.general@news.easysw.com> Message-ID: <32305-cups.general@news.easysw.com> Klaus Singvogel schrieb: > Christoph Litauer wrote: >> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >> my clients are still using cups-1.1.x >> >> Printing to the (new) cups server leads to >> >> # lpr -Ppresse /etc/group >> lpr: Unsupported character set "iso-8859-15"! > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. > >> I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but >> this file doesn't exist on my client and my LANG is set to POSIX. >> Btw: Changing all client configurations is not an option ... > > You might have set a locale ("locale") on the client to non UTF-8 > and this is the cause of the problem. > >> Any way to get the server to accept requests other than utf-8? > > No. > Exception: you want to introduce this into the source code at your own. > > Work-around: try to convert your (text)files to UTF-8 (e.g. with > "iconv") and send them as UTF-8 encoded to your server. Note that your > locale variables should be set to the correct values too. Thanks for your quick reply Klaus. I read somwhere that 1.3.5 introduced an automatic charset conversion so you are still able to print with other charsets. In fact, I was not really honest: In the original posting I overlooked shell variable LC_CTYPE, which was set to de_DE at euro (iso-8859-15). I unsetted this variable, now just LANG was set to POSIX. The systems locale is set to de_DE at euro, too (/etc/sysconfig/language). Since unsetting LC_CTYPE I at once was able to print. Seems as if printing is possible, even if you don't have utf-8 as default character set? -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From kontakt at seebergit.dk Thu Apr 3 05:06:25 2008 From: kontakt at seebergit.dk (Joakim Seeberg) Date: Thu, 03 Apr 2008 05:06:25 -0700 Subject: How to lock driver settings set by admin Message-ID: <32306-cups.general@news.easysw.com> I installed a printer in cups and in "printer options" set "color mode" to Black and White. Still users can print in color because they can change "color mode" when printing. How can I lock the printer options so that users can only print in Black and White? From t.kuestermann at tu-bs.de Thu Apr 3 05:09:50 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 05:09:50 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32307-cups.general@news.easysw.com> Hello! I am currently in the process of replacing our plain old cups (version 1.1.x) with newest available one (version 1.3.7 at the moment I write this message). We're using the socket backend to print. Now, we've got some problems in printing with the new version. I try to explain: I want to print a document (PDF) on a HP Laserjet 4350/4050/2430, the first pages were printed out and suddenly the printer stops printing with the following 'error' message: 'Data recieved' 'Press to print last page' If I press or wait until a timeout is received, the printer continues printing, but it prints out plain PostScript. I've logged the output of the socket backend and received the following one: INFO: Attempting to connect to host on port 9100 STATE: +connecting-to-device STATE: -connecting-to-device INFO: Connected to ... DEBUG: Connected to :9100 (IPv4)... PAGE: 1 1 DEBUG: backendRunLoop(print_fd=3, device_fd=4, use_bc=1, side_cb=0x401862) INFO: Printer is now on-line. DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... . . . WARNING: Failed to read side-channel request! // some time later : DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... . . . INFO: Sent print file, 5160398 bytes... INFO: Print file sent, waiting for printer to finish... INFO: Ready to print. The problem is reproducible, but it seems to NOT depend on: - document size - number of pages What I can say about the documents: - they seem to be complete (correct head and tail) - they can be rendered completely with ghostview ('gv ') If I try to print the document on the old cups, it succeeds. PPD files are the same and original ones from HP. What maybe the next steps to find the reason for problem, or maybe to resolve? Thanks in advance for each hint. - Thomas From hg at griffiths-consulting.de Thu Apr 3 05:18:07 2008 From: hg at griffiths-consulting.de (haydn griffiths) Date: Thu, 03 Apr 2008 05:18:07 -0700 Subject: USB Printer device problems Message-ID: <32308-cups.general@news.easysw.com> I have 2 printers (HP3030 and HP1600) connected via USB to a Redhat Enterprise Linux 4 server. Using the GNOME printer tool, the printers and setup to be shared across the network. During setup each printer queue is associated with one lp device.( either lp1or lp0). If the server is restarted/ printers are started in a different order/ one printer is not started then the device the printers are associated with can be different to the orginal printer queue settings. Eg . during the queue setup the HP1600 was associated with device Lp0 ??? while the printers were started in a different order of the HP3030 is not available , the HP1600 is now associated with the device Lp1. The printer queue for HP1600 still points at Lp0 which means that when users try to print to the queue, the print job lands in nirvana. Is there a way of : a)fixing a printer to a certain device and not letting them be dynamically associated ? b)making the queue automatically associate to the correct device number c)another solution ? Thanks Haydn From t.kuestermann at tu-bs.de Thu Apr 3 07:39:38 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 07:39:38 -0700 Subject: Socket: Failed to read side-channel request (2) Message-ID: <32309-cups.general@news.easysw.com> The missing part of: http://www.cups.org/newsgroups.php?gcups.general+v:32307 INFO: Attempting to connect to host on port 9100 STATE: +connecting-to-device STATE: -connecting-to-device INFO: Connected to ... DEBUG: Connected to :9100 (IPv4)... PAGE: 1 1 DEBUG: backendRunLoop(print_fd=3, device_fd=4, use_bc=1, side_cb=0x401862) INFO: Printer is now on-line. DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... ... WARNING: Failed to read side-channel request! // some time later : DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... ... INFO: Sent print file, 5160398 bytes... INFO: Print file sent, waiting for printer to finish... INFO: Ready to print. The problem is reproducible, but it seems to NOT depend on: - document size - number of pages What I can say about the documents: - they seem to be complete (correct head and tail) - they can be re, or maybe to resolve? Thanks in advance for each hint. ndered completely with ghostview ('gv ') If I try to print the document on the old cups, it succeeds. PPD files are the same and original ones from HP. What maybe the next steps to find the reason for problem - Thomas From t.kuestermann at tu-bs.de Thu Apr 3 07:45:10 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 07:45:10 -0700 Subject: Socket: Failed to read side-channel request (2) Message-ID: <32310-cups.general@news.easysw.com> My newsreader don't likes me: > What I can say about the documents: > - they seem to be complete (correct head and tail) > - they can be re, or maybe to resolve? Thanks in advance for each hint. > ndered completely with ghostview ('gv ') Should have been: - they seem to be complete (correct head and tail) - they can be rendered completely with ghostview ('gv ') What maybe the next steps to find the reason for the problem or maybe to resolve? Thanks in advance for each hint. - Thomas From msweet at apple.com Thu Apr 3 09:06:15 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:06:15 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32302-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> Message-ID: <32311-cups.general@news.easysw.com> Christoph Litauer wrote: > ... > Any way to get the server to accept requests other than utf-8? No. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 3 09:08:15 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:08:15 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <20080403102517.GA28407@suse.de> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> Message-ID: <32312-cups.general@news.easysw.com> Klaus Singvogel wrote: > Christoph Litauer wrote: >> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >> my clients are still using cups-1.1.x >> >> Printing to the (new) cups server leads to >> >> # lpr -Ppresse /etc/group >> lpr: Unsupported character set "iso-8859-15"! > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. CUPS 1.2.0 was the first release to only support UTF-8, but did (incorrectly) accept requests using other character sets. 1.3.4 contains the fix to only allow US-ASCII and UTF-8 in requests. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 3 09:12:03 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:12:03 -0700 Subject: [cups.general] Socket: Failed to read side-channel request In-Reply-To: <32307-cups.general@news.easysw.com> References: <32307-cups.general@news.easysw.com> Message-ID: <32313-cups.general@news.easysw.com> Thomas K?stermann wrote: > Hello! > > I am currently in the process of replacing our plain old cups (version 1.1.x) with newest available one (version 1.3.7 at the moment I write this message). > > We're using the socket backend to print. Now, we've got some problems in printing with the new version. I try to explain: > ... > WARNING: Failed to read side-channel request! > ... What driver are you using? The warning message would seem to indicate the driver is assuming that file descriptor 4 is for some other purpose, leading to the error you are seeing. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mark.richards at massmicro.com Thu Apr 3 11:16:19 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Thu, 03 Apr 2008 11:16:19 -0700 Subject: [cups.general] issue installing HP color laser jet Message-ID: <32314-cups.general@news.easysw.com> I am working a rather frustrating problem with cups and windows xp and a color laser jet 3600 printer. I had posted this to cups bugs, but perhaps it's not the correct place. When we try to install an HP Color LaserJet 3600 (windows xp driver) to a working cups server ("working means that the cups server can print a test page and we've also set up a raw queue for the same printer), windows hangs attempting to "connect" to the printer. I suspect that the driver is treating the cups server as if it's the printer and perhaps expecting something special. There's one error noted in the cups error (debug enabled) log: DNS-SD registration of "HP-3600-hpijs" failed with -65537 Note that from any linux box we can send to the cups server fine and the 3600 prints perfectly. Solution: don't print from windows? Wish we could do that. Your thoughts as to how we might fix this are welcome! /m Here's the rest of the info: yum info cups Installed Packages Name : cups Arch : i386 Epoch : 1 Version: 1.3.6 Release: 2.fc8 Size : 9.9 M Repo : installed uname -A 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux Clients: both linux and windowx xp sp2 Printers: HP Laser Jet 1200 (parallel port): works great from all clients HP color laser jet: * Description:* HP Color LaserJet 3600 + hpijs ppd *Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs *Printer State:* idle, accepting jobs, published. * Device URI:* usb://HP/Color%20LaserJet%203600 Here's the error log (debug enabled): I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6) I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4) I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain) I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp... I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients. I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host. I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default! I [01/Apr/2008:22:46:00 -0400] Full reload is required. I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters... D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW... D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200... E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"... D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache... I [01/Apr/2008:22:46:00 -0400] Full reload complete. I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14... I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15... I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16... I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Report: clients=0 D [01/Apr/2008:22:46:00 -0400] Report: jobs=12 D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0 D [01/Apr/2008:22:46:00 -0400] Report: printers=3 D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744 D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0... D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon() D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain) D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1 D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided. D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok) The cups.conf file reads: # 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 BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic Allow 192.168.1.0/24 # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL # Allow remote administration... Order allow,deny Allow @LOCAL AuthType Default Require user @SYSTEM # 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 From cups at scrunch.net Thu Apr 3 18:19:24 2008 From: cups at scrunch.net (bub) Date: Thu, 03 Apr 2008 18:19:24 -0700 Subject: Lanscape Failure, cups-1.2.4, RHEL5.1 Message-ID: <32315-cups.general@news.easysw.com> I migrated from RHEL4.6 with cups-1.1.22 to RHEL5.1 with cups-1.2.4 and I find that I can not print landscape. This is using HP printers, direct to the socket 9100. I've tried several model, including: HP LaserJet 4 with the hpijs driver HP LaserJet 4000 with postscript driver And several PPDs, bundled with foomatic and current ones from linuxprinting.org. With '-o landscape' it still prints in portrait. With '-o orientation-requested=4' there is no output, or it is rotated off the page. I don't know where to turn or how to resolv this. Any ideas will be greatly appreciated! From litauer at uni-koblenz.de Fri Apr 4 00:25:58 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Fri, 04 Apr 2008 00:25:58 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32312-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> <32312-cups.general@news.easysw.com> Message-ID: <32316-cups.general@news.easysw.com> Michael R Sweet schrieb: > Klaus Singvogel wrote: >> Christoph Litauer wrote: >>> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most >>> of my clients are still using cups-1.1.x >>> >>> Printing to the (new) cups server leads to >>> >>> # lpr -Ppresse /etc/group >>> lpr: Unsupported character set "iso-8859-15"! >> >> This is a known feature. I think the limitation to UTF-8 was introduced >> wich cups-1.3.x. > > CUPS 1.2.0 was the first release to only support UTF-8, but did > (incorrectly) accept requests using other character sets. 1.3.4 > contains the fix to only allow US-ASCII and UTF-8 in requests. > Thanks Michael. This leads me to downgrade my server to cups 1.1.x ... it's impossible to upgrade hundreds of pcs and laptops at once ... (sigh). -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From h.blischke at srz.de Fri Apr 4 05:18:29 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 05:18:29 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32316-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> <32312-cups.general@news.easysw.com> <32316-cups.general@news.easysw.com> Message-ID: <32317-cups.general@news.easysw.com> Christoph Litauer wrote: > Michael R Sweet schrieb: > >> Klaus Singvogel wrote: >> >>> Christoph Litauer wrote: >>> >>>> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most >>>> of my clients are still using cups-1.1.x >>>> >>>> Printing to the (new) cups server leads to >>>> >>>> # lpr -Ppresse /etc/group >>>> lpr: Unsupported character set "iso-8859-15"! >>> >>> >>> This is a known feature. I think the limitation to UTF-8 was introduced >>> wich cups-1.3.x. >> >> >> CUPS 1.2.0 was the first release to only support UTF-8, but did >> (incorrectly) accept requests using other character sets. 1.3.4 >> contains the fix to only allow US-ASCII and UTF-8 in requests. >> > > Thanks Michael. This leads me to downgrade my server to cups 1.1.x ... > it's impossible to upgrade hundreds of pcs and laptops at once ... (sigh). > You might consider the attachment from my previous post on this topic. At our site we used that to continue tupport for all boxes that still have a CUPS 1.1.x running. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From mz at panorgan.ch Fri Apr 4 07:03:33 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Fri, 04 Apr 2008 07:03:33 -0700 Subject: copy configurations Message-ID: <32318-cups.general@news.easysw.com> Hello We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. Thanks for help! Marc From move2rahul at yahoo.co.in Fri Apr 4 07:04:58 2008 From: move2rahul at yahoo.co.in (rahulmode) Date: Fri, 04 Apr 2008 07:04:58 -0700 Subject: CUPS- HTTP Content-Length issue Message-ID: <32319-cups.general@news.easysw.com> I noticed that in CUPS1.1.23, when I connect to the server using # nc 10.10.220.231 631 POST /printers/printer/ HTTP/1.1 Content-Length: \n \n -------------------------------- It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. Regarding this issue, I got no info on the forums! So please, can someone tell why is this issue not handled .. is this a feature? if yes how ?? Thanks Rahul From h.blischke at srz.de Fri Apr 4 07:08:57 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 07:08:57 -0700 Subject: copy configurations In-Reply-To: <32318-cups.general@news.easysw.com> References: <32318-cups.general@news.easysw.com> Message-ID: <32320-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello > > We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. > > Thanks for help! > Marc I'd suggest to set up the cupd.conf for the new version manually - there are too many changes between 1.1.x and 1.3.x. But you may easily copy over the printers.conf file. The attributes (like Policy etc.) not known to the 1.1.x are implictely set to the default values (you might need to edit the Share attributes; I don't know by heart which value is the default). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From jsmeix at suse.de Fri Apr 4 07:50:34 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 04 Apr 2008 07:50:34 -0700 Subject: [cups.general] copy configurations In-Reply-To: <32318-cups.general@news.easysw.com> References: <32318-cups.general@news.easysw.com> Message-ID: <32321-cups.general@news.easysw.com> Hello, On Apr 4 07:03 Marc Ziegenhagen wrote: > We have the problem that we replace a server with a newer one > and we want to copy all teh defined printers to the new server > (there are about 90 queues). How we can export/import the > cups-configurations or read the configurations on one server > an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with > OpenSuSE 10.3. So there also too different cups versions in use. Read http://en.opensuse.org/SDB:CUPS_in_a_Nutshell in particular see -------------------------------------------------------------------- Do not edit the configuration files in /etc/cups/ manually if suitable command-line tools are available for this purpose. .... For example, to set up the same queues on several machines (e.g., for a backup server), do not copy /etc/cups/printers.conf and /etc/cups/ppd/*, but write the respective commands in a script (usually a sequence of lpadmin commands) and run the script on the various machines. .. .. .. Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 we provide CUPS 1.2 which is not fully backward compatible with CUPS 1.1. Therefore in case of an update it is recommended not to use an outdated cupsd.conf from a CUPS 1.1 installation before but to start from scratch with the original cupsd.conf from our CUPS 1.2 RPM. -------------------------------------------------------------------- Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jake at year26.org Fri Apr 4 08:14:01 2008 From: jake at year26.org (me) Date: Fri, 04 Apr 2008 08:14:01 -0700 Subject: ssl error Message-ID: <32322-cups.general@news.easysw.com> Hey everyone...Running into a bit of an issue trying to get ssl working. The error i'm seeing is: encrypt_client: Unable to encrypt connection from 192.168.1.22 encrypt_client: Could not negotiate a supported cipher suite. Wasn't able to find anything helpful on google..Thoughts? Thanks From jake at year26.org Fri Apr 4 08:16:10 2008 From: jake at year26.org (me) Date: Fri, 04 Apr 2008 08:16:10 -0700 Subject: copy configurations Message-ID: <32323-cups.general@news.easysw.com> I'm actually in the process of doing the same thing with 114 print queues..I re-did the cupsd.conf from scratch and then just dumped printers.conf from the old server to the new one and restarted cups..A few hiccups here and there but for the most part all are working fine. > Hello > > We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. > > Thanks for help! > Marc From jake at year26.org Fri Apr 4 08:18:06 2008 From: jake at year26.org (jwalters) Date: Fri, 04 Apr 2008 08:18:06 -0700 Subject: ssl error Message-ID: <32324-cups.general@news.easysw.com> sorry..ment to change the From field :-/ > Hey everyone...Running into a bit of an issue trying to get ssl working. The error i'm seeing is: > > encrypt_client: Unable to encrypt connection from 192.168.1.22 > encrypt_client: Could not negotiate a supported cipher suite. > > Wasn't able to find anything helpful on google..Thoughts? > > Thanks > From mike at easysw.com Fri Apr 4 08:29:47 2008 From: mike at easysw.com (Michael Sweet) Date: Fri, 04 Apr 2008 08:29:47 -0700 Subject: CUPS- HTTP Content-Length issue In-Reply-To: <32319-cups.general@news.easysw.com> References: <32319-cups.general@news.easysw.com> Message-ID: <32325-cups.general@news.easysw.com> rahulmode wrote: > I noticed that in CUPS1.1.23, when I connect to the server using > > # nc 10.10.220.231 631 > POST /printers/printer/ HTTP/1.1 > Content-Length: > > > \n > \n > > > > > -------------------------------- > > It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. > > Regarding this issue, I got no info on the forums! > So please, can someone tell why is this issue not handled .. > is this a feature? if yes how ?? Well, first you might test with a newer release - 1.1.23 is very old. If the same problem occurs with 1.3.7, please file a bug report: http://www.cups.org/str.php Second, there are a lot of ways to do Denial-of-Service attacks on any network service, and adding a length check for Content-Length won't prevent them... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From h.blischke at srz.de Fri Apr 4 09:55:27 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 09:55:27 -0700 Subject: copy configurations In-Reply-To: <32323-cups.general@news.easysw.com> References: <32323-cups.general@news.easysw.com> Message-ID: <32326-cups.general@news.easysw.com> me wrote: > I'm actually in the process of doing the same thing with 114 print queues..I re-did the cupsd.conf from scratch and then just dumped printers.conf from the old server to the new one and restarted cups..A few hiccups here and there but for the most part all are working fine. > > >>Hello >> >>We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. >>The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. >> >>Thanks for help! >>Marc > > .... forgot to say: after copying over (and possibly editing) the printers.conf, you should copy over the /etc/cups/ppd/*.ppd files, otherwise the printers will be raw printers in the new configuration. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From t.kuestermann at tu-bs.de Fri Apr 4 09:57:28 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Fri, 04 Apr 2008 09:57:28 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32327-cups.general@news.easysw.com> > What driver are you using? We're using the original PPDs shipped with the printers. As my collegues said, these PPD were manually modified, but nobody can say in which way. I have tested to replace the old PPD with the latest PPD shipped with CUPS according to the printer. The formerly false printed documents are now printed correctly, thank you for the hint! Now, I try to write a backend wrapper like 'beh' implemented in Groovy (groovy.codehaus.org) that wraps around CUPS and 'socket', but it leads to the same problem as formerly discussed. The 'socket'-process is started in this way: '/usr/lib/cups/backend/socket <COPIES> <OPTIONS> <PRINT_FILE>' The wrapper is executed correctly and each argument is given. I have compared the spooled files resulting with wrapper and without and they are byte per byte the same. Do I have something forgotten or is there something that has to be done before? > The warning message would seem to indicate the driver is assuming > that file descriptor 4 is for some other purpose, leading to the > error you are seeing. What does that mean 'for some other purpose'? Can you give an example, please? Thank you for each advice, - Thomas From sgsax at ksu.edu Fri Apr 4 11:04:09 2008 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 04 Apr 2008 11:04:09 -0700 Subject: PDF printing from Windows Message-ID: <32328-cups.general@news.easysw.com> Alright, I've hit a serious problem and am hoping somebody can give me advice on how to deal with it. On a fairly consistent basis, if a Windows client sends a PDF file to any CUPS queue, the CUPS server takes a huge performance hit (the larger the file, the greater the hit) and then eventually dies processing the file. I've tweaked the settings so the the whole server or queue doesn't die, only the job. My guess is that pdftops may be the culprit, but I don't know for sure. I was hoping I could either a) force CUPS to use pdf2ps instead of pdftops or b) not do the conversion at all and just send the PDF file as is to the printer, since all of my printers are PS-enabled and should be able to also handle PDF natively. We do a lot of PDF printing here, so this is a big deal. Version info: CUPS: 1.3.5 cups-windows: 6.0 poppler: 0.6.1 ghostscript (gpl): 8.61 I'll be happy to provide further information. Any suggestions are appreciated. Thanks. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 From h.blischke at srz.de Fri Apr 4 11:35:07 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 11:35:07 -0700 Subject: PDF printing from Windows In-Reply-To: <32328-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> Message-ID: <32329-cups.general@news.easysw.com> Seth Galitzer wrote: > Alright, I've hit a serious problem and am hoping somebody can give me > advice on how to deal with it. On a fairly consistent basis, if a > Windows client sends a PDF file to any CUPS queue, the CUPS server takes > a huge performance hit (the larger the file, the greater the hit) and > then eventually dies processing the file. I've tweaked the settings so > the the whole server or queue doesn't die, only the job. > > My guess is that pdftops may be the culprit, but I don't know for sure. > I was hoping I could either a) force CUPS to use pdf2ps instead of > pdftops or b) not do the conversion at all and just send the PDF file as > is to the printer, since all of my printers are PS-enabled and should be > able to also handle PDF natively. > > We do a lot of PDF printing here, so this is a big deal. > > Version info: > CUPS: 1.3.5 > cups-windows: 6.0 > poppler: 0.6.1 > ghostscript (gpl): 8.61 > > I'll be happy to provide further information. Any suggestions are > appreciated. > > Thanks. > Seth > Despite the "official" preferences for using the poppler utilities I'd suggest to install the xpdf utilities (xpdf 3.02 at least) and use the "alternate pdftops filter" (see the links on the CUPS web site). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From sgsax at ksu.edu Fri Apr 4 12:23:10 2008 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 04 Apr 2008 12:23:10 -0700 Subject: PDF printing from Windows In-Reply-To: <32329-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> <32329-cups.general@news.easysw.com> Message-ID: <32330-cups.general@news.easysw.com> Helge Blischke wrote: > Seth Galitzer wrote: >> Alright, I've hit a serious problem and am hoping somebody can give me >> advice on how to deal with it. On a fairly consistent basis, if a >> Windows client sends a PDF file to any CUPS queue, the CUPS server takes >> a huge performance hit (the larger the file, the greater the hit) and >> then eventually dies processing the file. I've tweaked the settings so >> the the whole server or queue doesn't die, only the job. >> >> My guess is that pdftops may be the culprit, but I don't know for sure. >> I was hoping I could either a) force CUPS to use pdf2ps instead of >> pdftops or b) not do the conversion at all and just send the PDF file as >> is to the printer, since all of my printers are PS-enabled and should be >> able to also handle PDF natively. >> >> We do a lot of PDF printing here, so this is a big deal. >> >> Version info: >> CUPS: 1.3.5 >> cups-windows: 6.0 >> poppler: 0.6.1 >> ghostscript (gpl): 8.61 >> >> I'll be happy to provide further information. Any suggestions are >> appreciated. >> >> Thanks. >> Seth >> > > Despite the "official" preferences for using the poppler utilities > I'd suggest to install the xpdf utilities (xpdf 3.02 at least) > and use the "alternate pdftops filter" (see the links on the CUPS web > site). > > > Helge > > I found your alternative filter and am reading up on how to use it now. I'm also a bit leery about installing an X app on a headless server. I'm running gentoo on this box, and even if I hold back X packages, it still wants to install printproto, libXmu, xbitmaps, libXp, libXaw, and openmotif. None of those (including xpdf itself) seem to include a file for pdftops. I don't seem to have a package that just includes libs for xpdf or the xpdf pdftops utils. Can you give a little more detail here? Thanks. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 From msweet at apple.com Fri Apr 4 12:43:19 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 04 Apr 2008 12:43:19 -0700 Subject: [cups.general] Socket: Failed to read side-channel request In-Reply-To: <32327-cups.general@news.easysw.com> References: <32327-cups.general@news.easysw.com> Message-ID: <32334-cups.general@news.easysw.com> Thomas K?stermann wrote: >> What driver are you using? > > We're using the original PPDs shipped with the printers. As my collegues said, these PPD were manually modified, but nobody can say in which way. > > I have tested to replace the old PPD with the latest PPD shipped with CUPS according to the printer. The formerly false printed documents are now printed correctly, thank you for the hint! > > Now, I try to write a backend wrapper like 'beh' implemented in Groovy (groovy.codehaus.org) that wraps around CUPS and 'socket', but it leads to the same problem as formerly discussed. > > The 'socket'-process is started in this way: > > '/usr/lib/cups/backend/socket <ID> <USER> <TITLE> <COPIES> <OPTIONS> <PRINT_FILE>' > > The wrapper is executed correctly and each argument is given. I have compared the spooled files resulting with wrapper and without and they are byte per byte the same. > > Do I have something forgotten or is there something that has to be done before? The "beh" backend probably isn't handling the back- or side- channel file descriptors, leading to the error you are seeing. >> The warning message would seem to indicate the driver is assuming >> that file descriptor 4 is for some other purpose, leading to the >> error you are seeing. > > What does that mean 'for some other purpose'? Can you give an example, please? Any open file could cause this problem. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Fri Apr 4 12:46:07 2008 From: angelb at bugarin.us (angelb) Date: Fri, 04 Apr 2008 12:46:07 -0700 Subject: Web Admin - spawns 12 cups-driverd processes Message-ID: <32335-cups.general@news.easysw.com> Hello all, I've configured an AIX system to be a CUPS server with 112 printer queues. When I try to modify a printer queue using the web interface, CUPS spawns 12 cups-driverd processes and then consumes CPU: # ps -ef|grep -i cups lp 688154 1745052 14 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 827502 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1093830 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1114204 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1138706 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1142970 1745052 0 14:34:06 - 0:00 /opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi lp 1150978 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1167428 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1171506 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1662986 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1683596 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1736746 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1777816 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' root 1745052 1 12 14:16:23 - 0:06 /opt/TWWfsw/cups136/sbin/cupsd -c /etc/opt/TWWfsw/cups136/cupsd.conf # uptime 02:42PM up 7 days, 3:06, 2 users, load average: 13.70 Name PID CPU% PgSp Owner cups-dri 1150978 8.8 9.8 lp cupsd 1745052 8.8 1.6 root cups-dri 1662986 8.8 9.8 lp cups-dri 1683596 8.5 9.8 lp cups-dri 1736746 8.5 9.8 lp cups-dri 1167428 8.5 9.8 lp cups-dri 688154 8.5 9.8 lp cups-dri 827502 8.3 9.8 lp cups-dri 1114204 8.3 9.8 lp cups-dri 1777816 8.3 9.8 lp cups-dri 1171506 8.3 9.8 lp topas 1753316 2.5 2.7 root The cgi eventualy dies: E [04/Apr/2008:14:43:43 +0600] PID 1142970 (/opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi) crashed on signal 9! Has anyone seen the same? Thanks, Angel From angelb at bugarin.us Fri Apr 4 12:57:28 2008 From: angelb at bugarin.us (angelb) Date: Fri, 04 Apr 2008 12:57:28 -0700 Subject: Web Admin - spawns 12 cups-driverd processes Message-ID: <32336-cups.general@news.easysw.com> > Hello all, > > I've configured an AIX system to be a CUPS server with 112 printer > queues. > > When I try to modify a printer queue using the web interface, CUPS > spawns 12 cups-driverd processes and then consumes CPU: > > # ps -ef|grep -i cups > lp 688154 1745052 14 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 827502 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1093830 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1114204 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1138706 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1142970 1745052 0 14:34:06 - 0:00 /opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi > lp 1150978 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1167428 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1171506 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1662986 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1683596 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1736746 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1777816 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > root 1745052 1 12 14:16:23 - 0:06 /opt/TWWfsw/cups136/sbin/cupsd -c /etc/opt/TWWfsw/cups136/cupsd.conf > > # uptime > 02:42PM up 7 days, 3:06, 2 users, load average: 13.70 > > Name PID CPU% PgSp Owner > cups-dri 1150978 8.8 9.8 lp > cupsd 1745052 8.8 1.6 root > cups-dri 1662986 8.8 9.8 lp > cups-dri 1683596 8.5 9.8 lp > cups-dri 1736746 8.5 9.8 lp > cups-dri 1167428 8.5 9.8 lp > cups-dri 688154 8.5 9.8 lp > cups-dri 827502 8.3 9.8 lp > cups-dri 1114204 8.3 9.8 lp > cups-dri 1777816 8.3 9.8 lp > cups-dri 1171506 8.3 9.8 lp > topas 1753316 2.5 2.7 root > > > The cgi eventualy dies: > > E [04/Apr/2008:14:43:43 +0600] PID 1142970 (/opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi) crashed on signal 9! > > > Has anyone seen the same? Strange, I've stop and restarted cupsd then tried the webadmin again and this time, it went through without a problem. Thanks, Angel From starjs at att.net Sat Apr 5 13:31:04 2008 From: starjs at att.net (jeff starr) Date: Sat, 05 Apr 2008 13:31:04 -0700 Subject: CUPS Printer driver for HP Laserjet p1006 Message-ID: <32337-cups.general@news.easysw.com> Attempted to access CUPS website printer driver for HP Laserjet P 1006. No such driver exists. The HP Laserjet p1006 printer is very popular USB printer and when I installed SUSE linux, a standard CUPS printer driver originated, however, this standard CUPS printer driver does not allow me to print to HP Laserjet p1006 USB printer. How do I get the correct printer driver to work on the USB HP Laserjet p1006? I have also checked my bios config for USB printer and the bios is set for usb printer on my New DELL system. It looks like there are a lot of problems like this in regards to SUSE Linux v10.3 and many new users are frustrated! Looking forward to anyones reply regarding this subject! Email > starjs at att.net From jorgebadad at bol.com.br Sat Apr 5 19:18:54 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Sat, 05 Apr 2008 19:18:54 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32338-cups.general@news.easysw.com> Please, Somebody knows what is write at "page 84, section 5.9" of CUPS book? Because I am trying to install a PIXMA IP1800 CANON printer, and when I try to add the printer using the lpadmin command, I obtain the following answer: lpadmin: Unable to copy PPD file! When I tested de canonip1800.ppd file in this CUPS site, I obtained the following answer: canonip1800.ppd: FAIL **FAIL** Bad Resolution choice 600! REF: Page 84, section 5.9 I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at Asia CANON site, and I generated the respective .deb file (and canonip1800.ppd file) using alien command. Does somebody can help me? Thanks Jorge Adad Amazonas-Brazil (sorry my english) From ace_rules_bbs at hotmail.com Sun Apr 6 03:25:02 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Sun, 06 Apr 2008 03:25:02 -0700 Subject: CUPS 1.3.6, Linksys PSUS4, jobs never complete Message-ID: <32339-cups.general@news.easysw.com> L.S. I recently decoupled my printer from a desktop computer in an effort to simplify things for the other networked computers, i.e. not having to keep one machine running just for a printer.. I deleted the printer from CUPS and re-set up the printer with IPP URL and the same driver it used when it was still connected directly by USB. Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp photosmart 7350 colour printer. The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs (recommended)". In the above, CUPS connects to the PSUS4 via IPP to the printer. What happens is, I can print 1 job from this Linux machine. After that, I can't do anything, because the first job never completes, it is 'stuck' in the processing queue indefinitely and the printer will forever show as 'processing..., accepting jobs'. If I print from a Windows machine, everything is fine. So i'm assuming something needs to be done inside CUPS. Any ideas would be appreciated! From henri at stmargarets.school.nz Sun Apr 6 14:27:05 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 06 Apr 2008 14:27:05 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 6 In-Reply-To: <fc.3b9aca0002c2397c3b9aca0002c2397c.694f05@stmargarets.school.nz> References: <fc.3b9aca0002c2397c3b9aca0002c2397c.694f05@stmargarets.school.nz> Message-ID: <32340-cups.general@news.easysw.com> This is one reason to consider using PrinterSetup to manage the CUP's queues. Currently there is no import script bundled with PrinterSetup. However, I am quite sure it would not take long to put this together. If you come up with something, I know there are other people using PrinterSetup who would like to see this feature so please consider submitting this back to the project. Otherwise, you could manually make the PrinterSetup files and then not have to worry about this again in the future. Finally, I am not sure what has changed between these versions of cups. Maybe the configuration files are compatible. Have you tried just copying the configuration files? Hope this helps. Related Link : http://www.lucidsystems.org/printingworks/printersetup > We have the problem that we replace a server with a newer one and we > want to copy all teh defined printers to the new server (there are > about 90 queues). How we can export/import the cups-configurations > or read the configurations on one server an rebuild them on the > other server. > The old-server runs with SuSE-Linux 8.1 and the new server with > OpenSuSE 10.3. So there also too different cups versions in use. From henri at stmargarets.school.nz Sun Apr 6 16:17:36 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 06 Apr 2008 16:17:36 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca0075d840c63b9aca0075d840c6.6953d4@stmargarets.school.nz> References: <fc.3b9aca0075d840c63b9aca0075d840c6.6953d4@stmargarets.school.nz> Message-ID: <32341-cups.general@news.easysw.com> I do not have a copy of this book. However, I did ordered it a while ago. I have to check into why it has not arrived. If you would please post the command you are using to add the printer, then people like me who do not "yet" have the book may be able to help you further. In the mean time, you could download a copy of PrinterSetup and use this to create the printer. The documentation explains how to add printers with PPD's. Also, within the Examples directory you will find a PrinterSetupFile which has a printer with a PPD specified to help get you started. Finally, if you have Mac OS X machines who will be printing to this printer, then the advantage of using PrinterSetup is that you will be able to install the driver and queue all in one easy step. Even if the drivers come bundled on the Mac OS X DVD it is important to keep in mind that not everyone installs these. I would recommend that you do not rely on them being installed. PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup > Please, > Somebody knows what is write at "page 84, section 5.9" of CUPS book? > > Because I am trying to install a PIXMA IP1800 CANON printer, and > when I try to add the printer using the lpadmin command, I obtain > the following answer: > lpadmin: Unable to copy PPD file! > > When I tested de canonip1800.ppd file in this CUPS site, I obtained > the following answer: > canonip1800.ppd: FAIL > **FAIL** Bad Resolution choice 600! > REF: Page 84, section 5.9 > > I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at > Asia CANON site, and I generated the respective .deb file (and > canonip1800.ppd file) using alien command. > > Does somebody can help me? > > Thanks > > Jorge Adad > Amazonas-Brazil From mz at panorgan.ch Mon Apr 7 00:41:57 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 00:41:57 -0700 Subject: copy configurations Message-ID: <32342-cups.general@news.easysw.com> Hello Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. Where can I find out the original name of those defined printers? Thanks Marc Ziegenhagen > > Hello, > > On Apr 4 07:03 Marc Ziegenhagen wrote: > > We have the problem that we replace a server with a newer one > > and we want to copy all teh defined printers to the new server > > (there are about 90 queues). How we can export/import the > > cups-configurations or read the configurations on one server > > an rebuild them on the other server. > > The old-server runs with SuSE-Linux 8.1 and the new server with > > OpenSuSE 10.3. So there also too different cups versions in use. > > Read > http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > in particular see > -------------------------------------------------------------------- > Do not edit the configuration files in /etc/cups/ manually > if suitable command-line tools are available for this purpose. > .... > For example, to set up the same queues on several machines > (e.g., for a backup server), do not copy /etc/cups/printers.conf > and /etc/cups/ppd/*, but write the respective commands in a script > (usually a sequence of lpadmin commands) and run the script on > the various machines. > .. > .. > .. > Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > we provide CUPS 1.2 which is not fully backward compatible > with CUPS 1.1. Therefore in case of an update it is recommended > not to use an outdated cupsd.conf from a CUPS 1.1 installation > before but to start from scratch with the original cupsd.conf > from our CUPS 1.2 RPM. > -------------------------------------------------------------------- > > > Kind Regards > Johannes Meixner > -- > SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > AG Nuernberg, HRB 16746, GF: Markus Rex > From h.blischke at srz.de Mon Apr 7 03:31:31 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 03:31:31 -0700 Subject: PDF printing from Windows In-Reply-To: <32330-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> <32329-cups.general@news.easysw.com> <32330-cups.general@news.easysw.com> Message-ID: <32343-cups.general@news.easysw.com> Seth Galitzer wrote: > Helge Blischke wrote: > >>Seth Galitzer wrote: >> >>>Alright, I've hit a serious problem and am hoping somebody can give me >>>advice on how to deal with it. On a fairly consistent basis, if a >>>Windows client sends a PDF file to any CUPS queue, the CUPS server takes >>>a huge performance hit (the larger the file, the greater the hit) and >>>then eventually dies processing the file. I've tweaked the settings so >>>the the whole server or queue doesn't die, only the job. >>> >>>My guess is that pdftops may be the culprit, but I don't know for sure. >>> I was hoping I could either a) force CUPS to use pdf2ps instead of >>>pdftops or b) not do the conversion at all and just send the PDF file as >>>is to the printer, since all of my printers are PS-enabled and should be >>>able to also handle PDF natively. >>> >>>We do a lot of PDF printing here, so this is a big deal. >>> >>>Version info: >>>CUPS: 1.3.5 >>>cups-windows: 6.0 >>>poppler: 0.6.1 >>>ghostscript (gpl): 8.61 >>> >>>I'll be happy to provide further information. Any suggestions are >>>appreciated. >>> >>>Thanks. >>>Seth >>> >> >>Despite the "official" preferences for using the poppler utilities >>I'd suggest to install the xpdf utilities (xpdf 3.02 at least) >>and use the "alternate pdftops filter" (see the links on the CUPS web >>site). >> >> >>Helge >> >> > > > I found your alternative filter and am reading up on how to use it now. > I'm also a bit leery about installing an X app on a headless server. > I'm running gentoo on this box, and even if I hold back X packages, it > still wants to install printproto, libXmu, xbitmaps, libXp, libXaw, and > openmotif. None of those (including xpdf itself) seem to include a file > for pdftops. I don't seem to have a package that just includes libs for > xpdf or the xpdf pdftops utils. Can you give a little more detail here? > > Thanks. > Seth > Without all the X stuff being installed, the usual configure and make for the xpdf suite will only compile pdftops, pdftotext, pdfinfo, and pdffonts (hope I didn't forget one). And pdftops is the only one you need. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Mon Apr 7 03:35:51 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 03:35:51 -0700 Subject: copy configurations In-Reply-To: <32342-cups.general@news.easysw.com> References: <32342-cups.general@news.easysw.com> Message-ID: <32344-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello > > Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > Where can I find out the original name of those defined printers? > > Thanks > Marc Ziegenhagen > > >>Hello, >> >>On Apr 4 07:03 Marc Ziegenhagen wrote: >> >>>We have the problem that we replace a server with a newer one >>>and we want to copy all teh defined printers to the new server >>>(there are about 90 queues). How we can export/import the >>>cups-configurations or read the configurations on one server >>>an rebuild them on the other server. >>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>OpenSuSE 10.3. So there also too different cups versions in use. >> >>Read >>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>in particular see >>-------------------------------------------------------------------- >>Do not edit the configuration files in /etc/cups/ manually >>if suitable command-line tools are available for this purpose. >>.... >>For example, to set up the same queues on several machines >>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>and /etc/cups/ppd/*, but write the respective commands in a script >>(usually a sequence of lpadmin commands) and run the script on >>the various machines. >>.. >>.. >>.. >>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>we provide CUPS 1.2 which is not fully backward compatible >>with CUPS 1.1. Therefore in case of an update it is recommended >>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>before but to start from scratch with the original cupsd.conf >>from our CUPS 1.2 RPM. >>-------------------------------------------------------------------- >> >> >>Kind Regards >>Johannes Meixner >>-- >>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>AG Nuernberg, HRB 16746, GF: Markus Rex >> > > For all printers in the printers.conf file, the line <Printer name_of_this_printer> you'll find a file /etc/cups/ppd/name_of_this_printer.ppd Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From paulo.cruz at iddeia.com.br Mon Apr 7 05:12:51 2008 From: paulo.cruz at iddeia.com.br (Paulo Cruz) Date: Mon, 07 Apr 2008 05:12:51 -0700 Subject: [cups.general] PJL Commands Message-ID: <32345-cups.general@news.easysw.com> Hello all, I try to use the hold print job in a Lexmark printer but the linux driver for this printer (X644 and T644) don?t have this option. Can I input the PJL commands to use this feature in the CUP?s ? @PJL SET HOLD=ON @PJL SET HOLDTYPE = PRIVATE @PJL SET HOLDKEY = ?123? Or have another way to do that ?? Thank?s in advanced. Paulo Cruz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.cups.org/pipermail/cups/attachments/20080407/93a2300c/attachment.html> From mz at panorgan.ch Mon Apr 7 05:20:56 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 05:20:56 -0700 Subject: copy configurations Message-ID: <32346-cups.general@news.easysw.com> Hello Helge This files I know, but this files haven't the original filename from the ppd-files in the directory /usr/share/cups/model But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? Marc Ziegenhagen > > For all printers in the printers.conf file, the line > <Printer name_of_this_printer> > you'll find a file > /etc/cups/ppd/name_of_this_printer.ppd > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > Marc Ziegenhagen wrote: > > Hello > > > > Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > > Where can I find out the original name of those defined printers? > > > > Thanks > > Marc Ziegenhagen > > > > > >>Hello, > >> > >>On Apr 4 07:03 Marc Ziegenhagen wrote: > >> > >>>We have the problem that we replace a server with a newer one > >>>and we want to copy all teh defined printers to the new server > >>>(there are about 90 queues). How we can export/import the > >>>cups-configurations or read the configurations on one server > >>>an rebuild them on the other server. > >>>The old-server runs with SuSE-Linux 8.1 and the new server with > >>>OpenSuSE 10.3. So there also too different cups versions in use. > >> > >>Read > >>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > >>in particular see > >>-------------------------------------------------------------------- > >>Do not edit the configuration files in /etc/cups/ manually > >>if suitable command-line tools are available for this purpose. > >>.... > >>For example, to set up the same queues on several machines > >>(e.g., for a backup server), do not copy /etc/cups/printers.conf > >>and /etc/cups/ppd/*, but write the respective commands in a script > >>(usually a sequence of lpadmin commands) and run the script on > >>the various machines. > >>.. > >>.. > >>.. > >>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > >>we provide CUPS 1.2 which is not fully backward compatible > >>with CUPS 1.1. Therefore in case of an update it is recommended > >>not to use an outdated cupsd.conf from a CUPS 1.1 installation > >>before but to start from scratch with the original cupsd.conf > >>from our CUPS 1.2 RPM. > >>-------------------------------------------------------------------- > >> > >> > >>Kind Regards > >>Johannes Meixner > >>-- > >>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > >>AG Nuernberg, HRB 16746, GF: Markus Rex > >> > > > > From move2rahul at yahoo.co.in Mon Apr 7 07:28:07 2008 From: move2rahul at yahoo.co.in (rahulmode) Date: Mon, 07 Apr 2008 07:28:07 -0700 Subject: CUPS- HTTP Content-Length issue Message-ID: <32347-cups.general@news.easysw.com> > rahulmode wrote: > > I noticed that in CUPS1.1.23, when I connect to the server using > > > > # nc 10.10.220.231 631 > > POST /printers/printer/ HTTP/1.1 > > Content-Length: > > > > > > \n > > \n > > > > > > > > > > -------------------------------- > > > > It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. > > > > Regarding this issue, I got no info on the forums! > > So please, can someone tell why is this issue not handled .. > > is this a feature? if yes how ?? > > Well, first you might test with a newer release - 1.1.23 is very > old. If the same problem occurs with 1.3.7, please file a bug > report: > > http://www.cups.org/str.php > > Second, there are a lot of ways to do Denial-of-Service attacks on > any network service, and adding a length check for Content-Length > won't prevent them... > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com I checked the same .. on CUPS-1.3.7 where again the problem is reproducible. FILED the BUG !! ( STR #2787 ) It's a security issue related to CUPS ( all versions ) From oh at ceus-it.com Mon Apr 7 08:43:52 2008 From: oh at ceus-it.com (Oskar Hajek) Date: Mon, 07 Apr 2008 08:43:52 -0700 Subject: printers.conf Message-ID: <32348-cups.general@news.easysw.com> > Oskar Hajek wrote: > > Hello, > > is it possible to reload the printers.conf w/o hanging up cupsd? > > No, but you can use lpadmin, the web interface, or the > CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, > modify, or delete printers without restarting cupsd. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi Michael, we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? Thank you in Advance From mitchell.hensley at gmail.com Mon Apr 7 08:48:46 2008 From: mitchell.hensley at gmail.com (Mitchell Hensley) Date: Mon, 07 Apr 2008 08:48:46 -0700 Subject: CUPS "Unable to Connect to CUPS server, check options." Error / STDIN is empty, no job sent Error Message-ID: <32349-cups.general@news.easysw.com> We have recently made a change to our network, by adding a windows domain, and have changed the DNS on the server containing CUPS. I am currently running Red Hat 9 and an old version of CUPS. After the change of domain to our local machines and the DNS change on the CUPS server, when I open the cups shortcut I get the: "Unable to Connect to CUPS server, check options." If I proceed, all of my printer settings are gone, but if I go to options and change the server address to 127.0.0.1:631 all of my settings retrieve. I am able to access the printer admin screen from a web browser. After I have changed the server in CUPS to 127.0.0.1 I can make changes as normal to all of my printers, but when I click "OK" to exit I get the error: "Stdin is empty, no job sent" which does not save the server name change I made, and I am still unable to print. I have very minimal linux knowledge and have not used CUPS much, and have been handed a system that was already setup and configured. Any and all help is appreciated. Thanks, Mitchell Hensley From h.blischke at srz.de Mon Apr 7 09:08:59 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 09:08:59 -0700 Subject: copy configurations In-Reply-To: <32346-cups.general@news.easysw.com> References: <32346-cups.general@news.easysw.com> Message-ID: <32350-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello Helge > > This files I know, but this files haven't the original filename from the ppd-files in the directory > /usr/share/cups/model > But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? > > Marc Ziegenhagen > > >>For all printers in the printers.conf file, the line >> <Printer name_of_this_printer> >>you'll find a file >> /etc/cups/ppd/name_of_this_printer.ppd >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>Marc Ziegenhagen wrote: >> >>>Hello >>> >>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. >>>Where can I find out the original name of those defined printers? >>> >>>Thanks >>>Marc Ziegenhagen >>> >>> >>> >>>>Hello, >>>> >>>>On Apr 4 07:03 Marc Ziegenhagen wrote: >>>> >>>> >>>>>We have the problem that we replace a server with a newer one >>>>>and we want to copy all teh defined printers to the new server >>>>>(there are about 90 queues). How we can export/import the >>>>>cups-configurations or read the configurations on one server >>>>>an rebuild them on the other server. >>>>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>>>OpenSuSE 10.3. So there also too different cups versions in use. >>>> >>>>Read >>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>>>in particular see >>>>-------------------------------------------------------------------- >>>>Do not edit the configuration files in /etc/cups/ manually >>>>if suitable command-line tools are available for this purpose. >>>>.... >>>>For example, to set up the same queues on several machines >>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>>>and /etc/cups/ppd/*, but write the respective commands in a script >>>>(usually a sequence of lpadmin commands) and run the script on >>>>the various machines. >>>>.. >>>>.. >>>>.. >>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>>>we provide CUPS 1.2 which is not fully backward compatible >>>>with CUPS 1.1. Therefore in case of an update it is recommended >>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>>>before but to start from scratch with the original cupsd.conf >>> >>>>from our CUPS 1.2 RPM. >>> >>>>-------------------------------------------------------------------- >>>> >>>> >>>>Kind Regards >>>>Johannes Meixner >>>>-- >>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>>>AG Nuernberg, HRB 16746, GF: Markus Rex >>>> >>> >>> > You do not need to reinstall these printers. All information you need is contained in printers.conf and the said PPD files. I suspect there is no way to regain the original PPD names from the model directory. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Mon Apr 7 09:48:37 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 07 Apr 2008 09:48:37 -0700 Subject: [cups.general] printers.conf In-Reply-To: <32348-cups.general@news.easysw.com> References: <32348-cups.general@news.easysw.com> Message-ID: <32351-cups.general@news.easysw.com> Oskar Hajek wrote: >> Oskar Hajek wrote: >>> Hello, >>> is it possible to reload the printers.conf w/o hanging up cupsd? >> No, but you can use lpadmin, the web interface, or the >> CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, >> modify, or delete printers without restarting cupsd. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > Hi Michael, > we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. > It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. > But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. > Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? You could write a program that monitors the "master" server for config changes and mirror them locally. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mz at panorgan.ch Mon Apr 7 10:24:12 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 10:24:12 -0700 Subject: copy configurations Message-ID: <32352-cups.general@news.easysw.com> > Marc Ziegenhagen wrote: > > Hello Helge > > > > This files I know, but this files haven't the original filename from the ppd-files in the directory > > /usr/share/cups/model > > But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? > > > > Marc Ziegenhagen > > > > > >>For all printers in the printers.conf file, the line > >> <Printer name_of_this_printer> > >>you'll find a file > >> /etc/cups/ppd/name_of_this_printer.ppd > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>Marc Ziegenhagen wrote: > >> > >>>Hello > >>> > >>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > >>>Where can I find out the original name of those defined printers? > >>> > >>>Thanks > >>>Marc Ziegenhagen > >>> > >>> > >>> > >>>>Hello, > >>>> > >>>>On Apr 4 07:03 Marc Ziegenhagen wrote: > >>>> > >>>> > >>>>>We have the problem that we replace a server with a newer one > >>>>>and we want to copy all teh defined printers to the new server > >>>>>(there are about 90 queues). How we can export/import the > >>>>>cups-configurations or read the configurations on one server > >>>>>an rebuild them on the other server. > >>>>>The old-server runs with SuSE-Linux 8.1 and the new server with > >>>>>OpenSuSE 10.3. So there also too different cups versions in use. > >>>> > >>>>Read > >>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > >>>>in particular see > >>>>-------------------------------------------------------------------- > >>>>Do not edit the configuration files in /etc/cups/ manually > >>>>if suitable command-line tools are available for this purpose. > >>>>.... > >>>>For example, to set up the same queues on several machines > >>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf > >>>>and /etc/cups/ppd/*, but write the respective commands in a script > >>>>(usually a sequence of lpadmin commands) and run the script on > >>>>the various machines. > >>>>.. > >>>>.. > >>>>.. > >>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > >>>>we provide CUPS 1.2 which is not fully backward compatible > >>>>with CUPS 1.1. Therefore in case of an update it is recommended > >>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation > >>>>before but to start from scratch with the original cupsd.conf > >>> > >>>>from our CUPS 1.2 RPM. > >>> > >>>>-------------------------------------------------------------------- > >>>> > >>>> > >>>>Kind Regards > >>>>Johannes Meixner > >>>>-- > >>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > >>>>AG Nuernberg, HRB 16746, GF: Markus Rex > >>>> > >>> > >>> > > > > You do not need to reinstall these printers. All information > you need is contained in printers.conf and the said PPD files. > I suspect there is no way to regain the original PPD names > from the model directory. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org Hello Helge On my system in the moment I have a the following file in the /etc/cups/pdd directory: hplj4000.ppd hplj4000pan.ppd oki5300.ppd oki5300pan.ppd But on the new system there has no such ppd-file, there exists only the original ones like HP/LaserJet_4000_Postscript.ppd.gz. So how can I generate on the new system this printers when I not can take the name of the original pdd file somewhere on the old system? Marc Ziegenhagen From michael at intakt-musikinstitut.de Mon Apr 7 11:10:53 2008 From: michael at intakt-musikinstitut.de (Michael Herrmann) Date: Mon, 07 Apr 2008 11:10:53 -0700 Subject: How to prompt for a printer-internal user-id and password? Message-ID: <32353-cups.general@news.easysw.com> Hi, I have a Canon IR2740C Multifunctional Printer, set up with several printer-internal user-ids and passwords. Within the printer-config (inside the machine itself, not by cups) you can set up any restrictions for any user you like, for example user 1 can only make A4 copies black and white, but user 2 can make A3 copies, even coloured. All our Linux-Clients using cups do their printing jobs via printing by port 991 and using a local ppd. When printing from a windows client each time you print a message dialog box appears and asks for your user id and your password. That's what I also want to appear at our linux clients. What can I do to make such a dialog box prompting for userid and password appear? We have only 6 clients and no dedicated printing-server. All clients are printing via cups. (using Suse 10.2 on all clients) Thanks for your help - at the suse mailing list no one knows an answer...) Michael From h.blischke at srz.de Mon Apr 7 12:00:50 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 12:00:50 -0700 Subject: copy configurations In-Reply-To: <32352-cups.general@news.easysw.com> References: <32352-cups.general@news.easysw.com> Message-ID: <32354-cups.general@news.easysw.com> Marc Ziegenhagen wrote: >>Marc Ziegenhagen wrote: >> >>>Hello Helge >>> >>>This files I know, but this files haven't the original filename from the ppd-files in the directory >>> /usr/share/cups/model >>>But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? >>> >>>Marc Ziegenhagen >>> >>> >>> >>>>For all printers in the printers.conf file, the line >>>> <Printer name_of_this_printer> >>>>you'll find a file >>>> /etc/cups/ppd/name_of_this_printer.ppd >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>Marc Ziegenhagen wrote: >>>> >>>> >>>>>Hello >>>>> >>>>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. >>>>>Where can I find out the original name of those defined printers? >>>>> >>>>>Thanks >>>>>Marc Ziegenhagen >>>>> >>>>> >>>>> >>>>> >>>>>>Hello, >>>>>> >>>>>>On Apr 4 07:03 Marc Ziegenhagen wrote: >>>>>> >>>>>> >>>>>> >>>>>>>We have the problem that we replace a server with a newer one >>>>>>>and we want to copy all teh defined printers to the new server >>>>>>>(there are about 90 queues). How we can export/import the >>>>>>>cups-configurations or read the configurations on one server >>>>>>>an rebuild them on the other server. >>>>>>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>>>>>OpenSuSE 10.3. So there also too different cups versions in use. >>>>>> >>>>>>Read >>>>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>>>>>in particular see >>>>>>-------------------------------------------------------------------- >>>>>>Do not edit the configuration files in /etc/cups/ manually >>>>>>if suitable command-line tools are available for this purpose. >>>>>>.... >>>>>>For example, to set up the same queues on several machines >>>>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>>>>>and /etc/cups/ppd/*, but write the respective commands in a script >>>>>>(usually a sequence of lpadmin commands) and run the script on >>>>>>the various machines. >>>>>>.. >>>>>>.. >>>>>>.. >>>>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>>>>>we provide CUPS 1.2 which is not fully backward compatible >>>>>>with CUPS 1.1. Therefore in case of an update it is recommended >>>>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>>>>>before but to start from scratch with the original cupsd.conf >>>>> >>>>>>from our CUPS 1.2 RPM. >>>>> >>>>> >>>>>>-------------------------------------------------------------------- >>>>>> >>>>>> >>>>>>Kind Regards >>>>>>Johannes Meixner >>>>>>-- >>>>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>>>>>AG Nuernberg, HRB 16746, GF: Markus Rex >>>>>> >>>>> >>>>> >>You do not need to reinstall these printers. All information >>you need is contained in printers.conf and the said PPD files. >>I suspect there is no way to regain the original PPD names >>from the model directory. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org > > > Hello Helge > > On my system in the moment I have a the following file in the /etc/cups/pdd directory: > hplj4000.ppd > hplj4000pan.ppd > oki5300.ppd > oki5300pan.ppd > > But on the new system there has no such ppd-file, there exists only the original ones like HP/LaserJet_4000_Postscript.ppd.gz. > So how can I generate on the new system this printers when I not can take the name of the original pdd file somewhere on the old system? > > Marc Ziegenhagen (1) shut down cupsd on both systems (2) copy the above files to the /etc/cups/ppd directory on the new system (3) copy the old system's printers.conf to the new system (4) restart cupsd (at least on the new system). Note: the /etc/cups/ppd/oki5300pan.ppd has just this name because there is a printer named oki5300pan defined and configured. The result of setting up a printer via the lpadmin command or the web interface is just the said PPD file (with all default settings set up in this file) and the entry for this printer in printers.conf file. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Mon Apr 7 12:32:11 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 07 Apr 2008 12:32:11 -0700 Subject: [cups.general] CUPS- HTTP Content-Length issue In-Reply-To: <32347-cups.general@news.easysw.com> References: <32347-cups.general@news.easysw.com> Message-ID: <32355-cups.general@news.easysw.com> rahulmode wrote: >> rahulmode wrote: >>> I noticed that in CUPS1.1.23, when I connect to the server using >>> >>> # nc 10.10.220.231 631 >>> POST /printers/printer/ HTTP/1.1 >>> Content-Length: >>> >>> >>> \n >>> \n >>> >>> >>> >>> >>> -------------------------------- >>> >>> It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. >>> >>> Regarding this issue, I got no info on the forums! >>> So please, can someone tell why is this issue not handled .. >>> is this a feature? if yes how ?? >> Well, first you might test with a newer release - 1.1.23 is very >> old. If the same problem occurs with 1.3.7, please file a bug >> report: >> >> http://www.cups.org/str.php >> >> Second, there are a lot of ways to do Denial-of-Service attacks on >> any network service, and adding a length check for Content-Length >> won't prevent them... >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com > > > > I checked the same .. on CUPS-1.3.7 where again the problem is reproducible. > > FILED the BUG !! ( STR #2787 ) > It's a security issue related to CUPS ( all versions ) Thanks for the bug report. Again, we don't consider this type of issue a security risk, since even with the added error checking it is possible to induce the kind of denial-of-service attack you envision. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From henri at stmargarets.school.nz Mon Apr 7 15:00:46 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:00:46 -0700 Subject: [cups.general] copy configurations In-Reply-To: <fc.3b9aca00e12f78663b9aca00e12f7866.69681b@stmargarets.school.nz> References: <fc.3b9aca00e12f78663b9aca00e12f7866.69681b@stmargarets.school.nz> Message-ID: <32356-cups.general@news.easysw.com> > Where can I find out the original name of those defined printers? Sorry, I am not sure, perhaps someone else will be able to provide an answer to this question. I know it seems like a pain, but you could download the drivers from the manufactures website. At least then you can rest assured that you have the latest drivers installed on your new system and that these drivers will be compatible with your new system. You could then use PrinterSetup to specify these new PPD's. By using PrinterSetup to manage your queues, the setup of client queues will also be a simplified. It will just be a matter of automating some file renames and performing some find and replaces in these new PrinterSetupFiles. In addition, if you take this path, then creating these queues another server in the future will be trivial. As was previously mentioned on this list, you could try coping the 'printers.conf' file and the 'ppd' directory to your new setup. It would certainly be worth a try. Provided the PPD's are the only files which are required when printing, I imagine this should work. However, using PrinterSetup to move the queues will work work. Plus, you gain the ability to easily move these queues to another server in the future and to easily deploy these queues to any client machines which you may be managing. All the best. From henri at stmargarets.school.nz Mon Apr 7 15:08:44 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:08:44 -0700 Subject: [cups.general] How to prompt for a printer-internal user-id and password? In-Reply-To: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> References: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> Message-ID: <32357-cups.general@news.easysw.com> You could have a look at PrintingWorks : http://www.lucidsystems.org/printingworks > What can I do to make such a dialog box prompting for userid and > password appear? > We have only 6 clients and no dedicated printing-server. All clients > are printing via cups. Alternatively, you could talk to Canon and ask for them to help you? From henri at stmargarets.school.nz Mon Apr 7 15:15:26 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:15:26 -0700 Subject: [cups.general] printers.conf In-Reply-To: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> References: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> Message-ID: <32358-cups.general@news.easysw.com> You could have a look at PrinterSetup. It is certainly possible to setup this kind of synchronization. Although, you will need to write some scripts to delete printers which are no longer part of the setup for true synchronization. Interestingly, I am currently working on a system right now to keep client queues in sync from a centrally managed location. If you would like to be involved with get involved with the PrinterSetup project, then visit the PrinterSetup website : http://www.lucidsystems.org/printingworks/printersetup > Any idea how i am able to keep the printer definition synchron w/o > reloading/restarting cupsd? From ronw.mrmx at gmail.com Mon Apr 7 17:24:25 2008 From: ronw.mrmx at gmail.com (Ron Wilson) Date: Mon, 07 Apr 2008 17:24:25 -0700 Subject: /usr/lib/cups/filter/foomatic-rip failed Message-ID: <32359-cups.general@news.easysw.com> > I am new to both Linux and CUPS, so I would appreciate any help from anyone. Here is the problem: > > I cannot print and receive this error message in the log: > > failed(/usr/lib/cups/filter/foomatic-rip) stopped with status 1! > cupsdAuthorize: Local authentication certificate not found! I got the "stopped with status 1" error, but not the "authetication certicate not found" error. I am running Mepis 7 with CUPS 1.3.2 The printer is an HP Deskjet 5850 with built-in ethernet interface (which I am using). From jack at aiai.de Tue Apr 8 01:53:03 2008 From: jack at aiai.de (ekkard gerlach) Date: Tue, 08 Apr 2008 01:53:03 -0700 Subject: 1.2.7: delete printer queue Message-ID: <32360-cups.general@news.easysw.com> How can I delete printer queue in cups 1.2.7? - In older versions of CUPS I deleted all d*-files in /var/spool/cups/ and all files in /var/spool/cups/tmp/ , the a cupsd restart an all queues have been clean. But not so in CUPS 1.2.7! The printer queues in lpc status show printer jobs an the printer does not work. The html-frontend localhost:631 obviously "knows" how to delete the queues. Using the GUI-function "delete jobs" all jobs are cleared and the printer now prints all new incoming jobs. Where does cups save job information in 1.2.27? I just found the command "cancel -a" on Suse 10.2. I don't know if thats the solution to cancel all jobs because I've no "not-working" printer at the moment. Is "cancel" delivered with every CUPS? Or a Suse-specific solution? Where does 1.2.27 save jobs information? - I'd like to delete all printer jobs in boot.local before CUPS is started. So I need to know the file I have to delete/ manipulate that all jobs are delete at boot time. thx Ekkard From jsmeix at suse.de Tue Apr 8 02:12:00 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 08 Apr 2008 02:12:00 -0700 Subject: [cups.general] copy configurations In-Reply-To: <32342-cups.general@news.easysw.com> References: <32342-cups.general@news.easysw.com> Message-ID: <32361-cups.general@news.easysw.com> Hello, On Apr 7 00:41 Marc Ziegenhagen wrote (shortened): > .. I have the problem to find out where I can get the original names > of the ppd-files of defined printer queues on the old system. For PostScript printers I recommend to re-use the old PPDs if you are satisfied with the old PPDs. PostScript printer PPDs have no '*cupsFilter' entry. Copy old-system:/etc/cups/ppd/<file>.ppd to a directory new-system:/usr/share/cups/model/my_old_postscript_ppds/ and use them via "lpadmin ... -P ..." on the new system. For non-PostScript printers I recommend to use the new PPDs from the new system because new drivers and/or drivers versions may need an exact matching PPD (e.g. GimpPrint/Gutenprint). For those printers get the NickName entry of the old system PPDs: grep '^\*NickName' old-system:/etc/cups/ppd/*.ppd and then try to find them in new-system:/usr/share/cups/model/ for example use the "lpinfo -l -m" output on the new system. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From twalter at gmx.net Tue Apr 8 11:43:11 2008 From: twalter at gmx.net (tim) Date: Tue, 08 Apr 2008 11:43:11 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32362-cups.general@news.easysw.com> hi i updated my cups from an older version using pscript5 and Adobe windows drivers. now i switched to: cups = 1.2.12-r7 cups-windows = 6.0 samba = 3.0.28 Printers = Kyocera Mita FS1920 / FS1010 If i print pdf-documents from the windows clients (w2k/wXP) the first page comes out and the second page is an error-message or the printer goes to error state. If i print the same document beginning from the second page everything works fine. I tried several different pdf-files and some print and some with this error. The older windows drivers worked fine with the same pdf-files. The Acrobat-Reader-Versions are still the same (7.1 and 8.0). Printing the from linux-cmd works fine with the same pdf-files. Please help. tim From jorgebadad at bol.com.br Tue Apr 8 11:52:59 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Tue, 08 Apr 2008 11:52:59 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32363-cups.general@news.easysw.com> Thanks for answering, The machine that I am using is not MAC (it is PC), and not the OS is the X, is Linux (Big Linux, one Brazilian linux distro, based on Debian), therefore the software of PrinterSetup does not serve for me. I prefer to wait and to know what it is written in Page 84, section 5.9 CUPS Book. It follows relation of commands that I am using to install the printer, supplied for the Canon Asia. CANON PIXMA IP 1800 This section describes how to install a printer driver in Fedora Core 6. If you want to install the printer driver, start Linux and log in as root. Preparation Installing the insufficient package Depending on the selected installation type, the package required to install the printer driver may not be installed. If such is the case, install the following packages before installing the printer driver: libxml-1.8.17-xxx.i386.rpm gtk+-1.2.xxx.i386.rpm Make sure to install it as shown below: # rpm -ivh gtk+-1.2.xxx.i386.rpm --nodeps glib-1.2.xxx.i386.rpm Changing the SELinux settings The following settings are required if you cannot perform the printing operation: 1) Select [System] - [Administration] - [Security Level and Firewall] from the desktop panel. 2) Change the [SELinux Setting] on the [SELinux] tab to [Permissive]. Connecting the printer Before installing the printer driver, connect the computer and the printer with a USB cable and turn on the printer. Preparing the printer driver rpm Before using the printer driver, you must install the "common package" and the "model-specific package." cnijfilter-common-2.70-x.i386.rpm -------- Common package cnijfilter-ip1800series-2.70-x.i386.rpm -------- Model-specific package Download the above .rpm files from the Canon Web site in advance. (Where "2.70-x" in the above .rpm files is the version number.) Install 1. Install printer driver. Install the printer driver in order of the "common package" and the "model-specific package" by using the rpm command from the command line of the terminal software. 1) Installing the common package [root at zzz /yyy]# rpm -ivh cnijfilter-common-2.70-x.i386.rpm 2) Installing the model-specific package [root at zzz /yyy]# rpm -ivh cnijfilter-ip1800series-2.70-x.i386.rpm Refer to the following URL for the detailed information about the rpm command: http://www.rpm.org/ 2. Restart the CUPS daemon. Enter the following from the command line of the terminal software: [root at zzz /yyy]# /etc/init.d/cups restart Do not register the printer with the lpadmin command before you restart the CUPS daemon. 3. Register the printer to the spooler. Register the printer to the spooler by using the lpadmin command from the command line of the terminal software. You can specify the desired name as the [printer_name]. /usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v [device_URI] -E If you specify IP1800 as the [printer_name]: [root at zzz /yyy]# /usr/sbin/lpadmin -p IP1800 -m canonip1800.ppd -v cnij_usb:/dev/usb/lp0 -E *************************************** Obs.: After these up command, the system return the following answer: lpadmin: Unable to copy PPD file! and the printer don't install! ************************************** 4. Set the default printer. Set the default printer to be used when the [printer_name] is omitted in the print command from the command line of the terminal software. /usr/sbin/lpadmin -d [printer_name] Example: [root at zzz /yyy]# /usr/sbin/lpadmin -d IP1800 5. Restart the computer. The following settings are required for printing with the Driver UI of the cif command: Run the gdmsetup command. Select the [Security] tab and uncheck the [Deny TCP connections to Xserver] check box. Reboot the system. The Status Monitor may not be displayed properly if the LAN environment has been configured and the IP address has been specified. If such is the case, make sure to perform the configuration specified at 6 in "Restriction of the Status Monitor." Thanks George Adad Manaus-Brazil > I do not have a copy of this book. However, I did ordered it a while =20= > > ago. I have to check into why it has not arrived. > > If you would please post the command you are using to add the printer, =20= > > then people like me who do not "yet" have the book may be able to help =20= > > you further. > > In the mean time, you could download a copy of PrinterSetup and use =20 > this to create the printer. The documentation explains how to add =20 > printers with PPD's. Also, within the Examples directory you will find =20= > > a PrinterSetupFile which has a printer with a PPD specified to help =20 > get you started. > > Finally, if you have Mac OS X machines who will be printing to this =20 > printer, then the advantage of using PrinterSetup is that you will be =20= > > able to install the driver and queue all in one easy step. Even if the =20= > > drivers come bundled on the Mac OS X DVD it is important to keep in =20 > mind that not everyone installs these. I would recommend that you do =20 > not=03 rely on them being installed. > > > PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup > > > > Please, > > Somebody knows what is written at "page 84, section 5.9" of CUPS book? > > > > Because I am trying to install a PIXMA IP1800 CANON printer, and =20 > > when I try to add the printer using the lpadmin command, I obtain =20 > > the following answer: > > lpadmin: Unable to copy PPD file! > > > > When I tested de canonip1800.ppd file in this CUPS site, I obtained =20= > > > the following answer: > > canonip1800.ppd: FAIL > > **FAIL** Bad Resolution choice 600! > > REF: Page 84, section 5.9 > > > > I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at =20 > > Asia CANON site, and I generated the respective .deb file (and =20 > > canonip1800.ppd file) using alien command. > > > > Does somebody can help me? > > > > Thanks > > > > Jorge Adad > > Amazonas-Brazil > From jack at aiai.de Tue Apr 8 13:59:17 2008 From: jack at aiai.de (ekkard gerlach) Date: Tue, 08 Apr 2008 13:59:17 -0700 Subject: 1.2.7: browsing is OFF, cups but still browsing Message-ID: <32364-cups.general@news.easysw.com> lpstat -t shows printer queues that are not in local /etc/cups/cupsd.conf even though browsing is switched off: cat /etc/cups/cupsd.conf # Show troubleshooting information in error_log. LogLevel debug SystemGroup sys root # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Disable printer sharing and shared printers. Browsing Off DefaultAuthType Basic <Location /> [...] Why? thx Ekkard From henri at stmargarets.school.nz Tue Apr 8 15:31:21 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 08 Apr 2008 15:31:21 -0700 Subject: [cups.general] 1.2.7: delete printer queue In-Reply-To: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> References: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> Message-ID: <32365-cups.general@news.easysw.com> PrinterSetup contains scripts to do what I believe you are trying to do. If you download PrinterSetup from http://www.lucidsystems.org/printingworks/printersetup/ unzip this download and then navigate into PrinterSetup_vXXXX/ Examples/Handy Scripts directory there are two scripts which you may find useful. (1) sh-cancel-all-printjobs.hook (2) sh-remove-printers.hook Hope this helps. > How can I delete printer queue in cups 1.2.7? From henri at stmargarets.school.nz Tue Apr 8 15:50:26 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 08 Apr 2008 15:50:26 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> References: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> Message-ID: <32366-cups.general@news.easysw.com> Hi, > The machine that I am using is not MAC (it is PC), and not the OS is > the X, is Linux (Big Linux, one Brazilian linux distro, based on > Debian), therefore the software of PrinterSetup does not serve for me. PrinterSetup will work quite happily with Debian. It has been tested with version 3.1 and should work with later versions as well. However, If you still want to use lpadmin directly, then have a look at lpadmin man page. This is taken from the lpadmin on Mac OS X, however I believe that Debian also uses the same flag for specifying a full PPD path with lpadmin. > -P ppd-file > Specifies a PostScript Printer Description file to use > with the > printer. If specified, this option overrides the -i > option (inter- > face script). My guess is that the installer may have given the PPD a different name from what you are specifying on the your command. There may also be another issues with your command. However, you could first try to locate the PPD in the file system and then replace the -m with -P and specify the complete path to the PPD. Alternatively, there could be a problem with the installer or like I mentioned above it could have installed a PPD with a different name. > /usr/sbin/lpadmin -p IP1800 -m canonip1800.ppd -v cnij_usb:/dev/usb/ > lp0 -E The problem could be something else entirely. However, it looks like lpadmin is unable to find the PPD you have specified. I would try to find the PPD in the file system as a first step. I hope this helps. From wizard at syntheticsw.com Tue Apr 8 16:16:32 2008 From: wizard at syntheticsw.com (Torsten Giebl) Date: Tue, 08 Apr 2008 16:16:32 -0700 Subject: [cups.general] Canon Pixma 4200 Message-ID: <32367-cups.general@news.easysw.com> Hello ! The Canon Pixma 4200 with CUPS : 1. I am using the PPD file for this printer from the Canon site + 3 i386 filter RPMs. Printing works, but i don't have all the options from the Windows driver. Is there another PPD file available somewhere ? 2. I need the 3 filter i386 RPMs. Is there some other filter available that works with this printer, but is not only limited to i386 ? I would like to print from my iBook ( PowerPC ) with Linux, too. I am a little bit confused about printing under Linux. What functions have the PPD files and why do i need to have filterdrivers too ? Thanks. CU From twj_1035 at qq.com Tue Apr 8 17:42:48 2008 From: twj_1035 at qq.com (twj) Date: Tue, 08 Apr 2008 17:42:48 -0700 Subject: how to print a bmp image? Message-ID: <32368-cups.general@news.easysw.com> Can we use API cupsPrintFiles() to print a bmp image? From dschmidt at buddyrents.com Tue Apr 8 18:26:35 2008 From: dschmidt at buddyrents.com (Daniel Schmidt) Date: Tue, 08 Apr 2008 18:26:35 -0700 Subject: cannot exceed 132 columns with lpd Message-ID: <32369-cups.general@news.easysw.com> I'm using cups 1.2.4 on RHEL 5. I'm trying to print a 135 column report from Linux to a Brother HL-1440 on a Windows XP SP2 system, using LPD. Per the RFC, the Windows LPD is defaulting to 132 columns in raw mode, but according the lpr man page, the w control character I would use to override the default is disabled. I have tried both the standard laserjet.ppd, and the recommended foomatic:Brother-HL-1440-hl1250.ppd Interestingly, I could get laserjet.ppd to print up to 132 columns at cpi=17, but the foomatic one seemed capped at 80 regardless of cpi setting. Additionally, if I set cpi any higher than 17, or failed to specify a page-right option, laserjet.ppd would also start wrapping at 80 columns. I would like to be able to print 135 columns at 18 cpi. Any suggestions are greatly appreciated. From jorgebadad at bol.com.br Tue Apr 8 18:51:13 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Tue, 08 Apr 2008 18:51:13 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32370-cups.general@news.easysw.com> Thanks for answering, OK. I will try Printer Setup while I do not discover what it says at page 84, section 5.9 of CUPS Book. I tested others Canon PPD drivers files, at the site of CUPS, and had passed in the test, receiving the 'OK' answer. I believe that some command of configuration is out of the specification related at page 84, section 5.9 of CUPS Book. Thanks Jorge From twaugh at redhat.com Wed Apr 9 01:48:18 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 09 Apr 2008 01:48:18 -0700 Subject: [cups.general] cannot exceed 132 columns with lpd In-Reply-To: <32369-cups.general@news.easysw.com> References: <32369-cups.general@news.easysw.com> Message-ID: <32371-cups.general@news.easysw.com> On Tue, 2008-04-08 at 18:26 -0700, Daniel Schmidt wrote: > I'm using cups 1.2.4 on RHEL 5. [...] > Additionally, if I set cpi any higher than 17, or failed to specify a > page-right option, laserjet.ppd would also start wrapping at 80 columns. This sounds like it might be a known bug in the 'paps' filter: https://bugzilla.redhat.com/show_bug.cgi?id=316461 One work-around might be to alter /etc/cups/mime.convs so that this line: text/plain application/postscript 33 texttopaps reads: text/plain application/postscript 33 texttops (i.e. change 'texttopaps' to 'texttops'). Does that work around the problem you are seeing? Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.cups.org/pipermail/cups/attachments/20080409/5be71511/attachment.sig> From kontakt at seebergit.dk Wed Apr 9 02:19:39 2008 From: kontakt at seebergit.dk (Joakim Seeberg) Date: Wed, 09 Apr 2008 02:19:39 -0700 Subject: How to lock driver settings set by admin Message-ID: <32372-cups.general@news.easysw.com> > I installed a printer in cups and in "printer options" set "color mode" to Black and White. Still users can print in color because they can change "color mode" when printing. How can I lock the printer options so that users can only print in Black and White? I found the solution my self. I edited the ppd file for the printer so that the option is not availeble to the user. From oh at ceus-it.com Wed Apr 9 05:21:55 2008 From: oh at ceus-it.com (Oskar Hajek) Date: Wed, 09 Apr 2008 05:21:55 -0700 Subject: printers.conf Message-ID: <32373-cups.general@news.easysw.com> > Oskar Hajek wrote: > >> Oskar Hajek wrote: > >>> Hello, > >>> is it possible to reload the printers.conf w/o hanging up cupsd? > >> No, but you can use lpadmin, the web interface, or the > >> CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, > >> modify, or delete printers without restarting cupsd. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > Hi Michael, > > we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. > > It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. > > But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. > > Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? > Hi Michael, > You could write a program that monitors the "master" server for config > changes and mirror them locally. but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From noelsanchez at gmail.com Wed Apr 9 06:40:38 2008 From: noelsanchez at gmail.com (Noel Sanchez) Date: Wed, 09 Apr 2008 06:40:38 -0700 Subject: Problems with printing Message-ID: <32374-cups.general@news.easysw.com> I have some problems with CUPS. I have it, installed and configurated. I have installed the printer in another PC and I can send to print all documents. The problem is that the priner doesn't print. It appears at CUPS queue list but I can print it. The problem doesn't succed if I send to print a document from localmachine. Some ideas? Thanks a lot From dschmidt at buddyrents.com Wed Apr 9 09:27:30 2008 From: dschmidt at buddyrents.com (Daniel Schmidt) Date: Wed, 09 Apr 2008 09:27:30 -0700 Subject: [cups.general] cannot exceed 132 columns with lpd References: <32369-cups.general@news.easysw.com> <32371-cups.general@news.easysw.com> Message-ID: <32375-cups.general@news.easysw.com> That did work, at least with laserjet.ppd. I didn't test the foomatic one yet. Thank you for the help. "Tim Waugh" <twaugh at redhat.com> wrote in message news:32371-cups.general at news.easysw.com... From msweet at apple.com Wed Apr 9 09:55:12 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 09 Apr 2008 09:55:12 -0700 Subject: [cups.general] printers.conf In-Reply-To: <32373-cups.general@news.easysw.com> References: <32373-cups.general@news.easysw.com> Message-ID: <32376-cups.general@news.easysw.com> Oskar Hajek wrote: > ... >> You could write a program that monitors the "master" server for config >> changes and mirror them locally. > but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! The ideal would be to watch for printer configuration changes; with CUPS 1.2 and higher, you can use a subscription to get events when printers change, and then download their PPDs and attributes and mirror them locally. Basically, you would be doing the equivalent of lpadmin whenever a printer was added, deleted, or modified using the master server's data. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From cups at nico22.de Wed Apr 9 10:39:02 2008 From: cups at nico22.de (Nico Schümann) Date: Wed, 09 Apr 2008 10:39:02 -0700 Subject: Require user without password Message-ID: <32377-cups.general@news.easysw.com> Hello folks, I'm too dumb for the configuration of cupsd. There is a terminal server with a priter, running cupsd. Now only one user should be allowed to print -- buecherei. My problem is that OpenOffice always freezes, because both with "buecherei" and with all other users, cups asks for a password when printin. I would like to have a user restricton, meaning, buecherei is allowed to print WITHOUT password. All other users should be rejected without promting for a password. How is that possible? Following my cupsd.conf (probably wrong, because it does not work) by the way: Because it's a terminal server, there are only local connections (firefox and OpenOffice running on localhost, either on "buecherei" or on "guest") Thank you, Nico LogLevel info # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... <Location /> Order deny,allow AuthType None Require user buecherei </Location> # Restrict access to the admin pages... <Location /admin> Encryption Required Order allow,deny Allow localhost </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> # Set the default printer/job policies... <Policy default> # Job-related operations must be done by the owner or an adminstrator... <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user buecherei AuthType None Order deny,allow </Limit> # All administration operations require an adminstrator to authenticate... <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> Require user buecherei AuthType None Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow AuthType None Require user buecherei </Limit> </Policy> # # End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $". # From henri at stmargarets.school.nz Wed Apr 9 14:15:09 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 09 Apr 2008 14:15:09 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca003e25810f3b9aca003e25810f.698a31@stmargarets.school.nz> References: <fc.3b9aca003e25810f3b9aca003e25810f.698a31@stmargarets.school.nz> Message-ID: <32378-cups.general@news.easysw.com> Either way you will need to find the PPD file for your printer or use a generic PPD if your printer supports this. > Thanks for answering, > OK. I will try Printer Setup while I do not discover what it says at > page 84, section 5.9 of CUPS Book. > I tested others Canon PPD drivers files, at the site of CUPS, and > had passed in the test, receiving the 'OK' answer. > I believe that some command of configuration is out of the > specification related at page 84, section 5.9 of CUPS Book. > Thanks > Jorge From angelb at bugarin.us Thu Apr 10 08:41:58 2008 From: angelb at bugarin.us (angelb) Date: Thu, 10 Apr 2008 08:41:58 -0700 Subject: printers.conf Message-ID: <32379-cups.general@news.easysw.com> > > Oskar Hajek wrote: > > >> Oskar Hajek wrote: > > >>> Hello, > > >>> is it possible to reload the printers.conf w/o hanging up cupsd? > > You could write a program that monitors the "master" server for config > > changes and mirror them locally. > > but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! Oskar, Mike has already pointed out the proper way to do the sync. So, I will not try to duplicate his message but will tell you what I've done. I'm also running two CUP servers for our SAP printers and ran into the same sync issue. With 2700+ printer queues and jobs are processed every second, I can't afford a stop/start without prior scheduling. Basically, I've created scripts to allow users with proper access rights to add, delete, or change printer queues. The same command is then executed on the partner server via ssh. For example, on Server A, a user created a new printer queue with the following command: lpadmin -p $qname -D "$qdesc" -L "$qloc" -E -v $uri$qIP -m $driver 2>&1 1>> $userlog The same command is then executed on the partner server, Server B, via an ssh: ssh $server2 $cupsspath/lpadmin -p $qname -D "'$qdesc'" -L "'$qloc'" -E -v $uri$qIP -m $driver 2>&1 1>> $userlog 2>/dev/null If you noticed, there are lots of variables. This is because the user is using a MENU to enter all the informations. I've written the script so that the user can make the change on either server and the changes will be made automatically on the other server. I log every activity so that I know who's doing what: ... 040808-08:16:08 foo_user add lpadmin -h serverB -p mouq -D 'JPLJ4100' -L 'SLC,(210-2 ),PRMTNL PROD' -E -v socket://192.168.0.1 -m laserjet.ppd ... 040808-08:16:08 bar_user mod lpadmin -p mouq -h serverB -D HPLJ4100 I have two scripts, cupsptr and runcupsptr. The user execute cupsptr which in turn calls the runcupsptr to initiate the MENU. # ls -al cupsptr runcupsptr -r-xr-x--- 1 root lp 665 Aug 21 2007 cupsptr -r-x------ 1 cups lp 55951 Oct 15 14:48 runcupsptr You can be as detailed in your script as you want, or not. Once you have your scripts in place, you almost have nothing to do with the servers anymore. I hope that helps. Thanks, Angel From alheidgj at upmc.edu Thu Apr 10 09:20:19 2008 From: alheidgj at upmc.edu (Greg Alheid) Date: Thu, 10 Apr 2008 09:20:19 -0700 Subject: Printing only 63 lines of text on Xerox 4510 DT Message-ID: <32380-cups.general@news.easysw.com> > I'm having a problem printing 66 lines of text on > a Xerox Phaser 4510DT after setting up it. An update of only printing 63 lines through a Linux print server using a Xerox xrx4510n.ppd file. I have setup the Sun to print directly to the Xerox Phaser 4510DT and the it will print all 66 lines in a slightly smaller font than the going to the print queue on the Linux Print Server. Also if i setup the Linux print queue to be "raw" it will print all 66 lines correctly. Greg From wes.north at gmail.com Thu Apr 10 10:22:58 2008 From: wes.north at gmail.com (wes) Date: Thu, 10 Apr 2008 10:22:58 -0700 Subject: cups ldap Message-ID: <32381-cups.general@news.easysw.com> Trying to get cups to bind to LDAP to find a list of printers available, from which jobs can be sent to. First off, is this even supported? Secondly, here is my ldap config: BrowseLDAPServer ldap://servername:3268 BrowseLDAPDN cn=noc-clbfp1, ou=fp, ou=servers, ou=clb, dc=clubs, dc=domainname, dc=com BrowseLDAPBindDN ldap_proxy BrowseLDAPPassword password When I start cups everything appears to be fine, when I try to search for printers I get the following: E [10/Apr/2008:10:14:22 -0700] LDAP search returned error -1: Can't contact LDAP server E [10/Apr/2008:10:15:12 -0700] LDAP search returned error -1: Can't contact LDAP server E [10/Apr/2008:10:19:20 -0700] LDAP search returned error -1: Can't contact LDAP server When I start cups I see the following: d [10/Apr/2008:10:14:10 -0700] UpdateLDAPBrowse: oats.domainname.com d [10/Apr/2008:10:14:10 -0700] LDAP search returned 0 entries D [10/Apr/2008:10:14:10 -0700] Report: clients=0 D [10/Apr/2008:10:14:10 -0700] Report: jobs=0 D [10/Apr/2008:10:14:10 -0700] Report: jobs-active=0 D [10/Apr/2008:10:14:10 -0700] Report: printers=0 D [10/Apr/2008:10:14:10 -0700] Report: printers-implicit=0 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-string-count=172 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-alloc-bytes=5064 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-total-bytes=3792 d [10/Apr/2008:10:14:10 -0700] select_timeout(0): 86400 seconds to do nothing d [10/Apr/2008:10:14:10 -0700] cupsdDoSelect: polling 3 fds for 86400 seconds... d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: epoll() returned 1... d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: Read on fd 1... d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient(lis=0x86081f8) 1 Clients = 0 D [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 from 10.1.16.141:631 (IPv4) d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 connected to server on oats.domainname.com:631 d [10/Apr/2008:10:14:22 -0700] cupsdAddSelect: fd=8, read_cb=0x8058190, write_cb=(nil), data=0x861f778 We are using cups-1.3.6-1 on RHEL 4u6. I am not really sure if what we are trying to do is what the ldap directives where intended for. But we set BrowseRemoteProtocols to ldap and disabled everything else to force Cups to look to the directory service for printers. We don't want to register local printers, just connect to remote printers. BTW: The remote print servers are on an Active Directory domain, so we are defining the print server that controls all of the printers. If we attach the printer via an smb:// ldap connection in the cups printers.conf it works fine, but remote browsing seems to break. Thoughts? -Wes From b.krumboeck at rewe-group.at Thu Apr 10 13:25:22 2008 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Thu, 10 Apr 2008 13:25:22 -0700 Subject: cups ldap Message-ID: <32382-cups.general@news.easysw.com> > Trying to get cups to bind to LDAP to find a list of printers available, from which jobs can be sent to. > > First off, is this even supported? You don't want to use browsing? Alternate way: Write a script/programm which do the ldap search and call lpadmin for all changed printers. > Secondly, here is my ldap config: > > BrowseLDAPServer ldap://servername:3268 > BrowseLDAPDN cn=noc-clbfp1, ou=fp, ou=servers, ou=clb, dc=clubs, dc=domainname, dc=com > BrowseLDAPBindDN ldap_proxy > BrowseLDAPPassword password > > When I start cups everything appears to be fine, when I try to search for printers I get the following: > > E [10/Apr/2008:10:14:22 -0700] LDAP search returned error -1: Can't contact LDAP server > E [10/Apr/2008:10:15:12 -0700] LDAP search returned error -1: Can't contact LDAP server > E [10/Apr/2008:10:19:20 -0700] LDAP search returned error -1: Can't contact LDAP server This can happen if cups has lost the ldap connection. Restart the cups daemon and the check the logfile again. You can find an improved LDAP implementation here: http://www.cups.org/str.php?L1962 (read at least the last three posts) But this is only beta and will not be included until cups 1.4.x. You can experiment on your own risk. > > When I start cups I see the following: > > d [10/Apr/2008:10:14:10 -0700] UpdateLDAPBrowse: oats.domainname.com > d [10/Apr/2008:10:14:10 -0700] LDAP search returned 0 entries > D [10/Apr/2008:10:14:10 -0700] Report: clients=0 > D [10/Apr/2008:10:14:10 -0700] Report: jobs=0 > D [10/Apr/2008:10:14:10 -0700] Report: jobs-active=0 > D [10/Apr/2008:10:14:10 -0700] Report: printers=0 > D [10/Apr/2008:10:14:10 -0700] Report: printers-implicit=0 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-string-count=172 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-alloc-bytes=5064 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-total-bytes=3792 > d [10/Apr/2008:10:14:10 -0700] select_timeout(0): 86400 seconds to do nothing > d [10/Apr/2008:10:14:10 -0700] cupsdDoSelect: polling 3 fds for 86400 seconds... > d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: epoll() returned 1... > d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: Read on fd 1... > d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient(lis=0x86081f8) 1 Clients = 0 > D [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 from 10.1.16.141:631 (IPv4) > d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 connected to server on oats.domainname.com:631 > d [10/Apr/2008:10:14:22 -0700] cupsdAddSelect: fd=8, read_cb=0x8058190, write_cb=(nil), data=0x861f778 > > We are using cups-1.3.6-1 on RHEL 4u6. > > I am not really sure if what we are trying to do is what the ldap directives where intended for. But we set BrowseRemoteProtocols to ldap and disabled everything else to force Cups to look to the directory service for printers. We don't want to register local printers, just connect to remote printers. > > BTW: The remote print servers are on an Active Directory domain, so we are defining the print server that controls all of the printers. If we attach the printer via an smb:// ldap connection in the cups printers.conf it works fine, but remote browsing seems to break. > > Thoughts? > > -Wes What do you mean with just connect to the remote printer? Did mean a remote ipp printer queue (e.g. CUPS server), a "typical" network printer or a smb share? regards! Bernd From beatyrm at auburn.edu Thu Apr 10 13:46:51 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Thu, 10 Apr 2008 13:46:51 -0700 Subject: cups + Samba on Solaris 10 x86 Problem printing with Banner Message-ID: <32383-cups.general@news.easysw.com> I will detail my setup first then describe the problem and try and provide information about logging. Solaris 10 x86 CUPS 1.2.7 CSW pre-compiled pkg Samba 3.0.28a - Compiled locally Samba is using cups as its print system and printcap. I have a HP Laserjet 5Si which I have been running tests on. It is using jetdirect and CUPS has it socket://x.x.x.x:9100 I installed foomatic_filters and imported printer ppd's. First test: Add printer to client and print. -> This test was successful. I could both install the printer on my laptop and print a document. Everything went well and cups correctly documented the page count of the job. Second test: Enable a starting banner page (in CUPS) for the print through Samba. -> Here is were the problem occurs, I get just a banner page here. The banner comes out looking great but no document ever prints and CUPS has unknown listed for the page count on the job. Third test: Do a test page through CUPS for the printer. -> Here everything works fine, I get both the banner and document plus CUPS has the page count correct. I have tried compiling CUPS myself, a pre-compiled samba and the current setup in various combinations. This has no appreciable effect as the problem always seems to replicate. I won't post the actual log entries as they are very long unless someone thinks they will be useful. I will explain what shows up though. Samba sees everything as going great. I get a connection, a print and a close without errors. CUPS shows my connection to the printer in access and the disconnect. The CUPS error log just shows the print going through both the banner page and the document. Foomatic-rip log goes through both the banner and the document without any error codes as well. >From everything I can tell in the logs it printed, just never physically makes it out. I greatly appreciate any help. Thanks, -Robert From wes.north at gmail.com Thu Apr 10 19:27:06 2008 From: wes.north at gmail.com (wes) Date: Thu, 10 Apr 2008 19:27:06 -0700 Subject: cups ldap Message-ID: <32384-cups.general@news.easysw.com> > You don't want to use browsing? I want to browse ldap servers in Active Directory, but not register any Linux based servers. In other words, we have a strange app that requires printing through the windows print queues, we need cups with ldap to discover networked printers, and then be able to print to them. To get around this we have hardcoded printer definitions using smb:// url's with applicable username and password authentication and associated ppd files. The problem here is having to manage cups to ensure it's not stuck trying to send a job through. > Alternate way: > Write a script/programm which do the ldap search and call lpadmin for all changed printers. Yeah we thought of that, don't want to do it, but may have to. > This can happen if cups has lost the ldap connection. Restart the cups daemon and the check the logfile again. Actually we found it was because the server name for ldap didn't have the ldap:// prepended line in front of our global catalogue server reference. > > You can find an improved LDAP implementation here: > http://www.cups.org/str.php?L1962 > (read at least the last three posts) > > But this is only beta and will not be included until cups 1.4.x. You can experiment on your own risk. > Yeah we may not have a choice but to go with something like this, scares me because we are running everything on RHEL 4u6, so we are outdated anyway. > > > What do you mean with just connect to the remote printer? > Did mean a remote ipp printer queue (e.g. CUPS server), a "typical" network printer or a smb share? We defined an smb share in the printers.conf so smb://<win2k3domainname>\username:password@<printserver.domainname.com>/printerName This way cups talked directly to the windows printer share. We'd rather lookup in ldap, then have cups auto-attach to the windows printer and go from there. Also, consider this. We were able to get browsing to work, but the classobjects are all backwards between what cups wants and what Active Directory provides (go figure, microsoft doing their thing). So we had to replace the cupsPrinter in the dirsvc.c with printQueue, recompile and we started seeing messages back that stated 386 objects found, but we still couldn't browse. Now come to find out there are about 5 different attributes that cups looks for: 1. printerDescription --- description 2. printerLocation --- location?? 3. printerMakeAndModel --- driverName ?? 4. printerType --- driverName ?? 5. printerURI --- url?? These are purely guesses on my part, but we are recompiling again. One thought we had was to just pop up an ldap proxy and map the attributes between each other. I just don't have the time right now to get that working. Thoughts? -Wes From msweet at apple.com Thu Apr 10 21:40:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 10 Apr 2008 21:40:41 -0700 Subject: [cups.general] cups + Samba on Solaris 10 x86 Problem printing with Banner In-Reply-To: <32383-cups.general@news.easysw.com> References: <32383-cups.general@news.easysw.com> Message-ID: <32385-cups.general@news.easysw.com> Robert Beaty wrote: > I will detail my setup first then describe the problem and try and provide information about logging. > > Solaris 10 x86 > CUPS 1.2.7 CSW pre-compiled pkg > Samba 3.0.28a - Compiled locally CUPS 1.2.x + raw queues + banner (or just multiple) files does not work. You need CUPS 1.3.x to get support for raw queues with banner files. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From gundaher at gmx.de Fri Apr 11 03:11:11 2008 From: gundaher at gmx.de (gundaher at gmx.de) Date: Fri, 11 Apr 2008 03:11:11 -0700 Subject: [cups.general] cupsdAuthorize: No authentication data provided Message-ID: <32386-cups.general@news.easysw.com> H, i have some Problem with Cups. If i print, i get an ok and the spool data goes to the /spool/cups directory. But the printer is sleeping.The Printer is a Brother HL-1430. I attach some Configs. The Cups Logfile on modus "debug" [CODE] D [09/Apr/2008:12:22:58 +0200] add_job: requesting-user-name="alberto" I [09/Apr/2008:12:22:58 +0200] Adding start banner page "none" to job 14. D [09/Apr/2008:12:22:58 +0200] Discarding unused job-created event... I [09/Apr/2008:12:22:58 +0200] Adding end banner page "none" to job 14. I [09/Apr/2008:12:22:58 +0200] Job 14 queued on "hl1430series" by "alberto". D [09/Apr/2008:12:22:58 +0200] Job 14 hold_until = 0 D [09/Apr/2008:12:22:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:22:58 +0200] cupsdCloseClient: 7 D [09/Apr/2008:12:23:27 +0200] cupsdAcceptClient: 7 from localhost:631 (IPv4) D [09/Apr/2008:12:23:27 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:27 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:27 +0200] CUPS-Get-Printers D [09/Apr/2008:12:23:27 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] CUPS-Get-Classes D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] CUPS-Get-Default D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] Get-Printer-Attributes ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] Get-Jobs ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdCloseClient: 7 D [09/Apr/2008:12:23:36 +0200] Unloading job 9... D [09/Apr/2008:12:23:58 +0200] cupsdAcceptClient: 7 from localhost:631 (IPv4) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Printers D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Classes D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Default D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] Get-Printer-Attributes ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] Get-Jobs ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:58 +0200] Loading attributes for job 9... D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdCloseClient: 7 [/CODE] SambaConfig for Windowsprinting [CODE] [global] printer = hl1430series smb ports = 139 null passwords = yes map to guest = nobody public = yes wins support = Yes cups options = raw writeable = yes server string = PDC path = /var/spool/samba workgroup = HOME os level = 65 printcap name = cups security = share guest ok = yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, @ntadmins guest ok = Yes printable = Yes browseable = Yes [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0777 directory mask = 0777 guest ok = Yes [brother] comment = brother drucker valid users = @nobody printable = Yes guest ok = Yes Browsable = Yes path = /var/tmp [/CODE] And at Last the Cups Config [CODE] AccessLog /var/log/cups/access_log ErrorLog /var/log/cups/error_log LogLevel debug PageLog /var/log/cups/page_log Printcap /etc/printcap User lp Group lp RunAsUser Yes Port 631 BrowseAllow @LOCAL BrowseDeny All <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From @LOCAL </Location> <Location /admin> AuthType BasicDigest AuthClass Group AuthGroupName sys Order Deny,Allow Allow From All </Location> [/CODE] Thanks, Gundaher -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf at gmx From peppe.portelli at tiscali.it Fri Apr 11 07:01:46 2008 From: peppe.portelli at tiscali.it (giuseppe portelli) Date: Fri, 11 Apr 2008 07:01:46 -0700 Subject: Jobs added from Samba unloaded without printing Message-ID: <32387-cups.general@news.easysw.com> I installed a Samsung CLP-300 Printer on a Debian machine. I have 2 problems: 1. I added the Samsung printer using the CUPS admin web page. When I try to print, I get this message: "Printer not connected; will retry in 30 seconds...". The only workaround I found for this error is changing the Device URI from usb://Samsung/CLP-300 to file:/dev/usb/lp0. Using the file:/dev/usb/lp0 URI I'm able to print. Do anyone has any idea why the usb://Samsung/CLP-300 URI doesn't work? Is it a problem using file:/dev/usb/lp0 URI? 2. I've a problem printing from Windows XP using Samba. Looking inside the CUPS error_log, I found that Samba actually sends a new job to CUPS, unfortunately this job is immediately unloaded and no printing is performed. I compared the error_log of a job added from an application running on the same machine with the log of a job added from Samba. I guess the problem could be the different content types of the two jobs: the samba job (not working) specifies "application/vnd.cups-raw" content type, while the working job has "application/postscript" content type. Here is the error_log of the job added from Samba (not working): D [11/Apr/2008:11:34:25 +0200] cupsdAcceptClient: 7 from localhost (Domain) D [11/Apr/2008:11:34:25 +0200] cupsdReadClient: 7 POST /printers/Samsung HTTP/1.1 D [11/Apr/2008:11:34:25 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:34:25 +0200] Print-Job ipp://localhost/printers/Samsung D [11/Apr/2008:11:34:25 +0200] print_job: request file type is application/vnd.cups-raw. D [11/Apr/2008:11:34:25 +0200] add_job: requesting-user-name="gportelli" D [11/Apr/2008:11:34:25 +0200] Adding default job-sheets values "none,none"... I [11/Apr/2008:11:34:25 +0200] Adding start banner page "none" to job 805. D [11/Apr/2008:11:34:25 +0200] Discarding unused job-created event... I [11/Apr/2008:11:34:25 +0200] Adding end banner page "none" to job 805. I [11/Apr/2008:11:34:25 +0200] Job 805 queued on "Samsung" by "gportelli". D [11/Apr/2008:11:34:25 +0200] Job 805 hold_until = 0 D [11/Apr/2008:11:34:25 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:34:25 +0200] job-sheets=none,none D [11/Apr/2008:11:34:25 +0200] banner_page = 0 D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[0]="Samsung" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[1]="805" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[2]="gportelli" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[3]="smbprn.00000017 Remote Downlevel Document" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[4]="1" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[5]="job-uuid=urn:uuid:1f5b4b7f-7ec8-3576-473c-639ea44b5a23" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[6]="/var/spool/cups/d00805-001" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[1]="CUPS_DATADIR=/usr/share/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[6]="CUPS_SERVERROOT=/etc/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[7]="CUPS_STATEDIR=/var/run/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[9]="SERVER_ADMIN=root at localhost.localdomain" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[10]="SOFTWARE=CUPS/1.2.7" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[11]="TMPDIR=/var/spool/cups/tmp" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[12]="TZ=Europe/Rome" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[13]="USER=root" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[15]="CUPS_ENCRYPTION=IfRequested" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[16]="IPP_PORT=631" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[17]="CHARSET=iso-8859-15" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[18]="LANG=C" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[19]="PPD=/etc/cups/ppd/Samsung.ppd" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[20]="RIP_MAX_CACHE=8m" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[21]="CONTENT_TYPE=application/vnd.cups-raw" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[22]="DEVICE_URI=file:/dev/usb/lp0" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[23]="PRINTER=Samsung" D [11/Apr/2008:11:34:25 +0200] Discarding unused job-state event... D [11/Apr/2008:11:34:25 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [11/Apr/2008:11:34:25 +0200] [Job 805] File 0 is complete. D [11/Apr/2008:11:34:25 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:34:25 +0200] Discarding unused job-completed event... D [11/Apr/2008:11:34:25 +0200] cupsdCloseClient: 7 D [11/Apr/2008:11:34:26 +0200] Unloading job 805... And this is the error_log of a job successfully added and printed from an application running on the Debian machine: D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 POST /printers/ HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Get-Printer-Attributes ipp://localhost:631/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [11/Apr/2008:11:37:28 +0200] cupsdCloseClient: 9 D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 POST / HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Get-Printer-Attributes ipp://localhost/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 GET /printers/Samsung_CLP-300_USB_1.ppd HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] write_file: 9 file=10 D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 10 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 10 POST /printers/Samsung_CLP-300_USB_1 HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Print-Job ipp://localhost/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] print_job: auto-typing file... D [11/Apr/2008:11:37:28 +0200] print_job: request file type is application/postscript. D [11/Apr/2008:11:37:28 +0200] add_job: requesting-user-name="root" D [11/Apr/2008:11:37:28 +0200] Adding default job-sheets values "none,none"... I [11/Apr/2008:11:37:28 +0200] Adding start banner page "none" to job 807. D [11/Apr/2008:11:37:28 +0200] Discarding unused job-created event... I [11/Apr/2008:11:37:28 +0200] Adding end banner page "none" to job 807. I [11/Apr/2008:11:37:28 +0200] Job 807 queued on "Samsung_CLP-300_USB_1" by "root". D [11/Apr/2008:11:37:28 +0200] Job 807 hold_until = 0 D [11/Apr/2008:11:37:28 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:37:28 +0200] job-sheets=none,none D [11/Apr/2008:11:37:28 +0200] banner_page = 0 D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[0]="Samsung_CLP-300_USB_1" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[1]="807" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[2]="root" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[3]="Senza titolo" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[4]="1" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[5]="multiple-document-handling=separate-documents-collated-copies orientation-requested=3 job-uuid=urn:uuid:38619426-d46f-3116-5768-acf1a5dbb573" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[6]="/var/spool/cups/d00807-001" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[1]="CUPS_DATADIR=/usr/share/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[6]="CUPS_SERVERROOT=/etc/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[7]="CUPS_STATEDIR=/var/run/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[9]="SERVER_ADMIN=root at localhost.localdomain" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[10]="SOFTWARE=CUPS/1.2.7" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[11]="TMPDIR=/var/spool/cups/tmp" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[12]="TZ=Europe/Rome" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[13]="USER=root" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[15]="CUPS_ENCRYPTION=IfRequested" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[16]="IPP_PORT=631" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[17]="CHARSET=utf-8" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[18]="LANG=C" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[19]="PPD=/etc/cups/ppd/Samsung_CLP-300_USB_1.ppd" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[20]="RIP_MAX_CACHE=8m" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[21]="CONTENT_TYPE=application/postscript" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[22]="DEVICE_URI=usb://Samsung/CLP-300" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[23]="PRINTER=Samsung_CLP-300_USB_1" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[24]="FINAL_CONTENT_TYPE=printer/Samsung_CLP-300_USB_1" I [11/Apr/2008:11:37:28 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5335) for job 807. I [11/Apr/2008:11:37:29 +0200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 5336) for job 807. I [11/Apr/2008:11:37:29 +0200] Started backend /usr/lib/cups/backend/usb (PID 5337) for job 807. D [11/Apr/2008:11:37:29 +0200] Discarding unused job-state event... D [11/Apr/2008:11:37:29 +0200] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [11/Apr/2008:11:37:29 +0200] PID 5335 (/usr/lib/cups/filter/pstops) exited with no errors. D [11/Apr/2008:11:37:29 +0200] [Job 807] Page = 595x842; 9,12 to 586,830 D [11/Apr/2008:11:37:29 +0200] [Job 807] slow_collate=0, slow_duplex=0, slow_order=0 D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_comments - %!PS-Adobe-1.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] %!PS-Adobe-1.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%BoundingBox: 0 0 594 842 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Creator: Qt 3.3.7 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Title: Senza titolo D [11/Apr/2008:11:37:29 +0200] [Job 807] %%CreationDate: ven apr 11 11:37:28 2008 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Orientation: Portrait D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Pages: 1 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%DocumentFonts: BitstreamVeraSans-Roman BitstreamVeraSansMono-Roman D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_prolog - D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_setup - %%BeginSetup D [11/Apr/2008:11:37:29 +0200] [Job 807] Before page loop - %%Page: 1 1 D [11/Apr/2008:11:37:29 +0200] [Job 807] Copying page 1... D [11/Apr/2008:11:37:29 +0200] [Job 807] pagew = 577.0, pagel = 818.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] bboxw = 595, bboxl = 842 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageLeft = 9.0, PageRight = 586.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageTop = 830.0, PageBottom = 12.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageWidth = 595.0, PageLength = 842.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] Wrote 1 pages... D [11/Apr/2008:11:37:29 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:37:29 +0200] cupsdCloseClient: 10 D [11/Apr/2008:11:37:29 +0200] [Job 807] foomatic-rip version $Revision$ running... D [11/Apr/2008:11:37:29 +0200] [Job 807] Parsing PPD file ... D [11/Apr/2008:11:37:29 +0200] [Job 807] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ColorSpace D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option PageSize D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option PageRegion D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option Quality D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ColorMode D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option Resolution D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ImageableArea From shit2000 at web.de Fri Apr 11 07:35:37 2008 From: shit2000 at web.de (skelan) Date: Fri, 11 Apr 2008 07:35:37 -0700 Subject: disable client function at a server Message-ID: <32388-cups.general@news.easysw.com> Hi, I'm running a central CUPS server to share some printers. (Debian Etch - cupsys 1.2.7-4etch2) Therefor I've the following lines in my /etc/cups/cupsd.conf : # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL My problem now is that the Cups Server did include other printers which are shared by cups installations of other Linux workstations on the network. I can't even delete those printers, they're just included. Is there any option to prevent Cups from playing client and including other printers which are shared by foreign computer/cups installations? I thought that "Browsing" needs to be "on" as I want to share the local printer of the cups server to the network. But regarding the possible options in cupsd.conf it seems to me that this could be the only option which disables this feature in Cups. I haven't found any help on my issue in the documentation or the forums yet. Thanks From mashrom.head at gmail.com Fri Apr 11 09:06:53 2008 From: mashrom.head at gmail.com (Jabka Atu) Date: Fri, 11 Apr 2008 09:06:53 -0700 Subject: [cups.general] What to do to get loclized version of debian package ? In-Reply-To: <20080411113236.GZ8028@pear.tzafrir.org.il> References: <47FE8100.6080100@gmail.com> <87od8hg347.fsf@gmx.de> <39ea6580804110057s1d39b9dep8c3c5eb6054ed3f5@mail.gmail.com> <20080411113236.GZ8028@pear.tzafrir.org.il> Message-ID: <32389-cups.general@news.easysw.com> On Fri, Apr 11, 2008 at 2:32 PM, Tzafrir Cohen wrote: > On Fri, Apr 11, 2008 at 10:57:33AM +0300, Jabka Atu wrote: > > I see now that the translation are in source files. > > The question is how to make cups to use it ? > > > > On 4/10/08, Sven Joachim <svenjoac at gmx.de> wrote: > > > > > > On 2008-04-10 23:05 +0200, Jabka Atu wrote: > > > > > > > Hello,.. > > > > > > > > Cups in debian don't have the localized versions (Hebrew ,Spanish , > > > > Italian etc..) - that allready in cups sources. > > > > > > I ment as there is no cupsys-it or cupsys-he as packages. > > I'm searching for away to make use of it without recompiling (altring > > makefile etc..) just by apt. > > Separate per-language packaegs are only used in some extereme cases > where the translations are huge. In most cases they are just part of the > main package. I would disagree with you about that (the extreme situation): Since cups is used in many companies and in some academic facilities you can be sure that the end users or IT-personal would prefer localized versions : For example im working on a free billing solution that end users without computer skills will operate. I believe that using a localized version will be much easier than an english one for end users. I use pykota as the user management Cups. The translation that the user has aren't so big (stored in doc) : Pictures (buttons). a Po file. So a translated version could be : full cups translated version - perhaps it can be done using some compile farm (i hope im using the right term) - since the only difference between translated and non translated is a parameter to the Makefile. but i don't wont to fork cups ;-) Img - translation - Maybe using another package that will depend on cupsys and change it's files (the buttons and the css file). about the next i don't know: I don't know about the usability of translation if you need to recompile the package and recreate it (this is what i understand that i need to do now). btw i don't know what is a huge translation - Since the Ophear's version (Hebrew translation) translated all the messages (the po file) . The web gui - he created all the buttons from scratch. And changed the css file. Afaik he changed the printing script. If i have a mistake and you can change the gui / cli language just by one setting please explain how. > -- > Tzafrir Cohen | tzafrir at jabber.org | VIM is > http://tzafrir.org.il | | a Mutt's > tzafrir at cohens.org.il | | best > ICQ# 16849754 | | friend > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST at lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster at lists.debian.org > > Regards,... Jabka Atu || bsh83.blogspot.com IM (Jabber) - jabka at jabber.com My quote - The Fear is the mind killer , don't fear Commercial software write your BSD version ! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.cups.org/pipermail/cups/attachments/20080411/afb98ebf/attachment.html> From beebe at big-images.com Fri Apr 11 09:43:00 2008 From: beebe at big-images.com (Jon Beebe) Date: Fri, 11 Apr 2008 09:43:00 -0700 Subject: HP DesignJet 5000PS - overriding internal rip? Message-ID: <32390-cups.general@news.easysw.com> I have a 60" HP DesignJet 5000PS. When I print via cups it uses the internal RIP, which is slow and sometimes error-prone. I would like to have CUPS do the ripping of the files and override the printer's internal rip. I know this can be done because I run an Onyx rip that overrides the internal HP rip. But can I do this via CUPS, and if so, how? I am currently running cups 1.3.6 on OS X Leopard. Any input would be greatly appreciated! Thanks. Jon Beebe From john at cs.york.ac.uk Fri Apr 11 09:53:56 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 11 Apr 2008 09:53:56 -0700 Subject: Groups of printers? Message-ID: <32391-cups.general@news.easysw.com> CUPS, of course, implements classes (fail-over or load-balancing collections) of printers, but I wonder how many users and administrators would find printer 'groups' useful - at the /printers web page and in the configuration and in the logs? Of course, one can search at that web page for the printer one wishes to see, and one could even use the group names as a printer name prefix to restrict the view by search, and have access controls to restrict access. I think that to have explicit group access policies would be useful, however. Printer classes are not groups; when one queues a document to a class, one can't specify which on which printer of the class the document is printed. Display separation has been achieved at my site by using two instances of the CUPS scheduler on our print server, and some port mapping and iptables configuration. Alas, it was necessary to make two separate installations of CUPS rather than starting two instances of cupsd from the same build with the '-c group1/cupsd.conf' and '-c group2/cupsd.conf' options, respectively, to point to separate cupsd.conf files the first of which contained: ServerRoot /cups/group1/etc/cups ErrorLog /cups/group1/log/cups/error_log AccessLog /cups/group1/log/cups/access_log PageLog /cups/group1/log/page_log CacheDir /cups/group1/cache/cups TempDir /cups/group/spool/cups/tmp as there are no LogDir, RunDir or SpoolDir directives, at least. (For LogDir, a CUPS_LOGDIR environment variable whose value was passed to the backend would be useful for specialist backends which require to log the details of their operation.) John A. Murdie From msweet at apple.com Fri Apr 11 10:01:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 11 Apr 2008 10:01:41 -0700 Subject: [cups.general] Jobs added from Samba unloaded without printing In-Reply-To: <32387-cups.general@news.easysw.com> References: <32387-cups.general@news.easysw.com> Message-ID: <32392-cups.general@news.easysw.com> giuseppe portelli wrote: > I installed a Samsung CLP-300 Printer on a Debian machine. > > I have 2 problems: > > 1. I added the Samsung printer using the CUPS admin web page. When I try to print, I get this message: "Printer not connected; will retry in 30 seconds...". > The only workaround I found for this error is changing the Device URI from usb://Samsung/CLP-300 to file:/dev/usb/lp0. > Using the file:/dev/usb/lp0 URI I'm able to print. > Do anyone has any idea why the usb://Samsung/CLP-300 URI doesn't work? Is it a problem using file:/dev/usb/lp0 URI? > > 2. I've a problem printing from Windows XP using Samba. Looking inside the CUPS error_log, I found that Samba actually sends a new job to CUPS, unfortunately this job is immediately unloaded and no printing is performed. > I compared the error_log of a job added from an application running on the same machine with the log of a job added from Samba. I guess the problem could be the different content types of the two jobs: the samba job (not working) specifies "application/vnd.cups-raw" content type, while the working job has "application/postscript" content type. > > Here is the error_log of the job added from Samba (not working): Raw printing to the file: pseudo device will not work. The file: device is only provided for testing (which is why we disabled it by default...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From john at cs.york.ac.uk Fri Apr 11 10:02:41 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 11 Apr 2008 10:02:41 -0700 Subject: Groups of printers? Message-ID: <32393-cups.general@news.easysw.com> > CUPS, of course, implements classes (fail-over or load-balancing collections) of printers, but I wonder how many users and administrators would find printer 'groups' useful ...? Or does one just use classes as groups, simply addressing the chosen printer in the class? John A. Murdie From troy at alcatel-lucent.com Fri Apr 11 11:27:27 2008 From: troy at alcatel-lucent.com (troy) Date: Fri, 11 Apr 2008 11:27:27 -0700 Subject: sharing printer *configuration data* Message-ID: <32394-cups.general@news.easysw.com> I have a computer that speaks to a handful of printers using CUPS. (Directly, not via server machines.) Is there a way to share that CUPS configuration data with other computers so they can talk directly to the printers? I don't want the first machine to be a print server. -troy From rmueller at esu3.org Fri Apr 11 12:12:14 2008 From: rmueller at esu3.org (Rex Mueller) Date: Fri, 11 Apr 2008 12:12:14 -0700 Subject: command line options?? Message-ID: <32395-cups.general@news.easysw.com> I have to admit my ignorance about CUPS. (i bought the book though :-) and am RTFM. to make a long story short, we are currently running HP/UX but will be migrating to RHEL5.. Kind of looking for a solution of sorts for converting from HP/UX "addqueue/hppi jetadmin" created queue to CUPS, and HOW they did it? As I've been using jet admin to create physical queues, and We have in the neighborhood of 300 physical jetadmin queues and each queue have 4-6 corresponding logical queues for "options" Options of primary are as follows: Portrait "-ovsi7.27" Portrait Compressed = "-oc -vsi7.27" Landscape = "-olandscape" landscape Compressed " olandscape -oc -ovsi5.45" (Where VSI=vertical space per inch) obviously other options as well. I need to make changes to 1200+ entries to command entry into several database, I do have a length constraint that the command can only be 60 characters in length. Does someone have a HOWTO or FAQ on how to define such a scenario. The man pages do not have very good "examples" that would be beneficial.. as it stand the current database entry on HP/UX looks as follows: BuildingID, Quename, PR_COMMAND, 1,ADM hp 1320 PORT, lp -d arladmhp1320 -ovsi7.27, 1,ADM hp 1320 PORTCOMP,lp -d arladmhp1320 -ovsi7.27 -oc, 1,ADM hp 1320 LAND,lp -d arladmhp1320 -ovsi5.45 -olandscape, 1,ADM hp 1320 LANDCOMP,lp -d arladmhp1320 -ovsi5.45 -oc -olandscape, any ideas, pointers (not just RTFM) or suggestions would be appreciated. From Rongfeng.Mao at us.sogeti.com Sat Apr 12 13:25:18 2008 From: Rongfeng.Mao at us.sogeti.com (Rongfeng.Mao at us.sogeti.com) Date: Sat, 12 Apr 2008 13:25:18 -0700 Subject: [cups.general] CUPS API for JAVA Message-ID: <32396-cups.general@news.easysw.com> Dear All, I am new to CUPS community and would like your help to find out where the best source for CUPS API for JAVA. Appreciated! regrads, Robert Mao, ITIL Principal Consultant Sogeti USA 248-787-7511 Robert.Mao at us.sogeti.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.cups.org/pipermail/cups/attachments/20080412/ba7ed7e2/attachment.html> From ace_rules_bbs at hotmail.com Sun Apr 13 05:25:55 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Sun, 13 Apr 2008 05:25:55 -0700 Subject: CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> Message-ID: <32397-cups.general@news.easysw.com> Ace wrote: > L.S. > > > I recently decoupled my printer from a desktop computer in an effort to > simplify things for the other networked computers, i.e. not having to keep > one machine running just for a printer.. > I deleted the printer from CUPS and re-set up the printer with IPP URL and > the same driver it used when it was still connected directly by USB. > > Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp > photosmart 7350 colour printer. > > The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs > (recommended)". > > In the above, CUPS connects to the PSUS4 via IPP to the printer. > What happens is, I can print 1 job from this Linux machine. > After that, I can't do anything, because the first job never completes, it > is 'stuck' in the processing queue indefinitely and the printer will > forever show as 'processing..., accepting jobs'. > > If I print from a Windows machine, everything is fine. > So i'm assuming something needs to be done inside CUPS. > > Any ideas would be appreciated! Pretty please? :) From brjohnso at buckeye-express.com Sun Apr 13 11:43:18 2008 From: brjohnso at buckeye-express.com (Brandon Johnson) Date: Sun, 13 Apr 2008 11:43:18 -0700 Subject: Installing Magicolor 5430DL Message-ID: <32398-cups.general@news.easysw.com> I am trying to install a Konica Minolta Magicolor 5430DL. I have downloaded the linux driver from the Konica support site and now have the printer installed. The next step I took was to try to print a test page, the test page shows up in the job list but it never prints. The printer is set up as an ipp printer using all of the information that I get from the remote site for the printer. Any help would be appreciated. From henri at stmargarets.school.nz Sun Apr 13 14:53:35 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 14:53:35 -0700 Subject: [cups.general] cups ldap In-Reply-To: <fc.3b9aca0095eeeb973b9aca0095eeeb97.69a2f7@stmargarets.school.nz> References: <fc.3b9aca0095eeeb973b9aca0095eeeb97.69a2f7@stmargarets.school.nz> Message-ID: <32399-cups.general@news.easysw.com> We are currently working on a automatic print queue update and destruction feature for PrinterSetup. There is currently no system for creating PrinterSetupFiles from an LDAP database. However, this would this be a great feature. This automatic update system is currently in development for Mac OS X clients. However, if you have other client operating systems fo which you would like to see support, then we would be happy to have your help. Further information on PrinterSetup is available from the following URL : http://www.lucidsystems.org/printingworks/printersetup All the best. > 1. printerDescription --- description > 2. printerLocation --- location?? > 3. printerMakeAndModel --- driverName ?? > 4. printerType --- driverName ?? > 5. printerURI --- url?? > > These are purely guesses on my part, but we are recompiling again. > One thought we had was to just pop up an ldap proxy and map the > attributes between each other. I just don't have the time right now > to get that working. From henri at stmargarets.school.nz Sun Apr 13 15:09:47 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:09:47 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> References: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> Message-ID: <32400-cups.general@news.easysw.com> I can see how groups of printers could be useful. However, you could just run different cups configurations on multiple servers. If this all needs to run on one box then I suppose virtualization is an option. I think groups make sense, they could make certain administrative tasks less complex. Although, this is a double edged sword. They also have to potential to make administration more complex? > CUPS, of course, implements classes (fail-over or load-balancing > collections) of printers, but I wonder how many users and > administrators would find printer 'groups' useful - at the /printers > web page and in the configuration and in the logs? Of course, one > can search at that web page for the printer one wishes to see, and > one could even use the group names as a printer name prefix to > restrict the view by search, and have access controls to restrict > access. I think that to have explicit group access policies would be > useful, however. Printer classes are not groups; when one queues a > document to a class, one can't specify which on which printer of the > class the document is printed. From henri at stmargarets.school.nz Sun Apr 13 15:14:31 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:14:31 -0700 Subject: [cups.general] sharing printer *configuration data* In-Reply-To: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> References: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> Message-ID: <32401-cups.general@news.easysw.com> PrinterSetup may be a solution. I am currently working on this for Mac OS X. However, there is currently no feature to pull the data out of the cups configuration file. It is probably a simple script. However, to be honest I have not spent much time looking into the details. If you wanted this feature then you would need to either add it your self or contract someone to add this feature. It is on the list of things to do. However, there is currently no time line for this feature. You can learn more about PrinterSetup by visiting the following URL : http://www.lucidsystems.org/printingworks/printersetup I hope this helps > Is there a way to share that CUPS configuration data with other > computers so they can talk directly to the printers? I don't want > the first machine to be a print server. From henri at stmargarets.school.nz Sun Apr 13 15:23:59 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:23:59 -0700 Subject: [cups.general] command line options?? In-Reply-To: <fc.3b9aca00df391b4f3b9aca00df391b4f.69a519@stmargarets.school.nz> References: <fc.3b9aca00df391b4f3b9aca00df391b4f.69a519@stmargarets.school.nz> Message-ID: <32402-cups.general@news.easysw.com> > We have in the neighborhood of 300 physical jetadmin queues and each > queue have 4-6 corresponding logical queues You may want to look at PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup PrinterSetup uses text files to define each queue. The file system is the database used to store these print queue definitions. This means you can easily write some scripts to manipulate these print queue definitions. You can store any custom PPD's for the queues in a folder called PPDs in the root directory of PrinterSetup. Sorry I do not have any experience with JetAdmin. But if you can pull the data out from there then you can probably create some PrinterSetupFiles. > I do have a length constraint that the command can only be 60 > characters in length. Could you explain this constraint a little further. Hope this helps. From ronaly at gmail.com Mon Apr 14 02:32:55 2008 From: ronaly at gmail.com (ronaly) Date: Mon, 14 Apr 2008 02:32:55 -0700 Subject: Get-Printer-Attributes Message-ID: <32403-cups.general@news.easysw.com> Where does Get-Printer-Attributes get data? >From the PPD file ? or directly from querying to the printer? From john at cs.york.ac.uk Mon Apr 14 02:43:15 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Mon, 14 Apr 2008 02:43:15 -0700 Subject: Groups of printers? Message-ID: <32404-cups.general@news.easysw.com> > I can see how groups of printers could be useful. However, you could > just run different cups configurations on multiple servers. > > If this all needs to run on one box then I suppose virtualization is > an option. > > I think groups make sense, they could make certain administrative > tasks less complex. Although, this is a double edged sword. They also > have to potential to make administration more complex? Thanks for your thoughts, Henri. This matter arose in my mind because we had previously had two separate print servers, one for each (largish) group, each with a CUPS scheduler. When we moved to one print server, I arranged that we still had two CUPS schedulers, but on the same machine as you suggest above. (We do have virtual servers for other things, but it didn't seem necessary in this instance.) Only after we had moved the schedulers to the single server did I remember the facility of CUPS classes - which I've never used operationally. I'm simply inexperienced with using CUPS classes. I'm still wondering whether classes can sensibly used only for logical grouping of printers - I should experiment. All I really want, however, is for the printers in the CUPS web page printer list to be displayed in groups - obviously I can use Unix groups to allow only certain user groups to access each printer. (Though a group access policy overridden by a particular printer's access policy would be nice.) I think that all (!) that might be required is a tag on each XCUPS printer definition with the name of the printer group. The web 'Printers' list would show the printers grouped accordingly. John A. Murdie From twalter at gmx.net Mon Apr 14 03:24:09 2008 From: twalter at gmx.net (tim) Date: Mon, 14 Apr 2008 03:24:09 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32405-cups.general@news.easysw.com> hi is there realy no one with this problem. > i updated my cups from an older version using pscript5 and Adobe windows drivers. now i switched to: > cups = 1.2.12-r7 > cups-windows = 6.0 > samba = 3.0.28 > Printers = Kyocera Mita FS1920 / FS1010 > > If i print pdf-documents from the windows clients (w2k/wXP) the first page comes out and the second page is an error-message or the printer goes to error state. > If i print the same document beginning from the second page everything works fine. > I tried several different pdf-files and some print and some with this error. > The older windows drivers worked fine with the same pdf-files. > The Acrobat-Reader-Versions are still the same (7.1 and 8.0). > Printing the from linux-cmd works fine with the same pdf-files. > > Please help. > cu tim From gene.heskett at verizon.net Mon Apr 14 04:23:33 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Mon, 14 Apr 2008 04:23:33 -0700 Subject: [cups.general] cups-windows errors printing pdf-files In-Reply-To: <32405-cups.general@news.easysw.com> References: <32405-cups.general@news.easysw.com> Message-ID: <32406-cups.general@news.easysw.com> On Monday 14 April 2008, tim wrote: >hi > >is there realy no one with this problem. > >> i updated my cups from an older version using pscript5 and Adobe windows >> drivers. now i switched to: cups = 1.2.12-r7 >> cups-windows = 6.0 >> samba = 3.0.28 >> Printers = Kyocera Mita FS1920 / FS1010 >> >> If i print pdf-documents from the windows clients (w2k/wXP) the first page >> comes out and the second page is an error-message or the printer goes to >> error state. If i print the same document beginning from the second page >> everything works fine. I tried several different pdf-files and some print >> and some with this error. The older windows drivers worked fine with the >> same pdf-files. >> The Acrobat-Reader-Versions are still the same (7.1 and 8.0). >> Printing the from linux-cmd works fine with the same pdf-files. >> >> Please help. > >cu tim > I don' have this problem, but I can't help but comment that your cups install, and your samba install, are both a bit dated. Cups in particular. Here: cups-1.3.6-4.fc8 samba-3.0.28a-0.fc8 gutenprint-5.0.2-1.fc8 No windows on my network so I cannot comment on that version. I do not print using samba anyway, mine are all setup using ipp. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) REST: P: Linus Torvalds S: Buried alive in email -- from /usr/src/linux/MAINTAINERS From satimis at yahoo.com Mon Apr 14 07:56:04 2008 From: satimis at yahoo.com (Stephen Liu) Date: Mon, 14 Apr 2008 07:56:04 -0700 Subject: Can't send fax Message-ID: <32407-cups.general@news.easysw.com> Hi folks, Archlinux 86-64 2007-08-2 Fax_printer can't send fax with following warning; Fax_Printer "recoverable: Network host 'localhost' is busy; will retry in 10 seconds..." On the log file; ..... I [02/Apr/2008:14:22:05 +0800] [Job 20] Adding job file of type application/postscript. I [02/Apr/2008:14:22:05 +0800] [Job 20] Queued on "Fax" by "satimis". I [02/Apr/2008:14:22:05 +0800] [Job 20] Started backend /usr/lib/cups/backend/socket (PID 3953) W [02/Apr/2008:14:22:05 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 5 seconds... W [02/Apr/2008:14:22:10 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 10 seconds... W [02/Apr/2008:14:22:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 15 seconds... W [02/Apr/2008:14:22:35 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 20 seconds... W [02/Apr/2008:14:22:55 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 25 seconds... W [02/Apr/2008:14:23:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:23:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:24:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:24:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:25:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:25:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:26:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:26:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:27:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... .... Please advise where shall I check? TIA B.R. Stephen L From zeque at fibertel.com.ar Mon Apr 14 08:20:13 2008 From: zeque at fibertel.com.ar (Zeque) Date: Mon, 14 Apr 2008 08:20:13 -0700 Subject: Log in printer with auth code Message-ID: <32408-cups.general@news.easysw.com> Hi! I have Gentoo with Cups-1.2.12-r6, I have a problem trying to use a Lanier Printer. The problem is that the printer needs a User Code to print. Do you know how can I configure this? The User Code is used to take printer use stats. Thank you very much, Zeque From rmueller at esu3.org Mon Apr 14 08:33:16 2008 From: rmueller at esu3.org (Rex Mueller) Date: Mon, 14 Apr 2008 08:33:16 -0700 Subject: command line options?? Message-ID: <32409-cups.general@news.easysw.com> Henri, We insert the print command into an Informix Database, the allowable field length is 45 characters.. the HP/UX jet admin / HPNP system, defines interface files, based on model scripts for generally HP configurable printers, the similar feature in CUPS is socket://printerIP/ We are using this on an Intel Platform running Redhat.. I looked at the lucidsystems package and unfortunately it is appears to be specific to the MacOSX. We are running Redhat ES 5 on Intel. I need to be able to convert the HP/JA defined printers to CUPS printing.. I will probably need to put on the scripting hat to make this work, or do manual entry. One of my questions is what commandline switches for options can allow the aformentioned options for COMPRESS, LANDSCAPE, DUPLEX, etc? From mike at easysw.com Mon Apr 14 08:59:09 2008 From: mike at easysw.com (Michael Sweet) Date: Mon, 14 Apr 2008 08:59:09 -0700 Subject: Get-Printer-Attributes In-Reply-To: <32403-cups.general@news.easysw.com> References: <32403-cups.general@news.easysw.com> Message-ID: <32410-cups.general@news.easysw.com> ronaly wrote: > Where does Get-Printer-Attributes get data? > From the PPD file ? or directly from querying to the printer? From the PPD file (which, depending on the driver, can be updated from the printer...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Mon Apr 14 10:08:13 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 14 Apr 2008 10:08:13 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32397-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> Message-ID: <32411-cups.general@news.easysw.com> Ace wrote: > Ace wrote: > >> L.S. >> >> >> I recently decoupled my printer from a desktop computer in an effort to >> simplify things for the other networked computers, i.e. not having to keep >> one machine running just for a printer.. >> I deleted the printer from CUPS and re-set up the printer with IPP URL and >> the same driver it used when it was still connected directly by USB. >> >> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >> photosmart 7350 colour printer. >> >> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >> (recommended)". >> >> In the above, CUPS connects to the PSUS4 via IPP to the printer. >> What happens is, I can print 1 job from this Linux machine. >> After that, I can't do anything, because the first job never completes, it >> is 'stuck' in the processing queue indefinitely and the printer will >> forever show as 'processing..., accepting jobs'. >> >> If I print from a Windows machine, everything is fine. >> So i'm assuming something needs to be done inside CUPS. >> >> Any ideas would be appreciated! > > Pretty please? :) The Linksys implementation has been broken for a long time. You can report the problem to them or use an alternate protocol (LPD or socket on port 4010 is the usual path...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From franz.pfoertsch at brose.com Mon Apr 14 10:15:19 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Mon, 14 Apr 2008 10:15:19 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32412-cups.general@news.easysw.com> hi Tim, I had a similar problem with printing form acrobat reader 8. Only the first page was printed, on the second page the error message occured. I changed the drivers settings inside of the windows-driver from optimized for portabilitiy to optimized for speed. after this it works. From franz.pfoertsch at brose.com Mon Apr 14 10:19:15 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Mon, 14 Apr 2008 10:19:15 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32413-cups.general@news.easysw.com> hi Tim, I had a similar problem with printing form acrobat reader 8. Only the first page was printed, on the second page the error message ---8<----- ERROR: undefinedresource OFFENDING COMMAND: findresource STACK: /CSA /O /CSA -mark- /9 ---8<----- occured. I changed the drivers settings inside of the windows-driver from optimized for portabilitiy to optimized for speed. after this it works. I got the solution from http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=521 regards Fraz From reborned at gmail.com Mon Apr 14 12:25:04 2008 From: reborned at gmail.com (daniel) Date: Mon, 14 Apr 2008 12:25:04 -0700 Subject: Kerberos/Cups Message-ID: <32414-cups.general@news.easysw.com> Well I have CUPS running smoothly in my machine except when I tried to enable Kerberos auth. Probably cause I don't have enough Kerberos knowledge, anyway I have kinit running and tokens being granted through a server/realm that is not mine. I do DefaultAuthType Negotiate and add AuthType Default and Require valid-user as is in the documentation. The client has a token and I do lpr ou lp as I would usually do but the server gives: cupsdAuthorize: No authentication data provided. Do I need a local keytab file? or some other config? any leeds would be important From henri at stmargarets.school.nz Mon Apr 14 15:20:20 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:20:20 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32415-cups.general@news.easysw.com> > I'm still wondering whether classes can sensibly used only for > logical grouping of printers Sorry, I do not know that much about printer class CUPs. I am guessing someone on the list will be able to help you. > I think that all (!) that might be required is a tag on each XCUPS > printer definition with the name of the printer group. The web > 'Printers' list would show the printers grouped accordingly. As I mentioned I can see the benefits you would gain by having these logical groups. Lets see if a CUP's developer picks this project up. In the mean time if you need this setup again, another way could be to setup a web-front end to multiple print servers which could group the printers by server? Just a thought. From henri at stmargarets.school.nz Mon Apr 14 15:23:39 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:23:39 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32416-cups.general@news.easysw.com> > I think that all (!) that might be required is a tag on each XCUPS > printer definition with the name of the printer group. The web > 'Printers' list would show the printers grouped accordingly. I have thought about this some more. I realize that this kind of logical grouping would actually help me with something I am working on at the moment. Looking forward to seeing how this develops. From henri at stmargarets.school.nz Mon Apr 14 15:30:27 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:30:27 -0700 Subject: [cups.general] command line options?? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32417-cups.general@news.easysw.com> > I looked at the lucidsystems package and unfortunately it is appears > to be specific to the MacOSX. We are running Redhat ES 5 on Intel. PrinterSetup should work on any *NIX distribution with CUPS. PrinterSetup has been tested on Debian 3.1. If PrinterSetup is not able to create a printer on a RedHat system, it is most likely that a new module for adding printers to a RedHat system needs to be added. If you need any help then let me know. > One of my questions is what commandline switches for options can > allow the aformentioned options for COMPRESS, LANDSCAPE, DUPLEX, etc? Normally these options are set in the PPD? However, you may also want to look at the lpoptions command : http://www.linuxcommand.org/man_pages/lpoptions1.html I hope this helps. From reborned at gmail.com Mon Apr 14 16:47:34 2008 From: reborned at gmail.com (daniel) Date: Mon, 14 Apr 2008 16:47:34 -0700 Subject: Kerberos/Cups Message-ID: <32418-cups.general@news.easysw.com> > Well I have CUPS running smoothly in my machine except when I tried to enable Kerberos auth. Probably cause I don't have enough Kerberos knowledge, anyway I have kinit running and tokens being granted through a server/realm that is not mine. > I do DefaultAuthType Negotiate and add AuthType Default and Require valid-user as is in the documentation. The client has a token and I do lpr ou lp as I would usually do but the server gives: > cupsdAuthorize: No authentication data provided. > Do I need a local keytab file? or some other config? > > any leeds would be important btw im using debian/etch with cups 1.3.6 kerberos 5 with MIT I tried with the a local user and it worked... I'll look into after I sleep it through. do I need to set: Krb5Keytab xpto.keytab GSSServiceName servicename ? regards From bobby.goodwin at comcast.net Tue Apr 15 09:38:40 2008 From: bobby.goodwin at comcast.net (Bobby Goodwin) Date: Tue, 15 Apr 2008 09:38:40 -0700 Subject: printing files from within Unix(i.e., Terminal) to printer attached to Mac Message-ID: <32419-cups.general@news.easysw.com> How do I print an ordinary Unix ascii text file created in Unix (i.e., Terminal) with any of the standard Unix text editors (ex, vim, etc.), to the Canon PIXMA MP460 printer attached to my Mac Pro? I need to do this by such means so that NO alteration or interpretation of any type, especially page formatting and font processing, is performed, AND so that ordinary ascii control characters perform their usual functions (e.g., form feed character causes a page eject, because I need to do my own pagination). In other words, I think I need to print in some type of raw mode to the printer, which may require that I print the file from within Unix. How do I do this? From h.blischke at srz.de Tue Apr 15 10:45:37 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 15 Apr 2008 10:45:37 -0700 Subject: printing files from within Unix(i.e., Terminal) to printer attached to Mac In-Reply-To: <32419-cups.general@news.easysw.com> References: <32419-cups.general@news.easysw.com> Message-ID: <32420-cups.general@news.easysw.com> Bobby Goodwin wrote: > How do I print an ordinary Unix ascii text file created in Unix (i.e., Terminal) with any of the standard Unix text editors (ex, vim, etc.), to the Canon PIXMA MP460 printer attached to my Mac Pro? I need to do this by such means so that NO alteration or interpretation of any type, especially page formatting and font processing, is performed, AND so that ordinary ascii control characters perform their usual functions (e.g., form feed character causes a page eject, because I need to do my own pagination). In other words, I think I need to print in some type of raw mode to the printer, which may require that I print the file from within Unix. How do I do this? If your ASCII control characters are only Tab, Formfeed and Endofline, you could easily write a little script that prepends a special PostScript procset to your text file and force the use of this filter by a "*cupsFilter: ..." line in the printer's PPD. The procset in question is available from me; it emulates a (configurable) line printer. Let me know if you are interested. Helge PS: the procset currently handles only iso8859-1 encoding. -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From smith107 at llnl.gov Tue Apr 15 11:19:39 2008 From: smith107 at llnl.gov (David Smith) Date: Tue, 15 Apr 2008 11:19:39 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32421-cups.general@news.easysw.com> Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. Thanks, David From mike at easysw.com Tue Apr 15 13:00:17 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 15 Apr 2008 13:00:17 -0700 Subject: Convert ESP ppd for CUPS? In-Reply-To: <32421-cups.general@news.easysw.com> References: <32421-cups.general@news.easysw.com> Message-ID: <32422-cups.general@news.easysw.com> David Smith wrote: > Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? > > I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. The rastertopcl, rastertoescp, and rastertoescp2 filters, as well as all of the PPD files from ESP Print Pro, are compatible with newer versions of CUPS. The GUIs are the only things that will not work since they depend on private CUPS API symbols that changed in CUPS 1.2... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From smith107 at llnl.gov Tue Apr 15 13:17:41 2008 From: smith107 at llnl.gov (David Smith) Date: Tue, 15 Apr 2008 13:17:41 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32423-cups.general@news.easysw.com> > David Smith wrote: > > Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? > > > > I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. > > The rastertopcl, rastertoescp, and rastertoescp2 filters, as well as > all of the PPD files from ESP Print Pro, are compatible with newer > versions of CUPS. > > The GUIs are the only things that will not work since they depend on > private CUPS API symbols that changed in CUPS 1.2... > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to be rebuilt? I'll have either of the following rpms installed: cups-1.2.4-11.14.el5_1.4 cups-devel-1.2.4-11.14.el5_1.4 cups-libs-1.2.4-11.14.el5_1.4 or cups-devel-1.3rc2-1 cups-libs-1.3rc2-1 cups-1.3rc2-1 Thanks, David From msweet at apple.com Tue Apr 15 13:59:02 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 15 Apr 2008 13:59:02 -0700 Subject: [cups.general] Convert ESP ppd for CUPS? In-Reply-To: <32423-cups.general@news.easysw.com> References: <32423-cups.general@news.easysw.com> Message-ID: <32424-cups.general@news.easysw.com> David Smith wrote: > ... > My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to > be rebuilt? I'll have either of the following rpms installed: Just make sure you have the 32-bit cups-libs package installed... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From zeque at fibertel.com.ar Tue Apr 15 14:13:30 2008 From: zeque at fibertel.com.ar (Zeque) Date: Tue, 15 Apr 2008 14:13:30 -0700 Subject: Log in printer with auth code Message-ID: <32425-cups.general@news.easysw.com> > Hi! > > I have Gentoo with Cups-1.2.12-r6, I have a problem trying to use a Lanier Printer. The problem is that the printer needs a User Code to print. Do you know how can I configure this? > The User Code is used to take printer use stats. > Thank you very much, > > Zeque Hi! I found the driver, I put the link here http://www.linuxprinting.org/show_printer.cgi?recnum=Lanier-LP131n Thanks, i hope it will be usefull Zeque From coldfusionpc at yahoo.com Tue Apr 15 14:57:50 2008 From: coldfusionpc at yahoo.com (Matt Castelein) Date: Tue, 15 Apr 2008 14:57:50 -0700 Subject: Cups-PDF does not receive usernames? Message-ID: <32426-cups.general@news.easysw.com> When I print to Cups-PDF from a windows client, If I go look in the CUPS job log it shows the username that sent the job, yet Cups-PDF is treating everything as 'anonymous' thus everyone's PDF's are lumped together in the same place and belong to 'nobody'. How do I get Cups-PDF to honor the username CUPS already has stored for the job? From jack at aiai.de Wed Apr 16 05:23:40 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 05:23:40 -0700 Subject: how to print directly to network printer using command line lp... ? Message-ID: <32427-cups.general@news.easysw.com> I've brother HL5250DN. Suse 10.2 finds the printer and I can print with e.g. OpenOffice and it works. But how can I print using lp on command line (bash scripts)? I tried as root: arthur:~ # lp -h laser -d pc16_ps ttt.ps lp: Not Found arthur:~ # lp -h laser ttt.ps lp: Fehler - Scheduler antwortet nicht! The same when using IP instead of "laser" ping laser works! (IP 10.0.0.116) looking in printer.conf how OpenOffice prints: <Printer hl5250> Info hl5250 Laser Location PC16 DeviceURI ipp://10.0.0.116:631/ipp State Idle StateTime 1208290778 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer> Is ipp the queue?? arthur:~ # lp -h hl5250 -d ipp ttt.ps lp: Not Found Printing to the CUPS-Queue on Suse 10.2 works: lp -d hl5250 ttt.ps But I want to print directly, NOT using the local queue. Where ist my fault? thx Ekkard From jack at aiai.de Wed Apr 16 05:25:19 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 05:25:19 -0700 Subject: how to print directly to network printer using command line lp...? In-Reply-To: <32427-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> Message-ID: <32428-cups.general@news.easysw.com> ekkard gerlach schrieb: > I've brother HL5250DN. Suse 10.2 finds the printer and I can print with > e.g. OpenOffice and it works. But how can I print using lp on command > line (bash scripts)? > > I tried as root: > arthur:~ # lp -h laser -d pc16_ps ttt.ps > lp: Not Found > arthur:~ # lp -h laser ttt.ps > lp: Fehler - Scheduler antwortet nicht! > The same when using IP instead of "laser" > > ping laser works! (IP 10.0.0.116) > > looking in printer.conf how OpenOffice prints: > <Printer hl5250> > Info hl5250 Laser > Location PC16 > DeviceURI ipp://10.0.0.116:631/ipp > State Idle > StateTime 1208290778 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > </Printer> > > Is ipp the queue?? > arthur:~ # lp -h hl5250 -d ipp ttt.ps sorry, correct: lp -h laser -d ipp ttt.ps > lp: Not Found > > Printing to the CUPS-Queue on Suse 10.2 works: > lp -d hl5250 ttt.ps > But I want to print directly, NOT using the local queue. Where ist my > fault? > > thx > Ekkard From h.blischke at srz.de Wed Apr 16 05:59:58 2008 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 16 Apr 2008 05:59:58 -0700 Subject: how to print directly to network printer using command line lp...? In-Reply-To: <32428-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> <32428-cups.general@news.easysw.com> Message-ID: <32429-cups.general@news.easysw.com> ekkard gerlach wrote: > ekkard gerlach schrieb: > >> I've brother HL5250DN. Suse 10.2 finds the printer and I can print >> with e.g. OpenOffice and it works. But how can I print using lp on >> command line (bash scripts)? >> >> I tried as root: >> arthur:~ # lp -h laser -d pc16_ps ttt.ps >> lp: Not Found >> arthur:~ # lp -h laser ttt.ps >> lp: Fehler - Scheduler antwortet nicht! >> The same when using IP instead of "laser" >> >> ping laser works! (IP 10.0.0.116) >> >> looking in printer.conf how OpenOffice prints: >> <Printer hl5250> >> Info hl5250 Laser >> Location PC16 >> DeviceURI ipp://10.0.0.116:631/ipp >> State Idle >> StateTime 1208290778 >> Accepting Yes >> Shared Yes >> JobSheets none none >> QuotaPeriod 0 >> PageLimit 0 >> KLimit 0 >> OpPolicy default >> ErrorPolicy stop-printer >> </Printer> >> >> Is ipp the queue?? >> arthur:~ # lp -h hl5250 -d ipp ttt.ps > > sorry, correct: lp -h laser -d ipp ttt.ps > >> lp: Not Found >> >> Printing to the CUPS-Queue on Suse 10.2 works: >> lp -d hl5250 ttt.ps >> But I want to print directly, NOT using the local queue. Where ist my >> fault? >> >> thx >> Ekkard The value to the -h option must be either the hostname or the IP address of the host to be accessed (here: the printer's). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From smith107 at llnl.gov Wed Apr 16 08:03:57 2008 From: smith107 at llnl.gov (David Smith) Date: Wed, 16 Apr 2008 08:03:57 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32430-cups.general@news.easysw.com> > David Smith wrote: > > ... > > My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to > > be rebuilt? I'll have either of the following rpms installed: > > Just make sure you have the 32-bit cups-libs package installed... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > I now seem to be hitting a software license issue... I [16/Apr/2008:07:51:24 -0700] Adding start banner page "none" to job 3. I [16/Apr/2008:07:51:24 -0700] Adding end banner page "none" to job 3. I [16/Apr/2008:07:51:24 -0700] Job 3 queued on "B453_R3028_p286" by "root". I [16/Apr/2008:07:51:24 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21688) for job 3. I [16/Apr/2008:07:51:24 -0700] Started backend /usr/lib/cups/backend/socket (PID 21689) for job 3. E [16/Apr/2008:07:51:24 -0700] [Job 3] No valid software license was found! E [16/Apr/2008:07:51:24 -0700] PID 21688 (/usr/lib/cups/filter/texttopcl) stopped with status 1! I [16/Apr/2008:07:51:24 -0700] Hint: Try setting the LogLevel to "debug" to find out more. Copied over /etc/software/license.dat file, now... I [16/Apr/2008:07:59:22 -0700] Adding start banner page "none" to job 4. I [16/Apr/2008:07:59:22 -0700] Adding end banner page "none" to job 4. I [16/Apr/2008:07:59:22 -0700] Job 4 queued on "B453_R3028_p286" by "root". I [16/Apr/2008:07:59:22 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21734) for job 4. I [16/Apr/2008:07:59:22 -0700] Started backend /usr/lib/cups/backend/socket (PID 21735) for job 4. W [16/Apr/2008:07:59:22 -0700] [Job 4] No system ID defined! warning about "system ID". David From mike at easysw.com Wed Apr 16 08:52:14 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 16 Apr 2008 08:52:14 -0700 Subject: Convert ESP ppd for CUPS? In-Reply-To: <32430-cups.general@news.easysw.com> References: <32430-cups.general@news.easysw.com> Message-ID: <32431-cups.general@news.easysw.com> David Smith wrote: >> David Smith wrote: >>> ... >>> My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to >>> be rebuilt? I'll have either of the following rpms installed: >> Just make sure you have the 32-bit cups-libs package installed... >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > I now seem to be hitting a software license issue... > > I [16/Apr/2008:07:51:24 -0700] Adding start banner page "none" to job 3. > I [16/Apr/2008:07:51:24 -0700] Adding end banner page "none" to job 3. > I [16/Apr/2008:07:51:24 -0700] Job 3 queued on "B453_R3028_p286" by "root". > I [16/Apr/2008:07:51:24 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21688) for job 3. > I [16/Apr/2008:07:51:24 -0700] Started backend /usr/lib/cups/backend/socket (PID 21689) for job 3. > E [16/Apr/2008:07:51:24 -0700] [Job 3] No valid software license was found! > E [16/Apr/2008:07:51:24 -0700] PID 21688 (/usr/lib/cups/filter/texttopcl) stopped with status 1! > I [16/Apr/2008:07:51:24 -0700] Hint: Try setting the LogLevel to "debug" to find out more. > > Copied over /etc/software/license.dat file, now... > > I [16/Apr/2008:07:59:22 -0700] Adding start banner page "none" to job 4. > I [16/Apr/2008:07:59:22 -0700] Adding end banner page "none" to job 4. > I [16/Apr/2008:07:59:22 -0700] Job 4 queued on "B453_R3028_p286" by "root". > I [16/Apr/2008:07:59:22 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21734) for job 4. > I [16/Apr/2008:07:59:22 -0700] Started backend /usr/lib/cups/backend/socket (PID 21735) for job 4. > W [16/Apr/2008:07:59:22 -0700] [Job 4] No system ID defined! > > warning about "system ID". Use tar to copy both the /etc/software/licenses.dat and /etc/software/sysid.dat files... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From Norm.Jacobs at Sun.COM Wed Apr 16 09:12:14 2008 From: Norm.Jacobs at Sun.COM (Norm Jacobs) Date: Wed, 16 Apr 2008 09:12:14 -0700 Subject: [cups.general] how to print directly to network printer using command line lp... ? In-Reply-To: <32427-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> Message-ID: <32432-cups.general@news.easysw.com> Presumably, you will not be able to print to it directly with the CUPS client commands. The last time I looked carefully at their implementation, they made some CUPS specific IPP requests before they actually used the IPP print-job or create-job/send-document sequence. It's unlikely that your printer implements the necessary CUPS IPP extensions, but stranger things have been known to happen. There are implementations of IPP that would allow you to send your job data directly to the printer. The CUPS ipp backend module is one, the OpenPrinting PAPI implementation is another, and I expect that there are others. You might also be able to send your job data over a raw TCP socket connection (usually to port 9100) or port 515 using rfc-1179 protocol. This all begs the question, why do you want to bypass the queue? -Norm ekkard gerlach wrote: > I've brother HL5250DN. Suse 10.2 finds the printer and I can print with > e.g. OpenOffice and it works. But how can I print using lp on command > line (bash scripts)? > > I tried as root: > arthur:~ # lp -h laser -d pc16_ps ttt.ps > lp: Not Found > arthur:~ # lp -h laser ttt.ps > lp: Fehler - Scheduler antwortet nicht! > The same when using IP instead of "laser" > > ping laser works! (IP 10.0.0.116) > > looking in printer.conf how OpenOffice prints: > <Printer hl5250> > Info hl5250 Laser > Location PC16 > DeviceURI ipp://10.0.0.116:631/ipp > State Idle > StateTime 1208290778 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > </Printer> > > Is ipp the queue?? > arthur:~ # lp -h hl5250 -d ipp ttt.ps > lp: Not Found > > Printing to the CUPS-Queue on Suse 10.2 works: > lp -d hl5250 ttt.ps > But I want to print directly, NOT using the local queue. Where ist my fault? > From jack at aiai.de Wed Apr 16 09:48:13 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 09:48:13 -0700 Subject: [cups.general] how to print directly to network printer usingcommand line lp... ? In-Reply-To: <32432-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> <32432-cups.general@news.easysw.com> Message-ID: <32433-cups.general@news.easysw.com> Norm Jacobs schrieb: > Presumably, you will not be able to print to it directly with the CUPS > client commands. The last time I looked carefully at their ok. > implementation, they made some CUPS specific IPP requests before they > actually used the IPP print-job or create-job/send-document sequence. > It's unlikely that your printer implements the necessary CUPS IPP > extensions, but stranger things have been known to happen. > There are implementations of IPP that would allow you to send your job > data directly to the printer. The CUPS ipp backend module is one, the > OpenPrinting PAPI implementation is another, and I expect that there are > others. You might also be able to send your job data over a raw TCP > socket connection (usually to port 9100) or port 515 using rfc-1179 > protocol. I remember, a MFC7820 Laserprinter is used in one customers office via 9100, but also using CUPS backend. > > This all begs the question, why do you want to bypass the queue? I thought I make only a little fault, I wanted to print to the HL5250 postscript printer directly with less effort. But it seem to be not very easy to bypass, so I print using CUPS backend, okay! Thats all what I wanted to know. thx Norm! Ekkard From pchapuis1 at gmail.com Wed Apr 16 14:31:25 2008 From: pchapuis1 at gmail.com (fifou) Date: Wed, 16 Apr 2008 14:31:25 -0700 Subject: How to get filename Message-ID: <32434-cups.general@news.easysw.com> Hello, I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. This header looks like this: %-12345X at PJL JOB @PJL JOB MODE=PRINTER @PJL SET HOLD=STORE @PJL SET HOLDTYPE=PRIVATE @PJL SET USERNAME="linux-pch" @PJL SET HOLDKEY="1222" @PJL SET JOBNAME="" I can't find anyway to get filename of my printed job and to fill in JOBNAME value. I have created a variable in my filter but don't know what I can write. Thanks for your help From ace_rules_bbs at hotmail.com Wed Apr 16 14:51:09 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Wed, 16 Apr 2008 14:51:09 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> Message-ID: <32435-cups.general@news.easysw.com> Michael R Sweet wrote: > Ace wrote: >> Ace wrote: >> >>> L.S. >>> >>> >>> I recently decoupled my printer from a desktop computer in an effort to >>> simplify things for the other networked computers, i.e. not having to >>> keep one machine running just for a printer.. >>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>> and the same driver it used when it was still connected directly by USB. >>> >>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>> photosmart 7350 colour printer. >>> >>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>> (recommended)". >>> >>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>> What happens is, I can print 1 job from this Linux machine. >>> After that, I can't do anything, because the first job never completes, >>> it is 'stuck' in the processing queue indefinitely and the printer will >>> forever show as 'processing..., accepting jobs'. >>> >>> If I print from a Windows machine, everything is fine. >>> So i'm assuming something needs to be done inside CUPS. >>> >>> Any ideas would be appreciated! >> >> Pretty please? :) > > The Linksys implementation has been broken for a long time. You can > report the problem to them or use an alternate protocol (LPD or > socket on port 4010 is the usual path...) > Hmm, that sorta kinda doesn't explain it though.. Windows clients can print, their jobs complete, and internally on the PSUS4 I can see nothing remaining in the queue, and the printer shows idle.. To me it looks like it is CUPS that is waiting for something to happen, while it already happened.. the logic there escapes me i'm afraid :/ The device requires no drivers to function, only the printer does. I haven't seen a note in the manual about LPD being supported, but I will have a look and see how far I can get this weekend. Thanks! From msweet at apple.com Wed Apr 16 15:52:00 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 16 Apr 2008 15:52:00 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32435-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> Message-ID: <32436-cups.general@news.easysw.com> Ace wrote: > Michael R Sweet wrote: > >> Ace wrote: >>> Ace wrote: >>> >>>> L.S. >>>> >>>> >>>> I recently decoupled my printer from a desktop computer in an effort to >>>> simplify things for the other networked computers, i.e. not having to >>>> keep one machine running just for a printer.. >>>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>>> and the same driver it used when it was still connected directly by USB. >>>> >>>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>>> photosmart 7350 colour printer. >>>> >>>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>>> (recommended)". >>>> >>>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>>> What happens is, I can print 1 job from this Linux machine. >>>> After that, I can't do anything, because the first job never completes, >>>> it is 'stuck' in the processing queue indefinitely and the printer will >>>> forever show as 'processing..., accepting jobs'. >>>> >>>> If I print from a Windows machine, everything is fine. >>>> So i'm assuming something needs to be done inside CUPS. >>>> >>>> Any ideas would be appreciated! >>> Pretty please? :) >> The Linksys implementation has been broken for a long time. You can >> report the problem to them or use an alternate protocol (LPD or >> socket on port 4010 is the usual path...) >> > Hmm, that sorta kinda doesn't explain it though.. Windows doesn't implement IPP/1.1, and doesn't require printers to actually support most of the IPP spec. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From justin.huang at liteon.com Wed Apr 16 20:35:33 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 16 Apr 2008 20:35:33 -0700 Subject: How to access a printer via its DEVICE_URI? Message-ID: <32437-cups.general@news.easysw.com> I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: usb://manufacturer_name/model_name I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. Am I doing my job in the correct direction? From justin.huang at liteon.com Wed Apr 16 22:01:56 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 16 Apr 2008 22:01:56 -0700 Subject: How to get filename Message-ID: <32438-cups.general@news.easysw.com> Hi, Why don't you fill it with argv[3]? It is defined to be the title/job-name associated with this job (name string). Justin Huang > Hello, > I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. > This header looks like this: > %-12345X at PJL JOB > @PJL JOB MODE=PRINTER > @PJL SET HOLD=STORE > @PJL SET HOLDTYPE=PRIVATE > @PJL SET USERNAME="linux-pch" > @PJL SET HOLDKEY="1222" > @PJL SET JOBNAME="" > > I can't find anyway to get filename of my printed job and to fill in JOBNAME value. > I have created a variable in my filter but don't know what I can write. > Thanks for your help > From pchapuis1 at gmail.com Wed Apr 16 22:45:57 2008 From: pchapuis1 at gmail.com (fifou) Date: Wed, 16 Apr 2008 22:45:57 -0700 Subject: How to get filename Message-ID: <32439-cups.general@news.easysw.com> Justin, That's what I added in my filter, but the variable $docname is empty. I wrote in my filter: my $docname = '$ARGV[3]' chomp $docname I tried argv[1] and {2] etc, nothing. I think it's due I don't send print over command line (lp or lpd). I print through OpenOffice. I select print options then print button. CUPS run the filter Phil > Hi, > Why don't you fill it with argv[3]? It is defined to be the title/job-name associated with this job (name string). > > Justin Huang > > > Hello, > > I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. > > This header looks like this: > > %-12345X at PJL JOB > > @PJL JOB MODE=PRINTER > > @PJL SET HOLD=STORE > > @PJL SET HOLDTYPE=PRIVATE > > @PJL SET USERNAME="linux-pch" > > @PJL SET HOLDKEY="1222" > > @PJL SET JOBNAME="" > > > > I can't find anyway to get filename of my printed job and to fill in JOBNAME value. > > I have created a variable in my filter but don't know what I can write. > > Thanks for your help > > > From ace_rules_bbs at hotmail.com Wed Apr 16 23:12:01 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Wed, 16 Apr 2008 23:12:01 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> Message-ID: <32440-cups.general@news.easysw.com> Michael R Sweet wrote: > Ace wrote: >> Michael R Sweet wrote: >> >>> Ace wrote: >>>> Ace wrote: >>>> >>>>> L.S. >>>>> >>>>> >>>>> I recently decoupled my printer from a desktop computer in an effort >>>>> to simplify things for the other networked computers, i.e. not having >>>>> to keep one machine running just for a printer.. >>>>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>>>> and the same driver it used when it was still connected directly by >>>>> USB. >>>>> >>>>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>>>> photosmart 7350 colour printer. >>>>> >>>>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>>>> (recommended)". >>>>> >>>>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>>>> What happens is, I can print 1 job from this Linux machine. >>>>> After that, I can't do anything, because the first job never >>>>> completes, it is 'stuck' in the processing queue indefinitely and the >>>>> printer will forever show as 'processing..., accepting jobs'. >>>>> >>>>> If I print from a Windows machine, everything is fine. >>>>> So i'm assuming something needs to be done inside CUPS. >>>>> >>>>> Any ideas would be appreciated! >>>> Pretty please? :) >>> The Linksys implementation has been broken for a long time. You can >>> report the problem to them or use an alternate protocol (LPD or >>> socket on port 4010 is the usual path...) >>> >> Hmm, that sorta kinda doesn't explain it though.. > > Windows doesn't implement IPP/1.1, and doesn't require printers to > actually support most of the IPP spec. > Users are not supposed to know about undocumented 'features' such as that.. (And this user did not know, until now) I got fed up and reset the printer configuration in CUPS, this could no longer wait till another weekend to fix. CUPS now shows: Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended) Printer State: idle, accepting jobs, published. Device URI: lpd://192.168.3.2/L1 You'll notice I changed the URI to lpd. CUPS now prints to the device as it should, jobs are spooled and immediately printed, and the jobs complete as far as I can tell (they disappear from the queue without error). No printer or PSUS4 settings were altered, printer driver in CUPS remains the same. I still do not understand why IPP hangs, you said Windows clients do not implement IPP/1.1, but the fact remains Windows clients can print normally under IPP protocol, and CUPS cannot. Also, I have noticed while watching CUPS through it's web interface, that CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, and then the job starts printing, but never finishes. Current setup; Windows client still uses IPP, CUPS now uses LPD. Some googling revealed that the device URI can end in several (some undocumented?) ways, namely L1, P1, queue, or be accessed directly via JetDirect on port 9100. Manual as delivered with device speaks of IPP (Well, mine does). Also, it appears the current device version is '1.00', and the stock firmware (as delivered within the device) is '6350', yet the Linksys website reports the latest firmware version as '6034' dated 2/01/2005. Quirky setup, but at least it works now. From jsmeix at suse.de Thu Apr 17 01:23:02 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Thu, 17 Apr 2008 01:23:02 -0700 Subject: [cups.general] How to get filename In-Reply-To: <32434-cups.general@news.easysw.com> References: <32434-cups.general@news.easysw.com> Message-ID: <32441-cups.general@news.easysw.com> Hello, On Apr 16 14:31 fifou wrote (shortened): > ... I print from Suse over OPenOffice .... > I can't find anyway to get filename of my printed job There is no filename value in the (meta)-data of a print job because a filename value is meaningless for a print job (it doesn't matter where the data comes form, from a file or from stdout from a program or from whereever). All what is available is the job title, see "man filter". When an application program prints, it sets usually an appropriate value for the job title (e.g. browsers may use the URL of the web page as job title - another example why a filename value is meaningless for a print job). If in your case OOo does not set a job title, there is nothing you can do in the printing system to get one afterwards. In this case the issue must be addressed in OOo. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jsmeix at suse.de Thu Apr 17 02:06:05 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Thu, 17 Apr 2008 02:06:05 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32440-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> <32440-cups.general@news.easysw.com> Message-ID: <32442-cups.general@news.easysw.com> Hello, On Apr 16 23:12 Ace wrote (shortened): > I still do not understand why IPP hangs, you said Windows clients do not > implement IPP/1.1, but the fact remains Windows clients can print normally > under IPP protocol, and CUPS cannot. > Also, I have noticed while watching CUPS through it's web interface, that > CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, > and then the job starts printing, but never finishes. I do not understand why you do not understand that the hardware is broken because it simply does not correctly implement the IPP protocol and why you insist that this is a CUPS problem? The fact remains that Windows clients cannot print normally under IPP protocol simply because Windows has not a correct IPP protocol implementation so that strictly speaking Windows cannot do IPP at all - it does something like IPP but not full IPP. I do not understand why you do not ask the manufacturer or vendor of those broken hardware for a fix. The manufacturer or vendor sold you a piece of hardware which claims to support the IPP protocol but seems to fail for both IPP/1.1 and IPP/1.0. Have a look at http://www.cups.org/documentation.php/network.html ----------------------------------------------------------- The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest, fastest, and generally the most reliable network protocol used for printers. .... IPP is the only protocol that CUPS supports natively and is supported by some network printers and print servers. However, since many printers do not implement IPP properly, only use IPP when the vendor actually documents official support for it. .... LPD is the original network printing protocol and is supported by many network printers. Due to limitations in the LPD protocol, we do not recommend using it if the printer or server supports one of the other protocols. ----------------------------------------------------------- I do not understand why you seem to insist that you must use the most complicated protocol (IPP) to just send the prtinting data to the printserver box instead of using what is recommended? Only because an incomplete IPP implementation in Windows works by chance with the broken IPP implementation in this broken hardware? Or perhaps because IPP is "state of the art"? Even if in your case the "state of the art" implementation is plain broken in this broken piece of hardware crap? By the way: Do not assume that you can get device status for your HP PhotoSmart 7350 via the HPLIP hp-toolbox program when the device is "hidden" behind a non-HP printserver box. See http://hplip.sourceforge.net/supported_devices/photosmart.html ---------------------------------------------------------------- Photosmart 7350: Network or JetDirect: No Network support indicates built-in ethernet and/or wireless networking. Alternatively, many devices may be operated on the network using an external JetDirect print server. Not all network configurations are supported. Please refer to the HPLIP FAQs for more information. ---------------------------------------------------------------- and the HPLIP FAQ reads: ---------------------------------------------------------------- Question: Does HPLIP support networked printers? Answer: Yes, HPLIP supports printers that are directly network connected (via a built-in Ethernet port) or connected to a network via a JetDirect. Question: What network print servers are supported? Answer: Currently we have only tested HP JetDirect devices with HPLIP. No other network print servers are supported. ---------------------------------------------------------------- The reason is that device status query requires a bidirectional communication or certain SNMP support which works with a HP built-in Ethernet port or certain HP JetDirect printserver boxes but does usually not work with other printserver boxes. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From justin.huang at liteon.com Thu Apr 17 03:22:56 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 03:22:56 -0700 Subject: Unable to open USB device Message-ID: <32443-cups.general@news.easysw.com> > > URIs of the form "usb:/dev/usb/*" are no longer supported in CUPS > 1.2, largely because those device names are not stable, i.e. the > number will change on you whenever you boot, cycle the power on the > printer, or disconnect/connect the printer. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Document Software http://www.easysw.com How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? From kjell.grindalen at nsa.no Thu Apr 17 03:56:24 2008 From: kjell.grindalen at nsa.no (Kjell) Date: Thu, 17 Apr 2008 03:56:24 -0700 Subject: Maximum number of printer queue's Message-ID: <32444-cups.general@news.easysw.com> Hello everyone I have a very general question, how many printer queue's can cups handle Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. Does someone here have some large installation of cups that can give me some pointers to the possibillities cups have? What kind of os would be best fitted for this task? Linux or Solaris ? From msweet at apple.com Thu Apr 17 07:58:34 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 07:58:34 -0700 Subject: [cups.general] How to access a printer via its DEVICE_URI? In-Reply-To: <32437-cups.general@news.easysw.com> References: <32437-cups.general@news.easysw.com> Message-ID: <32445-cups.general@news.easysw.com> Justin Huang wrote: > I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: > usb://manufacturer_name/model_name > > I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. The backend code does this already, but keep in mind that USB support is highly OS/distro-specific - sometimes it will map to a character device you can read/write, but often you will need to do a lot more work. > Am I doing my job in the correct direction? You would probably be better off running the backend and communicating via pipes - file descriptor 0 of the backend should be the incoming side of a pipe to send data to the device, file descriptors 1, 2, and 4 should go to /dev/null, and file descriptor 3 should be the outgoing side of a pipe to receive data from the device. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From bamapookie at gmail.com Thu Apr 17 08:06:23 2008 From: bamapookie at gmail.com (Shawn K.) Date: Thu, 17 Apr 2008 08:06:23 -0700 Subject: Printing to Xerox with Xerox Standard Accounting enabled Message-ID: <32446-cups.general@news.easysw.com> At work, I have to print to a Xerox 7345 WorkCenter that has Xerox Standard Accounting enabled. Windows users get a prompt when they print to enter a group number (in my case, 50), so that total printed pages can be tracked by group. I get no such prompt with the Linux/CUPS/xerox ppd file. I only get a series of beeps and a 016-757 error (invalid password). I have tried adding things to the url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried creating a user with the name of the group and printing with that, but nothing works. Does anyone have any insight? From h.blischke at srz.de Thu Apr 17 08:35:32 2008 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 17 Apr 2008 08:35:32 -0700 Subject: Printing to Xerox with Xerox Standard Accounting enabled In-Reply-To: <32446-cups.general@news.easysw.com> References: <32446-cups.general@news.easysw.com> Message-ID: <32447-cups.general@news.easysw.com> Shawn K. wrote: > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox Standard Accounting enabled. Windows users get a prompt when they print to enter a group number (in my case, 50), so that total printed pages can be tracked by group. I get no such prompt with the Linux/CUPS/xerox ppd file. I only get a series of beeps and a 016-757 error (invalid password). I have tried adding things to the url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried creating a user with the name of the group and printing with that, but nothing works. Does anyone have any insight? I suspect the user input (e.g. the "50" for the group number etc.) gets somehow encrypted by a proprietary algorithm. In a similar case at our site (dealing with a multi purpose device from another vendor) we installed a "fake printer" via samba which did nothing but dump the print stream to a file which we then could inspect in order to save the encrypted authentification data which we then used insede a special CUPS backend. It's tedious, but ... Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From alet at librelogiciel.com Thu Apr 17 08:36:15 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Thu, 17 Apr 2008 08:36:15 -0700 Subject: [cups.general] Printing to Xerox with Xerox Standard Accounting enabled In-Reply-To: <32446-cups.general@news.easysw.com> References: <32446-cups.general@news.easysw.com> Message-ID: <32448-cups.general@news.easysw.com> On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > Standard Accounting enabled. Windows users get a prompt when they > print to enter a group number (in my case, 50), so that total > printed pages can be tracked by group. I get no such prompt with > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > 016-757 error (invalid password). I have tried adding things to the > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > creating a user with the name of the group and printing with that, > but nothing works. Does anyone have any insight? I can suggest you something that **may** be illegal or not, but that is probably at least not in accordance with your company's IT rules. So decide for yourself if you want to do it this way : Simply install the printer's standard PPD file on your CUPS server, then direct all printing for this queue to socket://192.168.0.22:9100 This particular setup worked perfectly the last time I've checked, but it was for a different brand of printers (I won't give more details). NB : It may not work if your print admin has correctly configured the printer to disable unwanted protocols, or if there's some firewalling between your computer and the printer, or if your printer is smarter than the ones I've checked this "feature" on, or for any other reason. As always YMMV, but I certify it worked for me. hth Jerome Alet From t.kuestermann at tu-bs.de Thu Apr 17 09:32:49 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 17 Apr 2008 09:32:49 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32449-cups.general@news.easysw.com> The problem is solved now. The backend wrapper is based on Groovy, which is a Java virtual machine based scripting language. The error occurs, because the jvm closes each open file descriptor, especially the back-channel file descriptor (FD3). It leads to the problem, that FD3 in the real backend is for some other purpose (open socket, print file) as for the back-channel. The problem can be solved by starting the real backend with a native method (JNI). - TK From t.kuestermann at tu-bs.de Thu Apr 17 09:47:23 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 17 Apr 2008 09:47:23 -0700 Subject: Errors according CUPS Java source files Message-ID: <32450-cups.general@news.easysw.com> Hello! Before I place a Bug report, can anybody confirm these problems, please? First of all, I want to refer to the Java class com.easysw.cups.IPPAttribute (<cups_directory>/scripting/java/src/com/easysw/IPPAttribute.java): - Missing import statements for "Charset" and "ByteBuffer": <code> import java.nio.ByteBuffer; import java.nio.charset.Charset; </code> - Line 266 / 372 should be: <code>Charset utf8 = Charset.forName("UTF-8"); // Java Syntax</code> instead of <code>Charset utf8 = Charset::forName("UTF-8"); // C-Syntax</code> - Each occurency of <code>n = temp.capacity();</code> should be replaced with <code>n = temp.remaining();</code> in order to prevent a BufferUnderflowException, refering to http://java.sun.com/javase/6/docs/api/java/nio/ByteBuffer.html#get(byte[], int, int) Secondly, I want to refer to the CUPS Java archive (cups.jar) placed in <cups_directory>/scripting/java/ : - The archive contains old CUPS Java classes, which use ISO-8859-1 instead of UTF-8 contrary to the source files - The archive is not right formatted. It looks like: <jar tf cups.jar> META-INF/ META-INF/MANIFEST.MF ../../../../classes/com/easysw/cups/ ../../../../classes/com/easysw/cups/IPPDefs.class ../../../../classes/com/easysw/cups/IPPError.class ../../../../classes/com/easysw/cups/IPPStatus.class ../../../../classes/com/easysw/cups/IPPCalendar.class ../../../../classes/com/easysw/cups/IPPValue.class ../../../../classes/com/easysw/cups/IPPAttribute.class ../../../../classes/com/easysw/cups/IPPRequest.class ../../../../classes/com/easysw/cups/IPPURLConnection.class ../../../../classes/com/easysw/cups/IPP.class ../../../../classes/com/easysw/cups/IPPHttp.class ../../../../classes/com/easysw/cups/CupsJob.class ../../../../classes/com/easysw/cups/Cups.class ../../../../classes/com/easysw/cups/CupsPrinter.class ../../../../classes/com/easysw/cups/IPPBase64Encoder.class ../../../../classes/com/easysw/cups/IPPMD5.class </jar tf cups.jar> But it has to look like this, in order to fulfill the specs: <jar tf cups.jar> META-INF/ META-INF/MANIFEST.MF com/easysw/cups/ com/easysw/cups/IPPDefs.class com/easysw/cups/IPPError.class com/easysw/cups/IPPStatus.class com/easysw/cups/IPPCalendar.class com/easysw/cups/IPPValue.class com/easysw/cups/IPPAttribute.class com/easysw/cups/IPPRequest.class com/easysw/cups/IPPURLConnection.class com/easysw/cups/IPP.class com/easysw/cups/IPPHttp.class com/easysw/cups/CupsJob.class com/easysw/cups/Cups.class com/easysw/cups/CupsPrinter.class com/easysw/cups/IPPBase64Encoder.class com/easysw/cups/IPPMD5.class </jar tf cups.jar> Can anybody confirm the described problems? - TK From w.jardel at gmail.com Thu Apr 17 10:27:51 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Thu, 17 Apr 2008 10:27:51 -0700 Subject: How to retrieve cups job informations on the fly? Message-ID: <32451-cups.general@news.easysw.com> Hi there. I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). How could I get these informations in realtime? using filters? jobs.cache? spool? Let me know if you don't completely understand what I want to do, and I'll try to explain it better. Thank you in advance, Jardel From w.jardel at gmail.com Thu Apr 17 10:29:07 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Thu, 17 Apr 2008 10:29:07 -0700 Subject: How to retrieve cups job informations in realtime? Message-ID: <32452-cups.general@news.easysw.com> Hi there. I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). How could I get these informations in realtime? using filters? jobs.cache? spool? Let me know if you don't completely understand what I want to do, and I'll try to explain it better. Thank you in advance, Jardel From msweet at apple.com Thu Apr 17 10:42:00 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:42:00 -0700 Subject: [cups.general] Unable to open USB device In-Reply-To: <32443-cups.general@news.easysw.com> References: <32443-cups.general@news.easysw.com> Message-ID: <32453-cups.general@news.easysw.com> Justin Huang wrote: >> URIs of the form "usb:/dev/usb/*" are no longer supported in CUPS >> 1.2, largely because those device names are not stable, i.e. the >> number will change on you whenever you boot, cycle the power on the >> printer, or disconnect/connect the printer. >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com >> Internet Printing and Document Software http://www.easysw.com > > How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? We open every USB printer and get the 1284 device ID, which gives us the make and model. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 17 10:55:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:55:53 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <32444-cups.general@news.easysw.com> References: <32444-cups.general@news.easysw.com> Message-ID: <32454-cups.general@news.easysw.com> Kjell wrote: > Hello everyone > > I have a very general question, how many printer queue's can cups handle > Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. That depends entirely on the system you use. We regularly test configuration with 10000 queues to ensure that CUPS can scale that large, however actual performance will depend on the type of printers used, how they are connected, and the CPUs, memory, and disk you have. We used to have an "estimator" page on the easysw.com page which provided guidelines for CPU, memory, disk, and configuration options. I'll look at getting this page up on cups.org... In the meantime, you'll find that PostScript printers require less CPU and memory than non-PostScript printers, and you can use the FilterLimit directive to control how many jobs are printed simultaneously. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 17 10:58:24 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:58:24 -0700 Subject: [cups.general] Errors according CUPS Java source files In-Reply-To: <32450-cups.general@news.easysw.com> References: <32450-cups.general@news.easysw.com> Message-ID: <32455-cups.general@news.easysw.com> Thomas K?stermann wrote: > Hello! > > Before I place a Bug report, can anybody confirm these problems, please? Don't bother filing a bug report. The Java stuff has been largely unmaintained for several years and has been dropped from CUPS 1.4. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From ace_rules_bbs at hotmail.com Thu Apr 17 10:58:51 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Thu, 17 Apr 2008 10:58:51 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> <32440-cups.general@news.easysw.com> <32442-cups.general@news.easysw.com> Message-ID: <32456-cups.general@news.easysw.com> Comments inline :) Johannes Meixner wrote: > > Hello, > > On Apr 16 23:12 Ace wrote (shortened): >> I still do not understand why IPP hangs, you said Windows clients do not >> implement IPP/1.1, but the fact remains Windows clients can print >> normally under IPP protocol, and CUPS cannot. >> Also, I have noticed while watching CUPS through it's web interface, that >> CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, >> and then the job starts printing, but never finishes. > > I do not understand why you do not understand that the hardware > is broken because it simply does not correctly implement the > IPP protocol and why you insist that this is a CUPS problem? Because there is no visual hint (cracks, dents, magic smoke, fire, odd smells, etc.) of hardware failure in printer or printserver. Both function normally, and do not display failure with their status logs (in the printservers case), lights or (in the printer's case) by LCD display. Whether or not IPP was not correctly implemented is none of my business, I am an end user and should not and do not know about this in advance until someone tells me it is not correctly implemented. How did I end up here? because it was CUPS that was showing errors, while the equipment connected to it was happily accepting jobs from computers not running CUPS. CUPS complained, I looked up it's forums, and here I am asking questions. > The fact remains that Windows clients cannot print normally > under IPP protocol simply because Windows has not a correct > IPP protocol implementation so that strictly speaking Windows > cannot do IPP at all - it does something like IPP but not > full IPP. Again, whether or not IPP was not correctly implemented is none of my business, and I will assume for a moment that you know how well willing Microsoft is when it comes to delivering detailed, human readable documentation about protocols used in Windows. I hope you didn't misread my previous message, where I said that Windows clients CAN print normally. How would I deduct from that that Microsoft's idea of implementing IPP is flawed, 'something like IPP but not full IPP'? > I do not understand why you do not ask the manufacturer > or vendor of those broken hardware for a fix. > The manufacturer or vendor sold you a piece of hardware > which claims to support the IPP protocol but seems > to fail for both IPP/1.1 and IPP/1.0. Which I might have if the hardware was broken, which it is not. The printer is rapidly approaching it's 4th birthday, and the last driver update from HP themselves was in 2006 - the device is considered EOL (End Of Life), and as far as HP is concerned you buy yourself a new printer. I do not call that fixing things, I can waste my money in better ways. As for the Linksys PSUS4, it may date back to 2003 somewhere and the last firmware was released in 2005. Having dealt with both HP and Linksys both in business-use context and home-use context, calling them is about as useful as a chocolate teapot. > Have a look at > http://www.cups.org/documentation.php/network.html > ----------------------------------------------------------- > The AppSocket protocol (sometimes also called the > JetDirect protocol, owing to its origins with the > HP JetDirect network interfaces) is the simplest, > fastest, and generally the most reliable network > protocol used for printers. > ... > IPP is the only protocol that CUPS supports natively > and is supported by some network printers and print > servers. However, since many printers do not implement > IPP properly, only use IPP when the vendor actually > documents official support for it. > ... > LPD is the original network printing protocol and is > supported by many network printers. Due to limitations > in the LPD protocol, we do not recommend using it > if the printer or server supports one of the other > protocols. > ----------------------------------------------------------- The above would have been a great FAQ for on the front page of the CUPS website, but it isn't. I do however appreciate you pointing that section out to me, because it is helpful, and I would not have come across it otherwise. > I do not understand why you seem to insist that you must > use the most complicated protocol (IPP) to just send > the prtinting data to the printserver box instead > of using what is recommended? I never implied that I was insisting, it was CUPS throwing the errors, not the devices. Logical next step was to look up the CUPS website to look for a solution there, first. Neither the printer, or the printserver, nor CUPS, came with a recommendation of any sort. CUPS came preinstalled with my system, end of story - received nothing else. > Only because an incomplete IPP implementation in Windows > works by chance with the broken IPP implementation in > this broken hardware? > > Or perhaps because IPP is "state of the art"? > Even if in your case the "state of the art" implementation > is plain broken in this broken piece of hardware crap? Do I detect a dislike for *insert any of the following here: Microsoft, Windows, Linksys, Hewlett-Packard, All of the above* ?? Perhaps you are having a bad day. I forgive you, I do tech support as well, but at least I do not snap at the people asking me questions. Remember: There are no stupid questions. only stupid answers. > > By the way: > > Do not assume that you can get device status for your > HP PhotoSmart 7350 via the HPLIP hp-toolbox program > when the device is "hidden" behind a non-HP printserver box. > > See > http://hplip.sourceforge.net/supported_devices/photosmart.html > ---------------------------------------------------------------- > Photosmart 7350: Network or JetDirect: No > > Network support indicates built-in ethernet and/or wireless > networking. Alternatively, many devices may be operated on > the network using an external JetDirect print server. > Not all network configurations are supported. Please > refer to the HPLIP FAQs for more information. > ---------------------------------------------------------------- > and the HPLIP FAQ reads: > ---------------------------------------------------------------- > Question: Does HPLIP support networked printers? > Answer: Yes, HPLIP supports printers that are directly network > connected (via a built-in Ethernet port) or connected to a > network via a JetDirect. > > Question: What network print servers are supported? > Answer: Currently we have only tested HP JetDirect devices > with HPLIP. No other network print servers are supported. > ---------------------------------------------------------------- > > The reason is that device status query requires a bidirectional > communication or certain SNMP support which works with a HP > built-in Ethernet port or certain HP JetDirect printserver boxes > but does usually not work with other printserver boxes. > > > Kind Regards > Johannes Meixner From justin.huang at liteon.com Thu Apr 17 11:19:19 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 11:19:19 -0700 Subject: How to access a printer via its DEVICE_URI? Message-ID: <32457-cups.general@news.easysw.com> > Justin Huang wrote: > > I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: > > usb://manufacturer_name/model_name > > > > I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. > > The backend code does this already, but keep in mind that USB support > is highly OS/distro-specific - sometimes it will map to a character > device you can read/write, but often you will need to do a lot more > work. > > > Am I doing my job in the correct direction? > > You would probably be better off running the backend and communicating > via pipes - file descriptor 0 of the backend should be the incoming > side of a pipe to send data to the device, file descriptors 1, 2, and > 4 should go to /dev/null, and file descriptor 3 should be the outgoing > side of a pipe to receive data from the device. > I can let my raster filter receive data from a network connected printer (port 9100) by calling cupsBackChannelRead(). I believe I can do it again for a USB printer. But if I do so, the end-user can monitor the printer only when he or she is making print. What about the other time? A standalone status monitor in Windows is common. Is it rare in CUPS world? From msweet at apple.com Thu Apr 17 12:40:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 12:40:53 -0700 Subject: [cups.general] How to access a printer via its DEVICE_URI? In-Reply-To: <32457-cups.general@news.easysw.com> References: <32457-cups.general@news.easysw.com> Message-ID: <32458-cups.general@news.easysw.com> Justin Huang wrote: >> Justin Huang wrote: >>> I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: >>> usb://manufacturer_name/model_name >>> >>> I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. >> The backend code does this already, but keep in mind that USB support >> is highly OS/distro-specific - sometimes it will map to a character >> device you can read/write, but often you will need to do a lot more >> work. >> >>> Am I doing my job in the correct direction? >> You would probably be better off running the backend and communicating >> via pipes - file descriptor 0 of the backend should be the incoming >> side of a pipe to send data to the device, file descriptors 1, 2, and >> 4 should go to /dev/null, and file descriptor 3 should be the outgoing >> side of a pipe to receive data from the device. >> > > I can let my raster filter receive data from a network connected printer (port 9100) by calling cupsBackChannelRead(). I believe I can do it again for a USB printer. But if I do so, the end-user can monitor the printer only when he or she is making print. What about the other time? A standalone status monitor in Windows is common. Is it rare in CUPS world? That is what command filters are for along with the cached printer attributes (marker-*, printer-state-reasons, etc.) which can convey most kinds of status information to a utility or the standard user programs. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mark.richards at massmicro.com Thu Apr 17 13:08:36 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Thu, 17 Apr 2008 13:08:36 -0700 Subject: [cups.general] HP Color LaserJet 3600 - install fails windows In-Reply-To: <47F2F60B.5060408@massmicro.com> References: <47F2F60B.5060408@massmicro.com> Message-ID: <32459-cups.general@news.easysw.com> I am working a rather frustrating problem with cups and windows xp and a color laser jet 3600 printer. I had posted this to cups bugs, but perhaps it's not the correct place. When we try to install an HP Color LaserJet 3600 (windows xp driver) to a working cups server ("working means that the cups server can print a test page and we've also set up a raw queue for the same printer), windows hangs attempting to "connect" to the printer. I suspect that the driver is treating the cups server as if it's the printer and perhaps expecting something special. There's one error noted in the cups error (debug enabled) log: DNS-SD registration of "HP-3600-hpijs" failed with -65537 Note that from any linux box we can send to the cups server fine and the 3600 prints perfectly. Solution: don't print from windows? Wish we could do that. Your thoughts as to how we might fix this are welcome! /m Here's the rest of the info: yum info cups Installed Packages Name : cups Arch : i386 Epoch : 1 Version: 1.3.6 Release: 2.fc8 Size : 9.9 M Repo : installed uname -A 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux Clients: both linux and windowx xp sp2 Printers: HP Laser Jet 1200 (parallel port): works great from all clients HP color laser jet: * Description:* HP Color LaserJet 3600 + hpijs ppd *Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs *Printer State:* idle, accepting jobs, published. * Device URI:* usb://HP/Color%20LaserJet%203600 Here's the error log (debug enabled): I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6) I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4) I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain) I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp... I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients. I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host. I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default! I [01/Apr/2008:22:46:00 -0400] Full reload is required. I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters... D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW... D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200... E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"... D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache... I [01/Apr/2008:22:46:00 -0400] Full reload complete. I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14... I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15... I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16... I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Report: clients=0 D [01/Apr/2008:22:46:00 -0400] Report: jobs=12 D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0 D [01/Apr/2008:22:46:00 -0400] Report: printers=3 D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744 D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0... D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon() D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain) D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1 D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided. D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok) The cups.conf file reads: # 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 BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic <Location /> Allow 192.168.1.0/24 # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin> # Allow remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> From henri at stmargarets.school.nz Thu Apr 17 16:43:08 2008 From: henri at stmargarets.school.nz (henri) Date: Thu, 17 Apr 2008 16:43:08 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 23 In-Reply-To: <fc.3b9aca00bfb51a2a3b9aca00bfb51a2a.69bddf@stmargarets.school.nz> References: <fc.3b9aca00bfb51a2a3b9aca00bfb51a2a.69bddf@stmargarets.school.nz> Message-ID: <32460-cups.general@news.easysw.com> We are running Debin LINUX print servers. The reason for using Debian is because PyKota (our print accounting software) is in the global apt repositories. We have about 300 print queues split across 3 or 4 servers. From my experience CUPS is very good at spooling these jobs quickly and intelligently. Our LINUX print servers are not high spec machines. Yet they easily handle the load with regards CPU usage. If someone prints a 3GIG file. Then it takes a while to print. This is because these low spec machines have a 100Mb/s network link. Moving 3GIG of data across this link takes time. I am quite sure, that if we upgraded the connections to these servers to 1000MB/s then we will see 3GIG files arriving at the print server quicker. However, these files still need to be spooled to the printers and these are normally only have 100MB/s network links. Sorry that is not really answering your question. But it may help? > What kind of os would be best fitted for this task? Linux or Solaris ? From marianoaliaga at gmail.com Thu Apr 17 17:26:20 2008 From: marianoaliaga at gmail.com (Mariano Aliaga) Date: Thu, 17 Apr 2008 17:26:20 -0700 Subject: Printing text with ascii control characters Message-ID: <32461-cups.general@news.easysw.com> Hi, I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). How can I print BOTH kind of contents right? Any help would be appreciated. Thanks in advance. From henri at stmargarets.school.nz Thu Apr 17 17:29:37 2008 From: henri at stmargarets.school.nz (henri) Date: Thu, 17 Apr 2008 17:29:37 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <fc.3b9aca00509dc42d3b9aca00509dc42d.69be1f@stmargarets.school.nz> References: <fc.3b9aca00509dc42d3b9aca00509dc42d.69be1f@stmargarets.school.nz> Message-ID: <32462-cups.general@news.easysw.com> > you can use the FilterLimit directive to control how many jobs are > printed Thanks. That explains why I have seen CUP's intelligently handling the jobs. From justin.huang at liteon.com Thu Apr 17 22:33:32 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 22:33:32 -0700 Subject: Unable to open USB device Message-ID: <32463-cups.general@news.easysw.com> > > > > How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? > > We open every USB printer and get the 1284 device ID, which gives us > the make and model. > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? From mike at easysw.com Fri Apr 18 00:18:36 2008 From: mike at easysw.com (Michael Sweet) Date: Fri, 18 Apr 2008 00:18:36 -0700 Subject: Unable to open USB device In-Reply-To: <32463-cups.general@news.easysw.com> References: <32463-cups.general@news.easysw.com> Message-ID: <32464-cups.general@news.easysw.com> Justin Huang wrote: >>> How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? >> We open every USB printer and get the 1284 device ID, which gives us >> the make and model. >> > > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? The CUPS source code (backend/usb-unix.c) shows exactly how we do it. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From kjell.grindalen at nsa.no Fri Apr 18 00:46:20 2008 From: kjell.grindalen at nsa.no (Kjell) Date: Fri, 18 Apr 2008 00:46:20 -0700 Subject: Maximum number of printer queue's Message-ID: <32465-cups.general@news.easysw.com> > Kjell wrote: > > Hello everyone > > > > I have a very general question, how many printer queue's can cups handle > > Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. > > That depends entirely on the system you use. > > We regularly test configuration with 10000 queues to ensure that CUPS > can scale that large, however actual performance will depend on the > type of printers used, how they are connected, and the CPUs, memory, > and disk you have. > > We used to have an "estimator" page on the easysw.com page which > provided guidelines for CPU, memory, disk, and configuration options. > I'll look at getting this page up on cups.org... > > In the meantime, you'll find that PostScript printers require less > CPU and memory than non-PostScript printers, and you can use the > FilterLimit directive to control how many jobs are printed > simultaneously. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thank you very much for the answer, I would really love to see such an configurator,or some other means of guide to how to size a large installation. A possible large migration project will require me to have some sort of measurement criteria for setting up a linux/unix counterpart to a windows print server Also I am happy to hear that cups is usable for large installation, since the Novell pages claims that cups is only usable for small to medium sized print environment, and hence you should go for iPrint that can support several hundreds(?) of printer queues :-) From b.krumboeck at rewe-group.at Fri Apr 18 01:41:54 2008 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Fri, 18 Apr 2008 01:41:54 -0700 Subject: Socket problem Message-ID: <32466-cups.general@news.easysw.com> > Phil Cowans wrote: > > I'm experiencing problems with CUPS locking up on our network. We have an HP LJ4000 on a JetDirect interface, using the foomatic hpijs driver (we want to be able to do PS->PCL conversion on the server for complex jobs). For some jobs (not necessarily particularly complex ones), the job is accepted but stays on the queue with very little happening. Closer inspection shows the socket://... process using close to 100% CPU. Attaching strace it appears to be looping on reads from the socket which return 0 bytes (EOF?). > > > > Any ideas on how to solve this? > > I've never seen that with our 4000, but then I've never bothered with > the Foomatic hpijs driver. Try the original HP PPD file (you can find > it on cups.org) or the HP LaserJet Series driver that comes with CUPS. > > More than likely the Foomatic driver is doing something that is > causing the HP to throw exceptions (but no data...) > > Another possibility is that you have some bad network gear/cabling, > but try the alternate drivers first. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hello! We have the same problem on several printers and cups servers (1.3.6). But we only see it on big jobs. (example) OS: SuSE Linux 8.2 Printer: HP LaserJet 4200 Driver: HP LaserJet 4200 Foomatic/pxlmono The problem didn't happen until cups 1.3.x Which informations should we collect? regards! Bernd From jsmeix at suse.de Fri Apr 18 02:28:29 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 18 Apr 2008 02:28:29 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <32465-cups.general@news.easysw.com> References: <32465-cups.general@news.easysw.com> Message-ID: <32467-cups.general@news.easysw.com> Hello, On Apr 18 00:46 Kjell wrote (shortened): > Also I am happy to hear that cups is usable for large installation, > since the Novell pages claims that cups is only usable for small > to medium sized print environment, and hence you should go > for iPrint that can support several hundreds(?) of printer > queues :-) Could you provide me an URL where you got this information? I guess it is marketing stuff but it makes a differnce whether iPrint is just offered as "best for big business" or whether CUPS is described to be insufficient for this. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jsmeix at suse.de Fri Apr 18 03:09:08 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 18 Apr 2008 03:09:08 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> Message-ID: <32468-cups.general@news.easysw.com> Hello, On Apr 18 11:28 Johannes Meixner wrote (shortened): > On Apr 18 00:46 Kjell wrote (shortened): > > Also I am happy to hear that cups is usable for large installation, > > since the Novell pages claims that cups is only usable for small > > to medium sized print environment, and hence you should go > > for iPrint that can support several hundreds(?) of printer > > queues :-) > > Could you provide me an URL where you got this information? I found this document http://www.novell.com/collateral/4621412/4621412.pdf which reads ------------------------------------------------------------------ While CUPS will meet many of the needs of small to medium printing environments, it does not scale to meet the needs of enterprise customers. iPrint, on the other hand, can host hundreds of printers and process substantial amounts of data that CUPS cannot approach. With CUPS, the conversion into the printer-specific format of all data to be printed takes place by default directly on the server. The advantage is that a print client system that does filtering is not necessary; the disadvantage is that the filtering process devours too many resources when a single server must support hundreds of printers. With iPrint, in contrast, the filtering takes place on the client system, but this requires the installation of printer drivers on the client. If you are setting up printing in an enterprise environment, check on iPrint availability before making a final decision. ------------------------------------------------------------------ Is this what you read? If the unconditioned "that CUPS cannot approach" wording was replaced by "that CUPS doesn't approach by default", I would not see a problem because I think the pro and cons are sufficiently described (in such a short text). Of course they don't say explicitely that with CUPS you can use raw queues on the server and do the filtering on the clients if you like while with iPrint you cannot do the filtering on the server so that with iPrint you must install printer driver software on each client system and maintain it for each client system. Perhaps even with raw queues a CUPS server might be slower than an iPrint server - perhaps noticeable only above a certain number of print queues or simultaneously active print jobs - perhaps only with CUPS 1.1 or whatever? Currently I don't have comparison data for this case. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From twaugh at redhat.com Fri Apr 18 03:58:14 2008 From: twaugh at redhat.com (Tim Waugh) Date: Fri, 18 Apr 2008 03:58:14 -0700 Subject: [cups.general] How to retrieve cups job informations on the fly? In-Reply-To: <32451-cups.general@news.easysw.com> References: <32451-cups.general@news.easysw.com> Message-ID: <32469-cups.general@news.easysw.com> On Thu, 2008-04-17 at 10:27 -0700, Jardel Weyrich wrote: > I want to know HOW and what's the BETTER way to get the contents from > the job structure (cups_job_t) in realtime (on the fly). I mean, when > someone in the network uses the printer (through CUPS obviously), I > must "log" as many informations as possible about that (# of pages, # > of copies, colored or not, resolution, paper type, and so on). How about using IPP subscriptions? Perform an IPP-Create-Printer-Subscription request, and periodically perform IPP-Get-Notifications requests. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.cups.org/pipermail/cups/attachments/20080418/f864f6bb/attachment.sig> From h.blischke at srz.de Fri Apr 18 04:31:22 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 18 Apr 2008 04:31:22 -0700 Subject: Printing text with ascii control characters In-Reply-To: <32461-cups.general@news.easysw.com> References: <32461-cups.general@news.easysw.com> Message-ID: <32470-cups.general@news.easysw.com> Mariano Aliaga wrote: > Hi, > I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". > The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). > How can I print BOTH kind of contents right? Any help would be appreciated. > > Thanks in advance. Insert into this printer's PPD a line (near the beginning) *cupsFilter: "text/plain 0 -" which causes text files being fed directly to the printer's backend; no filters involved. If your text jobs begin with a unique control sequence, you could even define a "proprietary" document format to distinguish these from ordinary text. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From Rongfeng.Mao at us.sogeti.com Fri Apr 18 05:55:23 2008 From: Rongfeng.Mao at us.sogeti.com (Rongfeng.Mao at us.sogeti.com) Date: Fri, 18 Apr 2008 05:55:23 -0700 Subject: [cups.general] CUPS Java API ? References: <32463-cups.general@news.easysw.com> <32464-cups.general@news.easysw.com> Message-ID: <32471-cups.general@news.easysw.com> Hi Michael, First of all, thanks for all your effort put CUPS all together! I am new leaner to CUPS, currently, we are engaged with a client for java/web based interface to connect to CUPS for scheduling and printing to a retail store, when I do Google search, only find few simple Java sample. Question here is: 1) Is there a place where I can find the full release of CUPS Java API? 2) How can we handle scheduling? For example, print a file at midnight every day. Is this handled by CUPS scheduler itself? If so, where should I look into. 3) Or we have to write it from Java program and schedule it ourselves? Thanks! regrads, Robert Mao, ITIL Principal Consultant Sogeti USA 248-787-7511 Robert.Mao at us.sogeti.com -----Original Message----- From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Michael Sweet Sent: Friday, April 18, 2008 3:19 AM To: cups at easysw.com Subject: Re: [cups.general] Unable to open USB device Justin Huang wrote: >>> How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? >> We open every USB printer and get the 1284 device ID, which gives us >> the make and model. >> > > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? The CUPS source code (backend/usb-unix.c) shows exactly how we do it. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com _______________________________________________ cups mailing list cups at easysw.com http://lists.easysw.com/mailman/listinfo/cups From marianoaliaga at gmail.com Fri Apr 18 07:40:16 2008 From: marianoaliaga at gmail.com (Mariano Aliaga) Date: Fri, 18 Apr 2008 07:40:16 -0700 Subject: [SOLVED] Printing text with ascii control characters Message-ID: <32472-cups.general@news.easysw.com> Just for the record... I could fix this by modifying the /etc/cups/mime.convs file. I changed: text/plain application/postscript 33 texttopaps to: text/plain application/postscript 33 textonly This way, I use the Postscript driver and can print both types of contents. > Hi, > I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". > The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). > How can I print BOTH kind of contents right? Any help would be appreciated. > > Thanks in advance. From msweet at apple.com Fri Apr 18 09:09:42 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 18 Apr 2008 09:09:42 -0700 Subject: [cups.general] Socket problem In-Reply-To: <32466-cups.general@news.easysw.com> References: <32466-cups.general@news.easysw.com> Message-ID: <32473-cups.general@news.easysw.com> Bernd Krumb?ck wrote: >> Phil Cowans wrote: >>> I'm experiencing problems with CUPS locking up on our network. We have an HP LJ4000 on a JetDirect interface, using the foomatic hpijs driver (we want to be able to do PS->PCL conversion on the server for complex jobs). For some jobs (not necessarily particularly complex ones), the job is accepted but stays on the queue with very little happening. Closer inspection shows the socket://... process using close to 100% CPU. Attaching strace it appears to be looping on reads from the socket which return 0 bytes (EOF?). >>> >>> Any ideas on how to solve this? >> I've never seen that with our 4000, but then I've never bothered with >> the Foomatic hpijs driver. Try the original HP PPD file (you can find >> it on cups.org) or the HP LaserJet Series driver that comes with CUPS. >> >> More than likely the Foomatic driver is doing something that is >> causing the HP to throw exceptions (but no data...) >> >> Another possibility is that you have some bad network gear/cabling, >> but try the alternate drivers first. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > > Hello! > > > We have the same problem on several printers and cups servers (1.3.6). But we only see it on big jobs. > > (example) > OS: SuSE Linux 8.2 > Printer: HP LaserJet 4200 > Driver: HP LaserJet 4200 Foomatic/pxlmono > > The problem didn't happen until cups 1.3.x > Which informations should we collect? The error_log output should be enough for the linuxprinting.org folks to diagnose the problem in Foomatic (i.e. it isn't a CUPS issue, but a driver issue...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 18 09:14:52 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 18 Apr 2008 09:14:52 -0700 Subject: [cups.general] CUPS Java API ? In-Reply-To: <F48BBE60DEFBBB49B0367A43DF8DE57502FDDC52@sgtex03.sogeti.com> References: <32463-cups.general@news.easysw.com> <32464-cups.general@news.easysw.com> <F48BBE60DEFBBB49B0367A43DF8DE57502FDDC52@sgtex03.sogeti.com> Message-ID: <32474-cups.general@news.easysw.com> Rongfeng.Mao at us.sogeti.com wrote: > ... > 1) Is there a place where I can find the full release of CUPS Java API? In CUPS 1.3.x, look in scripting/java. As I mentioned in another posting, this Java code is largely unmaintained and has been dropped from CUPS 1.4.x. > 2) How can we handle scheduling? For example, print a file at midnight > every day. Is this handled by CUPS scheduler itself? If so, where should > I look into. If you want a job to print at midnight, you can use the job-hold-until attribute with the time to print. Keep in mind that the hold time is expressed in UTC and *not* local time. For example, if you are on the US East cost you'd use the following option to print a job at midnight: lp -o job-hold-until=05:00 filename If you want to schedule the generation and printing of a report at midnight, the usual way is to use cron or at to schedule things. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From kjell.grindalen at nsa.no Fri Apr 18 09:15:44 2008 From: kjell.grindalen at nsa.no (Kjell Grindalen) Date: Fri, 18 Apr 2008 09:15:44 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> Message-ID: <32475-cups.general@news.easysw.com> Page 7 of this pdf document on migration http://www.novell.com/collateral/4621412/4621412.pdf Mvh Kjell Grindalen -----Original Message----- From: Johannes Meixner [mailto:jsmeix at suse.de] Sent: 18. april 2008 11:28 To: Kjell Grindalen Cc: cups at easysw.com Subject: Re: [cups.general] Maximum number of printer queue's Hello, On Apr 18 00:46 Kjell wrote (shortened): > Also I am happy to hear that cups is usable for large installation, > since the Novell pages claims that cups is only usable for small > to medium sized print environment, and hence you should go > for iPrint that can support several hundreds(?) of printer > queues :-) Could you provide me an URL where you got this information? I guess it is marketing stuff but it makes a differnce whether iPrint is just offered as "best for big business" or whether CUPS is described to be insufficient for this. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From dave at nowdata.com Fri Apr 18 10:15:09 2008 From: dave at nowdata.com (dave) Date: Fri, 18 Apr 2008 10:15:09 -0700 Subject: cannot extract the embedded font Message-ID: <32476-cups.general@news.easysw.com> I'm using CUPS to convert an html page to a pdf document on MAC 10.4 and when opened on a PC, I get this error: Cannot extract the embedded font 'XXXXX+Arial-BoldMT'. What can be done? Can font embedding be disabled? Thank you, Dave From rugenl at missouri.edu Fri Apr 18 19:31:33 2008 From: rugenl at missouri.edu (Len Rugen) Date: Fri, 18 Apr 2008 19:31:33 -0700 Subject: Cups client question Message-ID: <32477-cups.general@news.easysw.com> I'm trying to evaluate alternatives to IBM's InfoPrint manager. We are printing from multiple hosts, Solars, Linux and Windows. With InfoPrint, we do not have to define the printers to each host, the application learns the desired printer name from the user, so the only administration is on the InfoPrint server. I can't seem to determine if CUPS printers would have to be pre-defined to every host or just to the centeral server. Which is it? Thanks From Norm.Jacobs at Sun.COM Fri Apr 18 21:30:30 2008 From: Norm.Jacobs at Sun.COM (Norm Jacobs) Date: Fri, 18 Apr 2008 21:30:30 -0700 Subject: [cups.general] Cups client question In-Reply-To: <32477-cups.general@news.easysw.com> References: <32477-cups.general@news.easysw.com> Message-ID: <32478-cups.general@news.easysw.com> CUPS client software can be pointed at a central print server by adding an entry to /etc/cups/client.conf or ~/.cups/client.conf on your client systems or user's home directories. See client.conf(5) for more information. -Norm Len Rugen wrote: > I'm trying to evaluate alternatives to IBM's InfoPrint manager. > > We are printing from multiple hosts, Solars, Linux and Windows. With InfoPrint, we do not have to define the printers to each host, the application learns the desired printer name from the user, so the only administration is on the InfoPrint server. > > I can't seem to determine if CUPS printers would have to be pre-defined to every host or just to the centeral server. Which is it? > > Thanks > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From pchapuis1 at gmail.com Sat Apr 19 05:19:57 2008 From: pchapuis1 at gmail.com (fifou) Date: Sat, 19 Apr 2008 05:19:57 -0700 Subject: Printing to Xerox with Xerox Standard Accountingenabled Message-ID: <32479-cups.general@news.easysw.com> > On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > > Standard Accounting enabled. Windows users get a prompt when they > > print to enter a group number (in my case, 50), so that total > > printed pages can be tracked by group. I get no such prompt with > > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > > 016-757 error (invalid password). I have tried adding things to the > > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > > creating a user with the name of the group and printing with that, > > but nothing works. Does anyone have any insight? > > I can suggest you something that **may** be illegal or not, but that > is probably at least not in accordance with your company's IT rules. > So decide for yourself if you want to do it this way : > > Simply install the printer's standard PPD file on your CUPS server, > then direct all printing for this queue to socket://192.168.0.22:9100 > > This particular setup worked perfectly the last time I've checked, > but it was for a different brand of printers (I won't give more > details). > > NB : It may not work if your print admin has correctly configured the printer > to disable unwanted protocols, or if there's some firewalling between > your computer and the printer, or if your printer is smarter than the > ones I've checked this "feature" on, or for any other reason. As always > YMMV, but I certify it worked for me. > > hth > > Jerome Alet > If XSA Xerox Standard Accoutning, is turned on on the device, you have to add header at the beginning of the PostScript file. This can be done with a filter. In the PPD you add the name of the filter and into this one you add specific command known by Xerox device. To get these commands, the best way is to do an output file from Windows driver or by connecting to Xerox Web site you can get PDL guide. http://www.office.xerox.com/support/dctips/dc_print.html Hope this will help Phil From franz.pfoertsch at brose.com Sun Apr 20 05:08:01 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Sun, 20 Apr 2008 05:08:01 -0700 Subject: Printing to Xerox with Xerox Standard Accountingenabled Message-ID: <32480-cups.general@news.easysw.com> > > On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > > > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > > > Standard Accounting enabled. Windows users get a prompt when they > > > print to enter a group number (in my case, 50), so that total > > > printed pages can be tracked by group. I get no such prompt with > > > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > > > 016-757 error (invalid password). I have tried adding things to the > > > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > > > creating a user with the name of the group and printing with that, > > > but nothing works. Does anyone have any insight? > > > > I can suggest you something that **may** be illegal or not, but that > > is probably at least not in accordance with your company's IT rules. > > So decide for yourself if you want to do it this way : > > > > Simply install the printer's standard PPD file on your CUPS server, > > then direct all printing for this queue to socket://192.168.0.22:9100 > > > > This particular setup worked perfectly the last time I've checked, > > but it was for a different brand of printers (I won't give more > > details). > > > > NB : It may not work if your print admin has correctly configured the printer > > to disable unwanted protocols, or if there's some firewalling between > > your computer and the printer, or if your printer is smarter than the > > ones I've checked this "feature" on, or for any other reason. As always > > YMMV, but I certify it worked for me. > > > > hth > > > > Jerome Alet > > > > If XSA Xerox Standard Accoutning, is turned on on the device, you have to add header at the beginning of the PostScript file. This can be done with a filter. In the PPD you add the name of the filter and into this one you add specific command known by Xerox device. > To get these commands, the best way is to do an output file from Windows driver or by connecting to Xerox Web site you can get PDL guide. > http://www.office.xerox.com/support/dctips/dc_print.html > Hope this will help > Phil > I build something similar to use the additional features of a Canon iR multifuntion devices. I am using the job jcl features of cups which is available since cups 1.1.23 http://www.pfoertsch.net/wiki/index.php/Main/CuPs I looked at pdl-description at http://www.office.xerox.com/support/dctips/dc07cc0430.pdf And you have to to something like the following lines the the ppd of the workcenter the solution looks very static but there are some specialist available on the net ... *% === Job Control Language == *JCLBegin: "<1B>%-12345X at PJL JOB<0A>" *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = Postscript <0A>" *JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X" *% Base JCL Job Attribute option *JCLOpenUI JCLJobAttr: PickOne *OrderDependency: 10 JCLSetup *JCLJobAttr *DefaultJCLJobAttr: None *JCLJobAttr None/No mailbox: "" *JCLJobAttr Patricia/Patricia: "@PJL SET JOBATTR=@JOAU=Patricia<OA>@PJL SET JOBATTR=@JOAP=<0A> @PJL SET JOBATTR=@DAID=<0A>" *JCLJobAttr Shawn/Shawn: "@PJL SET JOBATTR=@JOAU=Shawn <OA>@PJL SET JOBATTR=@JOAP=50<0A>@PJL SET JOBATTR=???@DAID=50???<0A>" *JCLCloseUI: *JCLJobAttr From henri at stmargarets.school.nz Sun Apr 20 21:06:38 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 20 Apr 2008 21:06:38 -0700 Subject: [cups.general] Cups client question In-Reply-To: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> References: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> Message-ID: <32481-cups.general@news.easysw.com> I am currently adding features to PrinterSetup, so that it will support automatic print queue creation on both clients and servers from one centrally managed location. I will post a message back to this list, once version 0025 is released with the required features to support this kind of centralized management. I expect that before version 0030 is released, there will be a Mac OS X client component and this will be bundled with PrinterSetup. I hope this helps. If you are looking for a solution for an operating system other then Mac OS X, then you are welcome to help develop a PrinterSetup update schedular for the operating systems you need supported. I am happy to help. It would be great to have a free, open source, cross platform, centrally managed print queue distribution system. I would be happy to have some help. Details on PrinterSetup are available from : http://www.lucidsystems.org/printingworks/printersetup/ Please keep in mind that PrinterSetup is still in an alpha stage of development. > I can't seem to determine if CUPS printers would have to be pre- > defined to every host or just to the centeral server. Which is it? From jaap at gordijn.org Mon Apr 21 02:14:36 2008 From: jaap at gordijn.org (gordijn) Date: Mon, 21 Apr 2008 02:14:36 -0700 Subject: Run script if print job starts Message-ID: <32482-cups.general@news.easysw.com> Hi, I am using CUPS and I want to accomplish the following: - if a print job starts, I want to invoke a script (the script will power on my printer). Is there a hook in cups that I can use for such a script? Best regards, -- Jaap Gordijn From martin.bisanz at chello.at Mon Apr 21 02:19:29 2008 From: martin.bisanz at chello.at (Martin Bisanz) Date: Mon, 21 Apr 2008 02:19:29 -0700 Subject: Problem printing PDF's Message-ID: <32483-cups.general@news.easysw.com> 1st post here so please go easy on me, I'll try to supply you with as much information as possible. We're running CUPS 1.2.7 here. The printer is a HP LaserJet5. The ppd used is the one for HP LaserJet Series PCL 4/5 CUPS v1.2. Testpage prints just fine on A4. Printing the PDF's works too, but there are troubles, because eventhough the PDF is A4 in size, Cups sends it to the printer as Letter, it's just one press of a button to print it anyway on A4, but this installation of Cups runs on a PBX and should print faxes and it would be nice if it did that without the need to press a button on the printer. The command CUPS gets for printing from the PBX is correct. Now I've tried scaling the pdf with fitplot to print it on A4, still the same behaviour. I've tried every printing option for PDF's there is, maybe I've done something wrong. I even tried to print a PDF that has got exactly the size of the imageable area on an A4 page, because I thought that maybe the margins are the culprit, still the same. I've turned on debugging, to see what happens, but I don't really know what to do with the messages. Maybe someone else knows better than me, well that's why I came here in the first place. This is the log from the PDF which is exactly 7.76x10.69in big and thus should fit perfectly on an A4 page within the margins. I would like to add that there was a whole bunch of these: "Discarding unused printer-state-changed event..." in the log which I've deleted because It's already long enough. [18/Apr/2008:17:30:00 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [18/Apr/2008:17:30:00 +0200] cupsdReadClient: 9 POST /printers/faxprinter HTTP/1.1 D [18/Apr/2008:17:30:00 +0200] cupsdAuthorize: No authentication data provided. D [18/Apr/2008:17:30:00 +0200] Print-Job ipp://localhost/printers/faxprinter D [18/Apr/2008:17:30:00 +0200] print_job: auto-typing file... D [18/Apr/2008:17:30:00 +0200] print_job: request file type is application/pdf. D [18/Apr/2008:17:30:00 +0200] add_job: requesting-user-name="root" I [18/Apr/2008:17:30:00 +0200] Adding start banner page "none" to job 42. D [18/Apr/2008:17:30:00 +0200] Discarding unused job-created event... I [18/Apr/2008:17:30:00 +0200] Adding end banner page "none" to job 42. I [18/Apr/2008:17:30:00 +0200] Job 42 queued on "faxprinter" by "root". D [18/Apr/2008:17:30:00 +0200] Job 42 hold_until = 0 D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] job-sheets=none,none D [18/Apr/2008:17:30:00 +0200] banner_page = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[0]="faxprinter" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[1]="42" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[2]="root" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[3]="Testseite.pdf" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[4]="1" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[5]="PageRegion=Letter PageSize=A4 InputSlot=Default media=A4 job-uuid=urn:uuid:e231dc4f-4e5d-3d0c-731e-8ea38586adb9" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[6]="/var/spool/cups/d00042-001" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[1]="CUPS_DATADIR=/usr/share/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[6]="CUPS_SERVERROOT=/etc/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[7]="CUPS_STATEDIR=/var/run/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[9]="SERVER_ADMIN=root at VoipPBX3" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[10]="SOFTWARE=CUPS/1.2.7" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[11]="TMPDIR=/var/spool/cups/tmp" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[12]="TZ=CET" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[13]="USER=root" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[15]="CUPS_ENCRYPTION=IfRequested" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[16]="IPP_PORT=631" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[17]="CHARSET=utf-8" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[18]="LANG=C" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[19]="PPD=/etc/cups/ppd/faxprinter.ppd" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[20]="RIP_MAX_CACHE=8m" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[21]="CONTENT_TYPE=application/pdf" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[22]="DEVICE_URI=socket://192.168.120.10:9100" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[23]="PRINTER=faxprinter" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[24]="FINAL_CONTENT_TYPE=printer/faxprinter" I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pdftops (PID 368) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pstops (PID 369) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pstoraster (PID 370) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/rastertohp (PID 371) for job 42. I [18/Apr/2008:17:30:00 +0200] Started backend /usr/lib/cups/backend/socket (PID 372) for job 42. D [18/Apr/2008:17:30:00 +0200] Discarding unused job-state event... D [18/Apr/2008:17:30:00 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [18/Apr/2008:17:30:00 +0200] [Job 42] Running /usr/bin/gs-esp -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - D [18/Apr/2008:17:30:00 +0200] [Job 42] START 0 1397176 113672 1300844 11688 true 511 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END PROCS 1 1417272 130792 1300844 13056 true 629 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_std_e.ps 2 1437368 140740 1300844 14432 true 638 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_il1_e.ps 3 1457464 146787 1300844 14432 true 639 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FONTDIR/ENCS 3 1457464 146939 1300844 14432 true 641 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END DEVS 5 1461168 167406 1300844 14432 true 645 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END STATD 6 1481264 178525 1300844 16044 true 650 3 <0> E [18/Apr/2008:17:30:00 +0200] [Job 42] pdftops-options: -cfg /etc/cups/pdftops.conf D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] END GS_FONTS 82 1521456 216155 1300844 16044 true 698 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END BASIC COLOR 83 1521456 224009 1300844 16044 true 713 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END LEVEL 1 COLOR 84 1541552 229119 1300844 16044 true 714 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END IMAGE 85 1541552 232862 1300844 16044 true 719 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_btokn.ps 86 1541552 236985 1300844 16044 true 722 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps1.ps 86 1541552 238738 1300844 16044 true 724 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps2.ps 87 1541552 241191 1300844 16044 true 725 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_type1.ps 88 1541552 246128 1300844 16044 true 732 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_lev2.ps 93 1561648 266169 1396944 112540 true 738 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] BEGIN RESOURCES 93 1561648 268305 1396944 112540 true 738 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END CATEGORY 94 1561648 269761 1396944 112696 true 739 5 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GENERIC 95 1591584 287362 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FIXED 96 1591584 292741 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END MISC 96 1591584 297171 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END ENCODING 97 1591584 298961 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_resmp.ps 98 1611680 311571 1396944 112696 true 745 3 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_resst.ps 99 1611680 321861 1396944 112696 true 745 3 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_res.ps 99 1611680 319776 1396944 112696 true 745 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_typ42.ps 100 1631776 323475 1396944 112696 true 748 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidfn.ps 101 1631776 335857 1396944 112696 true 760 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidcm.ps 103 1641616 352215 1396944 112696 true 760 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_fntem.ps 105 1701904 381419 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidtt.ps 107 1701904 387672 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidfm.ps 107 1701904 388857 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cmap.ps 109 1701904 395239 1396944 112792 true 766 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_setpd.ps 110 1722000 410062 1396944 112792 true 766 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_typ32.ps 111 1722000 411134 1396944 112792 true 764 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_frsd.ps 112 1722000 411855 1396944 112792 true 764 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_ll3.ps 113 1742096 431878 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mex_e.ps 114 1742096 434109 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mro_e.ps 115 1742096 434765 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_pdf_e.ps 115 1742096 435425 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_wan_e.ps 116 1742096 439162 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_ops.ps 117 1742096 448258 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_l2img.ps 118 1742096 449953 1396944 112792 true 768 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_rbld.ps 118 1762192 455780 1396944 112792 true 780 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_base.ps 120 1762192 464122 1396944 112792 true 982 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_draw.ps 122 1802384 493081 1396944 112792 true 982 4 <0> D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] Connected to 192.168.120.10:9100 (IPv4)... D [18/Apr/2008:17:30:00 +0200] [Job 42] backendRunLoop(print_fd=0, device_fd=4, use_bc=1) D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_font.ps 128 1822480 515338 1396944 113188 true 983 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_main.ps 130 1842576 531915 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_sec.ps 131 1842576 537597 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_css_e.ps 132 1842576 538465 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cff.ps 133 1862672 558382 1396944 113188 true 990 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mgl_e.ps 134 1862672 559127 1396944 113188 true 990 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_agl.ps 136 1915816 606405 1396944 113188 true 991 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_ttf.ps 139 1980856 667318 1396944 113188 true 1021 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_icc.ps 140 1980856 670892 1396944 113188 true 1022 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps.ps 141 1980856 672437 1396944 113188 true 1035 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dpnxt.ps 142 2000952 676684 1396944 113188 true 1052 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_epsf.ps 143 2000952 679990 1396944 113188 true 1064 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_fapi.ps 143 2000952 682264 1396944 113188 true 1064 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_pdfwr.ps 145 2021048 699278 1396944 114750 true 1094 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END INITFILES 146 2021048 702853 1396944 114750 true 1121 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category Decoding D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource Unicode ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource StandardEncoding ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource Latin1 ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category Decoding D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category CMap D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource 90ms-RKSJ-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource 90ms-RKSJ-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource ETen-B5-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource ETen-B5-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource GBK-EUC-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource GBK-EUC-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSC-Johab-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSC-Johab-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSCms-UHC-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSCms-UHC-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniCNS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniCNS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniGB-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniGB-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniHojo-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniJIS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniJIS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniKS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniKS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category CMap D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category ColorSpace D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultGray ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultRGB ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultCMYK ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category ColorSpace D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_stres.ps 150 2121528 795136 1396944 114750 true 1122 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END STATIC RESOURCES 151 2121528 795156 1396944 114750 true 1122 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] ./Fontmap 151 2121528 796801 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/cups/fonts/Fontmap 152 2121528 798878 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/8.15/lib/Fontmap 152 2121528 800972 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/8.15/Resource/Fontmap 155 2201912 849016 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/fonts/Fontmap 156 2201912 851107 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /var/lib/defoma/gs.d/dirs/fonts/Fontmap 156 2201912 853206 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/cups/fonts/Fontmap 158 2222008 866878 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/ghostscript/fonts/Fontmap 158 2222008 868962 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/local/lib/ghostscript/fonts/Fontmap 159 2222008 871062 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FONTS 159 2222008 873183 1396944 115544 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Subtractive gray mapping not implementedSubtractive gray mapping not implementedDEBUG2: cups_open(0x8601dc4) D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] END DEVICE 173 2543544 1193083 1396196 114796 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END CONFIG 174 2543544 1193221 1396196 114796 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:00 +0200] [612.0 792.0] D [18/Apr/2008:17:30:00 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] /.LockSafetyParams D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Updating PageSize to [612 792]... D [18/Apr/2008:17:30:00 +0200] [Job 42] size = Letter D [18/Apr/2008:17:30:00 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Reallocating memory, [612 792] = 800x1000 pixels... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] END INIT 179 2583736 1233247 1436388 144308 true 1133 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GLOBAL 180 2583736 1236659 1436388 144714 false 1132 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GC 190 2295632 804106 1436388 144554 false 1119 3 <0> D [18/Apr/2008:17:30:00 +0200] cupsdCloseClient: 9 D [18/Apr/2008:17:30:00 +0200] [Job 42] Page = 595x842; 18,36 to 577,806 D [18/Apr/2008:17:30:00 +0200] [Job 42] slow_collate=0, slow_duplex=0, slow_order=0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_comments - %!PS-Adobe-3.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] %!PS-Adobe-3.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%Creator: xpdf/pdftops 3.01 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%LanguageLevel: 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%DocumentSuppliedResources: (atend) D [18/Apr/2008:17:30:00 +0200] [Job 42] %%DocumentMedia: plain 595 841 0 () () D [18/Apr/2008:17:30:00 +0200] [Job 42] %%BoundingBox: 0 0 595 841 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%Pages: 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%EndComments D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_prolog - %%BeginDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_setup - %%BeginSetup D [18/Apr/2008:17:30:00 +0200] [Job 42] Before page loop - %%Page: 1 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] Copying page 1... D [18/Apr/2008:17:30:00 +0200] [Job 42] pagew = 559.0, pagel = 770.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] bboxw = 595, bboxl = 842 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageLeft = 18.0, PageRight = 577.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageTop = 806.0, PageBottom = 36.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageWidth = 595.0, PageLength = 842.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] runEPS: Normal DSC D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Header D [18/Apr/2008:17:30:00 +0200] [Job 42] << /EPSF 0 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Creator D [18/Apr/2008:17:30:00 +0200] [Job 42] << /Creator (xpdf/pdftops 3.01) /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /For D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /For (\(root\)) >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Title D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /Title (\(Testseite.pdf\)) >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Pages D [18/Apr/2008:17:30:00 +0200] [Job 42] << /NumPages 0 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /BoundingBox D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /BeginDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /EndDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:00 +0200] [595.0 842.0] D [18/Apr/2008:17:30:00 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:00 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:00 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Reallocating memory, [595 842] = 776x1069 pixels... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsMediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsMediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 776x1069 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsColorOrder D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 3 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsColorSpace D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsCompression D [18/Apr/2008:17:30:01 +0200] [300 300] D [18/Apr/2008:17:30:01 +0200] [Job 42] /HWResolution D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsColorOrder to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsColorSpace to 3... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsCompression to 2... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 2329x3208 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] /Duplex D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 2329x3208 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [612.0 792.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [612 792]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = Letter D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [612 792] = 2400x3000 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /Page D [18/Apr/2008:17:30:01 +0200] [Job 42] << /PageNum 1 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /PageBoundingBox D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /PageOrientation D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /PageOrientation 0 >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 1 pages... D [18/Apr/2008:17:30:01 +0200] PID 369 (/usr/lib/cups/filter/pstops) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] cups_print_chunked - flip = 0, height = 3000 D [18/Apr/2008:17:30:01 +0200] Discarding unused job-progress event... D [18/Apr/2008:17:30:01 +0200] [Job 42] StartPage... D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaClass = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaColor = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaType = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] OutputType = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] AdvanceDistance = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] AdvanceMedia = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Collate = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] CutMedia = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] ImagingBoundingBox = [ 18 36 594 756 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] InsertSheet = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Jog = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] LeadingEdge = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Margins = [ 18 36 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] ManualFeed = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaPosition = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaWeight = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MirrorPrint = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] NegativePrint = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] NumCopies = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] Orientation = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] OutputFaceUp = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Separations = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] TraySwitch = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Tumble = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsWidth = 2400 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsHeight = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsMediaType = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBytesPerLine = 300 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsCompression = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 140 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 140 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 34 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 34 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 98 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 98 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 93 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 93 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 99 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 99 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 86 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 86 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /Pages D [18/Apr/2008:17:30:01 +0200] [Job 42] << /NumPages 1 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /BoundingBox D [18/Apr/2008:17:30:01 +0200] [Job 42] << /BoundingBox [0 0 595 841] /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /EOF D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] PID 370 (/usr/lib/cups/filter/pstoraster) exited with no errors. D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] PID 371 (/usr/lib/cups/filter/rastertohp) exited with no errors. D [18/Apr/2008:17:30:01 +0200] PID 368 (/usr/lib/cups/filter/pdftops) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 2255 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 2255 bytes of print data... D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] PID 372 (/usr/lib/cups/backend/socket) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] File 0 is complete. D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] Discarding unused job-completed event... D [18/Apr/2008:17:30:02 +0200] Unloading job 42... From alet at librelogiciel.com Mon Apr 21 02:25:34 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Mon, 21 Apr 2008 02:25:34 -0700 Subject: [cups.general] Run script if print job starts In-Reply-To: <32482-cups.general@news.easysw.com> References: <32482-cups.general@news.easysw.com> Message-ID: <32484-cups.general@news.easysw.com> On Mon, Apr 21, 2008 at 02:14:36AM -0700, gordijn wrote: > Hi, > > I am using CUPS and I want to accomplish the following: > - if a print job starts, I want to invoke a script (the script will power on my printer). > Is there a hook in cups that I can use for such a script? You can write a script which will subscribe through IPP to the appropriate event to be IPP notified when a job enters the print queue, and then use whatever method to wake your printer up. If you've got the script to wake the printer up, the easiest way for you is probably to use Tea4CUPS though, available under the terms of the GNU GPL from http://www.pykota.com, because you will only need 5 minutes to do what you want with it. hth Jerome Alet From beatyrm at auburn.edu Mon Apr 21 08:20:00 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Mon, 21 Apr 2008 08:20:00 -0700 Subject: cups + Samba on Solaris 10 x86 Problem printingwith Banner Message-ID: <32485-cups.general@news.easysw.com> > Robert Beaty wrote: > > I will detail my setup first then describe the problem and try and provide information about logging. > > > > Solaris 10 x86 > > CUPS 1.2.7 CSW pre-compiled pkg > > Samba 3.0.28a - Compiled locally > > CUPS 1.2.x + raw queues + banner (or just multiple) files does not > work. You need CUPS 1.3.x to get support for raw queues with banner > files. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Ok, well that is good to know. I'll get a new version of CUPS compiled and running and hope for the best. Thanks for the information. -Robert From mark.coolen at gmail.com Mon Apr 21 12:16:44 2008 From: mark.coolen at gmail.com (Mark Coolen) Date: Mon, 21 Apr 2008 12:16:44 -0700 Subject: Force linux user when printing from XP Message-ID: <32486-cups.general@news.easysw.com> I'm trying to set up faxing from XP to cups using HPLIP with a HP Laserjet 3050. It works fine using the Microsoft Image Writer postscript driver except that the windows username (I'm in am Active Directory domain environment) has to be the same as the linux user hp-sendfax is run as for hp-sendfax to pick up the printed document (I'm using NX to run hp-sendfax on the XP machines.) My question is: is there any way for me to have CUPS think that a certain user owns the print job (i.e. office) regardless of the actual windows login name? Hp-sendfax picks up the fax pages based on the username associated with the cups print job. Mark Coolen From w.jardel at gmail.com Mon Apr 21 16:37:23 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 16:37:23 -0700 Subject: How to retrieve cups job informations on the fly? Message-ID: <32487-cups.general@news.easysw.com> > Hi there. > > I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). > > How could I get these informations in realtime? using filters? jobs.cache? spool? > > Let me know if you don't completely understand what I want to do, and I'll try to explain it better. > > Thank you in advance, > Jardel Is there a way to delete this message? It's duplicated From w.jardel at gmail.com Mon Apr 21 16:38:17 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 16:38:17 -0700 Subject: How to retrieve cups job informations in realtime? Message-ID: <32488-cups.general@news.easysw.com> > Hi there. > > I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). > > How could I get these informations in realtime? using filters? jobs.cache? spool? > > Let me know if you don't completely understand what I want to do, and I'll try to explain it better. > > Thank you in advance, > Jardel The best way I found is using subscriptions. From jsmeix at suse.de Tue Apr 22 05:01:01 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 22 Apr 2008 05:01:01 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181148590.4793@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> <Pine.LNX.4.64.0804181148590.4793@nelson.suse.de> Message-ID: <32489-cups.general@news.easysw.com> Hello, On Apr 18 12:08 Johannes Meixner wrote (shortened): > Perhaps even with raw queues a CUPS server might be slower > than an iPrint server - perhaps noticeable only above a > certain number of print queues or simultaneously active > print jobs - perhaps only with CUPS 1.1 or whatever? > Currently I don't have comparison data for this case. CUPS 1.1 (which we provide in the Suse Linux Enterprise Server) and CUPS 1.2 use the system call select(2) which cannot handle more then 1024 file descriptors. For the consequence (here it seems for CUPS 1.2) see http://www.cups.org/newsgroups.php?s1+gcups.general+v2+T0+QWhyhasnothingchanged%3F ------------------------------------------------------------ Right now the scheduler has 3 file descriptors open while a job is printing (backend pipe, back-channel pipe, stderr pipe) which limits the maximum number of simultaneously printing jobs to about 230 with the typical 1024 file descriptor limit. ------------------------------------------------------------ As far as I remember CUPS 1.1 has no back-channel file descriptor so that with CUPS 1.1 about 300 simultaneously printing jobs should be possible. Furthermore - if I understand it correctly - the select limit applies both for incomming jobs and for active printing jobs. I.e. the total number of simultaneously processed jobs (regardless if incomming or printing) is limited by one single select limit. Therefore at least for CUPS 1.1 and 1.2 there is a certain hard limit in the underlying Linux operating system why CUPS cannot "scale to meet the needs of enterprise customers" (e.g. print 500 jobs and simultaneously get 500 new jobs). Since CUPS 1.3 the scheduler uses poll(), epoll(), or /dev/kqueue instead of select() when possible. See http://www.cups.org/str.php?L1261 for background information. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From thomasstather at aol.com Tue Apr 22 05:56:11 2008 From: thomasstather at aol.com (Thomas) Date: Tue, 22 Apr 2008 05:56:11 -0700 Subject: cupsd.conf Message-ID: <32490-cups.general@news.easysw.com> Hi gyus I just installed CUPS (i want to create a linux-only printserver). The Server is running within the subnet 84 xxx.xxx.84.231 and the clients which should be allowed to connect to the server, as well as the printers are located in the subnets 88-91 My current problem is that i have HPLIP installed (there are almost only HP Printers in my infrastructure) and when i connect to the CUPS-GUI it tells me that there are 2 new printers found. But these printers are only in the subnet where the server is installed (84). How can i manage this to work f??r the 88-91 subnets as well? Greets Thomas from Germany From rmueller at esu3.org Tue Apr 22 06:41:48 2008 From: rmueller at esu3.org (Rex Mueller) Date: Tue, 22 Apr 2008 06:41:48 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32491-cups.general@news.easysw.com> I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? The script builds the printer file, I still appear to have an issue because it does not know what model script/ppd to use to filter through. Any insight appreciated. ############################################## #!/bin/sh for qname in `/usr/local/bin/lpm |awk -F: '{print $1}' ` do echo $qname for ipaddr in `grep PERIPH= /var/spool/lp/interface/$qname |grep -v MOD EL |awk -F'=' '{print $2}' ` do echo $qname $ipaddr done done outfile=$1 if [ -z "$outfile" ] then echo "USAGE: hp2cups <output file>" exit 1 else > $outfile fi /usr/sam/lbin/lpmgr | while read printnfo do isremote=`echo $printnfo \ | cut -d":" -f3 \ | cut -d"," -f1` if [ "$isremote" = "yes" ] then name=`echo $printnfo | cut -d":" -f1` remote=`echo $printnfo \ | cut -d":" -f5 \ | awk '{print $3}'` cat >> $outfile << EOF <Printer $name> Info Created by $USER DeviceURI socket://$ipaddr:9100 Location State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> EOF fi done ######################################### From beatyrm at auburn.edu Tue Apr 22 07:10:22 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Tue, 22 Apr 2008 07:10:22 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) Message-ID: <32492-cups.general@news.easysw.com> After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. Everything seems to go fine till I get here: Making all in scheduler... Compiling auth.c... In file included from cupsd.h:121, from auth.c:57: cert.h:28: error: syntax error before "krb5_ccache" cert.h:28: warning: no semicolon at end of struct or union cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' cert.h:30: warning: data definition has no type or storage class cert.h:37: error: syntax error before '*' token cert.h:38: warning: type defaults to `int' in declaration of `Certs' cert.h:38: warning: data definition has no type or storage class cert.h:51: error: syntax error before '*' token cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' cert.h:51: warning: data definition has no type or storage class In file included from cupsd.h:127, from auth.c:57: job.h:60: error: syntax error before "krb5_ccache" job.h:60: warning: no semicolon at end of struct or union job.h:63: error: syntax error before '}' token job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' job.h:63: warning: data definition has no type or storage class job.h:100: error: syntax error before '*' token job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' job.h:100: warning: data definition has no type or storage class job.h:101: error: syntax error before '*' token job.h:107: error: syntax error before '*' token job.h:108: error: syntax error before '*' token job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' job.h:108: warning: data definition has no type or storage class job.h:109: error: syntax error before '*' token job.h:113: error: syntax error before '*' token job.h:115: error: syntax error before '*' token job.h:116: error: syntax error before '*' token job.h:117: error: syntax error before '*' token job.h:118: error: syntax error before '*' token job.h:120: error: syntax error before '*' token job.h:121: error: syntax error before '*' token job.h:122: error: syntax error before '*' token job.h:124: error: syntax error before '*' token job.h:125: error: syntax error before '*' token In file included from cupsd.h:128, from auth.c:57: conf.h:230: error: syntax error before '*' token In file included from cupsd.h:132, from auth.c:57: subscriptions.h:82: error: syntax error before "cupsd_job_t" subscriptions.h:82: warning: no semicolon at end of struct or union subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' subscriptions.h:83: warning: data definition has no type or storage class subscriptions.h:96: error: syntax error before "cupsd_job_t" subscriptions.h:96: warning: no semicolon at end of struct or union subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here subscriptions.h:105: error: syntax error before '*' token subscriptions.h:105: warning: type defaults to `int' in declaration of `events' subscriptions.h:105: warning: data definition has no type or storage class subscriptions.h:106: error: syntax error before '}' token subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' subscriptions.h:106: warning: data definition has no type or storage class subscriptions.h:144: error: syntax error before "cupsd_job_t" subscriptions.h:145: error: syntax error before '*' token subscriptions.h:147: error: syntax error before "cupsd_job_t" subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' subscriptions.h:148: warning: data definition has no type or storage class subscriptions.h:150: error: syntax error before '*' token subscriptions.h:156: error: syntax error before '*' token subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' subscriptions.h:157: warning: data definition has no type or storage class subscriptions.h:159: error: syntax error before "cupsd_job_t" In file included from auth.c:57: cupsd.h:164: error: syntax error before "KerberosContext" cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' cupsd.h:164: warning: data definition has no type or storage class auth.c: In function `cupsdAuthorize': auth.c:343: error: `localuser' undeclared (first use in this function) auth.c:343: error: (Each undeclared identifier is reported only once auth.c:343: error: for each function it appears in.) *** Error code 1 The following command caused the error: gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c make: Fatal error: Command failed for target `auth.o' Current working directory /usr/local/packages/cups-1.3.7/scheduler *** Error code 1 The following command caused the error: for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ echo Making all in $dir... ;\ (cd $dir ; make ) || exit 1;\ done make: Fatal error: Command failed for target `all' Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. -Robert From h.blischke at srz.de Tue Apr 22 07:23:17 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 22 Apr 2008 07:23:17 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) In-Reply-To: <32492-cups.general@news.easysw.com> References: <32492-cups.general@news.easysw.com> Message-ID: <32493-cups.general@news.easysw.com> Robert Beaty wrote: > After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. > > Everything seems to go fine till I get here: > > Making all in scheduler... > Compiling auth.c... > In file included from cupsd.h:121, > from auth.c:57: > cert.h:28: error: syntax error before "krb5_ccache" > cert.h:28: warning: no semicolon at end of struct or union > cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' > cert.h:30: warning: data definition has no type or storage class > cert.h:37: error: syntax error before '*' token > cert.h:38: warning: type defaults to `int' in declaration of `Certs' > cert.h:38: warning: data definition has no type or storage class > cert.h:51: error: syntax error before '*' token > cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' > cert.h:51: warning: data definition has no type or storage class > In file included from cupsd.h:127, > from auth.c:57: > job.h:60: error: syntax error before "krb5_ccache" > job.h:60: warning: no semicolon at end of struct or union > job.h:63: error: syntax error before '}' token > job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' > job.h:63: warning: data definition has no type or storage class > job.h:100: error: syntax error before '*' token > job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' > job.h:100: warning: data definition has no type or storage class > job.h:101: error: syntax error before '*' token > job.h:107: error: syntax error before '*' token > job.h:108: error: syntax error before '*' token > job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' > job.h:108: warning: data definition has no type or storage class > job.h:109: error: syntax error before '*' token > job.h:113: error: syntax error before '*' token > job.h:115: error: syntax error before '*' token > job.h:116: error: syntax error before '*' token > job.h:117: error: syntax error before '*' token > job.h:118: error: syntax error before '*' token > job.h:120: error: syntax error before '*' token > job.h:121: error: syntax error before '*' token > job.h:122: error: syntax error before '*' token > job.h:124: error: syntax error before '*' token > job.h:125: error: syntax error before '*' token > In file included from cupsd.h:128, > from auth.c:57: > conf.h:230: error: syntax error before '*' token > In file included from cupsd.h:132, > from auth.c:57: > subscriptions.h:82: error: syntax error before "cupsd_job_t" > subscriptions.h:82: warning: no semicolon at end of struct or union > subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' > subscriptions.h:83: warning: data definition has no type or storage class > subscriptions.h:96: error: syntax error before "cupsd_job_t" > subscriptions.h:96: warning: no semicolon at end of struct or union > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > subscriptions.h:105: error: syntax error before '*' token > subscriptions.h:105: warning: type defaults to `int' in declaration of `events' > subscriptions.h:105: warning: data definition has no type or storage class > subscriptions.h:106: error: syntax error before '}' token > subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' > subscriptions.h:106: warning: data definition has no type or storage class > subscriptions.h:144: error: syntax error before "cupsd_job_t" > subscriptions.h:145: error: syntax error before '*' token > subscriptions.h:147: error: syntax error before "cupsd_job_t" > subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' > subscriptions.h:148: warning: data definition has no type or storage class > subscriptions.h:150: error: syntax error before '*' token > subscriptions.h:156: error: syntax error before '*' token > subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' > subscriptions.h:157: warning: data definition has no type or storage class > subscriptions.h:159: error: syntax error before "cupsd_job_t" > In file included from auth.c:57: > cupsd.h:164: error: syntax error before "KerberosContext" > cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' > cupsd.h:164: warning: data definition has no type or storage class > auth.c: In function `cupsdAuthorize': > auth.c:343: error: `localuser' undeclared (first use in this function) > auth.c:343: error: (Each undeclared identifier is reported only once > auth.c:343: error: for each function it appears in.) > *** Error code 1 > The following command caused the error: > gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c > make: Fatal error: Command failed for target `auth.o' > Current working directory /usr/local/packages/cups-1.3.7/scheduler > *** Error code 1 > The following command caused the error: > for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ > echo Making all in $dir... ;\ > (cd $dir ; make ) || exit 1;\ > done > make: Fatal error: Command failed for target `all' > > > > Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. > > -Robert Run configure using the option --disable-gssapi or, if you really need to use Kerberos, trash the default one that comes with Solaris10 and install Heimdahl Kerberos (at least that is the recommendation I heared several times; at our site we currently do not use Kerberos). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From beatyrm at auburn.edu Tue Apr 22 07:33:44 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Tue, 22 Apr 2008 07:33:44 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) Message-ID: <32494-cups.general@news.easysw.com> > Robert Beaty wrote: > > After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. > > > > Everything seems to go fine till I get here: > > > > Making all in scheduler... > > Compiling auth.c... > > In file included from cupsd.h:121, > > from auth.c:57: > > cert.h:28: error: syntax error before "krb5_ccache" > > cert.h:28: warning: no semicolon at end of struct or union > > cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' > > cert.h:30: warning: data definition has no type or storage class > > cert.h:37: error: syntax error before '*' token > > cert.h:38: warning: type defaults to `int' in declaration of `Certs' > > cert.h:38: warning: data definition has no type or storage class > > cert.h:51: error: syntax error before '*' token > > cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' > > cert.h:51: warning: data definition has no type or storage class > > In file included from cupsd.h:127, > > from auth.c:57: > > job.h:60: error: syntax error before "krb5_ccache" > > job.h:60: warning: no semicolon at end of struct or union > > job.h:63: error: syntax error before '}' token > > job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' > > job.h:63: warning: data definition has no type or storage class > > job.h:100: error: syntax error before '*' token > > job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' > > job.h:100: warning: data definition has no type or storage class > > job.h:101: error: syntax error before '*' token > > job.h:107: error: syntax error before '*' token > > job.h:108: error: syntax error before '*' token > > job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' > > job.h:108: warning: data definition has no type or storage class > > job.h:109: error: syntax error before '*' token > > job.h:113: error: syntax error before '*' token > > job.h:115: error: syntax error before '*' token > > job.h:116: error: syntax error before '*' token > > job.h:117: error: syntax error before '*' token > > job.h:118: error: syntax error before '*' token > > job.h:120: error: syntax error before '*' token > > job.h:121: error: syntax error before '*' token > > job.h:122: error: syntax error before '*' token > > job.h:124: error: syntax error before '*' token > > job.h:125: error: syntax error before '*' token > > In file included from cupsd.h:128, > > from auth.c:57: > > conf.h:230: error: syntax error before '*' token > > In file included from cupsd.h:132, > > from auth.c:57: > > subscriptions.h:82: error: syntax error before "cupsd_job_t" > > subscriptions.h:82: warning: no semicolon at end of struct or union > > subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' > > subscriptions.h:83: warning: data definition has no type or storage class > > subscriptions.h:96: error: syntax error before "cupsd_job_t" > > subscriptions.h:96: warning: no semicolon at end of struct or union > > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > > subscriptions.h:105: error: syntax error before '*' token > > subscriptions.h:105: warning: type defaults to `int' in declaration of `events' > > subscriptions.h:105: warning: data definition has no type or storage class > > subscriptions.h:106: error: syntax error before '}' token > > subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' > > subscriptions.h:106: warning: data definition has no type or storage class > > subscriptions.h:144: error: syntax error before "cupsd_job_t" > > subscriptions.h:145: error: syntax error before '*' token > > subscriptions.h:147: error: syntax error before "cupsd_job_t" > > subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' > > subscriptions.h:148: warning: data definition has no type or storage class > > subscriptions.h:150: error: syntax error before '*' token > > subscriptions.h:156: error: syntax error before '*' token > > subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' > > subscriptions.h:157: warning: data definition has no type or storage class > > subscriptions.h:159: error: syntax error before "cupsd_job_t" > > In file included from auth.c:57: > > cupsd.h:164: error: syntax error before "KerberosContext" > > cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' > > cupsd.h:164: warning: data definition has no type or storage class > > auth.c: In function `cupsdAuthorize': > > auth.c:343: error: `localuser' undeclared (first use in this function) > > auth.c:343: error: (Each undeclared identifier is reported only once > > auth.c:343: error: for each function it appears in.) > > *** Error code 1 > > The following command caused the error: > > gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c > > make: Fatal error: Command failed for target `auth.o' > > Current working directory /usr/local/packages/cups-1.3.7/scheduler > > *** Error code 1 > > The following command caused the error: > > for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ > > echo Making all in $dir... ;\ > > (cd $dir ; make ) || exit 1;\ > > done > > make: Fatal error: Command failed for target `all' > > > > > > > > Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. > > > > -Robert > > Run configure using the option --disable-gssapi or, if you really need to use > Kerberos, trash the default one that comes with Solaris10 and install > Heimdahl Kerberos (at least that is the recommendation I heared > several times; at our site we currently do not use Kerberos). > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org In fact I do not have a particular need for Kerberos so this was just the ticket. Thank you very much I will certainly notebook that option for future reference. -Robert From james.notermans at gmail.com Tue Apr 22 09:54:43 2008 From: james.notermans at gmail.com (James Notermans) Date: Tue, 22 Apr 2008 09:54:43 -0700 Subject: Cups with Epson Status monitor Message-ID: <32495-cups.general@news.easysw.com> I'm currently using CUPS and Samba on my Debian system to share an Epson D92 to my Windows box. I'm wondering if there's any way to configure CUPS or the Samba share so that I can use to Epson printer software and status utility on the windows box to access the printer in order to view ink levels, change printer settings, etc. Many thanks in advance. From msweet at apple.com Tue Apr 22 10:06:48 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 10:06:48 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32491-cups.general@news.easysw.com> References: <32491-cups.general@news.easysw.com> Message-ID: <32496-cups.general@news.easysw.com> Rex Mueller wrote: > I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... > > I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? > ... cupsd looks for: /etc/cups/ppd/PRINTERNAME.ppd or /etc/cups/interfaces/PRINTERNAME preferring PPD files over interface scripts. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Apr 22 10:10:13 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 10:10:13 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) In-Reply-To: <32492-cups.general@news.easysw.com> References: <32492-cups.general@news.easysw.com> Message-ID: <32497-cups.general@news.easysw.com> Robert Beaty wrote: > After my last bit of posting and figuring out I need a 1.3.x version > of CUPS I got to work on compiling 1.3.7. I have worked through a > number of issues involving malformed sed commands in Makefiles and > finding all the needed libraries and figured I was set but now I > can't for the life of me get the scheduler to compile. --disable-gssapi will work around the broken Kerberos headers on your Solaris install. What sed problems did you run into? The CUPS makefiles only use sed when updating dependencies, which isn't required for normal builds (that's only used when CUPS code/headers are changed...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From parker.christine at epa.gov Tue Apr 22 11:36:40 2008 From: parker.christine at epa.gov (Christine Parker) Date: Tue, 22 Apr 2008 11:36:40 -0700 Subject: adding a driver to CUPS Message-ID: <32498-cups.general@news.easysw.com> Hi. I'm new to CUPS and I want to add a driver for our Xerox Phaser 7400 printer. I downloaded the driver from the Xerox website, and I added a folder called "Xerox" to /usr/share/cups/model. What files do I need to put in that subdirectory so I can add the printer in CUPS? These are the applicable files from the download: -rwxrwxrwx 1 1000 users 85043 May 24 2005 xrx7400df.ppd -rwxrwxrwx 1 1000 users 85023 May 24 2005 xrx7400dn.ppd -rwxrwxrwx 1 1000 users 85030 May 24 2005 xrx7400dt.ppd -rwxrwxrwx 1 1000 users 85032 May 24 2005 xrx7400dx.ppd -rwxrwxrwx 1 1000 users 85016 May 24 2005 xrx7400n.ppd Thanks! Christine Parker US EPA Region 10 Seattle, WA From msweet at apple.com Tue Apr 22 13:07:35 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 13:07:35 -0700 Subject: [cups.general] adding a driver to CUPS In-Reply-To: <32498-cups.general@news.easysw.com> References: <32498-cups.general@news.easysw.com> Message-ID: <32499-cups.general@news.easysw.com> Christine Parker wrote: > Hi. I'm new to CUPS and I want to add a driver for our Xerox Phaser 7400 printer. I downloaded the driver from the Xerox website, and I added a folder called "Xerox" to /usr/share/cups/model. What files do I need to put in that subdirectory so I can add the printer in CUPS? These are the applicable files from the download: > ... Just copy the PPD files to your subdirectory. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From beebe at big-images.com Tue Apr 22 13:46:47 2008 From: beebe at big-images.com (Jon Beebe) Date: Tue, 22 Apr 2008 13:46:47 -0700 Subject: HP DesignJet 5000PS - overriding internal rip? Message-ID: <32500-cups.general@news.easysw.com> Here is an update to my progress. I found this driver, http://openprinting.org/show_printer.cgi?recnum=HP-DesignJet_5000, which says it works with the non-ps version of the DesignJet 5000. I tried this on my system and it did nothing. The printer never received any print data. I also found the Footmatic rip (http://www.linux-foundation.org/en/OpenPrinting/MacOSX/foomatic), which seems promising, but I cannot get it to work. This is probably due to my unfamiliarity with Cups. I am not sure if either of these are the right path to follow in my quest; if anyone can offer guidance I would love to hear from you. Thanks! > I have a 60" HP DesignJet 5000PS. When I print via cups it uses the internal RIP, which is slow and sometimes error-prone. I would like to have CUPS do the ripping of the files and override the printer's internal rip. I know this can be done because I run an Onyx rip that overrides the internal HP rip. But can I do this via CUPS, and if so, how? > > I am currently running cups 1.3.6 on OS X Leopard. > > Any input would be greatly appreciated! Thanks. > > Jon Beebe From justin.huang at liteon.com Wed Apr 23 00:57:41 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 23 Apr 2008 00:57:41 -0700 Subject: Opening /dev/usb/lp0 fails while printing Message-ID: <32501-cups.general@news.easysw.com> I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! From kobe at physik.uni-bonn.de Wed Apr 23 05:25:39 2008 From: kobe at physik.uni-bonn.de (Peter Kobe) Date: Wed, 23 Apr 2008 05:25:39 -0700 Subject: make ends in an error-sequence on cups r7464 Message-ID: <32502-cups.general@news.easysw.com> $ make Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using LDFLAGS=-L../cups -L../filter -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector Using LIBS=-lcups -lpthread -lm -lcrypt Making all in cups... Making all in filter... Linking gziptoany... Linking testimage... Making all in backend... Linking test1284... test1284.o: In function `backendGetMakeModel': /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:396: undefined reference to `_cups_debug_printf' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:406: undefined reference to `_cups_debug_puts' test1284.o: In function `backendGetDeviceID': /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:86: undefined reference to `_cups_debug_printf' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:98: undefined reference to `_cups_debug_puts' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:250: undefined reference to `_cups_debug_printf' collect2: ld returned 1 exit status make[1]: *** [test1284] Fehler 1 make: *** [all] Fehler 1 linux-qkyo:/home/kobe/CUPS/cups-1.4svn-r7464 # From beatyrm at auburn.edu Wed Apr 23 06:04:32 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Wed, 23 Apr 2008 06:04:32 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86(Scheduler) Message-ID: <32503-cups.general@news.easysw.com> > Robert Beaty wrote: > > After my last bit of posting and figuring out I need a 1.3.x version > > of CUPS I got to work on compiling 1.3.7. I have worked through a > > number of issues involving malformed sed commands in Makefiles and > > finding all the needed libraries and figured I was set but now I > > can't for the life of me get the scheduler to compile. > > --disable-gssapi will work around the broken Kerberos headers on your > Solaris install. > > What sed problems did you run into? The CUPS makefiles only use sed > when updating dependencies, which isn't required for normal builds > (that's only used when CUPS code/headers are changed...) > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. -Robert From mark.coolen at gmail.com Wed Apr 23 07:03:44 2008 From: mark.coolen at gmail.com (Mark Coolen) Date: Wed, 23 Apr 2008 07:03:44 -0700 Subject: Forcing CUPS to pass dummy user to HPLIP Message-ID: <32504-cups.general@news.easysw.com> I'm trying to figure out how I can force Cups to pass on a static user (i.e. 'office') to HPLIP. I'm printing via the MS Image Writer driver from XP in order to use an HP Fax printer. HPLIP gets the owner of the print job from Cups and only passes the print job on when hp-sendfax is run as the same username. Is there any way to get Cups to always see print jobs as printed by the same, generic user (office) no matter who is actually logged in? Mark Coolen P.S. If the question needs clarification, please ask. From alet at librelogiciel.com Wed Apr 23 07:37:24 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Wed, 23 Apr 2008 07:37:24 -0700 Subject: [cups.general] Forcing CUPS to pass dummy user to HPLIP In-Reply-To: <32504-cups.general@news.easysw.com> References: <32504-cups.general@news.easysw.com> Message-ID: <32505-cups.general@news.easysw.com> On Wed, Apr 23, 2008 at 07:03:44AM -0700, Mark Coolen wrote: > I'm trying to figure out how I can force Cups to pass on a static > user (i.e. 'office') to HPLIP. I'm printing via the MS Image Writer > driver from XP in order to use an HP Fax printer. HPLIP gets the > owner of the print job from Cups and only passes the print job on > when hp-sendfax is run as the same username. Is there any way to > get Cups to always see print jobs as printed by the same, generic > user (office) no matter who is actually logged in? You could use Tea4CUPS (http://www.pykota.com) for this. Just define a virtual print queue doing nothing else except launching Tea4CUPS, with the following device uri "tea4cups://" Then in tea4cups.conf define a hook like this one (adapt it to your needs and actual settings) : --- CUT --- prehook_fax : /usr/bin/lp -dYourFaxQueue -U office -oraw $TEADATAFILE --- CUT --- Have all people print to the virtual queue, and you're done. Something like 5 minutes work. hth Jerome Alet From msweet at apple.com Wed Apr 23 09:47:45 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 09:47:45 -0700 Subject: [cups.general] Opening /dev/usb/lp0 fails while printing In-Reply-To: <32501-cups.general@news.easysw.com> References: <32501-cups.general@news.easysw.com> Message-ID: <32506-cups.general@news.easysw.com> Justin Huang wrote: > I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). > I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? > My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! You can't, it's a single device and doesn't support multiplexing. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Apr 23 09:48:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 09:48:41 -0700 Subject: [cups.general] make ends in an error-sequence on cups r7464 In-Reply-To: <32502-cups.general@news.easysw.com> References: <32502-cups.general@news.easysw.com> Message-ID: <32507-cups.general@news.easysw.com> Peter Kobe wrote: > $ make > Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT > Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT > Using LDFLAGS=-L../cups -L../filter -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector > Using LIBS=-lcups -lpthread -lm -lcrypt > Making all in cups... > Making all in filter... > Linking gziptoany... > Linking testimage... > Making all in backend... > Linking test1284... > test1284.o: In function `backendGetMakeModel': > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:396: undefined reference to `_cups_debug_printf' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:406: undefined reference to `_cups_debug_puts' > test1284.o: In function `backendGetDeviceID': > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:86: undefined reference to `_cups_debug_printf' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:98: undefined reference to `_cups_debug_puts' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:250: undefined reference to `_cups_debug_printf' > collect2: ld returned 1 exit status Fixed in current trunk. In the meantime, build with: ./configure --enable-debug to work around the error. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Apr 23 10:02:59 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 10:02:59 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris 10 x86(Scheduler) In-Reply-To: <32503-cups.general@news.easysw.com> References: <32503-cups.general@news.easysw.com> Message-ID: <32508-cups.general@news.easysw.com> Robert Beaty wrote: > ... > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. Like I said (and just confirmed), the only sed commands we run in makefiles are for the "make depend" target, which does not need to be run by anyone except the CUPS developers. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rmueller at esu3.org Wed Apr 23 11:44:14 2008 From: rmueller at esu3.org (Rex Mueller) Date: Wed, 23 Apr 2008 11:44:14 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32509-cups.general@news.easysw.com> Mike is there a configuration file or reference point in the printers.conf to point at the PPD file? I have 250-300 printers to re-create from an HP/UX jetadmin queing to CUPS. I found the script to build the printers.conf, do I need to use LPADMIN to create the devices? If so I can see I have my work cut out to script a solution. > Rex Mueller wrote: > > I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... > > > > I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? > > ... > > cupsd looks for: > > /etc/cups/ppd/PRINTERNAME.ppd > > or > > /etc/cups/interfaces/PRINTERNAME > > preferring PPD files over interface scripts. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Wed Apr 23 16:34:43 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 16:34:43 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32509-cups.general@news.easysw.com> References: <32509-cups.general@news.easysw.com> Message-ID: <32510-cups.general@news.easysw.com> Rex Mueller wrote: > Mike is there a configuration file or reference point in the > printers.conf to point at the PPD file? No, the printer name points to the PPD file. > I have 250-300 printers to re-create from an HP/UX jetadmin queing to > CUPS. I found the script to build the printers.conf, do I need to use > LPADMIN to create the devices? If so I can see I have my work cut out > to script a solution. You don't have to use lpadmin for an initial configuration - just generate printers.conf and *then* start cupsd. If you want to update printers.conf when cupsd is running, you need to use lpadmin... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From justin.huang at liteon.com Wed Apr 23 20:27:27 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 23 Apr 2008 20:27:27 -0700 Subject: Opening /dev/usb/lp0 fails while printing Message-ID: <32511-cups.general@news.easysw.com> > Justin Huang wrote: > > I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). > > I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? > > My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! > > You can't, it's a single device and doesn't support multiplexing. > > -- That's too bad. I found some devices named as /dev/usbdev5.4_ep01 or /dev/usbdev5.4_ep81. They seem to represent the endpoints of the USB printer. I tried to open each of them but failed. Is there any method I can try to allow my program open a single endpoint of the USB device? From henri at stmargarets.school.nz Wed Apr 23 21:04:23 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 23 Apr 2008 21:04:23 -0700 Subject: [cups.general] Cups client question In-Reply-To: <3FA47F00-964C-4574-AF4F-B03E75379817@stmargarets.school.nz> References: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> <3FA47F00-964C-4574-AF4F-B03E75379817@stmargarets.school.nz> Message-ID: <32512-cups.general@news.easysw.com> PrinterSetup0025 is now available for download. New features include : - Ability to set a cups queue name prefix - Ability to remove unused queues with the specified prefix from the system - Integration of the above features with PrinterSetup Apple package deployment. - plus much more! Visit the PrinterSetup home page to download : http://www.lucidsystems.org/printignworks/printersetup > I am currently adding features to PrinterSetup, so that it will > support automatic print queue creation on both clients and servers > from one centrally managed location. I will post a message back to > this list, once version 0025 is released with the required features > to support this kind of centralized management. > > I expect that before version 0030 is released, there will be a Mac > OS X client component and this will be bundled with PrinterSetup. > > I hope this helps. If you are looking for a solution for an > operating system other then Mac OS X, then you are welcome to help > develop a PrinterSetup update schedular for the operating systems > you need supported. I am happy to help. > > It would be great to have a free, open source, cross platform, > centrally managed print queue distribution system. I would be happy > to have some help. > > Details on PrinterSetup are available from : http://www.lucidsystems.org/printingworks/printersetup/ > > Please keep in mind that PrinterSetup is still in an alpha stage of > development. > >> I can't seem to determine if CUPS printers would have to be pre- >> defined to every host or just to the centeral server. Which is it? > From ronaly at gmail.com Wed Apr 23 21:24:17 2008 From: ronaly at gmail.com (ronaly) Date: Wed, 23 Apr 2008 21:24:17 -0700 Subject: Constraints between a Custom Pagesize and Manual Envelope Paper feed Message-ID: <32513-cups.general@news.easysw.com> This is about constraints between a custom pagesize and a manual envelope in the paper feed. The behavior is different in leopard and pre-leopard OSes. In pre-leopard OSes (like Tiger): * Selecting a custom pagesize will disable a manual envelope in the paper feed. In Leopard: * Selecting a custom pagesize does not disable nor pops up a constraint message when choosing a manual envelope in the paper feed. Disabling the manual envelope in the paper feed has no special implementation in the PPD constraints. As long as you set any papersize except envelope size constrained against Inputslot manual envelope, any custom size you set does disable the manual envelope. But in Leopard it does not do like Tiger behaves. Is there a way to constraint a custom pagesize against manual envelope in Leopard? Is this a bug in Leopard? From beatyrm at auburn.edu Thu Apr 24 07:21:08 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Thu, 24 Apr 2008 07:21:08 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris10 x86(Scheduler) Message-ID: <32514-cups.general@news.easysw.com> > Robert Beaty wrote: > > ... > > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. > > Like I said (and just confirmed), the only sed commands we run in > makefiles are for the "make depend" target, which does not need to > be run by anyone except the CUPS developers. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Well my best guess is I must have run a depend (for reasons unknown) a while back when I had first put the source onto the box. I abandoned compiling from source when I found pkg-get had cups. Of course that didn't work out because it was a very old version. Anyway, I appreciate all the help/details. I do have one (hopefully last) problem now. Currently the CUPS accounting in the page_log isn't functioning correctly. No matter how many pages the print job is, whether or not there is multiple copies or if there is a banner page I get a single entry in page_log. It has the first page entry for each job and never records another. Also, just for completeness I've tried it on both a HP Laserjet 5SI and HP Laserjet 9050 and both suffer from this problem. Setup details are: Samba 3.0.28a CUPS 1.3.7 Solaris 10 x86 Printer HP Lasterjet 5SI (usually what I'm testing on) I could try and move to the absolute newest CUPS if that would possibly fix it. I think it was 1.4 some odd. -Robert From vos22201 at planet.nl Thu Apr 24 11:12:52 2008 From: vos22201 at planet.nl (vos22201) Date: Thu, 24 Apr 2008 11:12:52 -0700 Subject: Cups 1.2.7 and Suse 10.2 network printer Message-ID: <32515-cups.general@news.easysw.com> Hello, I have a suse10.2 box with cups 1.2.7. I can print to my canon i450 when connected via USB. That works. I have a U.S. Robotics Wireless MAXg ADSL Gateway that has the option to connect a USB printer at http://192.168.1.1:1631/printers/canon450. When I connect the printer to the ADSL modem, I can print from a windows XP machine. I tried to configure the same as network printer from suse 10.2 with Cups, but it does not work. When I print a testpage, a spoolfile is created, but nothing is sent to the printer. Any help/hints is appreciated. The error log is rather long, I assume the relevant part is <<< I [24/Apr/2008:19:47:11 +0200] Listening to 127.0.0.1:631 (IPv4) I [24/Apr/2008:19:47:12 +0200] Listening to ::1:631 (IPv6) I [24/Apr/2008:19:47:12 +0200] Listening to /var/run/cups/cups.sock (Domain) I [24/Apr/2008:19:47:12 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [24/Apr/2008:19:47:12 +0200] Using default TempDir of /var/spool/cups/tmp... I [24/Apr/2008:19:47:14 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [24/Apr/2008:19:47:14 +0200] Configured for up to 100 clients. I [24/Apr/2008:19:47:14 +0200] Allowing up to 100 client connections per host. I [24/Apr/2008:19:47:14 +0200] Using policy "default" as the default! I [24/Apr/2008:19:47:14 +0200] Full reload is required. I [24/Apr/2008:19:47:17 +0200] Loaded MIME database from '/etc/cups': 36 types, 40 filters... D [24/Apr/2008:19:47:18 +0200] Loading printer canon450... D [24/Apr/2008:19:47:20 +0200] Loading printer Canon_i450_USB_1... D [24/Apr/2008:19:47:20 +0200] Loading printer CanonRobo... I [24/Apr/2008:19:47:20 +0200] Loading job cache file "/var/cache/cups/job.cache"... D [24/Apr/2008:19:47:20 +0200] Loading job 8 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 9 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 10 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 13 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 14 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 15 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 20 from cache... D [24/Apr/2008:19:47:20 +0200] Loading attributes for job 20... I [24/Apr/2008:19:47:20 +0200] Full reload complete. I [24/Apr/2008:19:47:20 +0200] Listening to 127.0.0.1:631 on fd 0... E [24/Apr/2008:19:47:20 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol. I [24/Apr/2008:19:47:20 +0200] Listening to /var/run/cups/cups.sock on fd 2... D [24/Apr/2008:19:48:24 +0200] Unloading job 20... D [24/Apr/2008:19:52:02 +0200] cupsdAcceptClient: 6 from localhost:631 (IPv4) D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET / HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /cups.css HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /favicon.ico HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/top-left.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdAcceptClient: 9 from localhost:631 (IPv4) D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/top-middle.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/top-right.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/tab-left.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/button-help.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/tab-right.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/button-add-printer.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/button-add-class.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/button-manage-classes.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/button-manage-jobs.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/button-manage-printers.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/button-manage-server.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/happy.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/esp-logo.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/bottom-left.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/bottom-right.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 6 GET /printers/ HTTP/1.1 D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:08 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:08 +0200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 4352 I [24/Apr/2008:19:52:08 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=4352) D [24/Apr/2008:19:52:08 +0200] cupsdSendCommand: 6 file=7 D [24/Apr/2008:19:52:08 +0200] cupsdAcceptClient: 10 from localhost (Domain) D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 10 POST / HTTP/1.1 D [24/Apr/2008:19:52:08 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:08 +0200] CUPS-Get-Default D [24/Apr/2008:19:52:08 +0200] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [24/Apr/2008:19:52:08 +0200] [CGI] show_all_printers(http=0x80019cf0, user="(null)") D [24/Apr/2008:19:52:08 +0200] [CGI] cgiCopyTemplateLang(tmpl="header.tmpl") D [24/Apr/2008:19:52:08 +0200] [CGI] locale="en_us"... D [24/Apr/2008:19:52:08 +0200] [CGI] Template file is "/usr/share/cups/templates/header.tmpl"... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 0... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 205... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{refresh_page?" at 374, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 374... D [24/Apr/2008:19:52:08 +0200] [CGI] "{refresh_page}" at 424... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 427 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 427... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 428 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{refresh_page?", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 671... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 952... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=admin" at 1411, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1411... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1412 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1412... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1415 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=admin", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=classes" at 1678, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1678... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1679 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1679... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1682 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=classes", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=help" at 1938, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1938... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1939 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1939... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1942 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=help", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=jobs" at 2206, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 2206... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 2207 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 2207... D [24/Apr >> From msweet at apple.com Thu Apr 24 12:00:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 12:00:53 -0700 Subject: [cups.general] Opening /dev/usb/lp0 fails while printing In-Reply-To: <32511-cups.general@news.easysw.com> References: <32511-cups.general@news.easysw.com> Message-ID: <32516-cups.general@news.easysw.com> Justin Huang wrote: >> Justin Huang wrote: >>> I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). >>> I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? >>> My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! >> You can't, it's a single device and doesn't support multiplexing. >> >> -- > > That's too bad. I found some devices named as /dev/usbdev5.4_ep01 > or /dev/usbdev5.4_ep81. They seem to represent the endpoints of the USB > printer. I tried to open each of them but failed. Is there any method > I can try to allow my program open a single endpoint of the USB device? If you use libusb to both print and scan, you *may* be able to do both at the same time - it really depends on the device. However, once the device is claimed by the USB printer character device (when you open /dev/usb/lp0) you won't be able to access it through other means until it is closed and the driver unloaded. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 24 12:02:21 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 12:02:21 -0700 Subject: [cups.general] Constraints between a Custom Pagesize and Manual Envelope Paper feed In-Reply-To: <32513-cups.general@news.easysw.com> References: <32513-cups.general@news.easysw.com> Message-ID: <32517-cups.general@news.easysw.com> ronaly wrote: > ... > But in Leopard it does not do like Tiger behaves. > Is there a way to constraint a custom pagesize against manual envelope in Leopard? > Is this a bug in Leopard? This question is bested asked either as a bug report to Apple or on Apple's printing list. http://bugreport.apple.com http://lists.apple.com -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rmueller at esu3.org Thu Apr 24 12:17:48 2008 From: rmueller at esu3.org (Rex Mueller) Date: Thu, 24 Apr 2008 12:17:48 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32518-cups.general@news.easysw.com> the Printer Name? from the printers.conf points to the PPD? so for example My question would be I have "quenames" on my HP/UX box, jet admin initiates a connection to the model script for the printer based on the IP address. Does CUPS do something similar to probe the device to determine the best model script? OR when you create the printer you need to know the associated model script? So say for example, in order to create a HP 3800 The command line reference I found is as follows: /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER In this line there is variable information for - name - device-uri - ppd-filename In my prefer script is takes the existing quename "arladmhp5si" and creates and entry in the printers.conf as below: <Printer alradmhp5si> Info Created by root DeviceURI socket://<maskedipaddress>:9100 Location State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> But it does not execute LPADMIN to associate -m modelfile with the physical device, is only passes the quename as printer and socket://<ipaddress> as DeviceURI. I am assuming I still need to some how pass the lpinfo -m |grep LaserJet |awk -F':' '{print $2}' |awk -F' ' '{print $1}' |grep 3800 /usr/sbin/lpadmin -p arladmhp5si -E -v socket://<ipaddress>:9100 -m HP-LaserJet_5Si-hpijs.ppd ENTER To make this device available, is my logic flawed or am I heading in the right direction? > > No, the printer name points to the PPD file. > > You don't have to use lpadmin for an initial configuration - just > generate printers.conf and *then* start cupsd. > > If you want to update printers.conf when cupsd is running, you need > to use lpadmin... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Thu Apr 24 13:25:19 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 13:25:19 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris10 x86(Scheduler) In-Reply-To: <32514-cups.general@news.easysw.com> References: <32514-cups.general@news.easysw.com> Message-ID: <32519-cups.general@news.easysw.com> Robert Beaty wrote: >> Robert Beaty wrote: >>> ... >>> I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. >> Like I said (and just confirmed), the only sed commands we run in >> makefiles are for the "make depend" target, which does not need to >> be run by anyone except the CUPS developers. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Well my best guess is I must have run a depend (for reasons unknown) a while back when I had first put the source onto the box. I abandoned compiling from source when I found pkg-get had cups. Of course that didn't work out because it was a very old version. Anyway, I appreciate all the help/details. > > I do have one (hopefully last) problem now. Currently the CUPS accounting in the page_log isn't functioning correctly. No matter how many pages the print job is, whether or not there is multiple copies or if there is a banner page I get a single entry in page_log. It has the first page entry for each job and never records another. Also, just for completeness I've tried it on both a HP Laserjet 5SI and HP Laserjet 9050 and both suffer from this problem. > > Setup details are: > Samba 3.0.28a > CUPS 1.3.7 > Solaris 10 x86 > Printer HP Lasterjet 5SI (usually what I'm testing on) > > I could try and move to the absolute newest CUPS if that would possibly fix it. I think it was 1.4 some odd. No, it it probably a driver issue - if you use a raw queue, then no accounting info is really available. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 24 13:34:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 13:34:41 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32518-cups.general@news.easysw.com> References: <32518-cups.general@news.easysw.com> Message-ID: <32520-cups.general@news.easysw.com> Rex Mueller wrote: > the Printer Name? > from the printers.conf points to the PPD? Yes. > so for example My question would be I have "quenames" on my HP/UX box, > jet admin initiates a connection to the model script for the printer > based on the IP address. On HP-UX, the /var/spool/lp/interface directory contains interface scripts for each printer queue. Since System V LP does not support anything other than character devices, the interface script runs an external program to communicate with the device. CUPS *does* support different kinds of device interfaces and runs a backend program at the end of the filter chain to send print data to the device. The following page may be useful: http://www.cups.org/documentation.php/spec-design.html > Does CUPS do something similar to probe the device to determine the > best model script? No, we rely on the backend reporting the make and model, which can then be used to auto-select a driver. This does not happen automatically when using the lpadmin command, but rather is supported by the web interface and various GUI add-ons to CUPS. > OR when you create the printer you need to know the associated model > script? When adding a printer with lpadmin, you need to know the model file, which can be an interface script (for legacy queues that will not work from most GUI applications) or (more commonly) a PPD name for the printer. (PPD == PostScript Printer Description file, which is used for all kinds of printers in CUPS) > So say for example, in order to create a HP 3800 > > The command line reference I found is as follows: > > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > In this line there is variable information for > - name > - device-uri > - ppd-filename name is the name that appears on the <Printer name> line in printers.conf. device-uri is the DeviceURI line in printers.conf. ppd-filename gets copied to /etc/cups/ppd/name.ppd -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From masterzenutopia at gmail.com Thu Apr 24 14:52:50 2008 From: masterzenutopia at gmail.com (anthony do) Date: Thu, 24 Apr 2008 14:52:50 -0700 Subject: CUPS problem with TIFF images Message-ID: <32521-cups.general@news.easysw.com> To those CUPS gurus, On my old AIX-Unix, I was running ESP-CUPS with Image Alchemy version 1.11 for AIX. Example below is the exact command to print to my color HP printer successfully on AIX but on new Suse Enterprise Linux Server 10.3. /usr/bin/lp -d hp4600ps -o media=Tabloid,Tray3 -o scaling=85 -o position=center -o gamma=1450 -o saturation=150 /imagetiff/t23r6w17.tiff The error were endless blank pages printout that I have had to manually press "Cancel Job" to kill the print job. The question is how to make it work the same for Suse10.3 with CUPS? Are there existed CUPS options to allow me do similar above lp command? Please reply back with any solution if you know of. Thank you! Anthony, April 24, 2008 Thu. USA From jsmeix at suse.de Fri Apr 25 00:12:12 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 25 Apr 2008 00:12:12 -0700 Subject: [cups.general] Cups 1.2.7 and Suse 10.2 network printer In-Reply-To: <32515-cups.general@news.easysw.com> References: <32515-cups.general@news.easysw.com> Message-ID: <32522-cups.general@news.easysw.com> Hello, On Apr 24 11:12 vos22201 wrote (shortened): > I have a U.S. Robotics Wireless MAXg ADSL Gateway > that has the option to connect a USB printer at > http://192.168.1.1:1631/printers/canon450. The URL "http..." indicates that something like the IPP protocol should be used here. Avoid to use the most complicated protocol (IPP) to just send the prtinting data to the printserver box. Instead try to use what is recommended, see below. Note that Windows has only a somewhat incomplete IPP implementation and many printserver boxes have broken IPP implementations but "fortunately" the incomplete stuff in Windows works with the broken stuff in certain printserver boxes - obviously most manufactures of such printserver boxes test their stuff only with Windows. See http://www.cups.org/documentation.php/network.html in particular note ----------------------------------------------------------- The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest, fastest, and generally the most reliable network protocol used for printers. .... IPP is the only protocol that CUPS supports natively and is supported by some network printers and print servers. However, since many printers do not implement IPP properly, only use IPP when the vendor actually documents official support for it. .... LPD is the original network printing protocol and is supported by many network printers. Due to limitations in the LPD protocol, we do not recommend using it if the printer or server supports one of the other protocols. ----------------------------------------------------------- Use a command like "nmap <IP-of-your-printserver-box>" to get a list of open ports to find out which protocols it supports. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From stefan.sitte at comsoft.de Fri Apr 25 05:12:07 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 05:12:07 -0700 Subject: Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32523-cups.general@news.easysw.com> =================================================================== RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v retrieving revision 1.50.2.1 diff -u -r1.50.2.1 Retrieve.properties --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 @@ -168,7 +168,8 @@ RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome RetrievalFIRForm.firs=FIR -RetrievalFIRForm.add.fir=Add related aerodromes to list +RetrievalFIRForm.add.fir=Add related aerodromes +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list RetrievalFIRForm.msg.invfir=Invalid FIR RetrievalFIRForm.thead.firs=FIR 200 3189 Print-Job client-error-not-found X-Login-Name: stefan_sitte X-Site-URL: http://www.cups.org/ Hello, the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. I've got a java programm thats print repetitively. When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") I don't think it was a successful operation when the printer i want to print at doesn't exists. Thank for help Stefan ------------------------------- my system: kde-version: 3.5.9-5.fc8 Fedora cups-version: 1.3.6-4.fc8 cups-pdf-version: 2.4.7-1.fc8 Java(TM) SE Runtime Environment (build 1.6.0_03-b05) From stefan.sitte at comsoft.de Fri Apr 25 05:16:35 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 05:16:35 -0700 Subject: successful operation if printer doesn't exist ? Message-ID: <32524-cups.general@news.easysw.com> > Hello, > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > I've got a java programm thats print repetitively. > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > I don't think it was a successful operation when the printer i want to print at doesn't exists. > > Thank for help > > Stefan > Sorry, wrong Subject > ------------------------------- > > my system: > kde-version: 3.5.9-5.fc8 Fedora > cups-version: 1.3.6-4.fc8 > cups-pdf-version: 2.4.7-1.fc8 > Java(TM) SE Runtime Environment (build 1.6.0_03-b05) From rmueller at esu3.org Fri Apr 25 06:54:12 2008 From: rmueller at esu3.org (Rex Mueller) Date: Fri, 25 Apr 2008 06:54:12 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32525-cups.general@news.easysw.com> Michael, Thank you that explains the subsystem much better for me. Similar thing to what HP does with model scripts. But 1000 times more printers available. > Rex Mueller wrote: > > the Printer Name? > > from the printers.conf points to the PPD? > > Yes. > > > so for example My question would be I have "quenames" on my HP/UX box, > > jet admin initiates a connection to the model script for the printer > > based on the IP address. > > On HP-UX, the /var/spool/lp/interface directory contains interface > scripts for each printer queue. Since System V LP does not support > anything other than character devices, the interface script runs an > external program to communicate with the device. > > CUPS *does* support different kinds of device interfaces and runs a > backend program at the end of the filter chain to send print data to > the device. The following page may be useful: > > http://www.cups.org/documentation.php/spec-design.html > > > Does CUPS do something similar to probe the device to determine the > > best model script? > > No, we rely on the backend reporting the make and model, which can > then be used to auto-select a driver. This does not happen > automatically when using the lpadmin command, but rather is supported > by the web interface and various GUI add-ons to CUPS. > > > OR when you create the printer you need to know the associated model > > script? > > When adding a printer with lpadmin, you need to know the model file, > which can be an interface script (for legacy queues that will not > work from most GUI applications) or (more commonly) a PPD name for > the printer. (PPD == PostScript Printer Description file, which is > used for all kinds of printers in CUPS) > > > So say for example, in order to create a HP 3800 > > > > The command line reference I found is as follows: > > > > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > > > In this line there is variable information for > > - name > > - device-uri > > - ppd-filename > > name is the name that appears on the <Printer name> line in > printers.conf. > > device-uri is the DeviceURI line in printers.conf. > > ppd-filename gets copied to /etc/cups/ppd/name.ppd > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From stefan.sitte at comsoft.de Fri Apr 25 07:39:52 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 07:39:52 -0700 Subject: successful operation if printer doesn't exist ? Message-ID: <32526-cups.general@news.easysw.com> Hello, here is a java code snippet to reproduce the "error". While running the snippet delete the printer (the default printer is used because of services[0]). import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.print.PageFormat; import java.awt.print.Printable; import java.awt.print.PrinterException; import java.awt.print.PrinterJob; import java.text.SimpleDateFormat; import java.util.Date; import javax.print.DocFlavor; import javax.print.PrintService; import javax.print.PrintServiceLookup; public class Print2DPrinterJob implements Printable{ public static void main(String arg[]) { final Print2DPrinterJob sp = new Print2DPrinterJob(); final PrintService[] services = PrintServiceLookup.lookupPrintServices( DocFlavor.SERVICE_FORMATTED.PAGEABLE, null); if (services.length > 0) { sp.run(services[0]); } } private void run(PrintService service) { while (true) { if (service != null) { final PrinterJob pj = PrinterJob.getPrinterJob(); pj.setPrintable(this); System.out.println("selected printer " + service.getName()); try { pj.setPrintService(service); pj.print(); } catch (final PrinterException pe) { String date = new SimpleDateFormat("kk:mm:ss") .format(new Date()); System.err.println("[" + date + "] " + pe); } } try { Thread.sleep(30000); } catch (final InterruptedException e) { e.printStackTrace(); } } } public int print(Graphics g,PageFormat pf,int pageIndex) { if (pageIndex == 0) { Graphics2D g2d= (Graphics2D)g; g2d.translate(pf.getImageableX(), pf.getImageableY()); g2d.setColor(Color.black); g2d.drawString("example string", 250, 250); g2d.fillRect(0, 0, 200, 200); return Printable.PAGE_EXISTS; } else { return Printable.NO_SUCH_PAGE; } } } From karl.h.beckers at gmx.net Fri Apr 25 08:55:39 2008 From: karl.h.beckers at gmx.net (Karl H. Beckers) Date: Fri, 25 Apr 2008 08:55:39 -0700 Subject: cannot find usb printer, though backend does Message-ID: <32527-cups.general@news.easysw.com> Hi all, this may be an odd config, but I've installed cups through optware on my DNS323 NAS device to print to a locally attached usb printer. Now, neither the GUI, nor lpinfo -v, nor /opt/lib/cups/daemon/cups-deviced 1 0 65534 requested-attributes=all show anything about usb. As a matter of fact, lpinfo -v displays nothing at all! cups-deviced displays the same devices which end up in the error_log when trying through the GUI: D [25/Apr/2008:16:35:39 +0100] [CGI] /opt/lib/cups/daemon/cups-deviced started - PID = 4606 I [25/Apr/2008:16:35:39 +0100] Started "/opt/lib/cups/daemon/cups-deviced" (pid=4606) D [25/Apr/2008:16:35:39 +0100] cupsdSendCommand: 5 file=6 D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "socket"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "scsi"... D [25/Apr/2008:16:35:39 +0100] [CGI] No address specified and no Address line in /opt/etc/cups/snmp.conf... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "lpd"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "http"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "ipp"... D [25/Apr/2008:16:35:39 +0100] PID 4606 (/opt/lib/cups/daemon/cups-deviced) exited with no errors. D [25/Apr/2008:16:35:39 +0100] cupsdCloseClient: 5 However, the backend seems to detect the printer alright: ~# /opt/lib/cups/backend/usb direct usb://Samsung/ML-2010 "Samsung ML-2010" "Samsung ML-2010 USB #1" "MFG:Samsung;CMD:GDI;MDL:ML-2010;CLS:PRINTER;STATUS:BUSY;" Am I missing smth.? I have heard about splix or the like being required for this printer, but shouldn't I at least be seeing the printer on the usb port, even if I can't correctly print before installing another driver? Shouldn't lpinfo say smth.? Any ideas where to look next? TIA, Karl. From enjoynitin at gmail.com Fri Apr 25 09:23:03 2008 From: enjoynitin at gmail.com (Nitin K) Date: Fri, 25 Apr 2008 09:23:03 -0700 Subject: Print job sorting using CUPS Message-ID: <32528-cups.general@news.easysw.com> Hi, Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? Please let me know. Thanks and regards, Nitin From msweet at apple.com Fri Apr 25 09:48:57 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 09:48:57 -0700 Subject: [cups.general] Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties In-Reply-To: <32523-cups.general@news.easysw.com> References: <32523-cups.general@news.easysw.com> Message-ID: <32529-cups.general@news.easysw.com> Stefan Sitte wrote: > =================================================================== > RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v > retrieving revision 1.50.2.1 > diff -u -r1.50.2.1 Retrieve.properties > --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 > +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 > @@ -168,7 +168,8 @@ > RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome > > RetrievalFIRForm.firs=FIR > -RetrievalFIRForm.add.fir=Add related aerodromes to list > +RetrievalFIRForm.add.fir=Add related aerodromes > +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list > RetrievalFIRForm.msg.invfir=Invalid FIR > RetrievalFIRForm.thead.firs=FIR > 200 3189 Print-Job client-error-not-found > Newsgroups: cups.general > X-Login-Name: stefan_sitte > X-Site-URL: http://www.cups.org/ > Path: news.easysw.com > Xref: news.easysw.com cups.general:32523 > NNTP-Posting-Host: 208.96.52.100 > > Hello, > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > I've got a java programm thats print repetitively. > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > I don't think it was a successful operation when the printer i want to print at doesn't exists. "200" is the HTTP status - the request was processed OK. "3189" is the length of the POST'd request. "client-error-not-found" is the IPP status that was returned in the response message. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 25 09:50:38 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 09:50:38 -0700 Subject: [cups.general] Print job sorting using CUPS In-Reply-To: <32528-cups.general@news.easysw.com> References: <32528-cups.general@news.easysw.com> Message-ID: <32530-cups.general@news.easysw.com> Nitin K wrote: > Hi, > > Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? Not directly, but you can write your own program to get the job info and then sort on whatever fields you want. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 25 15:33:24 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 15:33:24 -0700 Subject: [cups.general] cannot find usb printer, though backend does In-Reply-To: <32527-cups.general@news.easysw.com> References: <32527-cups.general@news.easysw.com> Message-ID: <32531-cups.general@news.easysw.com> Karl H. Beckers wrote: > Hi all, > this may be an odd config, but I've installed cups through optware on my DNS323 NAS device to print to a locally attached usb printer. > > Now, neither the GUI, nor lpinfo -v, nor /opt/lib/cups/daemon/cups-deviced 1 0 65534 requested-attributes=all show anything about usb. As a matter of fact, lpinfo -v displays nothing at all! cups-deviced displays the same devices which end up in the error_log when trying through the GUI: > > D [25/Apr/2008:16:35:39 +0100] [CGI] /opt/lib/cups/daemon/cups-deviced started - PID = 4606 > I [25/Apr/2008:16:35:39 +0100] Started "/opt/lib/cups/daemon/cups-deviced" (pid=4606) > D [25/Apr/2008:16:35:39 +0100] cupsdSendCommand: 5 file=6 > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "socket"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "scsi"... > D [25/Apr/2008:16:35:39 +0100] [CGI] No address specified and no Address line in /opt/etc/cups/snmp.conf... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "lpd"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "http"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "ipp"... > D [25/Apr/2008:16:35:39 +0100] PID 4606 (/opt/lib/cups/daemon/cups-deviced) exited with no errors. > D [25/Apr/2008:16:35:39 +0100] cupsdCloseClient: 5 > > However, the backend seems to detect the printer alright: > ~# /opt/lib/cups/backend/usb > direct usb://Samsung/ML-2010 "Samsung ML-2010" "Samsung ML-2010 USB #1" "MFG:Samsung;CMD:GDI;MDL:ML-2010;CLS:PRINTER;STATUS:BUSY;" > > Am I missing smth.? I have heard about splix or the like being required for this printer, but shouldn't I at least be seeing the printer on the usb port, even if I can't correctly print before installing another driver? Shouldn't lpinfo say smth.? Any ideas where to look next? I'd guess you are running into a permissions problem. The usb backend does not run as root... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From chengqin_j at yahoo.com Fri Apr 25 16:51:42 2008 From: chengqin_j at yahoo.com (chengqin) Date: Fri, 25 Apr 2008 16:51:42 -0700 Subject: CUPS DIGEST Message-ID: <32532-cups.general@news.easysw.com> hi, I am using CUPS 1.3.6 on Suse 10.1. I have question on AuthType Digest. At beginning, I used Basic of AuthType. It works. Then I replaced Basic with Digest in cupsd.conf. When I tried to add printer vi http://localhost:631, the username/passwd window kept prompting. I checked my error_log, and I got the error msg as follows: Authorized using Basic, expected Digest! What does it mean? How can I solve it? Thanks, ivy1234 From enjoynitin at gmail.com Sun Apr 27 14:02:16 2008 From: enjoynitin at gmail.com (Nitin K) Date: Sun, 27 Apr 2008 14:02:16 -0700 Subject: Print job sorting using CUPS Message-ID: <32533-cups.general@news.easysw.com> Thanks for your reply Michael. If by any chance you've come across this requirement in past, could you please explain briefly how this can be achieved? Reards, Nitin > Nitin K wrote: > > Hi, > > > > Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? > > Not directly, but you can write your own program to get the job > info and then sort on whatever fields you want. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From henri at stmargarets.school.nz Sun Apr 27 14:10:57 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 27 Apr 2008 14:10:57 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> References: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> Message-ID: <32534-cups.general@news.easysw.com> You may want to have a look at PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup With PrinterSetup you create one PrinterSetupFile (PSF) per queue you wish to create. In this PSF you specifify the following information : Printer Name : BigBen Printer Description : Big Ben Color Printer Location : The Big Color Printer Printer Network Address : lpd://bigben.mycomapny.com Printer PPD : BigBen.ppd Once you have created a PSF for each queue, you then create links to these PSFs into the PrinterSetupLinks directory. Finally you can run PrinterSetup to generate these queues. The idea is that you will have created a flat file database of your cups queues. This queue information is now easily editable with any text editor or any combination of the various text and file manipulation tools available modern *NIX systems. This is one more approach which you may want to consider if you have many printers you are managing or converting. However, it will not automatically detect the correct PPD. Instead you will need to specify this information within the PSF. Hope this helps. > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > In this line there is variable information for > - name > - device-uri > - ppd-filename From mark.richards at massmicro.com Sun Apr 27 14:56:24 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Sun, 27 Apr 2008 14:56:24 -0700 Subject: [cups.general] best place for help? In-Reply-To: <3E5726D7-5134-4DEB-BA8C-8D167AE02504@stmargarets.school.nz> References: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> <3E5726D7-5134-4DEB-BA8C-8D167AE02504@stmargarets.school.nz> Message-ID: <32535-cups.general@news.easysw.com> Folks, I posted a request regarding an issue and have not seen any response on it. So I am wondering if this is the right place? The issue has to do with accessing a certain printer that's cups supported via win xp clients. There are some messages appearing in the logs which seem to indicate a relationship to the problem and cups. If this is not the right place, maybe someone could direct me? Thanks for any help, /mark From stefan.sitte at comsoft.de Sun Apr 27 23:03:31 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Sun, 27 Apr 2008 23:03:31 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32536-cups.general@news.easysw.com> > Stefan Sitte wrote: > > =================================================================== > > RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v > > retrieving revision 1.50.2.1 > > diff -u -r1.50.2.1 Retrieve.properties > > --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 > > +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 > > @@ -168,7 +168,8 @@ > > RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome > > > > RetrievalFIRForm.firs=FIR > > -RetrievalFIRForm.add.fir=Add related aerodromes to list > > +RetrievalFIRForm.add.fir=Add related aerodromes > > +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list > > RetrievalFIRForm.msg.invfir=Invalid FIR > > RetrievalFIRForm.thead.firs=FIR > > 200 3189 Print-Job client-error-not-found > > Newsgroups: cups.general > > X-Login-Name: stefan_sitte > > X-Site-URL: http://www.cups.org/ > > Path: news.easysw.com > > Xref: news.easysw.com cups.general:32523 > > NNTP-Posting-Host: 208.96.52.100 > > > > Hello, > > > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > > > I've got a java programm thats print repetitively. > > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > > > I don't think it was a successful operation when the printer i want to print at doesn't exists. > > "200" is the HTTP status - the request was processed OK. > > "3189" is the length of the POST'd request. > > "client-error-not-found" is the IPP status that was returned in the > response message. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi Michael, thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? Regarding Stefan From joropo at pioneerwireless.net Mon Apr 28 06:50:08 2008 From: joropo at pioneerwireless.net (John Ross Porter) Date: Mon, 28 Apr 2008 06:50:08 -0700 Subject: How do I remove *this* printer from web interface? Message-ID: <32537-cups.general@news.easysw.com> >>>>as copied from http://localhost:631/printers/ <<<< {printer_name} Description: {printer_info} Location: {printer_location} Printer Driver: {printer_make_and_model} Printer State: stopped, rejecting jobs, published. >>>>end copy <<<< I've recently upgrades from Fedora 6 to Fedora 8. As part of the process I have a new level of CUPS. I had been using CUPS with Fedora 6 without complaint and have successfully configured CUPS to communicate with my printer. However, the printers/ page referred to above lists a printer I did not configure and can not delete. No matter what I've tried to do to this "printer", re-name, re-configure, whatever... the {printer_name} "device" keeps reappearing. I could be happy just forgetting about it but, like a pebble in one's shoe I expect it to become an irritant. From rmueller at esu3.org Mon Apr 28 07:56:10 2008 From: rmueller at esu3.org (Rex Mueller) Date: Mon, 28 Apr 2008 07:56:10 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32538-cups.general@news.easysw.com> Michael, One more quick question? What is the HP/UX equivalent command to commandline printing for option arguments? Such as -oc (for compressed) -ovsi#.## for vertical space I am not sure if our application vendor will be providing support beyond character based printing for a while. 95% are RAW character output. There no formatting in the output other then column/table format.. (it is an old accounting package.) In HP/UX the command line make look as such: lp -d quename -o<option1> -o<option2> $docname is there a reference table that maybe able to give me a directive on this as well? From mike at easysw.com Mon Apr 28 08:54:21 2008 From: mike at easysw.com (Michael Sweet) Date: Mon, 28 Apr 2008 08:54:21 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties In-Reply-To: <32536-cups.general@news.easysw.com> References: <32536-cups.general@news.easysw.com> Message-ID: <32539-cups.general@news.easysw.com> Stefan Sitte wrote: > ... > thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? It's a Java problem - they are not propagating the IPP error that is returned. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Mon Apr 28 10:25:35 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 28 Apr 2008 10:25:35 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32538-cups.general@news.easysw.com> References: <32538-cups.general@news.easysw.com> Message-ID: <32540-cups.general@news.easysw.com> Rex Mueller wrote: > Michael, > > One more quick question? > > > What is the HP/UX equivalent command to commandline printing for option arguments? Such as > > -oc (for compressed) > -ovsi#.## for vertical space The standard CUPS options are described here: http://localhost:631/help/options.html -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From claus.atzenbeck at freenet.de Mon Apr 28 12:36:29 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Mon, 28 Apr 2008 12:36:29 -0700 Subject: [cups.general] Printing UTF-8 via command line Message-ID: <32541-cups.general@news.easysw.com> Hello, I have Mac OS 10.5.2. I am wondering how I could print UTF-8 plain text files by command line using CUPS. I tried lpr -o document-format=text/utf8 <UTF-8_FileToPrint> but lpr tells me that the format "text/utf8" is not supported. Cheers, Claus From msweet at apple.com Mon Apr 28 15:51:51 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 28 Apr 2008 15:51:51 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> Message-ID: <32542-cups.general@news.easysw.com> Claus Atzenbeck wrote: > Hello, > > I have Mac OS 10.5.2. I am wondering how I could print UTF-8 plain text > files by command line using CUPS. > > I tried > > lpr -o document-format=text/utf8 <UTF-8_FileToPrint> > > but lpr tells me that the format "text/utf8" is not supported. Text files use UTF-8 by default in CUPS 1.2 and higher. You can pass "text/plain" for the document-format, but that should be auto- detected... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From claus.atzenbeck at freenet.de Tue Apr 29 00:36:23 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Tue, 29 Apr 2008 00:36:23 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <481654FD.8050404@apple.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> Message-ID: <32543-cups.general@news.easysw.com> On Mon, 28 Apr 2008, Michael R Sweet wrote: > Text files use UTF-8 by default in CUPS 1.2 and higher. You can > pass "text/plain" for the document-format, but that should be auto- > detected... Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with Unicode. For example, I have a UTF-8 plain text file with bullet points ("?"). Executing "lpr utf8.txt" prints "???" instead of the bullet points. Any workaround? Cheers, Claus From mike at easysw.com Tue Apr 29 01:28:07 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 29 Apr 2008 01:28:07 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <32543-cups.general@news.easysw.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> <32543-cups.general@news.easysw.com> Message-ID: <32544-cups.general@news.easysw.com> Claus Atzenbeck wrote: > On Mon, 28 Apr 2008, Michael R Sweet wrote: > >> Text files use UTF-8 by default in CUPS 1.2 and higher. You can >> pass "text/plain" for the document-format, but that should be auto- >> detected... > > Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with > Unicode. > > For example, I have a UTF-8 plain text file with bullet points ("?"). > Executing "lpr utf8.txt" prints "???" instead of the bullet points. File a bug with Apple: http://bugreport.apple.com -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From claus.atzenbeck at freenet.de Tue Apr 29 01:52:50 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Tue, 29 Apr 2008 01:52:50 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <32544-cups.general@news.easysw.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> <32543-cups.general@news.easysw.com> <32544-cups.general@news.easysw.com> Message-ID: <32545-cups.general@news.easysw.com> On Tue, 29 Apr 2008, Michael Sweet wrote: >> Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with >> Unicode. >> >> For example, I have a UTF-8 plain text file with bullet points ("?"). >> Executing "lpr utf8.txt" prints "???" instead of the bullet points. > > File a bug with Apple: > > http://bugreport.apple.com At least I know now that it should print UTF-8. I filed a bug report. Cheers, Claus. From kalyani.vel at gmail.com Tue Apr 29 01:57:03 2008 From: kalyani.vel at gmail.com (velupillai) Date: Tue, 29 Apr 2008 01:57:03 -0700 Subject: Serial configuration Message-ID: <32546-cups.general@news.easysw.com> Hello, When we use the serial backend, we have to manually set rights for the serial device example chmod o+rw /dev/ttyS0 and then everything is OK printer installation, printing and so on The problem is that we have to set again the rights after each reboot of the machine !!! Is there any solution for this ? Thanks From john at cs.york.ac.uk Tue Apr 29 02:57:49 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Tue, 29 Apr 2008 02:57:49 -0700 Subject: Set allowed users makes printer invisible Message-ID: <32547-cups.general@news.easysw.com> Here's an odd problem - which I haven't perhaps characterised enough to report as a bug. When one sets an 'Allow these users to print' list (e.g. "john at SITE.AC.UK,lucy at SITE.AC.UK") for a printer in CUPS 1.3.7 operated with 'AuthType Negotiate', with patches for bugs 2748, 2749, 2782 and 2783, the printer is lost from the web list of printers. It is reported as non-existent for printing, though it is recorded in printers.conf with the above users each given an "AllowUser" line. To fix the problem, I edited out the permission lines and restarted cupsd. The problem is reproduceable. I have the cupsd with LogLevel set to Info (it is our production server) and haven't yet tried this somewhere I can reasonably set debug/debug2, and there is no apparently applicable error message in error_log. Has anyone else seen this? John A. Murdie From h.blischke at srz.de Tue Apr 29 03:02:31 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 29 Apr 2008 03:02:31 -0700 Subject: Serial configuration In-Reply-To: <32546-cups.general@news.easysw.com> References: <32546-cups.general@news.easysw.com> Message-ID: <32548-cups.general@news.easysw.com> velupillai wrote: > Hello, > > When we use the serial backend, we have to manually set rights for the serial device > > example > chmod o+rw /dev/ttyS0 > > and then everything is OK > printer installation, printing and so on > > The problem is that we have to set again the rights after each reboot of the machine !!! > > Is there any solution for this ? > > Thanks > > Try to set the permissions for the serial backend to 0700 so that it is run as root. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From rmueller at esu3.org Tue Apr 29 06:19:22 2008 From: rmueller at esu3.org (Rex Mueller) Date: Tue, 29 Apr 2008 06:19:22 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32549-cups.general@news.easysw.com> Thanks Again .. > Rex Mueller wrote: > > Michael, > > > > One more quick question? > > > > > > What is the HP/UX equivalent command to commandline printing for option arguments? Such as > > > > -oc (for compressed) > > -ovsi#.## for vertical space > > The standard CUPS options are described here: > > http://localhost:631/help/options.html > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From stefan.sitte at comsoft.de Tue Apr 29 06:39:01 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Tue, 29 Apr 2008 06:39:01 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32550-cups.general@news.easysw.com> > Stefan Sitte wrote: > > ... > > thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? > > It's a Java problem - they are not propagating the IPP error that is > returned. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com Thanks Michael, that's what i wanted to hear. From tim_plunkett at praxair.com Tue Apr 29 06:59:48 2008 From: tim_plunkett at praxair.com (Tim Plunkett) Date: Tue, 29 Apr 2008 06:59:48 -0700 Subject: Add a printer under HP-UX 11.23 Message-ID: <32551-cups.general@news.easysw.com> I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? Printing works fine outside of CUPS. Thanks in advance. From msweet at apple.com Tue Apr 29 08:57:18 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 29 Apr 2008 08:57:18 -0700 Subject: [cups.general] Set allowed users makes printer invisible In-Reply-To: <32547-cups.general@news.easysw.com> References: <32547-cups.general@news.easysw.com> Message-ID: <32552-cups.general@news.easysw.com> John A. Murdie wrote: > Here's an odd problem - which I haven't perhaps characterised enough to report as a bug. When one sets an 'Allow these users to print' list (e.g. "john at SITE.AC.UK,lucy at SITE.AC.UK") for a printer in CUPS 1.3.7 operated with 'AuthType Negotiate', with patches for bugs 2748, 2749, 2782 and 2783, the printer is lost from the web list of printers. It is reported as non-existent for printing, though it is recorded in printers.conf with the above users each given an "AllowUser" line. > > To fix the problem, I edited out the permission lines and restarted cupsd. The problem is reproduceable. I have the cupsd with LogLevel set to Info (it is our production server) and haven't yet tried this somewhere I can reasonably set debug/debug2, and there is no apparently applicable error message in error_log. > > Has anyone else seen this? This is expected - if you want the web interface to reflect the printers supported by particular users, you need to authenticate all web access... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Apr 29 09:00:33 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 29 Apr 2008 09:00:33 -0700 Subject: [cups.general] Add a printer under HP-UX 11.23 In-Reply-To: <32551-cups.general@news.easysw.com> References: <32551-cups.general@news.easysw.com> Message-ID: <32553-cups.general@news.easysw.com> Tim Plunkett wrote: > I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" > I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? > Printing works fine outside of CUPS. You need GPL Ghostscript to print to non-PostScript printers. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From thalian at compuserve.com Tue Apr 29 14:27:52 2008 From: thalian at compuserve.com (Dave Schuler) Date: Tue, 29 Apr 2008 14:27:52 -0700 Subject: Looking for CUPS consultant Message-ID: <32554-cups.general@news.easysw.com> I'm having a problem using a Dymo LabelWriter 400 printer under Ubuntu 7.10 Linux. I'm using CUPS and believe I've got the driver installed correctly. I can access the printer but am having a problem printing what we need to print on the printer. We use custom labels and I suspect we need to have a media size other than the standard ones added to the CUPS setup. Help! Need help soonest! From justin.huang at liteon.com Wed Apr 30 00:31:45 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 30 Apr 2008 00:31:45 -0700 Subject: Port Monitor questions Message-ID: <32555-cups.general@news.easysw.com> Hi, I modified BCP program and copy the compiled bcp monitor to /usr/lib/cups/monitor/pm. Then I modified the PPD file by adding a line and then restart cupsd: *cupsPortMonitor usb/USB Printing: "pm" I let the port monitor create a file in /tmp folder so I can check the file to see if the monitor had been launched. After submiting many jobs to the printer, I still cannot see the log file there. The print jobs seem to bypass the port monitor and go directly to the backend. Did I do anything wrong? From meyer at mesw.de Wed Apr 30 01:45:47 2008 From: meyer at mesw.de (Markus Meyer) Date: Wed, 30 Apr 2008 01:45:47 -0700 Subject: [cups.general] Blank page printed after each job Message-ID: <32556-cups.general@news.easysw.com> Hi everyone, I am using CUPS 1.3.7 as part of Ubuntu 8.04 on an i386 architecture computer with an HP LaserJet 3030 printer (Foomatic/hpijs 2.8.2 driver). The printer is connected via a printer server at lpd://192.168.0.1/lpt1. My problem is that after each job (be it a test page, printing from OpenOffice, Firefox etc.) a blank page is output. This seems to be the same problem as in numerous other cases, e.g. see http://article.gmane.org/gmane.comp.printing.cups.general/384/ http://article.gmane.org/gmane.comp.printing.cups.general/4178/ http://article.gmane.org/gmane.comp.printing.cups.general/8825/ I already tried to set ps_accounting to 0 in both /usr/lib/cups/filter/cupsomatic and /etc/foomatic/filter.conf and rebooted the computer, but this did not help. I can't believe that this is a problem which seems to exist for years and no one knows an answer! I would be willing to debug this and provide more information if you just give me a pointer. Thanks in advance! Markus From jsmeix at suse.de Wed Apr 30 02:44:16 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 30 Apr 2008 02:44:16 -0700 Subject: [cups.general] Blank page printed after each job In-Reply-To: <481831B2.1030604@mesw.de> References: <481831B2.1030604@mesw.de> Message-ID: <32557-cups.general@news.easysw.com> Hello, On Apr 30 10:45 Markus Meyer wrote (shortened): > I am using CUPS 1.3.7 as part of Ubuntu 8.04 on an i386 architecture > computer with an HP LaserJet 3030 printer (Foomatic/hpijs 2.8.2 driver). > The printer is connected via a printer server at lpd://192.168.0.1/lpt1. > > My problem is that after each job (be it a test page, printing from > OpenOffice, Firefox etc.) a blank page is output. I guess you have to configure your printserver box correctly so that it does no longer emit an additional formfeed character, see your documentation of your printserver box. E.g. you may use a different queue name instead of "lpt1" which does not emit an additional formfeed character if possible, see your documentation of your printserver box. Alternatively use the "AppSocket Protocol" instead of LPD, see http://www.cups.org/documentation.php/network.html > I can't believe that this is a problem which seems to exist > for years and no one knows an answer! I can't believe that it is a problem to find possible answers via Google - at least I found several possible reasons and many answers. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From meyer at mesw.de Wed Apr 30 03:37:10 2008 From: meyer at mesw.de (Markus Meyer) Date: Wed, 30 Apr 2008 03:37:10 -0700 Subject: [cups.general] Blank page printed after each job In-Reply-To: <Pine.LNX.4.64.0804301136210.14925@nelson.suse.de> References: <481831B2.1030604@mesw.de> <Pine.LNX.4.64.0804301136210.14925@nelson.suse.de> Message-ID: <32558-cups.general@news.easysw.com> Johannes, Johannes Meixner schrieb: > I guess you have to configure your printserver box correctly > so that it does no longer emit an additional formfeed character, > the printserver box (an Arcor EasyBox DSL/WLAN/USB) does not "emit an additional formfeed character" when printing to the same printer from Windows XP nor does the documentation mention such a feature. Also, the box does not support the AppSocket protocol, so using it is out of question. I now renamed the queue name from "lpt1" to "hp" according to your suggestion, but the behaviour did not change. > I can't believe that it is a problem to find possible answers > via Google - at least I found several possible reasons > and many answers. > I did find many people having the same problem on Google but no definitive answers as to what would be the root cause of the problem. You may have noticed that the three threads on the Cups mailing list I provided links for all went unanswered. The same goes for the Ubuntu forums, where other people expressed this same problem and did not get an answer either. There is even a FAQ about this problem (see http://www.linux-foundation.org/en/OpenPrinting/Database/CupsFAQ#Why_does_a_blank_page_print_for_every_print_job.3F), but it says "The exact cause is unknown. There is one possible workaround...". I tried this workaround but it does not change the behaviour for me. It also is not inspiring confidence in CUPS if there seems to be a long-standing issue where the "exact cause is unknown". I'm not pointing fingers at anyone, as I wrote I would even offer to debug this myself if I was given a pointer on where to start. Instead you are telling me to use Google which I already did. Markus From tim_plunkett at praxair.com Wed Apr 30 07:08:37 2008 From: tim_plunkett at praxair.com (Tim Plunkett) Date: Wed, 30 Apr 2008 07:08:37 -0700 Subject: Add a printer under HP-UX 11.23 Message-ID: <32559-cups.general@news.easysw.com> > Tim Plunkett wrote: > > I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" > > I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? > > Printing works fine outside of CUPS. > > You need GPL Ghostscript to print to non-PostScript printers. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hello Michael, I thought my printer was postscript compatible. My applications generate pdf files for output. I use the pdftops utility to convert the output to postscript, then send those files via lp (without CUPS) Are you saying that my HP Laserjet 4 printer is non-Postscript? Sory if this is so innane - this is all new to me. From mike at easysw.com Wed Apr 30 09:04:29 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 30 Apr 2008 09:04:29 -0700 Subject: Port Monitor questions In-Reply-To: <32555-cups.general@news.easysw.com> References: <32555-cups.general@news.easysw.com> Message-ID: <32560-cups.general@news.easysw.com> Justin Huang wrote: > Hi, > I modified BCP program and copy the compiled bcp monitor to /usr/lib/cups/monitor/pm. Then I modified the PPD file by adding a line and then restart cupsd: > *cupsPortMonitor usb/USB Printing: "pm" > > I let the port monitor create a file in /tmp folder so I can check the file to see if the monitor had been launched. After submiting many jobs to the printer, I still cannot see the log file there. The print jobs seem to bypass the port monitor and go directly to the backend. > > Did I do anything wrong? For existing queues you need to do: lpadmin -p printer -o port-monitor=pm -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From mike at easysw.com Wed Apr 30 09:05:48 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 30 Apr 2008 09:05:48 -0700 Subject: Add a printer under HP-UX 11.23 In-Reply-To: <32559-cups.general@news.easysw.com> References: <32559-cups.general@news.easysw.com> Message-ID: <32561-cups.general@news.easysw.com> Tim Plunkett wrote: >> Tim Plunkett wrote: >>> I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" >>> I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? >>> Printing works fine outside of CUPS. >> You need GPL Ghostscript to print to non-PostScript printers. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Hello Michael, > > I thought my printer was postscript compatible. My applications generate pdf files for output. I use the pdftops utility to convert the output to postscript, then send those files via lp (without CUPS) Are you saying that my HP Laserjet 4 printer is non-Postscript? Sory if this is so innane - this is all new to me. The driver you are using generates PCL. If you do actually have the PostScript version, use the manufacturer's PPD file from Windows with CUPS instead. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From kev at kevnet.org.uk Wed Apr 30 09:37:42 2008 From: kev at kevnet.org.uk (Kev Latimer) Date: Wed, 30 Apr 2008 09:37:42 -0700 Subject: "Satisfy Any" in cupsd.conf Message-ID: <32562-cups.general@news.easysw.com> Hi all, Has anybody any idea why the Satisfy Any directive might be being ignored in my cupsd.conf? All I want is to have certain hosts get access to admin functions without authenticating, all others seeing a user/pass dialogue. I have a pretty identical directive working as expected in my older 1.1-based servers, but it ain't working in my 1.2's. Server versions are 1.2.7-4etch2, and they're Debian Stable/Etch packages. Is it the Debianness that's causing this? Or is it the very likely possibility that I've done something stupid and just can't spot it? The offending article is: <Location /admin> Satisfy any Allow from 10.21.0.4 AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> Any pointers appreciated! Cheers, Kev From msweet at apple.com Wed Apr 30 10:01:57 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 30 Apr 2008 10:01:57 -0700 Subject: [cups.general] "Satisfy Any" in cupsd.conf In-Reply-To: <32562-cups.general@news.easysw.com> References: <32562-cups.general@news.easysw.com> Message-ID: <32563-cups.general@news.easysw.com> Kev Latimer wrote: > Hi all, > > Has anybody any idea why the Satisfy Any directive might be being ignored in my cupsd.conf? All I want is to have certain hosts get access to admin functions without authenticating, all others seeing a user/pass dialogue. I have a pretty identical directive working as expected in my older 1.1-based servers, but it ain't working in my 1.2's. You need to use policies in 1.2 and higher for this, as the policy adds to the location security definitions. That said, there is a known issue with "Satisfy Any" in policies that we just fixed; STR #2782 has the fix: http://www.cups.org/str.php?L2782 -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rhitchco at ece.utk.edu Wed Apr 30 10:49:57 2008 From: rhitchco at ece.utk.edu (Blake) Date: Wed, 30 Apr 2008 10:49:57 -0700 Subject: Missing Arguments when Using ACCSNMP Message-ID: <32564-cups.general@news.easysw.com> I am setting up a print server at work, and everything is working correctly as far as that goes. However, I want to use accsnmp to keep track of users' page counts. I have used accsnmp in the past with no problems, but since installing the version of cups that came with Ubuntu Hardy Heron (Cups 1.3.7), I have not been able to get it to work. I have gone through the cups error_log, and my best guess is that there is a problem with passing the arguments to the script. >From error_log: argv[0]="edoras" argv[1]="48" argv[2]="root" argv[3]="Test Page" argv[4]="1" argv[5]="job-uuid=urn:uuid:2d6396f8-469e-30ce-7469-cd6df8e67849" argv[6]="/var/spool/cups/d00048-001" However, argv[6] is not being passed to the backend accsnmp for some reason. All of the file permissions seem to be correct. If anyone has any insight on this, I would greatly appreciate the help. Oh, my device URI is accsnmp://socket://printer:9100. If I do just socket://printer:9100, everything works fine. From michael at espersunited.com Wed Apr 30 12:46:34 2008 From: michael at espersunited.com (Michael Sullivan) Date: Wed, 30 Apr 2008 12:46:34 -0700 Subject: [cups.general] Diagnosing a cups error Message-ID: <32565-cups.general@news.easysw.com> I run Gentoo Linux. The printer is hooked up to my wife's computer (running cups-1.2.12-r8). We used to be able to print stuff with the current configuration, but now we can't. Whenever we try to use a netscape-type browser, the thing freezes as soon as one requests a print dialog. If I go into CUPS web interface, I can print a test page successfully from there, and I can print on the command prompt by redirecting to /dev/lp0. Are there any tools I can use to further diagnose this problem? I know I have not provided complete information here; I can if deemed necessary, but I'm hoping that there's a simpler answer... -Michael Sullivan- From msweet at apple.com Wed Apr 30 16:45:25 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 30 Apr 2008 16:45:25 -0700 Subject: [cups.general] Missing Arguments when Using ACCSNMP In-Reply-To: <32564-cups.general@news.easysw.com> References: <32564-cups.general@news.easysw.com> Message-ID: <32566-cups.general@news.easysw.com> Blake wrote: > I am setting up a print server at work, and everything is working correctly as far as that goes. However, I want to use accsnmp to keep track of users' page counts. I have used accsnmp in the past with no problems, but since installing the version of cups that came with Ubuntu Hardy Heron (Cups 1.3.7), I have not been able to get it to work. I have gone through the cups error_log, and my best guess is that there is a problem with passing the arguments to the script. > >>From error_log: > > argv[0]="edoras" > argv[1]="48" > argv[2]="root" > argv[3]="Test Page" > argv[4]="1" > argv[5]="job-uuid=urn:uuid:2d6396f8-469e-30ce-7469-cd6df8e67849" > argv[6]="/var/spool/cups/d00048-001" > > However, argv[6] is not being passed to the backend accsnmp for some reason. All of the file permissions seem to be correct. If anyone has any insight on this, I would greatly appreciate the help. Right, only the first filter (or the backend for a raw job) gets the file in argv[6]. Otherwise you MUST read from stdin... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From michael.lackner at unileoben.ac.at Tue Apr 1 00:01:34 2008 From: michael.lackner at unileoben.ac.at (Michael Lackner) Date: Tue, 01 Apr 2008 00:01:34 -0700 Subject: Authenticated Printing (Linux on Linux) usingCUPS and IPP Message-ID: <32271-cups.general@news.easysw.com> > Sorry this is slightly off topic. PrintAgent offers CUP's print-job > authentication so I believe this is relevant to your question. > > PrintAgent is a component of PrintingWorks : http://www.lucidsystems.org/printingworks > > There is a demonstration available online. The demonstration is shown > on Mac OS X. However, PrintAgent is capable of providing print > authentication on most modern operating systems including RedHat as it > is written in ruby. > > PrintAgent is a free download and is licensed under the GNU GPL so you > can tailor the system to meet your requirements. > > Hope this helps. Thanks for your reply. I guess PrintAgent is a CUPS Backend Wrapper just like Papercut and PyKota? Question is, how usernames and passwords are being passed to PrintAgent. I guess, i will meet heavy resistance in our department, if I try to force Linux users to install a client application for this.. But thanks for showing me PrintAgent, I'll try that, hope it doesn't conflict with Papercut. > > > On top of that, why am I not being asked with some sort of GUI > > popup? > > > If i hadn't started Adobe Reader from the bash, i would have never > > > seen the CLI dialog prompting me for a password to authenticate > > > against the server... > > > > For what it's worth, I am working on a solution for this as part of > > the > > system-config-printer administration and job monitoring tool in Red > > Hat > > Enterprise Linux and Fedora. That would also be very convenient, if one could just enter UN/PWD in the system-config-printer GUI (maybe for IPP and SMB?). Thanks so far. From twaugh at redhat.com Tue Apr 1 01:37:52 2008 From: twaugh at redhat.com (Tim Waugh) Date: Tue, 01 Apr 2008 01:37:52 -0700 Subject: [cups.general] Authenticated Printing (Linux on Linux) usingCUPS and IPP In-Reply-To: <32271-cups.general@news.easysw.com> References: <32271-cups.general@news.easysw.com> Message-ID: <32272-cups.general@news.easysw.com> On Tue, 2008-04-01 at 00:01 -0700, Michael Lackner wrote: > That would also be very convenient, if one could just enter UN/PWD in > the system-config-printer GUI (maybe for IPP and SMB?). In fact it will be part of the job monitoring application -- the one that shows a printer icon in the notification area when a print job is in the queue. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <https://lists.cups.org/pipermail/cups/attachments/20080401/41a6bbc2/attachment.bin> From monnier at iro.umontreal.ca Tue Apr 1 02:16:58 2008 From: monnier at iro.umontreal.ca (Stefan Monnier) Date: Tue, 01 Apr 2008 02:16:58 -0700 Subject: [cups.general] Authenticated Printing (Linux on Linux) using CUPS and IPP References: <32265-cups.general@news.easysw.com> Message-ID: <32273-cups.general@news.easysw.com> > ipp://<user>:<pwd>@printerhost:631/<printqueue> [...] > <Location /printers/iR3025N> > AuthType Basic > Order Deny,Allow > Deny From All > Allow From All > </Location> Sorry, can't help you, but I just want to point out that this is exactly what I want to do as well. I already posted a question about it on this list, tho not nearly as clear as yours (because I had no idea how to even start using Basic auth), and didn't get any useful answer. Hopefully your better formulated question will bring some concrete answer. Stefan From alet at librelogiciel.com Tue Apr 1 02:38:21 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 02:38:21 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32206-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> Message-ID: <32274-cups.general@news.easysw.com> On Thu, Mar 20, 2008 at 07:16:47AM -0700, cedric chambault wrote: > I have a cups server and try to install client (ubuntu feisty). > I have 1500 students using ldap authentication. > lp command has a "-U" option to specify USERNAME. > but if a student, username "student1" type "lp -U student2 file" > it prints "file" using the "student2" account. > I also use pykota for printing quotas and the command use the student2 quota. > I don't know how to block "-U" option to prevent users to steal quota from others ! Still no (real) answer to this ? Is this because the solution is in CUPS' documentation ? Or is this because CUPS lacks the functionnality to ensure users really are who they claim they are ? Cedric if you can't do this with CUPS (I really don't know), since you are using PyKota you can use its PyKotIcon add-on to do what you want. The sample pykota.conf configuration file contains several examples. You can also use PrintAgent it seems, which offer similar functionnalities, although less generic if I understand correctly. bye Jerome Alet From jsmeix at suse.de Tue Apr 1 03:49:16 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 01 Apr 2008 03:49:16 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <20080401072817.GA20201@mail.librelogiciel.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> Message-ID: <32275-cups.general@news.easysw.com> Hello, On Apr 1 09:28 Jerome Alet wrote (shortened): > On Thu, Mar 20, 2008 at 07:16:47AM -0700, cedric chambault wrote: > ... > > lp command has a "-U" option to specify USERNAME. > > but if a student, username "student1" type "lp -U student2 file" > > it prints "file" using the "student2" account. .... > ... is this because CUPS lacks the functionnality to ensure users > really are who they claim they are ? According to how I understand it, how should a service running on a server machine know who the user is "behind" a client program on a remote client system without special authentication? See "man cancel" ----------------------------------------------------------------- Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in cupsd.conf(5). ----------------------------------------------------------------- Since CUPS 1.2 see also http://www.cups.org/documentation.php/policies.html Since CUPS 1.3 Kerberos might be useful to avoid an explicite authentication dialog for each job submission (or whatever else IPP operation an authentication requires), see http://www.cups.org/documentation.php/kerberos.html By the way: Think about a user who makes his own IPP client program which can send whatever he likes to the CUPS server. Think about a user who is root on his own laptop so that he can run arbitrary programs to receive and send arbitrary stuff via network. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From david.collins at goodrich.com Tue Apr 1 08:24:20 2008 From: david.collins at goodrich.com (David Collins) Date: Tue, 01 Apr 2008 08:24:20 -0700 Subject: For Michael Sweet Message-ID: <32276-cups.general@news.easysw.com> Mike, I really would like to have a conversation about the easysw products that we had purchased and suggestions on going forward. We have quite a large number of printers in our environment. Thanks, David From mike at easysw.com Tue Apr 1 09:36:15 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 09:36:15 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32274-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <32274-cups.general@news.easysw.com> Message-ID: <32277-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Or is this because CUPS lacks the functionnality to ensure users > really are who they claim they are ? You need to enable authentication. Note that doing so will likely break applications that print using the lp/lpr commands... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From alet at librelogiciel.com Tue Apr 1 10:54:45 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 10:54:45 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> Message-ID: <32278-cups.general@news.easysw.com> On Tue, Apr 01, 2008 at 12:49:01PM +0200, Johannes Meixner wrote: > > According to how I understand it, how should a service running > on a server machine know who the user is "behind" a client program > on a remote client system without special authentication? > ... > > Think about a user who makes his own IPP client program > which can send whatever he likes to the CUPS server. > > Think about a user who is root on his own laptop so that > he can run arbitrary programs to receive and send > arbitrary stuff via network. Is there is a way for the CUPS server to require the password for the username specified with -U (and not for the user who launched the lp command) ? This seems to be a very common problem. So either people don't read the CUPS' documentation (me included), can't find it while reading it, or it is not possible. If user 'john' launches 'lp' without using -U, then there should be a way for CUPS to ask john's password. If now 'john' launches 'lp -U Mary ...' then CUPS should ask for Mary's password (or wait for it as part of the job submission process). Is this possible with some setting in cupsd.conf ? If yes how ? Of course this should work with any IPP client : if the transmitted password is incorrect on the CUPS server side, or possibly not send at all, the job should be rejected. Even without asking for a password, is there a setting in cupsd.conf to allow the checking for the existence of that particular user, preferably through PAM and/or configurable external command (think special LDAP queries combined with time slots and the like) ? It seems several people are having this very same problem. Personally I'm playing with settings in my cupsd.conf, and the logs don't make any sense to me (date removed for readability) : --- CUT --- D [] cupsdReadClient: 23 POST /printers/PDFGen HTTP/1.1 D [] cupsdAuthorize: No authentication data provided. D [] Print-Job ipp://localhost/printers/PDFGen D [] print_job: auto-typing file... D [] cupsdIsAuthorized: username="" E [] Print-Job: Unauthorized D [] cupsdSendError: 23 code=401 (Unauthorized) D [] cupsdCloseClient: 23 D [] cupsdAcceptClient: 23 from localhost:631 (IPv4) D [] cupsdReadClient: 23 POST /printers/PDFGen HTTP/1.1 D [] cupsdAuthorize: Authorized as root using Local D [] Print-Job ipp://localhost/printers/PDFGen D [] print_job: auto-typing file... D [] cupsdIsAuthorized: username="root" I [] [Job 124] Adding start banner page "none,none". --- CUT --- Jow was printed on local CUPS server by user 'jerome' with : lp -U nonuser -dPDFGen myfile.ps No password was asked, 'nonuser' doesn't exist locally, and job was printed. Was is this 'cupsdAuthorize' and in which way was this print job related to user 'root' ??? Why did CUPS send and error 401 but lp didn't ask anything ? my cupsd.conf contained --- CUT --- LogLevel debug SystemGroup lpadmin # Allow remote access Port 631 # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic <Location /> Allow localhost # Allow shared printing... Order allow,deny Allow @LOCAL </Location> <Location /admin> Allow localhost # Restrict access to the admin pages... Order allow,deny Allow localhost </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM Allow localhost # Restrict access to the configuration files... Order allow,deny Allow localhost </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job Print-Job> #Require user @OWNER @SYSTEM Require valid-user AuthType Default Order deny,allow </Limit> <Limit All> Order deny,allow Allow @LOCAL </Limit> </Policy> --- CUT --- Any hint about what I'm doing incorrectly ? I thought changing the '<Limit CUPS-Authenticate-Job Print-Job>' in the default policy would be sufficient... Thanks in advance for any help. Jerome Alet From msweet at apple.com Tue Apr 1 13:03:23 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 01 Apr 2008 13:03:23 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <20080401115850.GC14818@mail.librelogiciel.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> Message-ID: <32279-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Is there is a way for the CUPS server to require the password for the > username specified with -U (and not for the user who launched the lp > command) ? Not generally, although the peer credential stuff will work this way for domain socket connections on 1.3 and higher. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From henri at stmargarets.school.nz Tue Apr 1 13:40:00 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:40:00 -0700 Subject: [cups.general] Authenticated Printing In-Reply-To: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> References: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> Message-ID: <32280-cups.general@news.easysw.com> Sorry, I do not have any experience integrating PrintAgent with PaperCut. I do not see why it would not work. However, as I said I have no experience doing this so I am quite ignorant in this regard. If PaperCut dose not have a system for dealing with laptop user authentication then you could have a word to the developers and ask them to address this issue for you. PrintAgent is a component of PrintingWorks. Pykota is the back-end print accounting system for PrintingWorks. As such I can authoritatively state that PrintAgent works with Pykota. Finally open source software is quite flexible, in part because you have access to the source code. > Thanks for your reply. I guess PrintAgent is a CUPS Backend Wrapper > just like Papercut and PyKota? Question is, how usernames and > passwords are being passed to PrintAgent. I guess, i will meet heavy > resistance in our department, if I try to force Linux users to > install a client application for this.. > > But thanks for showing me PrintAgent, I'll try that, hope it doesn't > conflict with Papercut. From henri at stmargarets.school.nz Tue Apr 1 13:46:02 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:46:02 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> References: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> Message-ID: <32281-cups.general@news.easysw.com> I have used PyKotIcon and can attest that it works as advertised. Both PrintAgent and PyKotIcon are certainly possible solution to this problem. Note : I only have experience using the solutions mentioned above with PyKota as the back-end accounting system. > Cedric if you can't do this with CUPS (I really don't know), since > you are using PyKota you can use its PyKotIcon add-on to do what you > want. The sample pykota.conf configuration file contains several > examples. You can also use PrintAgent it seems, which offer similar > functionnalities, although less generic if I understand correctly. From henri at stmargarets.school.nz Tue Apr 1 13:48:12 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 13:48:12 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> References: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> Message-ID: <32282-cups.general@news.easysw.com> I agree, this is certainly a possibility. Does anyone have this working with CUP's? > Since CUPS 1.3 Kerberos might be useful to avoid an explicite > authentication dialog for each job submission (or whatever > else IPP operation an authentication requires), see > http://www.cups.org/documentation.php/kerberos.html From henri at stmargarets.school.nz Tue Apr 1 14:12:14 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 01 Apr 2008 14:12:14 -0700 Subject: [cups.general] Printer added with lpadmin doesn't show? In-Reply-To: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> References: <fc.3b9aca008b1663903b9aca008b166390.691fac@stmargarets.school.nz> Message-ID: <32284-cups.general@news.easysw.com> If you are dealing with 40+ printers you may find PrinterSetup to be of assistance with the management of the related cups queues. Once you work out the command to add one of these queues, it should be just a couple of quick modifications to PrinterSetup so you can easily deploy all these queues. You may also find the printer creation scripts within the Utilities directory of PrinterSetup a good place to start looking for examples. If I run your command I do create a CUP's print queue. Sorry, I am not sure why this is not working for you. Finally, I am not sure what the ?ibm=yes part of your command is doing. Perhaps someone on the list with more experience would be able to explain what this is doing. Hope this helps. > I added the printer like this: > /usr/sbin/lpadmin -p ibm -E -v lpd://oprintsvr/hp?ibm=yes > > The printer shows up in /etc/cups/printers.conf, and "lpstat -a" > shows the printer correctly. > > "lpq -l" however, doesn't show the printer at all > The distro dependent printer configuration programs (RedHat) > system-config-printer-tui: doesn't show the printer at all > system-config-printer-gui: shows the printer under browsed queues, > and doesn't allow for any editing. > > Any clue as to how I can add the printer via command line so that it > shows up normally? From mike at easysw.com Tue Apr 1 15:23:48 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 15:23:48 -0700 Subject: Common UNIX Printing System 1.3.7 Message-ID: <144-cups.announce@news.easysw.com> CUPS 1.3.7 is now available for download from the CUPS web site: http://www.cups.org/software.php The new release includes three security fixes and several printing and authentication fixes. We encourage all CUPS users to update to the current release. Changes include: * CVE-2008-0047: cgiCompileSearch buffer overflow (STR #2729) * CVE-2008-1373: CUPS GIF image filter overflow (STR #2765) * Updated the "make check" tests to do a more thorough automated test. * cups-driverd complained about missing directories (STR #2777) * cupsaddsmb would leave the Samba username and password on disk if no Windows drivers were installed (STR #2779) * The Linux USB backend used 100% CPU when a printer was disconnected (STR #2769) * The sample raster drivers did not properly handle SIGTERM (STR #2770) * The scheduler sent notify_post() messages too often on Mac OS X. * Kerberos access to the web interface did not work (STR #2748) * The scheduler did not support "AuthType Default" in IPP policies (STR #2749) * The scheduler did not support the "HideImplicitMembers" directive as documented (STR #2760) * "make check" didn't return a non-zero exit code on error (STR #2758) * The scheduler incorrectly logged AUTH_foo environment variables in debug mode (STR #2751) * The image filters inverted PBM files (STR #2746) * cupsctl would crash if the scheduler was not running (STR #2741) * The scheduler could crash when printing using a port monitor (STR #2742) * The scheduler would crash if PAM was broken (STR #2734) * The image filters did not work with some CMYK JPEG files produced by Adobe applications (STR #2727) * The Mac OS X USB backend did not work with printers that did not report a make or model. * The job-sheets option was not encoded properly (STR #2715) * The scheduler incorrectly complained about missing LSB PPD directories. From alet at librelogiciel.com Tue Apr 1 19:08:14 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Tue, 01 Apr 2008 19:08:14 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <47F29501.50206@apple.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> Message-ID: <32285-cups.general@news.easysw.com> On Tue, Apr 01, 2008 at 01:03:13PM -0700, Michael R Sweet wrote: > Jerome Alet wrote: > > ... > > Is there is a way for the CUPS server to require the password for the > > username specified with -U (and not for the user who launched the lp > > command) ? > > Not generally, although the peer credential stuff will work this > way for domain socket connections on 1.3 and higher. OK, so if I understand correctly, third party tools like PrintAgent or PyKotIcon really are necessary to support the general case : ensure the username and password are checked locally on the CUPS server which manages physical printers, while being directly asked (over the network) to the remote end user, even if the end user has to hop over several CUPS servers to send a job to a physical printer ? Couldn't CUPS support such a (configurable) functionnality natively in the future ? Of course a cross-platform (preferably) client side app would be needed but I'm willing to contribute my own code which does just this for inclusion in CUPS if you ask (working-but-soon-to-be-rewritten-for-over-a-year-now). bye Jerome Alet From mike at easysw.com Tue Apr 1 20:29:10 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 20:29:10 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32285-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> Message-ID: <32286-cups.general@news.easysw.com> Jerome Alet wrote: > ... > Couldn't CUPS support such a (configurable) functionnality natively > in the future ? We already support many authentication modes and proxy authentication. What is missing on Linux is support for proxy authentication in the desktop environments. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From bouldersgate at hotmail.com Tue Apr 1 22:58:08 2008 From: bouldersgate at hotmail.com (Darren Cocco) Date: Tue, 01 Apr 2008 22:58:08 -0700 Subject: Remote DownLevel Document - SMB Message-ID: <32287-cups.general@news.easysw.com> I need some assitance in regards to setting up a CUPS box to print to a Windows 2003 Server. The only problem I have at this point in time is that when the print job goes to the queue the document name is Remote DownLevel Document. Is there some way to set up CUPS so that it will send the document name along with print job. Please note it is not possible to modify the Windows 2003 Server or change the printing backend. This is the command used to add the printer to CUPS: sudo lpadmin -p Printer-FM -v smb://username:password at DOMAIN/IP_ADDRESS/Printer-FM -m laserjet.ppd.gz -o printer-is-shared=false -o media=A4 -E CUPS Version 1.3.6 Thank you. From twaugh at redhat.com Wed Apr 2 02:02:20 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 02 Apr 2008 02:02:20 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <32286-cups.general@news.easysw.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> Message-ID: <32288-cups.general@news.easysw.com> On Tue, 2008-04-01 at 20:29 -0700, Michael Sweet wrote: > We already support many authentication modes and proxy authentication. > What is missing on Linux is support for proxy authentication in the > desktop environments. Could you give an example of what you mean by proxy authentication? I am currently working on a graphical interface for CUPS-Authenticate-Job: is that related? Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <https://lists.cups.org/pipermail/cups/attachments/20080402/d11253b3/attachment.bin> From michael.lackner at unileoben.ac.at Wed Apr 2 02:49:45 2008 From: michael.lackner at unileoben.ac.at (Michael Lackner) Date: Wed, 02 Apr 2008 02:49:45 -0700 Subject: Authenticated Printing (Linux on Linux) usingCUPS and IPP Message-ID: <32289-cups.general@news.easysw.com> It seems, that while CUPS itself supports a lot of authentication options, the client side of it has some problems. So, update: I found out, that submitting the credentials within the IPP:// line did not work at all. I didn't get that at the beginning, and I'll explain why. A lot of our Users have different Usernames on their Laptops/Desktops and on our 19" computation "servers". The servers all auth against said LDAP, the printserver too. The Desktops and Laptops don't. But on MY machine I have the same username that I also use on the LDAP-/Printserver. Let's just say, that username is "myuser", and the PWD is "mypwd". So, when trying this URI: IPP://myuser:mypwd@<printhost>:<printerport>/<printqueue> ..it did auth on the shell only. However, when trying to specify a different user (that didn't exist as a system user on my client machine), it still wanted to auth "myuser", no matter, what i specified on that IPP:// line. So, CUPS as client seems to use the system Username of the user who wants to print, not the username specified in the IPP:// URI. So, another question arises: How am I supposed to pass credentials to the CUPS/IPP server AT ALL when printing? I mean, it works on the CUPS webinterface because of the Auth Dialog, but where can i even specify any credentials for the printing itself, if not in the IPP:// URI? Either I'm a really incapable Google user, or that information just doesn't exist anywhere.. ;) I also searched the CUPS documentation, but didn't find anything. It only says, what auth methods are supported, but not how they are configured exactly. Even if the dialog popup won't work, it would be good, if I could at least specify the plaintext (or ideally: hashed, for Digest Auth) credentials in printers.conf on the client side, just as it's being done for SMB:// too. Any ideas for that client-side problem? From gene.heskett at verizon.net Wed Apr 2 05:15:53 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Wed, 02 Apr 2008 05:15:53 -0700 Subject: [cups.general] disaser recovery Message-ID: <32290-cups.general@news.easysw.com> Greetings; I had the boot drive toss its cookies over the weekend, and had to re-install on a new drive. Cups, at localhost:631 is only seeing the default printer, so I need to recover (I use amanda and its all there, someplace, the where is unk) the rest of my 'printers'. Where is this data stored so that I know where to find it in 250GB of backups? Thanks. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) This fortune would be seven words long if it were six words shorter. From bcook at poughkeepsieschools.org Wed Apr 2 06:12:06 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Wed, 02 Apr 2008 06:12:06 -0700 Subject: [cups.general] starting with cups Message-ID: <32291-cups.general@news.easysw.com> Hello all, I am just starting out with cups. I was looking to see what I could get it to do, to help our printing situation. We have a mix of win98, win2k, winxp, os9, osx. I'd like to see what I can do with authentication, quotas, and having simpler drivers on workstations or pushing them what they need to print. One of the questions I have is; Cups uses PPDs, so since cups already has the 'drivers' what would you set the 'driver' to be on a workstation? Would you set it to the same? Like if I had an hp5000 defined in cups, and cups can print to that printer when access that printer on a workstation via cups, what driver would I use? 'generic postscript' or 'text only' or would I again use the hp5000 driver? Also is there guide/manual to getting started with cups for using at a print server for workstations? Or is cups just for unix hosts wanting to print? Thanks in advance. From kschmitt at tootsie-roll.com Wed Apr 2 07:40:52 2008 From: kschmitt at tootsie-roll.com (Kyle Schmitt) Date: Wed, 02 Apr 2008 07:40:52 -0700 Subject: Printer added with lpadmin doesn't show? Message-ID: <32293-cups.general@news.easysw.com> Thanks, I'll look into PrinterSetup today. As far as the ?ibm=yes part, that was a typeo, the correct line is ?reserve=yes, which is needed to print to some very persnickity LPD systems. From frederic at juliana-multimedia.com Wed Apr 2 08:02:49 2008 From: frederic at juliana-multimedia.com (=?ISO-8859-15?Q?Fr=E9d=E9ric_Massot?=) Date: Wed, 02 Apr 2008 08:02:49 -0700 Subject: Windows CUPS Driver In-Reply-To: <32251-cups.general@news.easysw.com> References: <32251-cups.general@news.easysw.com> Message-ID: <32294-cups.general@news.easysw.com> Joseph Harnish wrote: > Hello, > > I am attempting to implement the cups driver on Windows workstations > in an attempt to solve a multitude of problems. Yes, it lacks a CUPS client for Windows, it would solve many printing problems on Windows PC, we would no longer be dependent on buggy drivers supplied by the printer manufacturers. We would have a uniform configuration on Unix systems, Mac and Windows. Regards. -- ============================================== | FRÉDÉRIC MASSOT | | http://www.juliana-multimedia.com | | mailto:frederic at juliana-multimedia.com | ===========================Debian=GNU/Linux=== From gene.heskett at verizon.net Wed Apr 2 08:15:09 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Wed, 02 Apr 2008 08:15:09 -0700 Subject: [cups.general] disaser recovery [fixed] In-Reply-To: <200804020815.27209.gene.heskett@verizon.net> References: <200804020815.27209.gene.heskett@verizon.net> Message-ID: <32295-cups.general@news.easysw.com> On Wednesday 02 April 2008, Gene Heskett wrote: >Greetings; > >I had the boot drive toss its cookies over the weekend, and had to > re-install on a new drive. > >Cups, at localhost:631 is only seeing the default printer, so I need to >recover (I use amanda and its all there, someplace, the where is unk) the >rest of my 'printers'. > >Where is this data stored so that I know where to find it in 250GB of > backups? > >Thanks. I'd forgotten to restart the cups daemon after doing the usual recovery, and all is well now. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) That wouldn't be good enough. -- Larry Wall in <199710131621.JAA14907 at wall.org> From satimis at yahoo.com Wed Apr 2 08:20:42 2008 From: satimis at yahoo.com (Stephen Liu) Date: Wed, 02 Apr 2008 08:20:42 -0700 Subject: How to set pdf printer asking for input of filename Message-ID: <32296-cups.general@news.easysw.com> Hi folks, Archlinux 86-64 2007-08-2 cups-pdf virtual printer Is there any way to set the printer asking for input of filename and path before printing starts. Thanks B.R Stephen L From msweet at apple.com Wed Apr 2 08:44:51 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 02 Apr 2008 08:44:51 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <1207126929.3775.6.camel@cyberelk.elk> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> <1207126929.3775.6.camel@cyberelk.elk> Message-ID: <32297-cups.general@news.easysw.com> Tim Waugh wrote: > On Tue, 2008-04-01 at 20:29 -0700, Michael Sweet wrote: >> We already support many authentication modes and proxy authentication. >> What is missing on Linux is support for proxy authentication in the >> desktop environments. > > Could you give an example of what you mean by proxy authentication? I > am currently working on a graphical interface for CUPS-Authenticate-Job: > is that related? That's one part of it; applications (and in the context of Linux - GNOME and KDE) can also detect when authentication is required, either by getting an explicit challenge or by seeing the auth-info-required attribute and providing the corresponding information. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From twaugh at redhat.com Wed Apr 2 08:54:01 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 02 Apr 2008 08:54:01 -0700 Subject: [cups.general] Security and lp command and -u option In-Reply-To: <47F3A9EA.4050209@apple.com> References: <32206-cups.general@news.easysw.com> <20080401072817.GA20201@mail.librelogiciel.com> <Pine.LNX.4.64.0804011228540.803@nelson.suse.de> <20080401115850.GC14818@mail.librelogiciel.com> <47F29501.50206@apple.com> <32285-cups.general@news.easysw.com> <32286-cups.general@news.easysw.com> <1207126929.3775.6.camel@cyberelk.elk> <47F3A9EA.4050209@apple.com> Message-ID: <32298-cups.general@news.easysw.com> On Wed, 2008-04-02 at 08:44 -0700, Michael R Sweet wrote: > That's one part of it; applications (and in the context of Linux - > GNOME and KDE) can also detect when authentication is required, either > by getting an explicit challenge or by seeing the auth-info-required > attribute and providing the corresponding information. Thank you for the clarification. I am working on this feature for system-config-printer-applet, which runs as part of a desktop user's session, monitoring jobs the user has submitted. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <https://lists.cups.org/pipermail/cups/attachments/20080402/eed4358f/attachment.bin> From jesse.waters at timco.aero Wed Apr 2 11:53:44 2008 From: jesse.waters at timco.aero (Jesse Waters) Date: Wed, 02 Apr 2008 11:53:44 -0700 Subject: printing barcodes Message-ID: <32299-cups.general@news.easysw.com> Hello all, Need some help in printing barcodes to Kyocera-Mita FS-9120dn. Our existing application runs on HPUX 11.0 systems. It can print 3of9 barcodes without an issue to all printers we have at our facility (mixture of kyoceras, dells, & hp printers). The app send/loads PCL fonts to the printer then within the print stream it has escape sequences to use barcode font instead of regular text, after barcode part is sent it turns it off by send a closing escape sequence string. Whats strange is I could get the application to print properly to a HP 4050n but only using a generic text driver. If i tried any other driver all it would print is escape characters barcode. Any suggestions or pointers be a great help, Jesse Waters Timco Aviation Services Unix/Linux/Database Admin From alheidgj at upmc.edu Wed Apr 2 14:34:13 2008 From: alheidgj at upmc.edu (Greg Alheid) Date: Wed, 02 Apr 2008 14:34:13 -0700 Subject: Printing only 63 lines of text on Xerox 4510 DT Message-ID: <32300-cups.general@news.easysw.com> I'm having a problem printing 66 lines of text on a Xerox Phaser 4510DT after setting up it. The Phaser 4510DT print queue has been setup using IPP and a MS Windows xrx4510n.ppd file downloaded from Xerox. I send a file of 132 lines from a Sun using LPD to a Linux system setup as print server. The printer only prints 63 lines per page on the printer, for total of three pages with 6 lines on the last page. # cups-config --version 1.2.10 # lrt xrx4510n.ppd -rw-r--r-- 1 root root 44874 Nov 16 2006 xrx4510n.ppd # head xrx4510n.ppd *PPD-Adobe: "4.3" *% Xerox Corporation (R) Printer Description File *% Copyright Xerox Corporation *% Copyright Adobe Systems, Inc. *% All Rights Reserved. *% Date: 11/16/06 *% OPB Build Number: 3.0.3 *% PPD for Windows PPD Only Driver, English *FormatVersion: "4.3" *FileVersion: "1.0" What I need to configure to get this to print 66 lies per page? Thanks for any help! Greg From henri at stmargarets.school.nz Wed Apr 2 19:53:33 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 02 Apr 2008 19:53:33 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 3 In-Reply-To: <fc.3b9aca00498561063b9aca0049856106.693152@stmargarets.school.nz> References: <fc.3b9aca00498561063b9aca0049856106.693152@stmargarets.school.nz> Message-ID: <32301-cups.general@news.easysw.com> You may want to have a look at PrintingWorks. http://www.lucidsystems.org/printingworks > I'd like to see what I can do with authentication, quotas, and having > simpler drivers on workstations or pushing them what they need to > print. From litauer at uni-koblenz.de Thu Apr 3 01:55:03 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Thu, 03 Apr 2008 01:55:03 -0700 Subject: unsupported charset Message-ID: <32302-cups.general@news.easysw.com> Hi, I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of my clients are still using cups-1.1.x Printing to the (new) cups server leads to # lpr -Ppresse /etc/group lpr: Unsupported character set "iso-8859-15"! Examining /usr/share/cups/charsets I only found utf-8. I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but this file doesn't exist on my client and my LANG is set to POSIX. Btw: Changing all client configurations is not an option ... Any way to get the server to accept requests other than utf-8? -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From kssingvo at suse.de Thu Apr 3 03:25:27 2008 From: kssingvo at suse.de (Klaus Singvogel) Date: Thu, 03 Apr 2008 03:25:27 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32302-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> Message-ID: <32303-cups.general@news.easysw.com> Christoph Litauer wrote: > I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of > my clients are still using cups-1.1.x > > Printing to the (new) cups server leads to > > # lpr -Ppresse /etc/group > lpr: Unsupported character set "iso-8859-15"! This is a known feature. I think the limitation to UTF-8 was introduced wich cups-1.3.x. > I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but > this file doesn't exist on my client and my LANG is set to POSIX. > Btw: Changing all client configurations is not an option ... You might have set a locale ("locale") on the client to non UTF-8 and this is the cause of the problem. > Any way to get the server to accept requests other than utf-8? No. Exception: you want to introduce this into the source code at your own. Work-around: try to convert your (text)files to UTF-8 (e.g. with "iconv") and send them as UTF-8 encoded to your server. Note that your locale variables should be set to the correct values too. Regards, Klaus. -- Klaus Singvogel - Maxfeldstr. 5 - 90409 Nuernberg - Germany Phone: +49-911-74053-0 GnuPG-Key-ID: 1024R/5068792D 1994-06-27 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From h.blischke at srz.de Thu Apr 3 04:50:45 2008 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 03 Apr 2008 04:50:45 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32303-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <32303-cups.general@news.easysw.com> Message-ID: <32304-cups.general@news.easysw.com> Klaus Singvogel wrote: > Christoph Litauer wrote: > >>I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >>my clients are still using cups-1.1.x >> >>Printing to the (new) cups server leads to >> >># lpr -Ppresse /etc/group >>lpr: Unsupported character set "iso-8859-15"! > > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. > > >>I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but >>this file doesn't exist on my client and my LANG is set to POSIX. >>Btw: Changing all client configurations is not an option ... > > > You might have set a locale ("locale") on the client to non UTF-8 > and this is the cause of the problem. > > >>Any way to get the server to accept requests other than utf-8? > > > No. > Exception: you want to introduce this into the source code at your own. > > Work-around: try to convert your (text)files to UTF-8 (e.g. with > "iconv") and send them as UTF-8 encoded to your server. Note that your > locale variables should be set to the correct values too. > > Regards, > Klaus. Use the attached file and put into the appropriate directory. It is the file originally delivered with CUPS 1.1.18 and modified to default to utf-8. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups_C URL: <https://lists.cups.org/pipermail/cups/attachments/20080403/9e882cd0/attachment-0001.ksh> From litauer at uni-koblenz.de Thu Apr 3 04:58:43 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Thu, 03 Apr 2008 04:58:43 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32303-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <32303-cups.general@news.easysw.com> Message-ID: <32305-cups.general@news.easysw.com> Klaus Singvogel schrieb: > Christoph Litauer wrote: >> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >> my clients are still using cups-1.1.x >> >> Printing to the (new) cups server leads to >> >> # lpr -Ppresse /etc/group >> lpr: Unsupported character set "iso-8859-15"! > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. > >> I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but >> this file doesn't exist on my client and my LANG is set to POSIX. >> Btw: Changing all client configurations is not an option ... > > You might have set a locale ("locale") on the client to non UTF-8 > and this is the cause of the problem. > >> Any way to get the server to accept requests other than utf-8? > > No. > Exception: you want to introduce this into the source code at your own. > > Work-around: try to convert your (text)files to UTF-8 (e.g. with > "iconv") and send them as UTF-8 encoded to your server. Note that your > locale variables should be set to the correct values too. Thanks for your quick reply Klaus. I read somwhere that 1.3.5 introduced an automatic charset conversion so you are still able to print with other charsets. In fact, I was not really honest: In the original posting I overlooked shell variable LC_CTYPE, which was set to de_DE at euro (iso-8859-15). I unsetted this variable, now just LANG was set to POSIX. The systems locale is set to de_DE at euro, too (/etc/sysconfig/language). Since unsetting LC_CTYPE I at once was able to print. Seems as if printing is possible, even if you don't have utf-8 as default character set? -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From kontakt at seebergit.dk Thu Apr 3 05:06:25 2008 From: kontakt at seebergit.dk (Joakim Seeberg) Date: Thu, 03 Apr 2008 05:06:25 -0700 Subject: How to lock driver settings set by admin Message-ID: <32306-cups.general@news.easysw.com> I installed a printer in cups and in "printer options" set "color mode" to Black and White. Still users can print in color because they can change "color mode" when printing. How can I lock the printer options so that users can only print in Black and White? From t.kuestermann at tu-bs.de Thu Apr 3 05:09:50 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 05:09:50 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32307-cups.general@news.easysw.com> Hello! I am currently in the process of replacing our plain old cups (version 1.1.x) with newest available one (version 1.3.7 at the moment I write this message). We're using the socket backend to print. Now, we've got some problems in printing with the new version. I try to explain: I want to print a document (PDF) on a HP Laserjet 4350/4050/2430, the first pages were printed out and suddenly the printer stops printing with the following 'error' message: 'Data recieved' 'Press <checkmark> to print last page' If I press <checkmark> or wait until a timeout is received, the printer continues printing, but it prints out plain PostScript. I've logged the output of the socket backend and received the following one: <log> INFO: Attempting to connect to host <printer> on port 9100 STATE: +connecting-to-device STATE: -connecting-to-device INFO: Connected to <printer>... DEBUG: Connected to <printer>:9100 (IPv4)... PAGE: 1 1 DEBUG: backendRunLoop(print_fd=3, device_fd=4, use_bc=1, side_cb=0x401862) INFO: Printer is now on-line. DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... . . . WARNING: Failed to read side-channel request! // some time later : DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... . . . INFO: Sent print file, 5160398 bytes... INFO: Print file sent, waiting for printer to finish... INFO: Ready to print. </log> The problem is reproducible, but it seems to NOT depend on: - document size - number of pages What I can say about the documents: - they seem to be complete (correct head and tail) - they can be rendered completely with ghostview ('gv <file>') If I try to print the document on the old cups, it succeeds. PPD files are the same and original ones from HP. What maybe the next steps to find the reason for problem, or maybe to resolve? Thanks in advance for each hint. - Thomas From hg at griffiths-consulting.de Thu Apr 3 05:18:07 2008 From: hg at griffiths-consulting.de (haydn griffiths) Date: Thu, 03 Apr 2008 05:18:07 -0700 Subject: USB Printer device problems Message-ID: <32308-cups.general@news.easysw.com> I have 2 printers (HP3030 and HP1600) connected via USB to a Redhat Enterprise Linux 4 server. Using the GNOME printer tool, the printers and setup to be shared across the network. During setup each printer queue is associated with one lp device.( either lp1or lp0). If the server is restarted/ printers are started in a different order/ one printer is not started then the device the printers are associated with can be different to the orginal printer queue settings. Eg . during the queue setup the HP1600 was associated with device Lp0 – while the printers were started in a different order of the HP3030 is not available , the HP1600 is now associated with the device Lp1. The printer queue for HP1600 still points at Lp0 which means that when users try to print to the queue, the print job lands in nirvana. Is there a way of : a)fixing a printer to a certain device and not letting them be dynamically associated ? b)making the queue automatically associate to the correct device number c)another solution ? Thanks Haydn From t.kuestermann at tu-bs.de Thu Apr 3 07:39:38 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 07:39:38 -0700 Subject: Socket: Failed to read side-channel request (2) Message-ID: <32309-cups.general@news.easysw.com> The missing part of: http://www.cups.org/newsgroups.php?gcups.general+v:32307 <log> INFO: Attempting to connect to host <printer> on port 9100 STATE: +connecting-to-device STATE: -connecting-to-device INFO: Connected to <printer>... DEBUG: Connected to <printer>:9100 (IPv4)... PAGE: 1 1 DEBUG: backendRunLoop(print_fd=3, device_fd=4, use_bc=1, side_cb=0x401862) INFO: Printer is now on-line. DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... ... WARNING: Failed to read side-channel request! // some time later : DEBUG: Read 8192 bytes of print data... DEBUG: Wrote 8192 bytes of print data... ... INFO: Sent print file, 5160398 bytes... INFO: Print file sent, waiting for printer to finish... INFO: Ready to print. </log> The problem is reproducible, but it seems to NOT depend on: - document size - number of pages What I can say about the documents: - they seem to be complete (correct head and tail) - they can be re, or maybe to resolve? Thanks in advance for each hint. ndered completely with ghostview ('gv <file>') If I try to print the document on the old cups, it succeeds. PPD files are the same and original ones from HP. What maybe the next steps to find the reason for problem - Thomas From t.kuestermann at tu-bs.de Thu Apr 3 07:45:10 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 03 Apr 2008 07:45:10 -0700 Subject: Socket: Failed to read side-channel request (2) Message-ID: <32310-cups.general@news.easysw.com> My newsreader don't likes me: > What I can say about the documents: > - they seem to be complete (correct head and tail) > - they can be re, or maybe to resolve? Thanks in advance for each hint. > ndered completely with ghostview ('gv <file>') Should have been: - they seem to be complete (correct head and tail) - they can be rendered completely with ghostview ('gv <file>') What maybe the next steps to find the reason for the problem or maybe to resolve? Thanks in advance for each hint. - Thomas From msweet at apple.com Thu Apr 3 09:06:15 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:06:15 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32302-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> Message-ID: <32311-cups.general@news.easysw.com> Christoph Litauer wrote: > ... > Any way to get the server to accept requests other than utf-8? No. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 3 09:08:15 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:08:15 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <20080403102517.GA28407@suse.de> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> Message-ID: <32312-cups.general@news.easysw.com> Klaus Singvogel wrote: > Christoph Litauer wrote: >> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of >> my clients are still using cups-1.1.x >> >> Printing to the (new) cups server leads to >> >> # lpr -Ppresse /etc/group >> lpr: Unsupported character set "iso-8859-15"! > > This is a known feature. I think the limitation to UTF-8 was introduced > wich cups-1.3.x. CUPS 1.2.0 was the first release to only support UTF-8, but did (incorrectly) accept requests using other character sets. 1.3.4 contains the fix to only allow US-ASCII and UTF-8 in requests. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 3 09:12:03 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 03 Apr 2008 09:12:03 -0700 Subject: [cups.general] Socket: Failed to read side-channel request In-Reply-To: <32307-cups.general@news.easysw.com> References: <32307-cups.general@news.easysw.com> Message-ID: <32313-cups.general@news.easysw.com> Thomas Küstermann wrote: > Hello! > > I am currently in the process of replacing our plain old cups (version 1.1.x) with newest available one (version 1.3.7 at the moment I write this message). > > We're using the socket backend to print. Now, we've got some problems in printing with the new version. I try to explain: > ... > WARNING: Failed to read side-channel request! > ... What driver are you using? The warning message would seem to indicate the driver is assuming that file descriptor 4 is for some other purpose, leading to the error you are seeing. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mark.richards at massmicro.com Thu Apr 3 11:16:19 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Thu, 03 Apr 2008 11:16:19 -0700 Subject: [cups.general] issue installing HP color laser jet Message-ID: <32314-cups.general@news.easysw.com> I am working a rather frustrating problem with cups and windows xp and a color laser jet 3600 printer. I had posted this to cups bugs, but perhaps it's not the correct place. When we try to install an HP Color LaserJet 3600 (windows xp driver) to a working cups server ("working means that the cups server can print a test page and we've also set up a raw queue for the same printer), windows hangs attempting to "connect" to the printer. I suspect that the driver is treating the cups server as if it's the printer and perhaps expecting something special. There's one error noted in the cups error (debug enabled) log: DNS-SD registration of "HP-3600-hpijs" failed with -65537 Note that from any linux box we can send to the cups server fine and the 3600 prints perfectly. Solution: don't print from windows? Wish we could do that. Your thoughts as to how we might fix this are welcome! /m Here's the rest of the info: yum info cups Installed Packages Name : cups Arch : i386 Epoch : 1 Version: 1.3.6 Release: 2.fc8 Size : 9.9 M Repo : installed uname -A 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux Clients: both linux and windowx xp sp2 Printers: HP Laser Jet 1200 (parallel port): works great from all clients HP color laser jet: * Description:* HP Color LaserJet 3600 + hpijs ppd *Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs *Printer State:* idle, accepting jobs, published. * Device URI:* usb://HP/Color%20LaserJet%203600 Here's the error log (debug enabled): I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6) I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4) I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain) I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp... I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients. I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host. I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default! I [01/Apr/2008:22:46:00 -0400] Full reload is required. I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters... D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW... D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200... E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"... D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache... I [01/Apr/2008:22:46:00 -0400] Full reload complete. I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14... I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15... I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16... I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Report: clients=0 D [01/Apr/2008:22:46:00 -0400] Report: jobs=12 D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0 D [01/Apr/2008:22:46:00 -0400] Report: printers=3 D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744 D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0... D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon() D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain) D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1 D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided. D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok) The cups.conf file reads: # 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 BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic <Location /> Allow 192.168.1.0/24 # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin> # Allow remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> From cups at scrunch.net Thu Apr 3 18:19:24 2008 From: cups at scrunch.net (bub) Date: Thu, 03 Apr 2008 18:19:24 -0700 Subject: Lanscape Failure, cups-1.2.4, RHEL5.1 Message-ID: <32315-cups.general@news.easysw.com> I migrated from RHEL4.6 with cups-1.1.22 to RHEL5.1 with cups-1.2.4 and I find that I can not print landscape. This is using HP printers, direct to the socket 9100. I've tried several model, including: HP LaserJet 4 with the hpijs driver HP LaserJet 4000 with postscript driver And several PPDs, bundled with foomatic and current ones from linuxprinting.org. With '-o landscape' it still prints in portrait. With '-o orientation-requested=4' there is no output, or it is rotated off the page. I don't know where to turn or how to resolv this. Any ideas will be greatly appreciated! From litauer at uni-koblenz.de Fri Apr 4 00:25:58 2008 From: litauer at uni-koblenz.de (Christoph Litauer) Date: Fri, 04 Apr 2008 00:25:58 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32312-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> <32312-cups.general@news.easysw.com> Message-ID: <32316-cups.general@news.easysw.com> Michael R Sweet schrieb: > Klaus Singvogel wrote: >> Christoph Litauer wrote: >>> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most >>> of my clients are still using cups-1.1.x >>> >>> Printing to the (new) cups server leads to >>> >>> # lpr -Ppresse /etc/group >>> lpr: Unsupported character set "iso-8859-15"! >> >> This is a known feature. I think the limitation to UTF-8 was introduced >> wich cups-1.3.x. > > CUPS 1.2.0 was the first release to only support UTF-8, but did > (incorrectly) accept requests using other character sets. 1.3.4 > contains the fix to only allow US-ASCII and UTF-8 in requests. > Thanks Michael. This leads me to downgrade my server to cups 1.1.x ... it's impossible to upgrade hundreds of pcs and laptops at once ... (sigh). -- Regards Christoph ________________________________________________________________________ Christoph Litauer litauer at uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 From h.blischke at srz.de Fri Apr 4 05:18:29 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 05:18:29 -0700 Subject: [cups.general] unsupported charset In-Reply-To: <32316-cups.general@news.easysw.com> References: <32302-cups.general@news.easysw.com> <20080403102517.GA28407@suse.de> <32312-cups.general@news.easysw.com> <32316-cups.general@news.easysw.com> Message-ID: <32317-cups.general@news.easysw.com> Christoph Litauer wrote: > Michael R Sweet schrieb: > >> Klaus Singvogel wrote: >> >>> Christoph Litauer wrote: >>> >>>> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most >>>> of my clients are still using cups-1.1.x >>>> >>>> Printing to the (new) cups server leads to >>>> >>>> # lpr -Ppresse /etc/group >>>> lpr: Unsupported character set "iso-8859-15"! >>> >>> >>> This is a known feature. I think the limitation to UTF-8 was introduced >>> wich cups-1.3.x. >> >> >> CUPS 1.2.0 was the first release to only support UTF-8, but did >> (incorrectly) accept requests using other character sets. 1.3.4 >> contains the fix to only allow US-ASCII and UTF-8 in requests. >> > > Thanks Michael. This leads me to downgrade my server to cups 1.1.x ... > it's impossible to upgrade hundreds of pcs and laptops at once ... (sigh). > You might consider the attachment from my previous post on this topic. At our site we used that to continue tupport for all boxes that still have a CUPS 1.1.x running. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From mz at panorgan.ch Fri Apr 4 07:03:33 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Fri, 04 Apr 2008 07:03:33 -0700 Subject: copy configurations Message-ID: <32318-cups.general@news.easysw.com> Hello We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. Thanks for help! Marc From move2rahul at yahoo.co.in Fri Apr 4 07:04:58 2008 From: move2rahul at yahoo.co.in (rahulmode) Date: Fri, 04 Apr 2008 07:04:58 -0700 Subject: CUPS- HTTP Content-Length issue Message-ID: <32319-cups.general@news.easysw.com> I noticed that in CUPS1.1.23, when I connect to the server using # nc 10.10.220.231 631 POST /printers/printer/ HTTP/1.1 Content-Length: \n \n -------------------------------- It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. Regarding this issue, I got no info on the forums! So please, can someone tell why is this issue not handled .. is this a feature? if yes how ?? Thanks Rahul From h.blischke at srz.de Fri Apr 4 07:08:57 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 07:08:57 -0700 Subject: copy configurations In-Reply-To: <32318-cups.general@news.easysw.com> References: <32318-cups.general@news.easysw.com> Message-ID: <32320-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello > > We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. > > Thanks for help! > Marc I'd suggest to set up the cupd.conf for the new version manually - there are too many changes between 1.1.x and 1.3.x. But you may easily copy over the printers.conf file. The attributes (like Policy etc.) not known to the 1.1.x are implictely set to the default values (you might need to edit the Share attributes; I don't know by heart which value is the default). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From jsmeix at suse.de Fri Apr 4 07:50:34 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 04 Apr 2008 07:50:34 -0700 Subject: [cups.general] copy configurations In-Reply-To: <32318-cups.general@news.easysw.com> References: <32318-cups.general@news.easysw.com> Message-ID: <32321-cups.general@news.easysw.com> Hello, On Apr 4 07:03 Marc Ziegenhagen wrote: > We have the problem that we replace a server with a newer one > and we want to copy all teh defined printers to the new server > (there are about 90 queues). How we can export/import the > cups-configurations or read the configurations on one server > an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with > OpenSuSE 10.3. So there also too different cups versions in use. Read http://en.opensuse.org/SDB:CUPS_in_a_Nutshell in particular see -------------------------------------------------------------------- Do not edit the configuration files in /etc/cups/ manually if suitable command-line tools are available for this purpose. .... For example, to set up the same queues on several machines (e.g., for a backup server), do not copy /etc/cups/printers.conf and /etc/cups/ppd/*, but write the respective commands in a script (usually a sequence of lpadmin commands) and run the script on the various machines. .. .. .. Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 we provide CUPS 1.2 which is not fully backward compatible with CUPS 1.1. Therefore in case of an update it is recommended not to use an outdated cupsd.conf from a CUPS 1.1 installation before but to start from scratch with the original cupsd.conf from our CUPS 1.2 RPM. -------------------------------------------------------------------- Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jake at year26.org Fri Apr 4 08:14:01 2008 From: jake at year26.org (me) Date: Fri, 04 Apr 2008 08:14:01 -0700 Subject: ssl error Message-ID: <32322-cups.general@news.easysw.com> Hey everyone...Running into a bit of an issue trying to get ssl working. The error i'm seeing is: encrypt_client: Unable to encrypt connection from 192.168.1.22 encrypt_client: Could not negotiate a supported cipher suite. Wasn't able to find anything helpful on google..Thoughts? Thanks From jake at year26.org Fri Apr 4 08:16:10 2008 From: jake at year26.org (me) Date: Fri, 04 Apr 2008 08:16:10 -0700 Subject: copy configurations Message-ID: <32323-cups.general@news.easysw.com> I'm actually in the process of doing the same thing with 114 print queues..I re-did the cupsd.conf from scratch and then just dumped printers.conf from the old server to the new one and restarted cups..A few hiccups here and there but for the most part all are working fine. > Hello > > We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. > The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. > > Thanks for help! > Marc From jake at year26.org Fri Apr 4 08:18:06 2008 From: jake at year26.org (jwalters) Date: Fri, 04 Apr 2008 08:18:06 -0700 Subject: ssl error Message-ID: <32324-cups.general@news.easysw.com> sorry..ment to change the From field :-/ > Hey everyone...Running into a bit of an issue trying to get ssl working. The error i'm seeing is: > > encrypt_client: Unable to encrypt connection from 192.168.1.22 > encrypt_client: Could not negotiate a supported cipher suite. > > Wasn't able to find anything helpful on google..Thoughts? > > Thanks > From mike at easysw.com Fri Apr 4 08:29:47 2008 From: mike at easysw.com (Michael Sweet) Date: Fri, 04 Apr 2008 08:29:47 -0700 Subject: CUPS- HTTP Content-Length issue In-Reply-To: <32319-cups.general@news.easysw.com> References: <32319-cups.general@news.easysw.com> Message-ID: <32325-cups.general@news.easysw.com> rahulmode wrote: > I noticed that in CUPS1.1.23, when I connect to the server using > > # nc 10.10.220.231 631 > POST /printers/printer/ HTTP/1.1 > Content-Length: > > > \n > \n > > > > > -------------------------------- > > It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. > > Regarding this issue, I got no info on the forums! > So please, can someone tell why is this issue not handled .. > is this a feature? if yes how ?? Well, first you might test with a newer release - 1.1.23 is very old. If the same problem occurs with 1.3.7, please file a bug report: http://www.cups.org/str.php Second, there are a lot of ways to do Denial-of-Service attacks on any network service, and adding a length check for Content-Length won't prevent them... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From h.blischke at srz.de Fri Apr 4 09:55:27 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 09:55:27 -0700 Subject: copy configurations In-Reply-To: <32323-cups.general@news.easysw.com> References: <32323-cups.general@news.easysw.com> Message-ID: <32326-cups.general@news.easysw.com> me wrote: > I'm actually in the process of doing the same thing with 114 print queues..I re-did the cupsd.conf from scratch and then just dumped printers.conf from the old server to the new one and restarted cups..A few hiccups here and there but for the most part all are working fine. > > >>Hello >> >>We have the problem that we replace a server with a newer one and we want to copy all teh defined printers to the new server (there are about 90 queues). How we can export/import the cups-configurations or read the configurations on one server an rebuild them on the other server. >>The old-server runs with SuSE-Linux 8.1 and the new server with OpenSuSE 10.3. So there also too different cups versions in use. >> >>Thanks for help! >>Marc > > .... forgot to say: after copying over (and possibly editing) the printers.conf, you should copy over the /etc/cups/ppd/*.ppd files, otherwise the printers will be raw printers in the new configuration. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From t.kuestermann at tu-bs.de Fri Apr 4 09:57:28 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Fri, 04 Apr 2008 09:57:28 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32327-cups.general@news.easysw.com> > What driver are you using? We're using the original PPDs shipped with the printers. As my collegues said, these PPD were manually modified, but nobody can say in which way. I have tested to replace the old PPD with the latest PPD shipped with CUPS according to the printer. The formerly false printed documents are now printed correctly, thank you for the hint! Now, I try to write a backend wrapper like 'beh' implemented in Groovy (groovy.codehaus.org) that wraps around CUPS and 'socket', but it leads to the same problem as formerly discussed. The 'socket'-process is started in this way: '/usr/lib/cups/backend/socket <ID> <USER> <TITLE> <COPIES> <OPTIONS> <PRINT_FILE>' The wrapper is executed correctly and each argument is given. I have compared the spooled files resulting with wrapper and without and they are byte per byte the same. Do I have something forgotten or is there something that has to be done before? > The warning message would seem to indicate the driver is assuming > that file descriptor 4 is for some other purpose, leading to the > error you are seeing. What does that mean 'for some other purpose'? Can you give an example, please? Thank you for each advice, - Thomas From sgsax at ksu.edu Fri Apr 4 11:04:09 2008 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 04 Apr 2008 11:04:09 -0700 Subject: PDF printing from Windows Message-ID: <32328-cups.general@news.easysw.com> Alright, I've hit a serious problem and am hoping somebody can give me advice on how to deal with it. On a fairly consistent basis, if a Windows client sends a PDF file to any CUPS queue, the CUPS server takes a huge performance hit (the larger the file, the greater the hit) and then eventually dies processing the file. I've tweaked the settings so the the whole server or queue doesn't die, only the job. My guess is that pdftops may be the culprit, but I don't know for sure. I was hoping I could either a) force CUPS to use pdf2ps instead of pdftops or b) not do the conversion at all and just send the PDF file as is to the printer, since all of my printers are PS-enabled and should be able to also handle PDF natively. We do a lot of PDF printing here, so this is a big deal. Version info: CUPS: 1.3.5 cups-windows: 6.0 poppler: 0.6.1 ghostscript (gpl): 8.61 I'll be happy to provide further information. Any suggestions are appreciated. Thanks. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 From h.blischke at srz.de Fri Apr 4 11:35:07 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 04 Apr 2008 11:35:07 -0700 Subject: PDF printing from Windows In-Reply-To: <32328-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> Message-ID: <32329-cups.general@news.easysw.com> Seth Galitzer wrote: > Alright, I've hit a serious problem and am hoping somebody can give me > advice on how to deal with it. On a fairly consistent basis, if a > Windows client sends a PDF file to any CUPS queue, the CUPS server takes > a huge performance hit (the larger the file, the greater the hit) and > then eventually dies processing the file. I've tweaked the settings so > the the whole server or queue doesn't die, only the job. > > My guess is that pdftops may be the culprit, but I don't know for sure. > I was hoping I could either a) force CUPS to use pdf2ps instead of > pdftops or b) not do the conversion at all and just send the PDF file as > is to the printer, since all of my printers are PS-enabled and should be > able to also handle PDF natively. > > We do a lot of PDF printing here, so this is a big deal. > > Version info: > CUPS: 1.3.5 > cups-windows: 6.0 > poppler: 0.6.1 > ghostscript (gpl): 8.61 > > I'll be happy to provide further information. Any suggestions are > appreciated. > > Thanks. > Seth > Despite the "official" preferences for using the poppler utilities I'd suggest to install the xpdf utilities (xpdf 3.02 at least) and use the "alternate pdftops filter" (see the links on the CUPS web site). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From sgsax at ksu.edu Fri Apr 4 12:23:10 2008 From: sgsax at ksu.edu (Seth Galitzer) Date: Fri, 04 Apr 2008 12:23:10 -0700 Subject: PDF printing from Windows In-Reply-To: <32329-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> <32329-cups.general@news.easysw.com> Message-ID: <32330-cups.general@news.easysw.com> Helge Blischke wrote: > Seth Galitzer wrote: >> Alright, I've hit a serious problem and am hoping somebody can give me >> advice on how to deal with it. On a fairly consistent basis, if a >> Windows client sends a PDF file to any CUPS queue, the CUPS server takes >> a huge performance hit (the larger the file, the greater the hit) and >> then eventually dies processing the file. I've tweaked the settings so >> the the whole server or queue doesn't die, only the job. >> >> My guess is that pdftops may be the culprit, but I don't know for sure. >> I was hoping I could either a) force CUPS to use pdf2ps instead of >> pdftops or b) not do the conversion at all and just send the PDF file as >> is to the printer, since all of my printers are PS-enabled and should be >> able to also handle PDF natively. >> >> We do a lot of PDF printing here, so this is a big deal. >> >> Version info: >> CUPS: 1.3.5 >> cups-windows: 6.0 >> poppler: 0.6.1 >> ghostscript (gpl): 8.61 >> >> I'll be happy to provide further information. Any suggestions are >> appreciated. >> >> Thanks. >> Seth >> > > Despite the "official" preferences for using the poppler utilities > I'd suggest to install the xpdf utilities (xpdf 3.02 at least) > and use the "alternate pdftops filter" (see the links on the CUPS web > site). > > > Helge > > I found your alternative filter and am reading up on how to use it now. I'm also a bit leery about installing an X app on a headless server. I'm running gentoo on this box, and even if I hold back X packages, it still wants to install printproto, libXmu, xbitmaps, libXp, libXaw, and openmotif. None of those (including xpdf itself) seem to include a file for pdftops. I don't seem to have a package that just includes libs for xpdf or the xpdf pdftops utils. Can you give a little more detail here? Thanks. Seth -- Seth Galitzer Systems Coordinator Computing and Information Sciences Kansas State University sgsax at ksu.edu 785-532-7790 From msweet at apple.com Fri Apr 4 12:43:19 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 04 Apr 2008 12:43:19 -0700 Subject: [cups.general] Socket: Failed to read side-channel request In-Reply-To: <32327-cups.general@news.easysw.com> References: <32327-cups.general@news.easysw.com> Message-ID: <32334-cups.general@news.easysw.com> Thomas Küstermann wrote: >> What driver are you using? > > We're using the original PPDs shipped with the printers. As my collegues said, these PPD were manually modified, but nobody can say in which way. > > I have tested to replace the old PPD with the latest PPD shipped with CUPS according to the printer. The formerly false printed documents are now printed correctly, thank you for the hint! > > Now, I try to write a backend wrapper like 'beh' implemented in Groovy (groovy.codehaus.org) that wraps around CUPS and 'socket', but it leads to the same problem as formerly discussed. > > The 'socket'-process is started in this way: > > '/usr/lib/cups/backend/socket <ID> <USER> <TITLE> <COPIES> <OPTIONS> <PRINT_FILE>' > > The wrapper is executed correctly and each argument is given. I have compared the spooled files resulting with wrapper and without and they are byte per byte the same. > > Do I have something forgotten or is there something that has to be done before? The "beh" backend probably isn't handling the back- or side- channel file descriptors, leading to the error you are seeing. >> The warning message would seem to indicate the driver is assuming >> that file descriptor 4 is for some other purpose, leading to the >> error you are seeing. > > What does that mean 'for some other purpose'? Can you give an example, please? Any open file could cause this problem. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Fri Apr 4 12:46:07 2008 From: angelb at bugarin.us (angelb) Date: Fri, 04 Apr 2008 12:46:07 -0700 Subject: Web Admin - spawns 12 cups-driverd processes Message-ID: <32335-cups.general@news.easysw.com> Hello all, I've configured an AIX system to be a CUPS server with 112 printer queues. When I try to modify a printer queue using the web interface, CUPS spawns 12 cups-driverd processes and then consumes CPU: # ps -ef|grep -i cups lp 688154 1745052 14 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 827502 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1093830 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1114204 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1138706 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1142970 1745052 0 14:34:06 - 0:00 /opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi lp 1150978 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1167428 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1171506 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1662986 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1683596 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1736746 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' lp 1777816 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' root 1745052 1 12 14:16:23 - 0:06 /opt/TWWfsw/cups136/sbin/cupsd -c /etc/opt/TWWfsw/cups136/cupsd.conf # uptime 02:42PM up 7 days, 3:06, 2 users, load average: 13.70 Name PID CPU% PgSp Owner cups-dri 1150978 8.8 9.8 lp cupsd 1745052 8.8 1.6 root cups-dri 1662986 8.8 9.8 lp cups-dri 1683596 8.5 9.8 lp cups-dri 1736746 8.5 9.8 lp cups-dri 1167428 8.5 9.8 lp cups-dri 688154 8.5 9.8 lp cups-dri 827502 8.3 9.8 lp cups-dri 1114204 8.3 9.8 lp cups-dri 1777816 8.3 9.8 lp cups-dri 1171506 8.3 9.8 lp topas 1753316 2.5 2.7 root The cgi eventualy dies: E [04/Apr/2008:14:43:43 +0600] PID 1142970 (/opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi) crashed on signal 9! Has anyone seen the same? Thanks, Angel From angelb at bugarin.us Fri Apr 4 12:57:28 2008 From: angelb at bugarin.us (angelb) Date: Fri, 04 Apr 2008 12:57:28 -0700 Subject: Web Admin - spawns 12 cups-driverd processes Message-ID: <32336-cups.general@news.easysw.com> > Hello all, > > I've configured an AIX system to be a CUPS server with 112 printer > queues. > > When I try to modify a printer queue using the web interface, CUPS > spawns 12 cups-driverd processes and then consumes CPU: > > # ps -ef|grep -i cups > lp 688154 1745052 14 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 827502 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1093830 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1114204 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1138706 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1142970 1745052 0 14:34:06 - 0:00 /opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi > lp 1150978 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1167428 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1171506 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1662986 1745052 13 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1683596 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1736746 1745052 16 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > lp 1777816 1745052 17 14:34:06 - 0:05 /opt/TWWfsw/cups136/lib/daemon/cups-driverd list 1 0 requested-attributes='ppd-make' > root 1745052 1 12 14:16:23 - 0:06 /opt/TWWfsw/cups136/sbin/cupsd -c /etc/opt/TWWfsw/cups136/cupsd.conf > > # uptime > 02:42PM up 7 days, 3:06, 2 users, load average: 13.70 > > Name PID CPU% PgSp Owner > cups-dri 1150978 8.8 9.8 lp > cupsd 1745052 8.8 1.6 root > cups-dri 1662986 8.8 9.8 lp > cups-dri 1683596 8.5 9.8 lp > cups-dri 1736746 8.5 9.8 lp > cups-dri 1167428 8.5 9.8 lp > cups-dri 688154 8.5 9.8 lp > cups-dri 827502 8.3 9.8 lp > cups-dri 1114204 8.3 9.8 lp > cups-dri 1777816 8.3 9.8 lp > cups-dri 1171506 8.3 9.8 lp > topas 1753316 2.5 2.7 root > > > The cgi eventualy dies: > > E [04/Apr/2008:14:43:43 +0600] PID 1142970 (/opt/TWWfsw/cups136/lib/cgi-bin/admin.cgi) crashed on signal 9! > > > Has anyone seen the same? Strange, I've stop and restarted cupsd then tried the webadmin again and this time, it went through without a problem. Thanks, Angel From starjs at att.net Sat Apr 5 13:31:04 2008 From: starjs at att.net (jeff starr) Date: Sat, 05 Apr 2008 13:31:04 -0700 Subject: CUPS Printer driver for HP Laserjet p1006 Message-ID: <32337-cups.general@news.easysw.com> Attempted to access CUPS website printer driver for HP Laserjet P 1006. No such driver exists. The HP Laserjet p1006 printer is very popular USB printer and when I installed SUSE linux, a standard CUPS printer driver originated, however, this standard CUPS printer driver does not allow me to print to HP Laserjet p1006 USB printer. How do I get the correct printer driver to work on the USB HP Laserjet p1006? I have also checked my bios config for USB printer and the bios is set for usb printer on my New DELL system. It looks like there are a lot of problems like this in regards to SUSE Linux v10.3 and many new users are frustrated! Looking forward to anyones reply regarding this subject! Email > starjs at att.net From jorgebadad at bol.com.br Sat Apr 5 19:18:54 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Sat, 05 Apr 2008 19:18:54 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32338-cups.general@news.easysw.com> Please, Somebody knows what is write at "page 84, section 5.9" of CUPS book? Because I am trying to install a PIXMA IP1800 CANON printer, and when I try to add the printer using the lpadmin command, I obtain the following answer: lpadmin: Unable to copy PPD file! When I tested de canonip1800.ppd file in this CUPS site, I obtained the following answer: canonip1800.ppd: FAIL **FAIL** Bad Resolution choice 600! REF: Page 84, section 5.9 I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at Asia CANON site, and I generated the respective .deb file (and canonip1800.ppd file) using alien command. Does somebody can help me? Thanks Jorge Adad Amazonas-Brazil (sorry my english) From ace_rules_bbs at hotmail.com Sun Apr 6 03:25:02 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Sun, 06 Apr 2008 03:25:02 -0700 Subject: CUPS 1.3.6, Linksys PSUS4, jobs never complete Message-ID: <32339-cups.general@news.easysw.com> L.S. I recently decoupled my printer from a desktop computer in an effort to simplify things for the other networked computers, i.e. not having to keep one machine running just for a printer.. I deleted the printer from CUPS and re-set up the printer with IPP URL and the same driver it used when it was still connected directly by USB. Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp photosmart 7350 colour printer. The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs (recommended)". In the above, CUPS connects to the PSUS4 via IPP to the printer. What happens is, I can print 1 job from this Linux machine. After that, I can't do anything, because the first job never completes, it is 'stuck' in the processing queue indefinitely and the printer will forever show as 'processing..., accepting jobs'. If I print from a Windows machine, everything is fine. So i'm assuming something needs to be done inside CUPS. Any ideas would be appreciated! From henri at stmargarets.school.nz Sun Apr 6 14:27:05 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 06 Apr 2008 14:27:05 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 6 In-Reply-To: <fc.3b9aca0002c2397c3b9aca0002c2397c.694f05@stmargarets.school.nz> References: <fc.3b9aca0002c2397c3b9aca0002c2397c.694f05@stmargarets.school.nz> Message-ID: <32340-cups.general@news.easysw.com> This is one reason to consider using PrinterSetup to manage the CUP's queues. Currently there is no import script bundled with PrinterSetup. However, I am quite sure it would not take long to put this together. If you come up with something, I know there are other people using PrinterSetup who would like to see this feature so please consider submitting this back to the project. Otherwise, you could manually make the PrinterSetup files and then not have to worry about this again in the future. Finally, I am not sure what has changed between these versions of cups. Maybe the configuration files are compatible. Have you tried just copying the configuration files? Hope this helps. Related Link : http://www.lucidsystems.org/printingworks/printersetup > We have the problem that we replace a server with a newer one and we > want to copy all teh defined printers to the new server (there are > about 90 queues). How we can export/import the cups-configurations > or read the configurations on one server an rebuild them on the > other server. > The old-server runs with SuSE-Linux 8.1 and the new server with > OpenSuSE 10.3. So there also too different cups versions in use. From henri at stmargarets.school.nz Sun Apr 6 16:17:36 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 06 Apr 2008 16:17:36 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca0075d840c63b9aca0075d840c6.6953d4@stmargarets.school.nz> References: <fc.3b9aca0075d840c63b9aca0075d840c6.6953d4@stmargarets.school.nz> Message-ID: <32341-cups.general@news.easysw.com> I do not have a copy of this book. However, I did ordered it a while ago. I have to check into why it has not arrived. If you would please post the command you are using to add the printer, then people like me who do not "yet" have the book may be able to help you further. In the mean time, you could download a copy of PrinterSetup and use this to create the printer. The documentation explains how to add printers with PPD's. Also, within the Examples directory you will find a PrinterSetupFile which has a printer with a PPD specified to help get you started. Finally, if you have Mac OS X machines who will be printing to this printer, then the advantage of using PrinterSetup is that you will be able to install the driver and queue all in one easy step. Even if the drivers come bundled on the Mac OS X DVD it is important to keep in mind that not everyone installs these. I would recommend that you do not rely on them being installed. PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup > Please, > Somebody knows what is write at "page 84, section 5.9" of CUPS book? > > Because I am trying to install a PIXMA IP1800 CANON printer, and > when I try to add the printer using the lpadmin command, I obtain > the following answer: > lpadmin: Unable to copy PPD file! > > When I tested de canonip1800.ppd file in this CUPS site, I obtained > the following answer: > canonip1800.ppd: FAIL > **FAIL** Bad Resolution choice 600! > REF: Page 84, section 5.9 > > I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at > Asia CANON site, and I generated the respective .deb file (and > canonip1800.ppd file) using alien command. > > Does somebody can help me? > > Thanks > > Jorge Adad > Amazonas-Brazil From mz at panorgan.ch Mon Apr 7 00:41:57 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 00:41:57 -0700 Subject: copy configurations Message-ID: <32342-cups.general@news.easysw.com> Hello Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. Where can I find out the original name of those defined printers? Thanks Marc Ziegenhagen > > Hello, > > On Apr 4 07:03 Marc Ziegenhagen wrote: > > We have the problem that we replace a server with a newer one > > and we want to copy all teh defined printers to the new server > > (there are about 90 queues). How we can export/import the > > cups-configurations or read the configurations on one server > > an rebuild them on the other server. > > The old-server runs with SuSE-Linux 8.1 and the new server with > > OpenSuSE 10.3. So there also too different cups versions in use. > > Read > http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > in particular see > -------------------------------------------------------------------- > Do not edit the configuration files in /etc/cups/ manually > if suitable command-line tools are available for this purpose. > .... > For example, to set up the same queues on several machines > (e.g., for a backup server), do not copy /etc/cups/printers.conf > and /etc/cups/ppd/*, but write the respective commands in a script > (usually a sequence of lpadmin commands) and run the script on > the various machines. > .. > .. > .. > Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > we provide CUPS 1.2 which is not fully backward compatible > with CUPS 1.1. Therefore in case of an update it is recommended > not to use an outdated cupsd.conf from a CUPS 1.1 installation > before but to start from scratch with the original cupsd.conf > from our CUPS 1.2 RPM. > -------------------------------------------------------------------- > > > Kind Regards > Johannes Meixner > -- > SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > AG Nuernberg, HRB 16746, GF: Markus Rex > From h.blischke at srz.de Mon Apr 7 03:31:31 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 03:31:31 -0700 Subject: PDF printing from Windows In-Reply-To: <32330-cups.general@news.easysw.com> References: <32328-cups.general@news.easysw.com> <32329-cups.general@news.easysw.com> <32330-cups.general@news.easysw.com> Message-ID: <32343-cups.general@news.easysw.com> Seth Galitzer wrote: > Helge Blischke wrote: > >>Seth Galitzer wrote: >> >>>Alright, I've hit a serious problem and am hoping somebody can give me >>>advice on how to deal with it. On a fairly consistent basis, if a >>>Windows client sends a PDF file to any CUPS queue, the CUPS server takes >>>a huge performance hit (the larger the file, the greater the hit) and >>>then eventually dies processing the file. I've tweaked the settings so >>>the the whole server or queue doesn't die, only the job. >>> >>>My guess is that pdftops may be the culprit, but I don't know for sure. >>> I was hoping I could either a) force CUPS to use pdf2ps instead of >>>pdftops or b) not do the conversion at all and just send the PDF file as >>>is to the printer, since all of my printers are PS-enabled and should be >>>able to also handle PDF natively. >>> >>>We do a lot of PDF printing here, so this is a big deal. >>> >>>Version info: >>>CUPS: 1.3.5 >>>cups-windows: 6.0 >>>poppler: 0.6.1 >>>ghostscript (gpl): 8.61 >>> >>>I'll be happy to provide further information. Any suggestions are >>>appreciated. >>> >>>Thanks. >>>Seth >>> >> >>Despite the "official" preferences for using the poppler utilities >>I'd suggest to install the xpdf utilities (xpdf 3.02 at least) >>and use the "alternate pdftops filter" (see the links on the CUPS web >>site). >> >> >>Helge >> >> > > > I found your alternative filter and am reading up on how to use it now. > I'm also a bit leery about installing an X app on a headless server. > I'm running gentoo on this box, and even if I hold back X packages, it > still wants to install printproto, libXmu, xbitmaps, libXp, libXaw, and > openmotif. None of those (including xpdf itself) seem to include a file > for pdftops. I don't seem to have a package that just includes libs for > xpdf or the xpdf pdftops utils. Can you give a little more detail here? > > Thanks. > Seth > Without all the X stuff being installed, the usual configure and make for the xpdf suite will only compile pdftops, pdftotext, pdfinfo, and pdffonts (hope I didn't forget one). And pdftops is the only one you need. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Mon Apr 7 03:35:51 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 03:35:51 -0700 Subject: copy configurations In-Reply-To: <32342-cups.general@news.easysw.com> References: <32342-cups.general@news.easysw.com> Message-ID: <32344-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello > > Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > Where can I find out the original name of those defined printers? > > Thanks > Marc Ziegenhagen > > >>Hello, >> >>On Apr 4 07:03 Marc Ziegenhagen wrote: >> >>>We have the problem that we replace a server with a newer one >>>and we want to copy all teh defined printers to the new server >>>(there are about 90 queues). How we can export/import the >>>cups-configurations or read the configurations on one server >>>an rebuild them on the other server. >>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>OpenSuSE 10.3. So there also too different cups versions in use. >> >>Read >>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>in particular see >>-------------------------------------------------------------------- >>Do not edit the configuration files in /etc/cups/ manually >>if suitable command-line tools are available for this purpose. >>.... >>For example, to set up the same queues on several machines >>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>and /etc/cups/ppd/*, but write the respective commands in a script >>(usually a sequence of lpadmin commands) and run the script on >>the various machines. >>.. >>.. >>.. >>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>we provide CUPS 1.2 which is not fully backward compatible >>with CUPS 1.1. Therefore in case of an update it is recommended >>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>before but to start from scratch with the original cupsd.conf >>from our CUPS 1.2 RPM. >>-------------------------------------------------------------------- >> >> >>Kind Regards >>Johannes Meixner >>-- >>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>AG Nuernberg, HRB 16746, GF: Markus Rex >> > > For all printers in the printers.conf file, the line <Printer name_of_this_printer> you'll find a file /etc/cups/ppd/name_of_this_printer.ppd Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From paulo.cruz at iddeia.com.br Mon Apr 7 05:12:51 2008 From: paulo.cruz at iddeia.com.br (Paulo Cruz) Date: Mon, 07 Apr 2008 05:12:51 -0700 Subject: [cups.general] PJL Commands Message-ID: <32345-cups.general@news.easysw.com> Hello all, I try to use the hold print job in a Lexmark printer but the linux driver for this printer (X644 and T644) don’t have this option. Can I input the PJL commands to use this feature in the CUP´s ? @PJL SET HOLD=ON @PJL SET HOLDTYPE = PRIVATE @PJL SET HOLDKEY = “123” Or have another way to do that ?? Thank´s in advanced. Paulo Cruz -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080407/93a2300c/attachment-0001.html> From mz at panorgan.ch Mon Apr 7 05:20:56 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 05:20:56 -0700 Subject: copy configurations Message-ID: <32346-cups.general@news.easysw.com> Hello Helge This files I know, but this files haven't the original filename from the ppd-files in the directory /usr/share/cups/model But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? Marc Ziegenhagen > > For all printers in the printers.conf file, the line > <Printer name_of_this_printer> > you'll find a file > /etc/cups/ppd/name_of_this_printer.ppd > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > Marc Ziegenhagen wrote: > > Hello > > > > Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > > Where can I find out the original name of those defined printers? > > > > Thanks > > Marc Ziegenhagen > > > > > >>Hello, > >> > >>On Apr 4 07:03 Marc Ziegenhagen wrote: > >> > >>>We have the problem that we replace a server with a newer one > >>>and we want to copy all teh defined printers to the new server > >>>(there are about 90 queues). How we can export/import the > >>>cups-configurations or read the configurations on one server > >>>an rebuild them on the other server. > >>>The old-server runs with SuSE-Linux 8.1 and the new server with > >>>OpenSuSE 10.3. So there also too different cups versions in use. > >> > >>Read > >>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > >>in particular see > >>-------------------------------------------------------------------- > >>Do not edit the configuration files in /etc/cups/ manually > >>if suitable command-line tools are available for this purpose. > >>.... > >>For example, to set up the same queues on several machines > >>(e.g., for a backup server), do not copy /etc/cups/printers.conf > >>and /etc/cups/ppd/*, but write the respective commands in a script > >>(usually a sequence of lpadmin commands) and run the script on > >>the various machines. > >>.. > >>.. > >>.. > >>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > >>we provide CUPS 1.2 which is not fully backward compatible > >>with CUPS 1.1. Therefore in case of an update it is recommended > >>not to use an outdated cupsd.conf from a CUPS 1.1 installation > >>before but to start from scratch with the original cupsd.conf > >>from our CUPS 1.2 RPM. > >>-------------------------------------------------------------------- > >> > >> > >>Kind Regards > >>Johannes Meixner > >>-- > >>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > >>AG Nuernberg, HRB 16746, GF: Markus Rex > >> > > > > From move2rahul at yahoo.co.in Mon Apr 7 07:28:07 2008 From: move2rahul at yahoo.co.in (rahulmode) Date: Mon, 07 Apr 2008 07:28:07 -0700 Subject: CUPS- HTTP Content-Length issue Message-ID: <32347-cups.general@news.easysw.com> > rahulmode wrote: > > I noticed that in CUPS1.1.23, when I connect to the server using > > > > # nc 10.10.220.231 631 > > POST /printers/printer/ HTTP/1.1 > > Content-Length: > > > > > > \n > > \n > > > > > > > > > > -------------------------------- > > > > It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. > > > > Regarding this issue, I got no info on the forums! > > So please, can someone tell why is this issue not handled .. > > is this a feature? if yes how ?? > > Well, first you might test with a newer release - 1.1.23 is very > old. If the same problem occurs with 1.3.7, please file a bug > report: > > http://www.cups.org/str.php > > Second, there are a lot of ways to do Denial-of-Service attacks on > any network service, and adding a length check for Content-Length > won't prevent them... > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com I checked the same .. on CUPS-1.3.7 where again the problem is reproducible. FILED the BUG !! ( STR #2787 ) It's a security issue related to CUPS ( all versions ) From oh at ceus-it.com Mon Apr 7 08:43:52 2008 From: oh at ceus-it.com (Oskar Hajek) Date: Mon, 07 Apr 2008 08:43:52 -0700 Subject: printers.conf Message-ID: <32348-cups.general@news.easysw.com> > Oskar Hajek wrote: > > Hello, > > is it possible to reload the printers.conf w/o hanging up cupsd? > > No, but you can use lpadmin, the web interface, or the > CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, > modify, or delete printers without restarting cupsd. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi Michael, we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? Thank you in Advance From mitchell.hensley at gmail.com Mon Apr 7 08:48:46 2008 From: mitchell.hensley at gmail.com (Mitchell Hensley) Date: Mon, 07 Apr 2008 08:48:46 -0700 Subject: CUPS "Unable to Connect to CUPS server, check options." Error / STDIN is empty, no job sent Error Message-ID: <32349-cups.general@news.easysw.com> We have recently made a change to our network, by adding a windows domain, and have changed the DNS on the server containing CUPS. I am currently running Red Hat 9 and an old version of CUPS. After the change of domain to our local machines and the DNS change on the CUPS server, when I open the cups shortcut I get the: "Unable to Connect to CUPS server, check options." If I proceed, all of my printer settings are gone, but if I go to options and change the server address to 127.0.0.1:631 all of my settings retrieve. I am able to access the printer admin screen from a web browser. After I have changed the server in CUPS to 127.0.0.1 I can make changes as normal to all of my printers, but when I click "OK" to exit I get the error: "Stdin is empty, no job sent" which does not save the server name change I made, and I am still unable to print. I have very minimal linux knowledge and have not used CUPS much, and have been handed a system that was already setup and configured. Any and all help is appreciated. Thanks, Mitchell Hensley From h.blischke at srz.de Mon Apr 7 09:08:59 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 09:08:59 -0700 Subject: copy configurations In-Reply-To: <32346-cups.general@news.easysw.com> References: <32346-cups.general@news.easysw.com> Message-ID: <32350-cups.general@news.easysw.com> Marc Ziegenhagen wrote: > Hello Helge > > This files I know, but this files haven't the original filename from the ppd-files in the directory > /usr/share/cups/model > But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? > > Marc Ziegenhagen > > >>For all printers in the printers.conf file, the line >> <Printer name_of_this_printer> >>you'll find a file >> /etc/cups/ppd/name_of_this_printer.ppd >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>Marc Ziegenhagen wrote: >> >>>Hello >>> >>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. >>>Where can I find out the original name of those defined printers? >>> >>>Thanks >>>Marc Ziegenhagen >>> >>> >>> >>>>Hello, >>>> >>>>On Apr 4 07:03 Marc Ziegenhagen wrote: >>>> >>>> >>>>>We have the problem that we replace a server with a newer one >>>>>and we want to copy all teh defined printers to the new server >>>>>(there are about 90 queues). How we can export/import the >>>>>cups-configurations or read the configurations on one server >>>>>an rebuild them on the other server. >>>>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>>>OpenSuSE 10.3. So there also too different cups versions in use. >>>> >>>>Read >>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>>>in particular see >>>>-------------------------------------------------------------------- >>>>Do not edit the configuration files in /etc/cups/ manually >>>>if suitable command-line tools are available for this purpose. >>>>.... >>>>For example, to set up the same queues on several machines >>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>>>and /etc/cups/ppd/*, but write the respective commands in a script >>>>(usually a sequence of lpadmin commands) and run the script on >>>>the various machines. >>>>.. >>>>.. >>>>.. >>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>>>we provide CUPS 1.2 which is not fully backward compatible >>>>with CUPS 1.1. Therefore in case of an update it is recommended >>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>>>before but to start from scratch with the original cupsd.conf >>> >>>>from our CUPS 1.2 RPM. >>> >>>>-------------------------------------------------------------------- >>>> >>>> >>>>Kind Regards >>>>Johannes Meixner >>>>-- >>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>>>AG Nuernberg, HRB 16746, GF: Markus Rex >>>> >>> >>> > You do not need to reinstall these printers. All information you need is contained in printers.conf and the said PPD files. I suspect there is no way to regain the original PPD names from the model directory. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Mon Apr 7 09:48:37 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 07 Apr 2008 09:48:37 -0700 Subject: [cups.general] printers.conf In-Reply-To: <32348-cups.general@news.easysw.com> References: <32348-cups.general@news.easysw.com> Message-ID: <32351-cups.general@news.easysw.com> Oskar Hajek wrote: >> Oskar Hajek wrote: >>> Hello, >>> is it possible to reload the printers.conf w/o hanging up cupsd? >> No, but you can use lpadmin, the web interface, or the >> CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, >> modify, or delete printers without restarting cupsd. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > Hi Michael, > we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. > It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. > But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. > Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? You could write a program that monitors the "master" server for config changes and mirror them locally. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mz at panorgan.ch Mon Apr 7 10:24:12 2008 From: mz at panorgan.ch (Marc Ziegenhagen) Date: Mon, 07 Apr 2008 10:24:12 -0700 Subject: copy configurations Message-ID: <32352-cups.general@news.easysw.com> > Marc Ziegenhagen wrote: > > Hello Helge > > > > This files I know, but this files haven't the original filename from the ppd-files in the directory > > /usr/share/cups/model > > But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? > > > > Marc Ziegenhagen > > > > > >>For all printers in the printers.conf file, the line > >> <Printer name_of_this_printer> > >>you'll find a file > >> /etc/cups/ppd/name_of_this_printer.ppd > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>Marc Ziegenhagen wrote: > >> > >>>Hello > >>> > >>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. > >>>Where can I find out the original name of those defined printers? > >>> > >>>Thanks > >>>Marc Ziegenhagen > >>> > >>> > >>> > >>>>Hello, > >>>> > >>>>On Apr 4 07:03 Marc Ziegenhagen wrote: > >>>> > >>>> > >>>>>We have the problem that we replace a server with a newer one > >>>>>and we want to copy all teh defined printers to the new server > >>>>>(there are about 90 queues). How we can export/import the > >>>>>cups-configurations or read the configurations on one server > >>>>>an rebuild them on the other server. > >>>>>The old-server runs with SuSE-Linux 8.1 and the new server with > >>>>>OpenSuSE 10.3. So there also too different cups versions in use. > >>>> > >>>>Read > >>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > >>>>in particular see > >>>>-------------------------------------------------------------------- > >>>>Do not edit the configuration files in /etc/cups/ manually > >>>>if suitable command-line tools are available for this purpose. > >>>>.... > >>>>For example, to set up the same queues on several machines > >>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf > >>>>and /etc/cups/ppd/*, but write the respective commands in a script > >>>>(usually a sequence of lpadmin commands) and run the script on > >>>>the various machines. > >>>>.. > >>>>.. > >>>>.. > >>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 > >>>>we provide CUPS 1.2 which is not fully backward compatible > >>>>with CUPS 1.1. Therefore in case of an update it is recommended > >>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation > >>>>before but to start from scratch with the original cupsd.conf > >>> > >>>>from our CUPS 1.2 RPM. > >>> > >>>>-------------------------------------------------------------------- > >>>> > >>>> > >>>>Kind Regards > >>>>Johannes Meixner > >>>>-- > >>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany > >>>>AG Nuernberg, HRB 16746, GF: Markus Rex > >>>> > >>> > >>> > > > > You do not need to reinstall these printers. All information > you need is contained in printers.conf and the said PPD files. > I suspect there is no way to regain the original PPD names > from the model directory. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org Hello Helge On my system in the moment I have a the following file in the /etc/cups/pdd directory: hplj4000.ppd hplj4000pan.ppd oki5300.ppd oki5300pan.ppd But on the new system there has no such ppd-file, there exists only the original ones like HP/LaserJet_4000_Postscript.ppd.gz. So how can I generate on the new system this printers when I not can take the name of the original pdd file somewhere on the old system? Marc Ziegenhagen From michael at intakt-musikinstitut.de Mon Apr 7 11:10:53 2008 From: michael at intakt-musikinstitut.de (Michael Herrmann) Date: Mon, 07 Apr 2008 11:10:53 -0700 Subject: How to prompt for a printer-internal user-id and password? Message-ID: <32353-cups.general@news.easysw.com> Hi, I have a Canon IR2740C Multifunctional Printer, set up with several printer-internal user-ids and passwords. Within the printer-config (inside the machine itself, not by cups) you can set up any restrictions for any user you like, for example user 1 can only make A4 copies black and white, but user 2 can make A3 copies, even coloured. All our Linux-Clients using cups do their printing jobs via printing by port 991 and using a local ppd. When printing from a windows client each time you print a message dialog box appears and asks for your user id and your password. That's what I also want to appear at our linux clients. What can I do to make such a dialog box prompting for userid and password appear? We have only 6 clients and no dedicated printing-server. All clients are printing via cups. (using Suse 10.2 on all clients) Thanks for your help - at the suse mailing list no one knows an answer...) Michael From h.blischke at srz.de Mon Apr 7 12:00:50 2008 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 07 Apr 2008 12:00:50 -0700 Subject: copy configurations In-Reply-To: <32352-cups.general@news.easysw.com> References: <32352-cups.general@news.easysw.com> Message-ID: <32354-cups.general@news.easysw.com> Marc Ziegenhagen wrote: >>Marc Ziegenhagen wrote: >> >>>Hello Helge >>> >>>This files I know, but this files haven't the original filename from the ppd-files in the directory >>> /usr/share/cups/model >>>But to install with the lpadmin I need the original-name of the files in the /usr/share/cups/model. So my question is how I find out this original filenames? >>> >>>Marc Ziegenhagen >>> >>> >>> >>>>For all printers in the printers.conf file, the line >>>> <Printer name_of_this_printer> >>>>you'll find a file >>>> /etc/cups/ppd/name_of_this_printer.ppd >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>Marc Ziegenhagen wrote: >>>> >>>> >>>>>Hello >>>>> >>>>>Thanks for your help. This was also my way what I want to do, but I have the problem to find out where I can get the original names of the ppd-files of defined printer queues on the old system. Because in the printer.conf is only the name of the copied pdd-file who is in the /etc/cups/pdd directory. >>>>>Where can I find out the original name of those defined printers? >>>>> >>>>>Thanks >>>>>Marc Ziegenhagen >>>>> >>>>> >>>>> >>>>> >>>>>>Hello, >>>>>> >>>>>>On Apr 4 07:03 Marc Ziegenhagen wrote: >>>>>> >>>>>> >>>>>> >>>>>>>We have the problem that we replace a server with a newer one >>>>>>>and we want to copy all teh defined printers to the new server >>>>>>>(there are about 90 queues). How we can export/import the >>>>>>>cups-configurations or read the configurations on one server >>>>>>>an rebuild them on the other server. >>>>>>>The old-server runs with SuSE-Linux 8.1 and the new server with >>>>>>>OpenSuSE 10.3. So there also too different cups versions in use. >>>>>> >>>>>>Read >>>>>>http://en.opensuse.org/SDB:CUPS_in_a_Nutshell >>>>>>in particular see >>>>>>-------------------------------------------------------------------- >>>>>>Do not edit the configuration files in /etc/cups/ manually >>>>>>if suitable command-line tools are available for this purpose. >>>>>>.... >>>>>>For example, to set up the same queues on several machines >>>>>>(e.g., for a backup server), do not copy /etc/cups/printers.conf >>>>>>and /etc/cups/ppd/*, but write the respective commands in a script >>>>>>(usually a sequence of lpadmin commands) and run the script on >>>>>>the various machines. >>>>>>.. >>>>>>.. >>>>>>.. >>>>>>Up to SUSE LINUX 10.1 we provided CUPS 1.1 and since openSUSE 10.2 >>>>>>we provide CUPS 1.2 which is not fully backward compatible >>>>>>with CUPS 1.1. Therefore in case of an update it is recommended >>>>>>not to use an outdated cupsd.conf from a CUPS 1.1 installation >>>>>>before but to start from scratch with the original cupsd.conf >>>>> >>>>>>from our CUPS 1.2 RPM. >>>>> >>>>> >>>>>>-------------------------------------------------------------------- >>>>>> >>>>>> >>>>>>Kind Regards >>>>>>Johannes Meixner >>>>>>-- >>>>>>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany >>>>>>AG Nuernberg, HRB 16746, GF: Markus Rex >>>>>> >>>>> >>>>> >>You do not need to reinstall these printers. All information >>you need is contained in printers.conf and the said PPD files. >>I suspect there is no way to regain the original PPD names >>from the model directory. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org > > > Hello Helge > > On my system in the moment I have a the following file in the /etc/cups/pdd directory: > hplj4000.ppd > hplj4000pan.ppd > oki5300.ppd > oki5300pan.ppd > > But on the new system there has no such ppd-file, there exists only the original ones like HP/LaserJet_4000_Postscript.ppd.gz. > So how can I generate on the new system this printers when I not can take the name of the original pdd file somewhere on the old system? > > Marc Ziegenhagen (1) shut down cupsd on both systems (2) copy the above files to the /etc/cups/ppd directory on the new system (3) copy the old system's printers.conf to the new system (4) restart cupsd (at least on the new system). Note: the /etc/cups/ppd/oki5300pan.ppd has just this name because there is a printer named oki5300pan defined and configured. The result of setting up a printer via the lpadmin command or the web interface is just the said PPD file (with all default settings set up in this file) and the entry for this printer in printers.conf file. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Mon Apr 7 12:32:11 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 07 Apr 2008 12:32:11 -0700 Subject: [cups.general] CUPS- HTTP Content-Length issue In-Reply-To: <32347-cups.general@news.easysw.com> References: <32347-cups.general@news.easysw.com> Message-ID: <32355-cups.general@news.easysw.com> rahulmode wrote: >> rahulmode wrote: >>> I noticed that in CUPS1.1.23, when I connect to the server using >>> >>> # nc 10.10.220.231 631 >>> POST /printers/printer/ HTTP/1.1 >>> Content-Length: >>> >>> >>> \n >>> \n >>> >>> >>> >>> >>> -------------------------------- >>> >>> It's clear from the source code that, it waits for 2147483647 Number of Bytes !!!!! This may result in possible DOS. >>> >>> Regarding this issue, I got no info on the forums! >>> So please, can someone tell why is this issue not handled .. >>> is this a feature? if yes how ?? >> Well, first you might test with a newer release - 1.1.23 is very >> old. If the same problem occurs with 1.3.7, please file a bug >> report: >> >> http://www.cups.org/str.php >> >> Second, there are a lot of ways to do Denial-of-Service attacks on >> any network service, and adding a length check for Content-Length >> won't prevent them... >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com > > > > I checked the same .. on CUPS-1.3.7 where again the problem is reproducible. > > FILED the BUG !! ( STR #2787 ) > It's a security issue related to CUPS ( all versions ) Thanks for the bug report. Again, we don't consider this type of issue a security risk, since even with the added error checking it is possible to induce the kind of denial-of-service attack you envision. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From henri at stmargarets.school.nz Mon Apr 7 15:00:46 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:00:46 -0700 Subject: [cups.general] copy configurations In-Reply-To: <fc.3b9aca00e12f78663b9aca00e12f7866.69681b@stmargarets.school.nz> References: <fc.3b9aca00e12f78663b9aca00e12f7866.69681b@stmargarets.school.nz> Message-ID: <32356-cups.general@news.easysw.com> > Where can I find out the original name of those defined printers? Sorry, I am not sure, perhaps someone else will be able to provide an answer to this question. I know it seems like a pain, but you could download the drivers from the manufactures website. At least then you can rest assured that you have the latest drivers installed on your new system and that these drivers will be compatible with your new system. You could then use PrinterSetup to specify these new PPD's. By using PrinterSetup to manage your queues, the setup of client queues will also be a simplified. It will just be a matter of automating some file renames and performing some find and replaces in these new PrinterSetupFiles. In addition, if you take this path, then creating these queues another server in the future will be trivial. As was previously mentioned on this list, you could try coping the 'printers.conf' file and the 'ppd' directory to your new setup. It would certainly be worth a try. Provided the PPD's are the only files which are required when printing, I imagine this should work. However, using PrinterSetup to move the queues will work work. Plus, you gain the ability to easily move these queues to another server in the future and to easily deploy these queues to any client machines which you may be managing. All the best. From henri at stmargarets.school.nz Mon Apr 7 15:08:44 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:08:44 -0700 Subject: [cups.general] How to prompt for a printer-internal user-id and password? In-Reply-To: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> References: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> Message-ID: <32357-cups.general@news.easysw.com> You could have a look at PrintingWorks : http://www.lucidsystems.org/printingworks > What can I do to make such a dialog box prompting for userid and > password appear? > We have only 6 clients and no dedicated printing-server. All clients > are printing via cups. Alternatively, you could talk to Canon and ask for them to help you? From henri at stmargarets.school.nz Mon Apr 7 15:15:26 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 07 Apr 2008 15:15:26 -0700 Subject: [cups.general] printers.conf In-Reply-To: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> References: <fc.3b9aca00abd41d5f3b9aca00abd41d5f.69686f@stmargarets.school.nz> Message-ID: <32358-cups.general@news.easysw.com> You could have a look at PrinterSetup. It is certainly possible to setup this kind of synchronization. Although, you will need to write some scripts to delete printers which are no longer part of the setup for true synchronization. Interestingly, I am currently working on a system right now to keep client queues in sync from a centrally managed location. If you would like to be involved with get involved with the PrinterSetup project, then visit the PrinterSetup website : http://www.lucidsystems.org/printingworks/printersetup > Any idea how i am able to keep the printer definition synchron w/o > reloading/restarting cupsd? From ronw.mrmx at gmail.com Mon Apr 7 17:24:25 2008 From: ronw.mrmx at gmail.com (Ron Wilson) Date: Mon, 07 Apr 2008 17:24:25 -0700 Subject: /usr/lib/cups/filter/foomatic-rip failed Message-ID: <32359-cups.general@news.easysw.com> > I am new to both Linux and CUPS, so I would appreciate any help from anyone. Here is the problem: > > I cannot print and receive this error message in the log: > > failed(/usr/lib/cups/filter/foomatic-rip) stopped with status 1! > cupsdAuthorize: Local authentication certificate not found! I got the "stopped with status 1" error, but not the "authetication certicate not found" error. I am running Mepis 7 with CUPS 1.3.2 The printer is an HP Deskjet 5850 with built-in ethernet interface (which I am using). From jack at aiai.de Tue Apr 8 01:53:03 2008 From: jack at aiai.de (ekkard gerlach) Date: Tue, 08 Apr 2008 01:53:03 -0700 Subject: 1.2.7: delete printer queue Message-ID: <32360-cups.general@news.easysw.com> How can I delete printer queue in cups 1.2.7? - In older versions of CUPS I deleted all d*-files in /var/spool/cups/ and all files in /var/spool/cups/tmp/ , the a cupsd restart an all queues have been clean. But not so in CUPS 1.2.7! The printer queues in lpc status show printer jobs an the printer does not work. The html-frontend localhost:631 obviously "knows" how to delete the queues. Using the GUI-function "delete jobs" all jobs are cleared and the printer now prints all new incoming jobs. Where does cups save job information in 1.2.27? I just found the command "cancel -a" on Suse 10.2. I don't know if thats the solution to cancel all jobs because I've no "not-working" printer at the moment. Is "cancel" delivered with every CUPS? Or a Suse-specific solution? Where does 1.2.27 save jobs information? - I'd like to delete all printer jobs in boot.local before CUPS is started. So I need to know the file I have to delete/ manipulate that all jobs are delete at boot time. thx Ekkard From jsmeix at suse.de Tue Apr 8 02:12:00 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 08 Apr 2008 02:12:00 -0700 Subject: [cups.general] copy configurations In-Reply-To: <32342-cups.general@news.easysw.com> References: <32342-cups.general@news.easysw.com> Message-ID: <32361-cups.general@news.easysw.com> Hello, On Apr 7 00:41 Marc Ziegenhagen wrote (shortened): > .. I have the problem to find out where I can get the original names > of the ppd-files of defined printer queues on the old system. For PostScript printers I recommend to re-use the old PPDs if you are satisfied with the old PPDs. PostScript printer PPDs have no '*cupsFilter' entry. Copy old-system:/etc/cups/ppd/<file>.ppd to a directory new-system:/usr/share/cups/model/my_old_postscript_ppds/ and use them via "lpadmin ... -P ..." on the new system. For non-PostScript printers I recommend to use the new PPDs from the new system because new drivers and/or drivers versions may need an exact matching PPD (e.g. GimpPrint/Gutenprint). For those printers get the NickName entry of the old system PPDs: grep '^\*NickName' old-system:/etc/cups/ppd/*.ppd and then try to find them in new-system:/usr/share/cups/model/ for example use the "lpinfo -l -m" output on the new system. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From twalter at gmx.net Tue Apr 8 11:43:11 2008 From: twalter at gmx.net (tim) Date: Tue, 08 Apr 2008 11:43:11 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32362-cups.general@news.easysw.com> hi i updated my cups from an older version using pscript5 and Adobe windows drivers. now i switched to: cups = 1.2.12-r7 cups-windows = 6.0 samba = 3.0.28 Printers = Kyocera Mita FS1920 / FS1010 If i print pdf-documents from the windows clients (w2k/wXP) the first page comes out and the second page is an error-message or the printer goes to error state. If i print the same document beginning from the second page everything works fine. I tried several different pdf-files and some print and some with this error. The older windows drivers worked fine with the same pdf-files. The Acrobat-Reader-Versions are still the same (7.1 and 8.0). Printing the from linux-cmd works fine with the same pdf-files. Please help. tim From jorgebadad at bol.com.br Tue Apr 8 11:52:59 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Tue, 08 Apr 2008 11:52:59 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32363-cups.general@news.easysw.com> Thanks for answering, The machine that I am using is not MAC (it is PC), and not the OS is the X, is Linux (Big Linux, one Brazilian linux distro, based on Debian), therefore the software of PrinterSetup does not serve for me. I prefer to wait and to know what it is written in Page 84, section 5.9 CUPS Book. It follows relation of commands that I am using to install the printer, supplied for the Canon Asia. CANON PIXMA IP 1800 This section describes how to install a printer driver in Fedora Core 6. If you want to install the printer driver, start Linux and log in as root. Preparation Installing the insufficient package Depending on the selected installation type, the package required to install the printer driver may not be installed. If such is the case, install the following packages before installing the printer driver: libxml-1.8.17-xxx.i386.rpm gtk+-1.2.xxx.i386.rpm Make sure to install it as shown below: # rpm -ivh gtk+-1.2.xxx.i386.rpm --nodeps glib-1.2.xxx.i386.rpm Changing the SELinux settings The following settings are required if you cannot perform the printing operation: 1) Select [System] - [Administration] - [Security Level and Firewall] from the desktop panel. 2) Change the [SELinux Setting] on the [SELinux] tab to [Permissive]. Connecting the printer Before installing the printer driver, connect the computer and the printer with a USB cable and turn on the printer. Preparing the printer driver rpm Before using the printer driver, you must install the "common package" and the "model-specific package." cnijfilter-common-2.70-x.i386.rpm -------- Common package cnijfilter-ip1800series-2.70-x.i386.rpm -------- Model-specific package Download the above .rpm files from the Canon Web site in advance. (Where "2.70-x" in the above .rpm files is the version number.) Install 1. Install printer driver. Install the printer driver in order of the "common package" and the "model-specific package" by using the rpm command from the command line of the terminal software. 1) Installing the common package [root at zzz /yyy]# rpm -ivh cnijfilter-common-2.70-x.i386.rpm 2) Installing the model-specific package [root at zzz /yyy]# rpm -ivh cnijfilter-ip1800series-2.70-x.i386.rpm Refer to the following URL for the detailed information about the rpm command: http://www.rpm.org/ 2. Restart the CUPS daemon. Enter the following from the command line of the terminal software: [root at zzz /yyy]# /etc/init.d/cups restart Do not register the printer with the lpadmin command before you restart the CUPS daemon. 3. Register the printer to the spooler. Register the printer to the spooler by using the lpadmin command from the command line of the terminal software. You can specify the desired name as the [printer_name]. /usr/sbin/lpadmin -p [printer_name] -m [PPD_filename] -v [device_URI] -E If you specify IP1800 as the [printer_name]: [root at zzz /yyy]# /usr/sbin/lpadmin -p IP1800 -m canonip1800.ppd -v cnij_usb:/dev/usb/lp0 -E *************************************** Obs.: After these up command, the system return the following answer: lpadmin: Unable to copy PPD file! and the printer don't install! ************************************** 4. Set the default printer. Set the default printer to be used when the [printer_name] is omitted in the print command from the command line of the terminal software. /usr/sbin/lpadmin -d [printer_name] Example: [root at zzz /yyy]# /usr/sbin/lpadmin -d IP1800 5. Restart the computer. The following settings are required for printing with the Driver UI of the cif command: Run the gdmsetup command. Select the [Security] tab and uncheck the [Deny TCP connections to Xserver] check box. Reboot the system. The Status Monitor may not be displayed properly if the LAN environment has been configured and the IP address has been specified. If such is the case, make sure to perform the configuration specified at 6 in "Restriction of the Status Monitor." Thanks George Adad Manaus-Brazil > I do not have a copy of this book. However, I did ordered it a while =20= > > ago. I have to check into why it has not arrived. > > If you would please post the command you are using to add the printer, =20= > > then people like me who do not "yet" have the book may be able to help =20= > > you further. > > In the mean time, you could download a copy of PrinterSetup and use =20 > this to create the printer. The documentation explains how to add =20 > printers with PPD's. Also, within the Examples directory you will find =20= > > a PrinterSetupFile which has a printer with a PPD specified to help =20 > get you started. > > Finally, if you have Mac OS X machines who will be printing to this =20 > printer, then the advantage of using PrinterSetup is that you will be =20= > > able to install the driver and queue all in one easy step. Even if the =20= > > drivers come bundled on the Mac OS X DVD it is important to keep in =20 > mind that not everyone installs these. I would recommend that you do =20 > not=03 rely on them being installed. > > > PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup > > > > Please, > > Somebody knows what is written at "page 84, section 5.9" of CUPS book? > > > > Because I am trying to install a PIXMA IP1800 CANON printer, and =20 > > when I try to add the printer using the lpadmin command, I obtain =20 > > the following answer: > > lpadmin: Unable to copy PPD file! > > > > When I tested de canonip1800.ppd file in this CUPS site, I obtained =20= > > > the following answer: > > canonip1800.ppd: FAIL > > **FAIL** Bad Resolution choice 600! > > REF: Page 84, section 5.9 > > > > I obtained the "cnijfilter-ip1800series-2.70-1.i386.rpm" file at =20 > > Asia CANON site, and I generated the respective .deb file (and =20 > > canonip1800.ppd file) using alien command. > > > > Does somebody can help me? > > > > Thanks > > > > Jorge Adad > > Amazonas-Brazil > From jack at aiai.de Tue Apr 8 13:59:17 2008 From: jack at aiai.de (ekkard gerlach) Date: Tue, 08 Apr 2008 13:59:17 -0700 Subject: 1.2.7: browsing is OFF, cups but still browsing Message-ID: <32364-cups.general@news.easysw.com> lpstat -t shows printer queues that are not in local /etc/cups/cupsd.conf even though browsing is switched off: cat /etc/cups/cupsd.conf # Show troubleshooting information in error_log. LogLevel debug SystemGroup sys root # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Disable printer sharing and shared printers. Browsing Off DefaultAuthType Basic <Location /> [...] Why? thx Ekkard From henri at stmargarets.school.nz Tue Apr 8 15:31:21 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 08 Apr 2008 15:31:21 -0700 Subject: [cups.general] 1.2.7: delete printer queue In-Reply-To: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> References: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> Message-ID: <32365-cups.general@news.easysw.com> PrinterSetup contains scripts to do what I believe you are trying to do. If you download PrinterSetup from http://www.lucidsystems.org/printingworks/printersetup/ unzip this download and then navigate into PrinterSetup_vXXXX/ Examples/Handy Scripts directory there are two scripts which you may find useful. (1) sh-cancel-all-printjobs.hook (2) sh-remove-printers.hook Hope this helps. > How can I delete printer queue in cups 1.2.7? From henri at stmargarets.school.nz Tue Apr 8 15:50:26 2008 From: henri at stmargarets.school.nz (henri) Date: Tue, 08 Apr 2008 15:50:26 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> References: <fc.3b9aca00c6e25f7e3b9aca00c6e25f7e.697b21@stmargarets.school.nz> Message-ID: <32366-cups.general@news.easysw.com> Hi, > The machine that I am using is not MAC (it is PC), and not the OS is > the X, is Linux (Big Linux, one Brazilian linux distro, based on > Debian), therefore the software of PrinterSetup does not serve for me. PrinterSetup will work quite happily with Debian. It has been tested with version 3.1 and should work with later versions as well. However, If you still want to use lpadmin directly, then have a look at lpadmin man page. This is taken from the lpadmin on Mac OS X, however I believe that Debian also uses the same flag for specifying a full PPD path with lpadmin. > -P ppd-file > Specifies a PostScript Printer Description file to use > with the > printer. If specified, this option overrides the -i > option (inter- > face script). My guess is that the installer may have given the PPD a different name from what you are specifying on the your command. There may also be another issues with your command. However, you could first try to locate the PPD in the file system and then replace the -m with -P and specify the complete path to the PPD. Alternatively, there could be a problem with the installer or like I mentioned above it could have installed a PPD with a different name. > /usr/sbin/lpadmin -p IP1800 -m canonip1800.ppd -v cnij_usb:/dev/usb/ > lp0 -E The problem could be something else entirely. However, it looks like lpadmin is unable to find the PPD you have specified. I would try to find the PPD in the file system as a first step. I hope this helps. From wizard at syntheticsw.com Tue Apr 8 16:16:32 2008 From: wizard at syntheticsw.com (Torsten Giebl) Date: Tue, 08 Apr 2008 16:16:32 -0700 Subject: [cups.general] Canon Pixma 4200 Message-ID: <32367-cups.general@news.easysw.com> Hello ! The Canon Pixma 4200 with CUPS : 1. I am using the PPD file for this printer from the Canon site + 3 i386 filter RPMs. Printing works, but i don't have all the options from the Windows driver. Is there another PPD file available somewhere ? 2. I need the 3 filter i386 RPMs. Is there some other filter available that works with this printer, but is not only limited to i386 ? I would like to print from my iBook ( PowerPC ) with Linux, too. I am a little bit confused about printing under Linux. What functions have the PPD files and why do i need to have filterdrivers too ? Thanks. CU From twj_1035 at qq.com Tue Apr 8 17:42:48 2008 From: twj_1035 at qq.com (twj) Date: Tue, 08 Apr 2008 17:42:48 -0700 Subject: how to print a bmp image? Message-ID: <32368-cups.general@news.easysw.com> Can we use API cupsPrintFiles() to print a bmp image? From dschmidt at buddyrents.com Tue Apr 8 18:26:35 2008 From: dschmidt at buddyrents.com (Daniel Schmidt) Date: Tue, 08 Apr 2008 18:26:35 -0700 Subject: cannot exceed 132 columns with lpd Message-ID: <32369-cups.general@news.easysw.com> I'm using cups 1.2.4 on RHEL 5. I'm trying to print a 135 column report from Linux to a Brother HL-1440 on a Windows XP SP2 system, using LPD. Per the RFC, the Windows LPD is defaulting to 132 columns in raw mode, but according the lpr man page, the w control character I would use to override the default is disabled. I have tried both the standard laserjet.ppd, and the recommended foomatic:Brother-HL-1440-hl1250.ppd Interestingly, I could get laserjet.ppd to print up to 132 columns at cpi=17, but the foomatic one seemed capped at 80 regardless of cpi setting. Additionally, if I set cpi any higher than 17, or failed to specify a page-right option, laserjet.ppd would also start wrapping at 80 columns. I would like to be able to print 135 columns at 18 cpi. Any suggestions are greatly appreciated. From jorgebadad at bol.com.br Tue Apr 8 18:51:13 2008 From: jorgebadad at bol.com.br (Jorge Bilbao) Date: Tue, 08 Apr 2008 18:51:13 -0700 Subject: Page 84, section 5.9 CUPS book Message-ID: <32370-cups.general@news.easysw.com> Thanks for answering, OK. I will try Printer Setup while I do not discover what it says at page 84, section 5.9 of CUPS Book. I tested others Canon PPD drivers files, at the site of CUPS, and had passed in the test, receiving the 'OK' answer. I believe that some command of configuration is out of the specification related at page 84, section 5.9 of CUPS Book. Thanks Jorge From twaugh at redhat.com Wed Apr 9 01:48:18 2008 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 09 Apr 2008 01:48:18 -0700 Subject: [cups.general] cannot exceed 132 columns with lpd In-Reply-To: <32369-cups.general@news.easysw.com> References: <32369-cups.general@news.easysw.com> Message-ID: <32371-cups.general@news.easysw.com> On Tue, 2008-04-08 at 18:26 -0700, Daniel Schmidt wrote: > I'm using cups 1.2.4 on RHEL 5. [...] > Additionally, if I set cpi any higher than 17, or failed to specify a > page-right option, laserjet.ppd would also start wrapping at 80 columns. This sounds like it might be a known bug in the 'paps' filter: https://bugzilla.redhat.com/show_bug.cgi?id=316461 One work-around might be to alter /etc/cups/mime.convs so that this line: text/plain application/postscript 33 texttopaps reads: text/plain application/postscript 33 texttops (i.e. change 'texttopaps' to 'texttops'). Does that work around the problem you are seeing? Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/5be71511/attachment.bin> From kontakt at seebergit.dk Wed Apr 9 02:19:39 2008 From: kontakt at seebergit.dk (Joakim Seeberg) Date: Wed, 09 Apr 2008 02:19:39 -0700 Subject: How to lock driver settings set by admin Message-ID: <32372-cups.general@news.easysw.com> > I installed a printer in cups and in "printer options" set "color mode" to Black and White. Still users can print in color because they can change "color mode" when printing. How can I lock the printer options so that users can only print in Black and White? I found the solution my self. I edited the ppd file for the printer so that the option is not availeble to the user. From oh at ceus-it.com Wed Apr 9 05:21:55 2008 From: oh at ceus-it.com (Oskar Hajek) Date: Wed, 09 Apr 2008 05:21:55 -0700 Subject: printers.conf Message-ID: <32373-cups.general@news.easysw.com> > Oskar Hajek wrote: > >> Oskar Hajek wrote: > >>> Hello, > >>> is it possible to reload the printers.conf w/o hanging up cupsd? > >> No, but you can use lpadmin, the web interface, or the > >> CUPS_ADD_MODIFY_PRINTER and CUPS_DELETE_PRINTER IPP operation to add, > >> modify, or delete printers without restarting cupsd. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > Hi Michael, > > we are currently running 2 independent CUPS Server for SAP environment with about 1500 defined printers. > > It would be nice to create a printer definition on one cups server and synchronize it to the second one. I tried to schedule an update of printers.conf via crontab over a rsync script and reloaded the cups configuration afterwards. > > But under heavy printing load, SAP seems to stuck and cannot connect to the printing port anymore after cupsd was reloaded/restarted. The only way to get SAP Spool System up & running again, is to change and change back the spool-server inside SAP. > > Any idea how i am able to keep the printer definition synchron w/o reloading/restarting cupsd? > Hi Michael, > You could write a program that monitors the "master" server for config > changes and mirror them locally. but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From noelsanchez at gmail.com Wed Apr 9 06:40:38 2008 From: noelsanchez at gmail.com (Noel Sanchez) Date: Wed, 09 Apr 2008 06:40:38 -0700 Subject: Problems with printing Message-ID: <32374-cups.general@news.easysw.com> I have some problems with CUPS. I have it, installed and configurated. I have installed the printer in another PC and I can send to print all documents. The problem is that the priner doesn't print. It appears at CUPS queue list but I can print it. The problem doesn't succed if I send to print a document from localmachine. Some ideas? Thanks a lot From dschmidt at buddyrents.com Wed Apr 9 09:27:30 2008 From: dschmidt at buddyrents.com (Daniel Schmidt) Date: Wed, 09 Apr 2008 09:27:30 -0700 Subject: [cups.general] cannot exceed 132 columns with lpd References: <32369-cups.general@news.easysw.com> <32371-cups.general@news.easysw.com> Message-ID: <32375-cups.general@news.easysw.com> That did work, at least with laserjet.ppd. I didn't test the foomatic one yet. Thank you for the help. "Tim Waugh" <twaugh at redhat.com> wrote in message news:32371-cups.general at news.easysw.com... From msweet at apple.com Wed Apr 9 09:55:12 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 09 Apr 2008 09:55:12 -0700 Subject: [cups.general] printers.conf In-Reply-To: <32373-cups.general@news.easysw.com> References: <32373-cups.general@news.easysw.com> Message-ID: <32376-cups.general@news.easysw.com> Oskar Hajek wrote: > ... >> You could write a program that monitors the "master" server for config >> changes and mirror them locally. > but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! The ideal would be to watch for printer configuration changes; with CUPS 1.2 and higher, you can use a subscription to get events when printers change, and then download their PPDs and attributes and mirror them locally. Basically, you would be doing the equivalent of lpadmin whenever a printer was added, deleted, or modified using the master server's data. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From cups at nico22.de Wed Apr 9 10:39:02 2008 From: cups at nico22.de (Nico Schümann) Date: Wed, 09 Apr 2008 10:39:02 -0700 Subject: Require user without password Message-ID: <32377-cups.general@news.easysw.com> Hello folks, I'm too dumb for the configuration of cupsd. There is a terminal server with a priter, running cupsd. Now only one user should be allowed to print -- buecherei. My problem is that OpenOffice always freezes, because both with "buecherei" and with all other users, cups asks for a password when printin. I would like to have a user restricton, meaning, buecherei is allowed to print WITHOUT password. All other users should be rejected without promting for a password. How is that possible? Following my cupsd.conf (probably wrong, because it does not work) by the way: Because it's a terminal server, there are only local connections (firefox and OpenOffice running on localhost, either on "buecherei" or on "guest") Thank you, Nico LogLevel info # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... <Location /> Order deny,allow AuthType None Require user buecherei </Location> # Restrict access to the admin pages... <Location /admin> Encryption Required Order allow,deny Allow localhost </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> # Set the default printer/job policies... <Policy default> # Job-related operations must be done by the owner or an adminstrator... <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user buecherei AuthType None Order deny,allow </Limit> # All administration operations require an adminstrator to authenticate... <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> Require user buecherei AuthType None Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow AuthType None Require user buecherei </Limit> </Policy> # # End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $". # From henri at stmargarets.school.nz Wed Apr 9 14:15:09 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 09 Apr 2008 14:15:09 -0700 Subject: [cups.general] Page 84, section 5.9 CUPS book In-Reply-To: <fc.3b9aca003e25810f3b9aca003e25810f.698a31@stmargarets.school.nz> References: <fc.3b9aca003e25810f3b9aca003e25810f.698a31@stmargarets.school.nz> Message-ID: <32378-cups.general@news.easysw.com> Either way you will need to find the PPD file for your printer or use a generic PPD if your printer supports this. > Thanks for answering, > OK. I will try Printer Setup while I do not discover what it says at > page 84, section 5.9 of CUPS Book. > I tested others Canon PPD drivers files, at the site of CUPS, and > had passed in the test, receiving the 'OK' answer. > I believe that some command of configuration is out of the > specification related at page 84, section 5.9 of CUPS Book. > Thanks > Jorge From angelb at bugarin.us Thu Apr 10 08:41:58 2008 From: angelb at bugarin.us (angelb) Date: Thu, 10 Apr 2008 08:41:58 -0700 Subject: printers.conf Message-ID: <32379-cups.general@news.easysw.com> > > Oskar Hajek wrote: > > >> Oskar Hajek wrote: > > >>> Hello, > > >>> is it possible to reload the printers.conf w/o hanging up cupsd? > > You could write a program that monitors the "master" server for config > > changes and mirror them locally. > > but when i just mirror the printers.conf file, i need to reload/restart cupsd to get printer configuration changes recognized by the already running server?! Oskar, Mike has already pointed out the proper way to do the sync. So, I will not try to duplicate his message but will tell you what I've done. I'm also running two CUP servers for our SAP printers and ran into the same sync issue. With 2700+ printer queues and jobs are processed every second, I can't afford a stop/start without prior scheduling. Basically, I've created scripts to allow users with proper access rights to add, delete, or change printer queues. The same command is then executed on the partner server via ssh. For example, on Server A, a user created a new printer queue with the following command: lpadmin -p $qname -D "$qdesc" -L "$qloc" -E -v $uri$qIP -m $driver 2>&1 1>> $userlog The same command is then executed on the partner server, Server B, via an ssh: ssh $server2 $cupsspath/lpadmin -p $qname -D "'$qdesc'" -L "'$qloc'" -E -v $uri$qIP -m $driver 2>&1 1>> $userlog 2>/dev/null If you noticed, there are lots of variables. This is because the user is using a MENU to enter all the informations. I've written the script so that the user can make the change on either server and the changes will be made automatically on the other server. I log every activity so that I know who's doing what: ... 040808-08:16:08 foo_user add lpadmin -h serverB -p mouq -D 'JPLJ4100' -L 'SLC,(210-2 ),PRMTNL PROD' -E -v socket://192.168.0.1 -m laserjet.ppd ... 040808-08:16:08 bar_user mod lpadmin -p mouq -h serverB -D HPLJ4100 I have two scripts, cupsptr and runcupsptr. The user execute cupsptr which in turn calls the runcupsptr to initiate the MENU. # ls -al cupsptr runcupsptr -r-xr-x--- 1 root lp 665 Aug 21 2007 cupsptr -r-x------ 1 cups lp 55951 Oct 15 14:48 runcupsptr You can be as detailed in your script as you want, or not. Once you have your scripts in place, you almost have nothing to do with the servers anymore. I hope that helps. Thanks, Angel From alheidgj at upmc.edu Thu Apr 10 09:20:19 2008 From: alheidgj at upmc.edu (Greg Alheid) Date: Thu, 10 Apr 2008 09:20:19 -0700 Subject: Printing only 63 lines of text on Xerox 4510 DT Message-ID: <32380-cups.general@news.easysw.com> > I'm having a problem printing 66 lines of text on > a Xerox Phaser 4510DT after setting up it. An update of only printing 63 lines through a Linux print server using a Xerox xrx4510n.ppd file. I have setup the Sun to print directly to the Xerox Phaser 4510DT and the it will print all 66 lines in a slightly smaller font than the going to the print queue on the Linux Print Server. Also if i setup the Linux print queue to be "raw" it will print all 66 lines correctly. Greg From wes.north at gmail.com Thu Apr 10 10:22:58 2008 From: wes.north at gmail.com (wes) Date: Thu, 10 Apr 2008 10:22:58 -0700 Subject: cups ldap Message-ID: <32381-cups.general@news.easysw.com> Trying to get cups to bind to LDAP to find a list of printers available, from which jobs can be sent to. First off, is this even supported? Secondly, here is my ldap config: BrowseLDAPServer ldap://servername:3268 BrowseLDAPDN cn=noc-clbfp1, ou=fp, ou=servers, ou=clb, dc=clubs, dc=domainname, dc=com BrowseLDAPBindDN ldap_proxy BrowseLDAPPassword password When I start cups everything appears to be fine, when I try to search for printers I get the following: E [10/Apr/2008:10:14:22 -0700] LDAP search returned error -1: Can't contact LDAP server E [10/Apr/2008:10:15:12 -0700] LDAP search returned error -1: Can't contact LDAP server E [10/Apr/2008:10:19:20 -0700] LDAP search returned error -1: Can't contact LDAP server When I start cups I see the following: d [10/Apr/2008:10:14:10 -0700] UpdateLDAPBrowse: oats.domainname.com d [10/Apr/2008:10:14:10 -0700] LDAP search returned 0 entries D [10/Apr/2008:10:14:10 -0700] Report: clients=0 D [10/Apr/2008:10:14:10 -0700] Report: jobs=0 D [10/Apr/2008:10:14:10 -0700] Report: jobs-active=0 D [10/Apr/2008:10:14:10 -0700] Report: printers=0 D [10/Apr/2008:10:14:10 -0700] Report: printers-implicit=0 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-string-count=172 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-alloc-bytes=5064 D [10/Apr/2008:10:14:10 -0700] Report: stringpool-total-bytes=3792 d [10/Apr/2008:10:14:10 -0700] select_timeout(0): 86400 seconds to do nothing d [10/Apr/2008:10:14:10 -0700] cupsdDoSelect: polling 3 fds for 86400 seconds... d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: epoll() returned 1... d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: Read on fd 1... d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient(lis=0x86081f8) 1 Clients = 0 D [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 from 10.1.16.141:631 (IPv4) d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 connected to server on oats.domainname.com:631 d [10/Apr/2008:10:14:22 -0700] cupsdAddSelect: fd=8, read_cb=0x8058190, write_cb=(nil), data=0x861f778 We are using cups-1.3.6-1 on RHEL 4u6. I am not really sure if what we are trying to do is what the ldap directives where intended for. But we set BrowseRemoteProtocols to ldap and disabled everything else to force Cups to look to the directory service for printers. We don't want to register local printers, just connect to remote printers. BTW: The remote print servers are on an Active Directory domain, so we are defining the print server that controls all of the printers. If we attach the printer via an smb:// ldap connection in the cups printers.conf it works fine, but remote browsing seems to break. Thoughts? -Wes From b.krumboeck at rewe-group.at Thu Apr 10 13:25:22 2008 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Thu, 10 Apr 2008 13:25:22 -0700 Subject: cups ldap Message-ID: <32382-cups.general@news.easysw.com> > Trying to get cups to bind to LDAP to find a list of printers available, from which jobs can be sent to. > > First off, is this even supported? You don't want to use browsing? Alternate way: Write a script/programm which do the ldap search and call lpadmin for all changed printers. > Secondly, here is my ldap config: > > BrowseLDAPServer ldap://servername:3268 > BrowseLDAPDN cn=noc-clbfp1, ou=fp, ou=servers, ou=clb, dc=clubs, dc=domainname, dc=com > BrowseLDAPBindDN ldap_proxy > BrowseLDAPPassword password > > When I start cups everything appears to be fine, when I try to search for printers I get the following: > > E [10/Apr/2008:10:14:22 -0700] LDAP search returned error -1: Can't contact LDAP server > E [10/Apr/2008:10:15:12 -0700] LDAP search returned error -1: Can't contact LDAP server > E [10/Apr/2008:10:19:20 -0700] LDAP search returned error -1: Can't contact LDAP server This can happen if cups has lost the ldap connection. Restart the cups daemon and the check the logfile again. You can find an improved LDAP implementation here: http://www.cups.org/str.php?L1962 (read at least the last three posts) But this is only beta and will not be included until cups 1.4.x. You can experiment on your own risk. > > When I start cups I see the following: > > d [10/Apr/2008:10:14:10 -0700] UpdateLDAPBrowse: oats.domainname.com > d [10/Apr/2008:10:14:10 -0700] LDAP search returned 0 entries > D [10/Apr/2008:10:14:10 -0700] Report: clients=0 > D [10/Apr/2008:10:14:10 -0700] Report: jobs=0 > D [10/Apr/2008:10:14:10 -0700] Report: jobs-active=0 > D [10/Apr/2008:10:14:10 -0700] Report: printers=0 > D [10/Apr/2008:10:14:10 -0700] Report: printers-implicit=0 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-string-count=172 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-alloc-bytes=5064 > D [10/Apr/2008:10:14:10 -0700] Report: stringpool-total-bytes=3792 > d [10/Apr/2008:10:14:10 -0700] select_timeout(0): 86400 seconds to do nothing > d [10/Apr/2008:10:14:10 -0700] cupsdDoSelect: polling 3 fds for 86400 seconds... > d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: epoll() returned 1... > d [10/Apr/2008:10:14:22 -0700] cupsdDoSelect: Read on fd 1... > d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient(lis=0x86081f8) 1 Clients = 0 > D [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 from 10.1.16.141:631 (IPv4) > d [10/Apr/2008:10:14:22 -0700] cupsdAcceptClient: 8 connected to server on oats.domainname.com:631 > d [10/Apr/2008:10:14:22 -0700] cupsdAddSelect: fd=8, read_cb=0x8058190, write_cb=(nil), data=0x861f778 > > We are using cups-1.3.6-1 on RHEL 4u6. > > I am not really sure if what we are trying to do is what the ldap directives where intended for. But we set BrowseRemoteProtocols to ldap and disabled everything else to force Cups to look to the directory service for printers. We don't want to register local printers, just connect to remote printers. > > BTW: The remote print servers are on an Active Directory domain, so we are defining the print server that controls all of the printers. If we attach the printer via an smb:// ldap connection in the cups printers.conf it works fine, but remote browsing seems to break. > > Thoughts? > > -Wes What do you mean with just connect to the remote printer? Did mean a remote ipp printer queue (e.g. CUPS server), a "typical" network printer or a smb share? regards! Bernd From beatyrm at auburn.edu Thu Apr 10 13:46:51 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Thu, 10 Apr 2008 13:46:51 -0700 Subject: cups + Samba on Solaris 10 x86 Problem printing with Banner Message-ID: <32383-cups.general@news.easysw.com> I will detail my setup first then describe the problem and try and provide information about logging. Solaris 10 x86 CUPS 1.2.7 CSW pre-compiled pkg Samba 3.0.28a - Compiled locally Samba is using cups as its print system and printcap. I have a HP Laserjet 5Si which I have been running tests on. It is using jetdirect and CUPS has it socket://x.x.x.x:9100 I installed foomatic_filters and imported printer ppd's. First test: Add printer to client and print. -> This test was successful. I could both install the printer on my laptop and print a document. Everything went well and cups correctly documented the page count of the job. Second test: Enable a starting banner page (in CUPS) for the print through Samba. -> Here is were the problem occurs, I get just a banner page here. The banner comes out looking great but no document ever prints and CUPS has unknown listed for the page count on the job. Third test: Do a test page through CUPS for the printer. -> Here everything works fine, I get both the banner and document plus CUPS has the page count correct. I have tried compiling CUPS myself, a pre-compiled samba and the current setup in various combinations. This has no appreciable effect as the problem always seems to replicate. I won't post the actual log entries as they are very long unless someone thinks they will be useful. I will explain what shows up though. Samba sees everything as going great. I get a connection, a print and a close without errors. CUPS shows my connection to the printer in access and the disconnect. The CUPS error log just shows the print going through both the banner page and the document. Foomatic-rip log goes through both the banner and the document without any error codes as well. >From everything I can tell in the logs it printed, just never physically makes it out. I greatly appreciate any help. Thanks, -Robert From wes.north at gmail.com Thu Apr 10 19:27:06 2008 From: wes.north at gmail.com (wes) Date: Thu, 10 Apr 2008 19:27:06 -0700 Subject: cups ldap Message-ID: <32384-cups.general@news.easysw.com> > You don't want to use browsing? I want to browse ldap servers in Active Directory, but not register any Linux based servers. In other words, we have a strange app that requires printing through the windows print queues, we need cups with ldap to discover networked printers, and then be able to print to them. To get around this we have hardcoded printer definitions using smb:// url's with applicable username and password authentication and associated ppd files. The problem here is having to manage cups to ensure it's not stuck trying to send a job through. > Alternate way: > Write a script/programm which do the ldap search and call lpadmin for all changed printers. Yeah we thought of that, don't want to do it, but may have to. > This can happen if cups has lost the ldap connection. Restart the cups daemon and the check the logfile again. Actually we found it was because the server name for ldap didn't have the ldap:// prepended line in front of our global catalogue server reference. > > You can find an improved LDAP implementation here: > http://www.cups.org/str.php?L1962 > (read at least the last three posts) > > But this is only beta and will not be included until cups 1.4.x. You can experiment on your own risk. > Yeah we may not have a choice but to go with something like this, scares me because we are running everything on RHEL 4u6, so we are outdated anyway. > > > What do you mean with just connect to the remote printer? > Did mean a remote ipp printer queue (e.g. CUPS server), a "typical" network printer or a smb share? We defined an smb share in the printers.conf so smb://<win2k3domainname>\username:password@<printserver.domainname.com>/printerName This way cups talked directly to the windows printer share. We'd rather lookup in ldap, then have cups auto-attach to the windows printer and go from there. Also, consider this. We were able to get browsing to work, but the classobjects are all backwards between what cups wants and what Active Directory provides (go figure, microsoft doing their thing). So we had to replace the cupsPrinter in the dirsvc.c with printQueue, recompile and we started seeing messages back that stated 386 objects found, but we still couldn't browse. Now come to find out there are about 5 different attributes that cups looks for: 1. printerDescription --- description 2. printerLocation --- location?? 3. printerMakeAndModel --- driverName ?? 4. printerType --- driverName ?? 5. printerURI --- url?? These are purely guesses on my part, but we are recompiling again. One thought we had was to just pop up an ldap proxy and map the attributes between each other. I just don't have the time right now to get that working. Thoughts? -Wes From msweet at apple.com Thu Apr 10 21:40:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 10 Apr 2008 21:40:41 -0700 Subject: [cups.general] cups + Samba on Solaris 10 x86 Problem printing with Banner In-Reply-To: <32383-cups.general@news.easysw.com> References: <32383-cups.general@news.easysw.com> Message-ID: <32385-cups.general@news.easysw.com> Robert Beaty wrote: > I will detail my setup first then describe the problem and try and provide information about logging. > > Solaris 10 x86 > CUPS 1.2.7 CSW pre-compiled pkg > Samba 3.0.28a - Compiled locally CUPS 1.2.x + raw queues + banner (or just multiple) files does not work. You need CUPS 1.3.x to get support for raw queues with banner files. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From gundaher at gmx.de Fri Apr 11 03:11:11 2008 From: gundaher at gmx.de (gundaher at gmx.de) Date: Fri, 11 Apr 2008 03:11:11 -0700 Subject: [cups.general] cupsdAuthorize: No authentication data provided Message-ID: <32386-cups.general@news.easysw.com> H, i have some Problem with Cups. If i print, i get an ok and the spool data goes to the /spool/cups directory. But the printer is sleeping.The Printer is a Brother HL-1430. I attach some Configs. The Cups Logfile on modus "debug" [CODE] D [09/Apr/2008:12:22:58 +0200] add_job: requesting-user-name="alberto" I [09/Apr/2008:12:22:58 +0200] Adding start banner page "none" to job 14. D [09/Apr/2008:12:22:58 +0200] Discarding unused job-created event... I [09/Apr/2008:12:22:58 +0200] Adding end banner page "none" to job 14. I [09/Apr/2008:12:22:58 +0200] Job 14 queued on "hl1430series" by "alberto". D [09/Apr/2008:12:22:58 +0200] Job 14 hold_until = 0 D [09/Apr/2008:12:22:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:22:58 +0200] cupsdCloseClient: 7 D [09/Apr/2008:12:23:27 +0200] cupsdAcceptClient: 7 from localhost:631 (IPv4) D [09/Apr/2008:12:23:27 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:27 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:27 +0200] CUPS-Get-Printers D [09/Apr/2008:12:23:27 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] CUPS-Get-Classes D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] CUPS-Get-Default D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] Get-Printer-Attributes ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:28 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:28 +0200] Get-Jobs ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:28 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:28 +0200] cupsdCloseClient: 7 D [09/Apr/2008:12:23:36 +0200] Unloading job 9... D [09/Apr/2008:12:23:58 +0200] cupsdAcceptClient: 7 from localhost:631 (IPv4) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Printers D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Classes D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] CUPS-Get-Default D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] Get-Printer-Attributes ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdReadClient: 7 POST / HTTP/1.1 D [09/Apr/2008:12:23:58 +0200] cupsdAuthorize: No authentication data provided. D [09/Apr/2008:12:23:58 +0200] Get-Jobs ipp://localhost/printers/hl1430series D [09/Apr/2008:12:23:58 +0200] Loading attributes for job 9... D [09/Apr/2008:12:23:58 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [09/Apr/2008:12:23:58 +0200] cupsdCloseClient: 7 [/CODE] SambaConfig for Windowsprinting [CODE] [global] printer = hl1430series smb ports = 139 null passwords = yes map to guest = nobody public = yes wins support = Yes cups options = raw writeable = yes server string = PDC path = /var/spool/samba workgroup = HOME os level = 65 printcap name = cups security = share guest ok = yes [printers] comment = All Printers path = /var/spool/samba printer admin = root, @ntadmins guest ok = Yes printable = Yes browseable = Yes [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0777 directory mask = 0777 guest ok = Yes [brother] comment = brother drucker valid users = @nobody printable = Yes guest ok = Yes Browsable = Yes path = /var/tmp [/CODE] And at Last the Cups Config [CODE] AccessLog /var/log/cups/access_log ErrorLog /var/log/cups/error_log LogLevel debug PageLog /var/log/cups/page_log Printcap /etc/printcap User lp Group lp RunAsUser Yes Port 631 BrowseAllow @LOCAL BrowseDeny All <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From @LOCAL </Location> <Location /admin> AuthType BasicDigest AuthClass Group AuthGroupName sys Order Deny,Allow Allow From All </Location> [/CODE] Thanks, Gundaher -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf at gmx From peppe.portelli at tiscali.it Fri Apr 11 07:01:46 2008 From: peppe.portelli at tiscali.it (giuseppe portelli) Date: Fri, 11 Apr 2008 07:01:46 -0700 Subject: Jobs added from Samba unloaded without printing Message-ID: <32387-cups.general@news.easysw.com> I installed a Samsung CLP-300 Printer on a Debian machine. I have 2 problems: 1. I added the Samsung printer using the CUPS admin web page. When I try to print, I get this message: "Printer not connected; will retry in 30 seconds...". The only workaround I found for this error is changing the Device URI from usb://Samsung/CLP-300 to file:/dev/usb/lp0. Using the file:/dev/usb/lp0 URI I'm able to print. Do anyone has any idea why the usb://Samsung/CLP-300 URI doesn't work? Is it a problem using file:/dev/usb/lp0 URI? 2. I've a problem printing from Windows XP using Samba. Looking inside the CUPS error_log, I found that Samba actually sends a new job to CUPS, unfortunately this job is immediately unloaded and no printing is performed. I compared the error_log of a job added from an application running on the same machine with the log of a job added from Samba. I guess the problem could be the different content types of the two jobs: the samba job (not working) specifies "application/vnd.cups-raw" content type, while the working job has "application/postscript" content type. Here is the error_log of the job added from Samba (not working): D [11/Apr/2008:11:34:25 +0200] cupsdAcceptClient: 7 from localhost (Domain) D [11/Apr/2008:11:34:25 +0200] cupsdReadClient: 7 POST /printers/Samsung HTTP/1.1 D [11/Apr/2008:11:34:25 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:34:25 +0200] Print-Job ipp://localhost/printers/Samsung D [11/Apr/2008:11:34:25 +0200] print_job: request file type is application/vnd.cups-raw. D [11/Apr/2008:11:34:25 +0200] add_job: requesting-user-name="gportelli" D [11/Apr/2008:11:34:25 +0200] Adding default job-sheets values "none,none"... I [11/Apr/2008:11:34:25 +0200] Adding start banner page "none" to job 805. D [11/Apr/2008:11:34:25 +0200] Discarding unused job-created event... I [11/Apr/2008:11:34:25 +0200] Adding end banner page "none" to job 805. I [11/Apr/2008:11:34:25 +0200] Job 805 queued on "Samsung" by "gportelli". D [11/Apr/2008:11:34:25 +0200] Job 805 hold_until = 0 D [11/Apr/2008:11:34:25 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:34:25 +0200] job-sheets=none,none D [11/Apr/2008:11:34:25 +0200] banner_page = 0 D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[0]="Samsung" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[1]="805" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[2]="gportelli" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[3]="smbprn.00000017 Remote Downlevel Document" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[4]="1" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[5]="job-uuid=urn:uuid:1f5b4b7f-7ec8-3576-473c-639ea44b5a23" D [11/Apr/2008:11:34:25 +0200] [Job 805] argv[6]="/var/spool/cups/d00805-001" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[1]="CUPS_DATADIR=/usr/share/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[6]="CUPS_SERVERROOT=/etc/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[7]="CUPS_STATEDIR=/var/run/cups" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[9]="SERVER_ADMIN=root at localhost.localdomain" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[10]="SOFTWARE=CUPS/1.2.7" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[11]="TMPDIR=/var/spool/cups/tmp" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[12]="TZ=Europe/Rome" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[13]="USER=root" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[15]="CUPS_ENCRYPTION=IfRequested" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[16]="IPP_PORT=631" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[17]="CHARSET=iso-8859-15" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[18]="LANG=C" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[19]="PPD=/etc/cups/ppd/Samsung.ppd" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[20]="RIP_MAX_CACHE=8m" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[21]="CONTENT_TYPE=application/vnd.cups-raw" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[22]="DEVICE_URI=file:/dev/usb/lp0" D [11/Apr/2008:11:34:25 +0200] [Job 805] envp[23]="PRINTER=Samsung" D [11/Apr/2008:11:34:25 +0200] Discarding unused job-state event... D [11/Apr/2008:11:34:25 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) D [11/Apr/2008:11:34:25 +0200] [Job 805] File 0 is complete. D [11/Apr/2008:11:34:25 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:34:25 +0200] Discarding unused job-completed event... D [11/Apr/2008:11:34:25 +0200] cupsdCloseClient: 7 D [11/Apr/2008:11:34:26 +0200] Unloading job 805... And this is the error_log of a job successfully added and printed from an application running on the Debian machine: D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 POST /printers/ HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Get-Printer-Attributes ipp://localhost:631/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [11/Apr/2008:11:37:28 +0200] cupsdCloseClient: 9 D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 POST / HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Get-Printer-Attributes ipp://localhost/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 9 GET /printers/Samsung_CLP-300_USB_1.ppd HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] write_file: 9 file=10 D [11/Apr/2008:11:37:28 +0200] cupsdAcceptClient: 10 from localhost (Domain) D [11/Apr/2008:11:37:28 +0200] cupsdReadClient: 10 POST /printers/Samsung_CLP-300_USB_1 HTTP/1.1 D [11/Apr/2008:11:37:28 +0200] cupsdAuthorize: No authentication data provided. D [11/Apr/2008:11:37:28 +0200] Print-Job ipp://localhost/printers/Samsung_CLP-300_USB_1 D [11/Apr/2008:11:37:28 +0200] print_job: auto-typing file... D [11/Apr/2008:11:37:28 +0200] print_job: request file type is application/postscript. D [11/Apr/2008:11:37:28 +0200] add_job: requesting-user-name="root" D [11/Apr/2008:11:37:28 +0200] Adding default job-sheets values "none,none"... I [11/Apr/2008:11:37:28 +0200] Adding start banner page "none" to job 807. D [11/Apr/2008:11:37:28 +0200] Discarding unused job-created event... I [11/Apr/2008:11:37:28 +0200] Adding end banner page "none" to job 807. I [11/Apr/2008:11:37:28 +0200] Job 807 queued on "Samsung_CLP-300_USB_1" by "root". D [11/Apr/2008:11:37:28 +0200] Job 807 hold_until = 0 D [11/Apr/2008:11:37:28 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:37:28 +0200] job-sheets=none,none D [11/Apr/2008:11:37:28 +0200] banner_page = 0 D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[0]="Samsung_CLP-300_USB_1" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[1]="807" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[2]="root" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[3]="Senza titolo" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[4]="1" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[5]="multiple-document-handling=separate-documents-collated-copies orientation-requested=3 job-uuid=urn:uuid:38619426-d46f-3116-5768-acf1a5dbb573" D [11/Apr/2008:11:37:28 +0200] [Job 807] argv[6]="/var/spool/cups/d00807-001" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[1]="CUPS_DATADIR=/usr/share/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[6]="CUPS_SERVERROOT=/etc/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[7]="CUPS_STATEDIR=/var/run/cups" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[9]="SERVER_ADMIN=root at localhost.localdomain" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[10]="SOFTWARE=CUPS/1.2.7" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[11]="TMPDIR=/var/spool/cups/tmp" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[12]="TZ=Europe/Rome" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[13]="USER=root" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[15]="CUPS_ENCRYPTION=IfRequested" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[16]="IPP_PORT=631" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[17]="CHARSET=utf-8" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[18]="LANG=C" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[19]="PPD=/etc/cups/ppd/Samsung_CLP-300_USB_1.ppd" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[20]="RIP_MAX_CACHE=8m" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[21]="CONTENT_TYPE=application/postscript" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[22]="DEVICE_URI=usb://Samsung/CLP-300" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[23]="PRINTER=Samsung_CLP-300_USB_1" D [11/Apr/2008:11:37:28 +0200] [Job 807] envp[24]="FINAL_CONTENT_TYPE=printer/Samsung_CLP-300_USB_1" I [11/Apr/2008:11:37:28 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5335) for job 807. I [11/Apr/2008:11:37:29 +0200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 5336) for job 807. I [11/Apr/2008:11:37:29 +0200] Started backend /usr/lib/cups/backend/usb (PID 5337) for job 807. D [11/Apr/2008:11:37:29 +0200] Discarding unused job-state event... D [11/Apr/2008:11:37:29 +0200] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [11/Apr/2008:11:37:29 +0200] PID 5335 (/usr/lib/cups/filter/pstops) exited with no errors. D [11/Apr/2008:11:37:29 +0200] [Job 807] Page = 595x842; 9,12 to 586,830 D [11/Apr/2008:11:37:29 +0200] [Job 807] slow_collate=0, slow_duplex=0, slow_order=0 D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_comments - %!PS-Adobe-1.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] %!PS-Adobe-1.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%BoundingBox: 0 0 594 842 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Creator: Qt 3.3.7 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Title: Senza titolo D [11/Apr/2008:11:37:29 +0200] [Job 807] %%CreationDate: ven apr 11 11:37:28 2008 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Orientation: Portrait D [11/Apr/2008:11:37:29 +0200] [Job 807] %%Pages: 1 D [11/Apr/2008:11:37:29 +0200] [Job 807] %%DocumentFonts: BitstreamVeraSans-Roman BitstreamVeraSansMono-Roman D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_prolog - D [11/Apr/2008:11:37:29 +0200] [Job 807] Before copy_setup - %%BeginSetup D [11/Apr/2008:11:37:29 +0200] [Job 807] Before page loop - %%Page: 1 1 D [11/Apr/2008:11:37:29 +0200] [Job 807] Copying page 1... D [11/Apr/2008:11:37:29 +0200] [Job 807] pagew = 577.0, pagel = 818.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] bboxw = 595, bboxl = 842 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageLeft = 9.0, PageRight = 586.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageTop = 830.0, PageBottom = 12.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] PageWidth = 595.0, PageLength = 842.0 D [11/Apr/2008:11:37:29 +0200] [Job 807] Wrote 1 pages... D [11/Apr/2008:11:37:29 +0200] Discarding unused printer-state-changed event... D [11/Apr/2008:11:37:29 +0200] cupsdCloseClient: 10 D [11/Apr/2008:11:37:29 +0200] [Job 807] foomatic-rip version $Revision$ running... D [11/Apr/2008:11:37:29 +0200] [Job 807] Parsing PPD file ... D [11/Apr/2008:11:37:29 +0200] [Job 807] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ColorSpace D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option PageSize D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option PageRegion D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option Quality D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ColorMode D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option Resolution D [11/Apr/2008:11:37:29 +0200] [Job 807] Added option ImageableArea From shit2000 at web.de Fri Apr 11 07:35:37 2008 From: shit2000 at web.de (skelan) Date: Fri, 11 Apr 2008 07:35:37 -0700 Subject: disable client function at a server Message-ID: <32388-cups.general@news.easysw.com> Hi, I'm running a central CUPS server to share some printers. (Debian Etch - cupsys 1.2.7-4etch2) Therefor I've the following lines in my /etc/cups/cupsd.conf : # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL My problem now is that the Cups Server did include other printers which are shared by cups installations of other Linux workstations on the network. I can't even delete those printers, they're just included. Is there any option to prevent Cups from playing client and including other printers which are shared by foreign computer/cups installations? I thought that "Browsing" needs to be "on" as I want to share the local printer of the cups server to the network. But regarding the possible options in cupsd.conf it seems to me that this could be the only option which disables this feature in Cups. I haven't found any help on my issue in the documentation or the forums yet. Thanks From mashrom.head at gmail.com Fri Apr 11 09:06:53 2008 From: mashrom.head at gmail.com (Jabka Atu) Date: Fri, 11 Apr 2008 09:06:53 -0700 Subject: [cups.general] What to do to get loclized version of debian package ? In-Reply-To: <20080411113236.GZ8028@pear.tzafrir.org.il> References: <47FE8100.6080100@gmail.com> <87od8hg347.fsf@gmx.de> <39ea6580804110057s1d39b9dep8c3c5eb6054ed3f5@mail.gmail.com> <20080411113236.GZ8028@pear.tzafrir.org.il> Message-ID: <32389-cups.general@news.easysw.com> On Fri, Apr 11, 2008 at 2:32 PM, Tzafrir Cohen wrote: > On Fri, Apr 11, 2008 at 10:57:33AM +0300, Jabka Atu wrote: > > I see now that the translation are in source files. > > The question is how to make cups to use it ? > > > > On 4/10/08, Sven Joachim <svenjoac at gmx.de> wrote: > > > > > > On 2008-04-10 23:05 +0200, Jabka Atu wrote: > > > > > > > Hello,.. > > > > > > > > Cups in debian don't have the localized versions (Hebrew ,Spanish , > > > > Italian etc..) - that allready in cups sources. > > > > > > I ment as there is no cupsys-it or cupsys-he as packages. > > I'm searching for away to make use of it without recompiling (altring > > makefile etc..) just by apt. > > Separate per-language packaegs are only used in some extereme cases > where the translations are huge. In most cases they are just part of the > main package. I would disagree with you about that (the extreme situation): Since cups is used in many companies and in some academic facilities you can be sure that the end users or IT-personal would prefer localized versions : For example im working on a free billing solution that end users without computer skills will operate. I believe that using a localized version will be much easier than an english one for end users. I use pykota as the user management Cups. The translation that the user has aren't so big (stored in doc) : Pictures (buttons). a Po file. So a translated version could be : full cups translated version - perhaps it can be done using some compile farm (i hope im using the right term) - since the only difference between translated and non translated is a parameter to the Makefile. but i don't wont to fork cups ;-) Img - translation - Maybe using another package that will depend on cupsys and change it's files (the buttons and the css file). about the next i don't know: I don't know about the usability of translation if you need to recompile the package and recreate it (this is what i understand that i need to do now). btw i don't know what is a huge translation - Since the Ophear's version (Hebrew translation) translated all the messages (the po file) . The web gui - he created all the buttons from scratch. And changed the css file. Afaik he changed the printing script. If i have a mistake and you can change the gui / cli language just by one setting please explain how. > -- > Tzafrir Cohen | tzafrir at jabber.org | VIM is > http://tzafrir.org.il | | a Mutt's > tzafrir at cohens.org.il | | best > ICQ# 16849754 | | friend > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST at lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster at lists.debian.org > > Regards,... Jabka Atu || bsh83.blogspot.com IM (Jabber) - jabka at jabber.com My quote - The Fear is the mind killer , don't fear Commercial software write your BSD version ! -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080411/afb98ebf/attachment-0001.html> From beebe at big-images.com Fri Apr 11 09:43:00 2008 From: beebe at big-images.com (Jon Beebe) Date: Fri, 11 Apr 2008 09:43:00 -0700 Subject: HP DesignJet 5000PS - overriding internal rip? Message-ID: <32390-cups.general@news.easysw.com> I have a 60" HP DesignJet 5000PS. When I print via cups it uses the internal RIP, which is slow and sometimes error-prone. I would like to have CUPS do the ripping of the files and override the printer's internal rip. I know this can be done because I run an Onyx rip that overrides the internal HP rip. But can I do this via CUPS, and if so, how? I am currently running cups 1.3.6 on OS X Leopard. Any input would be greatly appreciated! Thanks. Jon Beebe From john at cs.york.ac.uk Fri Apr 11 09:53:56 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 11 Apr 2008 09:53:56 -0700 Subject: Groups of printers? Message-ID: <32391-cups.general@news.easysw.com> CUPS, of course, implements classes (fail-over or load-balancing collections) of printers, but I wonder how many users and administrators would find printer 'groups' useful - at the /printers web page and in the configuration and in the logs? Of course, one can search at that web page for the printer one wishes to see, and one could even use the group names as a printer name prefix to restrict the view by search, and have access controls to restrict access. I think that to have explicit group access policies would be useful, however. Printer classes are not groups; when one queues a document to a class, one can't specify which on which printer of the class the document is printed. Display separation has been achieved at my site by using two instances of the CUPS scheduler on our print server, and some port mapping and iptables configuration. Alas, it was necessary to make two separate installations of CUPS rather than starting two instances of cupsd from the same build with the '-c group1/cupsd.conf' and '-c group2/cupsd.conf' options, respectively, to point to separate cupsd.conf files the first of which contained: ServerRoot /cups/group1/etc/cups ErrorLog /cups/group1/log/cups/error_log AccessLog /cups/group1/log/cups/access_log PageLog /cups/group1/log/page_log CacheDir /cups/group1/cache/cups TempDir /cups/group/spool/cups/tmp as there are no LogDir, RunDir or SpoolDir directives, at least. (For LogDir, a CUPS_LOGDIR environment variable whose value was passed to the backend would be useful for specialist backends which require to log the details of their operation.) John A. Murdie From msweet at apple.com Fri Apr 11 10:01:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 11 Apr 2008 10:01:41 -0700 Subject: [cups.general] Jobs added from Samba unloaded without printing In-Reply-To: <32387-cups.general@news.easysw.com> References: <32387-cups.general@news.easysw.com> Message-ID: <32392-cups.general@news.easysw.com> giuseppe portelli wrote: > I installed a Samsung CLP-300 Printer on a Debian machine. > > I have 2 problems: > > 1. I added the Samsung printer using the CUPS admin web page. When I try to print, I get this message: "Printer not connected; will retry in 30 seconds...". > The only workaround I found for this error is changing the Device URI from usb://Samsung/CLP-300 to file:/dev/usb/lp0. > Using the file:/dev/usb/lp0 URI I'm able to print. > Do anyone has any idea why the usb://Samsung/CLP-300 URI doesn't work? Is it a problem using file:/dev/usb/lp0 URI? > > 2. I've a problem printing from Windows XP using Samba. Looking inside the CUPS error_log, I found that Samba actually sends a new job to CUPS, unfortunately this job is immediately unloaded and no printing is performed. > I compared the error_log of a job added from an application running on the same machine with the log of a job added from Samba. I guess the problem could be the different content types of the two jobs: the samba job (not working) specifies "application/vnd.cups-raw" content type, while the working job has "application/postscript" content type. > > Here is the error_log of the job added from Samba (not working): Raw printing to the file: pseudo device will not work. The file: device is only provided for testing (which is why we disabled it by default...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From john at cs.york.ac.uk Fri Apr 11 10:02:41 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 11 Apr 2008 10:02:41 -0700 Subject: Groups of printers? Message-ID: <32393-cups.general@news.easysw.com> > CUPS, of course, implements classes (fail-over or load-balancing collections) of printers, but I wonder how many users and administrators would find printer 'groups' useful ...? Or does one just use classes as groups, simply addressing the chosen printer in the class? John A. Murdie From troy at alcatel-lucent.com Fri Apr 11 11:27:27 2008 From: troy at alcatel-lucent.com (troy) Date: Fri, 11 Apr 2008 11:27:27 -0700 Subject: sharing printer *configuration data* Message-ID: <32394-cups.general@news.easysw.com> I have a computer that speaks to a handful of printers using CUPS. (Directly, not via server machines.) Is there a way to share that CUPS configuration data with other computers so they can talk directly to the printers? I don't want the first machine to be a print server. -troy From rmueller at esu3.org Fri Apr 11 12:12:14 2008 From: rmueller at esu3.org (Rex Mueller) Date: Fri, 11 Apr 2008 12:12:14 -0700 Subject: command line options?? Message-ID: <32395-cups.general@news.easysw.com> I have to admit my ignorance about CUPS. (i bought the book though :-) and am RTFM. to make a long story short, we are currently running HP/UX but will be migrating to RHEL5.. Kind of looking for a solution of sorts for converting from HP/UX "addqueue/hppi jetadmin" created queue to CUPS, and HOW they did it? As I've been using jet admin to create physical queues, and We have in the neighborhood of 300 physical jetadmin queues and each queue have 4-6 corresponding logical queues for "options" Options of primary are as follows: Portrait "-ovsi7.27" Portrait Compressed = "-oc -vsi7.27" Landscape = "-olandscape" landscape Compressed " olandscape -oc -ovsi5.45" (Where VSI=vertical space per inch) obviously other options as well. I need to make changes to 1200+ entries to command entry into several database, I do have a length constraint that the command can only be 60 characters in length. Does someone have a HOWTO or FAQ on how to define such a scenario. The man pages do not have very good "examples" that would be beneficial.. as it stand the current database entry on HP/UX looks as follows: BuildingID, Quename, PR_COMMAND, 1,ADM hp 1320 PORT, lp -d arladmhp1320 -ovsi7.27, 1,ADM hp 1320 PORTCOMP,lp -d arladmhp1320 -ovsi7.27 -oc, 1,ADM hp 1320 LAND,lp -d arladmhp1320 -ovsi5.45 -olandscape, 1,ADM hp 1320 LANDCOMP,lp -d arladmhp1320 -ovsi5.45 -oc -olandscape, any ideas, pointers (not just RTFM) or suggestions would be appreciated. From Rongfeng.Mao at us.sogeti.com Sat Apr 12 13:25:18 2008 From: Rongfeng.Mao at us.sogeti.com (Rongfeng.Mao at us.sogeti.com) Date: Sat, 12 Apr 2008 13:25:18 -0700 Subject: [cups.general] CUPS API for JAVA Message-ID: <32396-cups.general@news.easysw.com> Dear All, I am new to CUPS community and would like your help to find out where the best source for CUPS API for JAVA. Appreciated! regrads, Robert Mao, ITIL Principal Consultant Sogeti USA 248-787-7511 Robert.Mao at us.sogeti.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080412/ba7ed7e2/attachment-0001.html> From ace_rules_bbs at hotmail.com Sun Apr 13 05:25:55 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Sun, 13 Apr 2008 05:25:55 -0700 Subject: CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> Message-ID: <32397-cups.general@news.easysw.com> Ace wrote: > L.S. > > > I recently decoupled my printer from a desktop computer in an effort to > simplify things for the other networked computers, i.e. not having to keep > one machine running just for a printer.. > I deleted the printer from CUPS and re-set up the printer with IPP URL and > the same driver it used when it was still connected directly by USB. > > Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp > photosmart 7350 colour printer. > > The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs > (recommended)". > > In the above, CUPS connects to the PSUS4 via IPP to the printer. > What happens is, I can print 1 job from this Linux machine. > After that, I can't do anything, because the first job never completes, it > is 'stuck' in the processing queue indefinitely and the printer will > forever show as 'processing..., accepting jobs'. > > If I print from a Windows machine, everything is fine. > So i'm assuming something needs to be done inside CUPS. > > Any ideas would be appreciated! Pretty please? :) From brjohnso at buckeye-express.com Sun Apr 13 11:43:18 2008 From: brjohnso at buckeye-express.com (Brandon Johnson) Date: Sun, 13 Apr 2008 11:43:18 -0700 Subject: Installing Magicolor 5430DL Message-ID: <32398-cups.general@news.easysw.com> I am trying to install a Konica Minolta Magicolor 5430DL. I have downloaded the linux driver from the Konica support site and now have the printer installed. The next step I took was to try to print a test page, the test page shows up in the job list but it never prints. The printer is set up as an ipp printer using all of the information that I get from the remote site for the printer. Any help would be appreciated. From henri at stmargarets.school.nz Sun Apr 13 14:53:35 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 14:53:35 -0700 Subject: [cups.general] cups ldap In-Reply-To: <fc.3b9aca0095eeeb973b9aca0095eeeb97.69a2f7@stmargarets.school.nz> References: <fc.3b9aca0095eeeb973b9aca0095eeeb97.69a2f7@stmargarets.school.nz> Message-ID: <32399-cups.general@news.easysw.com> We are currently working on a automatic print queue update and destruction feature for PrinterSetup. There is currently no system for creating PrinterSetupFiles from an LDAP database. However, this would this be a great feature. This automatic update system is currently in development for Mac OS X clients. However, if you have other client operating systems fo which you would like to see support, then we would be happy to have your help. Further information on PrinterSetup is available from the following URL : http://www.lucidsystems.org/printingworks/printersetup All the best. > 1. printerDescription --- description > 2. printerLocation --- location?? > 3. printerMakeAndModel --- driverName ?? > 4. printerType --- driverName ?? > 5. printerURI --- url?? > > These are purely guesses on my part, but we are recompiling again. > One thought we had was to just pop up an ldap proxy and map the > attributes between each other. I just don't have the time right now > to get that working. From henri at stmargarets.school.nz Sun Apr 13 15:09:47 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:09:47 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> References: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> Message-ID: <32400-cups.general@news.easysw.com> I can see how groups of printers could be useful. However, you could just run different cups configurations on multiple servers. If this all needs to run on one box then I suppose virtualization is an option. I think groups make sense, they could make certain administrative tasks less complex. Although, this is a double edged sword. They also have to potential to make administration more complex? > CUPS, of course, implements classes (fail-over or load-balancing > collections) of printers, but I wonder how many users and > administrators would find printer 'groups' useful - at the /printers > web page and in the configuration and in the logs? Of course, one > can search at that web page for the printer one wishes to see, and > one could even use the group names as a printer name prefix to > restrict the view by search, and have access controls to restrict > access. I think that to have explicit group access policies would be > useful, however. Printer classes are not groups; when one queues a > document to a class, one can't specify which on which printer of the > class the document is printed. From henri at stmargarets.school.nz Sun Apr 13 15:14:31 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:14:31 -0700 Subject: [cups.general] sharing printer *configuration data* In-Reply-To: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> References: <fc.3b9aca005315857d3b9aca005315857d.69a359@stmargarets.school.nz> Message-ID: <32401-cups.general@news.easysw.com> PrinterSetup may be a solution. I am currently working on this for Mac OS X. However, there is currently no feature to pull the data out of the cups configuration file. It is probably a simple script. However, to be honest I have not spent much time looking into the details. If you wanted this feature then you would need to either add it your self or contract someone to add this feature. It is on the list of things to do. However, there is currently no time line for this feature. You can learn more about PrinterSetup by visiting the following URL : http://www.lucidsystems.org/printingworks/printersetup I hope this helps > Is there a way to share that CUPS configuration data with other > computers so they can talk directly to the printers? I don't want > the first machine to be a print server. From henri at stmargarets.school.nz Sun Apr 13 15:23:59 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 13 Apr 2008 15:23:59 -0700 Subject: [cups.general] command line options?? In-Reply-To: <fc.3b9aca00df391b4f3b9aca00df391b4f.69a519@stmargarets.school.nz> References: <fc.3b9aca00df391b4f3b9aca00df391b4f.69a519@stmargarets.school.nz> Message-ID: <32402-cups.general@news.easysw.com> > We have in the neighborhood of 300 physical jetadmin queues and each > queue have 4-6 corresponding logical queues You may want to look at PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup PrinterSetup uses text files to define each queue. The file system is the database used to store these print queue definitions. This means you can easily write some scripts to manipulate these print queue definitions. You can store any custom PPD's for the queues in a folder called PPDs in the root directory of PrinterSetup. Sorry I do not have any experience with JetAdmin. But if you can pull the data out from there then you can probably create some PrinterSetupFiles. > I do have a length constraint that the command can only be 60 > characters in length. Could you explain this constraint a little further. Hope this helps. From ronaly at gmail.com Mon Apr 14 02:32:55 2008 From: ronaly at gmail.com (ronaly) Date: Mon, 14 Apr 2008 02:32:55 -0700 Subject: Get-Printer-Attributes Message-ID: <32403-cups.general@news.easysw.com> Where does Get-Printer-Attributes get data? >From the PPD file ? or directly from querying to the printer? From john at cs.york.ac.uk Mon Apr 14 02:43:15 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Mon, 14 Apr 2008 02:43:15 -0700 Subject: Groups of printers? Message-ID: <32404-cups.general@news.easysw.com> > I can see how groups of printers could be useful. However, you could > just run different cups configurations on multiple servers. > > If this all needs to run on one box then I suppose virtualization is > an option. > > I think groups make sense, they could make certain administrative > tasks less complex. Although, this is a double edged sword. They also > have to potential to make administration more complex? Thanks for your thoughts, Henri. This matter arose in my mind because we had previously had two separate print servers, one for each (largish) group, each with a CUPS scheduler. When we moved to one print server, I arranged that we still had two CUPS schedulers, but on the same machine as you suggest above. (We do have virtual servers for other things, but it didn't seem necessary in this instance.) Only after we had moved the schedulers to the single server did I remember the facility of CUPS classes - which I've never used operationally. I'm simply inexperienced with using CUPS classes. I'm still wondering whether classes can sensibly used only for logical grouping of printers - I should experiment. All I really want, however, is for the printers in the CUPS web page printer list to be displayed in groups - obviously I can use Unix groups to allow only certain user groups to access each printer. (Though a group access policy overridden by a particular printer's access policy would be nice.) I think that all (!) that might be required is a tag on each XCUPS printer definition with the name of the printer group. The web 'Printers' list would show the printers grouped accordingly. John A. Murdie From twalter at gmx.net Mon Apr 14 03:24:09 2008 From: twalter at gmx.net (tim) Date: Mon, 14 Apr 2008 03:24:09 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32405-cups.general@news.easysw.com> hi is there realy no one with this problem. > i updated my cups from an older version using pscript5 and Adobe windows drivers. now i switched to: > cups = 1.2.12-r7 > cups-windows = 6.0 > samba = 3.0.28 > Printers = Kyocera Mita FS1920 / FS1010 > > If i print pdf-documents from the windows clients (w2k/wXP) the first page comes out and the second page is an error-message or the printer goes to error state. > If i print the same document beginning from the second page everything works fine. > I tried several different pdf-files and some print and some with this error. > The older windows drivers worked fine with the same pdf-files. > The Acrobat-Reader-Versions are still the same (7.1 and 8.0). > Printing the from linux-cmd works fine with the same pdf-files. > > Please help. > cu tim From gene.heskett at verizon.net Mon Apr 14 04:23:33 2008 From: gene.heskett at verizon.net (Gene Heskett) Date: Mon, 14 Apr 2008 04:23:33 -0700 Subject: [cups.general] cups-windows errors printing pdf-files In-Reply-To: <32405-cups.general@news.easysw.com> References: <32405-cups.general@news.easysw.com> Message-ID: <32406-cups.general@news.easysw.com> On Monday 14 April 2008, tim wrote: >hi > >is there realy no one with this problem. > >> i updated my cups from an older version using pscript5 and Adobe windows >> drivers. now i switched to: cups = 1.2.12-r7 >> cups-windows = 6.0 >> samba = 3.0.28 >> Printers = Kyocera Mita FS1920 / FS1010 >> >> If i print pdf-documents from the windows clients (w2k/wXP) the first page >> comes out and the second page is an error-message or the printer goes to >> error state. If i print the same document beginning from the second page >> everything works fine. I tried several different pdf-files and some print >> and some with this error. The older windows drivers worked fine with the >> same pdf-files. >> The Acrobat-Reader-Versions are still the same (7.1 and 8.0). >> Printing the from linux-cmd works fine with the same pdf-files. >> >> Please help. > >cu tim > I don' have this problem, but I can't help but comment that your cups install, and your samba install, are both a bit dated. Cups in particular. Here: cups-1.3.6-4.fc8 samba-3.0.28a-0.fc8 gutenprint-5.0.2-1.fc8 No windows on my network so I cannot comment on that version. I do not print using samba anyway, mine are all setup using ipp. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) REST: P: Linus Torvalds S: Buried alive in email -- from /usr/src/linux/MAINTAINERS From satimis at yahoo.com Mon Apr 14 07:56:04 2008 From: satimis at yahoo.com (Stephen Liu) Date: Mon, 14 Apr 2008 07:56:04 -0700 Subject: Can't send fax Message-ID: <32407-cups.general@news.easysw.com> Hi folks, Archlinux 86-64 2007-08-2 Fax_printer can't send fax with following warning; Fax_Printer "recoverable: Network host 'localhost' is busy; will retry in 10 seconds..." On the log file; ..... I [02/Apr/2008:14:22:05 +0800] [Job 20] Adding job file of type application/postscript. I [02/Apr/2008:14:22:05 +0800] [Job 20] Queued on "Fax" by "satimis". I [02/Apr/2008:14:22:05 +0800] [Job 20] Started backend /usr/lib/cups/backend/socket (PID 3953) W [02/Apr/2008:14:22:05 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 5 seconds... W [02/Apr/2008:14:22:10 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 10 seconds... W [02/Apr/2008:14:22:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 15 seconds... W [02/Apr/2008:14:22:35 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 20 seconds... W [02/Apr/2008:14:22:55 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 25 seconds... W [02/Apr/2008:14:23:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:23:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:24:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:24:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:25:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:25:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:26:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:26:50 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... W [02/Apr/2008:14:27:20 +0800] [Job 20] recoverable: Network host 'localhost' is busy; will retry in 30 seconds... .... Please advise where shall I check? TIA B.R. Stephen L From zeque at fibertel.com.ar Mon Apr 14 08:20:13 2008 From: zeque at fibertel.com.ar (Zeque) Date: Mon, 14 Apr 2008 08:20:13 -0700 Subject: Log in printer with auth code Message-ID: <32408-cups.general@news.easysw.com> Hi! I have Gentoo with Cups-1.2.12-r6, I have a problem trying to use a Lanier Printer. The problem is that the printer needs a User Code to print. Do you know how can I configure this? The User Code is used to take printer use stats. Thank you very much, Zeque From rmueller at esu3.org Mon Apr 14 08:33:16 2008 From: rmueller at esu3.org (Rex Mueller) Date: Mon, 14 Apr 2008 08:33:16 -0700 Subject: command line options?? Message-ID: <32409-cups.general@news.easysw.com> Henri, We insert the print command into an Informix Database, the allowable field length is 45 characters.. the HP/UX jet admin / HPNP system, defines interface files, based on model scripts for generally HP configurable printers, the similar feature in CUPS is socket://printerIP/ We are using this on an Intel Platform running Redhat.. I looked at the lucidsystems package and unfortunately it is appears to be specific to the MacOSX. We are running Redhat ES 5 on Intel. I need to be able to convert the HP/JA defined printers to CUPS printing.. I will probably need to put on the scripting hat to make this work, or do manual entry. One of my questions is what commandline switches for options can allow the aformentioned options for COMPRESS, LANDSCAPE, DUPLEX, etc? From mike at easysw.com Mon Apr 14 08:59:09 2008 From: mike at easysw.com (Michael Sweet) Date: Mon, 14 Apr 2008 08:59:09 -0700 Subject: Get-Printer-Attributes In-Reply-To: <32403-cups.general@news.easysw.com> References: <32403-cups.general@news.easysw.com> Message-ID: <32410-cups.general@news.easysw.com> ronaly wrote: > Where does Get-Printer-Attributes get data? > From the PPD file ? or directly from querying to the printer? From the PPD file (which, depending on the driver, can be updated from the printer...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Mon Apr 14 10:08:13 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 14 Apr 2008 10:08:13 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32397-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> Message-ID: <32411-cups.general@news.easysw.com> Ace wrote: > Ace wrote: > >> L.S. >> >> >> I recently decoupled my printer from a desktop computer in an effort to >> simplify things for the other networked computers, i.e. not having to keep >> one machine running just for a printer.. >> I deleted the printer from CUPS and re-set up the printer with IPP URL and >> the same driver it used when it was still connected directly by USB. >> >> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >> photosmart 7350 colour printer. >> >> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >> (recommended)". >> >> In the above, CUPS connects to the PSUS4 via IPP to the printer. >> What happens is, I can print 1 job from this Linux machine. >> After that, I can't do anything, because the first job never completes, it >> is 'stuck' in the processing queue indefinitely and the printer will >> forever show as 'processing..., accepting jobs'. >> >> If I print from a Windows machine, everything is fine. >> So i'm assuming something needs to be done inside CUPS. >> >> Any ideas would be appreciated! > > Pretty please? :) The Linksys implementation has been broken for a long time. You can report the problem to them or use an alternate protocol (LPD or socket on port 4010 is the usual path...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From franz.pfoertsch at brose.com Mon Apr 14 10:15:19 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Mon, 14 Apr 2008 10:15:19 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32412-cups.general@news.easysw.com> hi Tim, I had a similar problem with printing form acrobat reader 8. Only the first page was printed, on the second page the error message occured. I changed the drivers settings inside of the windows-driver from optimized for portabilitiy to optimized for speed. after this it works. From franz.pfoertsch at brose.com Mon Apr 14 10:19:15 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Mon, 14 Apr 2008 10:19:15 -0700 Subject: cups-windows errors printing pdf-files Message-ID: <32413-cups.general@news.easysw.com> hi Tim, I had a similar problem with printing form acrobat reader 8. Only the first page was printed, on the second page the error message ---8<----- ERROR: undefinedresource OFFENDING COMMAND: findresource STACK: /CSA /O /CSA -mark- /9 ---8<----- occured. I changed the drivers settings inside of the windows-driver from optimized for portabilitiy to optimized for speed. after this it works. I got the solution from http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=521 regards Fraz From reborned at gmail.com Mon Apr 14 12:25:04 2008 From: reborned at gmail.com (daniel) Date: Mon, 14 Apr 2008 12:25:04 -0700 Subject: Kerberos/Cups Message-ID: <32414-cups.general@news.easysw.com> Well I have CUPS running smoothly in my machine except when I tried to enable Kerberos auth. Probably cause I don't have enough Kerberos knowledge, anyway I have kinit running and tokens being granted through a server/realm that is not mine. I do DefaultAuthType Negotiate and add AuthType Default and Require valid-user as is in the documentation. The client has a token and I do lpr ou lp as I would usually do but the server gives: cupsdAuthorize: No authentication data provided. Do I need a local keytab file? or some other config? any leeds would be important From henri at stmargarets.school.nz Mon Apr 14 15:20:20 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:20:20 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32415-cups.general@news.easysw.com> > I'm still wondering whether classes can sensibly used only for > logical grouping of printers Sorry, I do not know that much about printer class CUPs. I am guessing someone on the list will be able to help you. > I think that all (!) that might be required is a tag on each XCUPS > printer definition with the name of the printer group. The web > 'Printers' list would show the printers grouped accordingly. As I mentioned I can see the benefits you would gain by having these logical groups. Lets see if a CUP's developer picks this project up. In the mean time if you need this setup again, another way could be to setup a web-front end to multiple print servers which could group the printers by server? Just a thought. From henri at stmargarets.school.nz Mon Apr 14 15:23:39 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:23:39 -0700 Subject: [cups.general] Groups of printers? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32416-cups.general@news.easysw.com> > I think that all (!) that might be required is a tag on each XCUPS > printer definition with the name of the printer group. The web > 'Printers' list would show the printers grouped accordingly. I have thought about this some more. I realize that this kind of logical grouping would actually help me with something I am working on at the moment. Looking forward to seeing how this develops. From henri at stmargarets.school.nz Mon Apr 14 15:30:27 2008 From: henri at stmargarets.school.nz (henri) Date: Mon, 14 Apr 2008 15:30:27 -0700 Subject: [cups.general] command line options?? In-Reply-To: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> References: <fc.3b9aca007ed9ee313b9aca007ed9ee31.69abc6@stmargarets.school.nz> Message-ID: <32417-cups.general@news.easysw.com> > I looked at the lucidsystems package and unfortunately it is appears > to be specific to the MacOSX. We are running Redhat ES 5 on Intel. PrinterSetup should work on any *NIX distribution with CUPS. PrinterSetup has been tested on Debian 3.1. If PrinterSetup is not able to create a printer on a RedHat system, it is most likely that a new module for adding printers to a RedHat system needs to be added. If you need any help then let me know. > One of my questions is what commandline switches for options can > allow the aformentioned options for COMPRESS, LANDSCAPE, DUPLEX, etc? Normally these options are set in the PPD? However, you may also want to look at the lpoptions command : http://www.linuxcommand.org/man_pages/lpoptions1.html I hope this helps. From reborned at gmail.com Mon Apr 14 16:47:34 2008 From: reborned at gmail.com (daniel) Date: Mon, 14 Apr 2008 16:47:34 -0700 Subject: Kerberos/Cups Message-ID: <32418-cups.general@news.easysw.com> > Well I have CUPS running smoothly in my machine except when I tried to enable Kerberos auth. Probably cause I don't have enough Kerberos knowledge, anyway I have kinit running and tokens being granted through a server/realm that is not mine. > I do DefaultAuthType Negotiate and add AuthType Default and Require valid-user as is in the documentation. The client has a token and I do lpr ou lp as I would usually do but the server gives: > cupsdAuthorize: No authentication data provided. > Do I need a local keytab file? or some other config? > > any leeds would be important btw im using debian/etch with cups 1.3.6 kerberos 5 with MIT I tried with the a local user and it worked... I'll look into after I sleep it through. do I need to set: Krb5Keytab xpto.keytab GSSServiceName servicename ? regards From bobby.goodwin at comcast.net Tue Apr 15 09:38:40 2008 From: bobby.goodwin at comcast.net (Bobby Goodwin) Date: Tue, 15 Apr 2008 09:38:40 -0700 Subject: printing files from within Unix(i.e., Terminal) to printer attached to Mac Message-ID: <32419-cups.general@news.easysw.com> How do I print an ordinary Unix ascii text file created in Unix (i.e., Terminal) with any of the standard Unix text editors (ex, vim, etc.), to the Canon PIXMA MP460 printer attached to my Mac Pro? I need to do this by such means so that NO alteration or interpretation of any type, especially page formatting and font processing, is performed, AND so that ordinary ascii control characters perform their usual functions (e.g., form feed character causes a page eject, because I need to do my own pagination). In other words, I think I need to print in some type of raw mode to the printer, which may require that I print the file from within Unix. How do I do this? From h.blischke at srz.de Tue Apr 15 10:45:37 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 15 Apr 2008 10:45:37 -0700 Subject: printing files from within Unix(i.e., Terminal) to printer attached to Mac In-Reply-To: <32419-cups.general@news.easysw.com> References: <32419-cups.general@news.easysw.com> Message-ID: <32420-cups.general@news.easysw.com> Bobby Goodwin wrote: > How do I print an ordinary Unix ascii text file created in Unix (i.e., Terminal) with any of the standard Unix text editors (ex, vim, etc.), to the Canon PIXMA MP460 printer attached to my Mac Pro? I need to do this by such means so that NO alteration or interpretation of any type, especially page formatting and font processing, is performed, AND so that ordinary ascii control characters perform their usual functions (e.g., form feed character causes a page eject, because I need to do my own pagination). In other words, I think I need to print in some type of raw mode to the printer, which may require that I print the file from within Unix. How do I do this? If your ASCII control characters are only Tab, Formfeed and Endofline, you could easily write a little script that prepends a special PostScript procset to your text file and force the use of this filter by a "*cupsFilter: ..." line in the printer's PPD. The procset in question is available from me; it emulates a (configurable) line printer. Let me know if you are interested. Helge PS: the procset currently handles only iso8859-1 encoding. -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From smith107 at llnl.gov Tue Apr 15 11:19:39 2008 From: smith107 at llnl.gov (David Smith) Date: Tue, 15 Apr 2008 11:19:39 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32421-cups.general@news.easysw.com> Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. Thanks, David From mike at easysw.com Tue Apr 15 13:00:17 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 15 Apr 2008 13:00:17 -0700 Subject: Convert ESP ppd for CUPS? In-Reply-To: <32421-cups.general@news.easysw.com> References: <32421-cups.general@news.easysw.com> Message-ID: <32422-cups.general@news.easysw.com> David Smith wrote: > Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? > > I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. The rastertopcl, rastertoescp, and rastertoescp2 filters, as well as all of the PPD files from ESP Print Pro, are compatible with newer versions of CUPS. The GUIs are the only things that will not work since they depend on private CUPS API symbols that changed in CUPS 1.2... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From smith107 at llnl.gov Tue Apr 15 13:17:41 2008 From: smith107 at llnl.gov (David Smith) Date: Tue, 15 Apr 2008 13:17:41 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32423-cups.general@news.easysw.com> > David Smith wrote: > > Now that ESP is no longer...Is there a way to convert ESP PPDs to CUPS PPDs? Or can the filters like "rastertopcl" be replace with something? > > > > I'm converting a server which is currently running PrintPro to CUPS and we have printers using ESP PPD files which reference filters that don't exist with CUPS 1.3.x. > > The rastertopcl, rastertoescp, and rastertoescp2 filters, as well as > all of the PPD files from ESP Print Pro, are compatible with newer > versions of CUPS. > > The GUIs are the only things that will not work since they depend on > private CUPS API symbols that changed in CUPS 1.2... > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to be rebuilt? I'll have either of the following rpms installed: cups-1.2.4-11.14.el5_1.4 cups-devel-1.2.4-11.14.el5_1.4 cups-libs-1.2.4-11.14.el5_1.4 or cups-devel-1.3rc2-1 cups-libs-1.3rc2-1 cups-1.3rc2-1 Thanks, David From msweet at apple.com Tue Apr 15 13:59:02 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 15 Apr 2008 13:59:02 -0700 Subject: [cups.general] Convert ESP ppd for CUPS? In-Reply-To: <32423-cups.general@news.easysw.com> References: <32423-cups.general@news.easysw.com> Message-ID: <32424-cups.general@news.easysw.com> David Smith wrote: > ... > My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to > be rebuilt? I'll have either of the following rpms installed: Just make sure you have the 32-bit cups-libs package installed... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From zeque at fibertel.com.ar Tue Apr 15 14:13:30 2008 From: zeque at fibertel.com.ar (Zeque) Date: Tue, 15 Apr 2008 14:13:30 -0700 Subject: Log in printer with auth code Message-ID: <32425-cups.general@news.easysw.com> > Hi! > > I have Gentoo with Cups-1.2.12-r6, I have a problem trying to use a Lanier Printer. The problem is that the printer needs a User Code to print. Do you know how can I configure this? > The User Code is used to take printer use stats. > Thank you very much, > > Zeque Hi! I found the driver, I put the link here http://www.linuxprinting.org/show_printer.cgi?recnum=Lanier-LP131n Thanks, i hope it will be usefull Zeque From coldfusionpc at yahoo.com Tue Apr 15 14:57:50 2008 From: coldfusionpc at yahoo.com (Matt Castelein) Date: Tue, 15 Apr 2008 14:57:50 -0700 Subject: Cups-PDF does not receive usernames? Message-ID: <32426-cups.general@news.easysw.com> When I print to Cups-PDF from a windows client, If I go look in the CUPS job log it shows the username that sent the job, yet Cups-PDF is treating everything as 'anonymous' thus everyone's PDF's are lumped together in the same place and belong to 'nobody'. How do I get Cups-PDF to honor the username CUPS already has stored for the job? From jack at aiai.de Wed Apr 16 05:23:40 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 05:23:40 -0700 Subject: how to print directly to network printer using command line lp... ? Message-ID: <32427-cups.general@news.easysw.com> I've brother HL5250DN. Suse 10.2 finds the printer and I can print with e.g. OpenOffice and it works. But how can I print using lp on command line (bash scripts)? I tried as root: arthur:~ # lp -h laser -d pc16_ps ttt.ps lp: Not Found arthur:~ # lp -h laser ttt.ps lp: Fehler - Scheduler antwortet nicht! The same when using IP instead of "laser" ping laser works! (IP 10.0.0.116) looking in printer.conf how OpenOffice prints: <Printer hl5250> Info hl5250 Laser Location PC16 DeviceURI ipp://10.0.0.116:631/ipp State Idle StateTime 1208290778 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer> Is ipp the queue?? arthur:~ # lp -h hl5250 -d ipp ttt.ps lp: Not Found Printing to the CUPS-Queue on Suse 10.2 works: lp -d hl5250 ttt.ps But I want to print directly, NOT using the local queue. Where ist my fault? thx Ekkard From jack at aiai.de Wed Apr 16 05:25:19 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 05:25:19 -0700 Subject: how to print directly to network printer using command line lp...? In-Reply-To: <32427-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> Message-ID: <32428-cups.general@news.easysw.com> ekkard gerlach schrieb: > I've brother HL5250DN. Suse 10.2 finds the printer and I can print with > e.g. OpenOffice and it works. But how can I print using lp on command > line (bash scripts)? > > I tried as root: > arthur:~ # lp -h laser -d pc16_ps ttt.ps > lp: Not Found > arthur:~ # lp -h laser ttt.ps > lp: Fehler - Scheduler antwortet nicht! > The same when using IP instead of "laser" > > ping laser works! (IP 10.0.0.116) > > looking in printer.conf how OpenOffice prints: > <Printer hl5250> > Info hl5250 Laser > Location PC16 > DeviceURI ipp://10.0.0.116:631/ipp > State Idle > StateTime 1208290778 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > </Printer> > > Is ipp the queue?? > arthur:~ # lp -h hl5250 -d ipp ttt.ps sorry, correct: lp -h laser -d ipp ttt.ps > lp: Not Found > > Printing to the CUPS-Queue on Suse 10.2 works: > lp -d hl5250 ttt.ps > But I want to print directly, NOT using the local queue. Where ist my > fault? > > thx > Ekkard From h.blischke at srz.de Wed Apr 16 05:59:58 2008 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 16 Apr 2008 05:59:58 -0700 Subject: how to print directly to network printer using command line lp...? In-Reply-To: <32428-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> <32428-cups.general@news.easysw.com> Message-ID: <32429-cups.general@news.easysw.com> ekkard gerlach wrote: > ekkard gerlach schrieb: > >> I've brother HL5250DN. Suse 10.2 finds the printer and I can print >> with e.g. OpenOffice and it works. But how can I print using lp on >> command line (bash scripts)? >> >> I tried as root: >> arthur:~ # lp -h laser -d pc16_ps ttt.ps >> lp: Not Found >> arthur:~ # lp -h laser ttt.ps >> lp: Fehler - Scheduler antwortet nicht! >> The same when using IP instead of "laser" >> >> ping laser works! (IP 10.0.0.116) >> >> looking in printer.conf how OpenOffice prints: >> <Printer hl5250> >> Info hl5250 Laser >> Location PC16 >> DeviceURI ipp://10.0.0.116:631/ipp >> State Idle >> StateTime 1208290778 >> Accepting Yes >> Shared Yes >> JobSheets none none >> QuotaPeriod 0 >> PageLimit 0 >> KLimit 0 >> OpPolicy default >> ErrorPolicy stop-printer >> </Printer> >> >> Is ipp the queue?? >> arthur:~ # lp -h hl5250 -d ipp ttt.ps > > sorry, correct: lp -h laser -d ipp ttt.ps > >> lp: Not Found >> >> Printing to the CUPS-Queue on Suse 10.2 works: >> lp -d hl5250 ttt.ps >> But I want to print directly, NOT using the local queue. Where ist my >> fault? >> >> thx >> Ekkard The value to the -h option must be either the hostname or the IP address of the host to be accessed (here: the printer's). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From smith107 at llnl.gov Wed Apr 16 08:03:57 2008 From: smith107 at llnl.gov (David Smith) Date: Wed, 16 Apr 2008 08:03:57 -0700 Subject: Convert ESP ppd for CUPS? Message-ID: <32430-cups.general@news.easysw.com> > David Smith wrote: > > ... > > My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to > > be rebuilt? I'll have either of the following rpms installed: > > Just make sure you have the 32-bit cups-libs package installed... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > I now seem to be hitting a software license issue... I [16/Apr/2008:07:51:24 -0700] Adding start banner page "none" to job 3. I [16/Apr/2008:07:51:24 -0700] Adding end banner page "none" to job 3. I [16/Apr/2008:07:51:24 -0700] Job 3 queued on "B453_R3028_p286" by "root". I [16/Apr/2008:07:51:24 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21688) for job 3. I [16/Apr/2008:07:51:24 -0700] Started backend /usr/lib/cups/backend/socket (PID 21689) for job 3. E [16/Apr/2008:07:51:24 -0700] [Job 3] No valid software license was found! E [16/Apr/2008:07:51:24 -0700] PID 21688 (/usr/lib/cups/filter/texttopcl) stopped with status 1! I [16/Apr/2008:07:51:24 -0700] Hint: Try setting the LogLevel to "debug" to find out more. Copied over /etc/software/license.dat file, now... I [16/Apr/2008:07:59:22 -0700] Adding start banner page "none" to job 4. I [16/Apr/2008:07:59:22 -0700] Adding end banner page "none" to job 4. I [16/Apr/2008:07:59:22 -0700] Job 4 queued on "B453_R3028_p286" by "root". I [16/Apr/2008:07:59:22 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21734) for job 4. I [16/Apr/2008:07:59:22 -0700] Started backend /usr/lib/cups/backend/socket (PID 21735) for job 4. W [16/Apr/2008:07:59:22 -0700] [Job 4] No system ID defined! warning about "system ID". David From mike at easysw.com Wed Apr 16 08:52:14 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 16 Apr 2008 08:52:14 -0700 Subject: Convert ESP ppd for CUPS? In-Reply-To: <32430-cups.general@news.easysw.com> References: <32430-cups.general@news.easysw.com> Message-ID: <32431-cups.general@news.easysw.com> David Smith wrote: >> David Smith wrote: >>> ... >>> My older environment is on Red Hat 3.x (32 bit), and I'm going to Red Hat 5.x (x86_64). Will these filters just copy over, or do they need to >>> be rebuilt? I'll have either of the following rpms installed: >> Just make sure you have the 32-bit cups-libs package installed... >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > I now seem to be hitting a software license issue... > > I [16/Apr/2008:07:51:24 -0700] Adding start banner page "none" to job 3. > I [16/Apr/2008:07:51:24 -0700] Adding end banner page "none" to job 3. > I [16/Apr/2008:07:51:24 -0700] Job 3 queued on "B453_R3028_p286" by "root". > I [16/Apr/2008:07:51:24 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21688) for job 3. > I [16/Apr/2008:07:51:24 -0700] Started backend /usr/lib/cups/backend/socket (PID 21689) for job 3. > E [16/Apr/2008:07:51:24 -0700] [Job 3] No valid software license was found! > E [16/Apr/2008:07:51:24 -0700] PID 21688 (/usr/lib/cups/filter/texttopcl) stopped with status 1! > I [16/Apr/2008:07:51:24 -0700] Hint: Try setting the LogLevel to "debug" to find out more. > > Copied over /etc/software/license.dat file, now... > > I [16/Apr/2008:07:59:22 -0700] Adding start banner page "none" to job 4. > I [16/Apr/2008:07:59:22 -0700] Adding end banner page "none" to job 4. > I [16/Apr/2008:07:59:22 -0700] Job 4 queued on "B453_R3028_p286" by "root". > I [16/Apr/2008:07:59:22 -0700] Started filter /usr/lib/cups/filter/texttopcl (PID 21734) for job 4. > I [16/Apr/2008:07:59:22 -0700] Started backend /usr/lib/cups/backend/socket (PID 21735) for job 4. > W [16/Apr/2008:07:59:22 -0700] [Job 4] No system ID defined! > > warning about "system ID". Use tar to copy both the /etc/software/licenses.dat and /etc/software/sysid.dat files... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From Norm.Jacobs at Sun.COM Wed Apr 16 09:12:14 2008 From: Norm.Jacobs at Sun.COM (Norm Jacobs) Date: Wed, 16 Apr 2008 09:12:14 -0700 Subject: [cups.general] how to print directly to network printer using command line lp... ? In-Reply-To: <32427-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> Message-ID: <32432-cups.general@news.easysw.com> Presumably, you will not be able to print to it directly with the CUPS client commands. The last time I looked carefully at their implementation, they made some CUPS specific IPP requests before they actually used the IPP print-job or create-job/send-document sequence. It's unlikely that your printer implements the necessary CUPS IPP extensions, but stranger things have been known to happen. There are implementations of IPP that would allow you to send your job data directly to the printer. The CUPS ipp backend module is one, the OpenPrinting PAPI implementation is another, and I expect that there are others. You might also be able to send your job data over a raw TCP socket connection (usually to port 9100) or port 515 using rfc-1179 protocol. This all begs the question, why do you want to bypass the queue? -Norm ekkard gerlach wrote: > I've brother HL5250DN. Suse 10.2 finds the printer and I can print with > e.g. OpenOffice and it works. But how can I print using lp on command > line (bash scripts)? > > I tried as root: > arthur:~ # lp -h laser -d pc16_ps ttt.ps > lp: Not Found > arthur:~ # lp -h laser ttt.ps > lp: Fehler - Scheduler antwortet nicht! > The same when using IP instead of "laser" > > ping laser works! (IP 10.0.0.116) > > looking in printer.conf how OpenOffice prints: > <Printer hl5250> > Info hl5250 Laser > Location PC16 > DeviceURI ipp://10.0.0.116:631/ipp > State Idle > StateTime 1208290778 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy stop-printer > </Printer> > > Is ipp the queue?? > arthur:~ # lp -h hl5250 -d ipp ttt.ps > lp: Not Found > > Printing to the CUPS-Queue on Suse 10.2 works: > lp -d hl5250 ttt.ps > But I want to print directly, NOT using the local queue. Where ist my fault? > From jack at aiai.de Wed Apr 16 09:48:13 2008 From: jack at aiai.de (ekkard gerlach) Date: Wed, 16 Apr 2008 09:48:13 -0700 Subject: [cups.general] how to print directly to network printer usingcommand line lp... ? In-Reply-To: <32432-cups.general@news.easysw.com> References: <32427-cups.general@news.easysw.com> <32432-cups.general@news.easysw.com> Message-ID: <32433-cups.general@news.easysw.com> Norm Jacobs schrieb: > Presumably, you will not be able to print to it directly with the CUPS > client commands. The last time I looked carefully at their ok. > implementation, they made some CUPS specific IPP requests before they > actually used the IPP print-job or create-job/send-document sequence. > It's unlikely that your printer implements the necessary CUPS IPP > extensions, but stranger things have been known to happen. > There are implementations of IPP that would allow you to send your job > data directly to the printer. The CUPS ipp backend module is one, the > OpenPrinting PAPI implementation is another, and I expect that there are > others. You might also be able to send your job data over a raw TCP > socket connection (usually to port 9100) or port 515 using rfc-1179 > protocol. I remember, a MFC7820 Laserprinter is used in one customers office via 9100, but also using CUPS backend. > > This all begs the question, why do you want to bypass the queue? I thought I make only a little fault, I wanted to print to the HL5250 postscript printer directly with less effort. But it seem to be not very easy to bypass, so I print using CUPS backend, okay! Thats all what I wanted to know. thx Norm! Ekkard From pchapuis1 at gmail.com Wed Apr 16 14:31:25 2008 From: pchapuis1 at gmail.com (fifou) Date: Wed, 16 Apr 2008 14:31:25 -0700 Subject: How to get filename Message-ID: <32434-cups.general@news.easysw.com> Hello, I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. This header looks like this: %-12345X at PJL JOB @PJL JOB MODE=PRINTER @PJL SET HOLD=STORE @PJL SET HOLDTYPE=PRIVATE @PJL SET USERNAME="linux-pch" @PJL SET HOLDKEY="1222" @PJL SET JOBNAME="" I can't find anyway to get filename of my printed job and to fill in JOBNAME value. I have created a variable in my filter but don't know what I can write. Thanks for your help From ace_rules_bbs at hotmail.com Wed Apr 16 14:51:09 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Wed, 16 Apr 2008 14:51:09 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> Message-ID: <32435-cups.general@news.easysw.com> Michael R Sweet wrote: > Ace wrote: >> Ace wrote: >> >>> L.S. >>> >>> >>> I recently decoupled my printer from a desktop computer in an effort to >>> simplify things for the other networked computers, i.e. not having to >>> keep one machine running just for a printer.. >>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>> and the same driver it used when it was still connected directly by USB. >>> >>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>> photosmart 7350 colour printer. >>> >>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>> (recommended)". >>> >>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>> What happens is, I can print 1 job from this Linux machine. >>> After that, I can't do anything, because the first job never completes, >>> it is 'stuck' in the processing queue indefinitely and the printer will >>> forever show as 'processing..., accepting jobs'. >>> >>> If I print from a Windows machine, everything is fine. >>> So i'm assuming something needs to be done inside CUPS. >>> >>> Any ideas would be appreciated! >> >> Pretty please? :) > > The Linksys implementation has been broken for a long time. You can > report the problem to them or use an alternate protocol (LPD or > socket on port 4010 is the usual path...) > Hmm, that sorta kinda doesn't explain it though.. Windows clients can print, their jobs complete, and internally on the PSUS4 I can see nothing remaining in the queue, and the printer shows idle.. To me it looks like it is CUPS that is waiting for something to happen, while it already happened.. the logic there escapes me i'm afraid :/ The device requires no drivers to function, only the printer does. I haven't seen a note in the manual about LPD being supported, but I will have a look and see how far I can get this weekend. Thanks! From msweet at apple.com Wed Apr 16 15:52:00 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 16 Apr 2008 15:52:00 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32435-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> Message-ID: <32436-cups.general@news.easysw.com> Ace wrote: > Michael R Sweet wrote: > >> Ace wrote: >>> Ace wrote: >>> >>>> L.S. >>>> >>>> >>>> I recently decoupled my printer from a desktop computer in an effort to >>>> simplify things for the other networked computers, i.e. not having to >>>> keep one machine running just for a printer.. >>>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>>> and the same driver it used when it was still connected directly by USB. >>>> >>>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>>> photosmart 7350 colour printer. >>>> >>>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>>> (recommended)". >>>> >>>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>>> What happens is, I can print 1 job from this Linux machine. >>>> After that, I can't do anything, because the first job never completes, >>>> it is 'stuck' in the processing queue indefinitely and the printer will >>>> forever show as 'processing..., accepting jobs'. >>>> >>>> If I print from a Windows machine, everything is fine. >>>> So i'm assuming something needs to be done inside CUPS. >>>> >>>> Any ideas would be appreciated! >>> Pretty please? :) >> The Linksys implementation has been broken for a long time. You can >> report the problem to them or use an alternate protocol (LPD or >> socket on port 4010 is the usual path...) >> > Hmm, that sorta kinda doesn't explain it though.. Windows doesn't implement IPP/1.1, and doesn't require printers to actually support most of the IPP spec. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From justin.huang at liteon.com Wed Apr 16 20:35:33 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 16 Apr 2008 20:35:33 -0700 Subject: How to access a printer via its DEVICE_URI? Message-ID: <32437-cups.general@news.easysw.com> I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: usb://manufacturer_name/model_name I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. Am I doing my job in the correct direction? From justin.huang at liteon.com Wed Apr 16 22:01:56 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 16 Apr 2008 22:01:56 -0700 Subject: How to get filename Message-ID: <32438-cups.general@news.easysw.com> Hi, Why don't you fill it with argv[3]? It is defined to be the title/job-name associated with this job (name string). Justin Huang > Hello, > I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. > This header looks like this: > %-12345X at PJL JOB > @PJL JOB MODE=PRINTER > @PJL SET HOLD=STORE > @PJL SET HOLDTYPE=PRIVATE > @PJL SET USERNAME="linux-pch" > @PJL SET HOLDKEY="1222" > @PJL SET JOBNAME="" > > I can't find anyway to get filename of my printed job and to fill in JOBNAME value. > I have created a variable in my filter but don't know what I can write. > Thanks for your help > From pchapuis1 at gmail.com Wed Apr 16 22:45:57 2008 From: pchapuis1 at gmail.com (fifou) Date: Wed, 16 Apr 2008 22:45:57 -0700 Subject: How to get filename Message-ID: <32439-cups.general@news.easysw.com> Justin, That's what I added in my filter, but the variable $docname is empty. I wrote in my filter: my $docname = '$ARGV[3]' chomp $docname I tried argv[1] and {2] etc, nothing. I think it's due I don't send print over command line (lp or lpd). I print through OpenOffice. I select print options then print button. CUPS run the filter Phil > Hi, > Why don't you fill it with argv[3]? It is defined to be the title/job-name associated with this job (name string). > > Justin Huang > > > Hello, > > I written a filter to add a header to PostScript file when I print from Suse over OPenOffice. > > This header looks like this: > > %-12345X at PJL JOB > > @PJL JOB MODE=PRINTER > > @PJL SET HOLD=STORE > > @PJL SET HOLDTYPE=PRIVATE > > @PJL SET USERNAME="linux-pch" > > @PJL SET HOLDKEY="1222" > > @PJL SET JOBNAME="" > > > > I can't find anyway to get filename of my printed job and to fill in JOBNAME value. > > I have created a variable in my filter but don't know what I can write. > > Thanks for your help > > > From ace_rules_bbs at hotmail.com Wed Apr 16 23:12:01 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Wed, 16 Apr 2008 23:12:01 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> Message-ID: <32440-cups.general@news.easysw.com> Michael R Sweet wrote: > Ace wrote: >> Michael R Sweet wrote: >> >>> Ace wrote: >>>> Ace wrote: >>>> >>>>> L.S. >>>>> >>>>> >>>>> I recently decoupled my printer from a desktop computer in an effort >>>>> to simplify things for the other networked computers, i.e. not having >>>>> to keep one machine running just for a printer.. >>>>> I deleted the printer from CUPS and re-set up the printer with IPP URL >>>>> and the same driver it used when it was still connected directly by >>>>> USB. >>>>> >>>>> Mandriva 2008 Free + CUPS 1.3.6 => Linksys PSUS4 fw1.1 via IPP => hp >>>>> photosmart 7350 colour printer. >>>>> >>>>> The driver used is named "HP PhotoSmart 7350 Foomatic/hpijs >>>>> (recommended)". >>>>> >>>>> In the above, CUPS connects to the PSUS4 via IPP to the printer. >>>>> What happens is, I can print 1 job from this Linux machine. >>>>> After that, I can't do anything, because the first job never >>>>> completes, it is 'stuck' in the processing queue indefinitely and the >>>>> printer will forever show as 'processing..., accepting jobs'. >>>>> >>>>> If I print from a Windows machine, everything is fine. >>>>> So i'm assuming something needs to be done inside CUPS. >>>>> >>>>> Any ideas would be appreciated! >>>> Pretty please? :) >>> The Linksys implementation has been broken for a long time. You can >>> report the problem to them or use an alternate protocol (LPD or >>> socket on port 4010 is the usual path...) >>> >> Hmm, that sorta kinda doesn't explain it though.. > > Windows doesn't implement IPP/1.1, and doesn't require printers to > actually support most of the IPP spec. > Users are not supposed to know about undocumented 'features' such as that.. (And this user did not know, until now) I got fed up and reset the printer configuration in CUPS, this could no longer wait till another weekend to fix. CUPS now shows: Printer Driver: HP PhotoSmart 7350 Foomatic/hpijs (recommended) Printer State: idle, accepting jobs, published. Device URI: lpd://192.168.3.2/L1 You'll notice I changed the URI to lpd. CUPS now prints to the device as it should, jobs are spooled and immediately printed, and the jobs complete as far as I can tell (they disappear from the queue without error). No printer or PSUS4 settings were altered, printer driver in CUPS remains the same. I still do not understand why IPP hangs, you said Windows clients do not implement IPP/1.1, but the fact remains Windows clients can print normally under IPP protocol, and CUPS cannot. Also, I have noticed while watching CUPS through it's web interface, that CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, and then the job starts printing, but never finishes. Current setup; Windows client still uses IPP, CUPS now uses LPD. Some googling revealed that the device URI can end in several (some undocumented?) ways, namely L1, P1, queue, or be accessed directly via JetDirect on port 9100. Manual as delivered with device speaks of IPP (Well, mine does). Also, it appears the current device version is '1.00', and the stock firmware (as delivered within the device) is '6350', yet the Linksys website reports the latest firmware version as '6034' dated 2/01/2005. Quirky setup, but at least it works now. From jsmeix at suse.de Thu Apr 17 01:23:02 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Thu, 17 Apr 2008 01:23:02 -0700 Subject: [cups.general] How to get filename In-Reply-To: <32434-cups.general@news.easysw.com> References: <32434-cups.general@news.easysw.com> Message-ID: <32441-cups.general@news.easysw.com> Hello, On Apr 16 14:31 fifou wrote (shortened): > ... I print from Suse over OPenOffice .... > I can't find anyway to get filename of my printed job There is no filename value in the (meta)-data of a print job because a filename value is meaningless for a print job (it doesn't matter where the data comes form, from a file or from stdout from a program or from whereever). All what is available is the job title, see "man filter". When an application program prints, it sets usually an appropriate value for the job title (e.g. browsers may use the URL of the web page as job title - another example why a filename value is meaningless for a print job). If in your case OOo does not set a job title, there is nothing you can do in the printing system to get one afterwards. In this case the issue must be addressed in OOo. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jsmeix at suse.de Thu Apr 17 02:06:05 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Thu, 17 Apr 2008 02:06:05 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete In-Reply-To: <32440-cups.general@news.easysw.com> References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> <32440-cups.general@news.easysw.com> Message-ID: <32442-cups.general@news.easysw.com> Hello, On Apr 16 23:12 Ace wrote (shortened): > I still do not understand why IPP hangs, you said Windows clients do not > implement IPP/1.1, but the fact remains Windows clients can print normally > under IPP protocol, and CUPS cannot. > Also, I have noticed while watching CUPS through it's web interface, that > CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, > and then the job starts printing, but never finishes. I do not understand why you do not understand that the hardware is broken because it simply does not correctly implement the IPP protocol and why you insist that this is a CUPS problem? The fact remains that Windows clients cannot print normally under IPP protocol simply because Windows has not a correct IPP protocol implementation so that strictly speaking Windows cannot do IPP at all - it does something like IPP but not full IPP. I do not understand why you do not ask the manufacturer or vendor of those broken hardware for a fix. The manufacturer or vendor sold you a piece of hardware which claims to support the IPP protocol but seems to fail for both IPP/1.1 and IPP/1.0. Have a look at http://www.cups.org/documentation.php/network.html ----------------------------------------------------------- The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest, fastest, and generally the most reliable network protocol used for printers. .... IPP is the only protocol that CUPS supports natively and is supported by some network printers and print servers. However, since many printers do not implement IPP properly, only use IPP when the vendor actually documents official support for it. .... LPD is the original network printing protocol and is supported by many network printers. Due to limitations in the LPD protocol, we do not recommend using it if the printer or server supports one of the other protocols. ----------------------------------------------------------- I do not understand why you seem to insist that you must use the most complicated protocol (IPP) to just send the prtinting data to the printserver box instead of using what is recommended? Only because an incomplete IPP implementation in Windows works by chance with the broken IPP implementation in this broken hardware? Or perhaps because IPP is "state of the art"? Even if in your case the "state of the art" implementation is plain broken in this broken piece of hardware crap? By the way: Do not assume that you can get device status for your HP PhotoSmart 7350 via the HPLIP hp-toolbox program when the device is "hidden" behind a non-HP printserver box. See http://hplip.sourceforge.net/supported_devices/photosmart.html ---------------------------------------------------------------- Photosmart 7350: Network or JetDirect: No Network support indicates built-in ethernet and/or wireless networking. Alternatively, many devices may be operated on the network using an external JetDirect print server. Not all network configurations are supported. Please refer to the HPLIP FAQs for more information. ---------------------------------------------------------------- and the HPLIP FAQ reads: ---------------------------------------------------------------- Question: Does HPLIP support networked printers? Answer: Yes, HPLIP supports printers that are directly network connected (via a built-in Ethernet port) or connected to a network via a JetDirect. Question: What network print servers are supported? Answer: Currently we have only tested HP JetDirect devices with HPLIP. No other network print servers are supported. ---------------------------------------------------------------- The reason is that device status query requires a bidirectional communication or certain SNMP support which works with a HP built-in Ethernet port or certain HP JetDirect printserver boxes but does usually not work with other printserver boxes. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From justin.huang at liteon.com Thu Apr 17 03:22:56 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 03:22:56 -0700 Subject: Unable to open USB device Message-ID: <32443-cups.general@news.easysw.com> > > URIs of the form "usb:/dev/usb/*" are no longer supported in CUPS > 1.2, largely because those device names are not stable, i.e. the > number will change on you whenever you boot, cycle the power on the > printer, or disconnect/connect the printer. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Document Software http://www.easysw.com How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? From kjell.grindalen at nsa.no Thu Apr 17 03:56:24 2008 From: kjell.grindalen at nsa.no (Kjell) Date: Thu, 17 Apr 2008 03:56:24 -0700 Subject: Maximum number of printer queue's Message-ID: <32444-cups.general@news.easysw.com> Hello everyone I have a very general question, how many printer queue's can cups handle Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. Does someone here have some large installation of cups that can give me some pointers to the possibillities cups have? What kind of os would be best fitted for this task? Linux or Solaris ? From msweet at apple.com Thu Apr 17 07:58:34 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 07:58:34 -0700 Subject: [cups.general] How to access a printer via its DEVICE_URI? In-Reply-To: <32437-cups.general@news.easysw.com> References: <32437-cups.general@news.easysw.com> Message-ID: <32445-cups.general@news.easysw.com> Justin Huang wrote: > I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: > usb://manufacturer_name/model_name > > I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. The backend code does this already, but keep in mind that USB support is highly OS/distro-specific - sometimes it will map to a character device you can read/write, but often you will need to do a lot more work. > Am I doing my job in the correct direction? You would probably be better off running the backend and communicating via pipes - file descriptor 0 of the backend should be the incoming side of a pipe to send data to the device, file descriptors 1, 2, and 4 should go to /dev/null, and file descriptor 3 should be the outgoing side of a pipe to receive data from the device. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From bamapookie at gmail.com Thu Apr 17 08:06:23 2008 From: bamapookie at gmail.com (Shawn K.) Date: Thu, 17 Apr 2008 08:06:23 -0700 Subject: Printing to Xerox with Xerox Standard Accounting enabled Message-ID: <32446-cups.general@news.easysw.com> At work, I have to print to a Xerox 7345 WorkCenter that has Xerox Standard Accounting enabled. Windows users get a prompt when they print to enter a group number (in my case, 50), so that total printed pages can be tracked by group. I get no such prompt with the Linux/CUPS/xerox ppd file. I only get a series of beeps and a 016-757 error (invalid password). I have tried adding things to the url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried creating a user with the name of the group and printing with that, but nothing works. Does anyone have any insight? From h.blischke at srz.de Thu Apr 17 08:35:32 2008 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 17 Apr 2008 08:35:32 -0700 Subject: Printing to Xerox with Xerox Standard Accounting enabled In-Reply-To: <32446-cups.general@news.easysw.com> References: <32446-cups.general@news.easysw.com> Message-ID: <32447-cups.general@news.easysw.com> Shawn K. wrote: > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox Standard Accounting enabled. Windows users get a prompt when they print to enter a group number (in my case, 50), so that total printed pages can be tracked by group. I get no such prompt with the Linux/CUPS/xerox ppd file. I only get a series of beeps and a 016-757 error (invalid password). I have tried adding things to the url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried creating a user with the name of the group and printing with that, but nothing works. Does anyone have any insight? I suspect the user input (e.g. the "50" for the group number etc.) gets somehow encrypted by a proprietary algorithm. In a similar case at our site (dealing with a multi purpose device from another vendor) we installed a "fake printer" via samba which did nothing but dump the print stream to a file which we then could inspect in order to save the encrypted authentification data which we then used insede a special CUPS backend. It's tedious, but ... Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From alet at librelogiciel.com Thu Apr 17 08:36:15 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Thu, 17 Apr 2008 08:36:15 -0700 Subject: [cups.general] Printing to Xerox with Xerox Standard Accounting enabled In-Reply-To: <32446-cups.general@news.easysw.com> References: <32446-cups.general@news.easysw.com> Message-ID: <32448-cups.general@news.easysw.com> On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > Standard Accounting enabled. Windows users get a prompt when they > print to enter a group number (in my case, 50), so that total > printed pages can be tracked by group. I get no such prompt with > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > 016-757 error (invalid password). I have tried adding things to the > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > creating a user with the name of the group and printing with that, > but nothing works. Does anyone have any insight? I can suggest you something that **may** be illegal or not, but that is probably at least not in accordance with your company's IT rules. So decide for yourself if you want to do it this way : Simply install the printer's standard PPD file on your CUPS server, then direct all printing for this queue to socket://192.168.0.22:9100 This particular setup worked perfectly the last time I've checked, but it was for a different brand of printers (I won't give more details). NB : It may not work if your print admin has correctly configured the printer to disable unwanted protocols, or if there's some firewalling between your computer and the printer, or if your printer is smarter than the ones I've checked this "feature" on, or for any other reason. As always YMMV, but I certify it worked for me. hth Jerome Alet From t.kuestermann at tu-bs.de Thu Apr 17 09:32:49 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 17 Apr 2008 09:32:49 -0700 Subject: Socket: Failed to read side-channel request Message-ID: <32449-cups.general@news.easysw.com> The problem is solved now. The backend wrapper is based on Groovy, which is a Java virtual machine based scripting language. The error occurs, because the jvm closes each open file descriptor, especially the back-channel file descriptor (FD3). It leads to the problem, that FD3 in the real backend is for some other purpose (open socket, print file) as for the back-channel. The problem can be solved by starting the real backend with a native method (JNI). - TK From t.kuestermann at tu-bs.de Thu Apr 17 09:47:23 2008 From: t.kuestermann at tu-bs.de (Thomas Küstermann) Date: Thu, 17 Apr 2008 09:47:23 -0700 Subject: Errors according CUPS Java source files Message-ID: <32450-cups.general@news.easysw.com> Hello! Before I place a Bug report, can anybody confirm these problems, please? First of all, I want to refer to the Java class com.easysw.cups.IPPAttribute (<cups_directory>/scripting/java/src/com/easysw/IPPAttribute.java): - Missing import statements for "Charset" and "ByteBuffer": <code> import java.nio.ByteBuffer; import java.nio.charset.Charset; </code> - Line 266 / 372 should be: <code>Charset utf8 = Charset.forName("UTF-8"); // Java Syntax</code> instead of <code>Charset utf8 = Charset::forName("UTF-8"); // C-Syntax</code> - Each occurency of <code>n = temp.capacity();</code> should be replaced with <code>n = temp.remaining();</code> in order to prevent a BufferUnderflowException, refering to http://java.sun.com/javase/6/docs/api/java/nio/ByteBuffer.html#get(byte[], int, int) Secondly, I want to refer to the CUPS Java archive (cups.jar) placed in <cups_directory>/scripting/java/ : - The archive contains old CUPS Java classes, which use ISO-8859-1 instead of UTF-8 contrary to the source files - The archive is not right formatted. It looks like: <jar tf cups.jar> META-INF/ META-INF/MANIFEST.MF ../../../../classes/com/easysw/cups/ ../../../../classes/com/easysw/cups/IPPDefs.class ../../../../classes/com/easysw/cups/IPPError.class ../../../../classes/com/easysw/cups/IPPStatus.class ../../../../classes/com/easysw/cups/IPPCalendar.class ../../../../classes/com/easysw/cups/IPPValue.class ../../../../classes/com/easysw/cups/IPPAttribute.class ../../../../classes/com/easysw/cups/IPPRequest.class ../../../../classes/com/easysw/cups/IPPURLConnection.class ../../../../classes/com/easysw/cups/IPP.class ../../../../classes/com/easysw/cups/IPPHttp.class ../../../../classes/com/easysw/cups/CupsJob.class ../../../../classes/com/easysw/cups/Cups.class ../../../../classes/com/easysw/cups/CupsPrinter.class ../../../../classes/com/easysw/cups/IPPBase64Encoder.class ../../../../classes/com/easysw/cups/IPPMD5.class </jar tf cups.jar> But it has to look like this, in order to fulfill the specs: <jar tf cups.jar> META-INF/ META-INF/MANIFEST.MF com/easysw/cups/ com/easysw/cups/IPPDefs.class com/easysw/cups/IPPError.class com/easysw/cups/IPPStatus.class com/easysw/cups/IPPCalendar.class com/easysw/cups/IPPValue.class com/easysw/cups/IPPAttribute.class com/easysw/cups/IPPRequest.class com/easysw/cups/IPPURLConnection.class com/easysw/cups/IPP.class com/easysw/cups/IPPHttp.class com/easysw/cups/CupsJob.class com/easysw/cups/Cups.class com/easysw/cups/CupsPrinter.class com/easysw/cups/IPPBase64Encoder.class com/easysw/cups/IPPMD5.class </jar tf cups.jar> Can anybody confirm the described problems? - TK From w.jardel at gmail.com Thu Apr 17 10:27:51 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Thu, 17 Apr 2008 10:27:51 -0700 Subject: How to retrieve cups job informations on the fly? Message-ID: <32451-cups.general@news.easysw.com> Hi there. I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). How could I get these informations in realtime? using filters? jobs.cache? spool? Let me know if you don't completely understand what I want to do, and I'll try to explain it better. Thank you in advance, Jardel From w.jardel at gmail.com Thu Apr 17 10:29:07 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Thu, 17 Apr 2008 10:29:07 -0700 Subject: How to retrieve cups job informations in realtime? Message-ID: <32452-cups.general@news.easysw.com> Hi there. I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). How could I get these informations in realtime? using filters? jobs.cache? spool? Let me know if you don't completely understand what I want to do, and I'll try to explain it better. Thank you in advance, Jardel From msweet at apple.com Thu Apr 17 10:42:00 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:42:00 -0700 Subject: [cups.general] Unable to open USB device In-Reply-To: <32443-cups.general@news.easysw.com> References: <32443-cups.general@news.easysw.com> Message-ID: <32453-cups.general@news.easysw.com> Justin Huang wrote: >> URIs of the form "usb:/dev/usb/*" are no longer supported in CUPS >> 1.2, largely because those device names are not stable, i.e. the >> number will change on you whenever you boot, cycle the power on the >> printer, or disconnect/connect the printer. >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com >> Internet Printing and Document Software http://www.easysw.com > > How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? We open every USB printer and get the 1284 device ID, which gives us the make and model. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 17 10:55:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:55:53 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <32444-cups.general@news.easysw.com> References: <32444-cups.general@news.easysw.com> Message-ID: <32454-cups.general@news.easysw.com> Kjell wrote: > Hello everyone > > I have a very general question, how many printer queue's can cups handle > Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. That depends entirely on the system you use. We regularly test configuration with 10000 queues to ensure that CUPS can scale that large, however actual performance will depend on the type of printers used, how they are connected, and the CPUs, memory, and disk you have. We used to have an "estimator" page on the easysw.com page which provided guidelines for CPU, memory, disk, and configuration options. I'll look at getting this page up on cups.org... In the meantime, you'll find that PostScript printers require less CPU and memory than non-PostScript printers, and you can use the FilterLimit directive to control how many jobs are printed simultaneously. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 17 10:58:24 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 10:58:24 -0700 Subject: [cups.general] Errors according CUPS Java source files In-Reply-To: <32450-cups.general@news.easysw.com> References: <32450-cups.general@news.easysw.com> Message-ID: <32455-cups.general@news.easysw.com> Thomas Küstermann wrote: > Hello! > > Before I place a Bug report, can anybody confirm these problems, please? Don't bother filing a bug report. The Java stuff has been largely unmaintained for several years and has been dropped from CUPS 1.4. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From ace_rules_bbs at hotmail.com Thu Apr 17 10:58:51 2008 From: ace_rules_bbs at hotmail.com (Ace) Date: Thu, 17 Apr 2008 10:58:51 -0700 Subject: [cups.general] CUPS 1.3.6, Linksys PSUS4, jobs never complete References: <32339-cups.general@news.easysw.com> <32397-cups.general@news.easysw.com> <32411-cups.general@news.easysw.com> <32435-cups.general@news.easysw.com> <32436-cups.general@news.easysw.com> <32440-cups.general@news.easysw.com> <32442-cups.general@news.easysw.com> Message-ID: <32456-cups.general@news.easysw.com> Comments inline :) Johannes Meixner wrote: > > Hello, > > On Apr 16 23:12 Ace wrote (shortened): >> I still do not understand why IPP hangs, you said Windows clients do not >> implement IPP/1.1, but the fact remains Windows clients can print >> normally under IPP protocol, and CUPS cannot. >> Also, I have noticed while watching CUPS through it's web interface, that >> CUPS first tries to use IPP/1.1, which fails, then falls back to IPP/1.0, >> and then the job starts printing, but never finishes. > > I do not understand why you do not understand that the hardware > is broken because it simply does not correctly implement the > IPP protocol and why you insist that this is a CUPS problem? Because there is no visual hint (cracks, dents, magic smoke, fire, odd smells, etc.) of hardware failure in printer or printserver. Both function normally, and do not display failure with their status logs (in the printservers case), lights or (in the printer's case) by LCD display. Whether or not IPP was not correctly implemented is none of my business, I am an end user and should not and do not know about this in advance until someone tells me it is not correctly implemented. How did I end up here? because it was CUPS that was showing errors, while the equipment connected to it was happily accepting jobs from computers not running CUPS. CUPS complained, I looked up it's forums, and here I am asking questions. > The fact remains that Windows clients cannot print normally > under IPP protocol simply because Windows has not a correct > IPP protocol implementation so that strictly speaking Windows > cannot do IPP at all - it does something like IPP but not > full IPP. Again, whether or not IPP was not correctly implemented is none of my business, and I will assume for a moment that you know how well willing Microsoft is when it comes to delivering detailed, human readable documentation about protocols used in Windows. I hope you didn't misread my previous message, where I said that Windows clients CAN print normally. How would I deduct from that that Microsoft's idea of implementing IPP is flawed, 'something like IPP but not full IPP'? > I do not understand why you do not ask the manufacturer > or vendor of those broken hardware for a fix. > The manufacturer or vendor sold you a piece of hardware > which claims to support the IPP protocol but seems > to fail for both IPP/1.1 and IPP/1.0. Which I might have if the hardware was broken, which it is not. The printer is rapidly approaching it's 4th birthday, and the last driver update from HP themselves was in 2006 - the device is considered EOL (End Of Life), and as far as HP is concerned you buy yourself a new printer. I do not call that fixing things, I can waste my money in better ways. As for the Linksys PSUS4, it may date back to 2003 somewhere and the last firmware was released in 2005. Having dealt with both HP and Linksys both in business-use context and home-use context, calling them is about as useful as a chocolate teapot. > Have a look at > http://www.cups.org/documentation.php/network.html > ----------------------------------------------------------- > The AppSocket protocol (sometimes also called the > JetDirect protocol, owing to its origins with the > HP JetDirect network interfaces) is the simplest, > fastest, and generally the most reliable network > protocol used for printers. > ... > IPP is the only protocol that CUPS supports natively > and is supported by some network printers and print > servers. However, since many printers do not implement > IPP properly, only use IPP when the vendor actually > documents official support for it. > ... > LPD is the original network printing protocol and is > supported by many network printers. Due to limitations > in the LPD protocol, we do not recommend using it > if the printer or server supports one of the other > protocols. > ----------------------------------------------------------- The above would have been a great FAQ for on the front page of the CUPS website, but it isn't. I do however appreciate you pointing that section out to me, because it is helpful, and I would not have come across it otherwise. > I do not understand why you seem to insist that you must > use the most complicated protocol (IPP) to just send > the prtinting data to the printserver box instead > of using what is recommended? I never implied that I was insisting, it was CUPS throwing the errors, not the devices. Logical next step was to look up the CUPS website to look for a solution there, first. Neither the printer, or the printserver, nor CUPS, came with a recommendation of any sort. CUPS came preinstalled with my system, end of story - received nothing else. > Only because an incomplete IPP implementation in Windows > works by chance with the broken IPP implementation in > this broken hardware? > > Or perhaps because IPP is "state of the art"? > Even if in your case the "state of the art" implementation > is plain broken in this broken piece of hardware crap? Do I detect a dislike for *insert any of the following here: Microsoft, Windows, Linksys, Hewlett-Packard, All of the above* ?? Perhaps you are having a bad day. I forgive you, I do tech support as well, but at least I do not snap at the people asking me questions. Remember: There are no stupid questions. only stupid answers. > > By the way: > > Do not assume that you can get device status for your > HP PhotoSmart 7350 via the HPLIP hp-toolbox program > when the device is "hidden" behind a non-HP printserver box. > > See > http://hplip.sourceforge.net/supported_devices/photosmart.html > ---------------------------------------------------------------- > Photosmart 7350: Network or JetDirect: No > > Network support indicates built-in ethernet and/or wireless > networking. Alternatively, many devices may be operated on > the network using an external JetDirect print server. > Not all network configurations are supported. Please > refer to the HPLIP FAQs for more information. > ---------------------------------------------------------------- > and the HPLIP FAQ reads: > ---------------------------------------------------------------- > Question: Does HPLIP support networked printers? > Answer: Yes, HPLIP supports printers that are directly network > connected (via a built-in Ethernet port) or connected to a > network via a JetDirect. > > Question: What network print servers are supported? > Answer: Currently we have only tested HP JetDirect devices > with HPLIP. No other network print servers are supported. > ---------------------------------------------------------------- > > The reason is that device status query requires a bidirectional > communication or certain SNMP support which works with a HP > built-in Ethernet port or certain HP JetDirect printserver boxes > but does usually not work with other printserver boxes. > > > Kind Regards > Johannes Meixner From justin.huang at liteon.com Thu Apr 17 11:19:19 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 11:19:19 -0700 Subject: How to access a printer via its DEVICE_URI? Message-ID: <32457-cups.general@news.easysw.com> > Justin Huang wrote: > > I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: > > usb://manufacturer_name/model_name > > > > I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. > > The backend code does this already, but keep in mind that USB support > is highly OS/distro-specific - sometimes it will map to a character > device you can read/write, but often you will need to do a lot more > work. > > > Am I doing my job in the correct direction? > > You would probably be better off running the backend and communicating > via pipes - file descriptor 0 of the backend should be the incoming > side of a pipe to send data to the device, file descriptors 1, 2, and > 4 should go to /dev/null, and file descriptor 3 should be the outgoing > side of a pipe to receive data from the device. > I can let my raster filter receive data from a network connected printer (port 9100) by calling cupsBackChannelRead(). I believe I can do it again for a USB printer. But if I do so, the end-user can monitor the printer only when he or she is making print. What about the other time? A standalone status monitor in Windows is common. Is it rare in CUPS world? From msweet at apple.com Thu Apr 17 12:40:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 17 Apr 2008 12:40:53 -0700 Subject: [cups.general] How to access a printer via its DEVICE_URI? In-Reply-To: <32457-cups.general@news.easysw.com> References: <32457-cups.general@news.easysw.com> Message-ID: <32458-cups.general@news.easysw.com> Justin Huang wrote: >> Justin Huang wrote: >>> I am trying to develop an application for monitoring a specific printer. The printer could be USB connected. Currently, I can enumerate the drivers by using IPP APIs or CUPS APIs. I also know how to get the DEVICE URI string for a certain driver. The DEVICE URI may look like this: >>> usb://manufacturer_name/model_name >>> >>> I am looking for a method to convert this string into another string which represents the physical device, e.g. "/dev/usb/lp01". With the physical device string, I can "open" it and then do bi-directional communication with the printer directly. >> The backend code does this already, but keep in mind that USB support >> is highly OS/distro-specific - sometimes it will map to a character >> device you can read/write, but often you will need to do a lot more >> work. >> >>> Am I doing my job in the correct direction? >> You would probably be better off running the backend and communicating >> via pipes - file descriptor 0 of the backend should be the incoming >> side of a pipe to send data to the device, file descriptors 1, 2, and >> 4 should go to /dev/null, and file descriptor 3 should be the outgoing >> side of a pipe to receive data from the device. >> > > I can let my raster filter receive data from a network connected printer (port 9100) by calling cupsBackChannelRead(). I believe I can do it again for a USB printer. But if I do so, the end-user can monitor the printer only when he or she is making print. What about the other time? A standalone status monitor in Windows is common. Is it rare in CUPS world? That is what command filters are for along with the cached printer attributes (marker-*, printer-state-reasons, etc.) which can convey most kinds of status information to a utility or the standard user programs. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mark.richards at massmicro.com Thu Apr 17 13:08:36 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Thu, 17 Apr 2008 13:08:36 -0700 Subject: [cups.general] HP Color LaserJet 3600 - install fails windows In-Reply-To: <47F2F60B.5060408@massmicro.com> References: <47F2F60B.5060408@massmicro.com> Message-ID: <32459-cups.general@news.easysw.com> I am working a rather frustrating problem with cups and windows xp and a color laser jet 3600 printer. I had posted this to cups bugs, but perhaps it's not the correct place. When we try to install an HP Color LaserJet 3600 (windows xp driver) to a working cups server ("working means that the cups server can print a test page and we've also set up a raw queue for the same printer), windows hangs attempting to "connect" to the printer. I suspect that the driver is treating the cups server as if it's the printer and perhaps expecting something special. There's one error noted in the cups error (debug enabled) log: DNS-SD registration of "HP-3600-hpijs" failed with -65537 Note that from any linux box we can send to the cups server fine and the 3600 prints perfectly. Solution: don't print from windows? Wish we could do that. Your thoughts as to how we might fix this are welcome! /m Here's the rest of the info: yum info cups Installed Packages Name : cups Arch : i386 Epoch : 1 Version: 1.3.6 Release: 2.fc8 Size : 9.9 M Repo : installed uname -A 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux Clients: both linux and windowx xp sp2 Printers: HP Laser Jet 1200 (parallel port): works great from all clients HP color laser jet: * Description:* HP Color LaserJet 3600 + hpijs ppd *Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs *Printer State:* idle, accepting jobs, published. * Device URI:* usb://HP/Color%20LaserJet%203600 Here's the error log (debug enabled): I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6) I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4) I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain) I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp... I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients. I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host. I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default! I [01/Apr/2008:22:46:00 -0400] Full reload is required. I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters... D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW... D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200... E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"... D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache... I [01/Apr/2008:22:46:00 -0400] Full reload complete. I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14... I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15... I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16... I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Report: clients=0 D [01/Apr/2008:22:46:00 -0400] Report: jobs=12 D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0 D [01/Apr/2008:22:46:00 -0400] Report: printers=3 D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744 D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0... D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon() D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain) D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1 D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided. D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok) The cups.conf file reads: # 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 BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic <Location /> Allow 192.168.1.0/24 # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin> # Allow remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> From henri at stmargarets.school.nz Thu Apr 17 16:43:08 2008 From: henri at stmargarets.school.nz (henri) Date: Thu, 17 Apr 2008 16:43:08 -0700 Subject: [cups.general] cups Digest, Vol 51, Issue 23 In-Reply-To: <fc.3b9aca00bfb51a2a3b9aca00bfb51a2a.69bddf@stmargarets.school.nz> References: <fc.3b9aca00bfb51a2a3b9aca00bfb51a2a.69bddf@stmargarets.school.nz> Message-ID: <32460-cups.general@news.easysw.com> We are running Debin LINUX print servers. The reason for using Debian is because PyKota (our print accounting software) is in the global apt repositories. We have about 300 print queues split across 3 or 4 servers. From my experience CUPS is very good at spooling these jobs quickly and intelligently. Our LINUX print servers are not high spec machines. Yet they easily handle the load with regards CPU usage. If someone prints a 3GIG file. Then it takes a while to print. This is because these low spec machines have a 100Mb/s network link. Moving 3GIG of data across this link takes time. I am quite sure, that if we upgraded the connections to these servers to 1000MB/s then we will see 3GIG files arriving at the print server quicker. However, these files still need to be spooled to the printers and these are normally only have 100MB/s network links. Sorry that is not really answering your question. But it may help? > What kind of os would be best fitted for this task? Linux or Solaris ? From marianoaliaga at gmail.com Thu Apr 17 17:26:20 2008 From: marianoaliaga at gmail.com (Mariano Aliaga) Date: Thu, 17 Apr 2008 17:26:20 -0700 Subject: Printing text with ascii control characters Message-ID: <32461-cups.general@news.easysw.com> Hi, I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). How can I print BOTH kind of contents right? Any help would be appreciated. Thanks in advance. From henri at stmargarets.school.nz Thu Apr 17 17:29:37 2008 From: henri at stmargarets.school.nz (henri) Date: Thu, 17 Apr 2008 17:29:37 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <fc.3b9aca00509dc42d3b9aca00509dc42d.69be1f@stmargarets.school.nz> References: <fc.3b9aca00509dc42d3b9aca00509dc42d.69be1f@stmargarets.school.nz> Message-ID: <32462-cups.general@news.easysw.com> > you can use the FilterLimit directive to control how many jobs are > printed Thanks. That explains why I have seen CUP's intelligently handling the jobs. From justin.huang at liteon.com Thu Apr 17 22:33:32 2008 From: justin.huang at liteon.com (Justin Huang) Date: Thu, 17 Apr 2008 22:33:32 -0700 Subject: Unable to open USB device Message-ID: <32463-cups.general@news.easysw.com> > > > > How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? > > We open every USB printer and get the 1284 device ID, which gives us > the make and model. > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? From mike at easysw.com Fri Apr 18 00:18:36 2008 From: mike at easysw.com (Michael Sweet) Date: Fri, 18 Apr 2008 00:18:36 -0700 Subject: Unable to open USB device In-Reply-To: <32463-cups.general@news.easysw.com> References: <32463-cups.general@news.easysw.com> Message-ID: <32464-cups.general@news.easysw.com> Justin Huang wrote: >>> How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? >> We open every USB printer and get the 1284 device ID, which gives us >> the make and model. >> > > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? The CUPS source code (backend/usb-unix.c) shows exactly how we do it. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From kjell.grindalen at nsa.no Fri Apr 18 00:46:20 2008 From: kjell.grindalen at nsa.no (Kjell) Date: Fri, 18 Apr 2008 00:46:20 -0700 Subject: Maximum number of printer queue's Message-ID: <32465-cups.general@news.easysw.com> > Kjell wrote: > > Hello everyone > > > > I have a very general question, how many printer queue's can cups handle > > Can it handle more then 1500 queues? How many of thoose queues can I send data to simultainously? Can I for instance send 4-5000 sheets to thoose queues. > > That depends entirely on the system you use. > > We regularly test configuration with 10000 queues to ensure that CUPS > can scale that large, however actual performance will depend on the > type of printers used, how they are connected, and the CPUs, memory, > and disk you have. > > We used to have an "estimator" page on the easysw.com page which > provided guidelines for CPU, memory, disk, and configuration options. > I'll look at getting this page up on cups.org... > > In the meantime, you'll find that PostScript printers require less > CPU and memory than non-PostScript printers, and you can use the > FilterLimit directive to control how many jobs are printed > simultaneously. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thank you very much for the answer, I would really love to see such an configurator,or some other means of guide to how to size a large installation. A possible large migration project will require me to have some sort of measurement criteria for setting up a linux/unix counterpart to a windows print server Also I am happy to hear that cups is usable for large installation, since the Novell pages claims that cups is only usable for small to medium sized print environment, and hence you should go for iPrint that can support several hundreds(?) of printer queues :-) From b.krumboeck at rewe-group.at Fri Apr 18 01:41:54 2008 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Fri, 18 Apr 2008 01:41:54 -0700 Subject: Socket problem Message-ID: <32466-cups.general@news.easysw.com> > Phil Cowans wrote: > > I'm experiencing problems with CUPS locking up on our network. We have an HP LJ4000 on a JetDirect interface, using the foomatic hpijs driver (we want to be able to do PS->PCL conversion on the server for complex jobs). For some jobs (not necessarily particularly complex ones), the job is accepted but stays on the queue with very little happening. Closer inspection shows the socket://... process using close to 100% CPU. Attaching strace it appears to be looping on reads from the socket which return 0 bytes (EOF?). > > > > Any ideas on how to solve this? > > I've never seen that with our 4000, but then I've never bothered with > the Foomatic hpijs driver. Try the original HP PPD file (you can find > it on cups.org) or the HP LaserJet Series driver that comes with CUPS. > > More than likely the Foomatic driver is doing something that is > causing the HP to throw exceptions (but no data...) > > Another possibility is that you have some bad network gear/cabling, > but try the alternate drivers first. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hello! We have the same problem on several printers and cups servers (1.3.6). But we only see it on big jobs. (example) OS: SuSE Linux 8.2 Printer: HP LaserJet 4200 Driver: HP LaserJet 4200 Foomatic/pxlmono The problem didn't happen until cups 1.3.x Which informations should we collect? regards! Bernd From jsmeix at suse.de Fri Apr 18 02:28:29 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 18 Apr 2008 02:28:29 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <32465-cups.general@news.easysw.com> References: <32465-cups.general@news.easysw.com> Message-ID: <32467-cups.general@news.easysw.com> Hello, On Apr 18 00:46 Kjell wrote (shortened): > Also I am happy to hear that cups is usable for large installation, > since the Novell pages claims that cups is only usable for small > to medium sized print environment, and hence you should go > for iPrint that can support several hundreds(?) of printer > queues :-) Could you provide me an URL where you got this information? I guess it is marketing stuff but it makes a differnce whether iPrint is just offered as "best for big business" or whether CUPS is described to be insufficient for this. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From jsmeix at suse.de Fri Apr 18 03:09:08 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 18 Apr 2008 03:09:08 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> Message-ID: <32468-cups.general@news.easysw.com> Hello, On Apr 18 11:28 Johannes Meixner wrote (shortened): > On Apr 18 00:46 Kjell wrote (shortened): > > Also I am happy to hear that cups is usable for large installation, > > since the Novell pages claims that cups is only usable for small > > to medium sized print environment, and hence you should go > > for iPrint that can support several hundreds(?) of printer > > queues :-) > > Could you provide me an URL where you got this information? I found this document http://www.novell.com/collateral/4621412/4621412.pdf which reads ------------------------------------------------------------------ While CUPS will meet many of the needs of small to medium printing environments, it does not scale to meet the needs of enterprise customers. iPrint, on the other hand, can host hundreds of printers and process substantial amounts of data that CUPS cannot approach. With CUPS, the conversion into the printer-specific format of all data to be printed takes place by default directly on the server. The advantage is that a print client system that does filtering is not necessary; the disadvantage is that the filtering process devours too many resources when a single server must support hundreds of printers. With iPrint, in contrast, the filtering takes place on the client system, but this requires the installation of printer drivers on the client. If you are setting up printing in an enterprise environment, check on iPrint availability before making a final decision. ------------------------------------------------------------------ Is this what you read? If the unconditioned "that CUPS cannot approach" wording was replaced by "that CUPS doesn't approach by default", I would not see a problem because I think the pro and cons are sufficiently described (in such a short text). Of course they don't say explicitely that with CUPS you can use raw queues on the server and do the filtering on the clients if you like while with iPrint you cannot do the filtering on the server so that with iPrint you must install printer driver software on each client system and maintain it for each client system. Perhaps even with raw queues a CUPS server might be slower than an iPrint server - perhaps noticeable only above a certain number of print queues or simultaneously active print jobs - perhaps only with CUPS 1.1 or whatever? Currently I don't have comparison data for this case. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From twaugh at redhat.com Fri Apr 18 03:58:14 2008 From: twaugh at redhat.com (Tim Waugh) Date: Fri, 18 Apr 2008 03:58:14 -0700 Subject: [cups.general] How to retrieve cups job informations on the fly? In-Reply-To: <32451-cups.general@news.easysw.com> References: <32451-cups.general@news.easysw.com> Message-ID: <32469-cups.general@news.easysw.com> On Thu, 2008-04-17 at 10:27 -0700, Jardel Weyrich wrote: > I want to know HOW and what's the BETTER way to get the contents from > the job structure (cups_job_t) in realtime (on the fly). I mean, when > someone in the network uses the printer (through CUPS obviously), I > must "log" as many informations as possible about that (# of pages, # > of copies, colored or not, resolution, paper type, and so on). How about using IPP subscriptions? Perform an IPP-Create-Printer-Subscription request, and periodically perform IPP-Get-Notifications requests. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <https://lists.cups.org/pipermail/cups/attachments/20080418/f864f6bb/attachment.bin> From h.blischke at srz.de Fri Apr 18 04:31:22 2008 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 18 Apr 2008 04:31:22 -0700 Subject: Printing text with ascii control characters In-Reply-To: <32461-cups.general@news.easysw.com> References: <32461-cups.general@news.easysw.com> Message-ID: <32470-cups.general@news.easysw.com> Mariano Aliaga wrote: > Hi, > I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". > The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). > How can I print BOTH kind of contents right? Any help would be appreciated. > > Thanks in advance. Insert into this printer's PPD a line (near the beginning) *cupsFilter: "text/plain 0 -" which causes text files being fed directly to the printer's backend; no filters involved. If your text jobs begin with a unique control sequence, you could even define a "proprietary" document format to distinguish these from ordinary text. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From Rongfeng.Mao at us.sogeti.com Fri Apr 18 05:55:23 2008 From: Rongfeng.Mao at us.sogeti.com (Rongfeng.Mao at us.sogeti.com) Date: Fri, 18 Apr 2008 05:55:23 -0700 Subject: [cups.general] CUPS Java API ? References: <32463-cups.general@news.easysw.com> <32464-cups.general@news.easysw.com> Message-ID: <32471-cups.general@news.easysw.com> Hi Michael, First of all, thanks for all your effort put CUPS all together! I am new leaner to CUPS, currently, we are engaged with a client for java/web based interface to connect to CUPS for scheduling and printing to a retail store, when I do Google search, only find few simple Java sample. Question here is: 1) Is there a place where I can find the full release of CUPS Java API? 2) How can we handle scheduling? For example, print a file at midnight every day. Is this handled by CUPS scheduler itself? If so, where should I look into. 3) Or we have to write it from Java program and schedule it ourselves? Thanks! regrads, Robert Mao, ITIL Principal Consultant Sogeti USA 248-787-7511 Robert.Mao at us.sogeti.com -----Original Message----- From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Michael Sweet Sent: Friday, April 18, 2008 3:19 AM To: cups at easysw.com Subject: Re: [cups.general] Unable to open USB device Justin Huang wrote: >>> How does Linux or CUPS do for mapping the form "usb:/MFG/MDL" to the physical device file "/dev/usb/lpN"? >> We open every USB printer and get the 1284 device ID, which gives us >> the make and model. >> > > Could you show me how to get the 1284 device ID? Are there any system calls or utilities? The CUPS source code (backend/usb-unix.c) shows exactly how we do it. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com _______________________________________________ cups mailing list cups at easysw.com http://lists.easysw.com/mailman/listinfo/cups From marianoaliaga at gmail.com Fri Apr 18 07:40:16 2008 From: marianoaliaga at gmail.com (Mariano Aliaga) Date: Fri, 18 Apr 2008 07:40:16 -0700 Subject: [SOLVED] Printing text with ascii control characters Message-ID: <32472-cups.general@news.easysw.com> Just for the record... I could fix this by modifying the /etc/cups/mime.convs file. I changed: text/plain application/postscript 33 texttopaps to: text/plain application/postscript 33 textonly This way, I use the Postscript driver and can print both types of contents. > Hi, > I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer". > The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers). > How can I print BOTH kind of contents right? Any help would be appreciated. > > Thanks in advance. From msweet at apple.com Fri Apr 18 09:09:42 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 18 Apr 2008 09:09:42 -0700 Subject: [cups.general] Socket problem In-Reply-To: <32466-cups.general@news.easysw.com> References: <32466-cups.general@news.easysw.com> Message-ID: <32473-cups.general@news.easysw.com> Bernd Krumböck wrote: >> Phil Cowans wrote: >>> I'm experiencing problems with CUPS locking up on our network. We have an HP LJ4000 on a JetDirect interface, using the foomatic hpijs driver (we want to be able to do PS->PCL conversion on the server for complex jobs). For some jobs (not necessarily particularly complex ones), the job is accepted but stays on the queue with very little happening. Closer inspection shows the socket://... process using close to 100% CPU. Attaching strace it appears to be looping on reads from the socket which return 0 bytes (EOF?). >>> >>> Any ideas on how to solve this? >> I've never seen that with our 4000, but then I've never bothered with >> the Foomatic hpijs driver. Try the original HP PPD file (you can find >> it on cups.org) or the HP LaserJet Series driver that comes with CUPS. >> >> More than likely the Foomatic driver is doing something that is >> causing the HP to throw exceptions (but no data...) >> >> Another possibility is that you have some bad network gear/cabling, >> but try the alternate drivers first. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > > Hello! > > > We have the same problem on several printers and cups servers (1.3.6). But we only see it on big jobs. > > (example) > OS: SuSE Linux 8.2 > Printer: HP LaserJet 4200 > Driver: HP LaserJet 4200 Foomatic/pxlmono > > The problem didn't happen until cups 1.3.x > Which informations should we collect? The error_log output should be enough for the linuxprinting.org folks to diagnose the problem in Foomatic (i.e. it isn't a CUPS issue, but a driver issue...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 18 09:14:52 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 18 Apr 2008 09:14:52 -0700 Subject: [cups.general] CUPS Java API ? In-Reply-To: <F48BBE60DEFBBB49B0367A43DF8DE57502FDDC52@sgtex03.sogeti.com> References: <32463-cups.general@news.easysw.com> <32464-cups.general@news.easysw.com> <F48BBE60DEFBBB49B0367A43DF8DE57502FDDC52@sgtex03.sogeti.com> Message-ID: <32474-cups.general@news.easysw.com> Rongfeng.Mao at us.sogeti.com wrote: > ... > 1) Is there a place where I can find the full release of CUPS Java API? In CUPS 1.3.x, look in scripting/java. As I mentioned in another posting, this Java code is largely unmaintained and has been dropped from CUPS 1.4.x. > 2) How can we handle scheduling? For example, print a file at midnight > every day. Is this handled by CUPS scheduler itself? If so, where should > I look into. If you want a job to print at midnight, you can use the job-hold-until attribute with the time to print. Keep in mind that the hold time is expressed in UTC and *not* local time. For example, if you are on the US East cost you'd use the following option to print a job at midnight: lp -o job-hold-until=05:00 filename If you want to schedule the generation and printing of a report at midnight, the usual way is to use cron or at to schedule things. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From kjell.grindalen at nsa.no Fri Apr 18 09:15:44 2008 From: kjell.grindalen at nsa.no (Kjell Grindalen) Date: Fri, 18 Apr 2008 09:15:44 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> Message-ID: <32475-cups.general@news.easysw.com> Page 7 of this pdf document on migration http://www.novell.com/collateral/4621412/4621412.pdf Mvh Kjell Grindalen -----Original Message----- From: Johannes Meixner [mailto:jsmeix at suse.de] Sent: 18. april 2008 11:28 To: Kjell Grindalen Cc: cups at easysw.com Subject: Re: [cups.general] Maximum number of printer queue's Hello, On Apr 18 00:46 Kjell wrote (shortened): > Also I am happy to hear that cups is usable for large installation, > since the Novell pages claims that cups is only usable for small > to medium sized print environment, and hence you should go > for iPrint that can support several hundreds(?) of printer > queues :-) Could you provide me an URL where you got this information? I guess it is marketing stuff but it makes a differnce whether iPrint is just offered as "best for big business" or whether CUPS is described to be insufficient for this. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From dave at nowdata.com Fri Apr 18 10:15:09 2008 From: dave at nowdata.com (dave) Date: Fri, 18 Apr 2008 10:15:09 -0700 Subject: cannot extract the embedded font Message-ID: <32476-cups.general@news.easysw.com> I'm using CUPS to convert an html page to a pdf document on MAC 10.4 and when opened on a PC, I get this error: Cannot extract the embedded font 'XXXXX+Arial-BoldMT'. What can be done? Can font embedding be disabled? Thank you, Dave From rugenl at missouri.edu Fri Apr 18 19:31:33 2008 From: rugenl at missouri.edu (Len Rugen) Date: Fri, 18 Apr 2008 19:31:33 -0700 Subject: Cups client question Message-ID: <32477-cups.general@news.easysw.com> I'm trying to evaluate alternatives to IBM's InfoPrint manager. We are printing from multiple hosts, Solars, Linux and Windows. With InfoPrint, we do not have to define the printers to each host, the application learns the desired printer name from the user, so the only administration is on the InfoPrint server. I can't seem to determine if CUPS printers would have to be pre-defined to every host or just to the centeral server. Which is it? Thanks From Norm.Jacobs at Sun.COM Fri Apr 18 21:30:30 2008 From: Norm.Jacobs at Sun.COM (Norm Jacobs) Date: Fri, 18 Apr 2008 21:30:30 -0700 Subject: [cups.general] Cups client question In-Reply-To: <32477-cups.general@news.easysw.com> References: <32477-cups.general@news.easysw.com> Message-ID: <32478-cups.general@news.easysw.com> CUPS client software can be pointed at a central print server by adding an entry to /etc/cups/client.conf or ~/.cups/client.conf on your client systems or user's home directories. See client.conf(5) for more information. -Norm Len Rugen wrote: > I'm trying to evaluate alternatives to IBM's InfoPrint manager. > > We are printing from multiple hosts, Solars, Linux and Windows. With InfoPrint, we do not have to define the printers to each host, the application learns the desired printer name from the user, so the only administration is on the InfoPrint server. > > I can't seem to determine if CUPS printers would have to be pre-defined to every host or just to the centeral server. Which is it? > > Thanks > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From pchapuis1 at gmail.com Sat Apr 19 05:19:57 2008 From: pchapuis1 at gmail.com (fifou) Date: Sat, 19 Apr 2008 05:19:57 -0700 Subject: Printing to Xerox with Xerox Standard Accountingenabled Message-ID: <32479-cups.general@news.easysw.com> > On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > > Standard Accounting enabled. Windows users get a prompt when they > > print to enter a group number (in my case, 50), so that total > > printed pages can be tracked by group. I get no such prompt with > > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > > 016-757 error (invalid password). I have tried adding things to the > > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > > creating a user with the name of the group and printing with that, > > but nothing works. Does anyone have any insight? > > I can suggest you something that **may** be illegal or not, but that > is probably at least not in accordance with your company's IT rules. > So decide for yourself if you want to do it this way : > > Simply install the printer's standard PPD file on your CUPS server, > then direct all printing for this queue to socket://192.168.0.22:9100 > > This particular setup worked perfectly the last time I've checked, > but it was for a different brand of printers (I won't give more > details). > > NB : It may not work if your print admin has correctly configured the printer > to disable unwanted protocols, or if there's some firewalling between > your computer and the printer, or if your printer is smarter than the > ones I've checked this "feature" on, or for any other reason. As always > YMMV, but I certify it worked for me. > > hth > > Jerome Alet > If XSA Xerox Standard Accoutning, is turned on on the device, you have to add header at the beginning of the PostScript file. This can be done with a filter. In the PPD you add the name of the filter and into this one you add specific command known by Xerox device. To get these commands, the best way is to do an output file from Windows driver or by connecting to Xerox Web site you can get PDL guide. http://www.office.xerox.com/support/dctips/dc_print.html Hope this will help Phil From franz.pfoertsch at brose.com Sun Apr 20 05:08:01 2008 From: franz.pfoertsch at brose.com (franz.pfoertsch.brose) Date: Sun, 20 Apr 2008 05:08:01 -0700 Subject: Printing to Xerox with Xerox Standard Accountingenabled Message-ID: <32480-cups.general@news.easysw.com> > > On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote: > > > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox > > > Standard Accounting enabled. Windows users get a prompt when they > > > print to enter a group number (in my case, 50), so that total > > > printed pages can be tracked by group. I get no such prompt with > > > the Linux/CUPS/xerox ppd file. I only get a series of beeps and a > > > 016-757 error (invalid password). I have tried adding things to the > > > url (ipp://192.168.0.22/ipp/?password=50, etc.). I have tried > > > creating a user with the name of the group and printing with that, > > > but nothing works. Does anyone have any insight? > > > > I can suggest you something that **may** be illegal or not, but that > > is probably at least not in accordance with your company's IT rules. > > So decide for yourself if you want to do it this way : > > > > Simply install the printer's standard PPD file on your CUPS server, > > then direct all printing for this queue to socket://192.168.0.22:9100 > > > > This particular setup worked perfectly the last time I've checked, > > but it was for a different brand of printers (I won't give more > > details). > > > > NB : It may not work if your print admin has correctly configured the printer > > to disable unwanted protocols, or if there's some firewalling between > > your computer and the printer, or if your printer is smarter than the > > ones I've checked this "feature" on, or for any other reason. As always > > YMMV, but I certify it worked for me. > > > > hth > > > > Jerome Alet > > > > If XSA Xerox Standard Accoutning, is turned on on the device, you have to add header at the beginning of the PostScript file. This can be done with a filter. In the PPD you add the name of the filter and into this one you add specific command known by Xerox device. > To get these commands, the best way is to do an output file from Windows driver or by connecting to Xerox Web site you can get PDL guide. > http://www.office.xerox.com/support/dctips/dc_print.html > Hope this will help > Phil > I build something similar to use the additional features of a Canon iR multifuntion devices. I am using the job jcl features of cups which is available since cups 1.1.23 http://www.pfoertsch.net/wiki/index.php/Main/CuPs I looked at pdl-description at http://www.office.xerox.com/support/dctips/dc07cc0430.pdf And you have to to something like the following lines the the ppd of the workcenter the solution looks very static but there are some specialist available on the net ... *% === Job Control Language == *JCLBegin: "<1B>%-12345X at PJL JOB<0A>" *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = Postscript <0A>" *JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X" *% Base JCL Job Attribute option *JCLOpenUI JCLJobAttr: PickOne *OrderDependency: 10 JCLSetup *JCLJobAttr *DefaultJCLJobAttr: None *JCLJobAttr None/No mailbox: "" *JCLJobAttr Patricia/Patricia: "@PJL SET JOBATTR=@JOAU=Patricia<OA>@PJL SET JOBATTR=@JOAP=<0A> @PJL SET JOBATTR=@DAID=<0A>" *JCLJobAttr Shawn/Shawn: "@PJL SET JOBATTR=@JOAU=Shawn <OA>@PJL SET JOBATTR=@JOAP=50<0A>@PJL SET JOBATTR=”@DAID=50”<0A>" *JCLCloseUI: *JCLJobAttr From henri at stmargarets.school.nz Sun Apr 20 21:06:38 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 20 Apr 2008 21:06:38 -0700 Subject: [cups.general] Cups client question In-Reply-To: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> References: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> Message-ID: <32481-cups.general@news.easysw.com> I am currently adding features to PrinterSetup, so that it will support automatic print queue creation on both clients and servers from one centrally managed location. I will post a message back to this list, once version 0025 is released with the required features to support this kind of centralized management. I expect that before version 0030 is released, there will be a Mac OS X client component and this will be bundled with PrinterSetup. I hope this helps. If you are looking for a solution for an operating system other then Mac OS X, then you are welcome to help develop a PrinterSetup update schedular for the operating systems you need supported. I am happy to help. It would be great to have a free, open source, cross platform, centrally managed print queue distribution system. I would be happy to have some help. Details on PrinterSetup are available from : http://www.lucidsystems.org/printingworks/printersetup/ Please keep in mind that PrinterSetup is still in an alpha stage of development. > I can't seem to determine if CUPS printers would have to be pre- > defined to every host or just to the centeral server. Which is it? From jaap at gordijn.org Mon Apr 21 02:14:36 2008 From: jaap at gordijn.org (gordijn) Date: Mon, 21 Apr 2008 02:14:36 -0700 Subject: Run script if print job starts Message-ID: <32482-cups.general@news.easysw.com> Hi, I am using CUPS and I want to accomplish the following: - if a print job starts, I want to invoke a script (the script will power on my printer). Is there a hook in cups that I can use for such a script? Best regards, -- Jaap Gordijn From martin.bisanz at chello.at Mon Apr 21 02:19:29 2008 From: martin.bisanz at chello.at (Martin Bisanz) Date: Mon, 21 Apr 2008 02:19:29 -0700 Subject: Problem printing PDF's Message-ID: <32483-cups.general@news.easysw.com> 1st post here so please go easy on me, I'll try to supply you with as much information as possible. We're running CUPS 1.2.7 here. The printer is a HP LaserJet5. The ppd used is the one for HP LaserJet Series PCL 4/5 CUPS v1.2. Testpage prints just fine on A4. Printing the PDF's works too, but there are troubles, because eventhough the PDF is A4 in size, Cups sends it to the printer as Letter, it's just one press of a button to print it anyway on A4, but this installation of Cups runs on a PBX and should print faxes and it would be nice if it did that without the need to press a button on the printer. The command CUPS gets for printing from the PBX is correct. Now I've tried scaling the pdf with fitplot to print it on A4, still the same behaviour. I've tried every printing option for PDF's there is, maybe I've done something wrong. I even tried to print a PDF that has got exactly the size of the imageable area on an A4 page, because I thought that maybe the margins are the culprit, still the same. I've turned on debugging, to see what happens, but I don't really know what to do with the messages. Maybe someone else knows better than me, well that's why I came here in the first place. This is the log from the PDF which is exactly 7.76x10.69in big and thus should fit perfectly on an A4 page within the margins. I would like to add that there was a whole bunch of these: "Discarding unused printer-state-changed event..." in the log which I've deleted because It's already long enough. [18/Apr/2008:17:30:00 +0200] cupsdAcceptClient: 9 from localhost (Domain) D [18/Apr/2008:17:30:00 +0200] cupsdReadClient: 9 POST /printers/faxprinter HTTP/1.1 D [18/Apr/2008:17:30:00 +0200] cupsdAuthorize: No authentication data provided. D [18/Apr/2008:17:30:00 +0200] Print-Job ipp://localhost/printers/faxprinter D [18/Apr/2008:17:30:00 +0200] print_job: auto-typing file... D [18/Apr/2008:17:30:00 +0200] print_job: request file type is application/pdf. D [18/Apr/2008:17:30:00 +0200] add_job: requesting-user-name="root" I [18/Apr/2008:17:30:00 +0200] Adding start banner page "none" to job 42. D [18/Apr/2008:17:30:00 +0200] Discarding unused job-created event... I [18/Apr/2008:17:30:00 +0200] Adding end banner page "none" to job 42. I [18/Apr/2008:17:30:00 +0200] Job 42 queued on "faxprinter" by "root". D [18/Apr/2008:17:30:00 +0200] Job 42 hold_until = 0 D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] job-sheets=none,none D [18/Apr/2008:17:30:00 +0200] banner_page = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[0]="faxprinter" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[1]="42" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[2]="root" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[3]="Testseite.pdf" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[4]="1" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[5]="PageRegion=Letter PageSize=A4 InputSlot=Default media=A4 job-uuid=urn:uuid:e231dc4f-4e5d-3d0c-731e-8ea38586adb9" D [18/Apr/2008:17:30:00 +0200] [Job 42] argv[6]="/var/spool/cups/d00042-001" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[1]="CUPS_DATADIR=/usr/share/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[6]="CUPS_SERVERROOT=/etc/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[7]="CUPS_STATEDIR=/var/run/cups" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[9]="SERVER_ADMIN=root at VoipPBX3" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[10]="SOFTWARE=CUPS/1.2.7" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[11]="TMPDIR=/var/spool/cups/tmp" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[12]="TZ=CET" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[13]="USER=root" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[15]="CUPS_ENCRYPTION=IfRequested" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[16]="IPP_PORT=631" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[17]="CHARSET=utf-8" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[18]="LANG=C" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[19]="PPD=/etc/cups/ppd/faxprinter.ppd" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[20]="RIP_MAX_CACHE=8m" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[21]="CONTENT_TYPE=application/pdf" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[22]="DEVICE_URI=socket://192.168.120.10:9100" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[23]="PRINTER=faxprinter" D [18/Apr/2008:17:30:00 +0200] [Job 42] envp[24]="FINAL_CONTENT_TYPE=printer/faxprinter" I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pdftops (PID 368) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pstops (PID 369) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/pstoraster (PID 370) for job 42. I [18/Apr/2008:17:30:00 +0200] Started filter /usr/lib/cups/filter/rastertohp (PID 371) for job 42. I [18/Apr/2008:17:30:00 +0200] Started backend /usr/lib/cups/backend/socket (PID 372) for job 42. D [18/Apr/2008:17:30:00 +0200] Discarding unused job-state event... D [18/Apr/2008:17:30:00 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [18/Apr/2008:17:30:00 +0200] [Job 42] Running /usr/bin/gs-esp -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - D [18/Apr/2008:17:30:00 +0200] [Job 42] START 0 1397176 113672 1300844 11688 true 511 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END PROCS 1 1417272 130792 1300844 13056 true 629 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_std_e.ps 2 1437368 140740 1300844 14432 true 638 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_il1_e.ps 3 1457464 146787 1300844 14432 true 639 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FONTDIR/ENCS 3 1457464 146939 1300844 14432 true 641 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END DEVS 5 1461168 167406 1300844 14432 true 645 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END STATD 6 1481264 178525 1300844 16044 true 650 3 <0> E [18/Apr/2008:17:30:00 +0200] [Job 42] pdftops-options: -cfg /etc/cups/pdftops.conf D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] END GS_FONTS 82 1521456 216155 1300844 16044 true 698 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END BASIC COLOR 83 1521456 224009 1300844 16044 true 713 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END LEVEL 1 COLOR 84 1541552 229119 1300844 16044 true 714 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END IMAGE 85 1541552 232862 1300844 16044 true 719 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_btokn.ps 86 1541552 236985 1300844 16044 true 722 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps1.ps 86 1541552 238738 1300844 16044 true 724 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps2.ps 87 1541552 241191 1300844 16044 true 725 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_type1.ps 88 1541552 246128 1300844 16044 true 732 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_lev2.ps 93 1561648 266169 1396944 112540 true 738 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] BEGIN RESOURCES 93 1561648 268305 1396944 112540 true 738 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END CATEGORY 94 1561648 269761 1396944 112696 true 739 5 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GENERIC 95 1591584 287362 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FIXED 96 1591584 292741 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END MISC 96 1591584 297171 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END ENCODING 97 1591584 298961 1396944 112696 true 741 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_resmp.ps 98 1611680 311571 1396944 112696 true 745 3 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_resst.ps 99 1611680 321861 1396944 112696 true 745 3 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_res.ps 99 1611680 319776 1396944 112696 true 745 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_typ42.ps 100 1631776 323475 1396944 112696 true 748 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidfn.ps 101 1631776 335857 1396944 112696 true 760 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidcm.ps 103 1641616 352215 1396944 112696 true 760 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_fntem.ps 105 1701904 381419 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidtt.ps 107 1701904 387672 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cidfm.ps 107 1701904 388857 1396944 112792 true 762 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cmap.ps 109 1701904 395239 1396944 112792 true 766 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_setpd.ps 110 1722000 410062 1396944 112792 true 766 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_typ32.ps 111 1722000 411134 1396944 112792 true 764 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_frsd.ps 112 1722000 411855 1396944 112792 true 764 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_ll3.ps 113 1742096 431878 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mex_e.ps 114 1742096 434109 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mro_e.ps 115 1742096 434765 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_pdf_e.ps 115 1742096 435425 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_wan_e.ps 116 1742096 439162 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_ops.ps 117 1742096 448258 1396944 112792 true 765 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_l2img.ps 118 1742096 449953 1396944 112792 true 768 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_rbld.ps 118 1762192 455780 1396944 112792 true 780 3 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_base.ps 120 1762192 464122 1396944 112792 true 982 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_draw.ps 122 1802384 493081 1396944 112792 true 982 4 <0> D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] Connected to 192.168.120.10:9100 (IPv4)... D [18/Apr/2008:17:30:00 +0200] [Job 42] backendRunLoop(print_fd=0, device_fd=4, use_bc=1) D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_font.ps 128 1822480 515338 1396944 113188 true 983 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_main.ps 130 1842576 531915 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] pdf_sec.ps 131 1842576 537597 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_css_e.ps 132 1842576 538465 1396944 113188 true 988 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_cff.ps 133 1862672 558382 1396944 113188 true 990 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_mgl_e.ps 134 1862672 559127 1396944 113188 true 990 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_agl.ps 136 1915816 606405 1396944 113188 true 991 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_ttf.ps 139 1980856 667318 1396944 113188 true 1021 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_icc.ps 140 1980856 670892 1396944 113188 true 1022 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dps.ps 141 1980856 672437 1396944 113188 true 1035 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_dpnxt.ps 142 2000952 676684 1396944 113188 true 1052 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_epsf.ps 143 2000952 679990 1396944 113188 true 1064 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_fapi.ps 143 2000952 682264 1396944 113188 true 1064 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_pdfwr.ps 145 2021048 699278 1396944 114750 true 1094 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END INITFILES 146 2021048 702853 1396944 114750 true 1121 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category Decoding D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource Unicode ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource StandardEncoding ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource Latin1 ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category Decoding D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category CMap D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource 90ms-RKSJ-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource 90ms-RKSJ-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource ETen-B5-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource ETen-B5-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource GBK-EUC-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource GBK-EUC-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSC-Johab-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSC-Johab-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSCms-UHC-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource KSCms-UHC-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniCNS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniCNS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniGB-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniGB-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniHojo-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniJIS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniJIS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniKS-UCS2-H ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource UniKS-UCS2-V ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category CMap D [18/Apr/2008:17:30:00 +0200] [Job 42] Starting static resources for category ColorSpace D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultGray ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultRGB ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Static resource DefaultCMYK ignored with COMPILE_INITS=0. D [18/Apr/2008:17:30:00 +0200] [Job 42] Completting static resources for category ColorSpace D [18/Apr/2008:17:30:00 +0200] [Job 42] gs_stres.ps 150 2121528 795136 1396944 114750 true 1122 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END STATIC RESOURCES 151 2121528 795156 1396944 114750 true 1122 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] ./Fontmap 151 2121528 796801 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/cups/fonts/Fontmap 152 2121528 798878 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/8.15/lib/Fontmap 152 2121528 800972 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/8.15/Resource/Fontmap 155 2201912 849016 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/gs-esp/fonts/Fontmap 156 2201912 851107 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /var/lib/defoma/gs.d/dirs/fonts/Fontmap 156 2201912 853206 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/cups/fonts/Fontmap 158 2222008 866878 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/share/ghostscript/fonts/Fontmap 158 2222008 868962 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] /usr/local/lib/ghostscript/fonts/Fontmap 159 2222008 871062 1396944 115544 true 1123 4 <1> D [18/Apr/2008:17:30:00 +0200] [Job 42] END FONTS 159 2222008 873183 1396944 115544 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Subtractive gray mapping not implementedSubtractive gray mapping not implementedDEBUG2: cups_open(0x8601dc4) D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] END DEVICE 173 2543544 1193083 1396196 114796 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END CONFIG 174 2543544 1193221 1396196 114796 true 1123 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 850, height = 1100 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 0.000 0.000 0.000 0.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -0.000 1100.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:00 +0200] [612.0 792.0] D [18/Apr/2008:17:30:00 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] /.LockSafetyParams D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Updating PageSize to [612 792]... D [18/Apr/2008:17:30:00 +0200] [Job 42] size = Letter D [18/Apr/2008:17:30:00 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Reallocating memory, [612 792] = 800x1000 pixels... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 800, height = 1000 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1050.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] END INIT 179 2583736 1233247 1436388 144308 true 1133 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GLOBAL 180 2583736 1236659 1436388 144714 false 1132 4 <0> D [18/Apr/2008:17:30:00 +0200] [Job 42] END GC 190 2295632 804106 1436388 144554 false 1119 3 <0> D [18/Apr/2008:17:30:00 +0200] cupsdCloseClient: 9 D [18/Apr/2008:17:30:00 +0200] [Job 42] Page = 595x842; 18,36 to 577,806 D [18/Apr/2008:17:30:00 +0200] [Job 42] slow_collate=0, slow_duplex=0, slow_order=0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_comments - %!PS-Adobe-3.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] %!PS-Adobe-3.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%Creator: xpdf/pdftops 3.01 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%LanguageLevel: 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%DocumentSuppliedResources: (atend) D [18/Apr/2008:17:30:00 +0200] [Job 42] %%DocumentMedia: plain 595 841 0 () () D [18/Apr/2008:17:30:00 +0200] [Job 42] %%BoundingBox: 0 0 595 841 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%Pages: 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] %%EndComments D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_prolog - %%BeginDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] Before copy_setup - %%BeginSetup D [18/Apr/2008:17:30:00 +0200] [Job 42] Before page loop - %%Page: 1 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] Copying page 1... D [18/Apr/2008:17:30:00 +0200] [Job 42] pagew = 559.0, pagel = 770.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] bboxw = 595, bboxl = 842 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageLeft = 18.0, PageRight = 577.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageTop = 806.0, PageBottom = 36.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageWidth = 595.0, PageLength = 842.0 D [18/Apr/2008:17:30:00 +0200] [Job 42] runEPS: Normal DSC D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Header D [18/Apr/2008:17:30:00 +0200] [Job 42] << /EPSF 0 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Creator D [18/Apr/2008:17:30:00 +0200] [Job 42] << /Creator (xpdf/pdftops 3.01) /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /For D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /For (\(root\)) >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Title D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /Title (\(Testseite.pdf\)) >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /Pages D [18/Apr/2008:17:30:00 +0200] [Job 42] << /NumPages 0 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /BoundingBox D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /BeginDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] **** DSC comment: /EndDefaults D [18/Apr/2008:17:30:00 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:00 +0200] [595.0 842.0] D [18/Apr/2008:17:30:00 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:00 +0200] [Job 42] 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:00 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:00 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:00 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Reallocating memory, [595 842] = 776x1069 pixels... D [18/Apr/2008:17:30:00 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:00 +0200] [Job 42] true D [18/Apr/2008:17:30:00 +0200] [Job 42] -device- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:00 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:00 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:00 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:00 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:00 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsMediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsMediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 776x1069 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 776, height = 1069 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 100 100 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 1.389 0.000 0.000 -1.389 -25.000 1119.444 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsColorOrder D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 3 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsColorSpace D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] /cupsCompression D [18/Apr/2008:17:30:01 +0200] [300 300] D [18/Apr/2008:17:30:01 +0200] [Job 42] /HWResolution D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsColorOrder to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsColorSpace to 3... D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting cupsCompression to 2... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 2329x3208 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [595.0 842.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] /Duplex D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [595 842]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = A4 D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [595 842] = 2329x3208 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] false D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2329, height = 3208 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 595 842 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3358.333 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] Checking. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Merging. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Selecting. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Constructing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Putting. D [18/Apr/2008:17:30:01 +0200] [612.0 792.0] D [18/Apr/2008:17:30:01 +0200] [Job 42] /.MediaSize D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /MediaPosition D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaDestination D [18/Apr/2008:17:30:01 +0200] [Job 42] 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] /%MediaSource D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Setting MediaPosition to 0... D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] Updating PageSize to [612 792]... D [18/Apr/2008:17:30:01 +0200] [Job 42] size = Letter D [18/Apr/2008:17:30:01 +0200] [Job 42] margins[] = [ 0.250000 0.500000 0.250000 0.500000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Reallocating memory, [612 792] = 2400x3000 pixels... D [18/Apr/2008:17:30:01 +0200] [Job 42] cache_size = 8388608 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Result of putting. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] Installing. D [18/Apr/2008:17:30:01 +0200] [Job 42] true D [18/Apr/2008:17:30:01 +0200] [Job 42] -device- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Finishing. D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] -mark- D [18/Apr/2008:17:30:01 +0200] [Job 42] -dict- D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /Page D [18/Apr/2008:17:30:01 +0200] [Job 42] << /PageNum 1 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /PageBoundingBox D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /PageOrientation D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- /PageOrientation 0 >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 1 pages... D [18/Apr/2008:17:30:01 +0200] PID 369 (/usr/lib/cups/filter/pstops) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] cups_print_chunked - flip = 0, height = 3000 D [18/Apr/2008:17:30:01 +0200] Discarding unused job-progress event... D [18/Apr/2008:17:30:01 +0200] [Job 42] StartPage... D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaClass = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaColor = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaType = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] OutputType = "" D [18/Apr/2008:17:30:01 +0200] [Job 42] AdvanceDistance = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] AdvanceMedia = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Collate = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] CutMedia = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] ImagingBoundingBox = [ 18 36 594 756 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] InsertSheet = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Jog = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] LeadingEdge = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Margins = [ 18 36 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] ManualFeed = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaPosition = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MediaWeight = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] MirrorPrint = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] NegativePrint = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] NumCopies = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] Orientation = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] OutputFaceUp = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] Separations = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] TraySwitch = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] Tumble = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsWidth = 2400 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsHeight = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsMediaType = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBytesPerLine = 300 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsCompression = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 140 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 140 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 45 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 49 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 50 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 34 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 34 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 35 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 98 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 98 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 97 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 93 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 93 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 96 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 95 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 99 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 99 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 101 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 88 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 90 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 89 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 87 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 86 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 86 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->header.Duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cups->page = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD = 0x8693928 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsPPD->flip_duplex = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] width = 2400, height = 3000 D [18/Apr/2008:17:30:01 +0200] [Job 42] PageSize = [ 612 792 ], HWResolution = [ 300 300 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] HWMargins = [ 18.000 36.000 18.000 36.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3150.000 ] D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /Pages D [18/Apr/2008:17:30:01 +0200] [Job 42] << /NumPages 1 /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /BoundingBox D [18/Apr/2008:17:30:01 +0200] [Job 42] << /BoundingBox [0 0 595 841] /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] **** DSC comment: /EOF D [18/Apr/2008:17:30:01 +0200] [Job 42] << /DSC_struct -dsc_data_struct- >> D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[0] = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsEncodeLUT[65535] = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] num_components = 1, depth = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsColorSpace = 3, cupsColorOrder = 0 D [18/Apr/2008:17:30:01 +0200] [Job 42] cupsBitsPerPixel = 1, cupsBitsPerColor = 1 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_gray = 1, dither_grays = 2 D [18/Apr/2008:17:30:01 +0200] [Job 42] max_color = 0, dither_colors = 0 D [18/Apr/2008:17:30:01 +0200] PID 370 (/usr/lib/cups/filter/pstoraster) exited with no errors. D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] PID 371 (/usr/lib/cups/filter/rastertohp) exited with no errors. D [18/Apr/2008:17:30:01 +0200] PID 368 (/usr/lib/cups/filter/pdftops) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 85 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Read 2255 bytes of print data... D [18/Apr/2008:17:30:01 +0200] [Job 42] Wrote 2255 bytes of print data... D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] PID 372 (/usr/lib/cups/backend/socket) exited with no errors. D [18/Apr/2008:17:30:01 +0200] [Job 42] File 0 is complete. D [18/Apr/2008:17:30:01 +0200] Discarding unused printer-state-changed event... D [18/Apr/2008:17:30:01 +0200] Discarding unused job-completed event... D [18/Apr/2008:17:30:02 +0200] Unloading job 42... From alet at librelogiciel.com Mon Apr 21 02:25:34 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Mon, 21 Apr 2008 02:25:34 -0700 Subject: [cups.general] Run script if print job starts In-Reply-To: <32482-cups.general@news.easysw.com> References: <32482-cups.general@news.easysw.com> Message-ID: <32484-cups.general@news.easysw.com> On Mon, Apr 21, 2008 at 02:14:36AM -0700, gordijn wrote: > Hi, > > I am using CUPS and I want to accomplish the following: > - if a print job starts, I want to invoke a script (the script will power on my printer). > Is there a hook in cups that I can use for such a script? You can write a script which will subscribe through IPP to the appropriate event to be IPP notified when a job enters the print queue, and then use whatever method to wake your printer up. If you've got the script to wake the printer up, the easiest way for you is probably to use Tea4CUPS though, available under the terms of the GNU GPL from http://www.pykota.com, because you will only need 5 minutes to do what you want with it. hth Jerome Alet From beatyrm at auburn.edu Mon Apr 21 08:20:00 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Mon, 21 Apr 2008 08:20:00 -0700 Subject: cups + Samba on Solaris 10 x86 Problem printingwith Banner Message-ID: <32485-cups.general@news.easysw.com> > Robert Beaty wrote: > > I will detail my setup first then describe the problem and try and provide information about logging. > > > > Solaris 10 x86 > > CUPS 1.2.7 CSW pre-compiled pkg > > Samba 3.0.28a - Compiled locally > > CUPS 1.2.x + raw queues + banner (or just multiple) files does not > work. You need CUPS 1.3.x to get support for raw queues with banner > files. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Ok, well that is good to know. I'll get a new version of CUPS compiled and running and hope for the best. Thanks for the information. -Robert From mark.coolen at gmail.com Mon Apr 21 12:16:44 2008 From: mark.coolen at gmail.com (Mark Coolen) Date: Mon, 21 Apr 2008 12:16:44 -0700 Subject: Force linux user when printing from XP Message-ID: <32486-cups.general@news.easysw.com> I'm trying to set up faxing from XP to cups using HPLIP with a HP Laserjet 3050. It works fine using the Microsoft Image Writer postscript driver except that the windows username (I'm in am Active Directory domain environment) has to be the same as the linux user hp-sendfax is run as for hp-sendfax to pick up the printed document (I'm using NX to run hp-sendfax on the XP machines.) My question is: is there any way for me to have CUPS think that a certain user owns the print job (i.e. office) regardless of the actual windows login name? Hp-sendfax picks up the fax pages based on the username associated with the cups print job. Mark Coolen From w.jardel at gmail.com Mon Apr 21 16:37:23 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 16:37:23 -0700 Subject: How to retrieve cups job informations on the fly? Message-ID: <32487-cups.general@news.easysw.com> > Hi there. > > I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). > > How could I get these informations in realtime? using filters? jobs.cache? spool? > > Let me know if you don't completely understand what I want to do, and I'll try to explain it better. > > Thank you in advance, > Jardel Is there a way to delete this message? It's duplicated From w.jardel at gmail.com Mon Apr 21 16:38:17 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 16:38:17 -0700 Subject: How to retrieve cups job informations in realtime? Message-ID: <32488-cups.general@news.easysw.com> > Hi there. > > I want to know HOW and what's the BETTER way to get the contents from the job structure (cups_job_t) in realtime (on the fly). I mean, when someone in the network uses the printer (through CUPS obviously), I must "log" as many informations as possible about that (# of pages, # of copies, colored or not, resolution, paper type, and so on). > > How could I get these informations in realtime? using filters? jobs.cache? spool? > > Let me know if you don't completely understand what I want to do, and I'll try to explain it better. > > Thank you in advance, > Jardel The best way I found is using subscriptions. From jsmeix at suse.de Tue Apr 22 05:01:01 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 22 Apr 2008 05:01:01 -0700 Subject: [cups.general] Maximum number of printer queue's In-Reply-To: <Pine.LNX.4.64.0804181148590.4793@nelson.suse.de> References: <32465-cups.general@news.easysw.com> <Pine.LNX.4.64.0804181123290.4324@nelson.suse.de> <Pine.LNX.4.64.0804181148590.4793@nelson.suse.de> Message-ID: <32489-cups.general@news.easysw.com> Hello, On Apr 18 12:08 Johannes Meixner wrote (shortened): > Perhaps even with raw queues a CUPS server might be slower > than an iPrint server - perhaps noticeable only above a > certain number of print queues or simultaneously active > print jobs - perhaps only with CUPS 1.1 or whatever? > Currently I don't have comparison data for this case. CUPS 1.1 (which we provide in the Suse Linux Enterprise Server) and CUPS 1.2 use the system call select(2) which cannot handle more then 1024 file descriptors. For the consequence (here it seems for CUPS 1.2) see http://www.cups.org/newsgroups.php?s1+gcups.general+v2+T0+QWhyhasnothingchanged%3F ------------------------------------------------------------ Right now the scheduler has 3 file descriptors open while a job is printing (backend pipe, back-channel pipe, stderr pipe) which limits the maximum number of simultaneously printing jobs to about 230 with the typical 1024 file descriptor limit. ------------------------------------------------------------ As far as I remember CUPS 1.1 has no back-channel file descriptor so that with CUPS 1.1 about 300 simultaneously printing jobs should be possible. Furthermore - if I understand it correctly - the select limit applies both for incomming jobs and for active printing jobs. I.e. the total number of simultaneously processed jobs (regardless if incomming or printing) is limited by one single select limit. Therefore at least for CUPS 1.1 and 1.2 there is a certain hard limit in the underlying Linux operating system why CUPS cannot "scale to meet the needs of enterprise customers" (e.g. print 500 jobs and simultaneously get 500 new jobs). Since CUPS 1.3 the scheduler uses poll(), epoll(), or /dev/kqueue instead of select() when possible. See http://www.cups.org/str.php?L1261 for background information. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From thomasstather at aol.com Tue Apr 22 05:56:11 2008 From: thomasstather at aol.com (Thomas) Date: Tue, 22 Apr 2008 05:56:11 -0700 Subject: cupsd.conf Message-ID: <32490-cups.general@news.easysw.com> Hi gyus I just installed CUPS (i want to create a linux-only printserver). The Server is running within the subnet 84 xxx.xxx.84.231 and the clients which should be allowed to connect to the server, as well as the printers are located in the subnets 88-91 My current problem is that i have HPLIP installed (there are almost only HP Printers in my infrastructure) and when i connect to the CUPS-GUI it tells me that there are 2 new printers found. But these printers are only in the subnet where the server is installed (84). How can i manage this to work für the 88-91 subnets as well? Greets Thomas from Germany From rmueller at esu3.org Tue Apr 22 06:41:48 2008 From: rmueller at esu3.org (Rex Mueller) Date: Tue, 22 Apr 2008 06:41:48 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32491-cups.general@news.easysw.com> I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? The script builds the printer file, I still appear to have an issue because it does not know what model script/ppd to use to filter through. Any insight appreciated. ############################################## #!/bin/sh for qname in `/usr/local/bin/lpm |awk -F: '{print $1}' ` do echo $qname for ipaddr in `grep PERIPH= /var/spool/lp/interface/$qname |grep -v MOD EL |awk -F'=' '{print $2}' ` do echo $qname $ipaddr done done outfile=$1 if [ -z "$outfile" ] then echo "USAGE: hp2cups <output file>" exit 1 else > $outfile fi /usr/sam/lbin/lpmgr | while read printnfo do isremote=`echo $printnfo \ | cut -d":" -f3 \ | cut -d"," -f1` if [ "$isremote" = "yes" ] then name=`echo $printnfo | cut -d":" -f1` remote=`echo $printnfo \ | cut -d":" -f5 \ | awk '{print $3}'` cat >> $outfile << EOF <Printer $name> Info Created by $USER DeviceURI socket://$ipaddr:9100 Location State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> EOF fi done ######################################### From beatyrm at auburn.edu Tue Apr 22 07:10:22 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Tue, 22 Apr 2008 07:10:22 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) Message-ID: <32492-cups.general@news.easysw.com> After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. Everything seems to go fine till I get here: Making all in scheduler... Compiling auth.c... In file included from cupsd.h:121, from auth.c:57: cert.h:28: error: syntax error before "krb5_ccache" cert.h:28: warning: no semicolon at end of struct or union cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' cert.h:30: warning: data definition has no type or storage class cert.h:37: error: syntax error before '*' token cert.h:38: warning: type defaults to `int' in declaration of `Certs' cert.h:38: warning: data definition has no type or storage class cert.h:51: error: syntax error before '*' token cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' cert.h:51: warning: data definition has no type or storage class In file included from cupsd.h:127, from auth.c:57: job.h:60: error: syntax error before "krb5_ccache" job.h:60: warning: no semicolon at end of struct or union job.h:63: error: syntax error before '}' token job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' job.h:63: warning: data definition has no type or storage class job.h:100: error: syntax error before '*' token job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' job.h:100: warning: data definition has no type or storage class job.h:101: error: syntax error before '*' token job.h:107: error: syntax error before '*' token job.h:108: error: syntax error before '*' token job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' job.h:108: warning: data definition has no type or storage class job.h:109: error: syntax error before '*' token job.h:113: error: syntax error before '*' token job.h:115: error: syntax error before '*' token job.h:116: error: syntax error before '*' token job.h:117: error: syntax error before '*' token job.h:118: error: syntax error before '*' token job.h:120: error: syntax error before '*' token job.h:121: error: syntax error before '*' token job.h:122: error: syntax error before '*' token job.h:124: error: syntax error before '*' token job.h:125: error: syntax error before '*' token In file included from cupsd.h:128, from auth.c:57: conf.h:230: error: syntax error before '*' token In file included from cupsd.h:132, from auth.c:57: subscriptions.h:82: error: syntax error before "cupsd_job_t" subscriptions.h:82: warning: no semicolon at end of struct or union subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' subscriptions.h:83: warning: data definition has no type or storage class subscriptions.h:96: error: syntax error before "cupsd_job_t" subscriptions.h:96: warning: no semicolon at end of struct or union subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here subscriptions.h:105: error: syntax error before '*' token subscriptions.h:105: warning: type defaults to `int' in declaration of `events' subscriptions.h:105: warning: data definition has no type or storage class subscriptions.h:106: error: syntax error before '}' token subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' subscriptions.h:106: warning: data definition has no type or storage class subscriptions.h:144: error: syntax error before "cupsd_job_t" subscriptions.h:145: error: syntax error before '*' token subscriptions.h:147: error: syntax error before "cupsd_job_t" subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' subscriptions.h:148: warning: data definition has no type or storage class subscriptions.h:150: error: syntax error before '*' token subscriptions.h:156: error: syntax error before '*' token subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' subscriptions.h:157: warning: data definition has no type or storage class subscriptions.h:159: error: syntax error before "cupsd_job_t" In file included from auth.c:57: cupsd.h:164: error: syntax error before "KerberosContext" cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' cupsd.h:164: warning: data definition has no type or storage class auth.c: In function `cupsdAuthorize': auth.c:343: error: `localuser' undeclared (first use in this function) auth.c:343: error: (Each undeclared identifier is reported only once auth.c:343: error: for each function it appears in.) *** Error code 1 The following command caused the error: gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c make: Fatal error: Command failed for target `auth.o' Current working directory /usr/local/packages/cups-1.3.7/scheduler *** Error code 1 The following command caused the error: for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ echo Making all in $dir... ;\ (cd $dir ; make ) || exit 1;\ done make: Fatal error: Command failed for target `all' Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. -Robert From h.blischke at srz.de Tue Apr 22 07:23:17 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 22 Apr 2008 07:23:17 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) In-Reply-To: <32492-cups.general@news.easysw.com> References: <32492-cups.general@news.easysw.com> Message-ID: <32493-cups.general@news.easysw.com> Robert Beaty wrote: > After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. > > Everything seems to go fine till I get here: > > Making all in scheduler... > Compiling auth.c... > In file included from cupsd.h:121, > from auth.c:57: > cert.h:28: error: syntax error before "krb5_ccache" > cert.h:28: warning: no semicolon at end of struct or union > cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' > cert.h:30: warning: data definition has no type or storage class > cert.h:37: error: syntax error before '*' token > cert.h:38: warning: type defaults to `int' in declaration of `Certs' > cert.h:38: warning: data definition has no type or storage class > cert.h:51: error: syntax error before '*' token > cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' > cert.h:51: warning: data definition has no type or storage class > In file included from cupsd.h:127, > from auth.c:57: > job.h:60: error: syntax error before "krb5_ccache" > job.h:60: warning: no semicolon at end of struct or union > job.h:63: error: syntax error before '}' token > job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' > job.h:63: warning: data definition has no type or storage class > job.h:100: error: syntax error before '*' token > job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' > job.h:100: warning: data definition has no type or storage class > job.h:101: error: syntax error before '*' token > job.h:107: error: syntax error before '*' token > job.h:108: error: syntax error before '*' token > job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' > job.h:108: warning: data definition has no type or storage class > job.h:109: error: syntax error before '*' token > job.h:113: error: syntax error before '*' token > job.h:115: error: syntax error before '*' token > job.h:116: error: syntax error before '*' token > job.h:117: error: syntax error before '*' token > job.h:118: error: syntax error before '*' token > job.h:120: error: syntax error before '*' token > job.h:121: error: syntax error before '*' token > job.h:122: error: syntax error before '*' token > job.h:124: error: syntax error before '*' token > job.h:125: error: syntax error before '*' token > In file included from cupsd.h:128, > from auth.c:57: > conf.h:230: error: syntax error before '*' token > In file included from cupsd.h:132, > from auth.c:57: > subscriptions.h:82: error: syntax error before "cupsd_job_t" > subscriptions.h:82: warning: no semicolon at end of struct or union > subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' > subscriptions.h:83: warning: data definition has no type or storage class > subscriptions.h:96: error: syntax error before "cupsd_job_t" > subscriptions.h:96: warning: no semicolon at end of struct or union > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > subscriptions.h:105: error: syntax error before '*' token > subscriptions.h:105: warning: type defaults to `int' in declaration of `events' > subscriptions.h:105: warning: data definition has no type or storage class > subscriptions.h:106: error: syntax error before '}' token > subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' > subscriptions.h:106: warning: data definition has no type or storage class > subscriptions.h:144: error: syntax error before "cupsd_job_t" > subscriptions.h:145: error: syntax error before '*' token > subscriptions.h:147: error: syntax error before "cupsd_job_t" > subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' > subscriptions.h:148: warning: data definition has no type or storage class > subscriptions.h:150: error: syntax error before '*' token > subscriptions.h:156: error: syntax error before '*' token > subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' > subscriptions.h:157: warning: data definition has no type or storage class > subscriptions.h:159: error: syntax error before "cupsd_job_t" > In file included from auth.c:57: > cupsd.h:164: error: syntax error before "KerberosContext" > cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' > cupsd.h:164: warning: data definition has no type or storage class > auth.c: In function `cupsdAuthorize': > auth.c:343: error: `localuser' undeclared (first use in this function) > auth.c:343: error: (Each undeclared identifier is reported only once > auth.c:343: error: for each function it appears in.) > *** Error code 1 > The following command caused the error: > gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c > make: Fatal error: Command failed for target `auth.o' > Current working directory /usr/local/packages/cups-1.3.7/scheduler > *** Error code 1 > The following command caused the error: > for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ > echo Making all in $dir... ;\ > (cd $dir ; make ) || exit 1;\ > done > make: Fatal error: Command failed for target `all' > > > > Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. > > -Robert Run configure using the option --disable-gssapi or, if you really need to use Kerberos, trash the default one that comes with Solaris10 and install Heimdahl Kerberos (at least that is the recommendation I heared several times; at our site we currently do not use Kerberos). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From beatyrm at auburn.edu Tue Apr 22 07:33:44 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Tue, 22 Apr 2008 07:33:44 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) Message-ID: <32494-cups.general@news.easysw.com> > Robert Beaty wrote: > > After my last bit of posting and figuring out I need a 1.3.x version of CUPS I got to work on compiling 1.3.7. I have worked through a number of issues involving malformed sed commands in Makefiles and finding all the needed libraries and figured I was set but now I can't for the life of me get the scheduler to compile. > > > > Everything seems to go fine till I get here: > > > > Making all in scheduler... > > Compiling auth.c... > > In file included from cupsd.h:121, > > from auth.c:57: > > cert.h:28: error: syntax error before "krb5_ccache" > > cert.h:28: warning: no semicolon at end of struct or union > > cert.h:30: warning: type defaults to `int' in declaration of `cupsd_cert_t' > > cert.h:30: warning: data definition has no type or storage class > > cert.h:37: error: syntax error before '*' token > > cert.h:38: warning: type defaults to `int' in declaration of `Certs' > > cert.h:38: warning: data definition has no type or storage class > > cert.h:51: error: syntax error before '*' token > > cert.h:51: warning: type defaults to `int' in declaration of `cupsdFindCert' > > cert.h:51: warning: data definition has no type or storage class > > In file included from cupsd.h:127, > > from auth.c:57: > > job.h:60: error: syntax error before "krb5_ccache" > > job.h:60: warning: no semicolon at end of struct or union > > job.h:63: error: syntax error before '}' token > > job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t' > > job.h:63: warning: data definition has no type or storage class > > job.h:100: error: syntax error before '*' token > > job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob' > > job.h:100: warning: data definition has no type or storage class > > job.h:101: error: syntax error before '*' token > > job.h:107: error: syntax error before '*' token > > job.h:108: error: syntax error before '*' token > > job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob' > > job.h:108: warning: data definition has no type or storage class > > job.h:109: error: syntax error before '*' token > > job.h:113: error: syntax error before '*' token > > job.h:115: error: syntax error before '*' token > > job.h:116: error: syntax error before '*' token > > job.h:117: error: syntax error before '*' token > > job.h:118: error: syntax error before '*' token > > job.h:120: error: syntax error before '*' token > > job.h:121: error: syntax error before '*' token > > job.h:122: error: syntax error before '*' token > > job.h:124: error: syntax error before '*' token > > job.h:125: error: syntax error before '*' token > > In file included from cupsd.h:128, > > from auth.c:57: > > conf.h:230: error: syntax error before '*' token > > In file included from cupsd.h:132, > > from auth.c:57: > > subscriptions.h:82: error: syntax error before "cupsd_job_t" > > subscriptions.h:82: warning: no semicolon at end of struct or union > > subscriptions.h:83: warning: type defaults to `int' in declaration of `cupsd_event_t' > > subscriptions.h:83: warning: data definition has no type or storage class > > subscriptions.h:96: error: syntax error before "cupsd_job_t" > > subscriptions.h:96: warning: no semicolon at end of struct or union > > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > > subscriptions.h:98: error: 'pipe' redeclared as different kind of symbol > > /usr/include/unistd.h:406: error: previous declaration of 'pipe' was here > > subscriptions.h:105: error: syntax error before '*' token > > subscriptions.h:105: warning: type defaults to `int' in declaration of `events' > > subscriptions.h:105: warning: data definition has no type or storage class > > subscriptions.h:106: error: syntax error before '}' token > > subscriptions.h:106: warning: type defaults to `int' in declaration of `cupsd_subscription_t' > > subscriptions.h:106: warning: data definition has no type or storage class > > subscriptions.h:144: error: syntax error before "cupsd_job_t" > > subscriptions.h:145: error: syntax error before '*' token > > subscriptions.h:147: error: syntax error before "cupsd_job_t" > > subscriptions.h:148: warning: type defaults to `int' in declaration of `cupsdAddSubscription' > > subscriptions.h:148: warning: data definition has no type or storage class > > subscriptions.h:150: error: syntax error before '*' token > > subscriptions.h:156: error: syntax error before '*' token > > subscriptions.h:157: warning: type defaults to `int' in declaration of `cupsdFindSubscription' > > subscriptions.h:157: warning: data definition has no type or storage class > > subscriptions.h:159: error: syntax error before "cupsd_job_t" > > In file included from auth.c:57: > > cupsd.h:164: error: syntax error before "KerberosContext" > > cupsd.h:164: warning: type defaults to `int' in declaration of `KerberosContext' > > cupsd.h:164: warning: data definition has no type or storage class > > auth.c: In function `cupsdAuthorize': > > auth.c:343: error: `localuser' undeclared (first use in this function) > > auth.c:343: error: (Each undeclared identifier is reported only once > > auth.c:343: error: for each function it appears in.) > > *** Error code 1 > > The following command caused the error: > > gcc -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c auth.c > > make: Fatal error: Command failed for target `auth.o' > > Current working directory /usr/local/packages/cups-1.3.7/scheduler > > *** Error code 1 > > The following command caused the error: > > for dir in cups backend berkeley cgi-bin filter locale man monitor notifier pdftops scheduler systemv test conf data doc fonts ppd templates; do\ > > echo Making all in $dir... ;\ > > (cd $dir ; make ) || exit 1;\ > > done > > make: Fatal error: Command failed for target `all' > > > > > > > > Figuring I might be missing some auth related prereqs I've installed openldap, krb5_lib and some other related packages. I'm not sure if I'm just still missing things or if perhaps CUPS just isn't locating all the correct libraries. Any thoughts? As always any help is greatly appreciated. > > > > -Robert > > Run configure using the option --disable-gssapi or, if you really need to use > Kerberos, trash the default one that comes with Solaris10 and install > Heimdahl Kerberos (at least that is the recommendation I heared > several times; at our site we currently do not use Kerberos). > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org In fact I do not have a particular need for Kerberos so this was just the ticket. Thank you very much I will certainly notebook that option for future reference. -Robert From james.notermans at gmail.com Tue Apr 22 09:54:43 2008 From: james.notermans at gmail.com (James Notermans) Date: Tue, 22 Apr 2008 09:54:43 -0700 Subject: Cups with Epson Status monitor Message-ID: <32495-cups.general@news.easysw.com> I'm currently using CUPS and Samba on my Debian system to share an Epson D92 to my Windows box. I'm wondering if there's any way to configure CUPS or the Samba share so that I can use to Epson printer software and status utility on the windows box to access the printer in order to view ink levels, change printer settings, etc. Many thanks in advance. From msweet at apple.com Tue Apr 22 10:06:48 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 10:06:48 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32491-cups.general@news.easysw.com> References: <32491-cups.general@news.easysw.com> Message-ID: <32496-cups.general@news.easysw.com> Rex Mueller wrote: > I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... > > I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? > ... cupsd looks for: /etc/cups/ppd/PRINTERNAME.ppd or /etc/cups/interfaces/PRINTERNAME preferring PPD files over interface scripts. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Apr 22 10:10:13 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 10:10:13 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris 10 x86 (Scheduler) In-Reply-To: <32492-cups.general@news.easysw.com> References: <32492-cups.general@news.easysw.com> Message-ID: <32497-cups.general@news.easysw.com> Robert Beaty wrote: > After my last bit of posting and figuring out I need a 1.3.x version > of CUPS I got to work on compiling 1.3.7. I have worked through a > number of issues involving malformed sed commands in Makefiles and > finding all the needed libraries and figured I was set but now I > can't for the life of me get the scheduler to compile. --disable-gssapi will work around the broken Kerberos headers on your Solaris install. What sed problems did you run into? The CUPS makefiles only use sed when updating dependencies, which isn't required for normal builds (that's only used when CUPS code/headers are changed...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From parker.christine at epa.gov Tue Apr 22 11:36:40 2008 From: parker.christine at epa.gov (Christine Parker) Date: Tue, 22 Apr 2008 11:36:40 -0700 Subject: adding a driver to CUPS Message-ID: <32498-cups.general@news.easysw.com> Hi. I'm new to CUPS and I want to add a driver for our Xerox Phaser 7400 printer. I downloaded the driver from the Xerox website, and I added a folder called "Xerox" to /usr/share/cups/model. What files do I need to put in that subdirectory so I can add the printer in CUPS? These are the applicable files from the download: -rwxrwxrwx 1 1000 users 85043 May 24 2005 xrx7400df.ppd -rwxrwxrwx 1 1000 users 85023 May 24 2005 xrx7400dn.ppd -rwxrwxrwx 1 1000 users 85030 May 24 2005 xrx7400dt.ppd -rwxrwxrwx 1 1000 users 85032 May 24 2005 xrx7400dx.ppd -rwxrwxrwx 1 1000 users 85016 May 24 2005 xrx7400n.ppd Thanks! Christine Parker US EPA Region 10 Seattle, WA From msweet at apple.com Tue Apr 22 13:07:35 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 13:07:35 -0700 Subject: [cups.general] adding a driver to CUPS In-Reply-To: <32498-cups.general@news.easysw.com> References: <32498-cups.general@news.easysw.com> Message-ID: <32499-cups.general@news.easysw.com> Christine Parker wrote: > Hi. I'm new to CUPS and I want to add a driver for our Xerox Phaser 7400 printer. I downloaded the driver from the Xerox website, and I added a folder called "Xerox" to /usr/share/cups/model. What files do I need to put in that subdirectory so I can add the printer in CUPS? These are the applicable files from the download: > ... Just copy the PPD files to your subdirectory. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From beebe at big-images.com Tue Apr 22 13:46:47 2008 From: beebe at big-images.com (Jon Beebe) Date: Tue, 22 Apr 2008 13:46:47 -0700 Subject: HP DesignJet 5000PS - overriding internal rip? Message-ID: <32500-cups.general@news.easysw.com> Here is an update to my progress. I found this driver, http://openprinting.org/show_printer.cgi?recnum=HP-DesignJet_5000, which says it works with the non-ps version of the DesignJet 5000. I tried this on my system and it did nothing. The printer never received any print data. I also found the Footmatic rip (http://www.linux-foundation.org/en/OpenPrinting/MacOSX/foomatic), which seems promising, but I cannot get it to work. This is probably due to my unfamiliarity with Cups. I am not sure if either of these are the right path to follow in my quest; if anyone can offer guidance I would love to hear from you. Thanks! > I have a 60" HP DesignJet 5000PS. When I print via cups it uses the internal RIP, which is slow and sometimes error-prone. I would like to have CUPS do the ripping of the files and override the printer's internal rip. I know this can be done because I run an Onyx rip that overrides the internal HP rip. But can I do this via CUPS, and if so, how? > > I am currently running cups 1.3.6 on OS X Leopard. > > Any input would be greatly appreciated! Thanks. > > Jon Beebe From justin.huang at liteon.com Wed Apr 23 00:57:41 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 23 Apr 2008 00:57:41 -0700 Subject: Opening /dev/usb/lp0 fails while printing Message-ID: <32501-cups.general@news.easysw.com> I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! From kobe at physik.uni-bonn.de Wed Apr 23 05:25:39 2008 From: kobe at physik.uni-bonn.de (Peter Kobe) Date: Wed, 23 Apr 2008 05:25:39 -0700 Subject: make ends in an error-sequence on cups r7464 Message-ID: <32502-cups.general@news.easysw.com> $ make Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using LDFLAGS=-L../cups -L../filter -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector Using LIBS=-lcups -lpthread -lm -lcrypt Making all in cups... Making all in filter... Linking gziptoany... Linking testimage... Making all in backend... Linking test1284... test1284.o: In function `backendGetMakeModel': /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:396: undefined reference to `_cups_debug_printf' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:406: undefined reference to `_cups_debug_puts' test1284.o: In function `backendGetDeviceID': /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:86: undefined reference to `_cups_debug_printf' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:98: undefined reference to `_cups_debug_puts' /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:250: undefined reference to `_cups_debug_printf' collect2: ld returned 1 exit status make[1]: *** [test1284] Fehler 1 make: *** [all] Fehler 1 linux-qkyo:/home/kobe/CUPS/cups-1.4svn-r7464 # From beatyrm at auburn.edu Wed Apr 23 06:04:32 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Wed, 23 Apr 2008 06:04:32 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris 10 x86(Scheduler) Message-ID: <32503-cups.general@news.easysw.com> > Robert Beaty wrote: > > After my last bit of posting and figuring out I need a 1.3.x version > > of CUPS I got to work on compiling 1.3.7. I have worked through a > > number of issues involving malformed sed commands in Makefiles and > > finding all the needed libraries and figured I was set but now I > > can't for the life of me get the scheduler to compile. > > --disable-gssapi will work around the broken Kerberos headers on your > Solaris install. > > What sed problems did you run into? The CUPS makefiles only use sed > when updating dependencies, which isn't required for normal builds > (that's only used when CUPS code/headers are changed...) > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. -Robert From mark.coolen at gmail.com Wed Apr 23 07:03:44 2008 From: mark.coolen at gmail.com (Mark Coolen) Date: Wed, 23 Apr 2008 07:03:44 -0700 Subject: Forcing CUPS to pass dummy user to HPLIP Message-ID: <32504-cups.general@news.easysw.com> I'm trying to figure out how I can force Cups to pass on a static user (i.e. 'office') to HPLIP. I'm printing via the MS Image Writer driver from XP in order to use an HP Fax printer. HPLIP gets the owner of the print job from Cups and only passes the print job on when hp-sendfax is run as the same username. Is there any way to get Cups to always see print jobs as printed by the same, generic user (office) no matter who is actually logged in? Mark Coolen P.S. If the question needs clarification, please ask. From alet at librelogiciel.com Wed Apr 23 07:37:24 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Wed, 23 Apr 2008 07:37:24 -0700 Subject: [cups.general] Forcing CUPS to pass dummy user to HPLIP In-Reply-To: <32504-cups.general@news.easysw.com> References: <32504-cups.general@news.easysw.com> Message-ID: <32505-cups.general@news.easysw.com> On Wed, Apr 23, 2008 at 07:03:44AM -0700, Mark Coolen wrote: > I'm trying to figure out how I can force Cups to pass on a static > user (i.e. 'office') to HPLIP. I'm printing via the MS Image Writer > driver from XP in order to use an HP Fax printer. HPLIP gets the > owner of the print job from Cups and only passes the print job on > when hp-sendfax is run as the same username. Is there any way to > get Cups to always see print jobs as printed by the same, generic > user (office) no matter who is actually logged in? You could use Tea4CUPS (http://www.pykota.com) for this. Just define a virtual print queue doing nothing else except launching Tea4CUPS, with the following device uri "tea4cups://" Then in tea4cups.conf define a hook like this one (adapt it to your needs and actual settings) : --- CUT --- prehook_fax : /usr/bin/lp -dYourFaxQueue -U office -oraw $TEADATAFILE --- CUT --- Have all people print to the virtual queue, and you're done. Something like 5 minutes work. hth Jerome Alet From msweet at apple.com Wed Apr 23 09:47:45 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 09:47:45 -0700 Subject: [cups.general] Opening /dev/usb/lp0 fails while printing In-Reply-To: <32501-cups.general@news.easysw.com> References: <32501-cups.general@news.easysw.com> Message-ID: <32506-cups.general@news.easysw.com> Justin Huang wrote: > I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). > I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? > My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! You can't, it's a single device and doesn't support multiplexing. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Apr 23 09:48:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 09:48:41 -0700 Subject: [cups.general] make ends in an error-sequence on cups r7464 In-Reply-To: <32502-cups.general@news.easysw.com> References: <32502-cups.general@news.easysw.com> Message-ID: <32507-cups.general@news.easysw.com> Peter Kobe wrote: > $ make > Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT > Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT > Using LDFLAGS=-L../cups -L../filter -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector > Using LIBS=-lcups -lpthread -lm -lcrypt > Making all in cups... > Making all in filter... > Linking gziptoany... > Linking testimage... > Making all in backend... > Linking test1284... > test1284.o: In function `backendGetMakeModel': > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:396: undefined reference to `_cups_debug_printf' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:406: undefined reference to `_cups_debug_puts' > test1284.o: In function `backendGetDeviceID': > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:86: undefined reference to `_cups_debug_printf' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:98: undefined reference to `_cups_debug_puts' > /home/kobe/CUPS/cups-1.4svn-r7464/backend/ieee1284.c:250: undefined reference to `_cups_debug_printf' > collect2: ld returned 1 exit status Fixed in current trunk. In the meantime, build with: ./configure --enable-debug to work around the error. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Apr 23 10:02:59 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 10:02:59 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris 10 x86(Scheduler) In-Reply-To: <32503-cups.general@news.easysw.com> References: <32503-cups.general@news.easysw.com> Message-ID: <32508-cups.general@news.easysw.com> Robert Beaty wrote: > ... > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. Like I said (and just confirmed), the only sed commands we run in makefiles are for the "make depend" target, which does not need to be run by anyone except the CUPS developers. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rmueller at esu3.org Wed Apr 23 11:44:14 2008 From: rmueller at esu3.org (Rex Mueller) Date: Wed, 23 Apr 2008 11:44:14 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32509-cups.general@news.easysw.com> Mike is there a configuration file or reference point in the printers.conf to point at the PPD file? I have 250-300 printers to re-create from an HP/UX jetadmin queing to CUPS. I found the script to build the printers.conf, do I need to use LPADMIN to create the devices? If so I can see I have my work cut out to script a solution. > Rex Mueller wrote: > > I have cobbed together some code from a post on another forum and have come up with a script that builds the printer.conf to convert from HP/UX queues to CUPS... > > > > I am curious as to how CUPS connects the items in the printers.conf to reference what particular PPD or model script is uses for printing? > > ... > > cupsd looks for: > > /etc/cups/ppd/PRINTERNAME.ppd > > or > > /etc/cups/interfaces/PRINTERNAME > > preferring PPD files over interface scripts. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Wed Apr 23 16:34:43 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 23 Apr 2008 16:34:43 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32509-cups.general@news.easysw.com> References: <32509-cups.general@news.easysw.com> Message-ID: <32510-cups.general@news.easysw.com> Rex Mueller wrote: > Mike is there a configuration file or reference point in the > printers.conf to point at the PPD file? No, the printer name points to the PPD file. > I have 250-300 printers to re-create from an HP/UX jetadmin queing to > CUPS. I found the script to build the printers.conf, do I need to use > LPADMIN to create the devices? If so I can see I have my work cut out > to script a solution. You don't have to use lpadmin for an initial configuration - just generate printers.conf and *then* start cupsd. If you want to update printers.conf when cupsd is running, you need to use lpadmin... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From justin.huang at liteon.com Wed Apr 23 20:27:27 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 23 Apr 2008 20:27:27 -0700 Subject: Opening /dev/usb/lp0 fails while printing Message-ID: <32511-cups.general@news.easysw.com> > Justin Huang wrote: > > I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). > > I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? > > My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! > > You can't, it's a single device and doesn't support multiplexing. > > -- That's too bad. I found some devices named as /dev/usbdev5.4_ep01 or /dev/usbdev5.4_ep81. They seem to represent the endpoints of the USB printer. I tried to open each of them but failed. Is there any method I can try to allow my program open a single endpoint of the USB device? From henri at stmargarets.school.nz Wed Apr 23 21:04:23 2008 From: henri at stmargarets.school.nz (henri) Date: Wed, 23 Apr 2008 21:04:23 -0700 Subject: [cups.general] Cups client question In-Reply-To: <3FA47F00-964C-4574-AF4F-B03E75379817@stmargarets.school.nz> References: <fc.3b9aca0088c5637f3b9aca0088c5637f.69c5a0@stmargarets.school.nz> <3FA47F00-964C-4574-AF4F-B03E75379817@stmargarets.school.nz> Message-ID: <32512-cups.general@news.easysw.com> PrinterSetup0025 is now available for download. New features include : - Ability to set a cups queue name prefix - Ability to remove unused queues with the specified prefix from the system - Integration of the above features with PrinterSetup Apple package deployment. - plus much more! Visit the PrinterSetup home page to download : http://www.lucidsystems.org/printignworks/printersetup > I am currently adding features to PrinterSetup, so that it will > support automatic print queue creation on both clients and servers > from one centrally managed location. I will post a message back to > this list, once version 0025 is released with the required features > to support this kind of centralized management. > > I expect that before version 0030 is released, there will be a Mac > OS X client component and this will be bundled with PrinterSetup. > > I hope this helps. If you are looking for a solution for an > operating system other then Mac OS X, then you are welcome to help > develop a PrinterSetup update schedular for the operating systems > you need supported. I am happy to help. > > It would be great to have a free, open source, cross platform, > centrally managed print queue distribution system. I would be happy > to have some help. > > Details on PrinterSetup are available from : http://www.lucidsystems.org/printingworks/printersetup/ > > Please keep in mind that PrinterSetup is still in an alpha stage of > development. > >> I can't seem to determine if CUPS printers would have to be pre- >> defined to every host or just to the centeral server. Which is it? > From ronaly at gmail.com Wed Apr 23 21:24:17 2008 From: ronaly at gmail.com (ronaly) Date: Wed, 23 Apr 2008 21:24:17 -0700 Subject: Constraints between a Custom Pagesize and Manual Envelope Paper feed Message-ID: <32513-cups.general@news.easysw.com> This is about constraints between a custom pagesize and a manual envelope in the paper feed. The behavior is different in leopard and pre-leopard OSes. In pre-leopard OSes (like Tiger): * Selecting a custom pagesize will disable a manual envelope in the paper feed. In Leopard: * Selecting a custom pagesize does not disable nor pops up a constraint message when choosing a manual envelope in the paper feed. Disabling the manual envelope in the paper feed has no special implementation in the PPD constraints. As long as you set any papersize except envelope size constrained against Inputslot manual envelope, any custom size you set does disable the manual envelope. But in Leopard it does not do like Tiger behaves. Is there a way to constraint a custom pagesize against manual envelope in Leopard? Is this a bug in Leopard? From beatyrm at auburn.edu Thu Apr 24 07:21:08 2008 From: beatyrm at auburn.edu (Robert Beaty) Date: Thu, 24 Apr 2008 07:21:08 -0700 Subject: CUPS 1.3.7 Compile problems on Solaris10 x86(Scheduler) Message-ID: <32514-cups.general@news.easysw.com> > Robert Beaty wrote: > > ... > > I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. > > Like I said (and just confirmed), the only sed commands we run in > makefiles are for the "make depend" target, which does not need to > be run by anyone except the CUPS developers. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Well my best guess is I must have run a depend (for reasons unknown) a while back when I had first put the source onto the box. I abandoned compiling from source when I found pkg-get had cups. Of course that didn't work out because it was a very old version. Anyway, I appreciate all the help/details. I do have one (hopefully last) problem now. Currently the CUPS accounting in the page_log isn't functioning correctly. No matter how many pages the print job is, whether or not there is multiple copies or if there is a banner page I get a single entry in page_log. It has the first page entry for each job and never records another. Also, just for completeness I've tried it on both a HP Laserjet 5SI and HP Laserjet 9050 and both suffer from this problem. Setup details are: Samba 3.0.28a CUPS 1.3.7 Solaris 10 x86 Printer HP Lasterjet 5SI (usually what I'm testing on) I could try and move to the absolute newest CUPS if that would possibly fix it. I think it was 1.4 some odd. -Robert From vos22201 at planet.nl Thu Apr 24 11:12:52 2008 From: vos22201 at planet.nl (vos22201) Date: Thu, 24 Apr 2008 11:12:52 -0700 Subject: Cups 1.2.7 and Suse 10.2 network printer Message-ID: <32515-cups.general@news.easysw.com> Hello, I have a suse10.2 box with cups 1.2.7. I can print to my canon i450 when connected via USB. That works. I have a U.S. Robotics Wireless MAXg ADSL Gateway that has the option to connect a USB printer at http://192.168.1.1:1631/printers/canon450. When I connect the printer to the ADSL modem, I can print from a windows XP machine. I tried to configure the same as network printer from suse 10.2 with Cups, but it does not work. When I print a testpage, a spoolfile is created, but nothing is sent to the printer. Any help/hints is appreciated. The error log is rather long, I assume the relevant part is <<< I [24/Apr/2008:19:47:11 +0200] Listening to 127.0.0.1:631 (IPv4) I [24/Apr/2008:19:47:12 +0200] Listening to ::1:631 (IPv6) I [24/Apr/2008:19:47:12 +0200] Listening to /var/run/cups/cups.sock (Domain) I [24/Apr/2008:19:47:12 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [24/Apr/2008:19:47:12 +0200] Using default TempDir of /var/spool/cups/tmp... I [24/Apr/2008:19:47:14 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [24/Apr/2008:19:47:14 +0200] Configured for up to 100 clients. I [24/Apr/2008:19:47:14 +0200] Allowing up to 100 client connections per host. I [24/Apr/2008:19:47:14 +0200] Using policy "default" as the default! I [24/Apr/2008:19:47:14 +0200] Full reload is required. I [24/Apr/2008:19:47:17 +0200] Loaded MIME database from '/etc/cups': 36 types, 40 filters... D [24/Apr/2008:19:47:18 +0200] Loading printer canon450... D [24/Apr/2008:19:47:20 +0200] Loading printer Canon_i450_USB_1... D [24/Apr/2008:19:47:20 +0200] Loading printer CanonRobo... I [24/Apr/2008:19:47:20 +0200] Loading job cache file "/var/cache/cups/job.cache"... D [24/Apr/2008:19:47:20 +0200] Loading job 8 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 9 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 10 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 13 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 14 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 15 from cache... D [24/Apr/2008:19:47:20 +0200] Loading job 20 from cache... D [24/Apr/2008:19:47:20 +0200] Loading attributes for job 20... I [24/Apr/2008:19:47:20 +0200] Full reload complete. I [24/Apr/2008:19:47:20 +0200] Listening to 127.0.0.1:631 on fd 0... E [24/Apr/2008:19:47:20 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol. I [24/Apr/2008:19:47:20 +0200] Listening to /var/run/cups/cups.sock on fd 2... D [24/Apr/2008:19:48:24 +0200] Unloading job 20... D [24/Apr/2008:19:52:02 +0200] cupsdAcceptClient: 6 from localhost:631 (IPv4) D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET / HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /cups.css HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /favicon.ico HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/top-left.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdAcceptClient: 9 from localhost:631 (IPv4) D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/top-middle.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/top-right.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/tab-left.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/button-help.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/tab-right.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 GET /images/button-add-printer.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:02 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 GET /images/button-add-class.gif HTTP/1.1 D [24/Apr/2008:19:52:02 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:02 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/button-manage-classes.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/button-manage-jobs.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/button-manage-printers.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/button-manage-server.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/happy.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/esp-logo.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 GET /images/bottom-left.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 6 file=10 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 GET /images/bottom-right.gif HTTP/1.1 D [24/Apr/2008:19:52:03 +0200] cupsdReadClient: 9 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:03 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:03 +0200] write_file: 9 file=7 D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 6 GET /printers/ HTTP/1.1 D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 6 Browser asked for language "en-us.utf-8"... D [24/Apr/2008:19:52:08 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:08 +0200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 4352 I [24/Apr/2008:19:52:08 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=4352) D [24/Apr/2008:19:52:08 +0200] cupsdSendCommand: 6 file=7 D [24/Apr/2008:19:52:08 +0200] cupsdAcceptClient: 10 from localhost (Domain) D [24/Apr/2008:19:52:08 +0200] cupsdReadClient: 10 POST / HTTP/1.1 D [24/Apr/2008:19:52:08 +0200] cupsdAuthorize: No authentication data provided. D [24/Apr/2008:19:52:08 +0200] CUPS-Get-Default D [24/Apr/2008:19:52:08 +0200] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [24/Apr/2008:19:52:08 +0200] [CGI] show_all_printers(http=0x80019cf0, user="(null)") D [24/Apr/2008:19:52:08 +0200] [CGI] cgiCopyTemplateLang(tmpl="header.tmpl") D [24/Apr/2008:19:52:08 +0200] [CGI] locale="en_us"... D [24/Apr/2008:19:52:08 +0200] [CGI] Template file is "/usr/share/cups/templates/header.tmpl"... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 0... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 205... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{refresh_page?" at 374, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 374... D [24/Apr/2008:19:52:08 +0200] [CGI] "{refresh_page}" at 424... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 427 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 427... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 428 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{refresh_page?", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 671... D [24/Apr/2008:19:52:08 +0200] [CGI] "{title}" at 952... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=admin" at 1411, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1411... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1412 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1412... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1415 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=admin", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=classes" at 1678, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1678... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1679 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1679... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1682 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=classes", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=help" at 1938, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1938... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1939 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 1939... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 1942 on character '}'... D [24/Apr/2008:19:52:08 +0200] [CGI] Finished "{SECTION=help", out=0xb7d884e0... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting "{SECTION=jobs" at 2206, result=0... D [24/Apr/2008:19:52:08 +0200] [CGI] Skip first part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 2206... D [24/Apr/2008:19:52:08 +0200] [CGI] Returning at file position 2207 on character ':'... D [24/Apr/2008:19:52:08 +0200] [CGI] Output second part... D [24/Apr/2008:19:52:08 +0200] [CGI] Starting at file position 2207... D [24/Apr >> From msweet at apple.com Thu Apr 24 12:00:53 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 12:00:53 -0700 Subject: [cups.general] Opening /dev/usb/lp0 fails while printing In-Reply-To: <32511-cups.general@news.easysw.com> References: <32511-cups.general@news.easysw.com> Message-ID: <32516-cups.general@news.easysw.com> Justin Huang wrote: >> Justin Huang wrote: >>> I can access my USB printer via /dev/usb/lp0. The printer is a bidi printer, which receives print data from this usb interface (bulk out) and also send status data to the host via the same interface (bulk in). >>> I'm planning to create a program which opens /dev/usb/lp0, reads status data and then display some human-readable information. It sounds good, right? >>> My problem is... when I launch the program and then make a print, the printer seems to be locked and the print job cannot be sent out from the backend. I'm using open() with O_RDONLY flag. What can I do to allow my program and the backend filter access the printer at the same time? I'm not planning to modify the backend program. Thanks a lot! >> You can't, it's a single device and doesn't support multiplexing. >> >> -- > > That's too bad. I found some devices named as /dev/usbdev5.4_ep01 > or /dev/usbdev5.4_ep81. They seem to represent the endpoints of the USB > printer. I tried to open each of them but failed. Is there any method > I can try to allow my program open a single endpoint of the USB device? If you use libusb to both print and scan, you *may* be able to do both at the same time - it really depends on the device. However, once the device is claimed by the USB printer character device (when you open /dev/usb/lp0) you won't be able to access it through other means until it is closed and the driver unloaded. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 24 12:02:21 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 12:02:21 -0700 Subject: [cups.general] Constraints between a Custom Pagesize and Manual Envelope Paper feed In-Reply-To: <32513-cups.general@news.easysw.com> References: <32513-cups.general@news.easysw.com> Message-ID: <32517-cups.general@news.easysw.com> ronaly wrote: > ... > But in Leopard it does not do like Tiger behaves. > Is there a way to constraint a custom pagesize against manual envelope in Leopard? > Is this a bug in Leopard? This question is bested asked either as a bug report to Apple or on Apple's printing list. http://bugreport.apple.com http://lists.apple.com -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rmueller at esu3.org Thu Apr 24 12:17:48 2008 From: rmueller at esu3.org (Rex Mueller) Date: Thu, 24 Apr 2008 12:17:48 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32518-cups.general@news.easysw.com> the Printer Name? from the printers.conf points to the PPD? so for example My question would be I have "quenames" on my HP/UX box, jet admin initiates a connection to the model script for the printer based on the IP address. Does CUPS do something similar to probe the device to determine the best model script? OR when you create the printer you need to know the associated model script? So say for example, in order to create a HP 3800 The command line reference I found is as follows: /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER In this line there is variable information for - name - device-uri - ppd-filename In my prefer script is takes the existing quename "arladmhp5si" and creates and entry in the printers.conf as below: <Printer alradmhp5si> Info Created by root DeviceURI socket://<maskedipaddress>:9100 Location State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> But it does not execute LPADMIN to associate -m modelfile with the physical device, is only passes the quename as printer and socket://<ipaddress> as DeviceURI. I am assuming I still need to some how pass the lpinfo -m |grep LaserJet |awk -F':' '{print $2}' |awk -F' ' '{print $1}' |grep 3800 /usr/sbin/lpadmin -p arladmhp5si -E -v socket://<ipaddress>:9100 -m HP-LaserJet_5Si-hpijs.ppd ENTER To make this device available, is my logic flawed or am I heading in the right direction? > > No, the printer name points to the PPD file. > > You don't have to use lpadmin for an initial configuration - just > generate printers.conf and *then* start cupsd. > > If you want to update printers.conf when cupsd is running, you need > to use lpadmin... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Thu Apr 24 13:25:19 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 13:25:19 -0700 Subject: [cups.general] CUPS 1.3.7 Compile problems on Solaris10 x86(Scheduler) In-Reply-To: <32514-cups.general@news.easysw.com> References: <32514-cups.general@news.easysw.com> Message-ID: <32519-cups.general@news.easysw.com> Robert Beaty wrote: >> Robert Beaty wrote: >>> ... >>> I'll have to check on exactly which it was but I believe it was filter. It would die because it tried to run a sed command with the -r flag which doesn't exist at least for the sed in my Solaris install. All I did was go through and remove that particular flag from them and everything ran fine through the next compile. I'm not sure why it came up as I don't believe I did anything out of the ordinary. I did a standard ./configure --disable-gssapi then make and make install. Nothing special by any means beyond the disable there. Well I did a make clean before all that just to be safe but I don't imagine that should have caused any problems. >> Like I said (and just confirmed), the only sed commands we run in >> makefiles are for the "make depend" target, which does not need to >> be run by anyone except the CUPS developers. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Well my best guess is I must have run a depend (for reasons unknown) a while back when I had first put the source onto the box. I abandoned compiling from source when I found pkg-get had cups. Of course that didn't work out because it was a very old version. Anyway, I appreciate all the help/details. > > I do have one (hopefully last) problem now. Currently the CUPS accounting in the page_log isn't functioning correctly. No matter how many pages the print job is, whether or not there is multiple copies or if there is a banner page I get a single entry in page_log. It has the first page entry for each job and never records another. Also, just for completeness I've tried it on both a HP Laserjet 5SI and HP Laserjet 9050 and both suffer from this problem. > > Setup details are: > Samba 3.0.28a > CUPS 1.3.7 > Solaris 10 x86 > Printer HP Lasterjet 5SI (usually what I'm testing on) > > I could try and move to the absolute newest CUPS if that would possibly fix it. I think it was 1.4 some odd. No, it it probably a driver issue - if you use a raw queue, then no accounting info is really available. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 24 13:34:41 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 13:34:41 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32518-cups.general@news.easysw.com> References: <32518-cups.general@news.easysw.com> Message-ID: <32520-cups.general@news.easysw.com> Rex Mueller wrote: > the Printer Name? > from the printers.conf points to the PPD? Yes. > so for example My question would be I have "quenames" on my HP/UX box, > jet admin initiates a connection to the model script for the printer > based on the IP address. On HP-UX, the /var/spool/lp/interface directory contains interface scripts for each printer queue. Since System V LP does not support anything other than character devices, the interface script runs an external program to communicate with the device. CUPS *does* support different kinds of device interfaces and runs a backend program at the end of the filter chain to send print data to the device. The following page may be useful: http://www.cups.org/documentation.php/spec-design.html > Does CUPS do something similar to probe the device to determine the > best model script? No, we rely on the backend reporting the make and model, which can then be used to auto-select a driver. This does not happen automatically when using the lpadmin command, but rather is supported by the web interface and various GUI add-ons to CUPS. > OR when you create the printer you need to know the associated model > script? When adding a printer with lpadmin, you need to know the model file, which can be an interface script (for legacy queues that will not work from most GUI applications) or (more commonly) a PPD name for the printer. (PPD == PostScript Printer Description file, which is used for all kinds of printers in CUPS) > So say for example, in order to create a HP 3800 > > The command line reference I found is as follows: > > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > In this line there is variable information for > - name > - device-uri > - ppd-filename name is the name that appears on the <Printer name> line in printers.conf. device-uri is the DeviceURI line in printers.conf. ppd-filename gets copied to /etc/cups/ppd/name.ppd -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From masterzenutopia at gmail.com Thu Apr 24 14:52:50 2008 From: masterzenutopia at gmail.com (anthony do) Date: Thu, 24 Apr 2008 14:52:50 -0700 Subject: CUPS problem with TIFF images Message-ID: <32521-cups.general@news.easysw.com> To those CUPS gurus, On my old AIX-Unix, I was running ESP-CUPS with Image Alchemy version 1.11 for AIX. Example below is the exact command to print to my color HP printer successfully on AIX but on new Suse Enterprise Linux Server 10.3. /usr/bin/lp -d hp4600ps -o media=Tabloid,Tray3 -o scaling=85 -o position=center -o gamma=1450 -o saturation=150 /imagetiff/t23r6w17.tiff The error were endless blank pages printout that I have had to manually press "Cancel Job" to kill the print job. The question is how to make it work the same for Suse10.3 with CUPS? Are there existed CUPS options to allow me do similar above lp command? Please reply back with any solution if you know of. Thank you! Anthony, April 24, 2008 Thu. USA From jsmeix at suse.de Fri Apr 25 00:12:12 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 25 Apr 2008 00:12:12 -0700 Subject: [cups.general] Cups 1.2.7 and Suse 10.2 network printer In-Reply-To: <32515-cups.general@news.easysw.com> References: <32515-cups.general@news.easysw.com> Message-ID: <32522-cups.general@news.easysw.com> Hello, On Apr 24 11:12 vos22201 wrote (shortened): > I have a U.S. Robotics Wireless MAXg ADSL Gateway > that has the option to connect a USB printer at > http://192.168.1.1:1631/printers/canon450. The URL "http..." indicates that something like the IPP protocol should be used here. Avoid to use the most complicated protocol (IPP) to just send the prtinting data to the printserver box. Instead try to use what is recommended, see below. Note that Windows has only a somewhat incomplete IPP implementation and many printserver boxes have broken IPP implementations but "fortunately" the incomplete stuff in Windows works with the broken stuff in certain printserver boxes - obviously most manufactures of such printserver boxes test their stuff only with Windows. See http://www.cups.org/documentation.php/network.html in particular note ----------------------------------------------------------- The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest, fastest, and generally the most reliable network protocol used for printers. .... IPP is the only protocol that CUPS supports natively and is supported by some network printers and print servers. However, since many printers do not implement IPP properly, only use IPP when the vendor actually documents official support for it. .... LPD is the original network printing protocol and is supported by many network printers. Due to limitations in the LPD protocol, we do not recommend using it if the printer or server supports one of the other protocols. ----------------------------------------------------------- Use a command like "nmap <IP-of-your-printserver-box>" to get a list of open ports to find out which protocols it supports. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From stefan.sitte at comsoft.de Fri Apr 25 05:12:07 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 05:12:07 -0700 Subject: Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32523-cups.general@news.easysw.com> =================================================================== RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v retrieving revision 1.50.2.1 diff -u -r1.50.2.1 Retrieve.properties --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 @@ -168,7 +168,8 @@ RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome RetrievalFIRForm.firs=FIR -RetrievalFIRForm.add.fir=Add related aerodromes to list +RetrievalFIRForm.add.fir=Add related aerodromes +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list RetrievalFIRForm.msg.invfir=Invalid FIR RetrievalFIRForm.thead.firs=FIR 200 3189 Print-Job client-error-not-found X-Login-Name: stefan_sitte X-Site-URL: http://www.cups.org/ Hello, the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. I've got a java programm thats print repetitively. When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") I don't think it was a successful operation when the printer i want to print at doesn't exists. Thank for help Stefan ------------------------------- my system: kde-version: 3.5.9-5.fc8 Fedora cups-version: 1.3.6-4.fc8 cups-pdf-version: 2.4.7-1.fc8 Java(TM) SE Runtime Environment (build 1.6.0_03-b05) From stefan.sitte at comsoft.de Fri Apr 25 05:16:35 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 05:16:35 -0700 Subject: successful operation if printer doesn't exist ? Message-ID: <32524-cups.general@news.easysw.com> > Hello, > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > I've got a java programm thats print repetitively. > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > I don't think it was a successful operation when the printer i want to print at doesn't exists. > > Thank for help > > Stefan > Sorry, wrong Subject > ------------------------------- > > my system: > kde-version: 3.5.9-5.fc8 Fedora > cups-version: 1.3.6-4.fc8 > cups-pdf-version: 2.4.7-1.fc8 > Java(TM) SE Runtime Environment (build 1.6.0_03-b05) From rmueller at esu3.org Fri Apr 25 06:54:12 2008 From: rmueller at esu3.org (Rex Mueller) Date: Fri, 25 Apr 2008 06:54:12 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32525-cups.general@news.easysw.com> Michael, Thank you that explains the subsystem much better for me. Similar thing to what HP does with model scripts. But 1000 times more printers available. > Rex Mueller wrote: > > the Printer Name? > > from the printers.conf points to the PPD? > > Yes. > > > so for example My question would be I have "quenames" on my HP/UX box, > > jet admin initiates a connection to the model script for the printer > > based on the IP address. > > On HP-UX, the /var/spool/lp/interface directory contains interface > scripts for each printer queue. Since System V LP does not support > anything other than character devices, the interface script runs an > external program to communicate with the device. > > CUPS *does* support different kinds of device interfaces and runs a > backend program at the end of the filter chain to send print data to > the device. The following page may be useful: > > http://www.cups.org/documentation.php/spec-design.html > > > Does CUPS do something similar to probe the device to determine the > > best model script? > > No, we rely on the backend reporting the make and model, which can > then be used to auto-select a driver. This does not happen > automatically when using the lpadmin command, but rather is supported > by the web interface and various GUI add-ons to CUPS. > > > OR when you create the printer you need to know the associated model > > script? > > When adding a printer with lpadmin, you need to know the model file, > which can be an interface script (for legacy queues that will not > work from most GUI applications) or (more commonly) a PPD name for > the printer. (PPD == PostScript Printer Description file, which is > used for all kinds of printers in CUPS) > > > So say for example, in order to create a HP 3800 > > > > The command line reference I found is as follows: > > > > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > > > In this line there is variable information for > > - name > > - device-uri > > - ppd-filename > > name is the name that appears on the <Printer name> line in > printers.conf. > > device-uri is the DeviceURI line in printers.conf. > > ppd-filename gets copied to /etc/cups/ppd/name.ppd > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From stefan.sitte at comsoft.de Fri Apr 25 07:39:52 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Fri, 25 Apr 2008 07:39:52 -0700 Subject: successful operation if printer doesn't exist ? Message-ID: <32526-cups.general@news.easysw.com> Hello, here is a java code snippet to reproduce the "error". While running the snippet delete the printer (the default printer is used because of services[0]). import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.print.PageFormat; import java.awt.print.Printable; import java.awt.print.PrinterException; import java.awt.print.PrinterJob; import java.text.SimpleDateFormat; import java.util.Date; import javax.print.DocFlavor; import javax.print.PrintService; import javax.print.PrintServiceLookup; public class Print2DPrinterJob implements Printable{ public static void main(String arg[]) { final Print2DPrinterJob sp = new Print2DPrinterJob(); final PrintService[] services = PrintServiceLookup.lookupPrintServices( DocFlavor.SERVICE_FORMATTED.PAGEABLE, null); if (services.length > 0) { sp.run(services[0]); } } private void run(PrintService service) { while (true) { if (service != null) { final PrinterJob pj = PrinterJob.getPrinterJob(); pj.setPrintable(this); System.out.println("selected printer " + service.getName()); try { pj.setPrintService(service); pj.print(); } catch (final PrinterException pe) { String date = new SimpleDateFormat("kk:mm:ss") .format(new Date()); System.err.println("[" + date + "] " + pe); } } try { Thread.sleep(30000); } catch (final InterruptedException e) { e.printStackTrace(); } } } public int print(Graphics g,PageFormat pf,int pageIndex) { if (pageIndex == 0) { Graphics2D g2d= (Graphics2D)g; g2d.translate(pf.getImageableX(), pf.getImageableY()); g2d.setColor(Color.black); g2d.drawString("example string", 250, 250); g2d.fillRect(0, 0, 200, 200); return Printable.PAGE_EXISTS; } else { return Printable.NO_SUCH_PAGE; } } } From karl.h.beckers at gmx.net Fri Apr 25 08:55:39 2008 From: karl.h.beckers at gmx.net (Karl H. Beckers) Date: Fri, 25 Apr 2008 08:55:39 -0700 Subject: cannot find usb printer, though backend does Message-ID: <32527-cups.general@news.easysw.com> Hi all, this may be an odd config, but I've installed cups through optware on my DNS323 NAS device to print to a locally attached usb printer. Now, neither the GUI, nor lpinfo -v, nor /opt/lib/cups/daemon/cups-deviced 1 0 65534 requested-attributes=all show anything about usb. As a matter of fact, lpinfo -v displays nothing at all! cups-deviced displays the same devices which end up in the error_log when trying through the GUI: D [25/Apr/2008:16:35:39 +0100] [CGI] /opt/lib/cups/daemon/cups-deviced started - PID = 4606 I [25/Apr/2008:16:35:39 +0100] Started "/opt/lib/cups/daemon/cups-deviced" (pid=4606) D [25/Apr/2008:16:35:39 +0100] cupsdSendCommand: 5 file=6 D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "socket"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "scsi"... D [25/Apr/2008:16:35:39 +0100] [CGI] No address specified and no Address line in /opt/etc/cups/snmp.conf... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "lpd"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "http"... D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "ipp"... D [25/Apr/2008:16:35:39 +0100] PID 4606 (/opt/lib/cups/daemon/cups-deviced) exited with no errors. D [25/Apr/2008:16:35:39 +0100] cupsdCloseClient: 5 However, the backend seems to detect the printer alright: ~# /opt/lib/cups/backend/usb direct usb://Samsung/ML-2010 "Samsung ML-2010" "Samsung ML-2010 USB #1" "MFG:Samsung;CMD:GDI;MDL:ML-2010;CLS:PRINTER;STATUS:BUSY;" Am I missing smth.? I have heard about splix or the like being required for this printer, but shouldn't I at least be seeing the printer on the usb port, even if I can't correctly print before installing another driver? Shouldn't lpinfo say smth.? Any ideas where to look next? TIA, Karl. From enjoynitin at gmail.com Fri Apr 25 09:23:03 2008 From: enjoynitin at gmail.com (Nitin K) Date: Fri, 25 Apr 2008 09:23:03 -0700 Subject: Print job sorting using CUPS Message-ID: <32528-cups.general@news.easysw.com> Hi, Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? Please let me know. Thanks and regards, Nitin From msweet at apple.com Fri Apr 25 09:48:57 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 09:48:57 -0700 Subject: [cups.general] Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties In-Reply-To: <32523-cups.general@news.easysw.com> References: <32523-cups.general@news.easysw.com> Message-ID: <32529-cups.general@news.easysw.com> Stefan Sitte wrote: > =================================================================== > RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v > retrieving revision 1.50.2.1 > diff -u -r1.50.2.1 Retrieve.properties > --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 > +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 > @@ -168,7 +168,8 @@ > RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome > > RetrievalFIRForm.firs=FIR > -RetrievalFIRForm.add.fir=Add related aerodromes to list > +RetrievalFIRForm.add.fir=Add related aerodromes > +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list > RetrievalFIRForm.msg.invfir=Invalid FIR > RetrievalFIRForm.thead.firs=FIR > 200 3189 Print-Job client-error-not-found > Newsgroups: cups.general > X-Login-Name: stefan_sitte > X-Site-URL: http://www.cups.org/ > Path: news.easysw.com > Xref: news.easysw.com cups.general:32523 > NNTP-Posting-Host: 208.96.52.100 > > Hello, > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > I've got a java programm thats print repetitively. > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > I don't think it was a successful operation when the printer i want to print at doesn't exists. "200" is the HTTP status - the request was processed OK. "3189" is the length of the POST'd request. "client-error-not-found" is the IPP status that was returned in the response message. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 25 09:50:38 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 09:50:38 -0700 Subject: [cups.general] Print job sorting using CUPS In-Reply-To: <32528-cups.general@news.easysw.com> References: <32528-cups.general@news.easysw.com> Message-ID: <32530-cups.general@news.easysw.com> Nitin K wrote: > Hi, > > Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? Not directly, but you can write your own program to get the job info and then sort on whatever fields you want. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 25 15:33:24 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 25 Apr 2008 15:33:24 -0700 Subject: [cups.general] cannot find usb printer, though backend does In-Reply-To: <32527-cups.general@news.easysw.com> References: <32527-cups.general@news.easysw.com> Message-ID: <32531-cups.general@news.easysw.com> Karl H. Beckers wrote: > Hi all, > this may be an odd config, but I've installed cups through optware on my DNS323 NAS device to print to a locally attached usb printer. > > Now, neither the GUI, nor lpinfo -v, nor /opt/lib/cups/daemon/cups-deviced 1 0 65534 requested-attributes=all show anything about usb. As a matter of fact, lpinfo -v displays nothing at all! cups-deviced displays the same devices which end up in the error_log when trying through the GUI: > > D [25/Apr/2008:16:35:39 +0100] [CGI] /opt/lib/cups/daemon/cups-deviced started - PID = 4606 > I [25/Apr/2008:16:35:39 +0100] Started "/opt/lib/cups/daemon/cups-deviced" (pid=4606) > D [25/Apr/2008:16:35:39 +0100] cupsdSendCommand: 5 file=6 > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "socket"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "scsi"... > D [25/Apr/2008:16:35:39 +0100] [CGI] No address specified and no Address line in /opt/etc/cups/snmp.conf... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "lpd"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "http"... > D [25/Apr/2008:16:35:39 +0100] [cups-deviced] Added device "ipp"... > D [25/Apr/2008:16:35:39 +0100] PID 4606 (/opt/lib/cups/daemon/cups-deviced) exited with no errors. > D [25/Apr/2008:16:35:39 +0100] cupsdCloseClient: 5 > > However, the backend seems to detect the printer alright: > ~# /opt/lib/cups/backend/usb > direct usb://Samsung/ML-2010 "Samsung ML-2010" "Samsung ML-2010 USB #1" "MFG:Samsung;CMD:GDI;MDL:ML-2010;CLS:PRINTER;STATUS:BUSY;" > > Am I missing smth.? I have heard about splix or the like being required for this printer, but shouldn't I at least be seeing the printer on the usb port, even if I can't correctly print before installing another driver? Shouldn't lpinfo say smth.? Any ideas where to look next? I'd guess you are running into a permissions problem. The usb backend does not run as root... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From chengqin_j at yahoo.com Fri Apr 25 16:51:42 2008 From: chengqin_j at yahoo.com (chengqin) Date: Fri, 25 Apr 2008 16:51:42 -0700 Subject: CUPS DIGEST Message-ID: <32532-cups.general@news.easysw.com> hi, I am using CUPS 1.3.6 on Suse 10.1. I have question on AuthType Digest. At beginning, I used Basic of AuthType. It works. Then I replaced Basic with Digest in cupsd.conf. When I tried to add printer vi http://localhost:631, the username/passwd window kept prompting. I checked my error_log, and I got the error msg as follows: Authorized using Basic, expected Digest! What does it mean? How can I solve it? Thanks, ivy1234 From enjoynitin at gmail.com Sun Apr 27 14:02:16 2008 From: enjoynitin at gmail.com (Nitin K) Date: Sun, 27 Apr 2008 14:02:16 -0700 Subject: Print job sorting using CUPS Message-ID: <32533-cups.general@news.easysw.com> Thanks for your reply Michael. If by any chance you've come across this requirement in past, could you please explain briefly how this can be achieved? Reards, Nitin > Nitin K wrote: > > Hi, > > > > Is it possible to sort the printing job, for example sort with number of pages to be printed and then with customer name? > > Not directly, but you can write your own program to get the job > info and then sort on whatever fields you want. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From henri at stmargarets.school.nz Sun Apr 27 14:10:57 2008 From: henri at stmargarets.school.nz (henri) Date: Sun, 27 Apr 2008 14:10:57 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> References: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> Message-ID: <32534-cups.general@news.easysw.com> You may want to have a look at PrinterSetup : http://www.lucidsystems.org/printingworks/printersetup With PrinterSetup you create one PrinterSetupFile (PSF) per queue you wish to create. In this PSF you specifify the following information : Printer Name : BigBen Printer Description : Big Ben Color Printer Location : The Big Color Printer Printer Network Address : lpd://bigben.mycomapny.com Printer PPD : BigBen.ppd Once you have created a PSF for each queue, you then create links to these PSFs into the PrinterSetupLinks directory. Finally you can run PrinterSetup to generate these queues. The idea is that you will have created a flat file database of your cups queues. This queue information is now easily editable with any text editor or any combination of the various text and file manipulation tools available modern *NIX systems. This is one more approach which you may want to consider if you have many printers you are managing or converting. However, it will not automatically detect the correct PPD. Instead you will need to specify this information within the PSF. Hope this helps. > /usr/sbin/lpadmin -p name -E -v device-uri -m ppd-filename ENTER > > In this line there is variable information for > - name > - device-uri > - ppd-filename From mark.richards at massmicro.com Sun Apr 27 14:56:24 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Sun, 27 Apr 2008 14:56:24 -0700 Subject: [cups.general] best place for help? In-Reply-To: <3E5726D7-5134-4DEB-BA8C-8D167AE02504@stmargarets.school.nz> References: <fc.3b9aca00958065493b9aca0049658095.69eb03@stmargarets.school.nz> <3E5726D7-5134-4DEB-BA8C-8D167AE02504@stmargarets.school.nz> Message-ID: <32535-cups.general@news.easysw.com> Folks, I posted a request regarding an issue and have not seen any response on it. So I am wondering if this is the right place? The issue has to do with accessing a certain printer that's cups supported via win xp clients. There are some messages appearing in the logs which seem to indicate a relationship to the problem and cups. If this is not the right place, maybe someone could direct me? Thanks for any help, /mark From stefan.sitte at comsoft.de Sun Apr 27 23:03:31 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Sun, 27 Apr 2008 23:03:31 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32536-cups.general@news.easysw.com> > Stefan Sitte wrote: > > =================================================================== > > RCS file: /home1/p/cadas/vcs_cl/amhs/cadas/resources/de/comsoft/cadas/module/retrieve/Retrieve.properties,v > > retrieving revision 1.50.2.1 > > diff -u -r1.50.2.1 Retrieve.properties > > --- resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 18 Apr 2008 15:24:56 -0000 1.50.2.1 > > +++ resources/de/comsoft/cadas/module/retrieve/Retrieve.properties 25 Apr 2008 11:49:42 -0000 > > @@ -168,7 +168,8 @@ > > RetrievalAerodromesForm.msg.invaerodromes=Invalid aerodrome > > > > RetrievalFIRForm.firs=FIR > > -RetrievalFIRForm.add.fir=Add related aerodromes to list > > +RetrievalFIRForm.add.fir=Add related aerodromes > > +RetrievalFIRForm.add.fir.t=Add related aerodromes to aerodromes list > > RetrievalFIRForm.msg.invfir=Invalid FIR > > RetrievalFIRForm.thead.firs=FIR > > 200 3189 Print-Job client-error-not-found > > Newsgroups: cups.general > > X-Login-Name: stefan_sitte > > X-Site-URL: http://www.cups.org/ > > Path: news.easysw.com > > Xref: news.easysw.com cups.general:32523 > > NNTP-Posting-Host: 208.96.52.100 > > > > Hello, > > > > the last print bug with java was fixed last week by sun. Now i have a new "bug" respectively strange behaviour. > > > > I've got a java programm thats print repetitively. > > When i delete the printer the program seems to print normally but no "paper" comes out of the printer (i use cups-pdf for testing). > > But no error occurs. I viewed the cups logs for sth strange and the only thing i saw was in /var/log/cups/access_log the line > > "POST /printers/<printername> HTTP/1.1" 200 3189 Print-Job client-error-not-found" > > > > I haven't found out what the 3189 means (perhaps the error code for client-error-not-found) but the 200 indicates thats all ok > > (see http://www.cups.org/documentation.php/ref-access_log.html "200 - Successful operation.") > > > > I don't think it was a successful operation when the printer i want to print at doesn't exists. > > "200" is the HTTP status - the request was processed OK. > > "3189" is the length of the POST'd request. > > "client-error-not-found" is the IPP status that was returned in the > response message. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi Michael, thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? Regarding Stefan From joropo at pioneerwireless.net Mon Apr 28 06:50:08 2008 From: joropo at pioneerwireless.net (John Ross Porter) Date: Mon, 28 Apr 2008 06:50:08 -0700 Subject: How do I remove *this* printer from web interface? Message-ID: <32537-cups.general@news.easysw.com> >>>>as copied from http://localhost:631/printers/ <<<< {printer_name} Description: {printer_info} Location: {printer_location} Printer Driver: {printer_make_and_model} Printer State: stopped, rejecting jobs, published. >>>>end copy <<<< I've recently upgrades from Fedora 6 to Fedora 8. As part of the process I have a new level of CUPS. I had been using CUPS with Fedora 6 without complaint and have successfully configured CUPS to communicate with my printer. However, the printers/ page referred to above lists a printer I did not configure and can not delete. No matter what I've tried to do to this "printer", re-name, re-configure, whatever... the {printer_name} "device" keeps reappearing. I could be happy just forgetting about it but, like a pebble in one's shoe I expect it to become an irritant. From rmueller at esu3.org Mon Apr 28 07:56:10 2008 From: rmueller at esu3.org (Rex Mueller) Date: Mon, 28 Apr 2008 07:56:10 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32538-cups.general@news.easysw.com> Michael, One more quick question? What is the HP/UX equivalent command to commandline printing for option arguments? Such as -oc (for compressed) -ovsi#.## for vertical space I am not sure if our application vendor will be providing support beyond character based printing for a while. 95% are RAW character output. There no formatting in the output other then column/table format.. (it is an old accounting package.) In HP/UX the command line make look as such: lp -d quename -o<option1> -o<option2> $docname is there a reference table that maybe able to give me a directive on this as well? From mike at easysw.com Mon Apr 28 08:54:21 2008 From: mike at easysw.com (Michael Sweet) Date: Mon, 28 Apr 2008 08:54:21 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties In-Reply-To: <32536-cups.general@news.easysw.com> References: <32536-cups.general@news.easysw.com> Message-ID: <32539-cups.general@news.easysw.com> Stefan Sitte wrote: > ... > thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? It's a Java problem - they are not propagating the IPP error that is returned. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Mon Apr 28 10:25:35 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 28 Apr 2008 10:25:35 -0700 Subject: [cups.general] Scripting HP/jetadmin to CUPS conversion In-Reply-To: <32538-cups.general@news.easysw.com> References: <32538-cups.general@news.easysw.com> Message-ID: <32540-cups.general@news.easysw.com> Rex Mueller wrote: > Michael, > > One more quick question? > > > What is the HP/UX equivalent command to commandline printing for option arguments? Such as > > -oc (for compressed) > -ovsi#.## for vertical space The standard CUPS options are described here: http://localhost:631/help/options.html -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From claus.atzenbeck at freenet.de Mon Apr 28 12:36:29 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Mon, 28 Apr 2008 12:36:29 -0700 Subject: [cups.general] Printing UTF-8 via command line Message-ID: <32541-cups.general@news.easysw.com> Hello, I have Mac OS 10.5.2. I am wondering how I could print UTF-8 plain text files by command line using CUPS. I tried lpr -o document-format=text/utf8 <UTF-8_FileToPrint> but lpr tells me that the format "text/utf8" is not supported. Cheers, Claus From msweet at apple.com Mon Apr 28 15:51:51 2008 From: msweet at apple.com (Michael R Sweet) Date: Mon, 28 Apr 2008 15:51:51 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> Message-ID: <32542-cups.general@news.easysw.com> Claus Atzenbeck wrote: > Hello, > > I have Mac OS 10.5.2. I am wondering how I could print UTF-8 plain text > files by command line using CUPS. > > I tried > > lpr -o document-format=text/utf8 <UTF-8_FileToPrint> > > but lpr tells me that the format "text/utf8" is not supported. Text files use UTF-8 by default in CUPS 1.2 and higher. You can pass "text/plain" for the document-format, but that should be auto- detected... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From claus.atzenbeck at freenet.de Tue Apr 29 00:36:23 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Tue, 29 Apr 2008 00:36:23 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <481654FD.8050404@apple.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> Message-ID: <32543-cups.general@news.easysw.com> On Mon, 28 Apr 2008, Michael R Sweet wrote: > Text files use UTF-8 by default in CUPS 1.2 and higher. You can > pass "text/plain" for the document-format, but that should be auto- > detected... Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with Unicode. For example, I have a UTF-8 plain text file with bullet points ("•"). Executing "lpr utf8.txt" prints "‚Ä¢" instead of the bullet points. Any workaround? Cheers, Claus From mike at easysw.com Tue Apr 29 01:28:07 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 29 Apr 2008 01:28:07 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <32543-cups.general@news.easysw.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> <32543-cups.general@news.easysw.com> Message-ID: <32544-cups.general@news.easysw.com> Claus Atzenbeck wrote: > On Mon, 28 Apr 2008, Michael R Sweet wrote: > >> Text files use UTF-8 by default in CUPS 1.2 and higher. You can >> pass "text/plain" for the document-format, but that should be auto- >> detected... > > Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with > Unicode. > > For example, I have a UTF-8 plain text file with bullet points ("•"). > Executing "lpr utf8.txt" prints "‚Ä¢" instead of the bullet points. File a bug with Apple: http://bugreport.apple.com -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From claus.atzenbeck at freenet.de Tue Apr 29 01:52:50 2008 From: claus.atzenbeck at freenet.de (Claus Atzenbeck) Date: Tue, 29 Apr 2008 01:52:50 -0700 Subject: [cups.general] Printing UTF-8 via command line In-Reply-To: <32544-cups.general@news.easysw.com> References: <alpine.OSX.1.10.0804282130550.31017@cirrus.local> <481654FD.8050404@apple.com> <32543-cups.general@news.easysw.com> <32544-cups.general@news.easysw.com> Message-ID: <32545-cups.general@news.easysw.com> On Tue, 29 Apr 2008, Michael Sweet wrote: >> Mac OS 10.5.2. has CUPS 1.3.6 installed. However, lpr does not work with >> Unicode. >> >> For example, I have a UTF-8 plain text file with bullet points ("•"). >> Executing "lpr utf8.txt" prints "‚Ä¢" instead of the bullet points. > > File a bug with Apple: > > http://bugreport.apple.com At least I know now that it should print UTF-8. I filed a bug report. Cheers, Claus. From kalyani.vel at gmail.com Tue Apr 29 01:57:03 2008 From: kalyani.vel at gmail.com (velupillai) Date: Tue, 29 Apr 2008 01:57:03 -0700 Subject: Serial configuration Message-ID: <32546-cups.general@news.easysw.com> Hello, When we use the serial backend, we have to manually set rights for the serial device example chmod o+rw /dev/ttyS0 and then everything is OK printer installation, printing and so on The problem is that we have to set again the rights after each reboot of the machine !!! Is there any solution for this ? Thanks From john at cs.york.ac.uk Tue Apr 29 02:57:49 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Tue, 29 Apr 2008 02:57:49 -0700 Subject: Set allowed users makes printer invisible Message-ID: <32547-cups.general@news.easysw.com> Here's an odd problem - which I haven't perhaps characterised enough to report as a bug. When one sets an 'Allow these users to print' list (e.g. "john at SITE.AC.UK,lucy at SITE.AC.UK") for a printer in CUPS 1.3.7 operated with 'AuthType Negotiate', with patches for bugs 2748, 2749, 2782 and 2783, the printer is lost from the web list of printers. It is reported as non-existent for printing, though it is recorded in printers.conf with the above users each given an "AllowUser" line. To fix the problem, I edited out the permission lines and restarted cupsd. The problem is reproduceable. I have the cupsd with LogLevel set to Info (it is our production server) and haven't yet tried this somewhere I can reasonably set debug/debug2, and there is no apparently applicable error message in error_log. Has anyone else seen this? John A. Murdie From h.blischke at srz.de Tue Apr 29 03:02:31 2008 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 29 Apr 2008 03:02:31 -0700 Subject: Serial configuration In-Reply-To: <32546-cups.general@news.easysw.com> References: <32546-cups.general@news.easysw.com> Message-ID: <32548-cups.general@news.easysw.com> velupillai wrote: > Hello, > > When we use the serial backend, we have to manually set rights for the serial device > > example > chmod o+rw /dev/ttyS0 > > and then everything is OK > printer installation, printing and so on > > The problem is that we have to set again the rights after each reboot of the machine !!! > > Is there any solution for this ? > > Thanks > > Try to set the permissions for the serial backend to 0700 so that it is run as root. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From rmueller at esu3.org Tue Apr 29 06:19:22 2008 From: rmueller at esu3.org (Rex Mueller) Date: Tue, 29 Apr 2008 06:19:22 -0700 Subject: Scripting HP/jetadmin to CUPS conversion Message-ID: <32549-cups.general@news.easysw.com> Thanks Again .. > Rex Mueller wrote: > > Michael, > > > > One more quick question? > > > > > > What is the HP/UX equivalent command to commandline printing for option arguments? Such as > > > > -oc (for compressed) > > -ovsi#.## for vertical space > > The standard CUPS options are described here: > > http://localhost:631/help/options.html > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From stefan.sitte at comsoft.de Tue Apr 29 06:39:01 2008 From: stefan.sitte at comsoft.de (Stefan Sitte) Date: Tue, 29 Apr 2008 06:39:01 -0700 Subject: [cups.general]Index: resources/de/comsoft/cadas/module/retrieve/Retrieve.properties Message-ID: <32550-cups.general@news.easysw.com> > Stefan Sitte wrote: > > ... > > thanks for your answer, but do you think it's ok when a print job is send to a printer that doesn't exists or is it a java problem ? > > It's a Java problem - they are not propagating the IPP error that is > returned. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com Thanks Michael, that's what i wanted to hear. From tim_plunkett at praxair.com Tue Apr 29 06:59:48 2008 From: tim_plunkett at praxair.com (Tim Plunkett) Date: Tue, 29 Apr 2008 06:59:48 -0700 Subject: Add a printer under HP-UX 11.23 Message-ID: <32551-cups.general@news.easysw.com> I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? Printing works fine outside of CUPS. Thanks in advance. From msweet at apple.com Tue Apr 29 08:57:18 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 29 Apr 2008 08:57:18 -0700 Subject: [cups.general] Set allowed users makes printer invisible In-Reply-To: <32547-cups.general@news.easysw.com> References: <32547-cups.general@news.easysw.com> Message-ID: <32552-cups.general@news.easysw.com> John A. Murdie wrote: > Here's an odd problem - which I haven't perhaps characterised enough to report as a bug. When one sets an 'Allow these users to print' list (e.g. "john at SITE.AC.UK,lucy at SITE.AC.UK") for a printer in CUPS 1.3.7 operated with 'AuthType Negotiate', with patches for bugs 2748, 2749, 2782 and 2783, the printer is lost from the web list of printers. It is reported as non-existent for printing, though it is recorded in printers.conf with the above users each given an "AllowUser" line. > > To fix the problem, I edited out the permission lines and restarted cupsd. The problem is reproduceable. I have the cupsd with LogLevel set to Info (it is our production server) and haven't yet tried this somewhere I can reasonably set debug/debug2, and there is no apparently applicable error message in error_log. > > Has anyone else seen this? This is expected - if you want the web interface to reflect the printers supported by particular users, you need to authenticate all web access... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Apr 29 09:00:33 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 29 Apr 2008 09:00:33 -0700 Subject: [cups.general] Add a printer under HP-UX 11.23 In-Reply-To: <32551-cups.general@news.easysw.com> References: <32551-cups.general@news.easysw.com> Message-ID: <32553-cups.general@news.easysw.com> Tim Plunkett wrote: > I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" > I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? > Printing works fine outside of CUPS. You need GPL Ghostscript to print to non-PostScript printers. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From thalian at compuserve.com Tue Apr 29 14:27:52 2008 From: thalian at compuserve.com (Dave Schuler) Date: Tue, 29 Apr 2008 14:27:52 -0700 Subject: Looking for CUPS consultant Message-ID: <32554-cups.general@news.easysw.com> I'm having a problem using a Dymo LabelWriter 400 printer under Ubuntu 7.10 Linux. I'm using CUPS and believe I've got the driver installed correctly. I can access the printer but am having a problem printing what we need to print on the printer. We use custom labels and I suspect we need to have a media size other than the standard ones added to the CUPS setup. Help! Need help soonest! From justin.huang at liteon.com Wed Apr 30 00:31:45 2008 From: justin.huang at liteon.com (Justin Huang) Date: Wed, 30 Apr 2008 00:31:45 -0700 Subject: Port Monitor questions Message-ID: <32555-cups.general@news.easysw.com> Hi, I modified BCP program and copy the compiled bcp monitor to /usr/lib/cups/monitor/pm. Then I modified the PPD file by adding a line and then restart cupsd: *cupsPortMonitor usb/USB Printing: "pm" I let the port monitor create a file in /tmp folder so I can check the file to see if the monitor had been launched. After submiting many jobs to the printer, I still cannot see the log file there. The print jobs seem to bypass the port monitor and go directly to the backend. Did I do anything wrong? From meyer at mesw.de Wed Apr 30 01:45:47 2008 From: meyer at mesw.de (Markus Meyer) Date: Wed, 30 Apr 2008 01:45:47 -0700 Subject: [cups.general] Blank page printed after each job Message-ID: <32556-cups.general@news.easysw.com> Hi everyone, I am using CUPS 1.3.7 as part of Ubuntu 8.04 on an i386 architecture computer with an HP LaserJet 3030 printer (Foomatic/hpijs 2.8.2 driver). The printer is connected via a printer server at lpd://192.168.0.1/lpt1. My problem is that after each job (be it a test page, printing from OpenOffice, Firefox etc.) a blank page is output. This seems to be the same problem as in numerous other cases, e.g. see http://article.gmane.org/gmane.comp.printing.cups.general/384/ http://article.gmane.org/gmane.comp.printing.cups.general/4178/ http://article.gmane.org/gmane.comp.printing.cups.general/8825/ I already tried to set ps_accounting to 0 in both /usr/lib/cups/filter/cupsomatic and /etc/foomatic/filter.conf and rebooted the computer, but this did not help. I can't believe that this is a problem which seems to exist for years and no one knows an answer! I would be willing to debug this and provide more information if you just give me a pointer. Thanks in advance! Markus From jsmeix at suse.de Wed Apr 30 02:44:16 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 30 Apr 2008 02:44:16 -0700 Subject: [cups.general] Blank page printed after each job In-Reply-To: <481831B2.1030604@mesw.de> References: <481831B2.1030604@mesw.de> Message-ID: <32557-cups.general@news.easysw.com> Hello, On Apr 30 10:45 Markus Meyer wrote (shortened): > I am using CUPS 1.3.7 as part of Ubuntu 8.04 on an i386 architecture > computer with an HP LaserJet 3030 printer (Foomatic/hpijs 2.8.2 driver). > The printer is connected via a printer server at lpd://192.168.0.1/lpt1. > > My problem is that after each job (be it a test page, printing from > OpenOffice, Firefox etc.) a blank page is output. I guess you have to configure your printserver box correctly so that it does no longer emit an additional formfeed character, see your documentation of your printserver box. E.g. you may use a different queue name instead of "lpt1" which does not emit an additional formfeed character if possible, see your documentation of your printserver box. Alternatively use the "AppSocket Protocol" instead of LPD, see http://www.cups.org/documentation.php/network.html > I can't believe that this is a problem which seems to exist > for years and no one knows an answer! I can't believe that it is a problem to find possible answers via Google - at least I found several possible reasons and many answers. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From meyer at mesw.de Wed Apr 30 03:37:10 2008 From: meyer at mesw.de (Markus Meyer) Date: Wed, 30 Apr 2008 03:37:10 -0700 Subject: [cups.general] Blank page printed after each job In-Reply-To: <Pine.LNX.4.64.0804301136210.14925@nelson.suse.de> References: <481831B2.1030604@mesw.de> <Pine.LNX.4.64.0804301136210.14925@nelson.suse.de> Message-ID: <32558-cups.general@news.easysw.com> Johannes, Johannes Meixner schrieb: > I guess you have to configure your printserver box correctly > so that it does no longer emit an additional formfeed character, > the printserver box (an Arcor EasyBox DSL/WLAN/USB) does not "emit an additional formfeed character" when printing to the same printer from Windows XP nor does the documentation mention such a feature. Also, the box does not support the AppSocket protocol, so using it is out of question. I now renamed the queue name from "lpt1" to "hp" according to your suggestion, but the behaviour did not change. > I can't believe that it is a problem to find possible answers > via Google - at least I found several possible reasons > and many answers. > I did find many people having the same problem on Google but no definitive answers as to what would be the root cause of the problem. You may have noticed that the three threads on the Cups mailing list I provided links for all went unanswered. The same goes for the Ubuntu forums, where other people expressed this same problem and did not get an answer either. There is even a FAQ about this problem (see http://www.linux-foundation.org/en/OpenPrinting/Database/CupsFAQ#Why_does_a_blank_page_print_for_every_print_job.3F), but it says "The exact cause is unknown. There is one possible workaround...". I tried this workaround but it does not change the behaviour for me. It also is not inspiring confidence in CUPS if there seems to be a long-standing issue where the "exact cause is unknown". I'm not pointing fingers at anyone, as I wrote I would even offer to debug this myself if I was given a pointer on where to start. Instead you are telling me to use Google which I already did. Markus From tim_plunkett at praxair.com Wed Apr 30 07:08:37 2008 From: tim_plunkett at praxair.com (Tim Plunkett) Date: Wed, 30 Apr 2008 07:08:37 -0700 Subject: Add a printer under HP-UX 11.23 Message-ID: <32559-cups.general@news.easysw.com> > Tim Plunkett wrote: > > I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" > > I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? > > Printing works fine outside of CUPS. > > You need GPL Ghostscript to print to non-PostScript printers. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hello Michael, I thought my printer was postscript compatible. My applications generate pdf files for output. I use the pdftops utility to convert the output to postscript, then send those files via lp (without CUPS) Are you saying that my HP Laserjet 4 printer is non-Postscript? Sory if this is so innane - this is all new to me. From mike at easysw.com Wed Apr 30 09:04:29 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 30 Apr 2008 09:04:29 -0700 Subject: Port Monitor questions In-Reply-To: <32555-cups.general@news.easysw.com> References: <32555-cups.general@news.easysw.com> Message-ID: <32560-cups.general@news.easysw.com> Justin Huang wrote: > Hi, > I modified BCP program and copy the compiled bcp monitor to /usr/lib/cups/monitor/pm. Then I modified the PPD file by adding a line and then restart cupsd: > *cupsPortMonitor usb/USB Printing: "pm" > > I let the port monitor create a file in /tmp folder so I can check the file to see if the monitor had been launched. After submiting many jobs to the printer, I still cannot see the log file there. The print jobs seem to bypass the port monitor and go directly to the backend. > > Did I do anything wrong? For existing queues you need to do: lpadmin -p printer -o port-monitor=pm -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From mike at easysw.com Wed Apr 30 09:05:48 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 30 Apr 2008 09:05:48 -0700 Subject: Add a printer under HP-UX 11.23 In-Reply-To: <32559-cups.general@news.easysw.com> References: <32559-cups.general@news.easysw.com> Message-ID: <32561-cups.general@news.easysw.com> Tim Plunkett wrote: >> Tim Plunkett wrote: >>> I am attempting to replace the existing System V print queue on my HP-UX 11.23 server with CUPS. I add a printer, for example, a Laserjet 4, with the CUPS-supplied driver 'HP LaserJet Series PCL 4/5, 1.3' and the URI 'ipp://bronze.psti.praxair.com/printers/islj4000'. When I print the test page, I get the following error: "Unsupported format 'application/postscript'!" >>> I have read about such errors, but am not sure if I even have the printer's URI defined correctly within CUPS. How can I be sure my IPP is correct? Any suggestions? >>> Printing works fine outside of CUPS. >> You need GPL Ghostscript to print to non-PostScript printers. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Hello Michael, > > I thought my printer was postscript compatible. My applications generate pdf files for output. I use the pdftops utility to convert the output to postscript, then send those files via lp (without CUPS) Are you saying that my HP Laserjet 4 printer is non-Postscript? Sory if this is so innane - this is all new to me. The driver you are using generates PCL. If you do actually have the PostScript version, use the manufacturer's PPD file from Windows with CUPS instead. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From kev at kevnet.org.uk Wed Apr 30 09:37:42 2008 From: kev at kevnet.org.uk (Kev Latimer) Date: Wed, 30 Apr 2008 09:37:42 -0700 Subject: "Satisfy Any" in cupsd.conf Message-ID: <32562-cups.general@news.easysw.com> Hi all, Has anybody any idea why the Satisfy Any directive might be being ignored in my cupsd.conf? All I want is to have certain hosts get access to admin functions without authenticating, all others seeing a user/pass dialogue. I have a pretty identical directive working as expected in my older 1.1-based servers, but it ain't working in my 1.2's. Server versions are 1.2.7-4etch2, and they're Debian Stable/Etch packages. Is it the Debianness that's causing this? Or is it the very likely possibility that I've done something stupid and just can't spot it? The offending article is: <Location /admin> Satisfy any Allow from 10.21.0.4 AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> Any pointers appreciated! Cheers, Kev From msweet at apple.com Wed Apr 30 10:01:57 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 30 Apr 2008 10:01:57 -0700 Subject: [cups.general] "Satisfy Any" in cupsd.conf In-Reply-To: <32562-cups.general@news.easysw.com> References: <32562-cups.general@news.easysw.com> Message-ID: <32563-cups.general@news.easysw.com> Kev Latimer wrote: > Hi all, > > Has anybody any idea why the Satisfy Any directive might be being ignored in my cupsd.conf? All I want is to have certain hosts get access to admin functions without authenticating, all others seeing a user/pass dialogue. I have a pretty identical directive working as expected in my older 1.1-based servers, but it ain't working in my 1.2's. You need to use policies in 1.2 and higher for this, as the policy adds to the location security definitions. That said, there is a known issue with "Satisfy Any" in policies that we just fixed; STR #2782 has the fix: http://www.cups.org/str.php?L2782 -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rhitchco at ece.utk.edu Wed Apr 30 10:49:57 2008 From: rhitchco at ece.utk.edu (Blake) Date: Wed, 30 Apr 2008 10:49:57 -0700 Subject: Missing Arguments when Using ACCSNMP Message-ID: <32564-cups.general@news.easysw.com> I am setting up a print server at work, and everything is working correctly as far as that goes. However, I want to use accsnmp to keep track of users' page counts. I have used accsnmp in the past with no problems, but since installing the version of cups that came with Ubuntu Hardy Heron (Cups 1.3.7), I have not been able to get it to work. I have gone through the cups error_log, and my best guess is that there is a problem with passing the arguments to the script. >From error_log: argv[0]="edoras" argv[1]="48" argv[2]="root" argv[3]="Test Page" argv[4]="1" argv[5]="job-uuid=urn:uuid:2d6396f8-469e-30ce-7469-cd6df8e67849" argv[6]="/var/spool/cups/d00048-001" However, argv[6] is not being passed to the backend accsnmp for some reason. All of the file permissions seem to be correct. If anyone has any insight on this, I would greatly appreciate the help. Oh, my device URI is accsnmp://socket://printer:9100. If I do just socket://printer:9100, everything works fine. From michael at espersunited.com Wed Apr 30 12:46:34 2008 From: michael at espersunited.com (Michael Sullivan) Date: Wed, 30 Apr 2008 12:46:34 -0700 Subject: [cups.general] Diagnosing a cups error Message-ID: <32565-cups.general@news.easysw.com> I run Gentoo Linux. The printer is hooked up to my wife's computer (running cups-1.2.12-r8). We used to be able to print stuff with the current configuration, but now we can't. Whenever we try to use a netscape-type browser, the thing freezes as soon as one requests a print dialog. If I go into CUPS web interface, I can print a test page successfully from there, and I can print on the command prompt by redirecting to /dev/lp0. Are there any tools I can use to further diagnose this problem? I know I have not provided complete information here; I can if deemed necessary, but I'm hoping that there's a simpler answer... -Michael Sullivan- From msweet at apple.com Wed Apr 30 16:45:25 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 30 Apr 2008 16:45:25 -0700 Subject: [cups.general] Missing Arguments when Using ACCSNMP In-Reply-To: <32564-cups.general@news.easysw.com> References: <32564-cups.general@news.easysw.com> Message-ID: <32566-cups.general@news.easysw.com> Blake wrote: > I am setting up a print server at work, and everything is working correctly as far as that goes. However, I want to use accsnmp to keep track of users' page counts. I have used accsnmp in the past with no problems, but since installing the version of cups that came with Ubuntu Hardy Heron (Cups 1.3.7), I have not been able to get it to work. I have gone through the cups error_log, and my best guess is that there is a problem with passing the arguments to the script. > >>From error_log: > > argv[0]="edoras" > argv[1]="48" > argv[2]="root" > argv[3]="Test Page" > argv[4]="1" > argv[5]="job-uuid=urn:uuid:2d6396f8-469e-30ce-7469-cd6df8e67849" > argv[6]="/var/spool/cups/d00048-001" > > However, argv[6] is not being passed to the backend accsnmp for some reason. All of the file permissions seem to be correct. If anyone has any insight on this, I would greatly appreciate the help. Right, only the first filter (or the backend for a raw job) gets the file in argv[6]. Otherwise you MUST read from stdin... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From klapek at kki.net.pl Tue Apr 1 01:10:59 2008 From: klapek at kki.net.pl (Tomasz Koprowski) Date: Tue, 01 Apr 2008 01:10:59 -0700 Subject: Controling bit-depth of gs output Message-ID: <326-cups.ddk@news.easysw.com> Thank you for your answer. > I suspect that gs 8.61 does not pass the cupsBitsPerColor to the > "cups" driver. File a bug with the Ghostscript folks. This could explain why it fails with GPL GS for the user. But my additional question is: is there any way to launch (a known working) ESP GS "by hand" so that it generates 24-bpp instead of 1-bpp. I tried the following: -----------------------------8<--------------------------------------- export PPD=/etc/cups/ppd/Samsung_SPP-2020_USB_1.ppd export LOGLEVEL=2 gs -dQUIET -dNOPAUSE -dBATCH -sDEVICE=cups -sOUTPUTFILE=tiger.cprs /usr/share/ghostscript/8.15/examples/tiger.eps -----------------------------8<--------------------------------------- But it generates 1-bpp: -----------------------------8<--------------------------------------- DEBUG2: cups_get_params(0x85dcea4, 0xbfffe450) DEBUG2: before gdev_prn_get_params() DEBUG2: after gdev_prn_get_params() DEBUG2: Leaving cups_get_params() DEBUG2: cups_put_params(0x85dcea4, 0xbfffe450) DEBUG2: cups_set_color_info(0x85dcea4) DEBUG: cupsEncodeLUT[0] = 0 DEBUG: cupsEncodeLUT[65535] = 1 DEBUG: num_components = 1, depth = 1 DEBUG: cupsColorSpace = 3, cupsColorOrder = 0 DEBUG: cupsBitsPerPixel = 1, cupsBitsPerColor = 1 DEBUG: max_gray = 1, dither_grays = 2 DEBUG: max_color = 0, dither_colors = 0 DEBUG2: ppd = (nil) DEBUG2: PageSize = [ 612.000 792.000 ] DEBUG2: margins = [ 0.000 0.000 -1.999 0.000 ] DEBUG2: HWResolution = [ 100.000 100.000 ] DEBUG2: width = 850, height = 1100 -----------------------------8<--------------------------------------- Is there some more "magic" that cups does to feed settings to gs? Cheers, Tomek From jsmeix at suse.de Tue Apr 1 07:39:54 2008 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 01 Apr 2008 07:39:54 -0700 Subject: [cups.development] Does MAC OS X 10.3 support CUPS 1.2 In-Reply-To: <3922-cups.development@news.easysw.com> References: <3920-cups.development@news.easysw.com> <3922-cups.development@news.easysw.com> Message-ID: <3924-cups.development@news.easysw.com> Hello, On Mar 31 08:54 Michael Sweet wrote (shortened): > Kai Zhu wrote: .... > > Does MAC OS X 10.3 support CUPS 1.2 ? By default, CUPS 1.1 is > > with 10.3, it would be great to upgrade to 1.2 on Mac 10.3, .... > No, the only supported version is the one provided by Apple. In > particular, CUPS 1.2 introduced some changes which prevent the GUIs > and some backends supplied with 10.3 (and 10.4) from working. I thought the 1.2 API is backward compatible to the 1.1 API so that I don't understand why it doesn't work with 1.2. Could you explain it? Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From mike at easysw.com Tue Apr 1 09:28:12 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 09:28:12 -0700 Subject: Controling bit-depth of gs output In-Reply-To: <326-cups.ddk@news.easysw.com> References: <326-cups.ddk@news.easysw.com> Message-ID: <327-cups.ddk@news.easysw.com> Tomasz Koprowski wrote: > Thank you for your answer. > >> I suspect that gs 8.61 does not pass the cupsBitsPerColor to the >> "cups" driver. File a bug with the Ghostscript folks. > > This could explain why it fails with GPL GS for the user. But my additional question is: is there any way to launch (a known working) ESP GS "by hand" so that it generates 24-bpp instead of 1-bpp. > > I tried the following: > -----------------------------8<--------------------------------------- > export PPD=/etc/cups/ppd/Samsung_SPP-2020_USB_1.ppd > export LOGLEVEL=2 > gs -dQUIET -dNOPAUSE -dBATCH -sDEVICE=cups -sOUTPUTFILE=tiger.cprs /usr/share/ghostscript/8.15/examples/tiger.eps > -----------------------------8<--------------------------------------- Look at the pstoraster script included with ESP GS - you need to pass the -dNOMEDIAATTRS option to disable Ghostscript's broken setpagedevice handling. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From mike at easysw.com Tue Apr 1 09:33:10 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 01 Apr 2008 09:33:10 -0700 Subject: [cups.development] Does MAC OS X 10.3 support CUPS 1.2 In-Reply-To: <3924-cups.development@news.easysw.com> References: <3920-cups.development@news.easysw.com> <3922-cups.development@news.easysw.com> <3924-cups.development@news.easysw.com> Message-ID: <3925-cups.development@news.easysw.com> Johannes Meixner wrote: > Hello, > > On Mar 31 08:54 Michael Sweet wrote (shortened): >> Kai Zhu wrote: > ... >>> Does MAC OS X 10.3 support CUPS 1.2 ? By default, CUPS 1.1 is >>> with 10.3, it would be great to upgrade to 1.2 on Mac 10.3, > ... >> No, the only supported version is the one provided by Apple. In >> particular, CUPS 1.2 introduced some changes which prevent the GUIs >> and some backends supplied with 10.3 (and 10.4) from working. > > I thought the 1.2 API is backward compatible to the 1.1 API > so that I don't understand why it doesn't work with 1.2. > > Could you explain it? There are certain private APIs used in earlier Mac OS X releases that are not present in CUPS 1.2 and later, the default security policy is much stricter in 1.2 and higher, and also the cupsd.conf file changes are not understood by the Mac OS X GUI tools. We've run into similar problems with GNOME and KDE over the years - use of private APIs and structures causes problems between releases, and I've taken steps with each new CUPS release to make it harder to use those private interfaces from non-CUPS applications (so, for example, an application that works in CUPS 1.2 has a much higher likelihood of working with 1.3 and 1.4 since the problematic private APIs and structures are not exported...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Tue Apr 1 13:32:41 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 01 Apr 2008 13:32:41 -0700 Subject: [cups.bugs] [HIGH] STR #2729: CVE-2008-0047: cgiCompileSearch buffer overflow Message-ID: <6660-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2729 Version: 1.3.6 Fix Version: 1.4-current (r7420) From msweet at apple.com Tue Apr 1 13:32:55 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 01 Apr 2008 13:32:55 -0700 Subject: [cups.bugs] [HIGH] STR #2751: Information disclosure in CUPS 1.3.x Message-ID: <6661-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L2751 Version: 1.3.6 Fix Version: 1.4-current (r7377) From msweet at apple.com Tue Apr 1 13:33:22 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 01 Apr 2008 13:33:22 -0700 Subject: [cups.bugs] [HIGH] STR #2765: CVE-2008-1373: CUPS GIF image filter overflow Message-ID: <6662-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2765 Version: 1.3.6 Fix Version: 1.4-current (r7420) From mark.richards at massmicro.com Tue Apr 1 20:14:47 2008 From: mark.richards at massmicro.com (Mark Richards) Date: Tue, 01 Apr 2008 20:14:47 -0700 Subject: [cups.bugs] HP Color LaserJet 3600 - install fails windows Message-ID: <6664-cups.bugs@news.easysw.com> Working a rather frustrating problem with cups and windows xp and a color laser jet 3600 printer. Here's all the information. Hopefully someone can shed a little light... yum info cups Installed Packages Name : cups Arch : i386 Epoch : 1 Version: 1.3.6 Release: 2.fc8 Size : 9.9 M Repo : installed uname -A 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux Clients: both linux and windowx xp sp2 Printers: HP Laser Jet 1200 (parallel port): works great from all clients HP color laser jet: * Description:* HP Color LaserJet 3600 + hpijs ppd *Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs *Printer State:* idle, accepting jobs, published. * Device URI:* usb://HP/Color%20LaserJet%203600 Issue: Printing from linux to the HP3600 works fine. However under windows xp (two machines plus another in a virtual environment) we cannot install. During the install process (after the windows drivers are loaded) the install dialog hangs. It appears that Windows is waiting for something from the printer (or cups) and in Bill Gates style, the dialog never times out. The cups error log is possibly revealing, particularly this statement: DNS-SD registration of "HP-3600-hpijs" failed with -65537 Here's the error log (debug enabled): I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6) I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4) I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain) I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp... I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients. I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host. I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default! I [01/Apr/2008:22:46:00 -0400] Full reload is required. I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters... D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW... D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200... E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"... D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache... D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache... I [01/Apr/2008:22:46:00 -0400] Full reload complete. I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14... I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15... I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16... I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing... W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537 D [01/Apr/2008:22:46:00 -0400] Report: clients=0 D [01/Apr/2008:22:46:00 -0400] Report: jobs=12 D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0 D [01/Apr/2008:22:46:00 -0400] Report: printers=3 D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008 D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744 D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost... D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0... D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon() D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain) D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1 D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided. D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok) The cups.conf file reads: # 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 BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic <Location /> Allow 192.168.1.0/24 # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin> # Allow remote administration... Order allow,deny Allow @LOCAL </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> I've read a bit about DNS-SD and assume that this support is available in Cups. There was some mention of a workaround in Ubuntu using sudo aa-complain cupsd but this is apparently not applicable to our distribution. Any thoughts? From kaizhu.cn at gmail.com Tue Apr 1 22:46:30 2008 From: kaizhu.cn at gmail.com (Kai Zhu) Date: Tue, 01 Apr 2008 22:46:30 -0700 Subject: Get option valules from PDE on MAC Message-ID: <3927-cups.development@news.easysw.com> Hi there, How do I get the option value on MAC PDE? For example, as you know, there are several standard PDE for a printer on MAC, on each of them, there are some options defined. Now i am trying to do my own PDE, when initializing, it requires some option values which defined in standard PDE. ( say, "Pages per sheet", i need value of this option). Are there any geters for this ? Or how do I get this value? Thanks Kai From martin.pitt at canonical.com Wed Apr 2 01:33:18 2008 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Wed, 02 Apr 2008 01:33:18 -0700 Subject: [cups.bugs] [MOD] STR #2780: pdftops does not handle EINTR Message-ID: <6665-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] First, a big thanks for the much improved test suite in 1.3.7! By comparing expected number of errors it promptly caught a failure when I prepared 1.3.7 packages for Debian/Ubuntu: E [02/Apr/2008:02:47:45 +0200] PID 20824 (/tmp/cups-martin/bin/filter/pdftops) stopped with status 1! We use the pdftops filter from 1.4 svn head on 1.3.7. I tracked this down to pdftops.c's wait() failing on EINTR (yay, my favourite of "ten things I hate about Unix" did it again). Attached patch handles this properly, similar to other parts in the code which run wait(). BTW, it took me quite some time to debug this. Calling the filter manually with identical arguments on the command line succeeded. Smuggling gdb in between cupsd and pdftops does not work easily due to stdin not being a console, and for race conditions like that it's probably quite useless anyway. The existing fprintf()s to stderr do not leave any trace in error_log or anywhere else, so I ended up cluttering the code with fprintf() to a newly created log file. Is there a better/easier method to debug a filter? Thanks, Martin Link: http://www.cups.org/str.php?L2780 Version: 1.4-current -------------- next part -------------- A non-text attachment was scrubbed... Name: pdftops-wait-eintr.dpatch Type: application/octet-stream Size: 1079 bytes Desc: not available URL: <https://lists.cups.org/pipermail/cups/attachments/20080402/87a99d12/attachment.obj> From mike at easysw.com Wed Apr 2 08:33:46 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 02 Apr 2008 08:33:46 -0700 Subject: Get option valules from PDE on MAC In-Reply-To: <3927-cups.development@news.easysw.com> References: <3927-cups.development@news.easysw.com> Message-ID: <3929-cups.development@news.easysw.com> Kai Zhu wrote: > Hi there, > How do I get the option value on MAC PDE? > > For example, as you know, there are several standard PDE for a printer on MAC, on each of them, there are some options defined. Now i am trying to do my own PDE, when initializing, it requires some option values which defined in standard PDE. ( say, "Pages per sheet", i need value of this option). > > Are there any geters for this ? Or how do I get this value? The Apple printing list is a better place to ask this kind of question. http://lists.apple.com -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From david.collins at goodrich.com Wed Apr 2 12:16:42 2008 From: david.collins at goodrich.com (David Collins) Date: Wed, 02 Apr 2008 12:16:42 -0700 Subject: cupsGetNamedDest Message-ID: <3930-cups.development@news.easysw.com> Getting an error with Red Hat Linux 5 when I issue the lp command. uname -a Linux (hostxxxxx) 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Versions: libgnomecups-0.2.2-8 cups-libs-1.2.4-11.14.el5_1.6 cups-libs-1.2.4-11.14.el5_1.6 cups-1.2.4-11.14.el5_1.6 [root at msp0ph21 cups]# lp lp: symbol lookup error: lp: undefined symbol: cupsGetNamedDest [root at msp0ph21 cups]# From msweet at apple.com Wed Apr 2 12:39:25 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 02 Apr 2008 12:39:25 -0700 Subject: [cups.development] cupsGetNamedDest In-Reply-To: <3930-cups.development@news.easysw.com> References: <3930-cups.development@news.easysw.com> Message-ID: <3931-cups.development@news.easysw.com> David Collins wrote: > Getting an error with Red Hat Linux 5 when I issue the lp command. > > uname -a > Linux (hostxxxxx) 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > > Versions: > > libgnomecups-0.2.2-8 > cups-libs-1.2.4-11.14.el5_1.6 > cups-libs-1.2.4-11.14.el5_1.6 > cups-1.2.4-11.14.el5_1.6 > [root at msp0ph21 cups]# lp > lp: symbol lookup error: lp: undefined symbol: cupsGetNamedDest > [root at msp0ph21 cups]# You have an incomplete installion of CUPS 1.4.x over the standard Red Hat CUPS. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From david.collins at goodrich.com Wed Apr 2 12:48:28 2008 From: david.collins at goodrich.com (David Collins) Date: Wed, 02 Apr 2008 12:48:28 -0700 Subject: cupsGetNamedDest Message-ID: <3932-cups.development@news.easysw.com> Had the lp command from a later version mixed in. Removed it back to the correct version fixed the problem. > Getting an error with Red Hat Linux 5 when I issue the lp command. > > uname -a > Linux (hostxxxxx) 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > > Versions: > > libgnomecups-0.2.2-8 > cups-libs-1.2.4-11.14.el5_1.6 > cups-libs-1.2.4-11.14.el5_1.6 > cups-1.2.4-11.14.el5_1.6 > [root at msp0ph21 cups]# lp > lp: symbol lookup error: lp: undefined symbol: cupsGetNamedDest > [root at msp0ph21 cups]# > From ophers at ladpc.co.il Thu Apr 3 00:39:33 2008 From: ophers at ladpc.co.il (Opher Shachar) Date: Thu, 03 Apr 2008 00:39:33 -0700 Subject: [cups.bugs] [MOD] STR #2781: Some more problems with CGI handling Message-ID: <6667-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hello, There are two more issues with CGI handling: 1. QUERY_STRING does not always get set. For example with: [1] http://localhost:631/test.cgi?file1+file2&file3 [2] http://localhost:631/test.cgi?/path/to/file1+/path/to/file2 QUERY_STRING is unset where it must be set to the whole substring following the "?". RFC#3875 (CGI/1.1 specification) section 4.1.7 states: [...] The QUERY_STRING value provides the query-string part of the Script-URI. (See section 3.3). The server MUST set this variable; if the Script-URI does not include a query component, the QUERY_STRING MUST be defined as an empty string (""). 2. Positional parameters are not always set. For example with: [2] http://localhost:631/test.cgi?/path/to/file1+/path/to/file2 positional parameters are not set where they should be: $1=/path/to/file1, $2=/path/to/file2. Attached are two patches, cups-str2173-1.patch and cups-str2342-1.patch, that resolve these issues respectively. With regard to CUPS 1.3.x cups-str2173-1.patch is *dependent* on str2173.patch (http://www.cups.org/str.php?L2173). Regards, Opher Shachar. Link: http://www.cups.org/str.php?L2781 Version: 1.4-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-str2173-1.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080403/a93c145d/attachment.ksh> From ophers at ladpc.co.il Thu Apr 3 00:39:48 2008 From: ophers at ladpc.co.il (Opher Shachar) Date: Thu, 03 Apr 2008 00:39:48 -0700 Subject: [cups.bugs] [MOD] STR #2781: Some more problems with CGI handling Message-ID: <6668-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "cups-str2342-1.patch"... Link: http://www.cups.org/str.php?L2781 Version: 1.4-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-str2342-1.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080403/03be29c1/attachment.ksh> From rpfuller-cups at cs.york.ac.uk Thu Apr 3 05:06:35 2008 From: rpfuller-cups at cs.york.ac.uk (Richard Fuller) Date: Thu, 03 Apr 2008 05:06:35 -0700 Subject: [cups.bugs] [MOD] STR #2782: Satisfy any doesn't work for Print-Job/Create-Job Message-ID: <6669-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Satisfy any doesn't work for Print-Job or Create-Job. For example, I have CUPS configured so that Negotiate authentication is required, except from localhost, as I wish to use cups-lpd to interface with another system. (Which is fine because users can't run things on the server in question.) It almost works, but fails at (in CUPS 1.3.7) scheduler/ipp.c:1301 else if ((printer->type & CUPS_PRINTER_AUTHENTICATED) && !con->username[0] && !auth_info) { send_http_error(con, HTTP_UNAUTHORIZED, printer); return (NULL); } printer->type & CUPS_PRINTER_AUTHENTICATED is true, but there is no username or auth_info, as I have connected from localhost, where none should be required. Obviously, in general, authentication is required, so CUPS_PRINTER_AUTHENTICATED makes sense, but having connected from an IP address explicity allowed, with a Satisfy any, I should not have to have an authenticated username or auth info. As a hack, to test the theory, I added: && !httpAddrLocalhost(con->http.hostaddr) and then it worked fine, happily using the (unauthenticated) username supplied in the IPP request. My guess would be it needs to include "has come from an allowed IP address with satisfy any enabled" as an alternative to con->username[0] and auth_info. Do let me know if you would like any more details. Link: http://www.cups.org/str.php?L2782 Version: 1.3.7 From rpfuller-cups at cs.york.ac.uk Thu Apr 3 09:53:54 2008 From: rpfuller-cups at cs.york.ac.uk (Richard Fuller) Date: Thu, 03 Apr 2008 09:53:54 -0700 Subject: [cups.bugs] [MOD] STR #2783: Multiple Kerberised CUPS servers on one host Message-ID: <6670-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] If you have two CUPS servers on one machine, notionally (*) on different IP addresses, only the one on the IP address corresponding to the hostname of the machine works. Say you have cupsa, 192.168.0.1 and cupsb, 192.168.0.2, on the host cupsa. When a client talks to cupsa it will use the ipp/cupsa principal, and when it talks to cupsb it will use the ipp/cupsb principal. However, both CUPS servers will use the ipp/cupsa principal, so Kerberos authentication fails when talking to cupsb. As far as I can see, the attached patch resolves this issue, by using the hostname of the IP address that the client connected to. Seems to work fine, I'll do some more in depth testing tomorrow. * - You can't really bind a CUPS server to an IP address, but can use different ports and some iptables tricks. You can ignore that if you prefer, and consider the case of a machine with two IP addresses and one CUPS server, clients will expect the principal used to match the IP address they are connecting to. Link: http://www.cups.org/str.php?L2783 Version: 1.3.7 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: multiple-kerberised-cupsds.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080403/a50b4e95/attachment.ksh> From rpfuller-cups at cs.york.ac.uk Fri Apr 4 01:53:31 2008 From: rpfuller-cups at cs.york.ac.uk (Richard Fuller) Date: Fri, 04 Apr 2008 01:53:31 -0700 Subject: [cups.bugs] [MOD] STR #2783: Multiple Kerberised CUPS servers on one host Message-ID: <6671-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I've done some more testing, this patch solves the problem for me, and hasn't caused me any other problems. Link: http://www.cups.org/str.php?L2783 Version: 1.3.7 From tvzengen at web.de Fri Apr 4 11:36:54 2008 From: tvzengen at web.de (Torge) Date: Fri, 04 Apr 2008 11:36:54 -0700 Subject: [cups.bugs] [HIGH] STR #2784: BJ-10e driver causes system to freeze Message-ID: <6672-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] There are two systems here, an older and a new one both running Ubuntu 7.04. The newer one was supposed to replace the older system. However, the new system will freeze when a Canon BJ-10e driver is configured for this printer. After configuration, the first time the printing system is actually required (i.e., printing a test page), the system freezes completely. After a hard reset, the system will freeze every time at the moment the log on screen is being displayed. The system, with a configured BJ-10e driver active, cannot run normally, removal/renaming of the "printers.conf" file is necessary to make the system available normally again. The printer being actually connected to the sys or not makes no difference. On the older system this error does not happen, the printer works. Apart from hardware, the only difference I could find is that the older system uses v1.2.4 and the new system has 1.2.8 for some reason. I have attached two log and two configuration files as requested. Thanks! Link: http://www.cups.org/str.php?L2784 Version: 1.2.8 -------------- next part -------------- A non-text attachment was scrubbed... Name: cups_log_conf_BJ10e.tar.gz Type: application/octet-stream Size: 1831 bytes Desc: not available URL: <https://lists.cups.org/pipermail/cups/attachments/20080404/87b4b8f5/attachment.obj> From msweet at apple.com Fri Apr 4 11:42:53 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 04 Apr 2008 11:42:53 -0700 Subject: [cups.bugs] [LOW] STR #2784: BJ-10e driver causes system to freeze Message-ID: <6673-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] We don't provide a Canon BJ-10e driver. The error_log file only shows a single error message when the printer was added (unauthorized - normal for a request that needs to be authenticated...), so there isn't enough information to go on. I'd start by contacting the developer of the Canon driver - the problem will either be there or in the kernel's parallel port driver (or configuration)... Link: http://www.cups.org/str.php?L2784 Version: 1.2.8 Fix Version: None From cups.dev at web.de Fri Apr 4 23:55:03 2008 From: cups.dev at web.de (Detlef Riekenberg) Date: Fri, 04 Apr 2008 23:55:03 -0700 Subject: [cups.bugs] [LOW] STR #2785: Typo in INSTALL.txt (with Patch) Message-ID: <6675-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] INSTALL.txt has a double "or". cups-1.4-7434: Patch attached cups-1.3.7: patching file INSTALL.txt Hunk #1 succeeded at 32 (offset -1 lines). -- By by ... Detlef Link: http://www.cups.org/str.php?L2785 Version: 1.4-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fix_typo.diff URL: <https://lists.cups.org/pipermail/cups/attachments/20080404/02c9f327/attachment.ksh> From cups.dev at web.de Sat Apr 5 02:26:29 2008 From: cups.dev at web.de (Detlef Riekenberg) Date: Sat, 05 Apr 2008 02:26:29 -0700 Subject: [cups.development] [RFE] STR #2786: Wine need an Option to check, that a cached Printer list is still up to date Message-ID: <3933-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Wine ( http://www.winehq.org ) must present available Printers and the default Printer to Windows Applications. To make sure, that the list is up to Date, the current Code call cupsGetDests(), when an Application is started. This is a lot of overhead and need ages (minutes with 50 Network Printers), until the Application comes up. Checking /etc/printcap does not work on all Systems due to the option Printcap without a filename. An cups-API, that return a checksum (md5sum / crc32) or a modification-time for the default Printer and all available Printers is a big enhancement for Wine. This Feature can also reduce the Network-Traffic for CUPS, when cups_dest_t is cached inside CUPS. Thanks -- By by ... Detlef Riekenberg Link: http://www.cups.org/str.php?L2786 Version: -feature From msweet at apple.com Sat Apr 5 09:15:47 2008 From: msweet at apple.com (Michael Sweet) Date: Sat, 05 Apr 2008 09:15:47 -0700 Subject: [cups.development] [RFE] STR #2786: Wine need an Option to check, that a cached Printer list is still up to date Message-ID: <3934-cups.development@news.easysw.com> [STR Closed w/o Resolution] I'd be interested to know what version of CUPS you are using, since cupsGetDests() is generally quite fast in recent CUPS releases. Regardless, don't use cupsGetDests(), make a CUPS_GET_PRINTERS IPP request and get your list of printers using cupsDoRequest() - you can limit the request to just the printer-name and printer-type attributes and will not have the overhead of the convenience API call. Alternately you could use an IPP subscription to track printer changes, initially getting a list of printers and then caching the printer list, subscription ID, and last event number received. You could then just read printer events on startup to update your cached copy. I'm not sure this would be any faster than a straight CUPS_GET_PRINTERS request, however. In any case, we will not be adding an API to get a checksum or last-modified date. Neither will provide the speed up you are looking for - the checksum will change for any printer list change, as would the date. Please continue discussion on cups.development. Link: http://www.cups.org/str.php?L2786 Version: -feature Fix Version: Will Not Fix From rpfuller-cups at cs.york.ac.uk Mon Apr 7 03:36:09 2008 From: rpfuller-cups at cs.york.ac.uk (Richard Fuller) Date: Mon, 07 Apr 2008 03:36:09 -0700 Subject: [cups.bugs] [MOD] STR #2748: Negotiate Authentication Failure on Web Interface In-Reply-To: <20080326160128.88E793C68490@dns.easysw.com> References: <20080326160128.88E793C68490@dns.easysw.com> Message-ID: <6676-cups.bugs@news.easysw.com> On Wednesday 26 Mar 2008, Michael Sweet wrote: > [STR Closed w/Resolution] > > Well, the patch is correct but the credentials your browser is supplying > are not - the GSS API spec requires that the client (your web browser) > provide credentials with the "delegatable" bit set... > > I'll close this bug out (we are now properly using Kerberos credentials > for CGI programs), and you need to file a bug with the browser developers. > Once that problem is fixed, everything should work just fine... Out of interest, which browsers does this work with? I've managed to get a bit further, sending credentials with the delegate bit set, but the gss_krb5_copy_ccache always fails with "Invalid credential was supplied" con->gss_delegated_cred contains something that looks like valid delegated credentials when the delegate bit is set. I've tried Firefox (2 and latest trunk), Safari, Perl with LWP::Authen::Negotiate, and Konqueror 4, and I'm using the latest stable MIT Kerberos, 1.6.3. It's particularly frustrating because if I get it to ignore the result of gss_krb5_copy_ccache everything works 'fine' for me (the delegated credentials don't work, but it uses local certificate auth to send the IPP commands, and renegotiates for each HTTP request, and that all works fine) as the only real issue I'm having is the basic vs Negotiate mismatch one. Since I have a workaround this isn't particularly important, but I would like to resolve the issue properly at some point. I'm happy to do what I can, but it would really help if there was a combination known to work that I can try to see what should be happening. Regards, Richard From msweet at apple.com Mon Apr 7 10:33:01 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 07 Apr 2008 10:33:01 -0700 Subject: [cups.bugs] [LOW] STR #2788: Logging issues to access_log Message-ID: <6677-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] [Reported via email] I've noticed three things I wanted to ask about: 1. long string - bad request = 1969 log date http://localhost:631/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA In the log file, this path will end up getting logged as though it occurred in 1969. 2. log injection with newlines in request http://localhost:631/admin/%22%20123%20123%2012%20312%2031%2023%0alocalhost%20-%20-%20[06/Apr/2008:15:40:08%20-0700]%20%22POST%20HEY%20MAN%22 In the CUPS log file, this will inject new lines. Tools that process log files could be mislead. Link: http://www.cups.org/str.php?L2788 Version: 1.3-current From msweet at apple.com Mon Apr 7 10:46:20 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 07 Apr 2008 10:46:20 -0700 Subject: [cups.bugs] [LOW] STR #2789: The scheduler should check for duplicate RSS subscription URIs Message-ID: <6678-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The scheduler currently allows overlapping of RSS feeds, which could lead to odd or corrupted feeds... We can't do anything about multiple servers uploading to the same HTTP store, but we *can* prevent a single server from having multiple subscriptions going to the same feed. Alternately, the RSS notifier could lock, read, update, write, and unlock local RSS feeds so that multiple local subscriptions could coexist. Link: http://www.cups.org/str.php?L2789 Version: 1.3-current From msweet at apple.com Tue Apr 8 11:15:18 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 11:15:18 -0700 Subject: [cups.bugs] [LOW] STR #2685: Unable to authenticate with Kerberos Message-ID: <6679-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L2685 Version: 1.3.5 Fix Version: 1.3-current From move2rahul at yahoo.co.in Tue Apr 8 11:20:44 2008 From: move2rahul at yahoo.co.in (rahulmode) Date: Tue, 08 Apr 2008 11:20:44 -0700 Subject: [cups.development] [RFE] STR #2787: Content-Length if not given defaults to a large number of bytes making the server to wait for any data Message-ID: <3935-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Tested on both CUPS-1.1.23 and CUPS-1.3.7 Content-Length, if not given defaults to 2147483647 Bytes making the server wait for that many number of bytes. The exploit scenario: If the user connects the server using "nc" on which he is allowed to use post method request and sends a request without stating the Content-Length value then the server waits for 2147483647 Bytes or time-out whichever is earlier. Now if an attacker connects with max-clients-allowed to the server and sends this request from each client then the SERVER may possibly go into DOS !! Ex Exploit: # nc cups_server 631 POST /printers/ HTTP/1.1 Content-Length: \n\n < other data > ----------------------------------------------------------------- -- BY Rahul Mode ( rahulmode at gmail.com ) Link: http://www.cups.org/str.php?L2787 Version: -feature From dirgitadevina at yahoo.co.id Tue Apr 8 11:20:44 2008 From: dirgitadevina at yahoo.co.id (Citra Paska) Date: Tue, 08 Apr 2008 11:20:44 -0700 Subject: [cups.development] [RFE] STR #2792: Indonesia translation Message-ID: <3936-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "id.tar.gz"... Link: http://www.cups.org/str.php?L2792 Version: -feature Attachment: http://www.cups.org/strfiles/2792/id.tar.gz From stefan.brauner at gmx.de Tue Apr 8 11:21:40 2008 From: stefan.brauner at gmx.de (Stefan Brauner) Date: Tue, 08 Apr 2008 11:21:40 -0700 Subject: [cups.bugs] [LOW] STR #2791: Problem with HP Business Inkjet 2230, opensuse 10.3 Message-ID: <6680-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] the printer doesn't finish the printjobs. Cups says that the job is finished and printer is ready again but the printer-display keeps staying on "printing". No further jobs are possible until the printer is turned off and on again. The printer works fine with settings for a business inkjet 2220 (foomatic/chp2200). And it also worked with opensuse 10.0(sorry don't know which cups version) Problem came up with new opensuse and probably newer cups. Would use the 2220 driver but this does not support 2 paper trays. Thanks for any help. Link: http://www.cups.org/str.php?L2791 Version: 1.2.12 From thomas.pollet at gmail.com Tue Apr 8 11:21:40 2008 From: thomas.pollet at gmail.com (Thomas Pollet) Date: Tue, 08 Apr 2008 11:21:40 -0700 Subject: [cups.bugs] [CRIT] STR #2790: buffer overflows in filters Message-ID: <6681-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] 1)filter/image-png.c img->xsize * img->ysize may overflow (CUPS_IMAGE_MAX_WIDTH and CUPS_IMAGE_MAX_HEIGHT are too big for multiplication). malloc(img->xsize * img->ysize * 3) can result in a buffer that's too small. Also, the return codes of alot of the mallocs aren't checked, when a NULL pointer is passed to png_read_row, it may be possible to corrupt memory this way as well. I have a .png that does this. 2)filter/image-zoom.c there are a couple of mallocs in this file that look equally dangerous: malloc(z->xsize * z->depth) I haven't crashed it but by looking at the code it seems there is no check for the multiplication to overflow (the checks for MAX_WIDTH and MAX_HEIGHT are insufficient when width and height are used in multiplication) If you need more information, please let me know. Regards, Thomas Pollet Link: http://www.cups.org/str.php?L2790 Version: 1.3-current From msweet at apple.com Tue Apr 8 11:27:41 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 11:27:41 -0700 Subject: [cups.bugs] [LOW] STR #2791: Problem with HP Business Inkjet 2230, opensuse 10.3 Message-ID: <6682-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] We do not provide support for Foomatic driver issues. Please contact the developers on linuxprinting.org for this issue. Link: http://www.cups.org/str.php?L2791 Version: 1.2.12 Fix Version: None From kevin.hamilton at gmail.com Tue Apr 8 14:49:49 2008 From: kevin.hamilton at gmail.com (Kevin Hamilton) Date: Tue, 08 Apr 2008 14:49:49 -0700 Subject: orientation-requested regression for pdf files? Message-ID: <3937-cups.development@news.easysw.com> I just moved several applications from a server running cups 1.2.4 to a server running cups 1.3.6, and found that my orientation-requested option is being ignored. The command my application is attempting to run, is: lpr.cups -Pprintername -o orientation-requested=6 -o Duplex=DuplexTumble filename Whether I pass orientation-requested=3 or orientation-requested=6, I always get portrait output at the printer, never reverse-portrait which is what I need. However, it is only ignored when the document to be printed is a pdf file, if the file is an ASCII text document, then it rotates as expected. Looking through the bug tracker, I think, but am not certain, that it is a regression introduced in STR2348 http://www.cups.org/str.php?L2348. Any thoughts or help would be much appreciated. From msweet at apple.com Tue Apr 8 19:50:56 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 19:50:56 -0700 Subject: [cups.bugs] [LOW] STR #2788: Logging issues to access_log Message-ID: <6683-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2788 Version: 1.3-current Fix Version: 1.4-current (r7436) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2788.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080408/ed74ebcb/attachment.ksh> From msweet at apple.com Tue Apr 8 20:01:58 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 20:01:58 -0700 Subject: [cups.bugs] [LOW] STR #2793: lpr cannot print on my university cups 1.1.14 anymore Message-ID: <6684-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] This is not a bug and will not be "fixed". Your old systems are using a non-UTF8 locale, and the old CUPS does not convert the locale charset to UTF-8, so the scheduler is unable to process the request. CUPS 1.2.0 was the first release to use UTF-8 exclusively in the scheduler, and 1.3.4 was the first release to enforce that requirement. Link: http://www.cups.org/str.php?L2793 Version: 1.3.6 Fix Version: Will Not Fix From friederike.althen at googlemail.com Tue Apr 8 20:02:28 2008 From: friederike.althen at googlemail.com (Friederike) Date: Tue, 08 Apr 2008 20:02:28 -0700 Subject: [cups.bugs] [HIGH] STR #2793: lpr cannot print on my university cups 1.1.14 anymore Message-ID: <6685-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] With openSUSE 10.3 cups 1.2.12 I can print on my universities cups server (it is running cups 1.1.14 which I cannot change ... ;)) # lpr -H zivcups1.uni-muenster.de -P einps -U f_moel03 -T "title" file.ps Now I am using cups 1.3.36 on my openSUSE machine and my jobs do not print anymore. :-( They appear in lpq, but they are never actually printed. I tried to print with OS X 10.5 (it uses 1.3.35) and it does not work either. I just compiled 1.2.12 and 1.3.0 from source on my openSUSE box to see when the bug was introduced.... any ideas? Link: http://www.cups.org/str.php?L2793 Version: 1.3.6 From msweet at apple.com Tue Apr 8 20:17:55 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 20:17:55 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG image loading code Message-ID: <6686-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2790 Version: 1.3-current Fix Version: 1.4-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2790.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080408/fa894a8a/attachment.ksh> From msweet at apple.com Tue Apr 8 20:28:11 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 20:28:11 -0700 Subject: [cups.bugs] [LOW] STR #2774: Subscription web interface incorrectly uses guest account Message-ID: <6687-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2774 Version: 1.3-current Fix Version: 1.4-current (r7438) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2774.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080408/fc94bd75/attachment.ksh> From msweet at apple.com Tue Apr 8 20:31:09 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 20:31:09 -0700 Subject: [cups.bugs] [LOW] STR #2785: Typo in INSTALL.txt (with Patch) Message-ID: <6688-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2785 Version: 1.3-current Fix Version: 1.4-current (r7439) From msweet at apple.com Tue Apr 8 20:38:55 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 08 Apr 2008 20:38:55 -0700 Subject: [cups.bugs] [LOW] STR #2787: Content-Length if not given defaults to a large number of bytes making the server to wait for any data Message-ID: <6689-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2787 Version: 1.3-current Fix Version: 1.4-current (r7440) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2787.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080408/0b35b70d/attachment.ksh> From thomas.pollet at gmail.com Wed Apr 9 02:12:05 2008 From: thomas.pollet at gmail.com (Thomas Pollet) Date: Wed, 09 Apr 2008 02:12:05 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG image loading code In-Reply-To: <20080409031753.AD55E3C6847C@dns.easysw.com> References: <20080409031753.AD55E3C6847C@dns.easysw.com> Message-ID: <6690-cups.bugs@news.easysw.com> Hi, you should check for the return of malloc also: due to the way png_read_row works it may be possible to write to some lower address in memory if a NULL is passed as the row argument. Below is a gdb trace to clarify this. As you can see, data is not written until row=0x2f928. This can be manipulated to write to some interesting lower place in memory (like the ..got section). (gdb) break png_read_row Breakpoint 1 at 0xb7c5fee2: file pngread.c, line 580. (gdb) c Continuing. [Switching to Thread -1212070224 (LWP 27030)] Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x0, dsp_row=0x0) at pngread.c:580 580 pngread.c: No such file or directory. in pngread.c (gdb) c Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x5f25 <Address 0x5f25 out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0xbe4a <Address 0xbe4a out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x11d6f <Address 0x11d6f out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x17c94 <Address 0x17c94 out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x1dbb9 <Address 0x1dbb9 out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x23ade <Address 0x23ade out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x29a03 <Address 0x29a03 out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) Continuing. Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x2f928 <Address 0x2f928 out of bounds>, dsp_row=0x0) at pngread.c:580 580 in pngread.c (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0xb7c57b33 in png_combine_row (png_ptr=0x80528d8, row=0x2f928 <Address 0x2f928 out of bounds>, mask=128) at pngrutil.c:2483 2483 pngrutil.c: No such file or directory. in pngrutil.c (gdb) Regards, Thomas Pollet On 09/04/2008, Michael Sweet <msweet at apple.com> wrote: > > [STR Closed w/Resolution] > > Fixed in Subversion repository. > > Link: http://www.cups.org/str.php?L2790 > Version: 1.3-current > Fix Version: 1.4-current > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/50a141c2/attachment.html> From thomas.pollet at gmail.com Wed Apr 9 02:14:03 2008 From: thomas.pollet at gmail.com (Thomas Pollet) Date: Wed, 09 Apr 2008 02:14:03 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG image loading code In-Reply-To: <dd5f5ac90804090211l1927646dxf4ce54110a1f031@mail.gmail.com> References: <20080409031753.AD55E3C6847C@dns.easysw.com> <dd5f5ac90804090211l1927646dxf4ce54110a1f031@mail.gmail.com> Message-ID: <6691-cups.bugs@news.easysw.com> Hi, Nevermind my previous mail, I missed the if (!in || !out) Regards, Thomas Pollet On 09/04/2008, Thomas Pollet <thomas.pollet at gmail.com> wrote: > > Hi, > > you should check for the return of malloc also: due to the way > png_read_row works it may be possible to write to some lower address in > memory if a NULL is passed as the row argument. > Below is a gdb trace to clarify this. > > As you can see, data is not written until row=0x2f928. This can be > manipulated to write to some interesting lower place in memory (like the > .got section). > > (gdb) break png_read_row > Breakpoint 1 at 0xb7c5fee2: file pngread.c, line 580. > (gdb) c > Continuing. > [Switching to Thread -1212070224 (LWP 27030)] > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x0, dsp_row=0x0) at > pngread.c:580 > 580 pngread.c: No such file or directory. > in pngread.c > (gdb) c > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x5f25 <Address 0x5f25 > out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0xbe4a <Address 0xbe4a > out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x11d6f <Address > 0x11d6f out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x17c94 <Address > 0x17c94 out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x1dbb9 <Address > 0x1dbb9 out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x23ade <Address > 0x23ade out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x29a03 <Address > 0x29a03 out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) > Continuing. > > Breakpoint 1, png_read_row (png_ptr=0x80528d8, row=0x2f928 <Address > 0x2f928 out of bounds>, dsp_row=0x0) at pngread.c:580 > 580 in pngread.c > (gdb) c > Continuing. > > Program received signal SIGSEGV, Segmentation fault. > 0xb7c57b33 in png_combine_row (png_ptr=0x80528d8, row=0x2f928 <Address > 0x2f928 out of bounds>, mask=128) at pngrutil.c:2483 > 2483 pngrutil.c: No such file or directory. > in pngrutil.c > (gdb) > > Regards, > Thomas Pollet > > On 09/04/2008, Michael Sweet <msweet at apple.com> wrote: > > > > [STR Closed w/Resolution] > > > > Fixed in Subversion repository. > > > > Link: http://www.cups.org/str.php?L2790 > > Version: 1.3-current > > Fix Version: 1.4-current > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/a13274d7/attachment.html> From thomas.pollet at gmail.com Wed Apr 9 06:32:05 2008 From: thomas.pollet at gmail.com (Thomas Pollet) Date: Wed, 09 Apr 2008 06:32:05 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG image loading code In-Reply-To: <20080409031753.AD55E3C6847C@dns.easysw.com> References: <20080409031753.AD55E3C6847C@dns.easysw.com> Message-ID: <6692-cups.bugs@news.easysw.com> Hi, I also crashed image-sun.c, don't know how exactly as of now, I'll keep you informed. Should I create a new bugzilla ? Program received signal SIGSEGV, Segmentation fault. 0xb7fd2af5 in get_tile (img=0x8052638, x=0, y=1) at image.c:752 752 if ((ic = tile->ic) == NULL) (gdb) bt #0 0xb7fd2af5 in get_tile (img=0x8052638, x=0, y=1) at image.c:752 #1 0xb7fd2463 in _cupsImagePutRow (img=0x8052638, x=0, y=1, width=19088743, pixels=0xb0ed8008 "") at image.c:533 #2 0xb7fccc0d in _cupsImageReadSunRaster (img=0x8052638, fp=0x80524d0, primary=CUPS_IMAGE_RGB_CMYK, secondary=CUPS_IMAGE_WHITE, saturation=100, hue=0, lut=0x0) at image-sun.c:372 #3 0xb7fd1dd6 in cupsImageOpen (filename=0xbffff5a5 "/var/spool/cups/d00341-001", primary=CUPS_IMAGE_RGB_CMYK, secondary=CUPS_IMAGE_WHITE, saturation=100, hue=0, lut=0x0) at image.c:373 #4 0x08049d68 in main (argc=7, argv=0xbffffb54) at imagetops.c:302 reproduce with python: img=( "\x59\xa6\x6a\x95" "XSIZ" "YSIZ" "RAS_DEPTH"# >0 <32 "RAS_LENGTH" "RAS_TYPE" "RAS_MAPTYPE" "RAS_MAPLEN" ) from struct import pack img = img.replace("XSIZ",pack('>L',0x01234567)) img = img.replace("YSIZ",pack('>L',0x12345678)) img = img.replace("RAS_DEPTH",pack('>L',32)) img = img.replace("RAS_LENGTH",pack('>L',32)) img = img.replace("RAS_TYPE",pack('>L',0xaabbccdd)) img = img.replace("RAS_MAPTYPE",pack('>L',0xaabbccdd)) img = img.replace("RAS_MAPLEN",pack('>L',700)) fout = open("img.sun","w") fout.write(img) Regards, Thomas Pollet On 09/04/2008, Michael Sweet <msweet at apple.com> wrote: > > [STR Closed w/Resolution] > > Fixed in Subversion repository. > > Link: http://www.cups.org/str.php?L2790 > Version: 1.3-current > Fix Version: 1.4-current > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/442628b6/attachment.html> From thomas.pollet at gmail.com Wed Apr 9 06:34:40 2008 From: thomas.pollet at gmail.com (Thomas Pollet) Date: Wed, 09 Apr 2008 06:34:40 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG image loading code In-Reply-To: <20080409031753.AD55E3C6847C@dns.easysw.com> References: <20080409031753.AD55E3C6847C@dns.easysw.com> Message-ID: <6693-cups.bugs@news.easysw.com> Hi, I also crashed image-sun.c, don't know why exactly, I'll keep you informed. Should I create a new bugzilla ? Program received signal SIGSEGV, Segmentation fault. 0xb7fd2af5 in get_tile (img=0x8052638, x=0, y=1) at image.c:752 752 if ((ic = tile->ic) == NULL) (gdb) bt #0 0xb7fd2af5 in get_tile (img=0x8052638, x=0, y=1) at image.c:752 #1 0xb7fd2463 in _cupsImagePutRow (img=0x8052638, x=0, y=1, width=19088743, pixels=0xb0ed8008 "") at image.c:533 #2 0xb7fccc0d in _cupsImageReadSunRaster (img=0x8052638, fp=0x80524d0, primary=CUPS_IMAGE_RGB_CMYK, secondary=CUPS_IMAGE_WHITE, saturation=100, hue=0, lut=0x0) at image-sun.c:372 #3 0xb7fd1dd6 in cupsImageOpen (filename=0xbffff5a5 "/var/spool/cups/d00341-001", primary=CUPS_IMAGE_RGB_CMYK, secondary=CUPS_IMAGE_WHITE, saturation=100, hue=0, lut=0x0) at image.c:373 #4 0x08049d68 in main (argc=7, argv=0xbffffb54) at imagetops.c:302 reproduce with python: img=( "\x59\xa6\x6a\x95" "XSIZ" "YSIZ" "RAS_DEPTH"# >0 <32 "RAS_LENGTH" "RAS_TYPE" "RAS_MAPTYPE" "RAS_MAPLEN" ) from struct import pack img = img.replace("XSIZ",pack('>L',0x01234567)) img = img.replace("YSIZ",pack('>L',0x12345678)) img = img.replace("RAS_DEPTH",pack('>L',32)) img = img.replace("RAS_LENGTH",pack('>L',32)) img = img.replace("RAS_TYPE",pack('>L',0xaabbccdd)) img = img.replace("RAS_MAPTYPE",pack('>L',0xaabbccdd)) img = img.replace("RAS_MAPLEN",pack('>L',700)) fout = open("img.sun","w") fout.write(img) Regards, Thomas Pollet On 09/04/2008, Michael Sweet <msweet at apple.com> wrote: > > [STR Closed w/Resolution] > > Fixed in Subversion repository. > > Link: http://www.cups.org/str.php?L2790 > Version: 1.3-current > Fix Version: 1.4-current > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/61ac76c3/attachment.html> From J.S.Peatfield at damtp.cam.ac.uk Wed Apr 9 07:57:03 2008 From: J.S.Peatfield at damtp.cam.ac.uk (Jon Peatfield) Date: Wed, 09 Apr 2008 07:57:03 -0700 Subject: [cups.development] orientation-requested regression for pdf files? In-Reply-To: <3937-cups.development@news.easysw.com> References: <3937-cups.development@news.easysw.com> Message-ID: <3938-cups.development@news.easysw.com> On Tue, 8 Apr 2008, Kevin Hamilton wrote: > I just moved several applications from a server running cups 1.2.4 to a > server running cups 1.3.6, and found that my orientation-requested > option is being ignored. > > The command my application is attempting to run, is: lpr.cups > -Pprintername -o orientation-requested=6 -o Duplex=DuplexTumble filename > > Whether I pass orientation-requested=3 or orientation-requested=6, I > always get portrait output at the printer, never reverse-portrait which > is what I need. > > However, it is only ignored when the document to be printed is a pdf > file, if the file is an ASCII text document, then it rotates as > expected. > > Looking through the bug tracker, I think, but am not certain, that it is > a regression introduced in STR2348 http://www.cups.org/str.php?L2348. > > Any thoughts or help would be much appreciated. Back in December I found a similar thing with cups-1.3.4 in that the pdftops seemed to perform the requested rotation (90 degrees in my tests), but then pstops did it again (to 90 became 180, 180 became 360 etc). This is what Michael R Sweet said: > The standard pdftops included with CUPS embeds a cupsRotation comment > that tells pstops what orientation/rotation has been performed. > > If you use a different pdftops filter, that information is lost and > you can get double-rotation. And I commented: > In case my previous builds of pdftops were damaged I just rebuilt > pdftops from the clean (unpatched at all) cups-1.3.4 sources. > > Feeding it a pdf file which is landscape (US-Letter as it happens while > our printers all have A4 set as their default papersize), I get > '%cupsRotation: 0' in the postscript output irrespective of what I set > orientation-requested to (or not set). [ is the cups-dev mailing list archived anywhere? ] I currently 'solve' this by having a wrapper round pdftops which removes the orientation-requested option from the command-line so it does nothing wrt rotations letting pstops do the work. For us that seems to do the job. I've not yet tested if things are different in newer versions of cups - I know that the pdftops code was updated in the meantime (I *think* it no longer is based on xpdf source but poppler (an xpdf fork) instead). I'm currently in the process of testing builds of cups-1.3.7 but havn't got far enough to risk replacing our working setup (people seem to get upset every time I break printing... :-) Hopefully in the next few days I'll be able to see if the same problem happens there or not. [ btw the %cupsRotation stuff was introduced to fix STR #2149, see http://www.cups.org/str.php?L2149 ] -- Jon Peatfield, Computer Officer, DAMTP, University of Cambridge Mail: jp107 at damtp.cam.ac.uk Web: http://www.damtp.cam.ac.uk/ From mike at easysw.com Wed Apr 9 09:03:36 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 09 Apr 2008 09:03:36 -0700 Subject: [cups.bugs] [MOD] STR #2790: Integer overflows in PNG imageloading code In-Reply-To: <6692-cups.bugs@news.easysw.com> References: <20080409031753.AD55E3C6847C@dns.easysw.com> <6692-cups.bugs@news.easysw.com> Message-ID: <6694-cups.bugs@news.easysw.com> Thomas Pollet wrote: > Hi, > > I also crashed image-sun.c, don't know how exactly as of now, I'll keep > you informed. > Should I create a new bugzilla ? Please file a single bug with all of these image loading issues. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From john at cs.york.ac.uk Wed Apr 9 09:39:24 2008 From: john at cs.york.ac.uk (John A. Murdie) Date: Wed, 09 Apr 2008 09:39:24 -0700 Subject: [cups.development] [RFE] STR #2794: A -Hserver:port option for cups-lpd Message-ID: <3939-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] If one has more than one cupsd on a print server (with appropriate IP tables trickery), one needs to invoke cups-lpd (from /etc/inetd.conf) with a -Hserver:port (e.g. -Hlocalhost:632) option. I enclose a putative and lightly-tested patch. John A. Murdie Link: http://www.cups.org/str.php?L2794 Version: -feature -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-lpd-H.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/280f71f3/attachment.ksh> From jp107 at cam.ac.uk Wed Apr 9 09:58:19 2008 From: jp107 at cam.ac.uk (Jon Peatfield) Date: Wed, 09 Apr 2008 09:58:19 -0700 Subject: [cups.development] [RFE] STR #2794: A -Hserver:port option for cups-lpd Message-ID: <3940-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] If cups-lpd behaves like almost any other piece of cups then you can just set CUPS_SERVER and IPP_PORT environment variables to force it to talk to a particular server/port. -- Jon Link: http://www.cups.org/str.php?L2794 Version: -feature From msweet at apple.com Wed Apr 9 11:12:44 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 09 Apr 2008 11:12:44 -0700 Subject: [cups.bugs] [MOD] STR #2780: pdftops does not handle EINTR Message-ID: <6695-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Actually, we do want to kill the child on SIGTERM (cancel job), so we need to pass that through. Updated patch attached, committed to CUPS trunk... Link: http://www.cups.org/str.php?L2780 Version: 1.4-current Fix Version: 1.4-current (r7443) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2780.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080409/1dc95a93/attachment.ksh> From rene.hogendoorn at rmer.nl Wed Apr 9 14:50:45 2008 From: rene.hogendoorn at rmer.nl (Rene Hogendoorn) Date: Wed, 09 Apr 2008 14:50:45 -0700 Subject: 1.3.6 hangs in lpd backend Message-ID: <6696-cups.bugs@news.easysw.com> The printer (Canon PIXMA IP4000) is connected via a small sweex printserver through lpd://ippserver/lpt1 Until 1.3.6 this worked, although more slowly than when the printer is connected via USB. This is probably due to the limited available memory in the server (< 2M). The printer does feed the paper, but does not print anything. The status light indicates that it is receiving/waiting for data. If the printer is connected via USB, it prints correctly (I used the testpage). strace -p attached to the lpd process gives write(2, "DEBUG: Control file is:\nHmordor."..., 112) = 112 write(2, "DEBUG: lpd_command 02 88 cfA812m"..., 46) = 46 write(2, "DEBUG: Sending command string (2"..., 44) = 44 sendto(7, "\00288 cfA812mordor.rmer.nl\n", 25, 0, NULL, 0) = 25 write(2, "DEBUG: Reading command status..."..., 33) = 33 alarm(1) = 0 recvfrom(7, "\0", 1, 0, NULL, NULL) = 1 alarm(0) = 1 write(2, "DEBUG: lpd_command returning 0\n", 31) = 31 write(2, "INFO: Sending control file (88 b"..., 38) = 38 sendto(7, "Hmordor.rmer.nl\nProot\nJTest Page"..., 89, 0, NULL, 0) = 89 alarm(1) = 0 read(7, "\0", 1) = 1 alarm(0) = 1 write(2, "INFO: Control file sent successf"..., 37) = 37 write(2, "DEBUG: lpd_command 03 1497741 df"..., 51) = 51 write(2, "DEBUG: Sending command string (3"..., 44) = 44 sendto(7, "\0031497741 dfA812mordor.rmer.nl\n", 30, 0, NULL, 0) = 30 write(2, "DEBUG: Reading command status..."..., 33) = 33 alarm(1) = 0 recvfrom(7, "\0", 1, 0, NULL, NULL) = 1 alarm(0) = 1 write(2, "DEBUG: lpd_command returning 0\n", 31) = 31 write(2, "INFO: Sending data file (1497741"..., 40) = 40 lseek(6, 0, SEEK_SET) = 0 read(6, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768) = 32768 write(2, "INFO: Spooling LPR job, 0% compl"..., 39) = 39 sendto(7, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768, 0, NULL, 0) = 32768 read(6, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768) = 32768 write(2, "INFO: Spooling LPR job, 2% compl"..., 39) = 39 sendto(7, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768, 0, NULL, 0 and stays like that. From jhess at fargo.com Wed Apr 9 18:38:32 2008 From: jhess at fargo.com (Joel Hess) Date: Wed, 09 Apr 2008 18:38:32 -0700 Subject: USB Backchannel read while printing Message-ID: <3941-cups.development@news.easysw.com> I'm developing a driver for a USB printer, and am having a problem with the readbacks that are occuring during printing. The firmware in my printer doesn't know what the request if for, so it fails, and apparently there are a number of retries before it gives up. This is causing a significant slowdown in my print process. What is the backchannel request expecting for a response so I can resolve the fimware issue? Either that, or is there a way to disable it besides building a different backend that doesn't try the backchannel requests? Thanks, Joel Hess From msweet at apple.com Wed Apr 9 19:51:51 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 09 Apr 2008 19:51:51 -0700 Subject: [cups.development] USB Backchannel read while printing In-Reply-To: <3941-cups.development@news.easysw.com> References: <3941-cups.development@news.easysw.com> Message-ID: <3942-cups.development@news.easysw.com> Joel Hess wrote: > I'm developing a driver for a USB printer, and am having a problem with the readbacks that are occuring during printing. The firmware in my printer doesn't know what the request if for, so it fails, and apparently there are a number of retries before it gives up. This is causing a significant slowdown in my print process. > > What is the backchannel request expecting for a response so I can resolve the fimware issue? Either that, or is there a way to disable it besides building a different backend that doesn't try the backchannel requests? It is just expecting whatever data would be sent back, usually status information. You can return a 0-byte response ("no data"). -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rene.hogendoorn at rmer.nl Thu Apr 10 09:44:32 2008 From: rene.hogendoorn at rmer.nl (Rene Hogendoorn) Date: Thu, 10 Apr 2008 09:44:32 -0700 Subject: [cups.bugs] [HIGH] STR #2795: 1.3.6 and 1.3.7 hang in lpd/ipp backends Message-ID: <6697-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The printer (Canon PIXMA IP4000) is connected via a small sweex printserver through lpd://ippserver/lpt1 Until 1.3.6 this worked, although more slowly than when the printer is connected via USB. This is probably due to the limited available memory in the server (< 2M). The printer does feed the paper, but does not print anything. The status light indicates that it is receiving/waiting for data. If the printer is connected via USB, it prints correctly (I used the testpage). strace -p attached to the lpd process gives write(2, "DEBUG: Control file is:\nHmordor."..., 112) = 112 write(2, "DEBUG: lpd_command 02 88 cfA812m"..., 46) = 46 write(2, "DEBUG: Sending command string (2"..., 44) = 44 sendto(7, "\00288 cfA812mordor.rmer.nl\n", 25, 0, NULL, 0) = 25 write(2, "DEBUG: Reading command status..."..., 33) = 33 alarm(1) = 0 recvfrom(7, "\0", 1, 0, NULL, NULL) = 1 alarm(0) = 1 write(2, "DEBUG: lpd_command returning 0\n", 31) = 31 write(2, "INFO: Sending control file (88 b"..., 38) = 38 sendto(7, "Hmordor.rmer.nl\nProot\nJTest Page"..., 89, 0, NULL, 0) = 89 alarm(1) = 0 read(7, "\0", 1) = 1 alarm(0) = 1 write(2, "INFO: Control file sent successf"..., 37) = 37 write(2, "DEBUG: lpd_command 03 1497741 df"..., 51) = 51 write(2, "DEBUG: Sending command string (3"..., 44) = 44 sendto(7, "\0031497741 dfA812mordor.rmer.nl\n", 30, 0, NULL, 0) = 30 write(2, "DEBUG: Reading command status..."..., 33) = 33 alarm(1) = 0 recvfrom(7, "\0", 1, 0, NULL, NULL) = 1 alarm(0) = 1 write(2, "DEBUG: lpd_command returning 0\n", 31) = 31 write(2, "INFO: Sending data file (1497741"..., 40) = 40 lseek(6, 0, SEEK_SET) = 0 read(6, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768) = 32768 write(2, "INFO: Spooling LPR job, 0% compl"..., 39) = 39 sendto(7, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768, 0, NULL, 0) = 32768 read(6, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768) = 32768 write(2, "INFO: Spooling LPR job, 2% compl"..., 39) = 39 sendto(7, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768, 0, NULL, 0 and stays like that. Note: the ipp backend also feeds paper and hangs. 1.3.7 shows the same behaviour. Link: http://www.cups.org/str.php?L2795 Version: 1.3.6 From ghost at anastigmatix.net Thu Apr 10 12:34:57 2008 From: ghost at anastigmatix.net (Chapman Flack) Date: Thu, 10 Apr 2008 12:34:57 -0700 Subject: [cups.bugs] [LOW] STR #2796: (since 1.2b1)(!WIN32) cupsSetDests2 lpoptions user preferences disappear Message-ID: <6698-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Between CUPS 1.1.23 and 1.2b1 a non-back-compatible change (that I could not find in the release notes) was made to cups/dest.c. In 1.1.23 and earlier, cupsGetDests2 and cupsSetDests2 used ~/.lpoptions as the file in which to store user option preferences. Starting in 1.2b1, those preferences are kept in ~/.cups/lpoptions. The newer cupsGetDests2 will fall back and load options from the old filename if the new one isn't there, which is ok for backward compatibility. However, the newer cupsSetDests2 *removes* any file at the old name, and saves the new options only at the new file name. What this means is that in an environment with shared home directories and diverse clients at different CUPS revisions, any use of lpoptions (for example) to set options on a client with a 1.2b1-or-later client library will cause all user option preferences (newly or previously set) to *disappear* for any other client with an earlier CUPS client library. A more robust migration approach would have been for getDests2 to check for both files and honor the *newer*, and for setDests2 to save to the new filename always and also to the old one if present. Because this happened between 1.1 and 1.2 and 1.3 is now current, there may be few users affected unless they have an environment like ours where old clients are still in the mix. However, it seemed worth reporting so that at least anyone else bitten by it can find the STR and know they're not crazy. Link: http://www.cups.org/str.php?L2796 Version: 1.4-current From doillee at gmail.com Thu Apr 10 13:20:56 2008 From: doillee at gmail.com (Doil Lee) Date: Thu, 10 Apr 2008 13:20:56 -0700 Subject: missing page count information Message-ID: <3943-cups.development@news.easysw.com> Hi, I made custom backend to intercept all backends and fetch job information. In the backend I'm using cupsGetOption() to get page count related information especially following options: com.apple.print.PrintSettings.PMTotalBeginPages com.apple.print.PrintSettings.PMFirstPage com.apple.print.PrintSettings.PMLastPage com.apple.print.JobInfo.PMApplicationName --> it's also missing However, some application(i.e, Adobe CS3) which bypassing filter level do not seem to carry those information. Is there anyway to get those information? I've tried to use 'page_log' file, but it's inconsistent per printer. Thanks in advance, Doil Lee From msweet at apple.com Thu Apr 10 21:37:05 2008 From: msweet at apple.com (Michael Sweet) Date: Thu, 10 Apr 2008 21:37:05 -0700 Subject: [cups.bugs] [LOW] STR #2796: (since 1.2b1)(!WIN32) cupsSetDests2 lpoptions user preferences disappear Message-ID: <6699-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] This change was implemented like this on purpose to transition away from the ~/.lpoptions file, and the change only happens when the user changes options. Shared home directories with mixed versions of CUPS are not supported. We will not be changing this behavior,.. Link: http://www.cups.org/str.php?L2796 Version: 1.4-current Fix Version: Will Not Fix From msweet at apple.com Thu Apr 10 21:39:23 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 10 Apr 2008 21:39:23 -0700 Subject: [cups.development] missing page count information In-Reply-To: <3943-cups.development@news.easysw.com> References: <3943-cups.development@news.easysw.com> Message-ID: <3944-cups.development@news.easysw.com> Doil Lee wrote: > Hi, > > I made custom backend to intercept all backends and fetch job information. In the backend I'm using cupsGetOption() to get page count related information especially following options: > > com.apple.print.PrintSettings.PMTotalBeginPages > com.apple.print.PrintSettings.PMFirstPage > com.apple.print.PrintSettings.PMLastPage > > com.apple.print.JobInfo.PMApplicationName --> it's also missing > > However, some application(i.e, Adobe CS3) which bypassing filter level do not seem to carry those information. Is there anyway to get those information? I've tried to use 'page_log' file, but it's inconsistent per printer. This information is also missing for jobs submitted from the command- line, via Samba, from Java applications, etc. You cannot depend on the options/attributes being present. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Apr 10 22:07:09 2008 From: msweet at apple.com (Michael Sweet) Date: Thu, 10 Apr 2008 22:07:09 -0700 Subject: [cups.bugs] [LOW] STR #2795: 1.3.6 and 1.3.7 hang in lpd/ipp backends Message-ID: <6700-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] The lpd backend did not change in 1.3.6 or 1.3.7. The changes to the IPP backend would not cause this sort of problem. More than likely you are either running into a kernel networking bug, a problem with your print server, or a bad interaction between the printer and USB implementation in the print server. In any case, we can't fix this problem - please contact Canon, the print server manufacturer, or your OS vendor for assistance. Link: http://www.cups.org/str.php?L2795 Version: 1.3.6 Fix Version: None From tvzengen at web.de Fri Apr 11 09:27:10 2008 From: tvzengen at web.de (Torge) Date: Fri, 11 Apr 2008 09:27:10 -0700 Subject: [cups.bugs] [HIGH] STR #2797: BJ 10e Driver causes system freeze Message-ID: <6701-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi, I use CUPS to operate an old Canon BJ 10-e printer with Ubuntu 7.04. Recently I exchanged the system for a newer one, also running Ubuntu 7.04- However, on this system the activation of the driver causes the entire system to freeze up. Only recovery mode then works and must be used to delete the printers.conf file to reset the system. I scanned for differences on both systems, and /apart from the hardware of course) the only difference I found is that the newly set up system uses CUPS v.1.2.8 whilst the older one had 1.2.4 for some reason. I'd really be grateful for a solution to this as I like this old and very reliable printer. Cheers, Majikthise Link: http://www.cups.org/str.php?L2797 Version: 1.2.8 -------------- next part -------------- A non-text attachment was scrubbed... Name: cups_log_conf_BJ10e.tar.gz Type: application/octet-stream Size: 1831 bytes Desc: not available URL: <https://lists.cups.org/pipermail/cups/attachments/20080411/9741f685/attachment.obj> From kevin.hamilton at gmail.com Fri Apr 11 11:28:09 2008 From: kevin.hamilton at gmail.com (Kevin Hamilton) Date: Fri, 11 Apr 2008 11:28:09 -0700 Subject: orientation-requested regression for pdffiles? Message-ID: <3945-cups.development@news.easysw.com> Jon Peatfield wrote: > I currently 'solve' this by having a wrapper round pdftops which removes > the orientation-requested option from the command-line so it does nothing > wrt rotations letting pstops do the work. Thanks for that idea, I've put in a similar workaround for now, wrapping pdftops to restore our prior behavior. But I still feel there is a bug or regression here, or at the very least, some documentation changes needed, because the behavior of orientation-requested works differently for different mime types. Is Michael Sweet the primary developer of this system? If so, do you have any thoughts on all this, Mike? From rene.hogendoorn at rmer.nl Fri Apr 11 12:47:02 2008 From: rene.hogendoorn at rmer.nl (Rene Hogendoorn) Date: Fri, 11 Apr 2008 12:47:02 -0700 Subject: [cups.bugs] [LOW] STR #2795: 1.3.6 and 1.3.7 hang in lpd/ipp backends In-Reply-To: <20080411050707.786F33C68550@dns.easysw.com> References: <20080411050707.786F33C68550@dns.easysw.com> Message-ID: <6702-cups.bugs@news.easysw.com> On Friday 11 April 2008 07:07:07 you wrote: > [STR Closed w/o Resolution] > > The lpd backend did not change in 1.3.6 or 1.3.7. > > The changes to the IPP backend would not cause this sort of problem. > > More than likely you are either running into a kernel networking bug, a > problem with your print server, or a bad interaction between the printer > and USB implementation in the print server. > > In any case, we can't fix this problem - please contact Canon, the print > server manufacturer, or your OS vendor for assistance. > > Link: http://www.cups.org/str.php?L2795 > Version: 1.3.6 > Fix Version: None You are right. It is related to the kernel: debian amd64 linux-image-2.6.24-5 exhibits the problem, whereas linux-image-2.6.22-3 works fine. There seems to be a fix for "cups slow printing in 2.6.24" that may be related to the problem I am experiencing. Thanks very much. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From msweet at apple.com Fri Apr 11 13:14:27 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 11 Apr 2008 13:14:27 -0700 Subject: [cups.bugs] [LOW] STR #2797: BJ 10e Driver causes system freeze Message-ID: <6703-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Please contact your Linux distributor for this issue. We do not provide support for third-party drivers here... Link: http://www.cups.org/str.php?L2797 Version: 1.2.8 Fix Version: None From msweet at apple.com Fri Apr 11 16:44:17 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 11 Apr 2008 16:44:17 -0700 Subject: [cups.development] orientation-requested regression for pdffiles? In-Reply-To: <3945-cups.development@news.easysw.com> References: <3945-cups.development@news.easysw.com> Message-ID: <3946-cups.development@news.easysw.com> Kevin Hamilton wrote: > Jon Peatfield wrote: >> I currently 'solve' this by having a wrapper round pdftops which removes >> the orientation-requested option from the command-line so it does nothing >> wrt rotations letting pstops do the work. > > Thanks for that idea, I've put in a similar workaround for now, wrapping > pdftops to restore our prior behavior. But I still feel there is a bug > or regression here, or at the very least, some documentation changes needed, because the behavior of orientation-requested works differently for different mime types. > > Is Michael Sweet the primary developer of this system? If so, do you have any thoughts on all this, Mike? I am the lead developer for CUPS. The pdftops filter has always been tricky - for years we maintained it separately so that we could control the PostScript output and prevent the filter from doing auto-rotation. Later we allowed it to auto- rotate to match the paper size, but that introduced other issues. The current CUPS 1.4 approach is to pass the standard pdftops utility a portrait or landscape page size (depending on the job settings) so that we get PostScript data with the expected orientation. Then pstops can to the final rotation so the output comes out right. That said, current Xpdf and poppler use setpagedevice in the PostScript output (bad bad bad) and that leads to problems in orientation - the setpagedevice command specifies a landscape page size which (sometimes) causes the page to rotate, and then pstops applies a second rotation which totally hoses things. Xpdf and poppler need to have a "no setpagedevice" mode that does not produce setpagedevice commands. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From heino.goldenstein at microplex.de Sat Apr 12 13:24:22 2008 From: heino.goldenstein at microplex.de (Heino Goldenstein) Date: Sat, 12 Apr 2008 13:24:22 -0700 Subject: [cups.development] [RFE] STR #2798: rastertohp: Add PCL sequence for A5 page size Message-ID: <3948-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "rastertohp.c.diff"... Link: http://www.cups.org/str.php?L2798 Version: -feature -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: rastertohp.c.diff URL: <https://lists.cups.org/pipermail/cups/attachments/20080412/6ebbc9e1/attachment.ksh> From heino.goldenstein at microplex.de Sat Apr 12 13:24:22 2008 From: heino.goldenstein at microplex.de (Heino Goldenstein) Date: Sat, 12 Apr 2008 13:24:22 -0700 Subject: [cups.development] [RFE] STR #2798: rastertohp: Add PCL sequence for A5 page size Message-ID: <3947-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] If from a ppd PageSize A5 is selected the rastertohp does not insert the page control sequence for A5 page size. For e.g. A3 or A4 the PCL sequence is inserted. The attached patch will add the switch case for emitting the required A5 PCL sequence. Link: http://www.cups.org/str.php?L2798 Version: -feature From adam_penny at hotmail.com Sun Apr 13 03:27:17 2008 From: adam_penny at hotmail.com (Adam Penny) Date: Sun, 13 Apr 2008 03:27:17 -0700 Subject: Determining host ip/computer name for a given printer Message-ID: <3949-cups.development@news.easysw.com> Hi there, What I'm trying to do is extend the basic wake printer host on print system that Robert and Jerome so kindly helped me with (tea4cups is still working a treat). I've sussed out how to get mac addresses for a given host name when the computer's awake (figured the user could do a one-off arp poll with all the hosts awake to make an ip/computer name/mac address table) What I'd like to know is whether cups has any preference/config files anywhere that tell you either the ip for the printer's host computer or the printer's host computer name, so that I can create a plist so that I can use the tea4cups $TEAPRINTERNAME variable to look up the relevant host name thus the mac address of the printers host. Thanks. Adam From alet at librelogiciel.com Sun Apr 13 03:42:11 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Sun, 13 Apr 2008 03:42:11 -0700 Subject: [cups.development] Determining host ip/computer name for a given printer In-Reply-To: <3949-cups.development@news.easysw.com> References: <3949-cups.development@news.easysw.com> Message-ID: <3950-cups.development@news.easysw.com> On Sun, Apr 13, 2008 at 03:27:17AM -0700, Adam Penny wrote: > > What I'd like to know is whether cups has any preference/config > files anywhere that tell you either the ip for the printer's host > computer or the printer's host computer name, so that I can create a > plist so that I can use the tea4cups $TEAPRINTERNAME variable to > look up the relevant host name thus the mac address of the printers > host. This is /etc/cups/printers.conf You must extract the printer's hostname or IP address from the DeviceURI setting. You can get ALL devices URIs from `lpstat -v` but to extract the IP address from this you need some scripting or regular expression. bye Jerome Alet From adam_penny at hotmail.com Sun Apr 13 06:40:03 2008 From: adam_penny at hotmail.com (Adam Penny) Date: Sun, 13 Apr 2008 06:40:03 -0700 Subject: Determining host ip/computer name for agiven printer Message-ID: <3951-cups.development@news.easysw.com> > On Sun, Apr 13, 2008 at 03:27:17AM -0700, Adam Penny wrote: > > > > What I'd like to know is whether cups has any preference/config > > files anywhere that tell you either the ip for the printer's host > > computer or the printer's host computer name, so that I can create a > > plist so that I can use the tea4cups $TEAPRINTERNAME variable to > > look up the relevant host name thus the mac address of the printers > > host. > > This is /etc/cups/printers.conf > > You must extract the printer's hostname or IP address from > the DeviceURI setting. You can get ALL devices URIs from `lpstat -v` > but to extract the IP address from this you need some scripting or > regular expression. > > bye > > Jerome Alet > Thank you Jerome, that's brilliant. Adam From brjohnso at buckeye-express.com Sun Apr 13 09:14:08 2008 From: brjohnso at buckeye-express.com (Brandon Johnson) Date: Sun, 13 Apr 2008 09:14:08 -0700 Subject: Trouble installing KM Magicolor 5430DL Message-ID: <6704-cups.bugs@news.easysw.com> I am new to linux and I am trying to install a network printer. I have a Konica Minolta Magicolor 5430DL which I have downloaded the driver for from the KM website. The printer now shows up since I have installed it as an ipp printer. However, it is giving me the message "Filter "rastertokm5430dl" for printer "Magicolor_5430DL" not available: No such file or directory". Can anyone offer any suggestions? From kaizhu.cn at gmail.com Sun Apr 13 20:15:51 2008 From: kaizhu.cn at gmail.com (Kai Zhu) Date: Sun, 13 Apr 2008 20:15:51 -0700 Subject: [raster filter] how do I differ Print cover page and my own job in raster filter Message-ID: <3952-cups.development@news.easysw.com> Hi there, When printing a job, if 'print cover page' is selected, as you know, there would be two jobs, 1 for cover page, 1 for my own job. My question is, is there any way that i can get if it is 'cover page' or 'my job' in raster filter? From mike at easysw.com Sun Apr 13 22:37:45 2008 From: mike at easysw.com (Michael Sweet) Date: Sun, 13 Apr 2008 22:37:45 -0700 Subject: [raster filter] how do I differ Print cover page and my own job in raster filter In-Reply-To: <3952-cups.development@news.easysw.com> References: <3952-cups.development@news.easysw.com> Message-ID: <3953-cups.development@news.easysw.com> Kai Zhu wrote: > Hi there, > When printing a job, if 'print cover page' is selected, as you know, there would be two jobs, 1 for cover page, 1 for my own job. My question is, is there any way that i can get if it is 'cover page' or 'my job' in raster filter? No. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From alet at librelogiciel.com Sun Apr 13 23:11:43 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Sun, 13 Apr 2008 23:11:43 -0700 Subject: [cups.development] [raster filter] how do I differ Print cover page and my own job in raster filter In-Reply-To: <3953-cups.development@news.easysw.com> References: <3952-cups.development@news.easysw.com> <3953-cups.development@news.easysw.com> Message-ID: <3954-cups.development@news.easysw.com> On Sun, Apr 13, 2008 at 10:37:45PM -0700, Michael Sweet wrote: > Kai Zhu wrote: > > When printing a job, if 'print cover page' is selected, as you > know, there would be two jobs, 1 for cover page, 1 for my own job. > My question is, is there any way that i can get if it is 'cover > page' or 'my job' in raster filter? > > No. What about CUPS setting an environment variable for filters/backends to use, like 'JOBTYPE=JOB' or 'JOBTYPE=BANNER', just before launching filters and backends ? Would filing an STR for this help make this happen in a future release ? Jerome Alet From mike at easysw.com Mon Apr 14 08:58:04 2008 From: mike at easysw.com (Michael Sweet) Date: Mon, 14 Apr 2008 08:58:04 -0700 Subject: [cups.development] [raster filter] how do I differ Print coverpage and my own job in raster filter In-Reply-To: <3954-cups.development@news.easysw.com> References: <3952-cups.development@news.easysw.com> <3953-cups.development@news.easysw.com> <3954-cups.development@news.easysw.com> Message-ID: <3955-cups.development@news.easysw.com> Jerome Alet wrote: > On Sun, Apr 13, 2008 at 10:37:45PM -0700, Michael Sweet wrote: >> Kai Zhu wrote: >>> When printing a job, if 'print cover page' is selected, as you >> know, there would be two jobs, 1 for cover page, 1 for my own job. >> My question is, is there any way that i can get if it is 'cover >> page' or 'my job' in raster filter? >> >> No. > > What about CUPS setting an environment variable for filters/backends > to use, like 'JOBTYPE=JOB' or 'JOBTYPE=BANNER', just before launching > filters and backends ? > > Would filing an STR for this help make this happen in a future release ? Of course. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From alet at librelogiciel.com Mon Apr 14 09:18:12 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Mon, 14 Apr 2008 09:18:12 -0700 Subject: [cups.development] [RFE] STR #2799: Allow filters and backends to differentiate between a job and its banner page(s) Message-ID: <3956-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Currently backends (and filters ?) cannot determine if they have been launched to print a banner page or the real job's datas. The CUPS scheduler should provide an additional environment variable for this, and/or provide an IPP request API. A backend could then check the value of this environment variable (preferably), or use this API, to learn if it was launched to print the start banner, the real job, or the end banner. A single environment variable, for example JOBTYPE, or JOBSHEETS (to be similar to the job-sheets option), could hold values such as textual non-localized uppercase values like 'START', 'END' or 'JOB', to reflect the fact that the backend (filter ?) was launched to print respectively the starting banner, the ending banner, or the job itself. Link: http://www.cups.org/str.php?L2799 Version: -feature From kssingvo at suse.de Mon Apr 14 09:22:03 2008 From: kssingvo at suse.de (kssingvo.suse) Date: Mon, 14 Apr 2008 09:22:03 -0700 Subject: [cups.bugs] [MOD] STR #2800: cupsddk links against static cups library Message-ID: <6705-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] We (SUSE distribution) run into an issue with the gcc suite, where static linking is broken. Thereby I noticed that cupsddk is linking against a static cups library, and therefore build of cupsddk fails. Problematic files are: cups/testcmyk, cups/testdither, cups/testrgb, ppdc-static See attached patch (proposal) for details. Not quiet sure, if this is really a bug in cupsddk. BTW: there is no version "1.2.3" choosable for cupsddk in STR. Link: http://www.cups.org/str.php?L2800 Version: 1.4-current From kssingvo at suse.de Mon Apr 14 09:22:17 2008 From: kssingvo at suse.de (kssingvo.suse) Date: Mon, 14 Apr 2008 09:22:17 -0700 Subject: [cups.bugs] [MOD] STR #2800: cupsddk links against static cups library Message-ID: <6706-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "cupsddk-1.2.3-nostatic_libcups.patch"... Link: http://www.cups.org/str.php?L2800 Version: 1.4-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cupsddk-1.2.3-nostatic_libcups.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080414/f68174c3/attachment.ksh> From alet at librelogiciel.com Mon Apr 14 10:23:30 2008 From: alet at librelogiciel.com (Jerome Alet) Date: Mon, 14 Apr 2008 10:23:30 -0700 Subject: [cups.development] [raster filter] how do I differ Print coverpage and my own job in raster filter In-Reply-To: <3955-cups.development@news.easysw.com> References: <3952-cups.development@news.easysw.com> <3953-cups.development@news.easysw.com> <3954-cups.development@news.easysw.com> <3955-cups.development@news.easysw.com> Message-ID: <3957-cups.development@news.easysw.com> On Mon, Apr 14, 2008 at 08:58:04AM -0700, Michael Sweet wrote: > Jerome Alet wrote: > > > What about CUPS setting an environment variable for filters/backends > > to use, like 'JOBTYPE=JOB' or 'JOBTYPE=BANNER', just before launching > > filters and backends ? > > > > Would filing an STR for this help make this happen in a future release ? > > Of course. Thx. This is STR #2799. bye Jerome Alet From msweet at apple.com Mon Apr 14 10:48:23 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 14 Apr 2008 10:48:23 -0700 Subject: [cups.bugs] [MOD] STR #2800: cupsddk links against static cups library Message-ID: <6707-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] These files are not installed and are used for automatic testing. The linking against the static library is deliberate. If no static CUPS libraries are installed, then it should gracefully fallback to the shared libraries. Since the DDK is getting merged into CUPS 1.4, we won't be fixing this bug... Link: http://www.cups.org/str.php?L2800 Version: 1.4-current Fix Version: Will Not Fix From msweet at apple.com Mon Apr 14 13:03:35 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 14 Apr 2008 13:03:35 -0700 Subject: [cups.bugs] [HIGH] STR #2801: The RSS notifier does not quote special characters in the feed URL Message-ID: <6708-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2801 Version: 1.3-current Fix Version: 1.4-current (r7451) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2801.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080414/2cf1f526/attachment.ksh> From caixicui at gmail.com Mon Apr 14 20:22:49 2008 From: caixicui at gmail.com (Caixicui) Date: Mon, 14 Apr 2008 20:22:49 -0700 Subject: [CUPS Test Page] Print Test Page with optional Media Size Message-ID: <3958-cups.development@news.easysw.com> Hi, When setting different Media Size, all the Test Pages are same. Open localhost:631, and configure the printer with A5 Media Size, and other options are default. The result is same with setting option A4 Media Size. But When I set Media Size Option to A5 and print by document, the result is right. It is the half data of A4 data. I confused with these appearance, and don't know where is the error. How can I modify this bug? From chen.workspace at gmail.com Mon Apr 14 22:53:39 2008 From: chen.workspace at gmail.com (moontain chen) Date: Mon, 14 Apr 2008 22:53:39 -0700 Subject: [cups.development] [CUPS Test Page] Print Test Page with optional Media Size In-Reply-To: <3958-cups.development@news.easysw.com> References: <3958-cups.development@news.easysw.com> Message-ID: <3959-cups.development@news.easysw.com> Set the log level to debug and get log for printing test page to check what's real page size set for the test page. 2008/4/15, Caixicui <caixicui at gmail.com>: > > Hi, > When setting different Media Size, all the Test Pages are same. > > Open localhost:631, and configure the printer with A5 Media Size, > and other options are default. The result is same with setting option A4 > Media Size. > > But When I set Media Size Option to A5 and print by document, the result > is right. > It is the half data of A4 data. > > I confused with these appearance, and don't know where is the error. > How can I modify this bug? > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080414/88353dd0/attachment.html> From caixicui at gmail.com Mon Apr 14 23:56:24 2008 From: caixicui at gmail.com (Caixicui) Date: Mon, 14 Apr 2008 23:56:24 -0700 Subject: [CUPS Test Page] Print Test Page withoptional Media Size Message-ID: <3960-cups.development@news.easysw.com> The real page size is matched with Letter page size. But I want to get the Printer Test Page on A5 Page Size. How can I do? > ------=_Part_70_21204410.1208238810957 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > Set the log level to debug and get log for printing test page to check > what's real page size set for the test page. > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > Hi, > > When setting different Media Size, all the Test Pages are same. > > > > Open localhost:631, and configure the printer with A5 Media Size, > > and other options are default. The result is same with setting option A4 > > Media Size. > > > > But When I set Media Size Option to A5 and print by document, the result > > is right. > > It is the half data of A4 data. > > > > I confused with these appearance, and don't know where is the error. > > How can I modify this bug? > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > ------=_Part_70_21204410.1208238810957 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > <div> </div> > <div>Set the log level to debug and get log for printing test page to check what's real page size set for the test page.<br><br> </div> > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting different Media Size, all the Test Pages are same.<br><br>Open localhost:631, and configure the printer with A5 Media Size,<br> > and other options are default. The result is same with setting option A4 Media Size.<br><br>But When I set Media Size Option to A5 and print by document, the result is right.<br>It is the half data of A4 data.<br><br>I confused with these appearance, and don't know where is the error.<br> > How can I modify this bug?<br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > </blockquote></div><br> > > ------=_Part_70_21204410.1208238810957-- > From chen.workspace at gmail.com Tue Apr 15 00:10:32 2008 From: chen.workspace at gmail.com (moontain) Date: Tue, 15 Apr 2008 00:10:32 -0700 Subject: [cups.development] [CUPS Test Page] Print Test Page withoptional Media Size In-Reply-To: <3960-cups.development@news.easysw.com> References: <3960-cups.development@news.easysw.com> Message-ID: <3961-cups.development@news.easysw.com> Just modifiy the A5 Media Size option for the print queue and save it and then print a test page. Some log may be helpful for analysis. 2008/4/15, Caixicui <caixicui at gmail.com>: > > The real page size is matched with Letter page size. But I want to get the > Printer Test Page on A5 Page Size. How can I do? > > > ------=_Part_70_21204410.1208238810957 > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > Set the log level to debug and get log for printing test page to check > > what's real page size set for the test page. > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > Hi, > > > When setting different Media Size, all the Test Pages are same. > > > > > > Open localhost:631, and configure the printer with A5 Media Size, > > > and other options are default. The result is same with setting option > A4 > > > Media Size. > > > > > > But When I set Media Size Option to A5 and print by document, the > result > > > is right. > > > It is the half data of A4 data. > > > > > > I confused with these appearance, and don't know where is the error. > > > How can I modify this bug? > > > _______________________________________________ > > > cups-dev mailing list > > > cups-dev at easysw.com > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > ------=_Part_70_21204410.1208238810957 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > <div> </div> > > <div>Set the log level to debug and get log for printing test page to > check what's real page size set for the test page.<br><br> </div> > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto: > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting different > Media Size, all the Test Pages are same.<br><br>Open localhost:631, and > configure the printer with A5 Media Size,<br> > > and other options are default. The result is same with setting option A4 > Media Size.<br><br>But When I set Media Size Option to A5 and print by > document, the result is right.<br>It is the half data of A4 data.<br><br>I > confused with these appearance, and don't know where is the error.<br> > > How can I modify this > bug?<br>_______________________________________________<br>cups-dev mailing > list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br><a > href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > </blockquote></div><br> > > > > ------=_Part_70_21204410.1208238810957-- > > > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080415/45ca38af/attachment.html> From caixicui at gmail.com Tue Apr 15 02:00:44 2008 From: caixicui at gmail.com (Caixicui) Date: Tue, 15 Apr 2008 02:00:44 -0700 Subject: [CUPS Test Page] Print Test Pagewithoptional Media Size Message-ID: <3962-cups.development@news.easysw.com> I set the option on localhost:631, but it doesn't work. Where need I set and save the A5 Media Size Option? > ------=_Part_272_15493079.1208243423234 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > Just modifiy the A5 Media Size option for the print queue and save it and > then print a test page. > > Some log may be helpful for analysis. > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > The real page size is matched with Letter page size. But I want to get the > > Printer Test Page on A5 Page Size. How can I do? > > > > > ------=_Part_70_21204410.1208238810957 > > > Content-Type: text/plain; charset=ISO-8859-1 > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline > > > > > > Set the log level to debug and get log for printing test page to check > > > what's real page size set for the test page. > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > Hi, > > > > When setting different Media Size, all the Test Pages are same. > > > > > > > > Open localhost:631, and configure the printer with A5 Media Size, > > > > and other options are default. The result is same with setting option > > A4 > > > > Media Size. > > > > > > > > But When I set Media Size Option to A5 and print by document, the > > result > > > > is right. > > > > It is the half data of A4 data. > > > > > > > > I confused with these appearance, and don't know where is the error. > > > > How can I modify this bug? > > > > _______________________________________________ > > > > cups-dev mailing list > > > > cups-dev at easysw.com > > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > > > > ------=_Part_70_21204410.1208238810957 > > > Content-Type: text/html; charset=ISO-8859-1 > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline > > > > > > <div> </div> > > > <div>Set the log level to debug and get log for printing test page to > > check what's real page size set for the test page.<br><br> </div> > > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto: > > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px > > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting different > > Media Size, all the Test Pages are same.<br><br>Open localhost:631, and > > configure the printer with A5 Media Size,<br> > > > and other options are default. The result is same with setting option A4 > > Media Size.<br><br>But When I set Media Size Option to A5 and print by > > document, the result is right.<br>It is the half data of A4 data.<br><br>I > > confused with these appearance, and don't know where is the error.<br> > > > How can I modify this > > bug?<br>_______________________________________________<br>cups-dev mailing > > list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br><a > > href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > > </blockquote></div><br> > > > > > > ------=_Part_70_21204410.1208238810957-- > > > > > > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > ------=_Part_272_15493079.1208243423234 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > <div> </div> > <div>Just modifiy the A5 Media Size option for the print queue and save it  and then print a test page.</div> > <div> </div> > <div>Some log may be helpful for analysis.<br><br> </div> > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The real page size is matched with Letter page size. But I want to get the Printer Test Page on A5 Page Size. How can I do?<br> > <br>> ------=_Part_70_21204410.1208238810957<br>> Content-Type: text/plain; charset=ISO-8859-1<br>> Content-Transfer-Encoding: 7bit<br>> Content-Disposition: inline<br>><br>> Set the log level to debug and get log for printing test page to check<br> > > what's real page size set for the test page.<br>><br>><br>> 2008/4/15, Caixicui <<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>>:<br>> ><br>> > Hi,<br>> > When setting different Media Size, all the Test Pages are same.<br> > > ><br>> > Open localhost:631, and configure the printer with A5 Media Size,<br>> > and other options are default. The result is same with setting option A4<br>> > Media Size.<br>> ><br>> > But When I set Media Size Option to A5 and print by document, the result<br> > > > is right.<br>> > It is the half data of A4 data.<br>> ><br>> > I confused with these appearance, and don't know where is the error.<br>> > How can I modify this bug?<br>> > _______________________________________________<br> > > > cups-dev mailing list<br>> > <a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br>> > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > ><br>><br>> ------=_Part_70_21204410.1208238810957<br>> Content-Type: text/html; charset=ISO-8859-1<br>> Content-Transfer-Encoding: 7bit<br>> Content-Disposition: inline<br>><br>> <div>&nbsp;</div><br> > > <div>Set the log level to debug and get log for printing test page to check what&#39;s real page size set for the test page.<br><br>&nbsp;</div><br>> <div><span class="gmail_quote">2008/4/15, Caixicui &lt;<a href="mailto:<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>"><a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a></a>&gt;:</span><br> > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting different Media Size, all the Test Pages are same.<br><br>Open localhost:631, and configure the printer with A5 Media Size,<br><br> > > and other options are default. The result is same with setting option A4 Media Size.<br><br>But When I set Media Size Option to A5 and print by document, the result is right.<br>It is the half data of A4 data.<br><br>I confused with these appearance, and don&#39;t know where is the error.<br><br> > > How can I modify this bug?<br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:<a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a>"><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a></a><br><a href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a></a><br><br> > > </blockquote></div><br><br>><br>> ------=_Part_70_21204410.1208238810957--<br>><br><br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br> > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a><br></blockquote></div><br> > > ------=_Part_272_15493079.1208243423234-- > From caixicui at gmail.com Tue Apr 15 02:07:40 2008 From: caixicui at gmail.com (Caixicui) Date: Tue, 15 Apr 2008 02:07:40 -0700 Subject: [raster filter] how do I differ Print cover page and my own jobin raster filter Message-ID: <3963-cups.development@news.easysw.com> Can I get the value of 'Print Cover Page'? For example, I can get the value of media type by the key word is "media" in cupsGetOption() function. So, can I get the value of 'Print Cover Page' using cupsGetOption() function? and if YES, what is the key word in cupsGetOption? > Kai Zhu wrote: > > Hi there, > > When printing a job, if 'print cover page' is selected, as you know, there would be two jobs, 1 for cover page, 1 for my own job. My question is, is there any way that i can get if it is 'cover page' or 'my job' in raster filter? > > No. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com From chen.workspace at gmail.com Tue Apr 15 02:17:32 2008 From: chen.workspace at gmail.com (moontain) Date: Tue, 15 Apr 2008 02:17:32 -0700 Subject: [cups.development] [CUPS Test Page] Print Test Pagewithoptional Media Size In-Reply-To: <3962-cups.development@news.easysw.com> References: <3962-cups.development@news.easysw.com> Message-ID: <3964-cups.development@news.easysw.com> There is a bug in your filter that does NOT deal with the case for default option value. 2008/4/15, Caixicui <caixicui at gmail.com>: > > I set the option on localhost:631, but it doesn't work. > Where need I set and save the A5 Media Size Option? > > ------=_Part_272_15493079.1208243423234 > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > Just modifiy the A5 Media Size option for the print queue and save > it and > > then print a test page. > > > > Some log may be helpful for analysis. > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > The real page size is matched with Letter page size. But I want to get > the > > > Printer Test Page on A5 Page Size. How can I do? > > > > > > > ------=_Part_70_21204410.1208238810957 > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Content-Transfer-Encoding: 7bit > > > > Content-Disposition: inline > > > > > > > > Set the log level to debug and get log for printing test page to > check > > > > what's real page size set for the test page. > > > > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > > > Hi, > > > > > When setting different Media Size, all the Test Pages are same. > > > > > > > > > > Open localhost:631, and configure the printer with A5 Media Size, > > > > > and other options are default. The result is same with setting > option > > > A4 > > > > > Media Size. > > > > > > > > > > But When I set Media Size Option to A5 and print by document, the > > > result > > > > > is right. > > > > > It is the half data of A4 data. > > > > > > > > > > I confused with these appearance, and don't know where is the > error. > > > > > How can I modify this bug? > > > > > _______________________________________________ > > > > > cups-dev mailing list > > > > > cups-dev at easysw.com > > > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > > > > > > > ------=_Part_70_21204410.1208238810957 > > > > Content-Type: text/html; charset=ISO-8859-1 > > > > Content-Transfer-Encoding: 7bit > > > > Content-Disposition: inline > > > > > > > > <div> </div> > > > > <div>Set the log level to debug and get log for printing test page > to > > > check what's real page size set for the test > page.<br><br> </div> > > > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a > href="mailto: > > > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: > 0px > > > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting > different > > > Media Size, all the Test Pages are same.<br><br>Open localhost:631, > and > > > configure the printer with A5 Media Size,<br> > > > > and other options are default. The result is same with setting > option A4 > > > Media Size.<br><br>But When I set Media Size Option to A5 and print by > > > document, the result is right.<br>It is the half data of A4 > data.<br><br>I > > > confused with these appearance, and don't know where is the > error.<br> > > > > How can I modify this > > > bug?<br>_______________________________________________<br>cups-dev > mailing > > > list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com > </a><br><a > > > href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > > > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > > > </blockquote></div><br> > > > > > > > > ------=_Part_70_21204410.1208238810957-- > > > > > > > > > > _______________________________________________ > > > cups-dev mailing list > > > cups-dev at easysw.com > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > ------=_Part_272_15493079.1208243423234 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > <div> </div> > > <div>Just modifiy the A5 Media Size option for the print queue and > save it  and then print a test page.</div> > > <div> </div> > > <div>Some log may be helpful for analysis.<br><br> </div> > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto: > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The real page size is matched > with Letter page size. But I want to get the Printer Test Page on A5 Page > Size. How can I do?<br> > > <br>> ------=_Part_70_21204410.1208238810957<br>> Content-Type: > text/plain; charset=ISO-8859-1<br>> Content-Transfer-Encoding: > 7bit<br>> Content-Disposition: inline<br>><br>> Set the log level > to debug and get log for printing test page to check<br> > > > what's real page size set for the test > page.<br>><br>><br>> 2008/4/15, Caixicui <<a href="mailto: > caixicui at gmail.com">caixicui at gmail.com</a>>:<br>> ><br>> > > Hi,<br>> > When setting different Media Size, all the Test Pages are > same.<br> > > > ><br>> > Open localhost:631, and configure the printer > with A5 Media Size,<br>> > and other options are default. The result > is same with setting option A4<br>> > Media Size.<br>> ><br>> > > But When I set Media Size Option to A5 and print by document, the > result<br> > > > > is right.<br>> > It is the half data of A4 data.<br>> > ><br>> > I confused with these appearance, and don't know where > is the error.<br>> > How can I modify this bug?<br>> > > _______________________________________________<br> > > > > cups-dev mailing list<br>> > <a href="mailto: > cups-dev at easysw.com">cups-dev at easysw.com</a><br>> > <a href=" > http://lists.easysw.com/mailman/listinfo/cups-dev"> > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > > ><br>><br>> ------=_Part_70_21204410.1208238810957<br>> > Content-Type: text/html; charset=ISO-8859-1<br>> > Content-Transfer-Encoding: 7bit<br>> Content-Disposition: > inline<br>><br>> <div>&nbsp;</div><br> > > > <div>Set the log level to debug and get log for printing test > page to check what&#39;s real page size set for the test > page.<br><br>&nbsp;</div><br>> <div><span > class="gmail_quote">2008/4/15, Caixicui &lt;<a > href="mailto:<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>"><a > href="mailto:caixicui at gmail.com">caixicui at gmail.com > </a></a>&gt;:</span><br> > > > <blockquote class="gmail_quote" > style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc > 1px solid">Hi,<br>When setting different Media Size, all the > Test Pages are same.<br><br>Open localhost:631, and configure > the printer with A5 Media Size,<br><br> > > > and other options are default. The result is same with setting > option A4 Media Size.<br><br>But When I set Media Size Option to > A5 and print by document, the result is right.<br>It is the half data > of A4 data.<br><br>I confused with these appearance, and > don&#39;t know where is the error.<br><br> > > > How can I modify this > bug?<br>_______________________________________________<br>cups-dev > mailing list<br><a href="mailto:<a href="mailto: > cups-dev at easysw.com">cups-dev at easysw.com</a>"><a href="mailto: > cups-dev at easysw.com">cups-dev at easysw.com</a></a><br><a > href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href=" > http://lists.easysw.com/mailman/listinfo/cups-dev"> > http://lists.easysw.com/mailman/listinfo/cups-dev > </a></a><br><br> > > > </blockquote></div><br><br>><br>> > ------=_Part_70_21204410.1208238810957--<br>><br><br>_______________________________________________<br>cups-dev > mailing list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com > </a><br> > > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > http://lists.easysw.com/mailman/listinfo/cups-dev > </a><br></blockquote></div><br> > > > > ------=_Part_272_15493079.1208243423234-- > > > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080415/d27bc569/attachment.html> From caixicui at gmail.com Tue Apr 15 02:32:26 2008 From: caixicui at gmail.com (Caixicui) Date: Tue, 15 Apr 2008 02:32:26 -0700 Subject: [CUPS Test Page] Print Test PagewithoptionalMedia Size Message-ID: <3965-cups.development@news.easysw.com> But The real page size in error log is matched with A4's page size before my filter. > ------=_Part_485_26587897.1208251043892 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > There is a bug in your filter that does NOT deal with the case for default > option value. > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > I set the option on localhost:631, but it doesn't work. > > Where need I set and save the A5 Media Size Option? > > > ------=_Part_272_15493079.1208243423234 > > > Content-Type: text/plain; charset=ISO-8859-1 > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline > > > > > > Just modifiy the A5 Media Size option for the print queue and save > > it and > > > then print a test page. > > > > > > Some log may be helpful for analysis. > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > The real page size is matched with Letter page size. But I want to get > > the > > > > Printer Test Page on A5 Page Size. How can I do? > > > > > > > > > ------=_Part_70_21204410.1208238810957 > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > Content-Transfer-Encoding: 7bit > > > > > Content-Disposition: inline > > > > > > > > > > Set the log level to debug and get log for printing test page to > > check > > > > > what's real page size set for the test page. > > > > > > > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > > > > > Hi, > > > > > > When setting different Media Size, all the Test Pages are same. > > > > > > > > > > > > Open localhost:631, and configure the printer with A5 Media Size, > > > > > > and other options are default. The result is same with setting > > option > > > > A4 > > > > > > Media Size. > > > > > > > > > > > > But When I set Media Size Option to A5 and print by document, the > > > > result > > > > > > is right. > > > > > > It is the half data of A4 data. > > > > > > > > > > > > I confused with these appearance, and don't know where is the > > error. > > > > > > How can I modify this bug? > > > > > > _______________________________________________ > > > > > > cups-dev mailing list > > > > > > cups-dev at easysw.com > > > > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > > > > > > > > > > ------=_Part_70_21204410.1208238810957 > > > > > Content-Type: text/html; charset=ISO-8859-1 > > > > > Content-Transfer-Encoding: 7bit > > > > > Content-Disposition: inline > > > > > > > > > > <div> </div> > > > > > <div>Set the log level to debug and get log for printing test page > > to > > > > check what's real page size set for the test > > page.<br><br> </div> > > > > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a > > href="mailto: > > > > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > > > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: > > 0px > > > > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>When setting > > different > > > > Media Size, all the Test Pages are same.<br><br>Open localhost:631, > > and > > > > configure the printer with A5 Media Size,<br> > > > > > and other options are default. The result is same with setting > > option A4 > > > > Media Size.<br><br>But When I set Media Size Option to A5 and print by > > > > document, the result is right.<br>It is the half data of A4 > > data.<br><br>I > > > > confused with these appearance, and don't know where is the > > error.<br> > > > > > How can I modify this > > > > bug?<br>_______________________________________________<br>cups-dev > > mailing > > > > list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com > > </a><br><a > > > > href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > > > > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > > > > </blockquote></div><br> > > > > > > > > > > ------=_Part_70_21204410.1208238810957-- > > > > > > > > > > > > > _______________________________________________ > > > > cups-dev mailing list > > > > cups-dev at easysw.com > > > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > > > > > > > ------=_Part_272_15493079.1208243423234 > > > Content-Type: text/html; charset=ISO-8859-1 > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline > > > > > > <div> </div> > > > <div>Just modifiy the A5 Media Size option for the print queue and > > save it  and then print a test page.</div> > > > <div> </div> > > > <div>Some log may be helpful for analysis.<br><br> </div> > > > <div><span class="gmail_quote">2008/4/15, Caixicui <<a href="mailto: > > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px > > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The real page size is matched > > with Letter page size. But I want to get the Printer Test Page on A5 Page > > Size. How can I do?<br> > > > <br>> ------=_Part_70_21204410.1208238810957<br>> Content-Type: > > text/plain; charset=ISO-8859-1<br>> Content-Transfer-Encoding: > > 7bit<br>> Content-Disposition: inline<br>><br>> Set the log level > > to debug and get log for printing test page to check<br> > > > > what's real page size set for the test > > page.<br>><br>><br>> 2008/4/15, Caixicui <<a href="mailto: > > caixicui at gmail.com">caixicui at gmail.com</a>>:<br>> ><br>> > > > Hi,<br>> > When setting different Media Size, all the Test Pages are > > same.<br> > > > > ><br>> > Open localhost:631, and configure the printer > > with A5 Media Size,<br>> > and other options are default. The result > > is same with setting option A4<br>> > Media Size.<br>> ><br>> > > > But When I set Media Size Option to A5 and print by document, the > > result<br> > > > > > is right.<br>> > It is the half data of A4 data.<br>> > > ><br>> > I confused with these appearance, and don't know where > > is the error.<br>> > How can I modify this bug?<br>> > > > _______________________________________________<br> > > > > > cups-dev mailing list<br>> > <a href="mailto: > > cups-dev at easysw.com">cups-dev at easysw.com</a><br>> > <a href=" > > http://lists.easysw.com/mailman/listinfo/cups-dev"> > > http://lists.easysw.com/mailman/listinfo/cups-dev</a><br> > > > > ><br>><br>> ------=_Part_70_21204410.1208238810957<br>> > > Content-Type: text/html; charset=ISO-8859-1<br>> > > Content-Transfer-Encoding: 7bit<br>> Content-Disposition: > > inline<br>><br>> <div>&nbsp;</div><br> > > > > <div>Set the log level to debug and get log for printing test > > page to check what&#39;s real page size set for the test > > page.<br><br>&nbsp;</div><br>> <div><span > > class="gmail_quote">2008/4/15, Caixicui &lt;<a > > href="mailto:<a href="mailto:caixicui at gmail.com">caixicui at gmail.com</a>"><a > > href="mailto:caixicui at gmail.com">caixicui at gmail.com > > </a></a>&gt;:</span><br> > > > > <blockquote class="gmail_quote" > > style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc > > 1px solid">Hi,<br>When setting different Media Size, all the > > Test Pages are same.<br><br>Open localhost:631, and configure > > the printer with A5 Media Size,<br><br> > > > > and other options are default. The result is same with setting > > option A4 Media Size.<br><br>But When I set Media Size Option to > > A5 and print by document, the result is right.<br>It is the half data > > of A4 data.<br><br>I confused with these appearance, and > > don&#39;t know where is the error.<br><br> > > > > How can I modify this > > bug?<br>_______________________________________________<br>cups-dev > > mailing list<br><a href="mailto:<a href="mailto: > > cups-dev at easysw.com">cups-dev at easysw.com</a>"><a href="mailto: > > cups-dev at easysw.com">cups-dev at easysw.com</a></a><br><a > > href="<a href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > > http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a href=" > > http://lists.easysw.com/mailman/listinfo/cups-dev"> > > http://lists.easysw.com/mailman/listinfo/cups-dev > > </a></a><br><br> > > > > </blockquote></div><br><br>><br>> > > ------=_Part_70_21204410.1208238810957--<br>><br><br>_______________________________________________<br>cups-dev > > mailing list<br><a href="mailto:cups-dev at easysw.com">cups-dev at easysw.com > > </a><br> > > > <a href="http://lists.easysw.com/mailman/listinfo/cups-dev"> > > http://lists.easysw.com/mailman/listinfo/cups-dev > > </a><br></blockquote></div><br> > > > > > > ------=_Part_272_15493079.1208243423234-- > > > > > > > _______________________________________________ > > cups-dev mailing list > > cups-dev at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups-dev > > > > ------=_Part_485_26587897.1208251043892 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > There is a bug in your filter that does NOT deal with the case for default = > option value.<br><br> > <div><span class=3D"gmail_quote">2008/4/15, Caixicui <<a href=3D"mailto:= > caixicui at gmail.com">caixicui at gmail.com</a>>:</span> > <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= > px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I set the option on localhost:63= > 1, but it doesn't work.<br>Where need I set and save the A5 Media Size = > Option?<br> > > ------=3D_Part_272_15493079.1208243423234<br>> Content-Type: text/p= > lain; charset=3DISO-8859-1<br>> Content-Transfer-Encoding: 7bit<br>> = > Content-Disposition: inline<br>><br>> Just modifiy the A5 Media Size = > option for the print queue and save it  and<br> > > then print a test page.<br>><br>> Some log may be helpful for an= > alysis.<br>><br>><br>> 2008/4/15, Caixicui <<a href=3D"mailto:c= > aixicui at gmail.com">caixicui at gmail.com</a>>:<br>> ><br>> > Th= > e real page size is matched with Letter page size. But I want to get the<br= > > > > > Printer Test Page on A5 Page Size. How can I do?<br>> ><br>= > > > > ------=3D_Part_70_21204410.1208238810957<br>> > > C= > ontent-Type: text/plain; charset=3DISO-8859-1<br>> > > Content-Tra= > nsfer-Encoding: 7bit<br> > > > > Content-Disposition: inline<br>> > ><br>> > &= > gt; Set the log level to debug and get log for printing test page to check<= > br>> > > what's real page size set for the test page.<br>> = > > ><br> > > > ><br>> > > 2008/4/15, Caixicui <<a href=3D"mailto:= > caixicui at gmail.com">caixicui at gmail.com</a>>:<br>> > > ><br>&= > gt; > > > Hi,<br>> > > > When setting different Media = > Size, all the Test Pages are same.<br> > > > > ><br>> > > > Open localhost:631, and configur= > e the printer with A5 Media Size,<br>> > > > and other options = > are default. The result is same with setting option<br>> > A4<br> > > > > > Media Size.<br>> > > ><br>> > > &g= > t; But When I set Media Size Option to A5 and print by document, the<br>>= > ; > result<br>> > > > is right.<br>> > > > It is= > the half data of A4 data.<br> > > > > ><br>> > > > I confused with these appearance= > , and don't know where is the error.<br>> > > > How can I m= > odify this bug?<br>> > > > ____________________________________= > ___________<br> > > > > > cups-dev mailing list<br>> > > > <a href=3D= > "mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br>> > > >= > <a href=3D"http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists= > ..easysw.com/mailman/listinfo/cups-dev</a><br> > > > > ><br>> > ><br>> > > ------=3D_Part_70_2= > 1204410.1208238810957<br>> > > Content-Type: text/html; charset=3D= > ISO-8859-1<br>> > > Content-Transfer-Encoding: 7bit<br>> > &= > gt; Content-Disposition: inline<br> > > > ><br>> > > <div>&nbsp;</div><br>> = > > > <div>Set the log level to debug and get log for printing te= > st page to<br>> > check what&#39;s real page size set for the tes= > t page.<br><br>&nbsp;</div><br> > > > > <div><span class=3D"gmail_quote">2008/= > 4/15, Caixicui &lt;<a href=3D"mailto:<br>> > <a href=3D"m= > ailto:caixicui at gmail.com">caixicui at gmail.com</a>"><a href=3D"mailto= > :caixicui at gmail.com">caixicui at gmail.com</a></a>&gt;:</span>= > <br> > > > > <blockquote class=3D"gmail_quote" style=3D"= > ;PADDING-LEFT: 1ex; MARGIN: 0px<br>> > 0px 0px 0.8ex; BORDER-LEFT: #c= > cc 1px solid">Hi,<br>When setting different<br>> > Medi= > a Size, all the Test Pages are same.<br><br>Open localhost:631,= > and<br> > > > configure the printer with A5 Media Size,<br><br>> > = > > and other options are default. The result is same with setting option = > A4<br>> > Media Size.<br><br>But When I set Media Size Op= > tion to A5 and print by<br> > > > document, the result is right.<br>It is the half data of A4= > data.<br><br>I<br>> > confused with these appearance, an= > d don&#39;t know where is the error.<br><br>> > > How ca= > n I modify this<br> > > > bug?<br>_______________________________________________<= > br>cups-dev mailing<br>> > list<br><a href=3D"mailto= > :<a href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a>"><a= > href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a></a><b= > r><a<br> > > > href=3D"<a href=3D"http://lists.easysw.com/mailman/listinfo/= > cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><b= > r>> > <a href=3D"http://lists.easysw.com/mailman/listinfo/cups-dev">h= > ttp://lists.easysw.com/mailman/listinfo/cups-dev</a></a><br><br= > > > > > > </blockquote></div><br><br>> > ><= > br>> > > ------=3D_Part_70_21204410.1208238810957--<br>> > &= > gt;<br>> ><br>> > _____________________________________________= > __<br> > > > cups-dev mailing list<br>> > <a href=3D"mailto:cups-dev at eas= > ysw.com">cups-dev at easysw.com</a><br>> > <a href=3D"http://lists.easys= > w.com/mailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/c= > ups-dev</a><br> > > ><br>><br>> ------=3D_Part_272_15493079.1208243423234<br>>= > Content-Type: text/html; charset=3DISO-8859-1<br>> Content-Transfer-Enc= > oding: 7bit<br>> Content-Disposition: inline<br>><br>> <div>= > &nbsp;</div><br> > > <div>Just modifiy the A5 Media Size option for the print queue&a= > mp;nbsp;and save it&nbsp; and then print a test page.</div><br>&g= > t; <div>&nbsp;</div><br>> <div>Some log may be hel= > pful for analysis.<br><br>&nbsp;</div><br> > > <div><span class=3D"gmail_quote">2008/4/15, Caix= > icui &lt;<a href=3D"mailto:<a href=3D"mailto:caixicui at gmail.com= > ">caixicui at gmail.com</a>"><a href=3D"mailto:caixicui at gmail.com">cai= > xicui at gmail.com</a></a>&gt;:</span><br> > > <blockquote class=3D"gmail_quote" style=3D"PADDING-L= > EFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">T= > he real page size is matched with Letter page size. But I want to get the P= > rinter Test Page on A5 Page Size. How can I do?<br><br> > > <br>&gt; ------=3D_Part_70_21204410.1208238810957<br>&= > amp;gt; Content-Type: text/plain; charset=3DISO-8859-1<br>&gt; Co= > ntent-Transfer-Encoding: 7bit<br>&gt; Content-Disposition: inline= > <br>&gt;<br>&gt; Set the log level to debug and get log= > for printing test page to check<br><br> > > &gt; what&#39;s real page size set for the test page.<br>= > ;&gt;<br>&gt;<br>&gt; 2008/4/15, Caixicui &lt;&= > lt;a href=3D"mailto:<a href=3D"mailto:caixicui at gmail.com">caixicui at gma= > il.com</a>"><a href=3D"mailto:caixicui at gmail.com">caixicui at gmail.co= > m</a></a>&gt;:<br>&gt; &gt;<br>&gt; &= > gt; Hi,<br>&gt; &gt; When setting different Media Size, all t= > he Test Pages are same.<br><br> > > &gt; &gt;<br>&gt; &gt; Open localhost:631, and c= > onfigure the printer with A5 Media Size,<br>&gt; &gt; and oth= > er options are default. The result is same with setting option A4<br>= > &gt; &gt; Media Size.<br>&gt; &gt;<br>&gt; = > &gt; But When I set Media Size Option to A5 and print by document, the = > result<br><br> > > &gt; &gt; is right.<br>&gt; &gt; It is the half = > data of A4 data.<br>&gt; &gt;<br>&gt; &gt; I co= > nfused with these appearance, and don&#39;t know where is the error.<= > ;br>&gt; &gt; How can I modify this bug?<br>&gt; &= > gt; _______________________________________________<br><br> > > &gt; &gt; cups-dev mailing list<br>&gt; &gt; <= > ;a href=3D"mailto:<a href=3D"mailto:cups-dev at easysw.com">cups-dev at easy= > sw.com</a>"><a href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.= > com</a></a><br>&gt; &gt; <a href=3D"<a href=3D"= > http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/= > mailman/listinfo/cups-dev</a>"><a href=3D"http://lists.easysw.com/m= > ailman/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev= > </a></a><br><br> > > &gt; &gt;<br>&gt;<br>&gt; ------=3D_Part_7= > 0_21204410.1208238810957<br>&gt; Content-Type: text/html; charset= > =3DISO-8859-1<br>&gt; Content-Transfer-Encoding: 7bit<br>&a= > mp;gt; Content-Disposition: inline<br>&gt;<br>&gt; &= > ;lt;div&gt;&amp;nbsp;&lt;/div&gt;<br><br> > > &gt; &lt;div&gt;Set the log level to debug and get log for= > printing test page to check what&amp;#39;s real page size set for the = > test page.&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&am= > p;gt;<br>&gt; &lt;div&gt;&lt;span class=3D&quot;g= > mail_quote&quot;&gt;2008/4/15, Caixicui &amp;lt;&lt;a href= > =3D&quot;mailto:<a href=3D"mailto:<a href=3D"mailto:caixicui at gm= > ail.com">caixicui at gmail.com</a>"><a href=3D"mailto:caixicui at gmail.c= > om">caixicui at gmail.com</a></a>&quot;&gt;<a href=3D"ma= > ilto:<a href=3D"mailto:caixicui at gmail.com">caixicui at gmail.com</a>">= > <a href=3D"mailto:caixicui at gmail.com">caixicui at gmail.com</a></a>&= > lt;/a&gt;&amp;gt;:&lt;/span&gt;<br><br> > > &gt; &lt;blockquote class=3D&quot;gmail_quote&quot; st= > yle=3D&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: = > #ccc 1px solid&quot;&gt;Hi,&lt;br&gt;When setting different= > Media Size, all the Test Pages are same.&lt;br&gt;&lt;br&g= > t;Open localhost:631, and configure the printer with A5 Media Size,&lt;= > br&gt;<br><br> > > &gt; and other options are default. The result is same with settin= > g option A4 Media Size.&lt;br&gt;&lt;br&gt;But When I set M= > edia Size Option to A5 and print by document, the result is right.&lt;b= > r&gt;It is the half data of A4 data.&lt;br&gt;&lt;br&gt= > ;I confused with these appearance, and don&amp;#39;t know where is the = > error.&lt;br&gt;<br><br> > > &gt; How can I modify this bug?&lt;br&gt;_________________= > ______________________________&lt;br&gt;cups-dev mailing list&l= > t;br&gt;&lt;a href=3D&quot;mailto:<a href=3D"mailto:<a = > href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a>"><a hre= > f=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a></a>&quot= > ;&gt;<a href=3D"mailto:<a href=3D"mailto:cups-dev at easysw.com">c= > ups-dev at easysw.com</a>"><a href=3D"mailto:cups-dev at easysw.com">cups= > -dev at easysw.com</a></a>&lt;/a&gt;&lt;br&gt;&lt;a = > href=3D&quot;<a href=3D"<a href=3D"http://lists.easysw.com/mail= > man/listinfo/cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a= > >"><a href=3D"http://lists.easysw.com/mailman/listinfo/cups-dev">ht= > tp://lists.easysw.com/mailman/listinfo/cups-dev</a></a>&quot;&= > ;gt;<a href=3D"<a href=3D"http://lists.easysw.com/mailman/listinfo/= > cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><a= > href=3D"http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.ea= > sysw.com/mailman/listinfo/cups-dev</a></a>&lt;/a&gt;&lt;b= > r&gt;<br><br> > > &gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&= > ;gt;<br>&gt;<br>&gt; ------=3D_Part_70_21204410.1208238= > 810957--<br>&gt;<br><br>_____________________________= > __________________<br>cups-dev mailing list<br><a href=3D&qu= > ot;mailto:<a href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a>&qu= > ot;><a href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a></a= > ><br><br> > > <a href=3D"<a href=3D"http://lists.easysw.com/mailman/listinfo= > /cups-dev">http://lists.easysw.com/mailman/listinfo/cups-dev</a>"><= > a href=3D"http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.e= > asysw.com/mailman/listinfo/cups-dev</a></a><br></blockquote&= > gt;</div><br><br> > ><br>> ------=3D_Part_272_15493079.1208243423234--<br>><br><br>___= > ____________________________________________<br>cups-dev mailing list<br><a= > href=3D"mailto:cups-dev at easysw.com">cups-dev at easysw.com</a><br><a href=3D"= > http://lists.easysw.com/mailman/listinfo/cups-dev">http://lists.easysw.com/= > mailman/listinfo/cups-dev</a><br> > </blockquote></div><br> > > ------=_Part_485_26587897.1208251043892-- > From chen.workspace at gmail.com Tue Apr 15 06:42:52 2008 From: chen.workspace at gmail.com (moontain) Date: Tue, 15 Apr 2008 06:42:52 -0700 Subject: [cups.development] [CUPS Test Page] Print Test PagewithoptionalMedia Size In-Reply-To: <3965-cups.development@news.easysw.com> References: <3965-cups.development@news.easysw.com> Message-ID: <3966-cups.development@news.easysw.com> Hi, I just tried on CUPS v1.3.7, the test page is Letter size. However, I remembered that the test page size changes according to default page size option on CUPS v1.1.x 2008/4/15, Caixicui <caixicui at gmail.com>: > But The real page size in error log is matched with A4's page size before my filter. > > ------=_Part_485_26587897.1208251043892 > > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > There is a bug in your filter that does NOT deal with the case for default > > option value. > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > I set the option on localhost:631, but it doesn't work. > > > Where need I set and save the A5 Media Size Option? > > > > ------=_Part_272_15493079.1208243423234 > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Content-Transfer-Encoding: 7bit > > > > Content-Disposition: inline > > > > > > > > Just modifiy the A5 Media Size option for the print queue and save > > > it and > > > > then print a test page. > > > > > > > > Some log may be helpful for analysis. > > > > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > > > The real page size is matched with Letter page size. But I want to get > > > the > > > > > Printer Test Page on A5 Page Size. How can I do? > > > > > > > > > > > ------=_Part_70_21204410.1208238810957 > > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > Content-Transfer-Encoding: 7bit > > > > > > Content-Disposition: inline > > > > > > > > > > > > Set the log level to debug and get log for printing test page to > > > check > > > > > > what's real page size set for the test page. > > > > > > > > > > > > > > > > > > 2008/4/15, Caixicui <caixicui at gmail.com>: > > > > > > > > > > > > > > Hi, > > > > > > > When setting different Media Size, all the Test Pages are same. > > > > > > > > > > > > > > Open localhost:631, and configure the printer with A5 Media Size, > > > > > > > and other options are default. The result is same with setting > > > option > > > > > A4 > > > > > > > Media Size. > > > > > > > > > > > > > > But When I set Media Size Option to A5 and print by document, the > > > > > result > > > > > > > is right. > > > > > > > It is the half data of A4 data. > > > > > > > > > > > > > > I confused with these appearance, and don't know where is the > > > error. > > > > > > > How can I modify this bug? From msweet at apple.com Tue Apr 15 10:35:24 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 15 Apr 2008 10:35:24 -0700 Subject: [cups.development] [CUPS Test Page] Print Test PagewithoptionalMedia Size In-Reply-To: <3965-cups.development@news.easysw.com> References: <3965-cups.development@news.easysw.com> Message-ID: <3967-cups.development@news.easysw.com> Caixicui wrote: > But The real page size in error log is matched with A4's page size before my filter. What operating system? What version of CUPS? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From caixicui at gmail.com Tue Apr 15 18:19:33 2008 From: caixicui at gmail.com (Caixicui) Date: Tue, 15 Apr 2008 18:19:33 -0700 Subject: [CUPS Test Page] PrintTest PagewithoptionalMedia Size Message-ID: <3968-cups.development@news.easysw.com> In Mac OS 10.4.11(Intel), CUPS 1.1.23 > Caixicui wrote: > > But The real page size in error log is matched with A4's page size before my filter. > > What operating system? > > What version of CUPS? > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From mike at easysw.com Tue Apr 15 19:44:44 2008 From: mike at easysw.com (Michael Sweet) Date: Tue, 15 Apr 2008 19:44:44 -0700 Subject: [CUPS Test Page] PrintTest PagewithoptionalMedia Size In-Reply-To: <3968-cups.development@news.easysw.com> References: <3968-cups.development@news.easysw.com> Message-ID: <3969-cups.development@news.easysw.com> Caixicui wrote: > In Mac OS 10.4.11(Intel), CUPS 1.1.23 Mac OS X uses the default page size in the Print & Fax pane when printing a test page, while the CUPS web interface will use the default from the PPD file. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From jfock at abas-projektierung.de Wed Apr 16 00:52:35 2008 From: jfock at abas-projektierung.de (Abas Projektierung) Date: Wed, 16 Apr 2008 00:52:35 -0700 Subject: [MOD] STR #2678: /usr/bin/ld: cannot find -lgnutlsat rpmbuild -ta cups-1.2.12.tar.bz2 Message-ID: <6709-cups.bugs@news.easysw.com> > > [STR Closed w/o Resolution] > > You are missing the gnutls shared libraries. > > Not a CUPS problem. > > Link: http://www.cups.org/str.php?L2678 > Version: 1.2.12 > Fix Version: Will Not Fix > Hello On my RHEL ES 4.4 the gnutls shared libraries are install rpm -q gnutls result gnutls-1.0.20-3.2.3 From ophers at ladpc.co.il Wed Apr 16 06:49:27 2008 From: ophers at ladpc.co.il (Opher Shachar) Date: Wed, 16 Apr 2008 06:49:27 -0700 Subject: [cups.development] [RFE] STR #2802: Implementing IPP Promote-Job operation Message-ID: <3970-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hello, The request: Can changing the priority of a job (e.g. through lp -q) be implemented through Promote-Job IPP operation? The justification: In current printer operation policy setting the IPP Set-Job-Attributes authorization to @OWNER allows the owner of a job to change the number of copies of a submitted job - that's good - but also change the priority of the job - this is unwanted. Implementing the changing of the job priority through Promote-Job IPP operation, allows for requiring higher authorization in the printer policy. Thanks, Opher Shachar. Link: http://www.cups.org/str.php?L2802 Version: -feature From ophers at ladpc.co.il Wed Apr 16 08:30:56 2008 From: ophers at ladpc.co.il (Opher Shachar) Date: Wed, 16 Apr 2008 08:30:56 -0700 Subject: [cups.bugs] [LOW] STR #2803: The Design Documentation is missing an RFC reference Message-ID: <6710-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hello, The Design Documentation page http://www.cups.org/documentation.php should also mention rfc3998 http://www.ietf.org/rfc/rfc3998.txt as the CUPS supported Disable-Printer and Enable-Printer operations are mentioned there. Regards, Opher Shachar. Link: http://www.cups.org/str.php?L2803 Version: Web Site From mike at easysw.com Wed Apr 16 08:48:27 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 16 Apr 2008 08:48:27 -0700 Subject: [MOD] STR #2678: /usr/bin/ld: cannot find -lgnutlsat rpmbuild -ta cups-1.2.12.tar.bz2 In-Reply-To: <6709-cups.bugs@news.easysw.com> References: <6709-cups.bugs@news.easysw.com> Message-ID: <6711-cups.bugs@news.easysw.com> Abas Projektierung wrote: >> [STR Closed w/o Resolution] >> >> You are missing the gnutls shared libraries. >> >> Not a CUPS problem. >> >> Link: http://www.cups.org/str.php?L2678 >> Version: 1.2.12 >> Fix Version: Will Not Fix >> > Hello > > On my RHEL ES 4.4 the gnutls shared libraries are install > rpm -q gnutls > result gnutls-1.0.20-3.2.3 But do you have the gnutls-devel package installed? -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From msweet at apple.com Wed Apr 16 08:50:21 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 16 Apr 2008 08:50:21 -0700 Subject: [cups.development] [RFE] STR #2802: Implementing IPP Promote-Job operation Message-ID: <3971-cups.development@news.easysw.com> [STR Closed w/o Resolution] The IPP spec requires that job-priority can be changed by the Set-Job-Attributes operation. The Promote-Job operation only schedules a job to print before another but does not affect the priority. Link: http://www.cups.org/str.php?L2802 Version: -feature Fix Version: Will Not Fix From pekrogel at mtu.edu Wed Apr 16 08:54:35 2008 From: pekrogel at mtu.edu (Pat Krogel) Date: Wed, 16 Apr 2008 08:54:35 -0700 Subject: [cups.development] [RFE] STR #2804: Limit browsable printers based on policy Message-ID: <3972-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] We don't want all printers to be visible by all cups clients. The policy feature allows limiting access to certain features based on domain, IP address, etc, but the scheduler will not check the printer policies when a list of printers is requested and will subsequently give everyone the full list of printers. If the policy of each printer is checked as the list is being generated, then the printer list generated would just contain the printers they have access to. Link: http://www.cups.org/str.php?L2804 Version: -feature From msweet at apple.com Wed Apr 16 08:57:32 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 16 Apr 2008 08:57:32 -0700 Subject: [cups.development] [RFE] STR #2804: Limit browsable printers based on policy Message-ID: <3973-cups.development@news.easysw.com> [STR Closed w/o Resolution] First, the normal way of sharing printers doesn't involve the clients getting the printer list directly from the server. Second, adding an IP check for every printer would involve several lookups (not just the policy, but also the location limits), which would likely cause serious performance problems. I don't see us every implementing this. Look at running multiple servers (even on the same system) to limit the printers that are visible to clients. Link: http://www.cups.org/str.php?L2804 Version: -feature Fix Version: Will Not Fix From cups.dev at web.de Wed Apr 16 10:18:26 2008 From: cups.dev at web.de (Detlef Riekenberg) Date: Wed, 16 Apr 2008 10:18:26 -0700 Subject: [cups.development] [RFE] STR #2786: Wine need an Option to check, that a cached Printer list is still up to date In-Reply-To: <20080405161545.639DF3C684B5@dns.easysw.com> References: <20080405161545.639DF3C684B5@dns.easysw.com> Message-ID: <3974-cups.development@news.easysw.com> On Sa, 2008-04-05 at 09:15 -0700, Michael Sweet wrote: > I'd be interested to know what version of CUPS you are using, since > cupsGetDests() is generally quite fast in recent CUPS releases. I forward your Question. http://bugs.winehq.org/show_bug.cgi?id=3507 (I can't remember the other bug with the even longer Delays a.t.m) > Regardless, don't use cupsGetDests(), make a CUPS_GET_PRINTERS IPP request > and get your list of printers using cupsDoRequest() - you can limit the > request to just the printer-name and printer-type attributes and will not > have the overhead of the convenience API call. > ... Thanks for your Hints. -- By by ... Detlef From kssingvo at suse.de Thu Apr 17 05:58:03 2008 From: kssingvo at suse.de (kssingvo.suse) Date: Thu, 17 Apr 2008 05:58:03 -0700 Subject: [cups.bugs] [MOD] STR #2805: issue with image.c Message-ID: <6712-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Ludwig Nussel asked me to report this issue: What happened with the following problem? AFAICS the sample image causes a crash due to a NULL deref. However, the calloc returning that NULL just does that due to a silly value that is the result of a multiplication (image.c, get_tile()): xtiles = (img->xsize + CUPS_TILE_SIZE - 1) / CUPS_TILE_SIZE; ytiles = (img->ysize + CUPS_TILE_SIZE - 1) / CUPS_TILE_SIZE; .... tile = calloc(sizeof(cups_itile_t), xtiles * ytiles); .... for (tilex = xtiles; tilex > 0; tilex --, tile ++) tile->pos = -1; Couldn't xtiles and xtiles theoretically be constructed in a way that xtiles*ytiles < xtiles so that the loop overwrites memory? Link: http://www.cups.org/str.php?L2805 Version: 1.3.7 From msweet at apple.com Thu Apr 17 17:37:35 2008 From: msweet at apple.com (Michael Sweet) Date: Thu, 17 Apr 2008 17:37:35 -0700 Subject: [cups.bugs] [LOW] STR #2806: Update job-printer-state-message when canceling a job Message-ID: <6713-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Currently a canceled job will typically have a final job-printer-state-message of "/usr/lib/cups/backend/foo failed". We should put an auto-generated message instead stating that the job was canceled. Link: http://www.cups.org/str.php?L2806 Version: 1.3-current From kaizhu.cn at gmail.com Thu Apr 17 23:59:20 2008 From: kaizhu.cn at gmail.com (Kai Zhu) Date: Thu, 17 Apr 2008 23:59:20 -0700 Subject: Custom Page Size Message-ID: <3975-cups.development@news.easysw.com> I cannot print with custom margin. I want to print one job with custom page size in Mac OS 10.4.11(Intel), CUPS 1.1.23. In Page Setup panel, I set options as below: Page Size: width to 18.00cm, height to 27.00cm; Printer Margins(User defined) : Left to 4.00cm, Top to 0.42cm, Right to 0.63cm, Bottom to 0.42cm. The problem is that left margin of printing result is not 4.00cm, but 0.63cm. Why is real left margin not the defined margin? From msweet at apple.com Fri Apr 18 09:08:06 2008 From: msweet at apple.com (Michael R Sweet) Date: Fri, 18 Apr 2008 09:08:06 -0700 Subject: [cups.development] Custom Page Size In-Reply-To: <3975-cups.development@news.easysw.com> References: <3975-cups.development@news.easysw.com> Message-ID: <3976-cups.development@news.easysw.com> Kai Zhu wrote: > I cannot print with custom margin. > > I want to print one job with custom page size in Mac OS 10.4.11(Intel), CUPS 1.1.23. In Page Setup panel, I set options as below: > Page Size: width to 18.00cm, height to 27.00cm; > Printer Margins(User defined) : Left to 4.00cm, Top to 0.42cm, Right to 0.63cm, Bottom to 0.42cm. > > The problem is that left margin of printing result is not 4.00cm, but 0.63cm. > Why is real left margin not the defined margin? The margins passed to the driver are the ones that come from the HWMargins keyword in the PPD file. The margins you enter in the UI only affect formatting of content by applications. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Fri Apr 18 11:33:13 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 18 Apr 2008 11:33:13 -0700 Subject: [cups.bugs] [MOD] STR #2684: cupsd writes printers.conf, classes.conf, and subscriptions.conf too often Message-ID: <6714-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2684 Version: 1.4-current Fix Version: 1.4-current (r7468) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2684.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080418/60efdd32/attachment.ksh> From danieyek at alumni.washington.edu Sat Apr 19 00:44:56 2008 From: danieyek at alumni.washington.edu (Daniel Yek) Date: Sat, 19 Apr 2008 00:44:56 -0700 Subject: Samsung SCX-4100 And Canon PIXMA iP 1500 Message-ID: <3977-cups.development@news.easysw.com> Hi, Are there any information on how I can enable printing to any of the following printers? 1. Samsung SCX-4100 2. Canon PIXMA iP 1500 Are there any way I can figure out what is being sent (such as firmware) by the printer drivers on Windows to the printer over USB, so that I can copy those bytes to a file that /lib/udev/firmware.sh can find? Thanks. -- Daniel. From hintak_leung at yahoo.co.uk Sun Apr 20 09:49:46 2008 From: hintak_leung at yahoo.co.uk (Hin-Tak Leung) Date: Sun, 20 Apr 2008 09:49:46 -0700 Subject: [cups.development] Samsung SCX-4100 And Canon PIXMA iP 1500 In-Reply-To: <3977-cups.development@news.easysw.com> Message-ID: <3978-cups.development@news.easysw.com> Hmm, I wonder why you are asking on cups.dev... I don't know either printers, but any of the printing* lists under linux foundation is probably more appropriate. have a look at linuxprinting.org and openprinting.org as well, and lastly, if the canon is an lips printer, you might want to go to the japanese canon web site where they have linux drivers... and have a look at ddiwrapper (which can load windows XP drivers under linux) as well, which is known to work with some canon printers. As for your last question, snoopypro is your answer, but you can probably get the firmware by unpacking the windows driver, without using snoopypro. --- On Sat, 19/4/08, Daniel Yek <danieyek at alumni.washington.edu> wrote: > From: Daniel Yek <danieyek at alumni.washington.edu> > Subject: [cups.development] Samsung SCX-4100 And Canon PIXMA iP 1500 > To: cups-dev at easysw.com > Date: Saturday, 19 April, 2008, 8:44 AM > Hi, > > Are there any information on how I can enable printing to > any of the following printers? > > 1. Samsung SCX-4100 > 2. Canon PIXMA iP 1500 > > Are there any way I can figure out what is being sent (such > as firmware) by the printer drivers on Windows to the > printer over USB, so that I can copy those bytes to a file > that /lib/udev/firmware.sh can find? > > Thanks. > > -- > Daniel. > > _______________________________________________ > cups-dev mailing list > cups-dev at easysw.com > http://lists.easysw.com/mailman/listinfo/cups-dev __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html From danieyek at alumni.washington.edu Mon Apr 21 09:51:46 2008 From: danieyek at alumni.washington.edu (Daniel Yek) Date: Mon, 21 Apr 2008 09:51:46 -0700 Subject: [cups.development] Samsung SCX-4100 And Canon PIXMA iP 1500 In-Reply-To: <601340.91755.qm@web23112.mail.ird.yahoo.com> References: <601340.91755.qm@web23112.mail.ird.yahoo.com> Message-ID: <3979-cups.development@news.easysw.com> Hi, Thanks for the helpful answers. > I wonder why you are asking on cups.dev... I was just finding my way around and trying to get more technical information. Thanks again. -- Daniel On Sun, 2008-04-20 at 16:49 +0000, Hin-Tak Leung wrote: > Hmm, I wonder why you are asking on cups.dev... I don't know either > printers, but any of the printing* lists under linux foundation is > probably more appropriate. have a look at linuxprinting.org and > openprinting.org as well, and lastly, if the canon is an lips printer, > you might want to go to the japanese canon web site where they have > linux drivers... and have a look at ddiwrapper (which can load windows > XP > drivers under linux) as well, which is known to work with some canon > printers. > > As for your last question, snoopypro is your answer, but you can > probably get the firmware by unpacking the windows driver, without > using snoopypro. > > --- On Sat, 19/4/08, Daniel Yek <danieyek at alumni.washington.edu> > wrote: > > > From: Daniel Yek <danieyek at alumni.washington.edu> > > Subject: [cups.development] Samsung SCX-4100 And Canon PIXMA iP 1500 > > To: cups-dev at easysw.com > > Date: Saturday, 19 April, 2008, 8:44 AM > > Hi, > > > > Are there any information on how I can enable printing to > > any of the following printers? > > > > 1. Samsung SCX-4100 > > 2. Canon PIXMA iP 1500 > > > > Are there any way I can figure out what is being sent (such > > as firmware) by the printer drivers on Windows to the > > printer over USB, so that I can copy those bytes to a file > > that /lib/udev/firmware.sh can find? > > > > Thanks. > > > > -- > > Daniel. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/6b49a92b/attachment.html> From martin.pitt at canonical.com Mon Apr 21 10:21:42 2008 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Mon, 21 Apr 2008 10:21:42 -0700 Subject: [cups.bugs] [MOD] STR #2808: STR #2780 changed pdftops exit code behaviour Message-ID: <6715-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hello, in http://www.cups.org/str.php?L2780 you fixed the EINTR problem I reported, thank you! However, your patch introduced a change in behaviour: when cancelling a job (and thus calling the signal handler, which sets job_canceled=1), the following "pdfwaitpid != pdfpid" matches, since wait() returned -1/EINTR, but due to job_canceled==1, the while loop was broken. This would then always be considered as a failure, i. e. pdftops would exit with 1. When applying that patch (instead of mine), the test suite now fails on "11 errors instead of expected 9", on the following: E [21/Apr/2008:16:57:40 +0000] PID 29175 (/tmp/cups-martin/bin/filter/pdftops) stopped with status 1! E [21/Apr/2008:16:57:40 +0000] PID 29177 (/tmp/cups-martin/bin/filter/pstops) stopped with status 1! There are two possibilities: - pdftops is actually meant to exit with 1 when a job is cancelled. Then the test cases need to be updated. - pdftops should succeed if a job is cancelled. Then something like the attached patch should help. (NB that I also added 'volatile', just for robustness; gcc seems to be clever enough to not optimize away the lookup in the while loop, though) That helps to drop the error messages from 11 to 10, I still get E [21/Apr/2008:17:13:22 +0000] PID 4457 (/tmp/cups-martin/bin/filter/pstops) stopped with status 1! which I don't get if I unapply your patch in STR #2780 and just apply my proposed patch there. I do see that the idea of your patch is better, but ATM I seem to be too blind to spot the problem... Thank you! Link: http://www.cups.org/str.php?L2808 Version: 1.4-current -------------- next part -------------- A non-text attachment was scrubbed... Name: pdftops-dont_fail_on_cancel.dpatch Type: application/octet-stream Size: 774 bytes Desc: not available URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/519baf3c/attachment.obj> From martin.pitt at canonical.com Mon Apr 21 10:37:50 2008 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Mon, 21 Apr 2008 10:37:50 -0700 Subject: [cups.bugs] [MOD] STR #2808: STR #2780 changed pdftops exit code behaviour Message-ID: <6716-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Attached file "pdftops-dont_fail_on_cancel_v2.dpatch"... Link: http://www.cups.org/str.php?L2808 Version: 1.4-current -------------- next part -------------- A non-text attachment was scrubbed... Name: pdftops-dont_fail_on_cancel_v2.dpatch Type: application/octet-stream Size: 1004 bytes Desc: not available URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/a787126d/attachment.obj> From martin.pitt at canonical.com Mon Apr 21 10:38:30 2008 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Mon, 21 Apr 2008 10:38:30 -0700 Subject: [cups.bugs] [MOD] STR #2808: STR #2780 changed pdftops exit code behaviour Message-ID: <6717-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Ah, with that updated patch it works for me again. Even if we cancel a job, it should still be properly cleaned up by wait()ing on it, instead of turning it into a zombie. Link: http://www.cups.org/str.php?L2808 Version: 1.4-current From msweet at apple.com Mon Apr 21 14:38:06 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 14:38:06 -0700 Subject: [cups.bugs] [MOD] STR #2783: Multiple Kerberised CUPS servers on one host Message-ID: <6718-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Minor changes to your patch (attached) Link: http://www.cups.org/str.php?L2783 Version: 1.3.7 Fix Version: 1.4-current (r7477) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2783.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/d221b254/attachment.ksh> From msweet at apple.com Mon Apr 21 14:57:34 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 14:57:34 -0700 Subject: [cups.bugs] [LOW] STR #2789: The scheduler should check for duplicate RSS subscription URIs Message-ID: <6719-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2789 Version: 1.3-current Fix Version: 1.4-current (r7478) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2789.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/f61db310/attachment.ksh> From msweet at apple.com Mon Apr 21 15:17:30 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 15:17:30 -0700 Subject: [cups.bugs] [LOW] STR #2806: Update job-printer-state-message when canceling a job Message-ID: <6720-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2806 Version: 1.3-current Fix Version: 1.4-current (r7479) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2806.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/6a7a4dc3/attachment.ksh> From msweet at apple.com Mon Apr 21 15:17:34 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 15:17:34 -0700 Subject: [cups.bugs] [MOD] STR #2808: Scheduler incorrectly logs canceled job filters as errors Message-ID: <6721-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Oh, and this is a dupe of STR #2806, which I had filed earlier... :) Link: http://www.cups.org/str.php?L2808 Version: 1.4-current Fix Version: 1.4-current (r7479) From msweet at apple.com Mon Apr 21 15:21:38 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 15:21:38 -0700 Subject: [cups.bugs] [MOD] STR #2750: auth-info-required not set on browsed printer Message-ID: <6722-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Patch looks good to me - we don't even support authentication without a password... Link: http://www.cups.org/str.php?L2750 Version: 1.3.6 Fix Version: 1.4-current (r7480) From msweet at apple.com Mon Apr 21 15:29:20 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 15:29:20 -0700 Subject: [cups.bugs] [MOD] STR #2808: New pdftops does not correctly wait for child on cancel Message-ID: <6723-cups.bugs@news.easysw.com> [STR Closed w/Resolution] OK, not specifically a dupe then but a problem with the cancel of the child - I've updated the summary once again and attached a patch that will do what is required... Link: http://www.cups.org/str.php?L2808 Version: 1.4-current Fix Version: 1.4-current (r7479) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2808.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/dce20680/attachment.ksh> From msweet at apple.com Mon Apr 21 15:52:01 2008 From: msweet at apple.com (Michael Sweet) Date: Mon, 21 Apr 2008 15:52:01 -0700 Subject: [cups.bugs] [MOD] STR #2775: Scheduler doesn't return error for bad job-sheets Message-ID: <6724-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2775 Version: 1.3-current Fix Version: 1.4-current (r7482) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2775.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080421/d6604fe3/attachment.ksh> From w.jardel at gmail.com Mon Apr 21 16:33:46 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 16:33:46 -0700 Subject: cupsDoRequest changes request->request.op.operation_id Message-ID: <6725-cups.bugs@news.easysw.com> Hi there. I'm writing an application that uses IPP_GET_NOTIFICATIONS to get the events on a given subscription id. The problem occurs here: ipp_t *request = ippNewRequest(IPP_GET_NOTIFICATIONS); ...append the attributes... printf("id = %d\n", request->request.op.operation_id); ipp_t *response = cupsDoRequest(m_http, request, resource); printf("id = %d\n", request->request.op.operation_id); The output is: id = 28 id = 3 For some reason, the cupsDoRequest() is internally changing the operation_id. Maybe, I suppose it's an error, isn't it? Please, explain me. Thank you in advance, Jardel From w.jardel at gmail.com Mon Apr 21 17:00:17 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 17:00:17 -0700 Subject: cupsDoRequest changes request->request.op.operation_id Message-ID: <6726-cups.bugs@news.easysw.com> > Hi there. > > I'm writing an application that uses IPP_GET_NOTIFICATIONS to get the events on a given subscription id. > > The problem occurs here: > > ipp_t *request = ippNewRequest(IPP_GET_NOTIFICATIONS); > ...append the attributes... > printf("id = %d\n", request->request.op.operation_id); > ipp_t *response = cupsDoRequest(m_http, request, resource); > printf("id = %d\n", request->request.op.operation_id); > > The output is: > id = 28 > id = 3 > > For some reason, the cupsDoRequest() is internally changing the operation_id. Maybe, > I suppose it's an error, isn't it? Please, explain me. > > Thank you in advance, > Jardel > > > > > By the way, I'm using the request->request.op.operation_id for debugging purpose. I don't see any collateral effect, just the value itself. From w.jardel at gmail.com Mon Apr 21 17:34:34 2008 From: w.jardel at gmail.com (Jardel Weyrich) Date: Mon, 21 Apr 2008 17:34:34 -0700 Subject: cupsDoRequest changes request->request.op.operation_id Message-ID: <6727-cups.bugs@news.easysw.com> > > Hi there. > > > > I'm writing an application that uses IPP_GET_NOTIFICATIONS to get the events on a given subscription id. > > > > The problem occurs here: > > > > ipp_t *request = ippNewRequest(IPP_GET_NOTIFICATIONS); > > ...append the attributes... > > printf("id = %d\n", request->request.op.operation_id); > > ipp_t *response = cupsDoRequest(m_http, request, resource); > > printf("id = %d\n", request->request.op.operation_id); > > > > The output is: > > id = 28 > > id = 3 > > > > For some reason, the cupsDoRequest() is internally changing the operation_id. Maybe, > > I suppose it's an error, isn't it? Please, explain me. > > > > Thank you in advance, > > Jardel > > > > > > > > > > > > By the way, I'm using the request->request.op.operation_id for debugging purpose. I don't see any collateral effect, just the value itself. Oh, I got it.. It does ippDelete() on the request. Thank you. From msweet at apple.com Tue Apr 22 10:03:37 2008 From: msweet at apple.com (Michael R Sweet) Date: Tue, 22 Apr 2008 10:03:37 -0700 Subject: [cups.bugs] cupsDoRequest changes request->request.op.operation_id In-Reply-To: <6725-cups.bugs@news.easysw.com> References: <6725-cups.bugs@news.easysw.com> Message-ID: <6728-cups.bugs@news.easysw.com> Jardel Weyrich wrote: > ... > The output is: > id = 28 > id = 3 > > For some reason, the cupsDoRequest() is internally changing the operation_id. Maybe, > I suppose it's an error, isn't it? Please, explain me. As documented in the API reference, cupsDoRequest() frees the request you supply with ippDelete() - the request can no longer be access after you call cupsDoRequest! -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From jschwender at de.ferrotec.com Wed Apr 23 09:49:27 2008 From: jschwender at de.ferrotec.com (Joachim Schwender) Date: Wed, 23 Apr 2008 09:49:27 -0700 Subject: [cups.bugs] [CRIT] STR #2809: build fails Message-ID: <6729-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] a ./configure; make runs into: Compiling rastertopclx.c... Compiling pcl-common.c... Compiling testcmyk.c... /usr/lib/libcups.a(attr.o): In function `ppdFindAttr': (.text+0xf4): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(attr.o): In function `ppdFindAttr': (.text+0x11b): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(attr.o): In function `ppdFindAttr': (.text+0x243): undefined reference to `__stack_chk_fail_local' /usr/lib/libcups.a(string.o): In function `_cupsStrScand': (.text+0x208): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(string.o): In function `_cupsStrScand': (.text+0x333): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(string.o): In function `_cupsStrScand': (.text+0x4d1): undefined reference to `__stack_chk_fail_local' /usr/lib/libcups.a(string.o): In function `_cupsStrFormatd': (.text+0x5c1): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(string.o): In function `_cupsStrFormatd': (.text+0x70c): undefined reference to `__stack_chk_guard' /usr/lib/libcups.a(string.o): In function `_cupsStrFormatd': (.text+0x788): undefined reference to `__stack_chk_fail_local' collect2: ld gab 1 als Ende-Status zurück make[1]: *** [testcmyk] Fehler 1 make: *** [all] Fehler 1 cups version: 1.3.7 built from debianized source. debian etch on a i386 system (Pentium III smp) Link: http://www.cups.org/str.php?L2809 Version: 1.2.3 From msweet at apple.com Wed Apr 23 09:50:59 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 23 Apr 2008 09:50:59 -0700 Subject: [cups.bugs] [MOD] STR #2809: build fails Message-ID: <6730-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Please contact your Linux distributor for this issue. This is either a GCC problem or an issue with the CUPS install on your system. Link: http://www.cups.org/str.php?L2809 Version: 1.2.3 Fix Version: Will Not Fix From msweet at apple.com Wed Apr 23 15:07:49 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 23 Apr 2008 15:07:49 -0700 Subject: [cups.bugs] [HIGH] STR #2810: cupsFileTell() returns invalid results for append mode (log files) Message-ID: <6731-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2810 Version: 1.3-current Fix Version: 1.4-current (r7491) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2810.patch URL: <https://lists.cups.org/pipermail/cups/attachments/20080423/5ceaaac8/attachment.ksh> From horky.chen at gmail.com Wed Apr 23 20:01:56 2008 From: horky.chen at gmail.com (Horky Chen) Date: Wed, 23 Apr 2008 20:01:56 -0700 Subject: MFP Device:Printing job was pended when scanning Message-ID: <3980-cups.development@news.easysw.com> Dear all, We have a MFP device(Interface 0:Printer, Interface 1:Scanner), we built Mac TWAIN driver and CUPS driver for scanner and printer. We meet following problem: OS:Mac 10.4,10.5 1. Start a printing job via USB include 10 pages 2. Start to scan via USB when printing 3. Printing job will be hold. (<NG) Error message sounds like cannot communicate with printer. 4. If you plug out the cable and plug in it again, the job can be resumed. Would you please give me some comments about it? Thanks & Best Regards! Horky From michael at hum.aau.dk Thu Apr 24 06:36:50 2008 From: michael at hum.aau.dk (Michael Collin Nielsen) Date: Thu, 24 Apr 2008 06:36:50 -0700 Subject: ipp.c, Deviuce URI and cupsUser Message-ID: <6732-cups.bugs@news.easysw.com> When using the ipp backend the sourcecode seems to allow URI's like: ipp://user at host/device The code in ipp.c parses the URI and sets cupsUser to the username suplied in the URI, however as far as I can see, then when creating the request, the requesting-user-name is taken from argv[2] not from cupsUser. Therefore it is not possible to alter the user using the URI. Is the the way it is designed to be or is it a bug ? Regards -Michael From anesth at unixway.org.ua Thu Apr 24 08:24:31 2008 From: anesth at unixway.org.ua (Anesth Cat) Date: Thu, 24 Apr 2008 08:24:31 -0700 Subject: CUPS 1.2.4 strange behavior Message-ID: <6733-cups.bugs@news.easysw.com> Hi, I'm using CUPS 1.2.4 on CentOS 5.1 Final (as it ships on the CentOS DVD), and CUPS 1.3.5 from ports on FreeBSD 7.0-RELEASE on two PC's. My printer is Samsung SCX-4200 with USB interface. As printer-specific part of software I have installed PPD file and 'rastertosamsungspl' filter, both are from the Samsung's Linux driver pack. CUPS 1.3.5 on FreeBSD works very good. It reports the printer is connected through usb:/dev/ulpt0. CUPS 1.2.4 on CentOS 5.1 Final haven't worked at all. It says, that the filter rastertosamsungspl is failed. But when I try to run this filter manually, everything is working all right. I just specify the path to PPD file in PPD environment variable and then call rastertosamsungspl with proper argv and '/dev/usb/lp1' as output file. Any PostScript, sent to filter, should be printed o.k. /dev/usb/lp1 has 0660 permissions and root:lp ownership. A simple test I've made, shows that when I'm trying to print ever CUPS's test page, cupsd doesn't invoke 'rastertosamsungspl' at all. But when I'm stopping CUPS instance, invoked at system bootup by the rc.d script and then run new one, simply executing 'sudo cupsd -f &' in terminal, this problem disappears. Everything is working and I'm able to print. Would someone tell me, what is the problem? Should I upgrade CUPS? From till.kamppeter at gmail.com Thu Apr 24 09:42:35 2008 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Thu, 24 Apr 2008 09:42:35 -0700 Subject: [cups.development] [RFE] STR #2807: Exposing custom options in the web interface Message-ID: <3981-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] This was already reported as STR #1729 (http://www.cups.org/str.php?L1729). Link: http://www.cups.org/str.php?L2807 Version: -feature From msweet at apple.com Thu Apr 24 12:04:32 2008 From: msweet at apple.com (Michael R Sweet) Date: Thu, 24 Apr 2008 12:04:32 -0700 Subject: [cups.bugs] ipp.c, Deviuce URI and cupsUser In-Reply-To: <6732-cups.bugs@news.easysw.com> References: <6732-cups.bugs@news.easysw.com> Message-ID: <6734-cups.bugs@news.easysw.com> Michael Collin Nielsen wrote: > When using the ipp backend the sourcecode seems to allow URI's like: > > ipp://user at host/device > > The code in ipp.c parses the URI and sets cupsUser to the username suplied in the URI, however as far as I can see, then when creating the request, the requesting-user-name is taken from argv[2] not from cupsUser. > Therefore it is not possible to alter the user using the URI. Is the the way it is designed to be or is it a bug ? As designed. The username in the URI (or as passed in via AUTH_USERNAME) is used for authentication purposes. The requesting-user-name in argv[2] can be different. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From bigjoe1008 at gmail.com Thu Apr 24 12:28:47 2008 From: bigjoe1008 at gmail.com (Joe Harnish) Date: Thu, 24 Apr 2008 12:28:47 -0700 Subject: [cups.development] PCL - Raw processing Message-ID: <3982-cups.development@news.easysw.com> Hello, I am not sure if this is where to put send this but here it goes. I have an application running on a proprietary Unix. I have setup CUPS replacing it's local lp so that the printers could be easily managed. There is a proprietary application running on the Unix system that prints in PCL. I am trying to use cups along with cups-pdf to capture the file as a PDF. From reading different documents around the Internet the when cups receives the print job it encapsulates it in PostScript. Using the cups-pdf framework I am trying to process the file through pcl6 (a pcl to pdf ghostscript tool). The problem that I am running into with this because the print job is encapsulated in PS it errors out that the file is a PS file instead of PCL. The alternate problem (the reason for using pcl6) is that when I convert the PS to PDF I loose all the formatting that is coming via pcl. How can I get the RAW data from the Unix server on my CUPS server so I can process the native pcl through the interpreter. The worse part is the only formatting I really need to come through is Bold, Underline and Italics. Other ideas on how to accomplish this would also be appreciated. Thanks for any help --Joe Harnish From msweet at apple.com Thu Apr 24 14:22:43 2008 From: msweet at apple.com (Michael Sweet) Date: Thu, 24 Apr 2008 14:22:43 -0700 Subject: [cups.development] [RFE] STR #2807: Exposing custom options in the web interface Message-ID: <3983-cups.development@news.easysw.com> [STR Closed w/o Resolution] This *is* a dupe of STR #1729; moving the patch over there, however your patch will still require a bit of work since we can't depend on Javascript for the user interface (that breaks text-only browsers which we *do* support). Thanks for the patch! Link: http://www.cups.org/str.php?L2807 Version: -feature Fix Version: None From masterzenutopia at gmail.com Thu Apr 24 14:53:17 2008 From: masterzenutopia at gmail.com (anthony do) Date: Thu, 24 Apr 2008 14:53:17 -0700 Subject: CUPS problem with TIFF images Message-ID: <3984-cups.development@news.easysw.com> To those CUPS gurus, On my old AIX-Unix, I was running ESP-CUPS with Image Alchemy version 1.11 for AIX. Example below is the exact command to print to my color HP printer successfully on AIX but on new Suse Enterprise Linux Server 10.3. /usr/bin/lp -d hp4600ps -o media=Tabloid,Tray3 -o scaling=85 -o position=center -o gamma=1450 -o saturation=150 /imagetiff/t23r6w17.tiff The error were endless blank pages printout that I have had to manually press "Cancel Job" to kill the print job. The question is how to make it work the same for Suse10.3 with CUPS? Are there existed CUPS options to allow me do similar above lp command? Please reply back with any solution if you know of. Thank you! Anthony, April 24, 2008 Thu. USA From masterzenutopia at gmail.com Thu Apr 24 14:53:34 2008 From: masterzenutopia at gmail.com (anthony do) Date: Thu, 24 Apr 2008 14:53:34 -0700 Subject: CUPS problem with TIFF images Message-ID: <331-cups.ddk@news.easysw.com> To those CUPS gurus, On my old AIX-Unix, I was running ESP-CUPS with Image Alchemy version 1.11 for AIX. Example below is the exact command to print to my color HP printer successfully on AIX but on new Suse Enterprise Linux Server 10.3. /usr/bin/lp -d hp4600ps -o media=Tabloid,Tray3 -o scaling=85 -o position=center -o gamma=1450 -o saturation=150 /imagetiff/t23r6w17.tiff The error were endless blank pages printout that I have had to manually press "Cancel Job" to kill the print job. The question is how to make it work the same for Suse10.3 with CUPS? Are there existed CUPS options to allow me do similar above lp command? Please reply back with any solution if you know of. Thank you! Anthony, April 24, 2008 Thu. USA From masterzenutopia at gmail.com Thu Apr 24 14:53:50 2008 From: masterzenutopia at gmail.com (anthony do) Date: Thu, 24 Apr 2008 14:53:50 -0700 Subject: CUPS problem with TIFF images Message-ID: <6735-cups.bugs@news.easysw.com> To those CUPS gurus, On my old AIX-Unix, I was running ESP-CUPS with Image Alchemy version 1.11 for AIX. Example below is the exact command to print to my color HP printer successfully on AIX but on new Suse Enterprise Linux Server 10.3. /usr/bin/lp -d hp4600ps -o media=Tabloid,Tray3 -o scaling=85 -o position=center -o gamma=1450 -o saturation=150 /imagetiff/t23r6w17.tiff The error were endless blank pages printout that I have had to manually press "Cancel Job" to kill the print job. The question is how to make it work the same for Suse10.3 with CUPS? Are there existed CUPS options to allow me do similar above lp command? Please reply back with any solution if you know of. Thank you! Anthony, April 24, 2008 Thu. USA From larsuebernickel at gmx.de Fri Apr 25 09:49:38 2008 From: larsuebernickel at gmx.de (Lars Uebernickel) Date: Fri, 25 Apr 2008 09:49:38 -0700 Subject: [cups.development] [RFE] STR #2807: Exposing custom options in the web interface Message-ID: <3985-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I've just applied the patch against the latest subversion code (revision 7493), and it works without problem. Link: http://www.cups.org/str.php?L2807 Version: -feature From msweet at apple.com Fri Apr 25 13:36:06 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:36:06 -0700 Subject: [cups.development] [RFE] STR #2236: Enhancements to forum interface would be welcomed Message-ID: <3986-cups.development@news.easysw.com> [STR Closed w/o Resolution] Since the forums are accessible from multiple places (mailing list, NNTP feed, gmane mirror, etc.), I don't think we will be expanding on the current forum page that much. We are limited by HTML, whereas the other paths can use real programs to search and display the messages. Link: http://www.cups.org/str.php?L2236 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:35 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:35 -0700 Subject: [cups.development] [RFE] STR #65: Please implement a "Print on Form" feature in CUPS Message-ID: <3987-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L65 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:36 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:36 -0700 Subject: [cups.development] [RFE] STR #115: cupsaddsmb fails on Solaris if root password longer than 8 characters Message-ID: <3988-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L115 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:36 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:36 -0700 Subject: [cups.development] [RFE] STR #570: cupsGetJobs() does not support the limit attribute Message-ID: <3989-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L570 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:38 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:38 -0700 Subject: [cups.development] [RFE] STR #1254: make CUPS listen on a given interface (not IP) Message-ID: <3991-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1254 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:38 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:38 -0700 Subject: [cups.development] [RFE] STR #1022: page_log inaccurate when backend fails Message-ID: <3990-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1022 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:39 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:39 -0700 Subject: [cups.development] [RFE] STR #1294: BrowseAllow/Deny based on attributes Message-ID: <3992-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1294 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:40 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:40 -0700 Subject: [cups.development] [RFE] STR #1304: Add RIP-to-disk feature Message-ID: <3993-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1304 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:43 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:43 -0700 Subject: [cups.development] [RFE] STR #1306: Date+time in job-hold-until Message-ID: <3994-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1306 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:45 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:45 -0700 Subject: [cups.development] [RFE] STR #1382: Please pre-process next document while printing current document Message-ID: <3995-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1382 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:45 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:45 -0700 Subject: [cups.development] [RFE] STR #1930: SPNEGO and NTLMSSP support Message-ID: <3996-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1930 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:46 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:46 -0700 Subject: [cups.development] [RFE] STR #2596: Ability to create a Class within a Class via a Single Print Server Message-ID: <3998-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L2596 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:39:46 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:39:46 -0700 Subject: [cups.development] [RFE] STR #2312: LDAP schema for Sun One Directory Server 5.2 contribution Message-ID: <3997-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L2312 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:41:55 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:41:55 -0700 Subject: [cups.development] [RFE] STR #1674: HTTP proxy support without encryption Message-ID: <3999-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1674 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:41:56 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:41:56 -0700 Subject: [cups.development] [RFE] STR #1873: logging per printer rather than dumping into single file Message-ID: <4000-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1873 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:41:56 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:41:56 -0700 Subject: [cups.development] [RFE] STR #1882: Java bindings InputStream source Message-ID: <4001-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L1882 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:41:57 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:41:57 -0700 Subject: [cups.development] [RFE] STR #2675: Change printer job priority in CUPS web interface Message-ID: <4003-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L2675 Version: -feature Fix Version: Will Not Fix From msweet at apple.com Fri Apr 25 13:41:57 2008 From: msweet at apple.com (Michael Sweet) Date: Fri, 25 Apr 2008 13:41:57 -0700 Subject: [cups.development] [RFE] STR #2571: Print on half the page to leave space for notes (extension to N-up printing) Message-ID: <4002-cups.development@news.easysw.com> [STR Closed w/o Resolution] Sorry, we have decided this issue will not be addressed in a CUPS release. Link: http://www.cups.org/str.php?L2571 Version: -feature Fix Version: Will Not Fix From dan.bush at gmail.com Sat Apr 26 15:41:42 2008 From: dan.bush at gmail.com (Dan Bush) Date: Sat, 26 Apr 2008 15:41:42 -0700 Subject: [cups.development] [RFE] STR #1882: Java bindings InputStream source In-Reply-To: <20080425204153.D29EA3C68533@dns.easysw.com> References: <20080425204153.D29EA3C68533@dns.easysw.com> Message-ID: <4004-cups.development@news.easysw.com> Interesting but, wasn't the same feature just implemented to core API under STR #2261? On Fri, Apr 25, 2008 at 4:41 PM, Michael Sweet <msweet at apple.com> wrote: > > [STR Closed w/o Resolution] > > Sorry, we have decided this issue will not be addressed in a CUPS release. > > Link: http://www.cups.org/str.php?L1882 > Version: -feature > Fix Version: Will Not Fix > > From mike at easysw.com Sat Apr 26 16:01:48 2008 From: mike at easysw.com (Michael Sweet) Date: Sat, 26 Apr 2008 16:01:48 -0700 Subject: [cups.development] [RFE] STR #1882: Java bindings InputStreamsource In-Reply-To: <4004-cups.development@news.easysw.com> References: <20080425204153.D29EA3C68533@dns.easysw.com> <4004-cups.development@news.easysw.com> Message-ID: <4005-cups.development@news.easysw.com> Dan Bush wrote: > Interesting but, wasn't the same feature just implemented to core API > under STR #2261? That's the C API. This bug was for the Java API, which we are dropping. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From Sascha_Beh at gmx.de Sun Apr 27 12:55:36 2008 From: Sascha_Beh at gmx.de (Sasch) Date: Sun, 27 Apr 2008 12:55:36 -0700 Subject: Hp PhotoSmart 7660 Message-ID: <6736-cups.bugs@news.easysw.com> Hi, If got a debian 4.0 etch server with cpus version 1.2.7 with a HP Photo Smart 7660 and the recommended driver. I control the printer from a windows xp computer thad works for the first page or better the first printing order. I give 3 orders in a row and the printer prints the first order and then the printer stops but if I got a order with 20 pages he prints the 20 pages but if then comes 1 more order the printer stops and do nothing, I can not even turn the printer off, I have to unplug the cable. I don’t know if it's a problem on the Linux side or on the windows side but I used the printer on my windows pc for long time with out having trouble. MySystem From martin.pitt at canonical.com Tue Apr 29 14:46:49 2008 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Tue, 29 Apr 2008 14:46:49 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv Message-ID: <6737-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Originally from http://bugs.debian.org/473198: lp (and other cups CLI programs, I presume) call _cupsSetLocale() which transcodes the entire argv[] into UTF-8, but uses setlocale(LC_ALL, ""). This does the wrong thing when specifying file names which contain e. g. latin encoded characters, and lp is run under a latin locale: the file name is converted to UTF-8, and then it tries to open the file under the UTF-8 encoding, but since the set locale is latin, it gets a "file not found" error. When running lp under LC_ALL=C, everything works correctly. Link: http://www.cups.org/str.php?L2812 Version: 1.3.7 From msweet at apple.com Tue Apr 29 19:56:08 2008 From: msweet at apple.com (Michael Sweet) Date: Tue, 29 Apr 2008 19:56:08 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv Message-ID: <6738-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] This is working exactly as designed/required. If you use filenames that have a different encoding than the locale, you need to redirect from stdin, e.g.: lp <iso-encoded-filename Link: http://www.cups.org/str.php?L2812 Version: 1.3.7 Fix Version: Will Not Fix From martin.pitt at ubuntu.com Tue Apr 29 23:22:51 2008 From: martin.pitt at ubuntu.com (Martin Pitt) Date: Tue, 29 Apr 2008 23:22:51 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv In-Reply-To: <20080430025606.1869C3C68508@dns.easysw.com> References: <20080430025606.1869C3C68508@dns.easysw.com> Message-ID: <6739-cups.bugs@news.easysw.com> Hi Michael, Michael Sweet [2008-04-29 19:56 -0700]: > This is working exactly as designed/required. If you use filenames that > have a different encoding than the locale, you need to redirect from > stdin, e.g.: Sure, that's a workaround, but why deliberately break it in the first place? I don't think it is *ever* right to transcode a file name in argv; unlike I alluded in my initial post, the currently set locale doesn't influence open(), it just takes the bits as they are. FWIW, I totally agree that non-UTF8 locales should die and never come back, but different FS encodings will stick around for a loong time still, I'm afraid.. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://lists.cups.org/pipermail/cups/attachments/20080429/3dca9e9f/attachment.bin> From mike at easysw.com Wed Apr 30 09:03:31 2008 From: mike at easysw.com (Michael Sweet) Date: Wed, 30 Apr 2008 09:03:31 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv In-Reply-To: <6739-cups.bugs@news.easysw.com> References: <20080430025606.1869C3C68508@dns.easysw.com> <6739-cups.bugs@news.easysw.com> Message-ID: <6740-cups.bugs@news.easysw.com> Martin Pitt wrote: > Hi Michael, > > Michael Sweet [2008-04-29 19:56 -0700]: >> This is working exactly as designed/required. If you use filenames that >> have a different encoding than the locale, you need to redirect from >> stdin, e.g.: > > Sure, that's a workaround, but why deliberately break it in the first > place? I don't think it is *ever* right to transcode a file name in > argv; unlike I alluded in my initial post, the currently set locale > doesn't influence open(), it just takes the bits as they are. Except that the command-line contains a lot of options which use the locale encoding. If we don't transcode the command-line, we can't depend on having UTF-8 going to the scheduler, and that includes filenames. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com From till.kamppeter at gmail.com Wed Apr 30 15:02:04 2008 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Wed, 30 Apr 2008 15:02:04 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv In-Reply-To: <6740-cups.bugs@news.easysw.com> References: <20080430025606.1869C3C68508@dns.easysw.com> <6739-cups.bugs@news.easysw.com> <6740-cups.bugs@news.easysw.com> Message-ID: <6741-cups.bugs@news.easysw.com> Michael Sweet wrote: > Martin Pitt wrote: >> Hi Michael, >> >> Michael Sweet [2008-04-29 19:56 -0700]: >>> This is working exactly as designed/required. If you use filenames that >>> have a different encoding than the locale, you need to redirect from >>> stdin, e.g.: >> >> Sure, that's a workaround, but why deliberately break it in the first >> place? I don't think it is *ever* right to transcode a file name in >> argv; unlike I alluded in my initial post, the currently set locale >> doesn't influence open(), it just takes the bits as they are. > > Except that the command-line contains a lot of options which use > the locale encoding. If we don't transcode the command-line, we > can't depend on having UTF-8 going to the scheduler, and that > includes filenames. > Is it not the case that the file access is done by the CLI frontend itself and not the scheduler? Then one could use the unchanged file name to locally access the file but send the UTF-8-encoded one to the scheduler, so that job listing tools show the job correctly. So the conversion to UTF-8 should happen directly before the command line pieces are sent to the scheduler. Till From msweet at apple.com Wed Apr 30 16:52:47 2008 From: msweet at apple.com (Michael Sweet) Date: Wed, 30 Apr 2008 16:52:47 -0700 Subject: [cups.development] [RFE] STR #1655: Add SNMP page counter and printer status support to socket and lpd backends Message-ID: <4006-cups.development@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L1655 Version: 1.4-feature Fix Version: 1.4-current From msweet at apple.com Wed Apr 30 17:19:11 2008 From: msweet at apple.com (Michael R Sweet) Date: Wed, 30 Apr 2008 17:19:11 -0700 Subject: [cups.bugs] [MOD] STR #2812: transcodes file names in argv In-Reply-To: <6741-cups.bugs@news.easysw.com> References: <20080430025606.1869C3C68508@dns.easysw.com> <6739-cups.bugs@news.easysw.com> <6740-cups.bugs@news.easysw.com> <6741-cups.bugs@news.easysw.com> Message-ID: <6742-cups.bugs@news.easysw.com> Till Kamppeter wrote: > Michael Sweet wrote: >> Martin Pitt wrote: >>> Hi Michael, >>> >>> Michael Sweet [2008-04-29 19:56 -0700]: >>>> This is working exactly as designed/required. If you use filenames that >>>> have a different encoding than the locale, you need to redirect from >>>> stdin, e.g.: >>> Sure, that's a workaround, but why deliberately break it in the first >>> place? I don't think it is *ever* right to transcode a file name in >>> argv; unlike I alluded in my initial post, the currently set locale >>> doesn't influence open(), it just takes the bits as they are. >> Except that the command-line contains a lot of options which use >> the locale encoding. If we don't transcode the command-line, we >> can't depend on having UTF-8 going to the scheduler, and that >> includes filenames. >> > > Is it not the case that the file access is done by the CLI frontend > itself and not the scheduler? Yes, however it is the CUPS API that gets the filename, and at that point we need UTF-8 because otherwise the CUPS API would have to deal with wide characters and different character sets. We want to work with nul-terminated C strings, as that is what the OS needs, and we want UTF-8 because that is what the scheduler uses. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer