From lists.cups-general at duinheks.xs4all.nl Sat Sep 1 02:32:34 2007 From: lists.cups-general at duinheks.xs4all.nl (lists.cups-general at duinheks.xs4all.nl) Date: Sat, 01 Sep 2007 02:32:34 -0700 Subject: [cups.general] Not printing .jpg full scale properly Message-ID: <30405-cups.general@news.easysw.com> Hallo, I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. For my HP PhotoSmart 7350 I'm using HP-PhotoSmart_7350_hpijs.ppd with in lpoptions: Dest PhotoA4 scaling=100 position=top-right media=A4,1200PhotoCMYKFullBleed When I print a .jpg to PhotoA4, the size is correct, but I get two pages each with half of the image, split lengthwise. I have totally removed hplip and cups, rebuilt and configured then again, but that didn't help. Could somebody please think with me and help me to fix it? Groeten, Hans. jdh punt beekhuizen bij duinheks punt xs4all punt nl --- GoldED+/LNX 1.1.5/070624 * Origin: The Wizard is using MBSE/Linux (2:280/1018) From mike at easysw.com Sat Sep 1 11:01:40 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 01 Sep 2007 11:01:40 -0700 Subject: [cups.general] Not printing .jpg full scale properly In-Reply-To: <30405-cups.general@news.easysw.com> References: <30405-cups.general@news.easysw.com> Message-ID: <30406-cups.general@news.easysw.com> lists.cups-general at duinheks.xs4all.nl wrote: > Hallo, > > I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. > For my HP PhotoSmart 7350 I'm using HP-PhotoSmart_7350_hpijs.ppd > with in lpoptions: Dest PhotoA4 scaling=100 position=top-right > media=A4,1200PhotoCMYKFullBleed > > When I print a .jpg to PhotoA4, the size is correct, but I get > two pages each with half of the image, split lengthwise. > > I have totally removed hplip and cups, rebuilt and configured > then again, but that didn't help. > > Could somebody please think with me and help me to fix it? Using either the ppi or scaling options to control the size of the image. By default the image filter uses the resolution in the JPEG file to compute the physical image size, which then gets mapped to however many pages are needed. Fit to page: lp -o scaling=100 filename Scale using resolution: lp -o ppi=300 filename -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From antaras at earthlink.net Sat Sep 1 18:59:00 2007 From: antaras at earthlink.net (antara scales) Date: Sat, 01 Sep 2007 18:59:00 -0700 Subject: How to start CUPS at bootup Message-ID: <30407-cups.general@news.easysw.com> After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. thanks, Antara From lists.cups-general at duinheks.xs4all.nl Sun Sep 2 06:03:51 2007 From: lists.cups-general at duinheks.xs4all.nl (lists.cups-general at duinheks.xs4all.nl) Date: Sun, 02 Sep 2007 06:03:51 -0700 Subject: [cups.general] Not printing .jpg full scale properly Message-ID: <30408-cups.general@news.easysw.com> Hallo Michael, Op zaterdag 01 september 2007 schreef Michael Sweet aan cups at easysw.com: >> I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. >> For my HP PhotoSmart 7350 I'm using >> HP-PhotoSmart_7350_hpijs.ppd with in lpoptions: Dest PhotoA4 >> scaling=100 position=top-right media=A4,1200PhotoCMYKFullBleed >> When I print a .jpg to PhotoA4, the size is correct, but I get MS> Fit to page: MS> lp -o scaling=100 filename Yes, I put that into /etc/cups/lpoptions. BUT, the size is correct, the image is split: using a horizontal image, the top half of the image is in the top half of one page, the bottom half in the top half of the second page. I installed cups and hplip also on another system with the same printer, there it's working correctly. It's driving me mad! Groeten, Hans. jdh punt beekhuizen bij duinheks punt xs4all punt nl --- GoldED+/LNX 1.1.5/070624 * Origin: The Wizard is using MBSE/Linux (2:280/1018) From msweet at apple.com Sun Sep 2 08:56:44 2007 From: msweet at apple.com (Michael R Sweet) Date: Sun, 02 Sep 2007 08:56:44 -0700 Subject: [cups.general] How to start CUPS at bootup In-Reply-To: <30407-cups.general@news.easysw.com> References: <30407-cups.general@news.easysw.com> Message-ID: <30409-cups.general@news.easysw.com> antara scales wrote: > After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. > Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. Normally cupsd is run on demand in 10.4.x by launchd - if the following doesn't do the trick in the Terminal window: sudo launchctl load -w /System/Library/LaunchDaemons/org.cups.cupsd.plist then go into the System Preferences, choose Sharing, and check the Printer Sharing button. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From gordey at stdio.com Sun Sep 2 14:51:52 2007 From: gordey at stdio.com (Randy Gordey) Date: Sun, 02 Sep 2007 14:51:52 -0700 Subject: [cups.general] Basic printing help Message-ID: <30410-cups.general@news.easysw.com> Hello all, I can plug in either of two usb HP deskjets to my fedora box. (Fedora 7.0) I am using cups-1.2.12-4.fc7 [root at fedora ~]# lsusb Bus 001 Device 002: ID 03f0:1004 Hewlett-Packard DeskJet 970c/970cse Bus 001 Device 001: ID 0000:0000 [root at fedora ~]# printing with the cups http "print test page" just hangs... Following is my cupsd.conf Thanks in advance for any hints or advice you choose to give... please help. cat /etc/cups/cupsd.conf|grep -v ^#|grep [:alnum:] LogLevel info SystemGroup sys root Listen /var/run/cups/cups.sock Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL DefaultAuthType Basic Order allow,deny Allow @LOCAL Encryption Required Order allow,deny Allow @LOCAL AuthType Basic Require user @SYSTEM Order allow,deny Allow @LOCAL Require user @OWNER @SYSTEM Order deny,allow AuthType Basic Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow From antaras at earthlink.net Mon Sep 3 10:02:36 2007 From: antaras at earthlink.net (antara scales) Date: Mon, 03 Sep 2007 10:02:36 -0700 Subject: How to start CUPS at bootup Message-ID: <30411-cups.general@news.easysw.com> Thanks Michael for responding. Here is what I did in terminal and it didn't work.(Print sharing was already checked. antara-scales-power-mac-g4:~ antara$ sudo launchctl load -w WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: Sorry, try again. Password: usage: launchctl load [-w] paths... antara-scales-power-mac-g4:~ antara$ /System/Library/LaunchDaemons/org.cups.cupsd.plist -bash: /System/Library/LaunchDaemons/org.cups.cupsd.plist: Permission denied antara-scales-power-mac-g4:~ antara$ I have a suspicion! When I couldn't add printers, I downloaded Printer Setup Repair and added a new conf file. Later I attempted to enter a serial # for the app and the trial copy refused to work. I know there is a conf file from them in the conf list. Would this hinder what I am trying to do? Antara > antara scales wrote: > > After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. > > Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. > > Normally cupsd is run on demand in 10.4.x by launchd - if the > following doesn't do the trick in the Terminal window: > > sudo launchctl load -w > /System/Library/LaunchDaemons/org.cups.cupsd.plist > > then go into the System Preferences, choose Sharing, and check the > Printer Sharing button. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From zifix.nochoans at gmail.com Mon Sep 3 13:54:26 2007 From: zifix.nochoans at gmail.com (Zö Ti) Date: Mon, 03 Sep 2007 13:54:26 -0700 Subject: "404 not found" from CUPS-Server Message-ID: <30412-cups.general@news.easysw.com> Everytime I connect to localhost:631 I get a website telling me "404 not found". I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. Here the access_log of one connection attempt: localhost - - [03/Sep/2007:22:47:54 +0200] "GET / HTTP/1.1" 404 0 - - localhost - - [03/Sep/2007:22:47:54 +0200] "GET /cups.css HTTP/1.1" 404 0 - - localhost - - [03/Sep/2007:22:47:54 +0200] "GET /favicon.ico HTTP/1.1" 404 0 - - and the according error_log: D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET / HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET /cups.css HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET /favicon.ico HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 From mike at easysw.com Mon Sep 3 17:16:28 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 03 Sep 2007 17:16:28 -0700 Subject: "404 not found" from CUPS-Server In-Reply-To: <30412-cups.general@news.easysw.com> References: <30412-cups.general@news.easysw.com> Message-ID: <30413-cups.general@news.easysw.com> Z? Ti wrote: > Everytime I connect to localhost:631 I get a website telling me "404 not found". > I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). > Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. > ... Sounds like your cupsd.conf file doesn't match your installed version of CUPS. If would be useful to know a) what operating system/Linux distribution you are using, b) what version of CUPS you are using, and c) how you installed CUPS (vendor package, compiled from sources, etc...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From walterwego at macosx.com.invalid Mon Sep 3 18:02:37 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Mon, 03 Sep 2007 18:02:37 -0700 Subject: How to start CUPS at bootup References: <30411-cups.general@news.easysw.com> Message-ID: <30414-cups.general@news.easysw.com> In article <30411-cups.general at news.easysw.com>, antara scales wrote: > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > Repair and added a new conf file. Later I attempted to enter a serial # for > the app and the trial copy refused to work. I know there is a conf file from > them in the conf list. Would this hinder what I am trying to do? > > antara scales wrote: > > > After installing Mac OS 10.4.10 I couldn't add printers. I would recommend that you go to Printer Setup Utility. Under the Printer Setup Utility menu, there is an option to Reset the Printing System. Please do so. That will place a new copy of the cupsd.conf file in place. Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions on your hard drive. Then use Printer Setup Repair to set the `hostconfig` file so that it reads CUPS=-YES-. If all that fails, I would suggest that you reapply the OS X 10.4.10 combo updater to re-update your system. The combo updater has a proven track record of causing few if any problems when updating as compared to the delta update you get from Software Update. Matt -- Matt Broughton Only relatives are absolute. From antaras at earthlink.net Mon Sep 3 20:15:43 2007 From: antaras at earthlink.net (antara scales) Date: Mon, 03 Sep 2007 20:15:43 -0700 Subject: How to start CUPS at bootup Message-ID: <30415-cups.general@news.easysw.com> Thanks Matt, but---- I had already reset several times in addition to Repairing Permissions. this never helped. Couldn't used Printer Setup Repair, because it was disables when I put in a bad serial #. I did install the combo update, as you suggested, but that doesn't do it either. Still can't ad printer unless I do this in terminal "Open a Terminal , located at Applications->Utilities>Terminal # = root access, this is to signify a command at root level, when you see "#" do not type this, just whats after it At terminal type: su enter password #cd /etc/cups There are a few files that can cause this error, frist is the cupsd.conf file, try this command next #cp cupsd.conf.default cupd.conf then type #cupsd The first will copy all default settings to the cupsd file, sometimes this will resolve the problem. Then cupsd will start the cupsd service in the background" Now I need the command to launch at startup. ???????????? Antara > In article <30411-cups.general at news.easysw.com>, > antara scales wrote: > > > > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > > Repair and added a new conf file. Later I attempted to enter a serial # for > > the app and the trial copy refused to work. I know there is a conf file from > > them in the conf list. Would this hinder what I am trying to do? > > > > antara scales wrote: > > > > After installing Mac OS 10.4.10 I couldn't add printers. > > I would recommend that you go to Printer Setup Utility. Under the > Printer Setup Utility menu, there is an option to Reset the Printing > System. Please do so. That will place a new copy of the cupsd.conf > file in place. > > Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions > on your hard drive. Then use Printer Setup Repair to set the > `hostconfig` file so that it reads CUPS=-YES-. > > If all that fails, I would suggest that you reapply the OS X 10.4.10 > combo updater to re-update your system. The combo updater has a proven > track record of causing few if any problems when updating as compared to > the delta update you get from Software Update. > > Matt > > -- > Matt Broughton > Only relatives are absolute. From boulbeba.ensi at gmail.com Tue Sep 4 02:36:15 2007 From: boulbeba.ensi at gmail.com (Boulbeba) Date: Tue, 04 Sep 2007 02:36:15 -0700 Subject: Basic Authentification Message-ID: <30416-cups.general@news.easysw.com> Hi I have configured my cupsd.conf to support basic authentification because i want to connect my laptop (windows OS) to my printer connect to another computer with Ubuntu OS. i have achieved the following steps: start -> printers -> add new printer and i have entered the following adress: http://login:password at server:631/printers/epson as a result, windows tells me that the printer does not exist !!!!!! my cupsd.conf is : AuthType Basic AuthClass User allow from 192.168.1.0/24 Help please From morger at olmero.ch Tue Sep 4 07:35:15 2007 From: morger at olmero.ch (Philipp Morger) Date: Tue, 04 Sep 2007 07:35:15 -0700 Subject: switching trays in printjob Message-ID: <30417-cups.general@news.easysw.com> Hi, I try something rather simple, I like to print from OpenOffice to my HPLJ4P, where the first page is from tray one and any other from tray two. I made all the needed settings in the document, but the switch to the second tray does not happen, though I can print the whole document to any of the two trays in whole. I tried with CUPS 1.2.7 (SuSe 10.1) and CUPS 1.3.0 (Ubuntu Gutsy) I tried several drivers (Gutenberg, hpijs and possibly others, though no PS as PS was refused by the printer with some funny abbriated message) The printer is also shared though samba, where it is accessible though "point'n'print, but Winword is also not able to change the tray within a printjob. I know of at least one other printer that this CUPS installation is serving, which suffers from the same error (HPLJ4650). any pointers are welcome :). regards Philipp From amy.tanner at netaspx.com Tue Sep 4 08:41:36 2007 From: amy.tanner at netaspx.com (Amy Tanner) Date: Tue, 04 Sep 2007 08:41:36 -0700 Subject: CUPS, AIX, and IPv6 - an FYI Message-ID: <30418-cups.general@news.easysw.com> > For those running CUPS in AIX environment, if you're not already aware, > AIX by default, uses IPv6. I'm not sure when IBM made this change but > it's effective in 5.2. > > Disabling IPv6 in AIX resolves the response time delay by eliminating > the need for the request to move too high up the DNS chain for resolution and speed up the request to the next available server should > the first DNS server is non-responsive. > > The result - > > From this: (IPv6 enabled and first DNS server down) > > # timex lpr -Pricoh ti01-1.txt > real 113.72 > user 0.57 > sys 0.02 > > > To this: (IPv6 disabled and first DNS server down) > > # timex lpr -Pricoh ti01-1.txt > real 3.67 > user 0.58 > sys 0.03 > > > The change- /etc/netsvc.conf > > from: hosts=local,bind > > to: hosts=local,bind4 > > In fact, to disable IPV6, you can put any (alpha/num)characters after > the word "bind" except for the number "6", and it will resolve to IPV4. > > No downtime or refresh of any kind is required. Immediate performance > increase. Angel - I am seeing poor performance printing under AIX as well. I tried the solution you suggested above, but the real time always remains around 30 seconds. Is there anywhere else you suggest I should look? Also, did you compile cups yourself or use a binary from somewhere? We are running 1.2.23 compiled ourselves with no options except the prefix. Thanks, Amy From k1pfeifle at gmx.net Tue Sep 4 10:40:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 04 Sep 2007 10:40:41 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30417-cups.general@news.easysw.com> References: <30417-cups.general@news.easysw.com> Message-ID: <30419-cups.general@news.easysw.com> Philipp Morger wrote: > I try something rather simple, I like to print from OpenOffice to my > HPLJ4P, where the first page is from tray one and any other from tray > two. I don't know how to achieve this from OpenOffice specifically... It's been a while that I looked at the printing options of OOo on Linux, and they may have improved their printing stuff. Or are you talking 'bout OOo on Windows? However, there is a way in CUPS to set this up for *any* application that is able to send reasonable (read: DSC-compliant) PostScript to the printing system. See further below... > I made all the needed settings in the document, but the switch to the > second tray does not happen, though I can print the whole document to > any of the two trays in whole. > > I tried with CUPS 1.2.7 (SuSe 10.1) and CUPS 1.3.0 (Ubuntu Gutsy) > I tried several drivers (Gutenberg, hpijs and possibly others, though > no PS as PS was refused by the printer with some funny abbriated > message) You know, sometimes it is helpful to post "funny abbriated (?) messages" given back by some software alongside one's posts seeking for community support for said software... :->> > The printer is also shared though samba, where it is accessible though > "point'n'print, but Winword is also not able to change the tray within > a printjob. How exactly is your procedure that you use on Windows Winword? Which ver- sion of Windword? Which is the driver you installed on the Windows print client? I know for sure that previous Winword versions did support print settings where you specified a different PaperTray/InputSlot for the first page... > I know of at least one other printer that this CUPS installation is > serving, which suffers from the same error (HPLJ4650). > > > any pointers are welcome :). Here they come... CUPS has a (somewhat undocumented) job option parameter called "AP_FIRSTPAGE_InputSlot". This will very likely be able to provide the functionality you are looking for. You can make it the default for all jobs; try this command: lpadmin -p your_printer \ -o AP_FIRSTPAGE_InputSlot-default=foobar (use "lpoptions -d your_printer -l | grep InputSlot" to find out what the real InputSlot names are for your printer -- I bet "foobar" will not be one of them ;-) .) Above lpadmin command will store the setting in your cups config file /etc/cups/printers.conf (thusly, it will become the default for all users of said printer). Whoever prints from now on using a command of lp -d your_printername \ -o InputSlot=FooBATZ \ /path/to/jobfile should have his first page/sheet be coming from slot "foobar" for *all* jobs going to that printer, while the rest of sheets will be drawn from slot "FooBATZ". Possibly, you'll also be able to use (for job-by-job variations of the settings) a commandline of lp -d yourprinter2 \ -o AP_FIRSTPAGE_InputSlot=PF17 \ -o InputSlot=PF16 \ /path/to/your/jobfile It's been quite while since I used this myself, but back then it worked. Hope this helps. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From dmehler26 at woh.rr.com Tue Sep 4 11:19:28 2007 From: dmehler26 at woh.rr.com (Dave) Date: Tue, 04 Sep 2007 11:19:28 -0700 Subject: [cups.general] cleaning a print queue References: <30412-cups.general@news.easysw.com> <30413-cups.general@news.easysw.com> Message-ID: <30420-cups.general@news.easysw.com> Hello, I've got a cups printer connected to a centos5 machine. This box is sharing it's printer via samba. Last evening a box spewed about ten or more print jobs to the queue and i need to clean out the queue. On the box itself i've done an lpq trying to see the existing jobids so i could use lprm to kill them and i aam seeing that there are no jobs for the default printer. That's the printer for the unix machine, i was hoping to see the second raw print queue where the jobs most likely are. If there's an easier way i'm all for it, when i enable the cups service the printer starts spitting out paper. Thanks. Dave. From antaras at earthlink.net Tue Sep 4 11:55:59 2007 From: antaras at earthlink.net (antara scales) Date: Tue, 04 Sep 2007 11:55:59 -0700 Subject: How to start CUPS at bootup Help! Message-ID: <30421-cups.general@news.easysw.com> Michael, the launch command you gave me didn't work. Any other commands? > Still can't ad printer unless I do this in terminal > > "Open a Terminal , located at Applications->Utilities>Terminal > # = root access, this is to signify a command at root level, when you see "#" do not type this, just whats after it > At terminal type: > su > enter password > #cd /etc/cups > > There are a few files that can cause this error, frist is the cupsd.conf file, try this command next > #cp cupsd.conf.default cupd.conf > > then type > #cupsd > > The first will copy all default settings to the cupsd file, sometimes this will resolve the problem. Then cupsd will start the cupsd service in the background" > > Now I need the command to launch at startup. > ???????????? > > Antara > > > > In article <30411-cups.general at news.easysw.com>, > > antara scales wrote: > > > > > > > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > > > Repair and added a new conf file. Later I attempted to enter a serial # for > > > the app and the trial copy refused to work. I know there is a conf file from > > > them in the conf list. Would this hinder what I am trying to do? > > > > > > antara scales wrote: > > > > > After installing Mac OS 10.4.10 I couldn't add printers. > > > > I would recommend that you go to Printer Setup Utility. Under the > > Printer Setup Utility menu, there is an option to Reset the Printing > > System. Please do so. That will place a new copy of the cupsd.conf > > file in place. > > > > Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions > > on your hard drive. Then use Printer Setup Repair to set the > > `hostconfig` file so that it reads CUPS=-YES-. > > > > If all that fails, I would suggest that you reapply the OS X 10.4.10 > > combo updater to re-update your system. The combo updater has a proven > > track record of causing few if any problems when updating as compared to > > the delta update you get from Software Update. > > > > Matt > > > > -- > > Matt Broughton > > Only relatives are absolute. > From morger at olmero.ch Wed Sep 5 01:01:29 2007 From: morger at olmero.ch (Philipp Morger) Date: Wed, 05 Sep 2007 01:01:29 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30422-cups.general@news.easysw.com> Hallo Kurt > I don't know how to achieve this from OpenOffice specifically... It's > been a while that I looked at the printing options of OOo on Linux, > and they may have improved their printing stuff. Or are you talking > 'bout OOo on Windows? I try on linux, but I assume it's the same on Windows... > However, there is a way in CUPS to set this up for *any* application > that is able to send reasonable (read: DSC-compliant) PostScript to > the printing system. See further below... I stumbled over this some time ago, but it does not solve the issue, as users probably some time want to print a radom selected page from some slot... but thanks for pointer! > You know, sometimes it is helpful to post "funny abbriated (?) > messages" > given back by some software alongside one's posts seeking for > community > support for said software... :->> Oh, that was "W2 UNG??LT PERS" -> Invalid personality, somehow the printer does not like the PS CUPS throws at it... > How exactly is your procedure that you use on Windows Winword? Which > version of Windword? Which is the driver you installed on the > Windows print client? /me using Winword?! - goash, that would be the day... no my fellow users do ;) It's O2K and OXP, you fire it up and define under Page Settings (or something like it) to print one page on tray 1 and then you make some kind of manual break to define that the second page appears on another tray - you are basicaly free to have a document with any number of pages and define for any page an individual tray. The drivers are those from the HOW-TO's dor setting up samba with cups, but before I go into the pit of samba and printing I though it would be nice to do it without all that stuff and try it over OO+cups. thanks & regards Philipp From k1pfeifle at gmx.net Wed Sep 5 02:41:50 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 05 Sep 2007 02:41:50 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30422-cups.general@news.easysw.com> References: <30422-cups.general@news.easysw.com> Message-ID: <30423-cups.general@news.easysw.com> Philipp Morger wrote: >> I don't know how to achieve this from OpenOffice specifically... It's >> been a while that I looked at the printing options of OOo on Linux, >> and they may have improved their printing stuff. Or are you talking >> 'bout OOo on Windows? > > I try on linux, but I assume it's the same on Windows... > >> However, there is a way in CUPS to set this up for *any* application >> that is able to send reasonable (read: DSC-compliant) PostScript to >> the printing system. See further below... > > I stumbled over this some time ago, but it does not solve the issue, as > users probably some time want to print a radom selected page from some > slot... but thanks for pointer! That's *very* rare. *If* they want a page from a different slot, it is 99% for the first page. >> You know, sometimes it is helpful to post "funny abbriated (?) >> messages" >> given back by some software alongside one's posts seeking for >> community >> support for said software... :->> > > Oh, that was "W2 UNG?LT PERS" -> Invalid personality, somehow the printer > does not like the PS CUPS throws at it... Was this printed on a "PostScript error page" by the printer? Or where did you see this message? >> How exactly is your procedure that you use on Windows Winword? Which >> version of Windword? Which is the driver you installed on the >> Windows print client? > > /me using Winword?! - goash, that would be the day... no my fellow users > do ;) Then you wasn't clear or I wasn't awake enough. I took your inquiry as a need for Windows (and Unix) Ooo users to achieve that print output feature via CUPS. So for Windows users (who do not print via CUPS) it works, but you want it for Unix users too (via CUPS)? > It's O2K and OXP, you fire it up and define under Page Settings (or > something like it) to print one page on tray 1 and then you make some > kind of manual break to define that the second page appears on another > tray - you are basicaly free to have a document with any number of > pages and define for any page an individual tray. No, in O2K I don't know this feature. Only the one where you select "tray A for page 1" & "tray B for all the rest". Unless your users insert some specific PS or PCL or MS code into their Word pages into some hidden form fields... (which I also know about). > The drivers are those from the HOW-TO's dor setting up samba with cups, > but before I go into the pit of samba and printing I though it would be > nice to do it without all that stuff and try it over OO+cups. For general apps on Unix it *should* work like I outlined in my last post. Did you even try it with OOo? However, if it is the same as it used to be years ago, here is the OOo specific way (from memory): * In OOo choose the program/dialog/menuitem were you define your "styles and formats" * Define different page styles; Name one page style "FirstPage" (or whatever you like). * Name your other styles differently (or keep one other style named "default". When you define each page style, you can assign a specific printer tray to it (just don't use "autoselection" or "use printer settings" with it). That should do the trick. It should make OOo output PostScript code for printing that has specific tray selection code injected for each page. (And make sure your CUPS is then *not* set up to insert a *different* page code.) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From premjo.elias at gmail.com Wed Sep 5 09:16:29 2007 From: premjo.elias at gmail.com (Premjo) Date: Wed, 05 Sep 2007 09:16:29 -0700 Subject: ID CARD driver development Message-ID: <30424-cups.general@news.easysw.com> Is it possible to develop device driver for ID CARD printers by using CUPS? From msweet at apple.com Wed Sep 5 09:45:47 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 05 Sep 2007 09:45:47 -0700 Subject: [cups.general] ID CARD driver development In-Reply-To: <30424-cups.general@news.easysw.com> References: <30424-cups.general@news.easysw.com> Message-ID: <30425-cups.general@news.easysw.com> Premjo wrote: > Is it possible to develop device driver for ID CARD printers by using CUPS? Assuming that you have documentation on the printers and they support raster graphics, then yes it is possible for you to develop a driver for CUPS. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Wed Sep 5 09:47:46 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Wed, 05 Sep 2007 09:47:46 -0700 Subject: cups classes Message-ID: <30426-cups.general@news.easysw.com> hello is there a way i could show the print history in windows client when using cups classes? as i encountered it doesn't show the print history on windows client when i tried to print. I need this if i encountered such problem like reprint. Or does the cups web interface can allowed only on such user? From chouinard.dany at csob.qc.ca Wed Sep 5 10:43:43 2007 From: chouinard.dany at csob.qc.ca (Dany Chouinard) Date: Wed, 05 Sep 2007 10:43:43 -0700 Subject: [cups.general] Windows printing through samba page layout Message-ID: <30427-cups.general@news.easysw.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greeting group. I have some difficulties using the CUPS print driver for Windows 6. I push the printer driver to windows workstation (cupsaddsmb) and I'm able to print fine. The problem is when a user tries to print something that doesn't have the same page layout. For example, a word document in landscape will print in portrait and will be cut to fit in the width of the page. If the user put his document in landscape and specify landscape into the printer driver setting, it gets printed fine. One must admit that usual Windows users (teachers in this specific case) are not tolerent to that kind of manipulation and gets angry quit fast. For now I'm ok, being the only one with the key of the server room, I can lock myself in. Is there a way that the page layout of a document to be passed directly to the printer driver so it gets print correclty? Just in case, I'm using pykota. The problem exist with different printer model (laserjet 4050, 2100, optra S1255, optra 720C) Dany CHOUINARD Technicien en informatique -o) Commission scolaire de l'Or et des Bois /\ chouinard.dany at csob.qc.ca _\_v t?l. 819.825.4220 ext. 3041 cel. 819.856.6892 skype. dchouinard courriel. chouinard.dany at csob.qc.ca <<<(((( ))))>>> Ce document est sign? num?riquement par GnuPG http://www.gnupg.org/fr/index.html Pour r?cup?rer ma clef publique, consultez mon site internet : www.danychouinard.net/clef.asc <<<(((( ))))>>> Vous connaissez http://www.linuxabitibi.org ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3ugza9/+BUSG+LQRArYuAKDtM9nFjshWWf8lz0J8PB3q5nESgwCeNuib tQrrbQIC8LXhZ5HZeglLELo= =+8xL -----END PGP SIGNATURE----- From angelb at bugarin.us Wed Sep 5 14:10:44 2007 From: angelb at bugarin.us (angelb) Date: Wed, 05 Sep 2007 14:10:44 -0700 Subject: CUPS, AIX, and IPv6 - an FYI Message-ID: <30428-cups.general@news.easysw.com> > > For those running CUPS in AIX environment, if you're not already aware, > > AIX by default, uses IPv6. I'm not sure when IBM made this change but > > it's effective in 5.2. > > > > Disabling IPv6 in AIX resolves the response time delay by eliminating > > the need for the request to move too high up the DNS chain for resolution and speed up the request to the next available server should > > the first DNS server is non-responsive. > > > > The result - > > > > From this: (IPv6 enabled and first DNS server down) > > > > # timex lpr -Pricoh ti01-1.txt > > real 113.72 > > user 0.57 > > sys 0.02 > > > > > > To this: (IPv6 disabled and first DNS server down) > > > > # timex lpr -Pricoh ti01-1.txt > > real 3.67 > > user 0.58 > > sys 0.03 > > > > > > The change- /etc/netsvc.conf > > > > from: hosts=local,bind > > > > to: hosts=local,bind4 > > > > In fact, to disable IPV6, you can put any (alpha/num)characters after > > the word "bind" except for the number "6", and it will resolve to IPV4. > > > > No downtime or refresh of any kind is required. Immediate performance > > increase. > > > Angel - > > I am seeing poor performance printing under AIX as well. I tried the solution you suggested above, but the real time always remains around 30 seconds. Is there anywhere else you suggest I should look? > > Also, did you compile cups yourself or use a binary from somewhere? We are running 1.2.23 compiled ourselves with no options except the prefix. > > > Thanks, > Amy You may also want to test RES_TIMEOUT and RES_RETRY. If you're having some kind of resolution issue, the RES_ can potentialy affect your response time. I would set them to RES_TIMEOUT=1 and RES_RETRY=1. You can research what these values are at your convenience. You might also want to check your ulimit settings. Make sure the setting can accomodate the number of printer queues you have. Our default setting was set at 2000 while the number of printer queues we have was over 2600. When a client submitted a printjob, it took an extra 5-10seconds longer before it left the client. Once I've changed the ulimit to a higher value, client response time went back to normal. We use a binary provided by our software packager. Good luck. From bdunward at hotmail.com Wed Sep 5 21:12:47 2007 From: bdunward at hotmail.com (Brundan Dunward) Date: Wed, 05 Sep 2007 21:12:47 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems Message-ID: <30429-cups.general@news.easysw.com> I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? Any help would be worth while I googled and search this site for drivers but did not find one. Suggestions? BD From morger at olmero.ch Thu Sep 6 04:12:38 2007 From: morger at olmero.ch (Philipp Morger) Date: Thu, 06 Sep 2007 04:12:38 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30430-cups.general@news.easysw.com> Hallo Kurt > That's *very* rare. *If* they want a page from a different slot, it > is 99% for the first page. Maybe true, but I do have the case p1 -> t1 p2 -> t2 p3 -> t3 (p4 -> t2) (p5 -> t3) p6 -> t5 > > Oh, that was "W2 UNG???LT PERS" -> Invalid personality, somehow the printer > > does not like the PS CUPS throws at it... > Was this printed on a "PostScript error page" by the printer? Or where > did you see this message? The HPLJ4P has an LED Display, where it's able to print such short things... like "BEREIT" and "AUFW??RMPHASE" and Stuff like that... > Then you wasn't clear or I wasn't awake enough. I took your inquiry > as a need for Windows (and Unix) Ooo users to achieve that print output > feature via CUPS. Well, folks at our site use Winword - this goes over samba to cups... a pretty long way to debug, so I started at the source, which is cups, and as I don't have a Windows, I use OO; It has to work regardles of platform and office product anyway... so by not going via samba, I can exclude much of the possible failure possibilities -> right now, I can simply concentrate on solving the issue OO->CUPS in hope, by solving this I also solve O2K/OXP->Samba-CUPS. > So for Windows users (who do not print via CUPS) it works, but you want > it for Unix users too (via CUPS)? No, it does not work at all, for nobody at our site... > No, in O2K I don't know this feature. Only the one where you select > "tray A for page 1" & "tray B for all the rest". Am absolutely positive, that in O2K you are able to define a page per section. Wenn ich nicht irre, ist es unter Date/Seite einrichten, dort kann man den Schacht ausw??hlen und definieren, ob es f??r das ganze Dokument, die aktuelle Sektion oder sowas oder ab der aktuellen Curserposition sein soll. Ich kann jedenfalls ein in O2K so ohne Magie ein 5 seitiges Dokument erstellen, wo jedes Seite aus einem der 5 Sch??chte k??me. > Unless your users insert some specific PS or PCL or MS code into their > Word pages into some hidden form fields... (which I also know about). nope, we do not such black magic... > For general apps on Unix it *should* work like I outlined in my last post. > Did you even try it with OOo? The solution might work, no I didn't try it, because it doesn't solve my issue and it doesn't solve that a functionality is broken in the office application (tray selection per sheet) in OO as well as MS-O, either directly via cups or by samba-cups > However, if it is the same as it used to be years ago, here is the OOo > specific way (from memory): > > * In OOo choose the program/dialog/menuitem were you define your > "styles and formats" > > * Define different page styles; Name one page style "FirstPage" > (or whatever you like). > > * Name your other styles differently (or keep one other style > named "default". > > When you define each page style, you can assign a specific printer > tray to it (just don't use "autoselection" or "use printer settings" > with it). That should do the trick. It should make OOo output > PostScript code for printing that has specific tray selection code > injected for each page. (And make sure your CUPS is then *not* set > up to insert a *different* page code.) That's *EXACLTY* the way I do it... how can I verify that CUPS is not setup to insert a different page code? And do you know if this works with the hpijs backend? Gr??sse Philipp From h.blischke at srz.de Thu Sep 6 05:31:53 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 06 Sep 2007 05:31:53 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems In-Reply-To: <30429-cups.general@news.easysw.com> References: <30429-cups.general@news.easysw.com> Message-ID: <30431-cups.general@news.easysw.com> Brundan Dunward wrote: > I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? > > Any help would be worth while I googled and search this site for drivers but did not find one. > > Suggestions? > > BD That printer should have a built-in PostScript interpreter (level 2 at least), it even can directly print PDF if equipped with an internal hard disk. I'd suggest to get the vendor supplied PPD for this printer and not to use the foomatic based one. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From k1pfeifle at gmx.net Thu Sep 6 06:26:24 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 06 Sep 2007 06:26:24 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30430-cups.general@news.easysw.com> References: <30430-cups.general@news.easysw.com> Message-ID: <30432-cups.general@news.easysw.com> Philipp Morger wrote: > Hallo Kurt > >> That's *very* rare. *If* they want a page from a different slot, it >> is 99% for the first page. > > Maybe true, but I do have the case > p1 -> t1 > p2 -> t2 > p3 -> t3 > (p4 -> t2) > (p5 -> t3) > p6 -> t5 > >>> Oh, that was "W2 UNG?LT PERS" -> Invalid personality, somehow the printer >>> does not like the PS CUPS throws at it... > >> Was this printed on a "PostScript error page" by the printer? Or where >> did you see this message? > > The HPLJ4P has an LED Display, where it's able to print such short things... > like "BEREIT" and "AUFW?RMPHASE" and Stuff like that... > >> Then you wasn't clear or I wasn't awake enough. I took your inquiry >> as a need for Windows (and Unix) Ooo users to achieve that print output >> feature via CUPS. > > Well, folks at our site use Winword - this goes over samba to cups... a > pretty long way to debug, so I started at the source, which is cups, and > as I don't have a Windows, I use OO; It has to work regardles of platform > and office product anyway... so by not going via samba, I can exclude > much of the possible failure possibilities -> right now, I can simply > concentrate on solving the issue OO->CUPS in hope, by solving this I also > solve O2K/OXP->Samba-CUPS. > >> So for Windows users (who do not print via CUPS) it works, but you want >> it for Unix users too (via CUPS)? > > No, it does not work at all, for nobody at our site... > >> No, in O2K I don't know this feature. Only the one where you select >> "tray A for page 1" & "tray B for all the rest". > > Am absolutely positive, that in O2K you are able to define a page per > section. > > Wenn ich nicht irre, ist es unter Date/Seite einrichten, dort kann man > den Schacht ausw?hlen und definieren, ob es f?r das ganze Dokument, > die aktuelle Sektion oder sowas oder ab der aktuellen Curserposition > sein soll. Ich kann jedenfalls ein in O2K so ohne Magie ein 5 seitiges > Dokument erstellen, wo jedes Seite aus einem der 5 Sch?chte k?me. > >> Unless your users insert some specific PS or PCL or MS code into their >> Word pages into some hidden form fields... (which I also know about). > > nope, we do not such black magic... > >> For general apps on Unix it *should* work like I outlined in my last post. >> Did you even try it with OOo? > > The solution might work, no I didn't try it, because it doesn't solve > my issue and it doesn't solve that a functionality is broken in the > office application (tray selection per sheet) in OO as well as MS-O, > either directly via cups or by samba-cups > >> However, if it is the same as it used to be years ago, here is the OOo >> specific way (from memory): >> >> * In OOo choose the program/dialog/menuitem were you define your >> "styles and formats" >> >> * Define different page styles; Name one page style "FirstPage" >> (or whatever you like). >> >> * Name your other styles differently (or keep one other style >> named "default". >> >> When you define each page style, you can assign a specific printer >> tray to it (just don't use "autoselection" or "use printer settings" >> with it). That should do the trick. It should make OOo output >> PostScript code for printing that has specific tray selection code >> injected for each page. (And make sure your CUPS is then *not* set >> up to insert a *different* page code.) > > That's *EXACLTY* the way I do it... how can I verify that CUPS is not > setup to insert a different page code? You can verify which is the default paper tray CUPS is using for a specific printer (and a specific user) by issuing (as that user): lpoptions -p printername -l | grep InputSlot The option marked with an asterisk ('*') is the default. You should make sure that *NOT* any specific tray is enabled, but rather an "Auto" tray. Now, some PPDs do miss a $auto tray, and they will *always* make CUPS insert additional tray-specific code into the file if it goes through the pstops filter. In that case, you can edit the PPD. Search for the '*OpenUI *InputSlot......*CloseUI *InputSlot' section. Simply add this line: *InputSlot Auto/Auto Select: "" and make sure, that the default slot is set to "Auto": *DefaultInputSlot: Auto Because the "" definition is empty, no tray specific code will be inserted into the jobfile when passing through the PPD file. (Hint: after editing your PPD, make sure to run "cupstestppd -vv your.ppd" to verify you've not b0rken it.) Another 3 things: (1) If you print from CUPS/OOo, you can verify if OOo knows how to feed the printer with "tray switching PostScript" by printing the file as a "raw" job to CUPS ("raw" jobs bypass the CUPS filtering system). To achieve that, you may want to create a separate "raw queue" (just do not use any PPD for the queue). Or use OOo to "print to file", and then print that file with "lp -d printer -o raw file"). (2) When you print from Windows (and have a reasonably recent Samba), you can use "cups options = raw" in smb.conf in order to force Samba passing the job to CUPS with the "raw" commandline parameter. Or, use a "raw queue" as the target of your Windows users. But of course, the Windows clients must use the native driver provided by the vendor for the MS Windows platform (not the PostScript driver added to Samba via cupsaddsmb), if they print to a non-PostScript device. To verify the Windows file works re. tray switching, make a user to "print to file", transfer it to the CUPS server, and print it there with "lp -o raw" again. > And do you know if this works > with the hpijs backend? Of course I don't *know*. But it *should*. > Gr?sse > Philipp -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From Susan.Dutton at stevenage.gov.uk Thu Sep 6 07:19:20 2007 From: Susan.Dutton at stevenage.gov.uk (Susan Dutton) Date: Thu, 06 Sep 2007 07:19:20 -0700 Subject: lpinfo: cups-get-devices failed: server-error-operation-not-supported Message-ID: <30433-cups.general@news.easysw.com> Hi I'm new to CUPS and have installed it successfully on a Solaris 10 server using SUN's instructions. I downloaded their compiled version of CUPS for Solaris 10. I'm trying to do the same on a Solaris 9 server (http://www.sun.com/bigadmin/content/submitted/install_cups.html)using their compiled version of CUPS for Solaris 9. I had to change the port number from 631 to 443 before I could use the GUI. I was able to set-up a printer and send a test page print to it. But when I try to do anything from the command line it just hangs (lp, lpstat). When I ran the lpinfo -v command I got the following error message: lpinfo: cups-get-devices failed: server-error-operation-not-supported I've tried re-installing it. I haven't got a C Compiler so couldn't use the latest version from this website. Any ideas? Susan From mike at easysw.com Thu Sep 6 07:38:25 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 06 Sep 2007 07:38:25 -0700 Subject: lpinfo: cups-get-devices failed: server-error-operation-not-supported In-Reply-To: <30433-cups.general@news.easysw.com> References: <30433-cups.general@news.easysw.com> Message-ID: <30434-cups.general@news.easysw.com> Susan Dutton wrote: > Hi > > I'm new to CUPS and have installed it successfully on a Solaris 10 server using SUN's instructions. I downloaded their compiled version of CUPS for Solaris 10. I'm trying to do the same on a Solaris 9 server (http://www.sun.com/bigadmin/content/submitted/install_cups.html)using their compiled version of CUPS for Solaris 9. I had to change the port number from 631 to 443 before I could use the GUI. I was able to set-up a printer and send a test page print to it. But when I try to do anything from the command line it just hangs (lp, lpstat). When I ran the lpinfo -v command I got the following error message: > lpinfo: cups-get-devices failed: server-error-operation-not-supported > > I've tried re-installing it. I haven't got a C Compiler so couldn't use the latest version from this website. > > Any ideas? The Sun CUPS packages don't replace the LP software, so "lpinfo" is probably talking to the Sun LP software (which provides its own IPP shim that doesn't support the CUPS extensions...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From pvanguardia at gmail.com Thu Sep 6 07:38:59 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Thu, 06 Sep 2007 07:38:59 -0700 Subject: Start print immediately Message-ID: <30435-cups.general@news.easysw.com> Hi, Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? From msweet at apple.com Thu Sep 6 08:35:53 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 06 Sep 2007 08:35:53 -0700 Subject: [cups.general] Start print immediately In-Reply-To: <30435-cups.general@news.easysw.com> References: <30435-cups.general@news.easysw.com> Message-ID: <30436-cups.general@news.easysw.com> Patrick Vanguardia wrote: > Hi, > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? No, sorry. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From jack at aiai.de Thu Sep 6 10:34:30 2007 From: jack at aiai.de (ekkard gerlach) Date: Thu, 06 Sep 2007 10:34:30 -0700 Subject: Start print immediately In-Reply-To: <30435-cups.general@news.easysw.com> References: <30435-cups.general@news.easysw.com> Message-ID: <30437-cups.general@news.easysw.com> Patrick Vanguardia schrieb: > Hi, > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? maybe it takes 1 millisecond less ;-) From johnxj at comcast.net Thu Sep 6 12:46:54 2007 From: johnxj at comcast.net (John Jason Jordan) Date: Thu, 06 Sep 2007 12:46:54 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) Message-ID: <30438-cups.general@news.easysw.com> I have numerous laser printers installed on my Ubuntu Feisty amd64 computers. My most recent acquisition is a Xerox Phaser 7400DN, and it is also the source of problems. One thing that would help in figuring things out is if I could understand how applications get the options to display in their print dialog boxes. In the case of the 7400DN, the specific problem is media sizes. I have attached a small PDF showing a chart I made for which paper sizes are displayed in the print dialog boxes for various applications when printing to the 7400DN. The first one, "CUPS," is what is listed in the printer options in the CUPS web interface. But note that Firefox displays only a small number of the total. Scribus, on the other hand, displays two additional ones, GermanFanfoldLegal and Custom. And in Scribus the names are somewhat different, e.g., "#10 Commercial Envelope" appears as "#10Env." So where do applications get the list of options for a printer? Why are they different from one application to the next? -------------- next part -------------- A non-text attachment was scrubbed... Name: paper_sizes.pdf Type: application/pdf Size: 17211 bytes Desc: not available URL: From jpjammet at yahoo.fr Thu Sep 6 13:19:33 2007 From: jpjammet at yahoo.fr (Jean Pierre Jammet) Date: Thu, 06 Sep 2007 13:19:33 -0700 Subject: MacOSX and epson impact fx-890 Message-ID: <30439-cups.general@news.easysw.com> Hello I am having some trouble printing to a networked Epson FX=890. The print comes out legible but though we are specifying 8.5x11 page size it's off by some fractions of an inch. Because we're using 3part continious forms on pin feeds after a page or two everything is off and the page break is misplaced. Using the CUPS Printer Manager (http://localhost:631/printers/) I see: Location: 10.10.0.141 Make&Model: Epson 24-pin Series CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.10.0.141 When I print a test page with TextEdit it comes out wrong. When I print a test page with using a cups command line util or by clicking the "Print Test Page" on the CUPS mgr. then things are OK. If anyone has similar problem, solution or can offer any pointers of things to try I would certainly appreciate it. thanks, JP From till.kamppeter at gmail.com Thu Sep 6 13:28:36 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Thu, 06 Sep 2007 13:28:36 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <20070906122512.10e922f1.johnxj@comcast.net> References: <20070906122512.10e922f1.johnxj@comcast.net> Message-ID: <30440-cups.general@news.easysw.com> What apps should do is polling the list of paper sizes (and also other user-settable options) from CUPS (and CUPS takes them from the printer's/the driver's PPD file). OpenOffice.org and all KDE apps poll the options from CUPS, also newer GNOME/GTK apps (based on new printing APIU of GTK 2.10.x or newer), therefore the results of OOo Writer and KPDF are the same as of CUPS. Old GNOME/GTK apps and also Thunderbird and Firefox do not have common printing dialogs and do not poll options from CUPS. They offer a hard-coded selection of paper sizes. AFAIR Scribus also gets options from CUPS, but it seems to always add a custom page size choice. Why it adds FanfoldGermanLegal or why it uses other page size names than the PPD I do not know. Work on a common dialog for all apps and desktops is under way: http://www.mmiworks.net/eng/publications/labels/openPrinting.html But it will take time until this gets implemented. Till John Jason Jordan wrote: > I have numerous laser printers installed on my Ubuntu Feisty amd64 > computers. My most recent acquisition is a Xerox Phaser 7400DN, and it > is also the source of problems. > > One thing that would help in figuring things out is if I could > understand how applications get the options to display in their print > dialog boxes. In the case of the 7400DN, the specific problem is media > sizes. I have attached a small PDF showing a chart I made for which > paper sizes are displayed in the print dialog boxes for various > applications when printing to the 7400DN. The first one, "CUPS," is > what is listed in the printer options in the CUPS web interface. But > note that Firefox displays only a small number of the total. Scribus, > on the other hand, displays two additional ones, GermanFanfoldLegal and > Custom. And in Scribus the names are somewhat different, e.g., "#10 > Commercial Envelope" appears as "#10Env." > > So where do applications get the list of options for a printer? Why are > they different from one application to the next? > > > ------------------------------------------------------------------------ > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups From k1pfeifle at gmx.net Thu Sep 6 14:04:13 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 06 Sep 2007 14:04:13 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30438-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> Message-ID: <30441-cups.general@news.easysw.com> John Jason Jordan wrote: > I have numerous laser printers installed on my Ubuntu Feisty amd64 > computers. My most recent acquisition is a Xerox Phaser 7400DN, and it > is also the source of problems. > > One thing that would help in figuring things out is if I could > understand how applications get the options to display in their print > dialog boxes. In the case of the 7400DN, the specific problem is media > sizes. I have attached a small PDF showing a chart I made for which > paper sizes are displayed in the print dialog boxes for various > applications when printing to the 7400DN. The first one, "CUPS," is > what is listed in the printer options in the CUPS web interface. But > note that Firefox displays only a small number of the total. Scribus, > on the other hand, displays two additional ones, GermanFanfoldLegal and > Custom. And in Scribus the names are somewhat different, e.g., "#10 > Commercial Envelope" appears as "#10Env." > > So where do applications get the list of options for a printer? Why are > they different from one application to the next? CUPS gets all options available for a printer (including PageSize, to which one option you limit your question) from the PPD file (short for PostScript Printer Description). The PPD file format was defined and specified originally by Adobe for PostScript printers. CUPS uses the same format, but also extends it (without hurting other PPD-consuming software that doesn't understand these extensions) to non-PostScript printing, by adding lines which determine what format conversion filters to use when the PostScript is processed by the spooler for a non-PS target device. The PPD holds all the PageSizes the target device is capable to use, and CUPS builds its list of available values from that file. All PPDs installed for your printers in CUPS you can find in /etc/cups/ppd/, and their names match exactly the respective printernames. KPDF (as well as all other KDE applications) uses KDEPrint, which also does also read the CUPS PPD; there should be now difference to what CUPS does. OOo's most recent versions do the same. (Former versions did use their own private PPDs, and you might have seen very big deviations there too.) Scribus' most recent releases (or is it only development releases?) also use the CUPS PPD. In addition, they may have a few "own" media sizes defined that show up (them being a DTP app, they may need to export to PDF and have lots of sizes pre-defined internally, while not requiring to have a real printer around all the time -- so their additional media sizes may pollute into the print dialog too). Firefox I don't want to comment much about. It's printing capabilities on Linux are... very, very limited. That is a shame for such a rich organization as the Mozilla Foundation is. Firefox's printing is simply cr#p. BTW, CUPS can also use "Custom" page sizes from the command line (it just doesn't display them in the web interface); http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From walterwego at macosx.com.invalid Thu Sep 6 17:35:52 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Thu, 06 Sep 2007 17:35:52 -0700 Subject: MacOSX and epson impact fx-890 References: <30439-cups.general@news.easysw.com> Message-ID: <30442-cups.general@news.easysw.com> In article <30439-cups.general at news.easysw.com>, Jean Pierre Jammet wrote: > Hello > I am having some trouble printing to a networked Epson FX=890. The print > comes out legible but though we are specifying 8.5x11 page size it's off by > some fractions of an inch. Because we're using 3part continious forms on pin > feeds after a page or two everything is off and the page break is misplaced. > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > Location: 10.10.0.141 > Make&Model: Epson 24-pin Series CUPS v1.2 > Printer State: idle, accepting jobs, published. > Device URI: socket://10.10.0.141 > > When I print a test page with TextEdit it comes out wrong. Are you using Page Setup first to choose the Epson printer under "Format for:" ? Have you tried any other text applications such as TextWrangler from or SubEtha Edit from ? > When I print a test page with using a cups command line util or by clicking > the "Print Test Page" on the CUPS mgr. then things are OK. I'm also thinking that TextEdit may impose some of its own margins. If you print a TextEdit text file via the command line, you may bypass any such margins that TextEdit is using. -- Matt Broughton Only relatives are absolute. From johnxj at comcast.net Thu Sep 6 18:34:10 2007 From: johnxj at comcast.net (John Jason Jordan) Date: Thu, 06 Sep 2007 18:34:10 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30441-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> <30441-cups.general@news.easysw.com> Message-ID: <30443-cups.general@news.easysw.com> On Thu, 06 Sep 2007 14:04:13 -0700 Kurt Pfeifle dijo: > John Jason Jordan wrote: > > So where do applications get the list of options for a printer? Why are > > they different from one application to the next? > > CUPS gets all options available for a printer (including PageSize, to > which one option you limit your question) from the PPD file (short for > PostScript Printer Description). > > The PPD holds all the PageSizes the target device is capable to use, > and CUPS builds its list of available values from that file. All PPDs > installed for your printers in CUPS you can find in /etc/cups/ppd/, > and their names match exactly the respective printernames. > > KPDF (as well as all other KDE applications) uses KDEPrint, which > also does also read the CUPS PPD; there should be now difference to > what CUPS does. > > OOo's most recent versions do the same. (Former versions did use > their own private PPDs, and you might have seen very big deviations > there too.) > > Scribus' most recent releases (or is it only development releases?) > also use the CUPS PPD. In addition, they may have a few "own" media > sizes defined that show up (them being a DTP app, they may need to > export to PDF and have lots of sizes pre-defined internally, while > not requiring to have a real printer around all the time -- so their > additional media sizes may pollute into the print dialog too). OK, I opened the PPD file in /etc/cps/ppd and read through it. There were several page size sections, and I didn't quite grasp why the list of page sizes appears more than once, although one section lists "PageSize" and another lists "PageRegion." However, while most of it was confusing, I did discover why Scribus uses different names for some of the page sizes. The following snip from the PageRegion section of the PPD file will make it clear: *PageRegion FanFoldGermanLegal/US Folio: " << /PageSize [612 936] >> xerox$pagedevice copy xerox$setpagedevice " *End In other words, the page sizes are listed twice for each page size. Scribus is taking the first one (e.g., "FanFoldGermanLegal," and all other applications are taking the second one (i.e., "US Folio"). Evidently FanFoldLegalGerman is the same as US Folio. > BTW, CUPS can also use "Custom" page sizes from the command line (it > just doesn't display them in the web interface); > > http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html That is very interesting. However, if I must specify a custom page size with an lp command, how do I tell it to selected Extra Thick Paper, one of the options of this printer? Perhaps a little clarification about this printer would help. I bought this printer specifically to print book covers. Book covers are printed on heavy stock, typically 256 gsm. The problem printing on this stock with a normal laser printer is not a question of how to jam the paper through the rollers - that is generally possible, as long as you don't try to duplex and the printer has a pretty straight paper path. The real problem is getting the toner fused onto the paper. Heavy paper like the kind book covers are printed on absorbs too much heat from the fuser, thus the toner doesn't melt completely. There are two ways to get around this - slow down the processing time, or increase the fuser temperature. The Phaser 7400 does it by using three different temperature settings. The user must specify which kind of stock is being printed on, and this is done in the print dialog box. I don't have any problem choosing the media type (paper thickness) when printing from the print dialog box in KPDF, OOo, Scribus, and others - Extra Thick Paper appears as an option, and it works fine. But if I use an lp command I need to specify Extra Thick Paper as well as the page size. Not only that, but there are a ton of other print options involving color saturation, halftone screening, and I could go on and on. How do I get the syntax that lp needs in order to specify these things? As for the custom paper sizes, there was some stuff in the PPD file about it, although I did not understand a word of it. I should also add that the user can create custom paper sizes on the printer's control panel. Having done so, you can set the manual tray to any of your custom paper sizes. This is all done from the printer control panel. The problem is that if I print from a print dialog box and cannot specify the custom paper size, the output is always wrong. From zifix.nochoans at gmail.com Thu Sep 6 23:40:01 2007 From: zifix.nochoans at gmail.com (Zö Ti) Date: Thu, 06 Sep 2007 23:40:01 -0700 Subject: "404 not found" from CUPS-Server Message-ID: <30444-cups.general@news.easysw.com> > Z?? Ti wrote: > > Everytime I connect to localhost:631 I get a website telling me "404 not found". > > I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). > > Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. > > ... > > Sounds like your cupsd.conf file doesn't match your installed version > of CUPS. > > If would be useful to know a) what operating system/Linux distribution > you are using, b) what version of CUPS you are using, and c) how you > installed CUPS (vendor package, compiled from sources, etc...) > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com i think that now too. After a "complete" (including the .conf) reinstallation . For other ppl with the same problem: Cups 1.12.10-r1 running on Gentoo brought the problem. I still don't see my printer in the Administration section although lsusb shows it as plugged in. What can you do about that? From jpjammet at yahoo.fr Fri Sep 7 00:09:13 2007 From: jpjammet at yahoo.fr (Jean Pierre Jammet) Date: Fri, 07 Sep 2007 00:09:13 -0700 Subject: MacOSX and epson impact fx-890 Message-ID: <30445-cups.general@news.easysw.com> > In article <30439-cups.general at news.easysw.com>, > Jean Pierre Jammet wrote: > > > Hello > > I am having some trouble printing to a networked Epson FX=890. The print > > comes out legible but though we are specifying 8.5x11 page size it's off by > > some fractions of an inch. Because we're using 3part continious forms on pin > > feeds after a page or two everything is off and the page break is misplaced. > > > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > > Location: 10.10.0.141 > > Make&Model: Epson 24-pin Series CUPS v1.2 > > Printer State: idle, accepting jobs, published. > > Device URI: socket://10.10.0.141 > > > > When I print a test page with TextEdit it comes out wrong. > > Are you using Page Setup first to choose the Epson printer under "Format > for:" ? Have you tried any other text applications such as TextWrangler > from or SubEtha Edit from > ? > > > When I print a test page with using a cups command line util or by clicking > > the "Print Test Page" on the CUPS mgr. then things are OK. > > I'm also thinking that TextEdit may impose some of its own margins. If > you print a TextEdit text file via the command line, you may bypass any > such margins that TextEdit is using. > > -- > Matt Broughton > Only relatives are absolute. Thanks Matt for your reply. TextEdit is only one of the applications that is problematic. Printing from FileMaker8 and others is also prolematic. I will try printing from BBedit or similar when I am in office again. We have another iMac that seems to print OK to this printer but all configurations are the same. Could a PPD file be the cause of the problem? How can I tell what PPD file is in use by a particular printer in the CUPS Admin listing? From k1pfeifle at gmx.net Fri Sep 7 03:00:21 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 03:00:21 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30443-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> <30441-cups.general@news.easysw.com> <30443-cups.general@news.easysw.com> Message-ID: <30446-cups.general@news.easysw.com> John Jason Jordan wrote: > OK, I opened the PPD file in /etc/cps/ppd and read through it. There > were several page size sections, and I didn't quite grasp why the list > of page sizes appears more than once, although one section lists > "PageSize" and another lists "PageRegion." However, while most of it > was confusing, I did discover why Scribus uses different names for some > of the page sizes. The following snip from the PageRegion section of > the PPD file will make it clear: > > *PageRegion FanFoldGermanLegal/US Folio: " > << > /PageSize [612 936] > >> xerox$pagedevice copy xerox$setpagedevice > " > *End > > In other words, the page sizes are listed twice for each page size. > Scribus is taking the first one (e.g., "FanFoldGermanLegal," and all > other applications are taking the second one (i.e., "US Folio"). > Evidently FanFoldLegalGerman is the same as US Folio. Ah... that's the bug I reported a few days ago (informally, in IRC) to one of their core developers. They parse the PPD UI elements in a wrong way. These elements are con- structed like this: *SomeOddOption *InternalNameForOddOptionValue/What the user should see in the GUI: "some code to execute if selected" This bug does not exhibit itself very blatantly in the case of page sizes. Because here the InternalNames are the same or very similar to "What the user should see". It is different if you have a PPD that drives a printer with, say a few different output trays: *OpenUI *OutputBin/Output Destination: PickOne [....] *OutputBin Bin4/Finisher Upper Exit: "<>setpagedevice" Scribus displays as possible "OutputBin"s the "Bin1"-"Bin5" options. This, a user cannot understand easily (only after "Trial and Error"). Instead, it should tell the user about "Output Destination"s the "Upper Side Tray", "Lower Side Tray, "Finisher Staple Exit", "Finisher Upper Exit" and "Finisher Pamphlet Maker" options. Here the meaning is very obvious. However, in the most recent version of Scribus this seems to be fixed already. >> BTW, CUPS can also use "Custom" page sizes from the command line (it >> just doesn't display them in the web interface); >> >> http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html > > That is very interesting. However, if I must specify a custom page size > with an lp command, how do I tell it to selected Extra Thick Paper, one > of the options of this printer? First investigate from the command line what the PPD offers: lpoptions -p printername -l | grep You should see something like this as the output: MediaType/Paper Type: *Plain Recycled Special Colored Letterhead \ Preprinted Prepunched Labels Bond Cardstock \ OHP Thick ExtraThick Thin None (For all lines of the "lpoptions -l" command: what is marked with an asterisk ('*') is what is the current default) Now conclude that it is probably the "Thick" keyword you need to use: lp -d printername -o MediaType=ExtraThick .... [....] > Not only that, but there are a ton of other print options > involving color saturation, halftone screening, and I could go on and > on. How do I get the syntax that lp needs in order to specify these > things? Same as above. Use the same command as above, without the "|grep ..." part to see *all* PPD options. > As for the custom paper sizes, there was some stuff in the PPD file > about it, although I did not understand a word of it. Heh... To understand it *all*, you need to grok the official PPD specification: http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf plus, a little bit of PostScript too: http://partners.adobe.com/public/developer/en/ps/PLRM.pdf http://en.wikipedia.org/wiki/PostScript > I should also add > that the user can create custom paper sizes on the printer's control > panel. Having done so, you can set the manual tray to any of your > custom paper sizes. This is all done from the printer control panel. > The problem is that if I print from a print dialog box and cannot > specify the custom paper size, the output is always wrong. The one major weakness in KDEPrint' kprinter (as of KDE 3.5.x) is that it still does not support keying-in of arbitrary values for custom paper/media sizes. (Given the fact that usually those who are in need of printing to custom page sizes regularly are only doing so with one or two different ones, you can work around this by adding the sizes to the PPD yourself; just make sure you add them to all 4 sections in the PPD: "PageSize", "PageRegion", "ImageableArea" as well "PaperDimension", and give them uniq new names). You may want to look at the "xpp" print command GUI. You can use it, just like kprinter, as a standalone app. It allows you to key in the specific custom page size you want to use. If you want to "replace" kprinter as the print command for KDE applica- tions, just switch to "Print Through an External Program" in the ori- ginal kprinter dialog, and specify "xpp" as the Print Command. As a result, xpp will pop up after kprinter, and allow you to make the real custom media size selection. For most Gnome apps, you are able to specify "xpp" as a print command too. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mohammed.hussain at microfocus.com Fri Sep 7 03:19:54 2007 From: mohammed.hussain at microfocus.com (matheeq) Date: Fri, 07 Sep 2007 03:19:54 -0700 Subject: Printer disabled error when defining printer with PPD file Message-ID: <30447-cups.general@news.easysw.com> Hi I've been trying to define and configure a HP Laser Jet 4250 network printer on AIX 5.2 system with a downloaded driver(PPD file) using CUPS. I've managed to check that samba and cups are installed and running and I define the printer with the following command: asroot /usr/sbin/lpadmin -p printername -v smb://'corpdom\userid':password at servername/printer -P ppddriverfileandpath ???E The printer gets define but when I do a getstat -p I can see that the printer gets disabled and shows the message: Filter "foomatic-rip" for printer "laser" not available: A file or direc tory in the path name does not exist I also see another error: Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: SMB t ree connect failed: NT_STATUS_ACCESS_DENIED Could anyone help me to overcome this issue? Thanks From bdunward at hotmail.com Fri Sep 7 03:31:58 2007 From: bdunward at hotmail.com (Brundan Dunward) Date: Fri, 07 Sep 2007 03:31:58 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems Message-ID: <30448-cups.general@news.easysw.com> Thank you for your response. After rooting round I found the XP version of the PPD and installed that. I was unable to find a PPD on the site and I found another post that indicated that it was usually found inside the MS bundles hence my approach. Ultimately no luck. I am not a printer/CUPS expert but I am using ldp tp the printers IP which should be a direct connection rather than through a spool on another machine. Is there something on the printer I need to modify or check that could cause this? The test page is always four sheets with all sheets being gray and the color wheel portions being represented on pages 2-4. BD > Brundan Dunward wrote: > > I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? > > > > Any help would be worth while I googled and search this site for drivers but did not find one. > > > > Suggestions? > > > > BD > > That printer should have a built-in PostScript interpreter > (level 2 at least), it even can directly print PDF if > equipped with an internal hard disk. > > I'd suggest to get the vendor supplied PPD for this printer > and not to use the foomatic based one. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org From morger at olmero.ch Fri Sep 7 06:03:35 2007 From: morger at olmero.ch (Philipp Morger) Date: Fri, 07 Sep 2007 06:03:35 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30449-cups.general@news.easysw.com> Hi Kurt thanks for the infor about modifying the ppd, So I proceeded as follows: Today I'm sitting in front of a HP4650, which is able to process PS... I took the PPD from here: http://www.linuxprinting.org/foomatic-db/db/source/PPD/HP/hp_color_LaserJet_4650.ppd and modified it as you said, as it has no "Auto" and verified it: lpoptions -p HPLJ4650HDN_PS -l | grep InputSlot InputSlot/Paper Source: *Auto Tray1 Tray2 Tray3 Tray4 created a document as outlined in a previous post by you, Page 1 on Tray 3, Page 2 on Tray 4.... crossed fingers - didn't help. So I stopped the printer in cups, to fetch the control and print file, did a "strings" over it, here is the output: ~ strings c00087 -- 8< -- attributes-charset utf-8H attributes-natural-language en-us printer-uri 'ipp://localhost/printers/HPLJ4650HDN_PSB job-originating-user-name pmorgerB job-name fooI document-format application/postscriptB PageSize InputSlot Tray3! job-priority job-uuid -urn:uuid:3082de6d-3320-3905-55be-d2e0e89ac6d3B job-originating-host-name localhost! time-at-creation time-at-processing time-at-completed job-id job-state job-media-sheets-completed job-printer-uri 3ipp://charon.olmero.net:631/printers/HPLJ4650HDN_PSB job-name foo! job-k-octets job-hold-until no-holdB job-sheets noneB none -- 8< -- ~ strings d00087-001 -- 8< -- %!PS-Adobe-3.0 %%BoundingBox: (atend) %%Creator: (OpenOffice.org 2.3) %%For: (pmorger) %%CreationDate: (Fri Sep 7 14:44:06 2007) %%Title: (foo) %%LanguageLevel: 3 %%DocumentData: Clean7Bit %%Pages: (atend) %%PageOrder: Ascend %%EndComments %%BeginProlog %%BeginResource: procset PSPrint-Prolog 1.0 0 /ISO1252Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /grave /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /unused /Euro /unused /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl /circumflex /perthousand /Scaron /guilsinglleft /OE /unused /Zcaron /unused /unused /quoteleft /quoteright /quotedblleft /quotedblright /bullet /endash /emdash /tilde /trademark /scaron /guilsinglright /oe /unused /zcaron /Ydieresis /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] def /psp_definefont { exch dup findfont dup length dict begin { 1 index /FID ne { def } { pop pop } ifelse } forall /Encoding 3 -1 roll def currentdict end exch pop definefont pop } def /pathdict dup 8 dict def load begin /rcmd { { currentfile 1 string readstring pop 0 get dup 32 gt { exit } { pop } ifelse } loop dup 126 eq { pop exit } if 65 sub dup 16#3 and 1 add exch dup 16#C and -2 bitshift 16#3 and 1 add exch 16#10 and 16#10 eq 3 1 roll exch } def /rhex { dup 1 sub exch currentfile exch string readhexstring pop dup 0 get dup 16#80 and 16#80 eq dup 3 1 roll { 16#7f and } if 2 index 0 3 -1 roll put 3 1 roll 0 0 1 5 -1 roll { 2 index exch get add 256 mul } for 256 div exch pop exch { neg } if } def /xcmd { rcmd exch rhex exch rhex exch 5 -1 roll add exch 4 -1 roll add 1 index 1 index 5 -1 roll { moveto } { lineto } ifelse } def end /readpath { 0 0 pathdict begin { xcmd } loop end pop pop } def systemdict /languagelevel known not { /xshow { exch dup length 0 1 3 -1 roll 1 sub { dup 3 index exch get exch 2 index exch get 1 string dup 0 4 -1 roll put currentpoint 3 -1 roll show moveto 0 rmoveto } for pop pop } def /rectangle { 4 -2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath } def /rectfill { rectangle fill } def /rectstroke { rectangle stroke } def } if /bshow { currentlinewidth 3 1 roll currentpoint 3 index show moveto setlinewidth false charpath stroke setlinewidth } def /bxshow { currentlinewidth 4 1 roll setlinewidth exch dup length 1 sub 0 1 3 -1 roll { 1 string 2 index 2 index get 1 index exch 0 exch put dup currentpoint 3 -1 roll show moveto currentpoint 3 -1 roll false charpath stroke moveto 2 index exch get 0 rmoveto } for pop pop setlinewidth } def /psp_lzwfilter { currentfile /ASCII85Decode filter /LZWDecode filter } def /psp_ascii85filter { currentfile /ASCII85Decode filter } def /psp_lzwstring { psp_lzwfilter 1024 string readstring } def /psp_ascii85string { psp_ascii85filter 1024 string readstring } def /psp_imagedict { /psp_bitspercomponent { 3 eq { 1 }{ 8 } ifelse } def /psp_decodearray { [ [0 1 0 1 0 1] [0 255] [0 1] [0 255] ] exch get } def 7 dict dup /ImageType 1 put dup /Width 7 -1 roll put dup /Height 5 index put dup /BitsPerComponent 4 index psp_bitspercomponent put dup /Decode 5 -1 roll psp_decodearray put dup /ImageMatrix [1 0 0 1 0 0] dup 5 8 -1 roll put put dup /DataSource 4 -1 roll 1 eq { psp_lzwfilter } { psp_ascii85filter } ifelse put } def %%EndResource %%EndProlog %%BeginSetup %%BeginResource: font BitstreamVeraSans-RomanFID19HGSet1 %!PS-TrueTypeFont-1.0-2.0 %%Creator: SunTypeTools-TT 1.0 gelf %- Font subset generated from a source font file: '/var/lib/defoma/fontconfig.d/B/Bitstream-Vera-Sans.ttf' %- Original font name: BitstreamVeraSans-Roman %- Original font family: Bitstream Vera Sans %- Original font sub-family: Roman 11 dict begin /FontName (BitstreamVeraSans-RomanFID19HGSet1) cvn def /PaintType 0 def /FontMatrix [1 0 0 1 0 0] def /FontBBox [-183 -235 1287 928] def /FontType 42 def /Encoding 256 array def 0 1 255 {Encoding exch /.notdef put} for Encoding 49 /glyph1 put Encoding 50 /glyph2 put Encoding 84 /glyph3 put /XUID [103 0 1 16#35D39B97 4 16#0AA5987D 16#859B9127] def /sfnts [< 747275650009008000030010637674203A17D2C20000009C000001FC6670676D CDF5B6DC000002980000008B676C7966443E7B49000003240000023468656164 3D39D01C00000558000000366868656122FE6E070000059000000024686D7478 D800DE12000005B4000000106C6F636104007901000005C40000000A6D617870 C8053604000005D0000000207072657066F004D9000005F000000568013500B8 00CB00CB00C100AA009C01A600B800660000007100CB00A002B20085007500B8 00C301CB0189022D00CB00A600F000D300AA008700CB03AA0400014A003300CB 000000D9050200F4015400B4009C01390114013907060400044E04B4045204B8 04E704CD0037047304CD04600473013303A2055605A60556053903C5021200C9 001F00B801DF007300BA03E9033303BC0444040E00DF03CD03AA00E503AA0404 000000CB008F00A4007B00B80014016F007F027B0252008F00C705CD009A009A 006F00CB00CD019E01D300F000BA018300D5009803040248009E01D500C100CB 00F600830354027F00000333026600D300C700A400CD008F009A0073040005D5 010A00FE022B00A400B4009C00000062009C0000001D032D05D505D505D505F0 007F007B005400A406B80614072301D300B800CB00A601C301EC069300A000D3 035C037103DB0185042304A80448008F0139011401390360008F05D5019A0614 072306660179046004600460047B009C00000277046001AA00E904600762007B 00C5007F027B000000B4025205CD006600BC00660077061000CD013B01850389 008F007B0000001D00CD074A042F009C009C0000077D006F0000006F0335006A 006F007B00AE00B2002D0396008F027B00F600830354063705F6008F009C04E1 0266008F018D02F600CD03440029006604EE007300001400B606050403020100 2C2010B002254964B040515820C859212D2CB002254964B040515820C859212D 2C20100720B00050B00D7920B8FFFF5058041B0559B0051CB0032508B0042523 E120B00050B00D7920B8FFFF5058041B0559B0051CB0032508E12D2C4B505820 B0FD454459212D2CB002254560442D2C4B5358B00225B0022545445921212D2C 45442D0000020066FE96046605A400030007001A400C04FB0006FB0108057F02 04002FC4D4EC310010D4ECD4EC301311211125211121660400FC73031BFCE5FE 96070EF8F2720629000100E10000045A05D5000A004B40154203A00402A00581 0700A009081F061C03001F010B10D4ECC4FCEC31002FEC32F4ECD4EC304B5358 5922014BB00F5458BD000BFFC00001000B000B00403811373859B40F030F0402 5D3721110535253311211521FE014AFE990165CA014AFCA4AA047348B848FAD5 AA00000100960000044A05F0001C00A54027191A1B03181C1105040011050504 4210A111940DA014910400A00200100A02010A1C171003061D10FCC4D4ECC0C0 11123931002FEC32F4ECF4EC304B5358071005ED0705ED1117395922014BB015 544BB016545B4BB014545B58BD001D00400001001D001DFFC038113738594032 5504560556077A047A05761B87190704000419041A041B051C74007606751A73 1B741C82008619821A821B821CA800A81B115D005D25211521353600373E0135 342623220607353E01333204151406070600018902C1FC4C73018D33614DA786 5FD3787AD458E80114455B19FEF4AAAAAA7701913A6D974977964243CC3132E8 C25CA5701DFEEB000001FFFA000004E905D50007004A400E0602950081040140 031C0040050810D4E4FCE431002FF4EC3230014BB00A5458BD00080040000100 080008FFC03811373859401300091F00100110021F071009400970099F09095D 03211521112311210604EFFDEECBFDEE05D5AAFAD5052B000001000000020000 61EE10E75F0F3CF5001F080000000000BAB9F0B80000000000000000FFFAFE96 04E905F000000008000100000000000000010000076DFE1D0000000000000000 000000010000000000000000000000000000000404CD0066051700E105170096 04E3FFFA00000022005F00E2011A0000000100000004001D0002000000000002 00100040000700000415056800030001B8028040FFFBFE03FA1403F92503F832 03F79603F60E03F5FE03F4FE03F32503F20E03F19603F02503EF8A4105EFFE03 EE9603ED9603ECFA03EBFA03EAFE03E93A03E84203E7FE03E63203E5E45305E5 9603E48A4105E45303E3E22F05E3FA03E22F03E1FE03E0FE03DF3203DE1403DD 9603DCFE03DB1203DA7D03D9BB03D8FE03D68A4105D67D03D5D44705D57D03D4 4703D3D21B05D3FE03D21B03D1FE03D0FE03CFFE03CEFE03CD9603CCCB1E05CC FE03CB1E03CA3203C9FE03C6851105C61C03C51603C4FE03C3FE03C2FE03C1FE 03C0FE03BFFE03BEFE03BDFE03BCFE03BBFE03BA1103B9862505B9FE03B8B7BB 05B8FE03B7B65D05B7BB03B78004B6B52505B65D40FF03B64004B52503B4FE03 B39603B2FE03B1FE03B0FE03AFFE03AE6403AD0E03ACAB2505AC6403ABAA1205 AB2503AA1203A98A4105A9FA03A8FE03A7FE03A6FE03A51203A4FE03A3A20E05 A33203A20E03A16403A08A4105A096039FFE039E9D0C059EFE039D0C039C9B19 059C64039B9A10059B19039A1003990A0398FE0397960D0597FE03960D03958A 410595960394930E05942803930E0392FA039190BB0591FE03908F5D0590BB03 9080048F8E25058F5D038F40048E25038DFE038C8B2E058CFE038B2E038A8625 058A410389880B05891403880B03878625058764038685110586250385110384 FE038382110583FE0382110381FE0380FE037FFE0340FF7E7D7D057EFE037D7D 037C64037B5415057B25037AFE0379FE03780E03770C03760A0375FE0374FA03 73FA0372FA0371FA0370FE036FFE036EFE036C21036BFE036A1142056A530369 FE03687D036711420566FE0365FE0364FE0363FE0362FE03613A0360FA035E0C 035DFE035BFE035AFE0359580A0559FA03580A035716190557320356FE035554 150555420354150353011005531803521403514A130551FE03500B034FFE034E 4D10054EFE034D10034CFE034B4A13054BFE034A4910054A1303491D0D054910 03480D0347FE0346960345960344FE0343022D0543FA0342BB03414B0340FE03 3FFE033E3D12053E14033D3C0F053D12033C3B0D053C40FF0F033B0D033AFE03 39FE033837140538FA033736100537140336350B05361003350B03341E03330D 0332310B0532FE03310B03302F0B05300D032F0B032E2D09052E10032D09032C 32032B2A25052B64032A2912052A25032912032827250528410327250326250B 05260F03250B0324FE0323FE03220F03210110052112032064031FFA031E1D0D 051E64031D0D031C1142051CFE031BFA031A42031911420519FE031864031716 190517FE031601100516190315FE0314FE0313FE031211420512FE0311022D05 114203107D030F64030EFE030D0C16050DFE030C0110050C16030BFE030A1003 09FE0308022D0508FE030714030664030401100504FE03401503022D0503FE03 02011005022D0301100300FE0301B80164858D012B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B002B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B1D00 ] def /CharStrings 4 dict dup begin /.notdef 0 def /glyph1 1 def /glyph2 2 def /glyph3 3 def end readonly def FontName currentdict end definefont pop %%EndResource %%DocumentSuppliedResources: font BitstreamVeraSans-RomanFID19HGSet1 %%IncludeFeature: *PageSize A4 } stopped cleartomark %%IncludeFeature: *InputSlot Tray3 } stopped cleartomark %%EndSetup %%Page: 1 1 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%EndPageSetup gsave [0.12 0 0 -0.12 12 830] concat gsave 373 465 moveto 0 0 0 setrgbcolor (BitstreamVeraSans-RomanFID19HGSet1) cvn findfont 100 -100 matrix scale makefont setfont <5431> [60 0] xshow grestore grestore showpage %%PageTrailer %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%IncludeFeature: *InputSlot Tray4 } stopped cleartomark %%EndPageSetup gsave [0.12 0 0 -0.12 12 830] concat gsave 373 465 moveto 0 0 0 setrgbcolor (BitstreamVeraSans-RomanFID19HGSet1) cvn findfont 100 -100 matrix scale makefont setfont <5432> [60 0] xshow grestore grestore showpage %%PageTrailer %%Trailer %%BoundingBox: 0 0 595 842 %%Pages: 2 %%EOF -- 8< -- As far as I'm able to read PS, I can see that the actual PS file contains the tray switching instructions, the only thing that worries me is the control file, which says something about Tray3 and nothing about "Auto" or "and Tray4" I'm now about fideling with the RAW queue.... thanks and regards Philipp From mike at easysw.com Fri Sep 7 07:35:46 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 07:35:46 -0700 Subject: "404 not found" from CUPS-Server In-Reply-To: <30444-cups.general@news.easysw.com> References: <30444-cups.general@news.easysw.com> Message-ID: <30450-cups.general@news.easysw.com> Z? Ti wrote: > ... > I still don't see my printer in the Administration section although lsusb shows it as plugged in. > What can you do about that? Nothing, but perhaps you can file a bug with the Gentoo folks. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From mike at easysw.com Fri Sep 7 07:41:30 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 07:41:30 -0700 Subject: Printer disabled error when defining printer with PPD file In-Reply-To: <30447-cups.general@news.easysw.com> References: <30447-cups.general@news.easysw.com> Message-ID: <30451-cups.general@news.easysw.com> matheeq wrote: > Hi > > I've been trying to define and configure a HP Laser Jet 4250 network printer on AIX 5.2 system with a downloaded driver(PPD file) using CUPS. > > I've managed to check that samba and cups are installed and running and > I define the printer with the following command: > asroot /usr/sbin/lpadmin -p printername -v smb://'corpdom\userid':password at servername/printer -P ppddriverfileandpath ?E > > The printer gets define but when I do a getstat -p I can see that the printer gets disabled and shows the message: > > Filter "foomatic-rip" for printer "laser" not available: A file or direc > tory in the path name does not exist > > I also see another error: > Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: SMB t > ree connect failed: NT_STATUS_ACCESS_DENIED > > Could anyone help me to overcome this issue? Get the vendor-supplied PPD file and not the Foomatic PPD file (which requires its own filter...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From k1pfeifle at gmx.net Fri Sep 7 08:41:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 08:41:25 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30449-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> Message-ID: <30452-cups.general@news.easysw.com> Philipp Morger wrote: > created a document as outlined in a previous post by you, Page 1 on > Tray 3, Page 2 on Tray 4.... crossed fingers - didn't help. You did use the very same PPD/printer in OOo as the one you would then send the job to, yes? (this is crucial, as the PostScript code inserted by OOo for tray selection is model and vendor specific). > So I stopped the printer in cups, to fetch the control and print file, The print file you get from /var/spool/cups/d00NNN-001 is *always* the original file as received by CUPS. > did a "strings" over it, here is the output: "strings" is not the best method to get a complete picture about the content of the CUPS control file (though in your case, it seemed "good enough" to find the info you was looking for). Here are two better methods: (a) Start "kjobviewer". Select the printer (or "all printers"). Click on the clock button to "Toggle view for completed jobs". Select the Job ID. Right-click and select "Job IPP Report" from the context menu. Voila!, you get the complete contents of the control file in a human readable form. (b) Use the "testipp" utility and run this command: testipp /var/spool/cups/c00NNN You'll see the same info as in kjobviewer, but formatted for termi- nal output. If testipp is not shipped by your Linux vendor inside the .rpm or .deb package, you'll have to build it yourself by com- piling CUPS from the official sources. > %%BeginSetup [....] > %%IncludeFeature: *PageSize A4 > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > } stopped cleartomark > %%EndSetup [....] > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > } stopped cleartomark > %%EndPageSetup [....] > As far as I'm able to read PS, I can see that the actual PS file > contains the tray switching instructions, Yes. > the only thing that worries > me is the control file, which says something about Tray3 and nothing > about "Auto" or "and Tray4" The control file will never know what specific options OOo inserted into the PS. The control file will only ever know those job options that were specified on the commandline (and all options which it read from such files as $HOME/.cups/lpoptions or /etc/cups/lpoptions are equivalent to commandline options). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:03:32 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:03:32 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30452-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> Message-ID: <30453-cups.general@news.easysw.com> Kurt Pfeifle wrote: >> %%BeginSetup > [....] >> %%IncludeFeature: *PageSize A4 >> } stopped cleartomark >> %%IncludeFeature: *InputSlot Tray3 >> } stopped cleartomark >> %%EndSetup > > [....] > >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> %%IncludeFeature: *InputSlot Tray4 >> } stopped cleartomark >> %%EndPageSetup > > [....] > >> As far as I'm able to read PS, I can see that the actual PS file >> contains the tray switching instructions, > > Yes. Uhmmm.... actually, no. It does *not* contain valid code to switch the trays, AFAICS. It pretends to, but it doesn't work like that. It contains "empty" code only. It should look similar to this: %%BeginSetup [....] %%IncludeFeature: *PageRegion A4 << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice } stopped cleartomark %%IncludeFeature: *InputSlot Tray3 << /MediaPosition 3 >> setpagedevice } stopped cleartomark %%EndSetup [....] %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%IncludeFeature: *InputSlot Tray4 << /MediaPosition 4 >> setpagedevice } stopped cleartomark %%EndPageSetup But before you go and submit a bug report, wait if Mike and/or Helge chime in to comment (they are the resident PostScript gurus here :-) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:42:00 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:42:00 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30453-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> Message-ID: <30454-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>> %%BeginSetup >> [....] >>> %%IncludeFeature: *PageSize A4 >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> } stopped cleartomark >>> %%EndSetup >> [....] >> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> } stopped cleartomark >>> %%EndPageSetup >> [....] >> >>> As far as I'm able to read PS, I can see that the actual PS file >>> contains the tray switching instructions, >> Yes. > > Uhmmm.... actually, no. It does *not* contain valid code to switch > the trays, AFAICS. It pretends to, but it doesn't work like that. > > It contains "empty" code only. It should look similar to this: > > %%BeginSetup > [....] > %%IncludeFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > } stopped cleartomark > %%EndPageSetup > > > But before you go and submit a bug report, wait if Mike and/or Helge > chime in to comment (they are the resident PostScript gurus here :-) Here is another tip that may help you debug your case (and some other ones you may encounter in your future admin career :-) ): (1) go visit http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities and fetch one or both of the CUPS backend scripts "2file" and "2dir". (2) install a virtual printer using your PPD and one of the backend scripts so you can "print to file" with them. (3) in cupsd.conf, insert "PreserveJobFiles" and restart cupsd. (3) print to the new printer. Now you'll have 2 files on disk: (a) the file as was handed to CUPS by OOo in /var/spool/cups/d000NN (b) the file as it was changed by the CUPS filtering chain, according to your overall print settings. Now you can look at the differences of the two files, using sdiff -sbB file1 file2 You'll probably notice that CUPS does insert non-empty PostScript code to address the tray selection, while OOo does a fake job on it. If that is confirmed, submit a bug report with the OOo folks. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:44:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:44:08 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30449-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> Message-ID: <30455-cups.general@news.easysw.com> Philipp Morger wrote: > As far as I'm able to read PS, I can see that the actual PS file > contains the tray switching instructions, the only thing that worries > me is the control file, which says something about Tray3 and nothing > about "Auto" or "and Tray4" > > I'm now about fideling with the RAW queue.... I forgot one tip, that may help you with your troubleshooting... As I said in my first reply: >> >> The print file you get from /var/spool/cups/d00NNN-001 is *always* >> the original file as received by CUPS. >> What you are interested in is how the file looks like *after* it has passed the CUPS filtering chain (here: just the "pstops" filter). See my other post on how to get hold of this file. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From bobbyyu1 at yahoo.ca Fri Sep 7 10:14:25 2007 From: bobbyyu1 at yahoo.ca (Robert Yu) Date: Fri, 07 Sep 2007 10:14:25 -0700 Subject: Lexmark Z600 not printing document Message-ID: <30456-cups.general@news.easysw.com> I have two computers: one with Windows XP Pro and the other with Ubuntu. The Windows XP Pro machine is connected to a Lexmark Z600 Printer. My Ubuntu computer is connected to the Windows XP Pro Computer. I downloaded the Z600 driver for Ubuntu and installed it. Originally it was for Redhat but there was a workaround to convert the RPM format to a format that can be used in Ubuntu. What should have worked after installing the driver didn't work the last time I formatted the computer. When I tried to print it, it says: paused: job-hold-until-specified. And it doesn't print. I followed the instructions by the letter and now I don't know what happened. Any pointing to the right direction will be needed and appreciated From k1pfeifle at gmx.net Fri Sep 7 10:37:36 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 10:37:36 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30453-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> Message-ID: <30457-cups.general@news.easysw.com> I was too quick, and therefor wrong. Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>> %%BeginSetup >> [....] >>> %%IncludeFeature: *PageSize A4 >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> } stopped cleartomark >>> %%EndSetup >> [....] >> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> } stopped cleartomark >>> %%EndPageSetup >> [....] >> >>> As far as I'm able to read PS, I can see that the actual PS file >>> contains the tray switching instructions, >> Yes. > > Uhmmm.... actually, no. It does *not* contain valid code to switch > the trays, AFAICS. It pretends to, but it doesn't work like that. > > It contains "empty" code only. It should look similar to this: > > %%BeginSetup > [....] > %%IncludeFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > } stopped cleartomark > %%EndPageSetup This example should have been (with "BeginFeature" instead of "IncludeFeature"): %%BeginSetup [....] [{ %%BeginFeature: *PageRegion A4 << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice %%EndFeature } stopped cleartomark [{ %%BeginFeature: *InputSlot Tray3 << /MediaPosition 3 >> setpagedevice %%EndFeature } stopped cleartomark %%EndSetup [....] %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup [{ %%BeginFeature: *InputSlot Tray4 << /MediaPosition 4 >> setpagedevice %%EndFeature } stopped cleartomark %%EndPageSetup In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment and not the '%%Begin(End)Feature:' one. As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- cluded features *were* listed in the %%Prolog section of the PS file. But they aren't. Therefor, nothing is 'included'. There are 3 ways it could work: (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid definitions of all the device features including the PS/device code to be inserted. Then, in the "%%BeginPageSetup: ... %%EndPageSetup" sections it is enough to use a 1-line "%%InsertFeature: *InputSlot TrayXYZ" (where the string "*InputSlot TrayXYZ" must match the previous definition). (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the document, and expect the "document manager" to handle it by looking up the PPD and insert the correct PS snippet into the file. This is how OOo expects it ... however, CUPS is not a document manager that does do this. (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature } stopped cleartomark" subsection. (c) is the most robust, IMHO, because it would make OOo printfiles w work as expected on the target printer, even in the absence of a "document manager". It is up to Mike to comment on his plans for CUPS to support the '%%InsertFeature:' statements of PostScript files. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 11:12:15 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 11:12:15 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) In-Reply-To: <30457-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> Message-ID: <30458-cups.general@news.easysw.com> Kurt Pfeifle wrote: > I was too quick, and therefor wrong. > > Kurt Pfeifle wrote: >> Kurt Pfeifle wrote: >> >>>> %%BeginSetup >>> [....] >>>> %%IncludeFeature: *PageSize A4 >>>> } stopped cleartomark >>>> %%IncludeFeature: *InputSlot Tray3 >>>> } stopped cleartomark >>>> %%EndSetup >>> [....] >>> >>>> %%Page: 2 2 >>>> %%PageBoundingBox: 12 12 583 830 >>>> %%BeginPageSetup >>>> %%IncludeFeature: *InputSlot Tray4 >>>> } stopped cleartomark >>>> %%EndPageSetup >>> [....] >>> >>>> As far as I'm able to read PS, I can see that the actual PS file >>>> contains the tray switching instructions, >>> Yes. >> Uhmmm.... actually, no. It does *not* contain valid code to switch >> the trays, AFAICS. It pretends to, but it doesn't work like that. >> >> It contains "empty" code only. It should look similar to this: >> >> %%BeginSetup >> [....] >> %%IncludeFeature: *PageRegion A4 >> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >> } stopped cleartomark >> %%IncludeFeature: *InputSlot Tray3 >> << /MediaPosition 3 >> setpagedevice >> } stopped cleartomark >> %%EndSetup >> >> [....] >> >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> %%IncludeFeature: *InputSlot Tray4 >> << /MediaPosition 4 >> setpagedevice >> } stopped cleartomark >> %%EndPageSetup > > > This example should have been (with "BeginFeature" instead of > "IncludeFeature"): > > %%BeginSetup > [....] > [{ > %%BeginFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > %%EndFeature > } stopped cleartomark > [{ > %%BeginFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > %%EndFeature > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > [{ > %%BeginFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > %%EndFeature > } stopped cleartomark > %%EndPageSetup > > > In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment > and not the '%%Begin(End)Feature:' one. > > As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- > cluded features *were* listed in the %%Prolog section of the PS file. > But they aren't. Therefor, nothing is 'included'. > > There are 3 ways it could work: > > (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid > definitions of all the device features including the PS/device > code to be inserted. Then, in the "%%BeginPageSetup: ... > %%EndPageSetup" sections it is enough to use a 1-line > "%%InsertFeature: *InputSlot TrayXYZ" (where the string > "*InputSlot TrayXYZ" must match the previous definition). > > (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the > document, and expect the "document manager" to handle it by > looking up the PPD and insert the correct PS snippet into > the file. This is how OOo expects it ... however, CUPS is not > a document manager that does do this. > > (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section > use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature > } stopped cleartomark" subsection. > > > (c) is the most robust, IMHO, because it would make OOo printfiles w > work as expected on the target printer, even in the absence of a > "document manager". > > It is up to Mike to comment on his plans for CUPS to support the > '%%InsertFeature:' statements of PostScript files. > I had a chance to look a little closer now, using a real life OOo 2.2 on Linux and see what its PostScript output is. OOo indeed does emit this type of code for each page, when the tray selection feature is enabled in the respective page style: %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup % [{ %%IncludeFeature: *InputSlot 2Tray } stopped cleartomark %%EndPageSetup I'm not sure if using '%%IncludeFeature:' is "legal" DSC if the feature is for "InputSlot". The DSC spec from Adobe says (paraphrasing): "if the %%IncludeFeature: comment is used, there must be an additional %%DocumentMedia: or a %%Requirements: comment in the header of the document." However, OOo does not write either additional comment into the header of the document. ===================================================================== Question to our resident PostScript gurus: is this an OOo bug? ===================================================================== -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Fri Sep 7 12:10:38 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 07 Sep 2007 12:10:38 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? In-Reply-To: <30458-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> <30458-cups.general@news.easysw.com> Message-ID: <30459-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>I was too quick, and therefor wrong. >> >>Kurt Pfeifle wrote: >> >>>Kurt Pfeifle wrote: >>> >>> >>>>>%%BeginSetup >>>> >>>>[....] >>>> >>>>>%%IncludeFeature: *PageSize A4 >>>>>} stopped cleartomark >>>>>%%IncludeFeature: *InputSlot Tray3 >>>>>} stopped cleartomark >>>>>%%EndSetup >>>> >>>>[....] >>>> >>>> >>>>>%%Page: 2 2 >>>>>%%PageBoundingBox: 12 12 583 830 >>>>>%%BeginPageSetup >>>>>%%IncludeFeature: *InputSlot Tray4 >>>>>} stopped cleartomark >>>>>%%EndPageSetup >>>> >>>>[....] >>>> >>>> >>>>>As far as I'm able to read PS, I can see that the actual PS file >>>>>contains the tray switching instructions, >>>> >>>>Yes. >>> >>>Uhmmm.... actually, no. It does *not* contain valid code to switch >>>the trays, AFAICS. It pretends to, but it doesn't work like that. >>> >>>It contains "empty" code only. It should look similar to this: >>> >>> %%BeginSetup >>> [....] >>> %%IncludeFeature: *PageRegion A4 >>> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> << /MediaPosition 3 >> setpagedevice >>> } stopped cleartomark >>> %%EndSetup >>> >>> [....] >>> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> << /MediaPosition 4 >> setpagedevice >>> } stopped cleartomark >>> %%EndPageSetup >> >> >>This example should have been (with "BeginFeature" instead of >>"IncludeFeature"): >> >> %%BeginSetup >> [....] >> [{ >> %%BeginFeature: *PageRegion A4 >> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> [{ >> %%BeginFeature: *InputSlot Tray3 >> << /MediaPosition 3 >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> %%EndSetup >> >> [....] >> >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> [{ >> %%BeginFeature: *InputSlot Tray4 >> << /MediaPosition 4 >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> %%EndPageSetup >> >> >>In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment >>and not the '%%Begin(End)Feature:' one. >> >>As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- >>cluded features *were* listed in the %%Prolog section of the PS file. >>But they aren't. Therefor, nothing is 'included'. >> >>There are 3 ways it could work: >> >> (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid >> definitions of all the device features including the PS/device >> code to be inserted. Then, in the "%%BeginPageSetup: ... >> %%EndPageSetup" sections it is enough to use a 1-line >> "%%InsertFeature: *InputSlot TrayXYZ" (where the string >> "*InputSlot TrayXYZ" must match the previous definition). >> >> (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the >> document, and expect the "document manager" to handle it by >> looking up the PPD and insert the correct PS snippet into >> the file. This is how OOo expects it ... however, CUPS is not >> a document manager that does do this. >> >> (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section >> use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature >> } stopped cleartomark" subsection. >> >> >>(c) is the most robust, IMHO, because it would make OOo printfiles w >>work as expected on the target printer, even in the absence of a >>"document manager". >> >>It is up to Mike to comment on his plans for CUPS to support the >>'%%InsertFeature:' statements of PostScript files. >> > > > > I had a chance to look a little closer now, using a real life OOo 2.2 > on Linux and see what its PostScript output is. > > OOo indeed does emit this type of code for each page, when the tray > selection feature is enabled in the respective page style: > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > % > [{ > %%IncludeFeature: *InputSlot 2Tray > } stopped cleartomark > %%EndPageSetup > > I'm not sure if using '%%IncludeFeature:' is "legal" DSC if the feature > is for "InputSlot". > > The DSC spec from Adobe says (paraphrasing): > > "if the %%IncludeFeature: comment is used, there must be an > additional %%DocumentMedia: or a %%Requirements: comment in > the header of the document." > > However, OOo does not write either additional comment into the > header of the document. > > ===================================================================== > Question to our resident PostScript gurus: is this an OOo bug? > ===================================================================== > > Yes, it certainly is. The OOo folks should put the slot selection at the end of the global setup section (or repeat it in the page setup for *every* page. But, as the setpagedevice operator has a lot of side effects like executing an initgraphics etc., in this case any pagecounting by BeginPage and/or AndPage procedures and related stuff would not work). Look at the links on the CUPS web site, there is a filter named oopstops which sanitizes the PS output of OOo 2.x (and presumably 1.x, but I haven't tested that) suitable for CUPS' pstops filter. Helge -- Helge Blischke Softwareentwicklung SRZ Berlin | Firmengruppe besscom H.Blischke at acm.org From till.kamppeter at gmail.com Fri Sep 7 13:28:50 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Fri, 07 Sep 2007 13:28:50 -0700 Subject: [cups.general] [QUESTION] Is this an OOo bug when creating PostScript printfiles? In-Reply-To: <30459-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> <30458-cups.general@news.easysw.com> <30459-cups.general@news.easysw.com> Message-ID: <30460-cups.general@news.easysw.com> Helge Blischke wrote: > > Yes, it certainly is. The OOo folks should put the slot selection > at the end of the global setup section (or repeat it in the page setup > for *every* page. But, as the setpagedevice operator has a lot of > side effects like executing an initgraphics etc., in this case any > pagecounting by BeginPage and/or AndPage procedures and related > stuff would not work). > > Look at the links on the CUPS web site, there is a filter named oopstops > which sanitizes the PS output of OOo 2.x (and presumably 1.x, but > I haven't tested that) suitable for CUPS' pstops filter. > This filter I have made standard in Ubuntu, from Gutsy/7.10 on. Till From 999alfred at comcast.net Fri Sep 7 13:50:39 2007 From: 999alfred at comcast.net (tj) Date: Fri, 07 Sep 2007 13:50:39 -0700 Subject: Brother HL-1440 printing to high ppd has no effect Message-ID: <30461-cups.general@news.easysw.com> I have been fighting this war for a while and I really need to get it fixed now. I have a Brother HL-140 laser and it is printing to high up the page and the upper printing gets cut off. If printing to a form, all printing is to high for the form. The problem seems to be that the upper .17" non-printable area of the printer is not being taken into account. In looking at the .ppd file, my printer is called 1440 and the file is /etc/cups/ppd/1440.ppd, the ppd tag ImagableArea was: *ImageableArea Letter/Letter: "18 12 594 780" which did not seem right, so I recalculated and changed it to *ImageableArea Letter/Letter: "18 12 576 767" But, it had NO effect, the printing do not move on the page at all. So, I got even more drastic and changed it to: *ImageableArea Letter/Letter: "18 12 576 700" Which should move the printing down a full inch, but it again had no effect. Everything still printed in the exact same place on the page. Shouldn't changing this casue SOMETHING to happen? I am using Glables on #5371 buisness card stock, but when printing web pages from Firefox the page header is partially cut off also. With the start of printing starting .17" down. tj From walterwego at macosx.com.invalid Fri Sep 7 17:48:18 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Fri, 07 Sep 2007 17:48:18 -0700 Subject: MacOSX and epson impact fx-890 References: <30445-cups.general@news.easysw.com> Message-ID: <30462-cups.general@news.easysw.com> In article <30445-cups.general at news.easysw.com>, Jean Pierre Jammet wrote: > > In article <30439-cups.general at news.easysw.com>, > > Jean Pierre Jammet wrote: > > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > > > Location: 10.10.0.141 > > > Make&Model: Epson 24-pin Series CUPS v1.2 > > > Printer State: idle, accepting jobs, published. > > > Device URI: socket://10.10.0.141 > > > > TextEdit is only one of the applications that is problematic. Printing from > FileMaker8 and others is also prolematic. I will try printing from BBedit or > similar when I am in office again. I would also suggest trying to printing a text file from the command line vs TextEdit or some other application. It will run through a different set of filters. All print jobs from the print window in OS X applications are sent as PDFs. When you print from the command line, it will type the file as 'text' and it will use a different set of filters. The test page from the CUPS web interface sends a PostScript file to be printed. It is not changed to PDF first. Again, a different set of filters. > We have another iMac that seems to print > OK to this printer but all configurations are the same. Could a PPD file be > the cause of the problem? PPDs are normally reflective of the driver's capabilities rather than creating capabilities. > How can I tell what PPD file is in use by a > particular printer in the CUPS Admin listing? As you are using v1.2.x of CUPS, your web interface is a bit different than what is supplied by Apple. Based on your first post, the PPD is listed under Make&Model. It tells you that you are using the Epson 24-pin Series PPD supplied with the CUPS installation. The model PPD would be at /usr/share/cups/model/epson24.ppd (or something very close to that). FWIW, I think just about every post I have seen that combine a pin printer and OS X says that the output is off. Matt -- Matt Broughton Only relatives are absolute. From mike at easysw.com Fri Sep 7 20:52:15 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 20:52:15 -0700 Subject: MacOSX and epson impact fx-890 In-Reply-To: <30462-cups.general@news.easysw.com> References: <30445-cups.general@news.easysw.com> <30462-cups.general@news.easysw.com> Message-ID: <30463-cups.general@news.easysw.com> Matt Broughton wrote: > ... > The test page from the CUPS web interface sends a PostScript file to be > printed. It is not changed to PDF first. Again, a different set of > filters. Actually, that's not true on Mac OS X - PostScript normally gets converted to PDF, which then is rasterized by cgpdftoraster. > ... > FWIW, I think just about every post I have seen that combine a pin > printer and OS X says that the output is off. We've not had any bug reports on the CUPS site or that I've seen on Apple's bug reporting page, either... (I do have 9-pin and 24-pin impact printers in my office...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From h.blischke at srz.de Sat Sep 8 08:10:48 2007 From: h.blischke at srz.de (Helge Blischke) Date: Sat, 08 Sep 2007 08:10:48 -0700 Subject: running OOo 2.2 as a CUPS filter Message-ID: <30464-cups.general@news.easysw.com> In order to automate bulk printing of office documents I managed to run OOo 2.2 (via a small wrapper written in Perl) as a filter in CUPS. OOo is called from within the wrapper as soffice -headless -display :n name_of_document It may occur that the ordinary X display does not work under lp as user due to authentification problems. In that case it works with connecting to a display provided by the Xvfb fake server. Now to the problem: Though it usually requires some initial hacks to get OOo properly initialized for user lp, it works with most Linux distributions, but *not* on a SUSe 8.2 system (there are several conditions which prohibit an update in the short run). Perhaps someone aquainted to the SUSe peculiarities can lead me to the right direction? Helge From j.boguslawski at post.pl Sat Sep 8 10:28:09 2007 From: j.boguslawski at post.pl (Jakub) Date: Sat, 08 Sep 2007 10:28:09 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30465-cups.general@news.easysw.com> Hello I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 printer. I have add this printer to local Cups server as remote ipp queue. Printer driver was installed from PPD file. Cups works great I am printing booklets with correctly filtered options. I have one problem. Cups stores job names correctly, but these names are lost when they are stored on printer. Every job which is coming from cups appears on remote queue as "Unknown". I haven't got this problem when I am printing from windows, unfortunately :( What am I doing wrong? Is it a Cups bug or it possible to add some conf options to forward job names correctly. Best regards, thanks Jakub From k1pfeifle at gmx.net Sat Sep 8 11:18:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sat, 08 Sep 2007 11:18:08 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30465-cups.general@news.easysw.com> References: <30465-cups.general@news.easysw.com> Message-ID: <30466-cups.general@news.easysw.com> Jakub wrote: > I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > printer. Nice little thing, that :-) > I have add this printer to local Cups server as remote ipp > queue. Printer driver was installed from PPD file. Cups works great I > am printing booklets with correctly filtered options. I have one > problem. Cups stores job names correctly, but these names are lost > when they are stored on printer. Every job which is coming from cups > appears on remote queue as "Unknown". I haven't got this problem when > I am printing from windows, unfortunately :( What am I doing wrong? > Is it a Cups bug or it possible to add some conf options to forward > job names correctly. What happens if you print from the commandline using the "-t", resp. the "-T" parameter? lp -d ineo -t "This is the job title" /path/to/file lpr -P ineo -T "This is the job title" /path/to/file -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From j.boguslawski at post.pl Sat Sep 8 14:24:44 2007 From: j.boguslawski at post.pl (Jakub) Date: Sat, 08 Sep 2007 14:24:44 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30467-cups.general@news.easysw.com> > Jakub wrote: > > > I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > > printer. > > Nice little thing, that :-) > > > I have add this printer to local Cups server as remote ipp > > queue. Printer driver was installed from PPD file. Cups works great I > > am printing booklets with correctly filtered options. I have one > > problem. Cups stores job names correctly, but these names are lost > > when they are stored on printer. Every job which is coming from cups > > appears on remote queue as "Unknown". I haven't got this problem when > > I am printing from windows, unfortunately :( What am I doing wrong? > > Is it a Cups bug or it possible to add some conf options to forward > > job names correctly. > > What happens if you print from the commandline using the "-t", resp. > the "-T" parameter? > > lp -d ineo -t "This is the job title" /path/to/file > lpr -P ineo -T "This is the job title" /path/to/file > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany I am printing with exactly the same command. Maybe it is the bug in printer firmware but why jobs printed from windows have correct names. It is big problem form me. I am printing results of some analysis with id in file name. I am executing scripts from java, I haven't got information if the result was printed correctly I can only say that the job was delivered to printer. I would be able to solve the problem if I would have correct job names in printers log. Thanks, best regards Jakub Bogus??awski From k1pfeifle at gmx.net Sat Sep 8 17:11:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sat, 08 Sep 2007 17:11:28 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30467-cups.general@news.easysw.com> References: <30467-cups.general@news.easysw.com> Message-ID: <30468-cups.general@news.easysw.com> Jakub wrote: >> Jakub wrote: >> >>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 >>> printer. >> Nice little thing, that :-) >> >>> I have add this printer to local Cups server as remote ipp >>> queue. Printer driver was installed from PPD file. Cups works great I >>> am printing booklets with correctly filtered options. I have one >>> problem. Cups stores job names correctly, but these names are lost >>> when they are stored on printer. Every job which is coming from cups >>> appears on remote queue as "Unknown". I haven't got this problem when >>> I am printing from windows, unfortunately :( What am I doing wrong? >>> Is it a Cups bug or it possible to add some conf options to forward >>> job names correctly. >> What happens if you print from the commandline using the "-t", resp. >> the "-T" parameter? >> >> lp -d ineo -t "This is the job title" /path/to/file >> lpr -P ineo -T "This is the job title" /path/to/file >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > I am printing with exactly the same command. Maybe it is the bug in > printer firmware but why jobs printed from windows have correct names. > It is big problem form me. The job names usually are transferred to the printer in a "PJL header" to the jobfile. CUPS normally has no problems to get that right -- provi- ded the PPD used to setup the queue has valid code to generate such a PJL header. It may well be that this is not the case for you. Which driver do the Windows clients use? (And do they also print via CUPS, or do they print directly to the ineo?) > I am printing results of some analysis with > id in file name. I am executing scripts from java, I haven't got > information if the result was printed correctly I can only say that > the job was delivered to printer. I would be able to solve the problem > if I would have correct job names in printers log. I recommend you the following: * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities * read that, and grab my "2dir" and "2file" backend scripts there You can use these to set up a virtual CUPS printers with one of these backends which will write the jobfile (after all filtering is done) to disk instead of sending it off to a printmachine. Use the same PPD for the virtual printer(s). Let both, the Windows clients and your command- line print to these queues. Look at the differences in the files (mainly, the headers. Draw your conclusions from that. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From johnpipe at sonic.net Sun Sep 9 01:26:52 2007 From: johnpipe at sonic.net (John Meshkoff) Date: Sun, 09 Sep 2007 01:26:52 -0700 Subject: Phantom printers on parallel port? (CUPS 1.2.6) Message-ID: <30469-cups.general@news.easysw.com> I have a Vector Linux 5.8 on one of my partitions, with CUPS 1.2.6 installed. The web interface is used here (no VL or other GUI IF), and when going to the administration tab, the autodection feature shows two non-existant printers connected to the parallel port. The only printer connected to that port is an HP500 DeskJet. Configuration was not so smooth; I selected one of the TWO instances of Parallel Port #1, and each identifies the port as a particular printer brand, CANON and EPSON. The only way I could configure the printer was to select one of these from the interface drop down list and then load a ppd file, as these odd defaults only give drop downs for these brands of printers (pcl drivers if I remember correctly; I had to login to RH6.1 to get my registration email for the CUPS site so I can't look it up now). Fortunately I had a good HP500.ppd available from my RH6.1 partition with an old version of CUPS, and this got the printer working. However, the resulting URI looks rather odd: CANON://dev/lp0 Is this a known issue, possibly fixed? Or, possibly something to do with the way VL5.8 is set up? Printer working OK, but I'm curious to find out what's going on here. Thanks, John From premjo.elias at gmail.com Sun Sep 9 01:30:26 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 09 Sep 2007 01:30:26 -0700 Subject: ID CARD driver development Message-ID: <30470-cups.general@news.easysw.com> > Premjo wrote: > > Is it possible to develop device driver for ID CARD printers by using CUPS? > > Assuming that you have documentation on the printers and they support > raster graphics, then yes it is possible for you to develop a driver > for CUPS. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Yes i have. But how i can pass id card printer specific commands through cups? premjo From j.boguslawski at post.pl Sun Sep 9 06:13:49 2007 From: j.boguslawski at post.pl (Jakub) Date: Sun, 09 Sep 2007 06:13:49 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30471-cups.general@news.easysw.com> > Jakub wrote: > >> Jakub wrote: > >> > >>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > >>> printer. > >> Nice little thing, that :-) > >> > >>> I have add this printer to local Cups server as remote ipp > >>> queue. Printer driver was installed from PPD file. Cups works great I > >>> am printing booklets with correctly filtered options. I have one > >>> problem. Cups stores job names correctly, but these names are lost > >>> when they are stored on printer. Every job which is coming from cups > >>> appears on remote queue as "Unknown". I haven't got this problem when > >>> I am printing from windows, unfortunately :( What am I doing wrong? > >>> Is it a Cups bug or it possible to add some conf options to forward > >>> job names correctly. > >> What happens if you print from the commandline using the "-t", resp. > >> the "-T" parameter? > >> > >> lp -d ineo -t "This is the job title" /path/to/file > >> lpr -P ineo -T "This is the job title" /path/to/file > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > I am printing with exactly the same command. Maybe it is the bug in > > printer firmware but why jobs printed from windows have correct names. > > It is big problem form me. > > The job names usually are transferred to the printer in a "PJL header" > to the jobfile. CUPS normally has no problems to get that right -- provi- > ded the PPD used to setup the queue has valid code to generate such a > PJL header. It may well be that this is not the case for you. > > Which driver do the Windows clients use? (And do they also print via > CUPS, or do they print directly to the ineo?) > > > I am printing results of some analysis with > > id in file name. I am executing scripts from java, I haven't got > > information if the result was printed correctly I can only say that > > the job was delivered to printer. I would be able to solve the problem > > if I would have correct job names in printers log. > > I recommend you the following: > > * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > * read that, and grab my "2dir" and "2file" backend scripts there > > You can use these to set up a virtual CUPS printers with one of these > backends which will write the jobfile (after all filtering is done) to > disk instead of sending it off to a printmachine. Use the same PPD for > the virtual printer(s). Let both, the Windows clients and your command- > line print to these queues. > > Look at the differences in the files (mainly, the headers. Draw your > conclusions from that. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Thank you very much for such quick answer. I've followed your instructions and have installed 2dir printer, using the same ppd file as in my ineo printer. The printer looks ok but when I try to print some documents I am receiving message: dirprinter "/usr/lib64/cups/backend/2dir failed" Description: virtual printer to test KDEPrint Location: on my harddisk, each job saved under a uniq name Producent: Generic 25C-1 PS Printer state: stopped, accepting jobs, published URI: 2dir:/tmp/vprint I can click on button "Start printer" on cups admin web page but I am getting the same error message? The idea proposed by you is great and should probably help in my case. On windows I am printing directly to printer using native driver, so maybe my ppd driver sets wrong job header. Thank you very much for your support, Jakub Boguslawski From k1pfeifle at gmx.net Sun Sep 9 07:07:51 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 09 Sep 2007 07:07:51 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30471-cups.general@news.easysw.com> References: <30471-cups.general@news.easysw.com> Message-ID: <30472-cups.general@news.easysw.com> Jakub wrote: >> Jakub wrote: >>>> Jakub wrote: >>>> >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 >>>>> printer. >>>> Nice little thing, that :-) >>>> >>>>> I have add this printer to local Cups server as remote ipp >>>>> queue. Printer driver was installed from PPD file. Cups works great I >>>>> am printing booklets with correctly filtered options. I have one >>>>> problem. Cups stores job names correctly, but these names are lost >>>>> when they are stored on printer. Every job which is coming from cups >>>>> appears on remote queue as "Unknown". I haven't got this problem when >>>>> I am printing from windows, unfortunately :( What am I doing wrong? >>>>> Is it a Cups bug or it possible to add some conf options to forward >>>>> job names correctly. >>>> What happens if you print from the commandline using the "-t", resp. >>>> the "-T" parameter? >>>> >>>> lp -d ineo -t "This is the job title" /path/to/file >>>> lpr -P ineo -T "This is the job title" /path/to/file >>>> >>>> -- >>>> Kurt Pfeifle >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany >>> I am printing with exactly the same command. Maybe it is the bug in >>> printer firmware but why jobs printed from windows have correct names. >>> It is big problem form me. >> The job names usually are transferred to the printer in a "PJL header" >> to the jobfile. CUPS normally has no problems to get that right -- provi- >> ded the PPD used to setup the queue has valid code to generate such a >> PJL header. It may well be that this is not the case for you. >> >> Which driver do the Windows clients use? (And do they also print via >> CUPS, or do they print directly to the ineo?) >> >>> I am printing results of some analysis with >>> id in file name. I am executing scripts from java, I haven't got >>> information if the result was printed correctly I can only say that >>> the job was delivered to printer. I would be able to solve the problem >>> if I would have correct job names in printers log. >> I recommend you the following: >> >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities >> * read that, and grab my "2dir" and "2file" backend scripts there >> >> You can use these to set up a virtual CUPS printers with one of these >> backends which will write the jobfile (after all filtering is done) to >> disk instead of sending it off to a printmachine. Use the same PPD for >> the virtual printer(s). Let both, the Windows clients and your command- >> line print to these queues. >> >> Look at the differences in the files (mainly, the headers. Draw your >> conclusions from that. >> >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > Thank you very much for such quick answer. I've followed your instructions > and have installed 2dir printer, using the same ppd file as in my ineo > printer. The printer looks ok but when I try to print some documents I am > receiving message: > > dirprinter "/usr/lib64/cups/backend/2dir failed" Well, there's no way around to read and understand the code contained in the script... To debug, add this line in the script (as the second line, right after the hashbang): set -x Then set "LogLevel debug" in your cupsd.conf. You'll now have more messages in /var/log/cups/error_log. One of these might give you a hint about what went wrong. Maybe the directory the backend is supposed to write into is not existing? Maybe it is not allowed to write into it? Then adjust its Unix file permissions accordingly. > Description: virtual printer to test KDEPrint > Location: on my harddisk, each job saved under a uniq name > Producent: Generic 25C-1 PS > Printer state: stopped, accepting jobs, published > URI: 2dir:/tmp/vprint > > I can click on button "Start printer" on cups admin web page but I am > getting the same error message? > > The idea proposed by you is great and should probably help in my case. > On windows I am printing directly to printer using native driver, so > maybe my ppd driver sets wrong job header. And native Windows driver is...? PostScript? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mike at easysw.com Sun Sep 9 08:20:53 2007 From: mike at easysw.com (Michael Sweet) Date: Sun, 09 Sep 2007 08:20:53 -0700 Subject: Phantom printers on parallel port? (CUPS 1.2.6) In-Reply-To: <30469-cups.general@news.easysw.com> References: <30469-cups.general@news.easysw.com> Message-ID: <30473-cups.general@news.easysw.com> John Meshkoff wrote: > I have a Vector Linux 5.8 on one of my partitions, with CUPS 1.2.6 > installed. The web interface is used here (no VL or other GUI IF), > and when going to the administration tab, the autodection feature > shows two non-existant printers connected to the parallel port. > ... These are coming from the Gimp-Print epson and canon backends; you can chmod 000 the backends in /usr/lib/cups/backend to eliminate them from the list. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From mike at easysw.com Sun Sep 9 08:22:27 2007 From: mike at easysw.com (Michael Sweet) Date: Sun, 09 Sep 2007 08:22:27 -0700 Subject: ID CARD driver development In-Reply-To: <30470-cups.general@news.easysw.com> References: <30470-cups.general@news.easysw.com> Message-ID: <30474-cups.general@news.easysw.com> Premjo wrote: > ... > Yes i have. But how i can pass id card printer specific commands through cups? Write a filter program that converts CUPS raster data (application/ vnd.cups-raster) to the printer's language. Then create a PPD file that uses that filter. See the filter/rastertohp.c sources from CUPS and the CUPS DDK for more information on developing a raster driver. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From nick at weaverfsg.co.uk Sun Sep 9 11:41:03 2007 From: nick at weaverfsg.co.uk (Nick Weaver) Date: Sun, 09 Sep 2007 11:41:03 -0700 Subject: Cannot access CUPS Message-ID: <30475-cups.general@news.easysw.com> I've just had to completly wipe my Freecom Storage Gateway 3. I had a few problems with the latest firmware, so I recovered the device from a HDD format with the mist stable firmware. I installed CUPS via IPKG using SSH, but whenever I try to access the server to start CUPS up (192.168.1.1:631) I get the following message from IE7 The webpage cannot be displayed Most likely cause: Some content or files on this webpage require a program that you don't have installed. What you can try: Search online for a program you can use to view this web content. Retype the address. Go back to the previous page. I've tired this on another machine on the network and it doesn't work either.... I had it working fine before by installing it via IPKG. Can anyone help? Here is the system info Linux version 2.4.27-uc1 (root at lindev) (gcc version 3.3.2) #1767 Mo Jan 29 09:46:42 CET 2007 Processor : XScale-IXP4xx/IXC11xx rev 1 (v5b) BogoMIPS : 266.24 Features : swp half thumb fastmult edsp Hardware : Intel IXP425 Freecom Platform Revision : 0000 Serial : 0000000000000000 From sacarde at tiscali.it Sun Sep 9 13:18:28 2007 From: sacarde at tiscali.it (sacarde) Date: Sun, 09 Sep 2007 13:18:28 -0700 Subject: Lexmark z515 driver Message-ID: <30476-cups.general@news.easysw.com> > Hi, > I have a printer Lexmark z515 and i try install it on Cups at Fedora 6. > But i can't find driver for it. > If someone can help me i will be happy :) > Thanks. I follow this link http://www.linuxfromscratch.org/hints/downloads/files/lexmark-printer.txt From ginestre at omnilog.com Sun Sep 9 15:38:41 2007 From: ginestre at omnilog.com (Richard) Date: Sun, 09 Sep 2007 15:38:41 -0700 Subject: remove obselete printer from trashed server Message-ID: <30477-cups.general@news.easysw.com> On my network,a PC has been trashed. But it governed a printer, which continues to be listed on all the other PCs even though I've edited it out of the /etc/cups/printer.conf file on them all. On some lpstat -a will list the defunct printer, on others it doesn't. But the CUPS browser interface on all gives me the dead printer, and any attempt to operate on it through the browser provokes a 403 Forbidden error. How can I get rid of the darn thing logically, now its not physically here? From k1pfeifle at gmx.net Sun Sep 9 19:12:50 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 09 Sep 2007 19:12:50 -0700 Subject: remove obselete printer from trashed server In-Reply-To: <30477-cups.general@news.easysw.com> References: <30477-cups.general@news.easysw.com> Message-ID: <30478-cups.general@news.easysw.com> Richard wrote: > On my network,a PC has been trashed. But it governed a printer, which > continues to be listed on all the other PCs even though I've edited it > out of the /etc/cups/printer.conf file on them all. So this is an all-Unix/Linux network? > On some lpstat -a > will list the defunct printer, on others it doesn't. What does lpstat -v say on those boxen where it is still listed? (-v tells the backend URI used for a printer, and if you see s.th. like ipp://name-or-ip/printers/oldname you know there is still a box "name-or-ip" on your network that has the logical printer installed, and broadcasts it to the rest). Also, what value did the PCs in question use -- maybe a very long timeout for browsed printers (see the setting "BrowseTimeout" in cupsd.conf)? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From tonymoloney at iinet.net.au Mon Sep 10 00:26:57 2007 From: tonymoloney at iinet.net.au (Tony Moloney) Date: Mon, 10 Sep 2007 00:26:57 -0700 Subject: Brother DCP110C won't print Message-ID: <30479-cups.general@news.easysw.com> I have gone through the process of getting my Brother DCP110C installed in Kubuntu and have got to the stage where I can actually send a test page to the printer. However it does no print. Instead it just sits in the print queue with "processing" beside its name. Can anyone show me how to get the printer started, please? I am using Kubuntu 7.10 Desktop Alpha2 on a Lenovo laptop with 1Gb ram and 80Gb hard disk. Kubuntu is the only OS installed on this computer. Thanks Tony From morger at olmero.ch Mon Sep 10 02:11:28 2007 From: morger at olmero.ch (Philipp Morger) Date: Mon, 10 Sep 2007 02:11:28 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30480-cups.general@news.easysw.com> Hi Kurt > (1) go visit http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > and fetch one or both of the CUPS backend scripts "2file" and "2dir". > > (2) install a virtual printer using your PPD and one of the backend > scripts so you can "print to file" with them. > > (3) in cupsd.conf, insert "PreserveJobFiles" and restart cupsd. > > (3) print to the new printer. > > Now you'll have 2 files on disk: > > (a) the file as was handed to CUPS by OOo in /var/spool/cups/d000NN > > (b) the file as it was changed by the CUPS filtering chain, according > to your overall print settings. > > Now you can look at the differences of the two files, using > > sdiff -sbB file1 file2 > > You'll probably notice that CUPS does insert non-empty PostScript code > to address the tray selection, while OOo does a fake job on it. > > If that is confirmed, submit a bug report with the OOo folks. I fear, I don't understand too much about postscript interna, I saw that there is some significant difference, but wasn't able to tell what it is and this don't dare to file a bugreport. I took the liberty to mail you the generated files at your kde.org address - I didn't posted them here as two files are binary, and it would seriously bloat the forum... and might linebreak stuff anyway... The Prinouts are from Linux/OO via CUPS and Windows/O2K via Samba/CUPS TIA and regards Philipp From j.boguslawski at post.pl Mon Sep 10 03:22:01 2007 From: j.boguslawski at post.pl (Jakub) Date: Mon, 10 Sep 2007 03:22:01 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30481-cups.general@news.easysw.com> > Jakub wrote: > >> Jakub wrote: > >>>> Jakub wrote: > >>>> > >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > >>>>> printer. > >>>> Nice little thing, that :-) > >>>> > >>>>> I have add this printer to local Cups server as remote ipp > >>>>> queue. Printer driver was installed from PPD file. Cups works great I > >>>>> am printing booklets with correctly filtered options. I have one > >>>>> problem. Cups stores job names correctly, but these names are lost > >>>>> when they are stored on printer. Every job which is coming from cups > >>>>> appears on remote queue as "Unknown". I haven't got this problem when > >>>>> I am printing from windows, unfortunately :( What am I doing wrong? > >>>>> Is it a Cups bug or it possible to add some conf options to forward > >>>>> job names correctly. > >>>> What happens if you print from the commandline using the "-t", resp. > >>>> the "-T" parameter? > >>>> > >>>> lp -d ineo -t "This is the job title" /path/to/file > >>>> lpr -P ineo -T "This is the job title" /path/to/file > >>>> > >>>> -- > >>>> Kurt Pfeifle > >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany > >>> I am printing with exactly the same command. Maybe it is the bug in > >>> printer firmware but why jobs printed from windows have correct names. > >>> It is big problem form me. > >> The job names usually are transferred to the printer in a "PJL header" > >> to the jobfile. CUPS normally has no problems to get that right -- provi- > >> ded the PPD used to setup the queue has valid code to generate such a > >> PJL header. It may well be that this is not the case for you. > >> > >> Which driver do the Windows clients use? (And do they also print via > >> CUPS, or do they print directly to the ineo?) > >> > >>> I am printing results of some analysis with > >>> id in file name. I am executing scripts from java, I haven't got > >>> information if the result was printed correctly I can only say that > >>> the job was delivered to printer. I would be able to solve the problem > >>> if I would have correct job names in printers log. > >> I recommend you the following: > >> > >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > >> * read that, and grab my "2dir" and "2file" backend scripts there > >> > >> You can use these to set up a virtual CUPS printers with one of these > >> backends which will write the jobfile (after all filtering is done) to > >> disk instead of sending it off to a printmachine. Use the same PPD for > >> the virtual printer(s). Let both, the Windows clients and your command- > >> line print to these queues. > >> > >> Look at the differences in the files (mainly, the headers. Draw your > >> conclusions from that. > >> > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > Thank you very much for such quick answer. I've followed your instructions > > and have installed 2dir printer, using the same ppd file as in my ineo > > printer. The printer looks ok but when I try to print some documents I am > > receiving message: > > > > dirprinter "/usr/lib64/cups/backend/2dir failed" > > > Well, there's no way around to read and understand the code contained in > the script... > > To debug, add this line in the script (as the second line, right after > the hashbang): > > set -x > > Then set "LogLevel debug" in your cupsd.conf. > > You'll now have more messages in /var/log/cups/error_log. One of these > might give you a hint about what went wrong. > > Maybe the directory the backend is supposed to write into is not > existing? Maybe it is not allowed to write into it? Then adjust its > Unix file permissions accordingly. > > > Description: virtual printer to test KDEPrint > > Location: on my harddisk, each job saved under a uniq name > > Producent: Generic 25C-1 PS > > Printer state: stopped, accepting jobs, published > > URI: 2dir:/tmp/vprint > > > > I can click on button "Start printer" on cups admin web page but I am > > getting the same error message? > > > > The idea proposed by you is great and should probably help in my case. > > On windows I am printing directly to printer using native driver, so > > maybe my ppd driver sets wrong job header. > > And native Windows driver is...? PostScript? > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany I have found (following your suggestions) that ps files generated via windows driver is different from that generated using ppd file. Windows ps file header: %-12345X at PJL JOB @PJL SET STRINGCODESET = UTF8 @PJL SET JOBNAME = "1000000094_Pl.pdf" @PJL SET USERNAME = "Kuba" @PJL SET KMCOE = 72 @PJL SET HOLD = OFF @PJL SET DRIVERJOBID = "0002442DFFB6090A0B24280152" @PJL SET QTY = 1 @PJL ENTER LANGUAGE=POSTSCRIPT %!PS-Adobe-3.0 %%Title: 1000000094_Pl.pdf %%Creator: PScript5.dll Version 5.2 %%CreationDate: 9/10/2007 11:36:40 %%For: Kuba %%BoundingBox: (atend) %%DocumentNeededResources: (atend) %%DocumentSuppliedResources: (atend) %%DocumentData: Clean7Bit %%TargetDevice: (25C-1/25C-1P) (3011.045) 1 %%LanguageLevel: 3 %%EndComments Linux ps file header: %!PS-Adobe-3.0 %Producer: xpdf/pdftops 3.01 %%Creator: BIOMOL-MED Sp. z o.o. %%Title: Wynik analizy wlosow %%LanguageLevel: 2 %%DocumentSuppliedResources: (atend) %%DocumentMedia: plain 595 842 0 () () %%For: (root) %RBINumCopies: 1 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments %%BeginDefaults %%PageMedia: plain %%EndDefaults So as you there isn't PJL header in linux file at all. It is also strange that this title "Wynik analizy wlosow" is some part of the the text, somewhere in this document. This name appears in printer log for about 2 seconds and then it disappears. I have read that it is possible to print via pipe to any command, so maybe it is possible to write a script which would add PJB header to ps file, or maybe it is a problem of differences in ps levels between win and Linux. Thank you very much for Your support Kuba From j.boguslawski at post.pl Mon Sep 10 03:35:19 2007 From: j.boguslawski at post.pl (Jakub) Date: Mon, 10 Sep 2007 03:35:19 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30482-cups.general@news.easysw.com> > > Jakub wrote: > > >> Jakub wrote: > > >>>> Jakub wrote: > > >>>> > > >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > > >>>>> printer. > > >>>> Nice little thing, that :-) > > >>>> > > >>>>> I have add this printer to local Cups server as remote ipp > > >>>>> queue. Printer driver was installed from PPD file. Cups works great I > > >>>>> am printing booklets with correctly filtered options. I have one > > >>>>> problem. Cups stores job names correctly, but these names are lost > > >>>>> when they are stored on printer. Every job which is coming from cups > > >>>>> appears on remote queue as "Unknown". I haven't got this problem when > > >>>>> I am printing from windows, unfortunately :( What am I doing wrong? > > >>>>> Is it a Cups bug or it possible to add some conf options to forward > > >>>>> job names correctly. > > >>>> What happens if you print from the commandline using the "-t", resp. > > >>>> the "-T" parameter? > > >>>> > > >>>> lp -d ineo -t "This is the job title" /path/to/file > > >>>> lpr -P ineo -T "This is the job title" /path/to/file > > >>>> > > >>>> -- > > >>>> Kurt Pfeifle > > >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany > > >>> I am printing with exactly the same command. Maybe it is the bug in > > >>> printer firmware but why jobs printed from windows have correct names. > > >>> It is big problem form me. > > >> The job names usually are transferred to the printer in a "PJL header" > > >> to the jobfile. CUPS normally has no problems to get that right -- provi- > > >> ded the PPD used to setup the queue has valid code to generate such a > > >> PJL header. It may well be that this is not the case for you. > > >> > > >> Which driver do the Windows clients use? (And do they also print via > > >> CUPS, or do they print directly to the ineo?) > > >> > > >>> I am printing results of some analysis with > > >>> id in file name. I am executing scripts from java, I haven't got > > >>> information if the result was printed correctly I can only say that > > >>> the job was delivered to printer. I would be able to solve the problem > > >>> if I would have correct job names in printers log. > > >> I recommend you the following: > > >> > > >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > > >> * read that, and grab my "2dir" and "2file" backend scripts there > > >> > > >> You can use these to set up a virtual CUPS printers with one of these > > >> backends which will write the jobfile (after all filtering is done) to > > >> disk instead of sending it off to a printmachine. Use the same PPD for > > >> the virtual printer(s). Let both, the Windows clients and your command- > > >> line print to these queues. > > >> > > >> Look at the differences in the files (mainly, the headers. Draw your > > >> conclusions from that. > > >> > > >> > > >> -- > > >> Kurt Pfeifle > > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > > > Thank you very much for such quick answer. I've followed your instructions > > > and have installed 2dir printer, using the same ppd file as in my ineo > > > printer. The printer looks ok but when I try to print some documents I am > > > receiving message: > > > > > > dirprinter "/usr/lib64/cups/backend/2dir failed" > > > > > > Well, there's no way around to read and understand the code contained in > > the script... > > > > To debug, add this line in the script (as the second line, right after > > the hashbang): > > > > set -x > > > > Then set "LogLevel debug" in your cupsd.conf. > > > > You'll now have more messages in /var/log/cups/error_log. One of these > > might give you a hint about what went wrong. > > > > Maybe the directory the backend is supposed to write into is not > > existing? Maybe it is not allowed to write into it? Then adjust its > > Unix file permissions accordingly. > > > > > Description: virtual printer to test KDEPrint > > > Location: on my harddisk, each job saved under a uniq name > > > Producent: Generic 25C-1 PS > > > Printer state: stopped, accepting jobs, published > > > URI: 2dir:/tmp/vprint > > > > > > I can click on button "Start printer" on cups admin web page but I am > > > getting the same error message? > > > > > > The idea proposed by you is great and should probably help in my case. > > > On windows I am printing directly to printer using native driver, so > > > maybe my ppd driver sets wrong job header. > > > > And native Windows driver is...? PostScript? > > > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > I have found (following your suggestions) that ps files generated via windows driver is different from that generated using ppd file. > > Windows ps file header: > %-12345X at PJL JOB > @PJL SET STRINGCODESET = UTF8 > @PJL SET JOBNAME = "1000000094_Pl.pdf" > @PJL SET USERNAME = "Kuba" > @PJL SET KMCOE = 72 > @PJL SET HOLD = OFF > @PJL SET DRIVERJOBID = "0002442DFFB6090A0B24280152" > @PJL SET QTY = 1 > @PJL ENTER LANGUAGE=POSTSCRIPT > %!PS-Adobe-3.0 > %%Title: 1000000094_Pl.pdf > %%Creator: PScript5.dll Version 5.2 > %%CreationDate: 9/10/2007 11:36:40 > %%For: Kuba > %%BoundingBox: (atend) > %%DocumentNeededResources: (atend) > %%DocumentSuppliedResources: (atend) > %%DocumentData: Clean7Bit > %%TargetDevice: (25C-1/25C-1P) (3011.045) 1 > %%LanguageLevel: 3 > %%EndComments > > Linux ps file header: > %!PS-Adobe-3.0 > %Producer: xpdf/pdftops 3.01 > %%Creator: BIOMOL-MED Sp. z o.o. > %%Title: Wynik analizy wlosow > %%LanguageLevel: 2 > %%DocumentSuppliedResources: (atend) > %%DocumentMedia: plain 595 842 0 () () > %%For: (root) > %RBINumCopies: 1 > %%Pages: (atend) > %%BoundingBox: (atend) > %%EndComments > %%BeginDefaults > %%PageMedia: plain > %%EndDefaults > > So as you there isn't PJL header in linux file at all. It is also strange that this title "Wynik analizy wlosow" is some part of the the text, somewhere in this document. This name appears in printer log for about 2 seconds and then it disappears. I have read that it is possible to print via pipe to any command, so maybe it is possible to write a script which would add PJB header to ps file, or maybe it is a problem of differences in ps levels between win and Linux. > > Thank you very much for Your support > Kuba Well it seems that it is working!!! When I add PJL header the job title in printer log is correct!! I have to write a script which will take job name as a parameter, add pjl header and than forward job to a printer. Printing to a pipe would be the best solution? Big thanks Kuba From danielfabiani at yahoo.es Mon Sep 10 05:04:34 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Mon, 10 Sep 2007 05:04:34 -0700 Subject: Problems with format printing through Samba Message-ID: <30483-cups.general@news.easysw.com> Hi, I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. Here is the log, thanks a lot four your help. D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes d [10/Sep/2007:13:22:54 +0200] process_children() E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... From chouinard.dany at csob.qc.ca Mon Sep 10 07:56:22 2007 From: chouinard.dany at csob.qc.ca (Dany Chouinard) Date: Mon, 10 Sep 2007 07:56:22 -0700 Subject: [cups.general] Problems with format printing through Samba In-Reply-To: <30483-cups.general@news.easysw.com> References: <30483-cups.general@news.easysw.com> Message-ID: <30484-cups.general@news.easysw.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [Job 46] Printer is busy; retrying print job... Can you print from the linux server? Is the printer USB or networked? Dany CHOUINARD Daniel Martin a ?crit : > Hi, > > I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. > > But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. > > Here is the log, thanks a lot four your help. > > D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... > D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... > D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) > D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" > D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" > D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none > D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" > D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" > D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" > I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... > d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs > d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes > d [10/Sep/2007:13:22:54 +0200] process_children() > E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! > D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... > I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) > d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 > D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > - -- Dany CHOUINARD Technicien en informatique -o) Commission scolaire de l'Or et des Bois /\ chouinard.dany at csob.qc.ca _\_v t?l. 819.825.4220 ext. 3041 cel. 819.856.6892 skype. dchouinard courriel. chouinard.dany at csob.qc.ca <<<(((( ))))>>> Ce document est sign? num?riquement par GnuPG http://www.gnupg.org/fr/index.html Pour r?cup?rer ma clef publique, consultez mon site internet : www.danychouinard.net/clef.asc <<<(((( ))))>>> Vous connaissez http://www.linuxabitibi.org ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5VsJa9/+BUSG+LQRAoLQAJsEKb/vIH/LoDhIgBkk+29MrgLHzwCgz8u9 QIiXrUkaO8qBFWMWl4g608I= =UAKN -----END PGP SIGNATURE----- From throw_away_2002 at yahoo.com Mon Sep 10 07:59:30 2007 From: throw_away_2002 at yahoo.com (Tom) Date: Mon, 10 Sep 2007 07:59:30 -0700 Subject: [cups.general] Can no longer print with a USB URI Message-ID: <30485-cups.general@news.easysw.com> My printers.conf file has a line: DeviceURI usb://EPSON/Stylus%20CX3700 This USED to work fine, but something got "upgraded" that broke it, and even downgrading (udev and a couple of other things) and rebuilding cups (1.2.10) doesn't fix it. Now whenever I try to print ANYTHING, the web page starts with some percentage received, but then shifts to: "Printer not connected; will retry in 30 seconds..." And never prints anything. If I change the DeviceURI line to "file://dev/usb/lp0" then it works fine again. Any ideas on how to track this down? Thanks. Tom ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From tmuniz at sprich.com Mon Sep 10 08:58:58 2007 From: tmuniz at sprich.com (Tony) Date: Mon, 10 Sep 2007 08:58:58 -0700 Subject: Class and Printer Control and Views Message-ID: <30486-cups.general@news.easysw.com> Hi! Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! Thanks! Tony From msweet at apple.com Mon Sep 10 09:38:20 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 10 Sep 2007 09:38:20 -0700 Subject: [cups.general] Class and Printer Control and Views In-Reply-To: <30486-cups.general@news.easysw.com> References: <30486-cups.general@news.easysw.com> Message-ID: <30487-cups.general@news.easysw.com> Tony wrote: > Hi! > > Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? About all you can do is require authentication and then list the users (or groups) that are allowed to print to each printer or class. > Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! See the policy help page: http://localhost:631/help/policies.html Basically, you want to set up an "operator" group and then allow it to do start/stop printer stuff. CUPS 1.3 is already set up with a suitable policy - you just need to add a group to the "Require" line. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From sps at sanger.ac.uk Mon Sep 10 09:44:11 2007 From: sps at sanger.ac.uk (Steve Stamford) Date: Mon, 10 Sep 2007 09:44:11 -0700 Subject: [cups.general] Problem with talking to a windows server Message-ID: <30488-cups.general@news.easysw.com> Hi, I wonder if anyone out there can help me with a niggling problem. What I would like to do is point a Debian cups client at a windows print server. I think I should be able to do this via IPP? So I change the BrowsePoll line in cupsd.conf on my linux machine to point to windows server:80 (windows uses 80 rather than 631!!!) but I get CUPS-Get-Printers failed: Unknown in the error log and no printers We are using: ii cupsys 1.2.7-4 Common UNIX Printing System(tm) - server ii cupsys-bsd 1.2.7-4 Common UNIX Printing System(tm) - BSD commands ii cupsys-client 1.2.7-4 Common UNIX Printing System(tm) - client programs (SysV) ii cupsys-common 1.2.7-4 Common UNIX Printing System(tm) - common files Is there a problem with the config or am I doing something that can't be done? Is this a bug at this version? Any help appreciated Cheers Steve Steve Stamford Operations Manager The Wellcome Trust Sanger Institute Wellcome Trust Genome Campus Hinxton, Cambridge CB10 1SA Tel: +44(0)1223 496941 Email: sps at sanger.ac.uk -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmuniz at sprich.com Mon Sep 10 10:02:27 2007 From: tmuniz at sprich.com (Tony) Date: Mon, 10 Sep 2007 10:02:27 -0700 Subject: Class and Printer Control and Views Message-ID: <30489-cups.general@news.easysw.com> > Tony wrote: > > Hi! > > > > Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? > > About all you can do is require authentication and then list the users > (or groups) that are allowed to print to each printer or class. > > > Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! > > See the policy help page: > > http://localhost:631/help/policies.html > > Basically, you want to set up an "operator" group and then allow it > to do start/stop printer stuff. CUPS 1.3 is already set up with a > suitable policy - you just need to add a group to the "Require" line. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks Michael! However, is this policy possible via CUPS 1.1.22 or do I need to upgrade? From john at cs.york.ac.uk Mon Sep 10 10:20:17 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Mon, 10 Sep 2007 10:20:17 -0700 Subject: Beginner's problem with authentication policy in 1.3.0 Message-ID: <30490-cups.general@news.easysw.com> I've just intalled CUPS 1.3.0 on Linux as an experimental print server for the first time. We have Kerberos up and working here (but not yet with CUPS) so the Linux box has correct /etc/krb5.conf and /etc/krb5.keytab. We need to have the CUPS server configured so that some clients addressing it - our desktop machines, on a certain subnet - are trusted (i.e. the username passed to the server for a print submission or other operation is not questioned), but so that print requests or other operations submitted from 'untrusted' clients on another subnet would require authentication (either for a session of printing or perhaps even per print operation). With: DefaultAuthType Negotiate the authentication should require each user's Kerberos password. I've not seen an illustration anywhere of how this looks like to the user of one of these untrusted clients - for instance in the GUI of a Mac OS X client. I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with software updates) to try this out. I decided to try an initial Location directive which Allow-s all the subnets in use, and then to have two Limit-s in the default Policy, one for the trusted subnet and one for the untrusted subnet: Allow from trusted Order deny,allow Allow from untrusted Require user @OWNER @SYSTEM Order deny,allow Unfortunately, when I try this, at no point is the user on the untrusted MacBook asked for their username and password. The print job is seen on the server with the username of the untrusted user on the MacBook which may well be different from their authorised username on the Departmental network. I'm just beginning with this - what have I overlooked or misunderstood, please? Is this a problem with Mac OS X's IPP (CUPS) implementation or setup, or likely to be my mistake in cupsd.conf? (I can borrow Linux and Windows untrusted clients to test, I think.) If the problem is that I have to have two different Policies, how do I associate each policy with the appropriate subnet? (I might imagine Allow directives in the Location part which each have an associated Policy qualifier e.g. Allow from untrusted Policy untrusted; Allow from trusted Policy trusted; John A. Murdie From msweet at apple.com Mon Sep 10 10:23:31 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 10 Sep 2007 10:23:31 -0700 Subject: [cups.general] Class and Printer Control and Views In-Reply-To: <30489-cups.general@news.easysw.com> References: <30489-cups.general@news.easysw.com> Message-ID: <30491-cups.general@news.easysw.com> Tony wrote: >> Tony wrote: >>> Hi! >>> >>> Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? >> About all you can do is require authentication and then list the users >> (or groups) that are allowed to print to each printer or class. >> >>> Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! >> See the policy help page: >> >> http://localhost:631/help/policies.html >> >> Basically, you want to set up an "operator" group and then allow it >> to do start/stop printer stuff. CUPS 1.3 is already set up with a >> suitable policy - you just need to add a group to the "Require" line. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Thanks Michael! However, is this policy possible via CUPS 1.1.22 or do I need to upgrade? You'll need at least CUPS 1.2 to use the policy stuff. CUPS 1.1.x doesn't offer configurable policies... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From archimede.unix.system at gmail.com Mon Sep 10 10:52:41 2007 From: archimede.unix.system at gmail.com (Archimede) Date: Mon, 10 Sep 2007 10:52:41 -0700 Subject: Lexmark x7350 - Driver for Linux Message-ID: <30492-cups.general@news.easysw.com> I have a Lexmark x7350, but I cannot use it why the driver does not exist for my debian-sid. Is being studied for one solution? Thanks From k1pfeifle at gmx.net Mon Sep 10 11:29:21 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 10 Sep 2007 11:29:21 -0700 Subject: [cups.general] Problem with talking to a windows server In-Reply-To: <30488-cups.general@news.easysw.com> References: <30488-cups.general@news.easysw.com> Message-ID: <30493-cups.general@news.easysw.com> Steve Stamford wrote: > What I would like to do is point a Debian cups client at a windows print > server. I think I should be able to do this via IPP? ipp:// or smb.// or lpd:// > So I change the BrowsePoll line in cupsd.conf on my linux machine to > point to windows server:80 (windows uses 80 rather than 631!!!) That doesn't work. Browsing and BrowsePoll is a registered CUPS extension to the IPP protocol, and that extension is not supported by the MS Windows side. Also, IPP is only supported in version 1.0 (which means, no authentica- tion for you). It will only work if the receiving windows print server allows you unauthenticated access via IPP. So my advice would rather be to look into smbspool printing. In case your CUPS client is part of the Windows domain via Samba, it could be made fairly secure, and still convenient (no password typing for each print job). You may need the rather new "samba-krb-printing" package (at least that's the name on SUSE). It contains a utility called "get_printing_ticket" that can be described as "binary wrapper to run smbspool with the original calling UID" and it automatically fetches and uses a Kerberos ticket from the domain controller (written by Jeremy Allison, BTW). Last alternative is lpd:// -- but this requires to enable the "Unix Print Services" on the Windows print server. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From marioadmin at cox.net Mon Sep 10 11:47:15 2007 From: marioadmin at cox.net (Mario Flores) Date: Mon, 10 Sep 2007 11:47:15 -0700 Subject: Cannot print from MacOSX to debian... Message-ID: <30494-cups.general@news.easysw.com> I recently upgraded to debian etch and tried to set it up as a print server (I did not do it with sarge). I also have an XP and iMac comptuers on my LAN. I can print from debian (local) and from the XP computer, but not from the iMac. When adding the printer in iMac, I chose IPP, the linux pc adddress, and the default queue appears there. Then when I try to print, I get a message that the server is busy and will retry. I see the job in the iMac's queue but not in the linux queue. I run debug on the linux cups system and the following line catched my attention: D [10/Sep/2007:10:23:20 -0700] cupsdAuthorize: No authentication data provided. I thought I had set up cups to allow anyone to print. The section of cupsd.conf file for printers follows: AuthType None Order Deny,Allow Deny From None Allow From All Any help is appreciated. Thanks, Mario. From eduardhc at gmail.com Mon Sep 10 12:00:18 2007 From: eduardhc at gmail.com (Eduard Huguet) Date: Mon, 10 Sep 2007 12:00:18 -0700 Subject: Can no longer print with a USB URI Message-ID: <30495-cups.general@news.easysw.com> Exactly the same case here with an Epson RX-500 (multifunction), which was running smoothly just some days ago. My data: ?? Sabayon Linux 3.3 (Gentoo) almost daily world-updated ?? CUPS 1.2.10-r10 (lastest stable release, but the problem arised first with 1.2.12, which I downgraded just for testing) ?? Gimp-print (Gutenprint) 4.2.7 After manually changing the URI to "file://dev/usb/lp0" in /etc/cups/printers.conf it's working fine again. Best regards, Eduard Huguet > My printers.conf file has a line: > > DeviceURI usb://EPSON/Stylus%20CX3700 > > This USED to work fine, but something got "upgraded" that > broke it, and even downgrading (udev and a couple of other > things) and rebuilding cups (1.2.10) doesn't fix it. > > Now whenever I try to print ANYTHING, the web page starts > with some percentage received, but then shifts to: > > "Printer not connected; will retry in 30 seconds..." > > And never prints anything. > > If I change the DeviceURI line to "file://dev/usb/lp0" > then it works fine again. > > Any ideas on how to track this down? Thanks. > > Tom > > > > ____________________________________________________________________________________ > Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545433 > From sps at sanger.ac.uk Mon Sep 10 12:03:33 2007 From: sps at sanger.ac.uk (Steve Stamford) Date: Mon, 10 Sep 2007 12:03:33 -0700 Subject: [cups.general] Problem with talking to a windows server References: <30488-cups.general@news.easysw.com> <30493-cups.general@news.easysw.com> Message-ID: <30496-cups.general@news.easysw.com> Hi, Thanks for the info. The reason I wanted Browsepoll to work was so I could have the client automaticly update the list of printers, otherwise I have to either have a static printers.conf on each client or forward all requests from the cups server to the windows server via lpd. Thanks anyway. Steve ________________________________ From: cups-bounces at easysw.com on behalf of Kurt Pfeifle Sent: Mon 10/09/2007 19:29 To: cups at easysw.com Subject: Re: [cups.general] Problem with talking to a windows server Steve Stamford wrote: > What I would like to do is point a Debian cups client at a windows print > server. I think I should be able to do this via IPP? ipp:// or smb.// or lpd:// > So I change the BrowsePoll line in cupsd.conf on my linux machine to > point to windows server:80 (windows uses 80 rather than 631!!!) That doesn't work. Browsing and BrowsePoll is a registered CUPS extension to the IPP protocol, and that extension is not supported by the MS Windows side. Also, IPP is only supported in version 1.0 (which means, no authentica- tion for you). It will only work if the receiving windows print server allows you unauthenticated access via IPP. So my advice would rather be to look into smbspool printing. In case your CUPS client is part of the Windows domain via Samba, it could be made fairly secure, and still convenient (no password typing for each print job). You may need the rather new "samba-krb-printing" package (at least that's the name on SUSE). It contains a utility called "get_printing_ticket" that can be described as "binary wrapper to run smbspool with the original calling UID" and it automatically fetches and uses a Kerberos ticket from the domain controller (written by Jeremy Allison, BTW). Last alternative is lpd:// -- but this requires to enable the "Unix Print Services" on the Windows print server. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany _______________________________________________ cups mailing list cups at easysw.com http://lists.easysw.com/mailman/listinfo/cups -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From premjo.elias at gmail.com Mon Sep 10 23:07:18 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 10 Sep 2007 23:07:18 -0700 Subject: ID CARD driver development Message-ID: <30497-cups.general@news.easysw.com> > Premjo wrote: > > ... > > > Yes i have. But how i can pass id card printer specific commands through cups? > > Write a filter program that converts CUPS raster data (application/ > vnd.cups-raster) to the printer's language. Then create a PPD file > that uses that filter. > > See the filter/rastertohp.c sources from CUPS and the CUPS DDK for > more information on developing a raster driver. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com Hi, How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. premjo From danielfabiani at yahoo.es Tue Sep 11 03:37:24 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Tue, 11 Sep 2007 03:37:24 -0700 Subject: Problems with format printing through Samba Message-ID: <30498-cups.general@news.easysw.com> Yes the printer is networked and I can print by an lpr command without any problem. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > [Job 46] Printer is busy; retrying print job... > > Can you print from the linux server? Is the printer USB or networked? > > Dany CHOUINARD > > > Daniel Martin a ??crit : > > Hi, > > > > I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. > > > > But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. > > > > Here is the log, thanks a lot four your help. > > > > D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... > > D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... > > D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) > > D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" > > D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" > > D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none > > D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" > > D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" > > D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... > > d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs > > d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none > > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 > > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes > > d [10/Sep/2007:13:22:54 +0200] process_children() > > E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! > > D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... > > I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) > > d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 > > D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... > > > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > > > - -- > Dany CHOUINARD > Technicien en informatique -o) > Commission scolaire de l'Or et des Bois /\ > chouinard.dany at csob.qc.ca _\_v > > t??l. 819.825.4220 ext. 3041 > cel. 819.856.6892 > skype. dchouinard > courriel. chouinard.dany at csob.qc.ca > > <<<(((( ))))>>> > Ce document est sign?? num??riquement par GnuPG > http://www.gnupg.org/fr/index.html > Pour r??cup??rer ma clef publique, consultez mon > site internet : www.danychouinard.net/clef.asc > <<<(((( ))))>>> > > Vous connaissez http://www.linuxabitibi.org ? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFG5VsJa9/+BUSG+LQRAoLQAJsEKb/vIH/LoDhIgBkk+29MrgLHzwCgz8u9 > QIiXrUkaO8qBFWMWl4g608I= > =UAKN > -----END PGP SIGNATURE----- > From jsmeix at suse.de Tue Sep 11 06:28:17 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 11 Sep 2007 06:28:17 -0700 Subject: [cups.general] running OOo 2.2 as a CUPS filter In-Reply-To: <30464-cups.general@news.easysw.com> References: <30464-cups.general@news.easysw.com> Message-ID: <30499-cups.general@news.easysw.com> Hello, On Sep 8 08:10 Helge Blischke wrote (shortened): > In order to automate bulk printing of office documents > I managed to run OOo 2.2 (via a small wrapper written in Perl) > as a filter in CUPS. > > OOo is called from within the wrapper as > soffice -headless -display :n name_of_document > It may occur that the ordinary X display does not > work under lp as user due to authentification problems. > In that case it works with connecting to a display > provided by the Xvfb fake server. > > Now to the problem: > Though it usually requires some initial hacks to > get OOo properly initialized for user lp, it works > with most Linux distributions, but *not* on a > SUSe 8.2 system I don't have such a system running here and therefore I cannot reporoduce anything here at the moment. Perhaps you can provide more detailed (error)-mesages? E.g. the relevant part of CUPS' error_log in debug mode while your filter is executed or do a "su - lp" and then run only your OOo command to get OOo's (error)-mesages. 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 Sep 11 06:28:27 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 11 Sep 2007 06:28:27 -0700 Subject: ID CARD driver development In-Reply-To: <30497-cups.general@news.easysw.com> References: <30497-cups.general@news.easysw.com> Message-ID: <30500-cups.general@news.easysw.com> Premjo wrote: >> Premjo wrote: >>> ... >>> Yes i have. But how i can pass id card printer specific commands through cups? >> Write a filter program that converts CUPS raster data (application/ >> vnd.cups-raster) to the printer's language. Then create a PPD file >> that uses that filter. >> >> See the filter/rastertohp.c sources from CUPS and the CUPS DDK for >> more information on developing a raster driver. >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com >> Internet Printing and Publishing Software http://www.easysw.com > > Hi, > > How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. rastertohp.c is part of the CUPS sources. I suggested it over the DDK drivers because it is simpler to modify. The DDK provides the tools for creating PPD files, along with documentation on how to write a driver. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From joerg-schoemer at web.de Tue Sep 11 06:40:57 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 06:40:57 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30501-cups.general@news.easysw.com> Hi all, I want to add the peel-off print mode to the zebra.ppd within the Zebra ZPL II manual I found the values for the ^MM command as follows: ^MMa,b a = desired mode T = Tear-off P = Peel-off R = Rewind A = Applicator C = Cutter D = Delayed Cut default T b = prepeel select N = no Y = yes when sending a ~HS to the printer the possible values for the print mode are: 0: Rewind 1: Peel-off 2: Tear-off 3: Cutter 4: Applicator So I tried to change the CutMedia as follows: ---- snipp ---- *OpenUI *CutMedia/Print Mode: PickOne *OrderDependency: 10 AnySetup *Cut *DefaultPrintMode: peel *CutMedia rewind/Rewind: "<>setpagedevice" *CutMedia peel/Peel off: "<>setpagedevice" *CutMedia tear/Tear off: "<>setpagedevice" *CutMedia cutter/Cutter: "<>setpagedevice" *CutMedia delayed/Delayed cut: "<>setpagedevice" *CloseUI: *CutMedia ---- snipp ---- But I'd no success. Can someone give me a hint to solve it. Best regards Joerg From Christian.Andretzky at MB.TU-Chemnitz.DE Tue Sep 11 07:32:06 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Tue, 11 Sep 2007 07:32:06 -0700 Subject: [cups.general] Problems with HP LJ P2015 Message-ID: <30502-cups.general@news.easysw.com> Hi, I have a brand new printer HP LJ P2015 and I have problems with the page size and/or imageable area and or page region. I setup the printer as a postscript printer and use the original HP ppd file. (No ghostscript as far as I know.) All of the above mentioned parameters are set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in the printer firmware is also A4. But independent of this, each page which is printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this printer I used a HP LJ 4000 DTN (also postscript) with no problems. Any ideas? Thanks for Your help Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From joerg-schoemer at web.de Tue Sep 11 08:05:45 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 08:05:45 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30503-cups.general@news.easysw.com> >From the CUPS DDK I found out that the CutMedia is the wrong option. Can I add a new option to the Zebra.ppd as follows *OpenUI *PrintMode/Print Mode: PickOne *OrderDependency 20 AnySetup *^MM *DefaultPrintMode tear *PrintMode rewind/Rewind: "<>setpagedevice" *PrintMode peel/Peel off: "<>setpagedevice" *PrintMode tear/Tear off: "<>setpagedevice" *PrintMode cutter/Cutter: "<>setpagedevice" *PrintMode delayed/Delayed cut: "<>setpagedevice" *CloseUI: *PrintMode Best regards Joerg From joerg-schoemer at web.de Tue Sep 11 09:35:06 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 09:35:06 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30504-cups.general@news.easysw.com> > From the CUPS DDK I found out that the CutMedia is the wrong option. > Can I add a new option to the Zebra.ppd as follows > > *OpenUI *PrintMode/Print Mode: PickOne > *OrderDependency 20 AnySetup *^MM > *DefaultPrintMode tear > *PrintMode rewind/Rewind: "<>setpagedevice" > *PrintMode peel/Peel off: "<>setpagedevice" > *PrintMode tear/Tear off: "<>setpagedevice" > *PrintMode cutter/Cutter: "<>setpagedevice" > *PrintMode delayed/Delayed cut: "<>setpagedevice" > *CloseUI: *PrintMode > > Best regards > Joerg "^MM" doesn't work too, cupstestppd reports an error :-( From msweet at apple.com Tue Sep 11 10:01:22 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 11 Sep 2007 10:01:22 -0700 Subject: [cups.general] Zebra ZPL Peel-off In-Reply-To: <30504-cups.general@news.easysw.com> References: <30504-cups.general@news.easysw.com> Message-ID: <30505-cups.general@news.easysw.com> J?rg Sch?mer wrote: > ... > "^MM" doesn't work too, cupstestppd reports an error :-( You need to modify rastertolabel.c, and then pass the option through a page attribute so the driver can write out the appropriate command. That said, the current Zebra ZPL driver already supports the Peel off mode (zePrintMode=Peel). -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Tue Sep 11 14:09:48 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 11 Sep 2007 14:09:48 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30502-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> Message-ID: <30506-cups.general@news.easysw.com> Christian Andretzky wrote: > Hi, > I have a brand new printer HP LJ P2015 and I have problems with the page size > and/or imageable area and or page region. > I setup the printer as a postscript printer and use the original HP ppd file. > (No ghostscript as far as I know.) All of the above mentioned parameters are > set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in > the printer firmware is also A4. But independent of this, each page which is > printed has an imageable area of 8.19x10.67in (207.9x270.9mm) > Before this printer I used a HP LJ 4000 DTN (also postscript) with no problems. > > Any ideas? Hi, Christian :-) What's the output of this command: grep ImageableArea /etc/cups/ppd/is2127ps.ppd ?? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From edgar at muzikquest.co.uk Tue Sep 11 15:00:17 2007 From: edgar at muzikquest.co.uk (Edgar Klüsener) Date: Tue, 11 Sep 2007 15:00:17 -0700 Subject: Lexmark X2550 Message-ID: <30507-cups.general@news.easysw.com> This may be a very stupid question, but I'll ask it anyway. Lexmark is not known to be the most Linux-friendly printer manufacturer. But they seem to support MacOSX - and therefore probably CUPS- fairly well. Which makes me wonder: Could there be a chance that one can actually use Lexmark's MacOSX printer drivers in a Linux (CUPS)- environment? After all, MacOSX is just another *NIX. Or is it? The next question would then be: How could one make a MacOSX-driver work in a let's say Opensuse 10.2 environment? From sckwave at 126.com Tue Sep 11 23:47:59 2007 From: sckwave at 126.com (luck) Date: Tue, 11 Sep 2007 23:47:59 -0700 Subject: cupsd: Child exited with status 1! Message-ID: <30508-cups.general@news.easysw.com> I build cups for my arm-linux board use crosstool. I down all the file to my armlinux board. Run cupsd. print error "cupsd: Child exited with status 1! " why ? can someone help me? Bestregard From joerg-schoemer at web.de Tue Sep 11 23:50:39 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 23:50:39 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30509-cups.general@news.easysw.com> > > You need to modify rastertolabel.c, and then pass the option through > a page attribute so the driver can write out the appropriate command. > > That said, the current Zebra ZPL driver already supports the Peel off > mode (zePrintMode=Peel). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks a lot. From joerg-schoemer at web.de Tue Sep 11 23:55:31 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 23:55:31 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30510-cups.general@news.easysw.com> > You need to modify rastertolabel.c, and then pass the option through > a page attribute so the driver can write out the appropriate command. > > That said, the current Zebra ZPL driver already supports the Peel off > mode (zePrintMode=Peel). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > OK, my version was CUPS 1.1.22 now I'll upgrade to CUPS 1.3.0 From kssingvo at suse.de Wed Sep 12 01:22:00 2007 From: kssingvo at suse.de (Klaus Singvogel) Date: Wed, 12 Sep 2007 01:22:00 -0700 Subject: [cups.general] Lexmark X2550 In-Reply-To: <30507-cups.general@news.easysw.com> References: <30507-cups.general@news.easysw.com> Message-ID: <30511-cups.general@news.easysw.com> Edgar Kl??sener wrote: > This may be a very stupid question, but I'll ask it anyway. Lexmark > is not known to be the most Linux-friendly printer manufacturer. But > they seem to support MacOSX - and therefore probably CUPS- fairly > well. Which makes me wonder: Could there be a chance that one can > actually use Lexmark's MacOSX printer drivers in a Linux (CUPS)- > environment? After all, MacOSX is just another *NIX. Or is it? The > next question would then be: How could one make a MacOSX-driver work > in a let's say Opensuse 10.2 environment? I fear that it's not possible to do so. IIRC Max OS X is using a different subsystem to do the printout as Linux, and therefore the drivers for a OS X system cannot be used in a Linux system. Just keep in mind, that having a *NIX does not mean that this system is an OpenSource system. Several parts in the Mac OS X are still closed, unknown to us. Not talking about the Lexmark drivers themself, which might be another obstacle to get it working. Sorry, but to my knowledge I don't see any chances to implement your smart idea. Regards, Klaus. -- Klaus Singvogel SUSE LINUX Products GmbH Maxfeldstr. 5 E-Mail: Klaus.Singvogel at SuSE.de 90409 Nuernberg Phone: +49 (0) 911 740530 Germany GnuPG-Key-ID: 1024R/5068792D 1994-06-27 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From Christian.Andretzky at MB.TU-Chemnitz.DE Wed Sep 12 01:29:13 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Wed, 12 Sep 2007 01:29:13 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30506-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30512-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Christian Andretzky wrote: >> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >> page size and/or imageable area and or page region. I setup the printer as >> a postscript printer and use the original HP ppd file. (No ghostscript as >> far as I know.) All of the above mentioned parameters are set to A4 >> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >> printer firmware is also A4. But independent of this, each page which is >> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >> >> Any ideas? > > Hi, Christian :-) > > What's the output of this command: > > grep ImageableArea /etc/cups/ppd/is2127ps.ppd > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea definitions in the related ppd file of the printer. ;-) BTW, the PCFilename of this ppd file is hpc2015s.ppd. grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) *% ImageableArea *DefaultImageableArea: A4 *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" *ImageableArea LEGAL/Legal: "12.00 12.00 599.76 995.76" *ImageableArea EXECUTIVE/Executive: "12.00 12.00 509.76 743.76" *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" *ImageableArea ENV_10/Envelope #10: "12.00 12.00 284.64 671.76" *ImageableArea ENV_DL/Envelope DL: "12.00 12.00 299.52 611.28" *ImageableArea ENV_MONARCH/Envelope Monarch: "12.00 12.12 266.76 527.90" *ImageableArea ENV_B5/Envelope B5: "12.00 12.00 486.48 696.24" *ImageableArea A5/A5: "12.00 12.00 407.28 582.96" *ImageableArea A6/A6: "12.00 12.12 286.00 407.88" *ImageableArea B5/B5 (JIS): "12.00 12.00 503.52 716.16" *ImageableArea ENV_C5/Envelope C5: "12.00 12.00 446.88 636.72" *ImageableArea 16K_NEW/16K 7.75x10.75in.: "12.00 12.00 534.00 750.00" *ImageableArea 16K_184_260/16K 184x260 mm: "12.00 12.12 510.00 725.00" *ImageableArea 16K_195_270/16K 195x270 mm: "12.00 14.50 539.94 752.88" *ImageableArea B5_ISO/B5 (ISO): "12.00 12.00 486.48 696.24" *ImageableArea B6_ISO/B6 (ISO): "12.00 12.00 342.24 486.96" *ImageableArea POSTCARD_JIS/Postkarte JIS: "12.00 12.12 270.00 407.88" *ImageableArea DBL_JAPANESE_POSTCARD_ROTATED/Doppelte japanische Postkarte, gedreht: "12.00 12.00 405.54 554.00" *ImageableArea 8_5X13/8.5X13: "12.00 12.00 600.00 924.00" *ImageableArea A3/A3: "12.00 12.12 830.00 1179.00" *ImageableArea B4/B4 (JIS): "12.00 12.12 723.00 1026.00" *ImageableArea 8K/8K: "12.00 12.12 770.00 1110.00" *ImageableArea 11x17/11x17: "12.00 12.12 785.00 1218.00" *?ImageableArea: " In the CUPS Printer test page the values in the Box named 'Imageable Area' are: Page size: 8.19x10.67in (207.9x270.9mm), Lower-Left: 0.17x0.17in (4.2x4.3mm) Upper-Right: 8.35x10.83in (212.2x275.2mm) Cheers, Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From jsmeix at suse.de Wed Sep 12 01:54:31 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 01:54:31 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30506-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30513-cups.general@news.easysw.com> Hello, On Sep 11 14:09 Kurt Pfeifle wrote: > Christian Andretzky wrote: > > Hi, > > I have a brand new printer HP LJ P2015 and I have problems with the page size > > and/or imageable area and or page region. > > I setup the printer as a postscript printer and use the original HP ppd file. > > (No ghostscript as far as I know.) All of the above mentioned parameters are > > set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in > > the printer firmware is also A4. But independent of this, each page which is > > printed has an imageable area of 8.19x10.67in (207.9x270.9mm) How did you find out that the imageable area of "each page" is this? I.e. did you print a special kind of test page or how did you get the information of the imageable area values? For example if the YaST test page is printed, it expands itself automatically to fill up the whole imageable area of the PostScript interpreter because as a printer test page it shows intentionally the actual imageable area values of the PostScript interpreter (and not whatever imaged area of whatever filter). > What's the output of this command: > grep ImageableArea /etc/cups/ppd/is2127ps.ppd ImageableArea has no PostScript invocation value so that this information may not show why the printed imaged area is always 8.19x10.67in. Only PageSize and PageRegion have PostScript invocation values so that those settings could change something in the printer's PostScript interpreter. I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" from the newest HPLIP 2.7.7 here and therein I find for example a "HPPaperPolicy/Fit to Page" option which is by default set to "PromptUser" but there is also a "NearestSizeAdjust/Nearest Size and Scale" choice which could be the reason that the printer's PostScript interpreter always produces the same printed imaged area. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From un at get2net.dk Wed Sep 12 02:11:18 2007 From: un at get2net.dk (Ulrik Nielsen) Date: Wed, 12 Sep 2007 02:11:18 -0700 Subject: CUPS + HPLIP, missing file Message-ID: <30514-cups.general@news.easysw.com> Hi. I get this error from /var/log/cups/error_log when I try to print: Printer Filter "foomatic-rip" for printer "Officejet_7400" not available: No such file or directory Anyone who can help me? Thanks. /Ulrik From jsmeix at suse.de Wed Sep 12 02:14:04 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 02:14:04 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30515-cups.general@news.easysw.com> Hello, On Sep 12 10:29 Christian Andretzky wrote (shortened): > the PCFilename of this ppd file is hpc2015s.ppd. I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" from the newest HPLIP 2.7.7 here and therein the PCFilename is "HPP2015.PPD". > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) > Upper-Right: 8.35x10.83in (212.2x275.2mm) The CUPS printer test page determines the values of the whole imageable area of the PostScript interpreter. You may do something like echo "A4" | lp -d -o PageSize=A4 -o page-border=single and echo "A5" | lp -d -o PageSize=A5 -o page-border=single to check if the printer prints different according to the selected media size (regardless which paper size is actually loaded in the printer). 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 Wed Sep 12 02:42:30 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 02:42:30 -0700 Subject: [cups.general] CUPS + HPLIP, missing file In-Reply-To: <30514-cups.general@news.easysw.com> References: <30514-cups.general@news.easysw.com> Message-ID: <30516-cups.general@news.easysw.com> Hello, On Sep 12 02:11 Ulrik Nielsen wrote (shortened): > I get this error from /var/log/cups/error_log when I try to print: > Printer Filter "foomatic-rip" for printer "Officejet_7400" not available: > No such file or directory Install the package of your Linux distribution which contains this filter. E.g. in openSUSE /usr/bin/foomatic-rip and the link /usr/lib/cups/filter/foomatic-rip are in the RPM package "foomatic-filters". Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From danielfabiani at yahoo.es Wed Sep 12 04:48:05 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Wed, 12 Sep 2007 04:48:05 -0700 Subject: Problems printing through Samba Message-ID: <30517-cups.general@news.easysw.com> Hi, I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. Printing from the command line works. But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. Versions are: Samba 3.0.23 Cups 1.2.0 Here is the log, thanks a lot four your help. D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://10.0.0.1:631/ipp/" D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes d [10/Sep/2007:13:22:54 +0200] process_children() E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... From h.blischke at srz.de Wed Sep 12 05:58:02 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 12 Sep 2007 05:58:02 -0700 Subject: [cups.general] running OOo 2.2 as a CUPS filter In-Reply-To: <30499-cups.general@news.easysw.com> References: <30464-cups.general@news.easysw.com> <30499-cups.general@news.easysw.com> Message-ID: <30518-cups.general@news.easysw.com> Johannes Meixner wrote: > Hello, > > On Sep 8 08:10 Helge Blischke wrote (shortened): > >>In order to automate bulk printing of office documents >>I managed to run OOo 2.2 (via a small wrapper written in Perl) >>as a filter in CUPS. >> >>OOo is called from within the wrapper as >> soffice -headless -display :n name_of_document >>It may occur that the ordinary X display does not >>work under lp as user due to authentification problems. >>In that case it works with connecting to a display >>provided by the Xvfb fake server. >> >>Now to the problem: >>Though it usually requires some initial hacks to >>get OOo properly initialized for user lp, it works >>with most Linux distributions, but *not* on a >>SUSe 8.2 system > > > I don't have such a system running here and therefore I cannot > reporoduce anything here at the moment. > > Perhaps you can provide more detailed (error)-mesages? > E.g. the relevant part of CUPS' error_log in debug mode > while your filter is executed or do a "su - lp" and then > run only your OOo command to get OOo's (error)-mesages. > > > Kind Regards > Johannes Meixner The CUPS error_log shows: ---snip--- I [07/Sep/2007:18:49:58 +0200] Job 19 queued on 'local-print-to-file' by 'technik'. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/officetops (PID 5167) for job 19. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/oopstops (PID 5169) for job 19. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5170) for job 19. E [07/Sep/2007:18:50:01 +0200] PID 5170 stopped with status 1! I [07/Sep/2007:18:50:01 +0200] Hint: Try setting the LogLevel to "debug" to find out more. E [07/Sep/2007:18:50:01 +0200] [Job 19] Empty print file! I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/officetops (PID 5201) for job 19. I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/oopstops (PID 5202) for job 19. I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5203) for job 19. E [07/Sep/2007:18:50:06 +0200] PID 5203 stopped with status 1! I [07/Sep/2007:18:50:06 +0200] Hint: Try setting the LogLevel to "debug" to find out more. E [07/Sep/2007:18:50:06 +0200] [Job 19] Empty print file! ---snip--- What is quite weird is that OOo spits out an empty job to STDOUT, and the whole stuff is repeated infinitely. On the other hand, if I log in as user lp and issue the command (as posted previously) from the command line, I get a complete PostScript job to STDOUT. The passwd entry for user lp is: lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash And, BTW, the CUPS version is 1.1.18. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From Christian.Andretzky at MB.TU-Chemnitz.DE Wed Sep 12 06:22:40 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Wed, 12 Sep 2007 06:22:40 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30519-cups.general@news.easysw.com> Johannes Meixner wrote: > Hello, > > On Sep 11 14:09 Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, >>> I have a brand new printer HP LJ P2015 and I have problems with the page size >>> and/or imageable area and or page region. >>> I setup the printer as a postscript printer and use the original HP ppd file. >>> (No ghostscript as far as I know.) All of the above mentioned parameters are >>> set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in >>> the printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) > > How did you find out that the imageable area of "each page" is this? > I.e. did you print a special kind of test page or how did you get > the information of the imageable area values? > Hmm, I don't say, the imageable area _is_ the reason, I (would at least ;-) say one or more of the 3 parameters page size, page region and imageable area could be responsible for my problem. For testing I've used the CUPS test page which is accessible (for example) via web-interface on the cups server. The values I mentioned are from this page. This page also print a frame around the whole imageable area. The second one is that on normal printed pages the border (not printed area) seems to have the same size and location as on the test page. Especially the lower boundary > For example if the YaST test page is printed, it expands itself > automatically to fill up the whole imageable area of the PostScript > interpreter because as a printer test page it shows intentionally > the actual imageable area values of the PostScript interpreter > (and not whatever imaged area of whatever filter). > > >> What's the output of this command: >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd > > ImageableArea has no PostScript invocation value so that > this information may not show why the printed imaged area > is always 8.19x10.67in. > > Only PageSize and PageRegion have PostScript invocation values > so that those settings could change something in the printer's > PostScript interpreter. > > I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" > from the newest HPLIP 2.7.7 here and therein I find for example a > "HPPaperPolicy/Fit to Page" option which is by default set to "PromptUser" > but there is also a "NearestSizeAdjust/Nearest Size and Scale" choice > which could be the reason that the printer's PostScript interpreter > always produces the same printed imaged area. > Forget it all, it seems, my mistake was to use the original HP ppd, which is available on the install CD. I did this, because I thought it would be nice to have native (german) language support for the users, and I saw no other ppd file with german language support. In the past - at least - there was never a problem to do it in this way. All things now work as expected. Thanks for Your help Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From k1pfeifle at gmx.net Wed Sep 12 07:30:17 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 07:30:17 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30520-cups.general@news.easysw.com> Christian Andretzky wrote: > Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >>> page size and/or imageable area and or page region. I setup the printer as >>> a postscript printer and use the original HP ppd file. (No ghostscript as >>> far as I know.) Try grep cupsFilter /etc/cups/ppd/d238_lj.ppd to see which filter is used (if any). (No output means: the LJ P2015 works as a PostScript printer with this PPD). >>> All of the above mentioned parameters are set to A4 >>> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >>> printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >>> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >>> >>> Any ideas? >> Hi, Christian :-) >> >> What's the output of this command: >> >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd >> > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea > definitions in the related ppd file of the printer. ;-) right :-) > BTW, the PCFilename of this ppd file is hpc2015s.ppd. > > grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) > *% ImageableArea > *DefaultImageableArea: A4 > *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" [....] > *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" [....] Assuming you're printing A4.... This means: "the lower left corner of the imageable area is at coordinates (12 | 12.12)" "the upper right corner of the imageable area is at coordinates (581.64|829.68)" 72 units are 1 inch. 12 points are 1/6 = 0.1666 inch 582 points are 8.0333 inch 830 points are 11.5277 inch This means (after some degree of rounding): Lower-Left should be at 0.167x0.167in Upper-Right should be at 8.033x11.523in > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) match! > Upper-Right: 8.35x10.83in (212.2x275.2mm) no match! 8.35in is equivalent to 601 points 10.83in is equivalent to 779.76 points This looks more like the imageable area for "Letter"! Are you sure that there is now "-o PageSize=Letter" being used when you print? Look ~/.cups/lpoptions (CUPS 1.2+), ~/.lpoptions (CUPS 1.1.x) and /etc/cups/lpoptions. What is the output of grep -E "^\*DefaultRa|^\*DefaultIm" /etc/cups/ppd/d238_lj.ppd ?? In case this is a bug in CUPS, you should also tell us your the version you use. > Cheers, Christian Ciao, Kurt -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Wed Sep 12 07:30:18 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 07:30:18 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30521-cups.general@news.easysw.com> Christian Andretzky wrote: > Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >>> page size and/or imageable area and or page region. I setup the printer as >>> a postscript printer and use the original HP ppd file. (No ghostscript as >>> far as I know.) Try grep cupsFilter /etc/cups/ppd/d238_lj.ppd to see which filter is used (if any). (No output means: the LJ P2015 works as a PostScript printer with this PPD). >>> All of the above mentioned parameters are set to A4 >>> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >>> printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >>> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >>> >>> Any ideas? >> Hi, Christian :-) >> >> What's the output of this command: >> >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd >> > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea > definitions in the related ppd file of the printer. ;-) right :-) > BTW, the PCFilename of this ppd file is hpc2015s.ppd. > > grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) > *% ImageableArea > *DefaultImageableArea: A4 > *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" [....] > *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" [....] Assuming you're printing A4.... This means: "the lower left corner of the imageable area is at coordinates (12 | 12.12)" "the upper right corner of the imageable area is at coordinates (581.64|829.68)" 72 units are 1 inch. 12 points are 1/6 = 0.1666 inch 582 points are 8.0333 inch 830 points are 11.5277 inch This means (after some degree of rounding): Lower-Left should be at 0.167x0.167in Upper-Right should be at 8.033x11.523in > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) match! > Upper-Right: 8.35x10.83in (212.2x275.2mm) no match! 8.35in is equivalent to 601 points 10.83in is equivalent to 779.76 points This looks more like the imageable area for "Letter"! Are you sure that there is now "-o PageSize=Letter" being used when you print? Look ~/.cups/lpoptions (CUPS 1.2+), ~/.lpoptions (CUPS 1.1.x) and /etc/cups/lpoptions. What is the output of grep -E "^\*DefaultRa|^\*DefaultIm" /etc/cups/ppd/d238_lj.ppd ?? In case this is a bug in CUPS, you should also tell us your the version you use. > Cheers, Christian Ciao, Kurt -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From momoir at gmail.com Wed Sep 12 09:41:04 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 09:41:04 -0700 Subject: printing a job Message-ID: <30522-cups.general@news.easysw.com> Hi, I tried to switch to lprng in order to obtain number of pages for a print job, but I had no luck with it, so I switched back to cups again. This time I installed it from source instead of installing from apt-get. After successful installation of CUPS I made sure that everything is fine with printing. Then, I went to test/ subdirectory inside cups main directory and I found ipptest there. I believe ipptest should be the same as testipp as mentioned by Kurt previously. Then, I issued the following command to obtain number of pages for give print job. ./ipptest -v /var/spool/cups/c00046 | grep job-media-sheets-completed which returned: Unable to connect to on port 0 - No such file or directory Usage: ipptest [options] URL testfile [ ... testfileN ] Options: -i N Repeat the last test file once every N seconds. -v Show all attributes in response, even on success. I would like to mention that c00046 is a completed print job. Any idea what's wrong? > Mohammad wrote: > > > Knowing the number of pages after jobs are done is fine too. Is there any > > way to find it on command line? > > As I said -- no easy, direct way. No 'official' way either... > > But you can use the 'testipp' utility; this is probably not part of > the CUPS package provided by your distro -- you need to compile CUPS > yourself and get it from there (it will be built in the 'cups' sub- > directory). > > Then you can do (as root) > > /path/to/testipp /var/spool/cups/c00123 > > to see the IPP job attributes of job-id '123'. (You need to be root > because a normal user can't read the /var/spool/cups/ directory....) > > The attribute 'job-media-sheets-completed' is the number of printed > pages for that job. (If you print 4 copies of a 5-page document, you > will see '20'). > > /path/to/testipp /var/spool/cups/c00123 | grep job-media-sheets-completed > > CUPS does only count pages for jobs which are not printed as "raw". > For raw jobs, it will always count '1' page. > > > >> Mohammad wrote: > >>> Awesome. Thank you very much. > >>> > >>> Do you know how I can figure out how many pages were printed? > >> There is no easy, direct way to get the number of pages printed on > >> the commandline. > >> > >> As for the web interface -- that will only tell the number of pages > >> *after* the job is finished (i.e. not during the 'hold' state). > >> > >> If you need sophisticated print accounting for CUPS, then have a > >> look at www.pykota.com > >> > >>> Even in cups > >>> web interface it's written unknown in page number entry. > >>> > >>> > >>>> Mohammad wrote: > >>>> > >>>>> I have set up cups on my computer and it's working fine. I have change > >>>>> its setting so that it holds all print jobs coming to it. > >>>>> > >>>>> I can see all held jobs on CUPS web interface, but I would like to do > >>>>> that using command line. I would be glad if you let me know how I can > >>>>> print each job. > >>>>> > >>>>> I have tried lp -i job-id with no luck. > >>>> # list all held jobs from all queues: > >>>> lpstat -o > >>>> > >>>> # list jobs from a specific queue: > >>>> lpstat -o queuename > >>>> > >>>> # release a held job: > >>>> lp -i jobid -H resume > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany From msweet at apple.com Wed Sep 12 09:55:41 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 12 Sep 2007 09:55:41 -0700 Subject: [cups.general] printing a job In-Reply-To: <30522-cups.general@news.easysw.com> References: <30522-cups.general@news.easysw.com> Message-ID: <30523-cups.general@news.easysw.com> Mohammad wrote: > ... > Then, I went to test/ subdirectory inside cups main directory and I > found ipptest there. I believe ipptest should be the same as testipp > as mentioned by Kurt previously. Then, I issued the following command > to obtain number of pages for give print job. > ... ipptest is not the same as testipp. The testipp program is in the "cups" subdirectory. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From momoir at gmail.com Wed Sep 12 10:41:09 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 10:41:09 -0700 Subject: printing a job Message-ID: <30524-cups.general@news.easysw.com> I just had a look inside cups sub directory. I couldn't find anything like ipptest. ls i* returns following files: i18n.h ipp.c ipp.h ipp.o ipp-private.h ipp-support.c ipp-support.o I just installed cups-1.3.0 from source. But I didn't specify any option when compiling it. Can it be the cause of problem? > Mohammad wrote: > > ... > > Then, I went to test/ subdirectory inside cups main directory and I > > found ipptest there. I believe ipptest should be the same as testipp > > as mentioned by Kurt previously. Then, I issued the following command > > to obtain number of pages for give print job. > > ... > > ipptest is not the same as testipp. The testipp program is in the > "cups" subdirectory. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From momoir at gmail.com Wed Sep 12 10:45:18 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 10:45:18 -0700 Subject: printing a job (Ignore Previous Post) Message-ID: <30525-cups.general@news.easysw.com> Please ignore previous post. I made a stupid mistake in it. > I just had a look inside cups sub directory. I couldn't find anything like ipptest. > > ls i* returns following files: > i18n.h ipp.c ipp.h ipp.o ipp-private.h ipp-support.c ipp-support.o > > I just installed cups-1.3.0 from source. But I didn't specify any option when compiling it. Can it be the cause of problem? > > > Mohammad wrote: > > > ... > > > Then, I went to test/ subdirectory inside cups main directory and I > > > found ipptest there. I believe ipptest should be the same as testipp > > > as mentioned by Kurt previously. Then, I issued the following command > > > to obtain number of pages for give print job. > > > ... > > > > ipptest is not the same as testipp. The testipp program is in the > > "cups" subdirectory. > > > > -- > > ______________________________________________________________________ > > Michael R Sweet Senior Printing System Engineer > > > From pvanguardia at gmail.com Wed Sep 12 13:14:57 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Wed, 12 Sep 2007 13:14:57 -0700 Subject: Child exited signal 11 Message-ID: <30526-cups.general@news.easysw.com> Hi, My cups server cannot be restarted and checking log with Loglevel debug2 doesnt seem to help, viewing my server logs shows (cupsd), uid 0; child exited signal 11 anyone know how can i fixed this? also running cupsd -f giving me (Sergmentation fault) anyone know how can i fix it? Regards, Patrick From till.kamppeter at gmail.com Wed Sep 12 14:26:34 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Wed, 12 Sep 2007 14:26:34 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers Message-ID: <30527-cups.general@news.easysw.com> Hi, I have written a small Perl program around the command line "avahi-browse -k -t -v -r -a" to be run as a CUPS backend to discover network printers. It is used the same way as the "snmp" backend. You put it into /usr/lib/cups/backend/ and make it executable. The whenever a printer setup tool asks CUPS to look for available printers (or if you call "lpinfo -v") the program gets called and CUPS will list the discovered printers. As it does fairly the same as "snmp" but only based on another method you can deactivate "snmp" via chmod -x /usr/lib/cups/backend/snmp and avoid duplicate results. You can also have both running to get a more reliable scan including old printers not supporting DNS-SD and newer cheap printers (like the HP LaserJet 2600n) not supporting SNMP. The backend also reports make/model info so that printer setup tools can auto-select PPDs/drivers. In addition, it even discovers the PDLs of the printers, this way printer setup tools can react muchg more intelligently on unknown printer models, assigning PPDs like "Generic PCL-6/XL printer", and so the unknown printer "just works", too. If a printer has more that one access protocol, the highest priority is on socket, after that LPD, and IPP at last. To avoid discovering the print queues of CUPS 1.3.x servers as IPP printers every result on IPs which also appear as a computer are discarded. If a printer has more than one port for TCP/Socket or more than one internal queue for LPD or IPP, all ports/queues get listed. In my small network (2 comnputers, 3 network printers) there are no visible speed differences. Please report your experience in big networks. Here is the tool (License: GPL) for download: http://www.openprinting.org/download/printing/dnssd Needs Perl and Avahi. I want to ask all of you to test this tool and compare it with the SNMP backend, especially in big networks and with non-HP printers. - Is it faster? - Is it more reliable (same results on repeated calls)? - Does it discover more printers? - Does it hang on certain printer models? Thank you in advance for every test report. Till From k1pfeifle at gmx.net Wed Sep 12 14:42:44 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 14:42:44 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discovernetwork printers In-Reply-To: <30527-cups.general@news.easysw.com> References: <30527-cups.general@news.easysw.com> Message-ID: <30528-cups.general@news.easysw.com> Till Kamppeter wrote: > In my small network (2 comnputers, 3 network printers) there are no > visible speed differences. Speed differences between which and what? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Wed Sep 12 14:47:57 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 14:47:57 -0700 Subject: Child exited signal 11 In-Reply-To: <30526-cups.general@news.easysw.com> References: <30526-cups.general@news.easysw.com> Message-ID: <30529-cups.general@news.easysw.com> Patrick Vanguardia wrote: > My cups server cannot be restarted and checking log with Loglevel > debug2 doesnt seem to help, viewing my server logs shows (cupsd), > uid 0; child exited signal 11 anyone know how can i fixed this? also > running cupsd -f giving me (Sergmentation fault) anyone know how can > i fix it? A first small step is to include at least your version of CUPS, your OS, who built your packages how ("I built myself from sources"). Next, the cupsd.config sometimes gives a hint (it may be misconfigured). Then, a log extract that is longer than 1 line (but we don't want 1 MByte long either!) -- sometimes LogLevel debug is good enough. Start from an empty error_log, don't connect your ethernet cable to not get "noise" from remote browse packages, for example... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From till.kamppeter at gmail.com Wed Sep 12 14:53:31 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Wed, 12 Sep 2007 14:53:31 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discovernetwork printers In-Reply-To: <30528-cups.general@news.easysw.com> References: <30527-cups.general@news.easysw.com> <30528-cups.general@news.easysw.com> Message-ID: <30530-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Till Kamppeter wrote: > >> In my small network (2 comnputers, 3 network printers) there are no >> visible speed differences. > > Speed differences between which and what? > "snmp" backend and "dnssd" backend. Till From wpieong at umac.mo Wed Sep 12 19:55:51 2007 From: wpieong at umac.mo (Alex) Date: Wed, 12 Sep 2007 19:55:51 -0700 Subject: Setting SMB printer using Kerberos? Message-ID: <30531-cups.general@news.easysw.com> When setting up a SMB printer in CUPS, it usually take the forms smb://username:password at server/printer, Is it possible to omit the username:password and instruct CUPS to use kerberos authentication(which had been set up via login) each time a print job is submitted? From mike at easysw.com Wed Sep 12 21:28:49 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 21:28:49 -0700 Subject: Setting SMB printer using Kerberos? In-Reply-To: <30531-cups.general@news.easysw.com> References: <30531-cups.general@news.easysw.com> Message-ID: <30532-cups.general@news.easysw.com> Alex wrote: > When setting up a SMB printer in CUPS, it usually take the forms > > smb://username:password at server/printer, > > Is it possible to omit the username:password and instruct CUPS to use kerberos authentication(which had been set up via login) each time a print job is submitted? With CUPS 1.3 and the current Kerberos and Samba releases, yes. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From k1pfeifle at gmx.net Thu Sep 13 03:56:34 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 13 Sep 2007 03:56:34 -0700 Subject: Setting SMB printer using Kerberos? In-Reply-To: <30532-cups.general@news.easysw.com> References: <30531-cups.general@news.easysw.com> <30532-cups.general@news.easysw.com> Message-ID: <30533-cups.general@news.easysw.com> Michael Sweet wrote: > Alex wrote: >> When setting up a SMB printer in CUPS, it usually take the forms >> >> smb://username:password at server/printer, >> >> Is it possible to omit the username:password and instruct CUPS to use >> kerberos authentication(which had been set up via login) each time a >> print job is submitted? > > With CUPS 1.3 and the current Kerberos and Samba releases, yes. > Also, there is the binary "kerberizing" wrapper around smbspool that was written by Jeremy Alison some time ago. It runs smbspool with the original calling UID. This should work even with *older* versions of CUPS too. In SUSE, the package name is "samba-krb-printing". -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From morger at olmero.ch Thu Sep 13 07:36:31 2007 From: morger at olmero.ch (Philipp Morger) Date: Thu, 13 Sep 2007 07:36:31 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) Message-ID: <30534-cups.general@news.easysw.com> Hi Kurt I was now able to print on a HP2430 as well as a 4650HDN with trayswitching via Windows/Winword, though no success via Linux/OO. Therefore I tend to agree that there is actually a bug in OO, but I have to dig a little bit more to claim such a thing. Though, I'm not able to accomplish the same on a Xerox DP N4525... regards Philipp From h.blischke at srz.de Thu Sep 13 07:52:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 13 Sep 2007 07:52:31 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) In-Reply-To: <30534-cups.general@news.easysw.com> References: <30534-cups.general@news.easysw.com> Message-ID: <30535-cups.general@news.easysw.com> Philipp Morger wrote: > Hi Kurt > > I was now able to print on a HP2430 as well as a 4650HDN with trayswitching via Windows/Winword, though no success via Linux/OO. Therefore I tend to agree that there is actually a bug in OO, but I have to dig a little bit more to claim such a thing. > > Though, I'm not able to accomplish the same on a Xerox DP N4525... > > regards > Philipp See my recent post on this topic (OOo bug). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From momoir at gmail.com Thu Sep 13 11:48:00 2007 From: momoir at gmail.com (Mohammad) Date: Thu, 13 Sep 2007 11:48:00 -0700 Subject: filter for displaying number of pages for each print job Message-ID: <30536-cups.general@news.easysw.com> I'm wondering if there exists any filter for CUPS that can obtain number of pages that are going to be printed for each print job. I have used testipp to receive that number, but I found out that command returns such value from printer itself. So if somebody is going to print 100 pages, it takes a lot of time for testipp command to show the number of printed pages. What I need is a way to get the number of pages immediately after releasing jobs or even better if they are still held. Thanks From darrel at lantera.com Thu Sep 13 12:27:31 2007 From: darrel at lantera.com (Darrel) Date: Thu, 13 Sep 2007 12:27:31 -0700 Subject: DeviceURI Message-ID: <30537-cups.general@news.easysw.com> Maybe it's just me .... but everywhere I read about "deviceURI" it seems to be written BY people who are intimate with it and FOR people who are intimate with it and, apparently, the rest of us should just sit back and not bother anyone. I DO NOT want to see examples for flow control written as "flow=soft" or "flow=dsrdtr" AS IF .... everyone in the entire world is familiar with what is, apparently yet ANOTHER new syntax. Yet try as I might, Google has been unable to find me a hard document that states unequivically ... THIS is what a DeviceURI is .. THIS is the syntax for using it and THESE are the supported options and what they mean and THIS is how you specify a negative option (-ocuc) etc. Is there such a document and Google can't find it? From alet at librelogiciel.com Thu Sep 13 12:39:49 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Thu, 13 Sep 2007 12:39:49 -0700 Subject: filter for displaying number of pages for each print job Message-ID: <30538-cups.general@news.easysw.com> > I'm wondering if there exists any filter for CUPS that can obtain number of pages that are going to be printed for each print job. > > I have used testipp to receive that number, but I found out that command > returns such value from printer itself. So if somebody is going to print > 100 pages, it takes a lot of time for testipp command to show the number > of printed pages. What I need is a way to get the number of pages > immediately after releasing jobs or even better if they are still held. See http://www.pykota.com/software/pkpgcounter/ which is used by both the PyKota and JASmine print accounting software. From msweet at apple.com Thu Sep 13 12:47:23 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 13 Sep 2007 12:47:23 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30537-cups.general@news.easysw.com> References: <30537-cups.general@news.easysw.com> Message-ID: <30539-cups.general@news.easysw.com> Darrel wrote: > ... > THIS is what a DeviceURI is .. > THIS is the syntax for using it and > THESE are the supported options and what they mean and > THIS is how you specify a negative option (-ocuc) etc. > > Is there such a document and Google can't find it? The CUPS book covers device URIs fairly extensively, and you'll find documentation on the network devices in the on-line help: http://localhost:631/ Normally you don't have to mess with serial, parallel, and USB device URIs because the web interface and various GUIs provide pull-downs for each of the options available for the device. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Thu Sep 13 13:30:11 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Thu, 13 Sep 2007 13:30:11 -0700 Subject: Child exited signal 11 Message-ID: <30540-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > > My cups server cannot be restarted and checking log with Loglevel > > debug2 doesnt seem to help, viewing my server logs shows (cupsd), > > uid 0; child exited signal 11 anyone know how can i fixed this? also > > running cupsd -f giving me (Sergmentation fault) anyone know how can > > i fix it? > > A first small step is to include at least your version of CUPS, your > OS, who built your packages how ("I built myself from sources"). > > Next, the cupsd.config sometimes gives a hint (it may be misconfigured). > > Then, a log extract that is longer than 1 line (but we don't want 1 > MByte long either!) -- sometimes LogLevel debug is good enough. Start > from an empty error_log, don't connect your ethernet cable to not get > "noise" from remote browse packages, for example... > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi Im using FreeBSD 6.2-Stable and installed these packages from ports cups-base-1.2.11_2 cups-pstoraster-8.15.4_1 cups-samba-6.0 cups-smb-backend-1.0 and for my configuration LogLevel debug SystemGroup wheel #MaxLogsize 0 # Allow remote access Port 631 Listen *:631 PreserveJobHistory Yes #Listen /var/run/cups.sock # Share local printers on the local network. #Browsing On BrowseOrder allow,deny BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Allow from All Encryption Required Order allow,deny Allow @LOCAL Allow All AuthType Basic Require user @SYSTEM Order allow,deny Allow @LOCAL Allow All Require user @OWNER @SYSTEM @LOCAL Order deny,allow AuthType Basic Require user @SYSTEM @LOCAL @OWNER Order deny,allow Require user @OWNER @SYSTEM @LOCAL Order deny,allow Order deny,allow then my error_log shows this I [14/Sep/2007:04:28:18 +0800] Loaded configuration file "/usr/local/etc/cups/cupsd.conf" I [14/Sep/2007:04:28:18 +0800] Using default TempDir of /var/spool/cups/tmp... I [14/Sep/2007:04:28:18 +0800] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [14/Sep/2007:04:28:18 +0800] Configured for up to 100 clients. I [14/Sep/2007:04:28:18 +0800] Allowing up to 100 client connections per host. I [14/Sep/2007:04:28:18 +0800] Using policy "default" as the default! I [14/Sep/2007:04:28:18 +0800] Full reload is required. I [14/Sep/2007:04:28:18 +0800] Loaded MIME database from '/usr/local/etc/cups': 34 types, 38 filters... D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1081... <-- my classes D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1143... D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1431... D [14/Sep/2007:04:28:18 +0800] Loading class adc1-194... Thanks in advance From darrel at lantera.com Thu Sep 13 14:17:03 2007 From: darrel at lantera.com (Darrel) Date: Thu, 13 Sep 2007 14:17:03 -0700 Subject: DeviceURI Message-ID: <30541-cups.general@news.easysw.com> > Darrel wrote: > > ... > > THIS is what a DeviceURI is .. > > THIS is the syntax for using it and > > THESE are the supported options and what they mean and > > THIS is how you specify a negative option (-ocuc) etc. > > > > Is there such a document and Google can't find it? > > The CUPS book covers device URIs fairly extensively, and you'll find > documentation on the network devices in the on-line help: > > http://localhost:631/ > > Normally you don't have to mess with serial, parallel, and USB device > URIs because the web interface and various GUIs provide pull-downs for > each of the options available for the device. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thank you for trying to help. Saying that localhost:631 has Help screens is like saying that all of Shakespear's plays are in the Dictionary if you read the words in the right order. I'm sure it is there... and it's probably obvious .. perhaps even PAINFULLY obvious to you .... because you already know the answer and you know WHERE to look for more info. For the rest of us, you've made a club that we need to get into in order to learn the secret handshake but we can't get INTO the club unless we already know it. THIS is the sum total of the documentation on DeviceURI that is available to those of us that only know to look underthe HEADING "deviceURI" Example: DeviceURI: socket://foo.bar.com:9100 From msweet at apple.com Thu Sep 13 14:28:48 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 13 Sep 2007 14:28:48 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30541-cups.general@news.easysw.com> References: <30541-cups.general@news.easysw.com> Message-ID: <30542-cups.general@news.easysw.com> Darrel wrote: >> Darrel wrote: >>> ... >>> THIS is what a DeviceURI is .. >>> THIS is the syntax for using it and >>> THESE are the supported options and what they mean and >>> THIS is how you specify a negative option (-ocuc) etc. >>> >>> Is there such a document and Google can't find it? >> The CUPS book covers device URIs fairly extensively, and you'll find >> documentation on the network devices in the on-line help: >> >> http://localhost:631/ >> >> Normally you don't have to mess with serial, parallel, and USB device >> URIs because the web interface and various GUIs provide pull-downs for >> each of the options available for the device. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > Thank you for trying to help. > Saying that localhost:631 has Help screens is like saying that all of Shakespear's plays are in the Dictionary if you read the words in the right order. I'm sure it is there... and it's probably obvious .. perhaps even PAINFULLY obvious to you .... because you already know the answer and you know WHERE to look for more info. For the rest of us, you've made a club that we need to get into in order to learn the secret handshake but we can't get INTO the club unless we already know it. > > THIS is the sum total of the documentation on DeviceURI that is available to those of us that only know to look underthe HEADING "deviceURI" > ... Look under the Using Network Printers document in Getting Started: http://localhost:631/help/network.html -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From ianc at kiwiplan.co.nz Thu Sep 13 18:12:48 2007 From: ianc at kiwiplan.co.nz (Ian) Date: Thu, 13 Sep 2007 18:12:48 -0700 Subject: EPSON 1520 lineflow printer Message-ID: <30543-cups.general@news.easysw.com> Hi, We have an Epson Stylus Color 1520 configured to use CUPS+Gutenprint v5.0.0.99.1. This printer is using lineflow paper (279mmX375mm). What paper type can I use to use the whole sheet when printing? I've also tried configuring it as a "raw" printer - which works fine, but doesn't send a form-feed. I know I can change the file being printed to add a \f - but this printer is being used from many machines - is there any way I can force it to form-feed when using raw? Regards, Ian. From jsmeix at suse.de Fri Sep 14 00:36:48 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 14 Sep 2007 00:36:48 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30537-cups.general@news.easysw.com> References: <30537-cups.general@news.easysw.com> Message-ID: <30544-cups.general@news.easysw.com> Hello, On Sep 13 12:27 Darrel wrote (shortened): > ... but everywhere I read about "deviceURI" it > seems to be written BY people who are intimate with it > and FOR people who are intimate with it To a certain extent it is true on this mailing list. Perhaps in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell the section "The Backends" might help you if you are looking only for a concise introduction. > THIS is what a DeviceURI is .. > THIS is the syntax for using it and > THESE are the supported options and what they mean and > THIS is how you specify a negative option (-ocuc) etc. For the exact details you may read the matching RFCs, see http://www.cups.org/documentation.php and for example http://www.ietf.org/rfc/rfc3986.txt Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From k1pfeifle at gmx.net Fri Sep 14 03:24:45 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 14 Sep 2007 03:24:45 -0700 Subject: Child exited signal 11 In-Reply-To: <30540-cups.general@news.easysw.com> References: <30540-cups.general@news.easysw.com> Message-ID: <30545-cups.general@news.easysw.com> Patrick Vanguardia wrote: > Port 631 > Listen *:631 Misconfiguration! Delete one of these lines. Each tells cupsd to bind to port 631 each IP address, and the effect is cupsd tries to do it *twice*. But it is only possible once. (your error_log extract looks like it started up fully though?) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mike at easysw.com Fri Sep 14 14:47:43 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 14 Sep 2007 14:47:43 -0700 Subject: Common UNIX Printing System 1.3.1 Message-ID: <135-cups.announce@news.easysw.com> CUPS 1.3.1 is now available for download from www.cups.org and fixes some build, localization, binary PostScript, and Kerberos issues. Fixes include: * Documentation updates. * The USB backend on Mac OS X could hang if the driver and printer did not match. * Delegated Kerberos credentials were not working. * "make distclean" incorrectly removed the edit-config.tmpl files (STR #2508) * Fix compile problem on HP-UX (STR #2501) * The cupstestppd utility now tests for resolutions greater than 99999 DPI to detect a missing "x" between the X and Y resolutions. * Fixed many problems in the various translations and added a new "checkpo" utility to validate them. * The cupstestppd utility now tests the custom page size code for CUPS raster drivers. * cupsLangDefault() did not attempt to return a language that was supported by the calling application. * If a remote printer stopped while a job was being sent, the local queue would also get stopped and the job re-queued, resulting in duplicate prints in some cases. * A few Apple-specific job options needed to be omitted when printing a banner page. * The new peer credential support did not compile on FreeBSD (STR #2495) * Direct links to help files did not set the current section so the table-of-contents was not shown. * The configure script did not support --localedir=foo (STR #2488) * The backends were not displaying their localized messages. * CUPS-Authenticate-Job did not require Kerberos authentication on queues protected by Kerberos. * The Zebra ZPL driver did not work with Brady label printers (STR #2487) * Norwegian wasn't localized on Mac OS X. * getnameinfo() returns an error on some systems when DNS is not available, leading to numerous problems (STR #2486) * The cupsfilter command did not work properly on Mac OS X. * The scheduler makefile contained a typo (STR #2483) * The TBCP and BCP port monitors did not handle the trailing CTRL-D in some PostScript output properly. * Fixed the localization instructions and German template for the "Find New Printers" button (STR #2478) * The web interface did not work with the Chinese localization (STR #2477) * The web interface home page did not work for languages that were only partially localized (STR #2472) * Updated the Spanish web interface localization (STR #2473) * ppdLocalize() did not work for country-specific localizations. Enjoy! From a.ramos at mac.com Fri Sep 14 21:06:41 2007 From: a.ramos at mac.com (AlanR) Date: Fri, 14 Sep 2007 21:06:41 -0700 Subject: Building 131 Message-ID: <30546-cups.general@news.easysw.com> Good day, I've downloaded the source with intention to build from a system running Mac OS X 10.4.10 on a Macbook Pro 2.4Ghz w/4GB RAM. I am using XCodes GCC package which is standard. I've installed from source EPM and also successfully ./configure (d) cups1.3.1. I can go through the Make routine but when it comes to the MAKE OSX (to produce the OS X package files for 1.3.1) it fails every time with the following: make osx ESP Package Manager v4.1 Copyright 1999-2007 by Easy Software Products. EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details see the GNU General Public License in the file COPYING or at "http://www.fsf.org/gpl.html". Report all problems to "epm at easysw.com". Searching for product information... epm: Unable to open directory "templates/de" - No such file or directory epm: Unable to open directory "templates/es" - No such file or directory epm: Unable to open directory "templates/et" - No such file or directory epm: Unable to open directory "templates/fr" - No such file or directory epm: Unable to open directory "templates/he" - No such file or directory epm: Unable to open directory "templates/it" - No such file or directory epm: Unable to open directory "templates/ja" - No such file or directory epm: Unable to open directory "templates/pl" - No such file or directory epm: Unable to open directory "templates/sv" - No such file or directory epm: Unable to open directory "templates/zh_TW" - No such file or directory epm: Unable to open directory "doc/de" - No such file or directory epm: Unable to open directory "doc/es" - No such file or directory epm: Unable to open directory "doc/et" - No such file or directory epm: Unable to open directory "doc/fr" - No such file or directory epm: Unable to open directory "doc/he" - No such file or directory epm: Unable to open directory "doc/it" - No such file or directory epm: Unable to open directory "doc/ja" - No such file or directory epm: Unable to open directory "doc/pl" - No such file or directory epm: Unable to open directory "doc/sv" - No such file or directory epm: Unable to open directory "doc/zh_TW" - No such file or directory Stripping executables in distribution... epm: Unable to open file "systemv/cancel" for destination "/usr/bin/cancel" - No such file or directory make: *** [osx] Error 1 Now the kicker here is that if I download the source for version 1.3 and do the same I am given the binary package I desire with no errors. I have to assume that EPM is functioning as 1.3 completes and 1.3.1 has the problem. I am no developer so I couldn't begin to give you all the right information without being asked for it- if there is anything I can add that might help please just let me know what to give you. Has anyone else had problems building 1.3.1 for OS X besides me? From qoole33 at msn.com Sat Sep 15 08:23:44 2007 From: qoole33 at msn.com (Alex Matthews) Date: Sat, 15 Sep 2007 08:23:44 -0700 Subject: Cups settings from samba Message-ID: <30548-cups.general@news.easysw.com> Hi there, I have a new sparkling colour laserprinter at the school where I work, and they want to setup a 'print-release' system on their computer network, so that anyone can send a job to the printer but it immediately gets held and can only be released by a teacher. I tried setting the "job-hold-until=infinite" with lpoptions for the printer, but samba seems to ignore this, or bypass it. lpoptions exceprt: Default job-hold-until=indefinite In the smb.conf I have set "job-hold-until=infinite" in the cups options setting. Problem is, this of course, means all printers have this print-release system, not what I wanted at all. Can anyone advise me as to where I'm going wrong? Thanks, Alex From networksecurity at verizon.net Sat Sep 15 21:15:54 2007 From: networksecurity at verizon.net (Steve) Date: Sat, 15 Sep 2007 21:15:54 -0700 Subject: cups encryption error Message-ID: <30549-cups.general@news.easysw.com> So I came across this post in my Bookmarks and figured I'd post a follow up with a link to my complete solution. http://ubuntuforums.org/showthread.php?t=447129 Hope this helps someone. From premjo.elias at gmail.com Sun Sep 16 00:09:19 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 16 Sep 2007 00:09:19 -0700 Subject: ID CARD driver development Message-ID: <30550-cups.general@news.easysw.com> > Premjo wrote: > >> Premjo wrote: > >>> ... > >>> Yes i have. But how i can pass id card printer specific commands through cups? > >> Write a filter program that converts CUPS raster data (application/ > >> vnd.cups-raster) to the printer's language. Then create a PPD file > >> that uses that filter. > >> > >> See the filter/rastertohp.c sources from CUPS and the CUPS DDK for > >> more information on developing a raster driver. > >> > >> -- > >> ______________________________________________________________________ > >> Michael Sweet, Easy Software Products mike at easysw dot com > >> Internet Printing and Publishing Software http://www.easysw.com > > > > Hi, > > > > How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. > > rastertohp.c is part of the CUPS sources. I suggested it over the > DDK drivers because it is simpler to modify. > > The DDK provides the tools for creating PPD files, along with > documentation on how to write a driver. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com Hi, I am really appreciate for your prompt reply. i am new on this area? How do i can prepare PPD files for the printer?, The vendor doesn't have PPD files. They have only windows driver. premjo From k1pfeifle at gmx.net Sun Sep 16 08:40:55 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 16 Sep 2007 08:40:55 -0700 Subject: Cups settings from samba In-Reply-To: <30548-cups.general@news.easysw.com> References: <30548-cups.general@news.easysw.com> Message-ID: <30551-cups.general@news.easysw.com> Alex Matthews wrote: > I have a new sparkling colour laserprinter at the school where I work, > and they want to setup a 'print-release' system on their computer network, > so that anyone can send a job to the printer but it immediately gets held > and can only be released by a teacher. > > I tried setting the "job-hold-until=infinite" with lpoptions for the > printer, but samba seems to ignore this, or bypass it. Which version of Samba? Which version of CUPS? Which print-related settings in Samba? (Run 'testparm -sv | grep -E "lp|cups|print|spool|driver"') Which setup for the target printer in printers.conf ? > lpoptions exceprt: > > Default job-hold-until=indefinite Does it help to insert the line "Option job-hold-until indefinite" to your printers.conf section for the printer? Like this: ... Option job-hold-until indefinite -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Sun Sep 16 15:46:24 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Sun, 16 Sep 2007 15:46:24 -0700 Subject: Child exited signal 11 Message-ID: <30552-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > > Port 631 > > Listen *:631 > > Misconfiguration! > > Delete one of these lines. Each tells cupsd to bind to port 631 each IP > address, and the effect is cupsd tries to do it *twice*. But it is only > possible once. > > > (your error_log extract looks like it started up fully though?) > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi, I already saw the error and it was in spool, when i deleted all of those it runs again. Any idea? Thanks From k1pfeifle at gmx.net Sun Sep 16 16:40:13 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 16 Sep 2007 16:40:13 -0700 Subject: Child exited signal 11 In-Reply-To: <30552-cups.general@news.easysw.com> References: <30552-cups.general@news.easysw.com> Message-ID: <30553-cups.general@news.easysw.com> Patrick Vanguardia wrote: >> Patrick Vanguardia wrote: >> >>> Port 631 >>> Listen *:631 >> Misconfiguration! >> >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP >> address, and the effect is cupsd tries to do it *twice*. But it is only >> possible once. >> >> >> (your error_log extract looks like it started up fully though?) >> >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > Hi, > > I already saw the error and it was in spool, when i deleted all of > those it runs again. Any idea? Sorry? I don't understand what you are trying to say... *Which* error did you see*? *What* was in "spool"? *Which* spool? *What* did you delete? What do you ask for if "it runs again"? > Thanks -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From john at vector.os2.dhs.org Sun Sep 16 21:05:11 2007 From: john at vector.os2.dhs.org (John Thompson) Date: Sun, 16 Sep 2007 21:05:11 -0700 Subject: Communication with remote printer Message-ID: <30554-cups.general@news.easysw.com> I have a small network sharing a printer through a stand-alone print server. All machines use cups to manage printing via IPP, and they all work well except one machine never manages to clear the print queue after completing a job. Could this be a network related problem given that the other machines have no problem? A blocked port from a firewall perhaps? -- John (john at os2.dhs.org) From premjo.elias at gmail.com Mon Sep 17 00:33:09 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 17 Sep 2007 00:33:09 -0700 Subject: Card Printer Driver Developement Message-ID: <30555-cups.general@news.easysw.com> Dear Sir, Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? premjo From lukast at ifh.de Mon Sep 17 04:39:28 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Mon, 17 Sep 2007 04:39:28 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail on Xerox Phaser 6350 Message-ID: <30556-cups.general@news.easysw.com> Hi there, I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. I have several HP and Xerox printers installed and running without major problems. One of the Xerox printers is a Phaser 6350DX. I've installed the latest Xerox-drivers for WinXP in samba, and used this drivers ppd to set up the Printer in cups. Both, Windows and Linux printing work fine. Here comes the Problem: When printing Ascii from a Kde or Gnome Desktop, the texttops is not used because gnome-print generates the postscript code. This works fine, but AFTER printing from Kde or Gnome, It is not possible to print from a Windows Client on this printer. The Bannerpage is printed correctly, but afterwards a error message is printed instead of the printfile. The error Message depends on the Desktop I used, but is always the same for each Desktop: KDE: ERROR: stackunderflow OFFENDING COMMAND: exch STACK: \h and for Gnome: ERROR: typecheck OFFNEDING COMMAND: setdash STACK: 21690 \lucas I repeat: The bannerpage is printed correctly, and there are no problems printing from linux. To make Windows users able to print again, I have to restart the printer. After restarting, Windows clients are able to print again, until somebody prints from Kde or Gnome. I already tried a different Driver for Windows and a alternate ppd for linux, without success. The problem also occurs, if I disable raw-printing from Windows, so that the data is processed by pstops before it is printed. Im not 100% sure, but I think this problem did not occur before updating to Cups version 1.3. I will set up an alternate Cups server with cups 1.2.4 (the version I used before) to verify this. Has anyone an idea what to do? I would be happy, if only I knew weather this is a Windows, Gnome, Kde or Cups problem. Thanks a lot Lukas PS: I did not attach logs, because this error can not be seen in the logs, even with a high debugevel. From h.blischke at srz.de Mon Sep 17 05:20:47 2007 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 17 Sep 2007 05:20:47 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30556-cups.general@news.easysw.com> References: <30556-cups.general@news.easysw.com> Message-ID: <30557-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > Hi there, > I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. > I have several HP and Xerox printers installed and running without major > problems. One of the Xerox printers is a Phaser 6350DX. I've installed > the latest Xerox-drivers for WinXP in samba, and used this drivers ppd > to set up the Printer in cups. Both, Windows and Linux printing work fine. > Here comes the Problem: > When printing Ascii from a Kde or Gnome Desktop, the texttops is not > used because gnome-print generates the postscript code. This works fine, > but AFTER printing from Kde or Gnome, It is not possible to print from a > Windows Client on this printer. The Bannerpage is printed correctly, but > afterwards a error message is printed instead of the printfile. The > error Message depends on the Desktop I used, but is always the same for > each Desktop: > > KDE: > > ERROR: stackunderflow > OFFENDING COMMAND: exch > STACK: > \h > > and for Gnome: > > ERROR: typecheck > OFFNEDING COMMAND: setdash > STACK: > 21690 > \lucas > > I repeat: The bannerpage is printed correctly, and there are no problems > printing from linux. To make Windows users able to print again, I have > to restart the printer. After restarting, Windows clients are able to > print again, until somebody prints from Kde or Gnome. > I already tried a different Driver for Windows and a alternate ppd for > linux, without success. > The problem also occurs, if I disable raw-printing from Windows, so that > the data is processed by pstops before it is printed. > > Im not 100% sure, but I think this problem did not occur before updating > to Cups version 1.3. > I will set up an alternate Cups server with cups 1.2.4 (the version I > used before) to verify this. > > Has anyone an idea what to do? > I would be happy, if only I knew weather this is a Windows, Gnome, Kde > or Cups problem. > > Thanks a lot > Lukas > > > PS: I did not attach logs, because this error can not be seen in the > logs, even with a high debugevel. > You should try to intercept the PostScript file generated by your KDE and/or Gnome desktop, I suspect the PS generator involved initialtes some permanent changes to the PS interpreter. Please post a sample file. Helge PS: Does the issue go away if you power cycle the printer? -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From johannes.grumboeck at porsche.co.at Mon Sep 17 05:36:47 2007 From: johannes.grumboeck at porsche.co.at (Johannes Grumboeck) Date: Mon, 17 Sep 2007 05:36:47 -0700 Subject: is there a cups.schema for ldap? Message-ID: <30558-cups.general@news.easysw.com> Hi Binh Nguyen, > I got around this by writing a ksh shell script which went off to an > active directory (Microsoft Kerberos/LDAP server) using ldapsearch, > pull down its printer tree, sort out its name and IP > the I add it to my CUPS Server, works wonder. > > We (unix admin) dont keep track of printers and its configuration, > everything is store in the Active Directory and all I do each night > is; I run the script. It will then fetch the information off from the > Active Directory and lpadmin it to my cups server. It also check for > mismatch and compare the current cups configuration with the Active > Directory to make sure everything match up, else it alarm and let me > know. This would be something I'm interested in. We have some clusters and for each cluster there's one cupsd running (configured via heartbeat in case of failure). But I would like to have an ldap-server (with printer configuration) and on each node a cupsd running adn fetching the config. Would you mind sharing your script for a skeleton (for me and other users)? Thanks in advance, Johannes Grumboeck From k1pfeifle at gmx.net Mon Sep 17 07:09:02 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 07:09:02 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30556-cups.general@news.easysw.com> References: <30556-cups.general@news.easysw.com> Message-ID: <30559-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > Hi there, > I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. > I have several HP and Xerox printers installed and running without major > problems. One of the Xerox printers is a Phaser 6350DX. I've installed > the latest Xerox-drivers for WinXP in samba, and used this drivers ppd > to set up the Printer in cups. Both, Windows and Linux printing work fine. > Here comes the Problem: > When printing Ascii from a Kde or Gnome Desktop, the texttops is not > used because gnome-print generates the postscript code. This works fine, > but AFTER printing from Kde or Gnome, It is not possible to print from a > Windows Client on this printer. The Bannerpage is printed correctly, but > afterwards a error message is printed instead of the printfile. The > error Message depends on the Desktop I used, but is always the same for > each Desktop: > > KDE: > > ERROR: stackunderflow > OFFENDING COMMAND: exch > STACK: > \h > > and for Gnome: > > ERROR: typecheck > OFFNEDING COMMAND: setdash > STACK: > 21690 > \lucas > > I repeat: The bannerpage is printed correctly, and there are no problems > printing from linux. To make Windows users able to print again, I have > to restart the printer. After restarting, Windows clients are able to > print again, until somebody prints from Kde or Gnome. > I already tried a different Driver for Windows and a alternate ppd for > linux, without success. > The problem also occurs, if I disable raw-printing from Windows, so that > the data is processed by pstops before it is printed. > > Im not 100% sure, but I think this problem did not occur before updating > to Cups version 1.3. > I will set up an alternate Cups server with cups 1.2.4 (the version I > used before) to verify this. > > Has anyone an idea what to do? > I would be happy, if only I knew weather this is a Windows, Gnome, Kde > or Cups problem. > > Thanks a lot > Lukas > > > PS: I did not attach logs, because this error can not be seen in the > logs, even with a high debugevel. You may want to intercept the files that go out of CUPS towards the printer for each different client case (I'd try it with the CUPS test page /usr/share/cups/data/testprint.ps -- from the Win clients, use Ghosview to print it). To intercept the files, you can install a "file printer" with the same PPD you're using for your real printer. This article (with the included "2dir"/"2file" scripts) may help you: http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From hardyjm at potsdam.edu Mon Sep 17 07:20:39 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 07:20:39 -0700 Subject: [cups.general] Printers.conf Corruption Message-ID: <30560-cups.general@news.easysw.com> Hello all, I am running cups-1.2.12-4.fc7 and am seeing random corruption of the printers.conf database. Seems to happen once every couple of days, and has happened since the cups-1.2.10 install I began with on this box. The queue name will change to include extended ASCII characters. The latest example is, changing to this (ASCII codes in right column): < 60 P 80 r 114 i 105 n 110 t 116 e 101 r 114 32 ? 152 i 105 ? 242 ? 128  1 > 62 This happens most often with queue names, but has also changed some DeviceURI's on me as well. Anyone else see anything like this? -Jeff -- Jeff Hardy Systems Analyst hardyjm at potsdam.edu From msweet at apple.com Mon Sep 17 09:20:13 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:20:13 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30555-cups.general@news.easysw.com> References: <30555-cups.general@news.easysw.com> Message-ID: <30561-cups.general@news.easysw.com> Premjo wrote: > Dear Sir, > > Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? CUPS can support drivers doing this, but it doesn't provide specific functions for doing what is essentially printer/vendor-specific stuff. If you have never written a printer driver before, I highly recommend that you hire a company that has. If you are the "do it yourself" type of person, check out the sample drivers included with CUPS as inspiration for writing your own driver, and definitely use the CUPS DDK to create the PPD files for your printer(s). -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Mon Sep 17 09:34:39 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 09:34:39 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiple copies Message-ID: <30562-cups.general@news.easysw.com> Hello all. We've just upgraded our CUPS systems from 1.2.4 to 1.2.12. Our users are now reporting they are no longer getting multiple copies. Looks like some PCL codes have changed in 1.2.12. See the following for example: banner angel >/tmp/angel lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/angel >From the above command(no PCL here), I would get 3 copies as exepected. However, printing any job with PCL will result with only one copy: lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU Where /tmp/SP001nq5lx.ADU: ^[%-12345X at PJL @PJL ENTER LANGUAGE=PCL ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... I'm able to duplicate the PCL issue in multiple printers. PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this appreciated. Thanks, Angel From msweet at apple.com Mon Sep 17 09:43:02 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:43:02 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies In-Reply-To: <30562-cups.general@news.easysw.com> References: <30562-cups.general@news.easysw.com> Message-ID: <30563-cups.general@news.easysw.com> angelb wrote: > ... > However, printing any job with PCL will result with only one > copy: > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > Where /tmp/SP001nq5lx.ADU: > ^[%-12345X at PJL > @PJL ENTER LANGUAGE=PCL > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > I'm able to duplicate the PCL issue in multiple printers. > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > appreciated. More than likely the file is getting flagged as "raw" since it contains PCL commands. How is the queue configured? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Mon Sep 17 09:53:23 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 09:53:23 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30564-cups.general@news.easysw.com> > angelb wrote: > > ... > > However, printing any job with PCL will result with only one > > copy: > > > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > > > Where /tmp/SP001nq5lx.ADU: > > ^[%-12345X at PJL > > @PJL ENTER LANGUAGE=PCL > > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > > > I'm able to duplicate the PCL issue in multiple printers. > > > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > > appreciated. > > More than likely the file is getting flagged as "raw" since it > contains PCL commands. How is the queue configured? > The queues are configured as AppSocket/HP JetDirect with HP Laserjet Series PCL 4/5 CUPS v1.2(en). There were no printer queue changes. These queues were printing and producing the correct number of copies in CUPS 1.2.4. We've upgraded all prod server/clients to 1.2.12 on Sunday morning. Thanks, Angel From msweet at apple.com Mon Sep 17 09:58:42 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:58:42 -0700 Subject: [cups.general] Beginner's problem with authentication policy in 1.3.0 In-Reply-To: <30490-cups.general@news.easysw.com> References: <30490-cups.general@news.easysw.com> Message-ID: <30565-cups.general@news.easysw.com> John A. Murdie wrote: > ... > I've not seen an illustration anywhere of how this looks like to > the user of one of these untrusted clients - for instance in the > GUI of a Mac OS X client. Kerberized printing is not supported on Mac OS X 10.4.x. > I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with > software updates) to try this out. I decided to try an initial > Location directive which Allow-s all the subnets in use, and the > to have two Limit-s in the default Policy, one for the trusted > subnet and one for the untrusted subnet: > > > Allow from trusted > Order deny,allow > > > > Allow from untrusted > Require user @OWNER @SYSTEM > Order deny,allow > You really want to use: Order allow,deny Allow from trusted Require user @OWNER @SYSTEM AuthType Default Satisfy any The "Satisfy any" part tells CUPS to only require authentication on the untrusted hosts/networks. In CUPS 1.2, the "AuthType Default" would need to be "AuthType Basic", "AuthType Digest", or "AuthType BasicDigest". And like I said, you can't do Kerberized CUPS printing on Mac OS X 10.4.x - even if you did install CUPS 1.3 on it, there is no GUI support and the Kerberos is too old to support delegated credentials properly... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Mon Sep 17 10:00:07 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 17 Sep 2007 10:00:07 -0700 Subject: Card Printer Driver Developement Message-ID: <30566-cups.general@news.easysw.com> Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. premjo > Premjo wrote: > > Dear Sir, > > > > Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? > > CUPS can support drivers doing this, but it doesn't provide specific > functions for doing what is essentially printer/vendor-specific stuff. > > If you have never written a printer driver before, I highly recommend > that you hire a company that has. If you are the "do it yourself" > type of person, check out the sample drivers included with CUPS as > inspiration for writing your own driver, and definitely use the CUPS > DDK to create the PPD files for your printer(s). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Mon Sep 17 10:16:09 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 10:16:09 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiplecopies In-Reply-To: <30564-cups.general@news.easysw.com> References: <30564-cups.general@news.easysw.com> Message-ID: <30567-cups.general@news.easysw.com> angelb wrote: >> angelb wrote: >>> ... >>> However, printing any job with PCL will result with only one >>> copy: >>> >>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>> >>> Where /tmp/SP001nq5lx.ADU: >>> ^[%-12345X at PJL >>> @PJL ENTER LANGUAGE=PCL >>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>> >>> I'm able to duplicate the PCL issue in multiple printers. >>> >>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>> appreciated. >> More than likely the file is getting flagged as "raw" since it >> contains PCL commands. How is the queue configured? >> > > The queues are configured as AppSocket/HP JetDirect with HP Laserjet > Series PCL 4/5 CUPS v1.2(en). > > There were no printer queue changes. These queues were printing and > producing the correct number of copies in CUPS 1.2.4. We've upgraded > all prod server/clients to 1.2.12 on Sunday morning. The only change I am aware of is STR #2423 which would flag the PCL files as raw. The copies should then be produced by the socket backend... Have you checked the (LogLevel debug) error_log files on the client and server to see what is getting passed around? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Mon Sep 17 10:25:26 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 10:25:26 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30566-cups.general@news.easysw.com> References: <30566-cups.general@news.easysw.com> Message-ID: <30568-cups.general@news.easysw.com> Premjo wrote: > Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. You can generally read responses from your device using the cupsBackChannelRead() function provided in CUPS 1.2 and higher. However, keep in mind that not all backends support bidi comm, so you should fall back to a unidirectional mode if cupsBackChannelRead() fails. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From hardyjm at potsdam.edu Mon Sep 17 10:43:47 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 10:43:47 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30089-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> Message-ID: <30569-cups.general@news.easysw.com> On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > > These are all raw queues, and I had assumed that > > 'client-error-not-found' would be expected for any queue without a PPD. > > Is that correct? > > I don't think that raw queues would return for "Get-Printer-Attributes" > always a 'client-error-not-found' (even 'raw' queues do have attributes). > Apologies for responding to an old post, but I am still seeing the issue. I had debugging turned on trying to track down something unrelated, and found this: D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost (Domain) D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data provided. D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes ipp:///printers/printers D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes client-error-not-found: The printer or class was not found. D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 status_code=406 (client-error-not-found) D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 The path ipp:///printers/printers definitely does not exist. Curious. -Jeff -- Jeff Hardy Systems Analyst hardyjm at potsdam.edu From angelb at bugarin.us Mon Sep 17 11:08:18 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 11:08:18 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies Message-ID: <30570-cups.general@news.easysw.com> > angelb wrote: > >> angelb wrote: > >>> ... > >>> However, printing any job with PCL will result with only one > >>> copy: > >>> > >>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > >>> > >>> Where /tmp/SP001nq5lx.ADU: > >>> ^[%-12345X at PJL > >>> @PJL ENTER LANGUAGE=PCL > >>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > >>> > >>> I'm able to duplicate the PCL issue in multiple printers. > >>> > >>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > >>> appreciated. > >> More than likely the file is getting flagged as "raw" since it > >> contains PCL commands. How is the queue configured? > >> > > > > The queues are configured as AppSocket/HP JetDirect with HP Laserjet > > Series PCL 4/5 CUPS v1.2(en). > > > > There were no printer queue changes. These queues were printing and > > producing the correct number of copies in CUPS 1.2.4. We've upgraded > > all prod server/clients to 1.2.12 on Sunday morning. > > The only change I am aware of is STR #2423 which would flag the PCL > files as raw. The copies should then be produced by the socket > backend... > > Have you checked the (LogLevel debug) error_log files on the client > and server to see what is getting passed around? > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. I've not gotten any deeper other than testing the IPP backends but it appears to be the cause. Thanks, Angel From msweet at apple.com Mon Sep 17 11:36:18 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 11:36:18 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <1190051018.11790.11.camel@fritzdesk.admin.potsdam.edu> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <1190051018.11790.11.camel@fritzdesk.admin.potsdam.edu> Message-ID: <30571-cups.general@news.easysw.com> Jeff Hardy wrote: > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: >> Jeff Hardy wrote: >> >>> These are all raw queues, and I had assumed that >>> 'client-error-not-found' would be expected for any queue without a PPD. >>> Is that correct? >> I don't think that raw queues would return for "Get-Printer-Attributes" >> always a 'client-error-not-found' (even 'raw' queues do have attributes). >> > > Apologies for responding to an old post, but I am still seeing the > issue. I had debugging turned on trying to track down something > unrelated, and found this: > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > (Domain) > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > provided. > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > ipp:///printers/printers > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > client-error-not-found: The printer or class was not found. > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > status_code=406 (client-error-not-found) > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > The path ipp:///printers/printers definitely does not exist. Curious. More than likely you have a desktop process that is polling CUPS at regular intervals... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Mon Sep 17 11:37:12 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 11:37:12 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30570-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> Message-ID: <30572-cups.general@news.easysw.com> angelb wrote: > ... > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > I've not gotten any deeper other than testing the IPP backends but it > appears to be the cause. Can you file a bug and include copies of your log files so we can track it down? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Mon Sep 17 11:58:58 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 11:58:58 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30569-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> Message-ID: <30573-cups.general@news.easysw.com> Jeff Hardy wrote: > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: >> Jeff Hardy wrote: >> >>> These are all raw queues, and I had assumed that >>> 'client-error-not-found' would be expected for any queue without a PPD. >>> Is that correct? >> I don't think that raw queues would return for "Get-Printer-Attributes" >> always a 'client-error-not-found' (even 'raw' queues do have attributes). >> > > Apologies for responding to an old post, but I am still seeing the > issue. I had debugging turned on trying to track down something > unrelated, and found this: > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > (Domain) > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > provided. > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > ipp:///printers/printers > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > client-error-not-found: The printer or class was not found. > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > status_code=406 (client-error-not-found) > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > The path ipp:///printers/printers definitely does not exist. Curious. IIRC, you have Windows clients using CUPS raw printers via Samba? What drivers do these Windows clients use? The native vendor drivers for the Windows platform? Also, can you post the output of this command: testparm -vs|grep -E "cups|print|driver|spool|lp" ? (it produces an extract of the actual Samba configuration used by your smbd processes -- including the silently set defaults which may not even be spelled out in your smb.conf...) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From hardyjm at potsdam.edu Mon Sep 17 12:52:39 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 12:52:39 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30573-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> Message-ID: <30574-cups.general@news.easysw.com> On Mon, 2007-09-17 at 11:58 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: > >> Jeff Hardy wrote: > >> > >>> These are all raw queues, and I had assumed that > >>> 'client-error-not-found' would be expected for any queue without a PPD. > >>> Is that correct? > >> I don't think that raw queues would return for "Get-Printer-Attributes" > >> always a 'client-error-not-found' (even 'raw' queues do have attributes). > >> > > > > Apologies for responding to an old post, but I am still seeing the > > issue. I had debugging turned on trying to track down something > > unrelated, and found this: > > > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > > (Domain) > > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > > provided. > > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > > ipp:///printers/printers > > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > > client-error-not-found: The printer or class was not found. > > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > > status_code=406 (client-error-not-found) > > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > > > > The path ipp:///printers/printers definitely does not exist. Curious. > > > IIRC, you have Windows clients using CUPS raw printers via Samba? > What drivers do these Windows clients use? The native vendor drivers > for the Windows platform? Yep, printing raw using native vendor drivers in 99.99% of cases. > > Also, can you post the output of this command: > > testparm -vs|grep -E "cups|print|driver|spool|lp" ? > > (it produces an extract of the actual Samba configuration used by your > smbd processes -- including the silently set defaults which may not even > be spelled out in your smb.conf...) Sure thing: # testparm -vs|grep -E "cups|print|driver|spool|lp" Load smb config files from /etc/samba/smb.conf WARNING: The "printer admin" option is deprecated Processing section "[printers]" Processing section "[print$]" Processing section "[drivers]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER lpq cache time = 30 load printers = Yes printcap cache time = 750 printcap name = cups cups server = iprint server = disable spoolss = No addprinter command = /usr/local/bin/smbaddprinter.pl deleteprinter command = /usr/local/bin/smbdelprinter.pl show add printer wizard = Yes os2 driver map = printer admin = @printeradmins min print space = 0 max reported print jobs = 0 max print jobs = 1000 printable = No printing = cups cups options = raw print command = lpq command = %p lprm command = lppause command = lpresume command = printer name = use client driver = No force printername = No printjob username = %U [printers] path = /var/spool/samba printable = Yes [print$] path = /var/shares/drivers write list = @printeradmins [drivers] path = /var/shares/driverpaks write list = @printeradmins Perhaps that lpq cache time could be turned up. In any event, the reason I first noticed all of these Get-Printer-Attributes requests was that I started looking around for the cause of my add printer woes, whether they are related or not (which I posted on originally here and on the Samba list). As a rehash, I see a few times a day where the CUPS daemon uses up 100% CPU and becomes largely unresponsive, which correlates strongly to add printer wizard events. Samba calls my scripts and CUPS does the right thing immediately, but then Samba never returns success to the client because it was waiting for this: [2007/07/18 10:42:28, 3] printing/pcap.c:pcap_cache_reload(117) reloading printcap cache It never finishes. I've written a Perl daemon that runs lpoptions every minute, restarting cups and samba if it does not return within 10 seconds 3 consecutive times. It hit twice today, both times after an APW printer add. I thought perhaps the extra noise that all these Get-Printer-Attributes requests were causing might be enough to push CUPS over the edge when my Windows client hammers the box doing an add. In any event, what I have up and running now works most of the time, but the restarts are inconvenient (causing in-progress jobs to restart and whatnot). Sorry for babbling. :) Any thoughts on any of this? -Jeff From angelb at bugarin.us Mon Sep 17 13:54:04 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 13:54:04 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies Message-ID: <30575-cups.general@news.easysw.com> > angelb wrote: > > ... > > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > > > I've not gotten any deeper other than testing the IPP backends but it > > appears to be the cause. > > Can you file a bug and include copies of your log files so we can > track it down? > > Done. STR 2518 Thanks, Angel From k1pfeifle at gmx.net Mon Sep 17 14:49:20 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 14:49:20 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30574-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> Message-ID: <30576-cups.general@news.easysw.com> Jeff Hardy wrote: > lpq command = %p This one is rubbish. You don't have it in smb.conf -- it's what Samba uses as a default, but it's a bug. To work around it, please add the explicit line to smb.conf lpq command = "" (this should use the CUPS default command, because Samba should be linked against libcups) or use lpq command = lpstat -o %p explicitely which is what you'd use with CUPS on the commandline (%p gets replaced by the actual printer name). Dunno if this could cause the problem you're seeing... It's probably a good idea to report this as a Samba bug in their Bug- zilla. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Mon Sep 17 14:49:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 14:49:28 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30574-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> Message-ID: <30577-cups.general@news.easysw.com> Jeff Hardy wrote: > lpq command = %p This one is rubbish. You don't have it in smb.conf -- it's what Samba uses as a default, but it's a bug. To work around it, please add the explicit line to smb.conf lpq command = "" (this should use the CUPS default command, because Samba should be linked against libcups) or use lpq command = lpstat -o %p explicitely which is what you'd use with CUPS on the commandline (%p gets replaced by the actual printer name). Dunno if this could cause the problem you're seeing... It's probably a good idea to report this as a Samba bug in their Bug- zilla. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Mon Sep 17 18:06:36 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Mon, 17 Sep 2007 18:06:36 -0700 Subject: Child exited signal 11 Message-ID: <30578-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > >> Patrick Vanguardia wrote: > >> > >>> Port 631 > >>> Listen *:631 > >> Misconfiguration! > >> > >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP > >> address, and the effect is cupsd tries to do it *twice*. But it is only > >> possible once. > >> > >> > >> (your error_log extract looks like it started up fully though?) > >> > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > Hi, > > > > I already saw the error and it was in spool, when i deleted all of > > those it runs again. Any idea? > > Sorry? > > I don't understand what you are trying to say... *Which* error did you > see*? *What* was in "spool"? *Which* spool? *What* did you delete? > What do you ask for if "it runs again"? > > > Thanks > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi, Okay, I'm seeing Loading jobs in error_log i don't know if its an error so ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 and so on until c00134. so i tried to move/delete those files and try to restart the cups services and the cups service runs again. Thanks Patrick From andresen-cups at diku.dk Mon Sep 17 18:09:50 2007 From: andresen-cups at diku.dk (Rune Andresen) Date: Mon, 17 Sep 2007 18:09:50 -0700 Subject: IPP from windows Message-ID: <30579-cups.general@news.easysw.com> Hi. Is it possible to build the client-part of CUPS on Windows, to allow command line printing to a Kerberized CUPSd on a linux system? I've found '#ifndef WIN32' in the folder systemv - is it then possible to build lp on a Windows system .. and how? Rune Andresen From dmehler26 at woh.rr.com Mon Sep 17 18:48:03 2007 From: dmehler26 at woh.rr.com (Dave) Date: Mon, 17 Sep 2007 18:48:03 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies References: <30562-cups.general@news.easysw.com> Message-ID: <30580-cups.general@news.easysw.com> Hello, What OS and printer are you using? I've seen this on a Centos5 print server with an hp deskjet 5150 printer attached to it that i share on the network. Now my cups prints multiple copies of items, and they are stuck in the queue so i can't halt them. Any insight appreciated. Thanks. Dave. ----- Original Message ----- From: "angelb" Newsgroups: cups.general To: Sent: Monday, September 17, 2007 12:34 PM Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies > Hello all. > > We've just upgraded our CUPS systems from 1.2.4 to 1.2.12. Our users > are now reporting they are no longer getting multiple copies. > > Looks like some PCL codes have changed in 1.2.12. See the following > for example: > > banner angel >/tmp/angel > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/angel > >>From the above command(no PCL here), I would get 3 copies as exepected. > > > However, printing any job with PCL will result with only one > copy: > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > Where /tmp/SP001nq5lx.ADU: > ^[%-12345X at PJL > @PJL ENTER LANGUAGE=PCL > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > I'm able to duplicate the PCL issue in multiple printers. > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > appreciated. > > Thanks, > Angel > > > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups From mike at easysw.com Mon Sep 17 19:50:32 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 19:50:32 -0700 Subject: IPP from windows In-Reply-To: <30579-cups.general@news.easysw.com> References: <30579-cups.general@news.easysw.com> Message-ID: <30581-cups.general@news.easysw.com> Rune Andresen wrote: > Hi. > > Is it possible to build the client-part of CUPS on Windows, to allow > command line printing to a Kerberized CUPSd on a linux system? > > I've found '#ifndef WIN32' in the folder systemv - is it then possible > to build lp on a Windows system .. and how? The CUPS library can be built using the provided VC++ project file, however you will also need to supply your own copy of OpenSSL. Right now Kerberos is *not* enabled, and I really don't know whether it could be supported with the standard Windows libraries. To build any of the other programs, you will need to add projects for each of them and link them against the CUPS library. None of the client programs have been built or tested on Windows in a very long time. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From dmehler26 at woh.rr.com Mon Sep 17 21:13:56 2007 From: dmehler26 at woh.rr.com (Dave) Date: Mon, 17 Sep 2007 21:13:56 -0700 Subject: [cups.general] cups 1.2, 1.3, or 1.4? Message-ID: <30582-cups.general@news.easysw.com> Hello, I've got a CentOS 5 box that i'm running cups on. It does network printing, yet i'd like to upgrade it. The version is the default with rhel5. I went to the cups site and noticed there were three versions of cups, 1.2, 1.3, and 1.4. I was wondering which is the most current and which is stable vs. alpha or beta? Thanks. Dave. From west at ieee.org Mon Sep 17 23:04:00 2007 From: west at ieee.org (Burnie West) Date: Mon, 17 Sep 2007 23:04:00 -0700 Subject: Mac / Linux Print Servers Message-ID: <30583-cups.general@news.easysw.com> I'm not able to get both my F7 Linux and my wife's MAC OS X 10.3.9 to share their respective printers. These two computers are connected via a Linksys wireless router, using the wired ethernet connections. The MAC can print on the Linux box, but not vice versa. My F7 Linux printer configuration tool [system->administration->printers] lists the remote printers on the MAC, but when I select one I get an alert box "There was a problem connecting to the CUPS server". The Linux CUPS tool at localhost:631/printers has a server tab, and I have been able to get the MAC printer to work from the UNIX box using that tool after editing /etc/hosts on the Linux box to include the MAC's IP address (using the Linksys DHCP reserved IP address feature). However, the MAC CUPS tool does not have a server tab (or I haven't grasped the incantation necessary to enable it), and MAC OS X doesn't seem to manage /etc/hosts in the same way as Linux. I have enabled printer sharing on the MAC, but the CUPS tool does not appear to recognize it as a printer server. I edited /etc/cups/cupsd.conf to log debug messages, but the debug message "cupsdAuthorize: No authentication data provided." doesn't tell me very much. Seems like it all ought to be easier than this, but I haven't found the "howto" of other instructions that tell me the preferred path to get all this running. I'd appreciate any help. From mike at easysw.com Mon Sep 17 23:25:48 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 23:25:48 -0700 Subject: [cups.general] cups 1.2, 1.3, or 1.4? In-Reply-To: <30582-cups.general@news.easysw.com> References: <30582-cups.general@news.easysw.com> Message-ID: <30584-cups.general@news.easysw.com> Dave wrote: > Hello, > I've got a CentOS 5 box that i'm running cups on. It does network > printing, yet i'd like to upgrade it. The version is the default with > rhel5. I went to the cups site and noticed there were three versions of > cups, 1.2, 1.3, and 1.4. I was wondering which is the most current and > which is stable vs. alpha or beta? From the home page, the current stable release is 1.3.1, and the current developer snapshot is 1.4svn-r6956. http://www.cups.org/ From the roadmap page (link on the home page), you'll see that CUPS 1.1.x and 1.2.x are the former stable releases and are no longer maintained. CUPS 1.3.x is the current stable branch, and 1.4.x is the current development branch. http://www.cups.org/roadmap.php -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From magnus at rissnekyrkan.org Tue Sep 18 00:02:02 2007 From: magnus at rissnekyrkan.org (Magnus Kronberg) Date: Tue, 18 Sep 2007 00:02:02 -0700 Subject: Problem Konica Minolta IPI424 PS Message-ID: <30585-cups.general@news.easysw.com> I'm having a problem with my network printer. It's a Konica Minolta 7222 printer/copier. I have a ppd driver witch checks out fine doing the test at the printer driver testing page. I can install the printer and it sends the testpage. Problem is that the test page comes out as rubbish. It tries to print 12 pages, but there's only text on the first one. The text that comes out seems like an error message. It starts with the words PostScript 3.0. Where can I start to look for the problem? Here's a printout of my Cups config: # Show troubleshooting information in error_log. LogLevel debug SystemGroup lpadmin # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Order allow,deny Allow localhost AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost Require user @OWNER @SYSTEM Order deny,allow AuthType Basic Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow Printcap /var/run/cups/printcap From max40 at gmx.de Tue Sep 18 01:21:17 2007 From: max40 at gmx.de (max) Date: Tue, 18 Sep 2007 01:21:17 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30586-cups.general@news.easysw.com> I want to print a PDF-Document for example with 10 pages on an duplex printer! On the backside I want to print an other PDF-Document with one page! For Example: Front - PDF 1 - page 1 Back - PDF 2 - page 1 Front - PDF 1 - page 2 Back - PDF 2 - page 1 Front - PDF 1 - page 3 Back - PDF 2 - page 1 ... Is it possible? Thanks Max From max40 at gmx.de Tue Sep 18 02:28:11 2007 From: max40 at gmx.de (max) Date: Tue, 18 Sep 2007 02:28:11 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30587-cups.general@news.easysw.com> I want to print a PDF-Document for example with 10 pages on an duplex printer! On the backside I want to print an other PDF-Document with one page! For Example: Front - PDF 1 - page 1 Back - PDF 2 - page 1 Front - PDF 1 - page 2 Back - PDF 2 - page 1 Front - PDF 1 - page 3 Back - PDF 2 - page 1 ... Is it possible? Thanks Max From gene.heskett at verizon.net Tue Sep 18 05:08:44 2007 From: gene.heskett at verizon.net (Gene Heskett) Date: Tue, 18 Sep 2007 05:08:44 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30587-cups.general@news.easysw.com> References: <30587-cups.general@news.easysw.com> Message-ID: <30588-cups.general@news.easysw.com> On Tuesday 18 September 2007, max wrote: >I want to print a PDF-Document for example with 10 pages on an duplex > printer! On the backside I want to print an other PDF-Document with one > page! For Example: > >Front - PDF 1 - page 1 >Back - PDF 2 - page 1 > >Front - PDF 1 - page 2 >Back - PDF 2 - page 1 > >Front - PDF 1 - page 3 >Back - PDF 2 - page 1 > >.. > >Is it possible? > Sure Max, and doesn't need the duplex feature at all if you are willing to do it in 2 runs. Print the 10 pager to the first side of 10 sheets turn the paper around and put it back in the input tray then print 10 copies of the one pager. Piece of cake if you have something like kprinter, a printing manager available. Which is how I'd do it anyway since I don't have a duplex capable printer. -- 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) What good is it if you talk in flowers, and they think in pastry? -- Ashleigh Brilliant From max40 at gmx.de Tue Sep 18 05:17:50 2007 From: max40 at gmx.de (max server) Date: Tue, 18 Sep 2007 05:17:50 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30589-cups.general@news.easysw.com> > On Tuesday 18 September 2007, max wrote: > >I want to print a PDF-Document for example with 10 pages on an duplex > > printer! On the backside I want to print an other PDF-Document with one > > page! For Example: > > > >Front - PDF 1 - page 1 > >Back - PDF 2 - page 1 > > > >Front - PDF 1 - page 2 > >Back - PDF 2 - page 1 > > > >Front - PDF 1 - page 3 > >Back - PDF 2 - page 1 > > > >.. > > > >Is it possible? > > > Sure Max, and doesn't need the duplex feature at all if you are willing to do > it in 2 runs. > > Print the 10 pager to the first side of 10 sheets > turn the paper around and put it back in the input tray > then print 10 copies of the one pager. > > Piece of cake if you have something like kprinter, a printing manager > available. > > Which is how I'd do it anyway since I don't have a duplex capable printer. > > -- > 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) > What good is it if you talk in flowers, and they think in pastry? > -- Ashleigh Brilliant > Thanks! But I want to print on a duplex printer with one run not two or more! No manual doing is possible! Max From gene.heskett at verizon.net Tue Sep 18 06:30:18 2007 From: gene.heskett at verizon.net (Gene Heskett) Date: Tue, 18 Sep 2007 06:30:18 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30589-cups.general@news.easysw.com> References: <30589-cups.general@news.easysw.com> Message-ID: <30590-cups.general@news.easysw.com> On Tuesday 18 September 2007, max server wrote: >> On Tuesday 18 September 2007, max wrote: >> >I want to print a PDF-Document for example with 10 pages on an duplex >> > printer! On the backside I want to print an other PDF-Document with one >> > page! For Example: >> > >> >Front - PDF 1 - page 1 >> >Back - PDF 2 - page 1 >> > >> >Front - PDF 1 - page 2 >> >Back - PDF 2 - page 1 >> > >> >Front - PDF 1 - page 3 >> >Back - PDF 2 - page 1 >> > >> >.. >> > >> >Is it possible? >> >> Sure Max, and doesn't need the duplex feature at all if you are willing to >> do it in 2 runs. >> >> Print the 10 pager to the first side of 10 sheets >> turn the paper around and put it back in the input tray >> then print 10 copies of the one pager. >> >> Piece of cake if you have something like kprinter, a printing manager >> available. >> >> Which is how I'd do it anyway since I don't have a duplex capable printer. >> >> -- >> 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) >> What good is it if you talk in flowers, and they think in pastry? >> -- Ashleigh Brilliant > >Thanks! > >But I want to print on a duplex printer with one run not two or more! >No manual doing is possible! Allright, then take a look at pdfedit if you don't have access to a real copy of acrobat. I have it (pdfedit) but haven't had a chance to explore it. It might be possible to have it generate a new output file whose every even page is a copy of the one pager. This is a relatively new linux app, and it certainly has a pretty face. I just haven't found a good excuse to walk around in it (pdfedit) yet since I haven't had the need for something like your project. And please report your results, so that others may learn too. -- 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) It is common sense to take a method and try it. If it fails, admit it frankly and try another. But above all, try something. -- Franklin D. Roosevelt From angelb at bugarin.us Tue Sep 18 08:12:59 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:12:59 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30591-cups.general@news.easysw.com> > Hello, > What OS and printer are you using? I've seen this on a Centos5 print > server with an hp deskjet 5150 printer attached to it that i share on the > network. Now my cups prints multiple copies of items, and they are stuck in > the queue so i can't halt them. Any insight appreciated. > Thanks. > Dave. CUPS servers are RHEL and clients are AIX and Solaris. Printers are all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver interfaces...of all kinds. From angelb at bugarin.us Tue Sep 18 08:13:00 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:13:00 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30592-cups.general@news.easysw.com> > Hello, > What OS and printer are you using? I've seen this on a Centos5 print > server with an hp deskjet 5150 printer attached to it that i share on the > network. Now my cups prints multiple copies of items, and they are stuck in > the queue so i can't halt them. Any insight appreciated. > Thanks. > Dave. CUPS servers are RHEL and clients are AIX and Solaris. Printers are all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver interfaces...of all kinds. From nieprask at ifh.de Tue Sep 18 08:13:36 2007 From: nieprask at ifh.de (Waltraut Niepraschk) Date: Tue, 18 Sep 2007 08:13:36 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail on Xerox Phaser 6350 In-Reply-To: References: Message-ID: <30593-cups.general@news.easysw.com> Hi all, thank your for messages. Lukas and me try to find out what causes the problem. Power cycle of the printer helps. I installed the fileprinter 2file and print with gnome-print a test file. It is attached. At the moment I have not a Windows printjob. Best regards -- Waltraut Niepraschk Deutsches Elektronen-Synchrotron DESY | Phone: +49 33762 77369 Platanenallee 6 | Fax: +49 33762 77216 D-15738 Zeuthen Germany | E-Mail: Waltraut.Niepraschk at desy.de -------------- next part -------------- A non-text attachment was scrubbed... Name: print.testfile.prn Type: application/postscript Size: 52058 bytes Desc: xerox-gnome-print URL: From angelb at bugarin.us Tue Sep 18 08:14:52 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:14:52 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30594-cups.general@news.easysw.com> > > Hello, > > What OS and printer are you using? I've seen this on a Centos5 print > > server with an hp deskjet 5150 printer attached to it that i share on the > > network. Now my cups prints multiple copies of items, and they are stuck in > > the queue so i can't halt them. Any insight appreciated. > > Thanks. > > Dave. > > CUPS servers are RHEL and clients are AIX and Solaris. Printers are > all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver > interfaces...of all kinds. > Sorry, for the multiple posts...don't know how this happened. I'm sure it's unrelated to my PCL multiple-copy issue... :) From sejh79 at hotmail.com Tue Sep 18 08:34:06 2007 From: sejh79 at hotmail.com (Tyndyll) Date: Tue, 18 Sep 2007 08:34:06 -0700 Subject: Thermal Printer Message-ID: <30595-cups.general@news.easysw.com> Hi All, Apologies for the question - its probably a simple one but I feel like I've been running around in circles and getting nowhere. I am developing a web application that requires printing to a thermal printer intermittently. Users are generally windows clients connecting to the application on a BSD server on an internal network. Rather than have them download individual files I was hoping for them to click on the button and the file be automatically printed via CUPs. I have the logic sorted, what I don't have is the CUPs sorted. The printer is connected to a Windows server and to the best of my knowledge does not use postscript. Is there a way of creating the PPD file to do this, or am I just out of luck? Any information appreciated Tyndyll From k1pfeifle at gmx.net Tue Sep 18 09:20:57 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 18 Sep 2007 09:20:57 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30596-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. The idea wasn't for you to just use it, print 1 (or more files) and dump the result to the list. The idea was to give you a tool where you can do your different prints from different clients (that's your problem, that these do result in different things, right?) and that you *yourself* start comparing the resulting files (use "diff" "sdiff" or just your eyeballs), their PJL headers and what-not and see if this gives you a clue :-) > At the moment I have not a Windows printjob. It's pretty useless to stare at one jobfile only if you are looking for differences. > Best regards -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Tue Sep 18 09:27:56 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 09:27:56 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30570-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> Message-ID: <30597-cups.general@news.easysw.com> angelb wrote: >>angelb wrote: >> >>>>angelb wrote: >>>> >>>>>... >>>>>However, printing any job with PCL will result with only one >>>>>copy: >>>>> >>>>>lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>>>> >>>>>Where /tmp/SP001nq5lx.ADU: >>>>>^[%-12345X at PJL >>>>>@PJL ENTER LANGUAGE=PCL >>>>>^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>>>> >>>>>I'm able to duplicate the PCL issue in multiple printers. >>>>> >>>>>PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>>>>appreciated. >>>> >>>>More than likely the file is getting flagged as "raw" since it >>>>contains PCL commands. How is the queue configured? >>>> >>> >>>The queues are configured as AppSocket/HP JetDirect with HP Laserjet >>>Series PCL 4/5 CUPS v1.2(en). >>> >>>There were no printer queue changes. These queues were printing and >>>producing the correct number of copies in CUPS 1.2.4. We've upgraded >>>all prod server/clients to 1.2.12 on Sunday morning. >> >>The only change I am aware of is STR #2423 which would flag the PCL >>files as raw. The copies should then be produced by the socket >>backend... >> >>Have you checked the (LogLevel debug) error_log files on the client >>and server to see what is getting passed around? >> > > > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > I've not gotten any deeper other than testing the IPP backends but it > appears to be the cause. > > Thanks, > Angel Could it be that it is a recurrence of the IPP backend bug conserning the number of copies I posted in the old days of CUPS 1.1.18 or 1.1.19 ? IIRC, it was a conflict between print-job defined number of copies (which don't show up in the IPP request) and the copies attribute induced by copies-default in the IPP request. If needed I can post how I then fixed the issue at oursite (we still use pretty old 1.1.19). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Tue Sep 18 10:16:40 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 10:16:40 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30598-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. > > At the moment I have not a Windows printjob. > > Best regards > The testfile did not exhibit anything weird. But it would be nice to get the file generated by KDE or GNOME before it is processed by the CUPS filters, and an WinXP generated file as well (before eaten by CUPS). My suspicion is that when printing from Windows, the job patch file as defined in the PPD is appliee twice - once by the windows driver and a second time by the CUPS pstops filter. As nobody but the Xerox developers know the internals of their PS procedures used and/or set up by the job patch file, repeated execution within the same job may cause unpredictable results. But to be sure, I'd prefer to look into the files as indicated above. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Tue Sep 18 10:40:20 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:40:20 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30586-cups.general@news.easysw.com> References: <30586-cups.general@news.easysw.com> Message-ID: <30599-cups.general@news.easysw.com> max wrote: > I want to print a PDF-Document for example with 10 pages on an duplex printer! > On the backside I want to print an other PDF-Document with one page! > ... > Is it possible? Not directly, however you may be able to use psutils to do something after converting the PDF files to PostScript. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Sep 18 10:43:34 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:43:34 -0700 Subject: [cups.general] Thermal Printer In-Reply-To: <30595-cups.general@news.easysw.com> References: <30595-cups.general@news.easysw.com> Message-ID: <30600-cups.general@news.easysw.com> Tyndyll wrote: > ... > I have the logic sorted, what I don't have is the CUPs sorted. The > printer is connected to a Windows server and to the best of my > knowledge does not use postscript. Is there a way of creating the PPD > file to do this, or am I just out of luck? Mainly this depends on the printer; if there is a CUPS driver, it should be as simple as sharing the printer on the Windows system (and preferably add the TCP/IP Printing service so your Windows system accepts the jobs via LPD) and then setting up a queue on the CUPS system pointing to the Windows system. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From h.blischke at srz.de Tue Sep 18 10:44:32 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 10:44:32 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30601-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. > > At the moment I have not a Windows printjob. > > Best regards > The testfile did not exhibit anything weird. But it would be nice to get the file generated by KDE or GNOME before it is processed by the CUPS filters, and an WinXP generated file as well (before eaten by CUPS). My suspicion is that when printing from Windows, the job patch file as defined in the PPD is appliee twice - once by the windows driver and a second time by the CUPS pstops filter. As nobody but the Xerox developers know the internals of their PS procedures used and/or set up by the job patch file, repeated execution within the same job may cause unpredictable results. But to be sure, I'd prefer to look into the files as indicated above. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Tue Sep 18 10:45:58 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:45:58 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30597-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> <30597-cups.general@news.easysw.com> Message-ID: <30602-cups.general@news.easysw.com> Helge Blischke wrote: > angelb wrote: >>> angelb wrote: >>> >>>>> angelb wrote: >>>>> >>>>>> ... >>>>>> However, printing any job with PCL will result with only one >>>>>> copy: >>>>>> >>>>>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>>>>> >>>>>> Where /tmp/SP001nq5lx.ADU: >>>>>> ^[%-12345X at PJL >>>>>> @PJL ENTER LANGUAGE=PCL >>>>>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>>>>> >>>>>> I'm able to duplicate the PCL issue in multiple printers. >>>>>> >>>>>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>>>>> appreciated. >>>>> More than likely the file is getting flagged as "raw" since it >>>>> contains PCL commands. How is the queue configured? >>>>> >>>> The queues are configured as AppSocket/HP JetDirect with HP Laserjet >>>> Series PCL 4/5 CUPS v1.2(en). >>>> >>>> There were no printer queue changes. These queues were printing and >>>> producing the correct number of copies in CUPS 1.2.4. We've upgraded >>>> all prod server/clients to 1.2.12 on Sunday morning. >>> The only change I am aware of is STR #2423 which would flag the PCL >>> files as raw. The copies should then be produced by the socket >>> backend... >>> >>> Have you checked the (LogLevel debug) error_log files on the client >>> and server to see what is getting passed around? >>> >> >> I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. >> >> I've not gotten any deeper other than testing the IPP backends but it >> appears to be the cause. >> >> Thanks, >> Angel > > Could it be that it is a recurrence of the IPP backend bug > conserning the number of copies I posted in the old days of > CUPS 1.1.18 or 1.1.19 ? Not specifically, but a more general problem with the solution we came up with for Xerox printers - basically, raw files were assumed to already have the copies applied in them, so we didn't pass any of the job options from the client to the server. The current code in 1.3.x and trunk address this by only omitting the options for filtered jobs. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From west at ieee.org Tue Sep 18 10:47:26 2007 From: west at ieee.org (Burnie West) Date: Tue, 18 Sep 2007 10:47:26 -0700 Subject: Mac / Linux Print Servers Message-ID: <30603-cups.general@news.easysw.com> > I'm not able to get both my F7 Linux and my wife's MAC OS X 10.3.9 to share their respective printers. FWIW, the F7 distro uses CUPS 1.2.12 and the MAC OS 10.3.9 is using CUPS v1.1.20rc1 From sejh79 at hotmail.com Tue Sep 18 11:54:27 2007 From: sejh79 at hotmail.com (Tyndyll) Date: Tue, 18 Sep 2007 11:54:27 -0700 Subject: Thermal Printer Message-ID: <30604-cups.general@news.easysw.com> > Mainly this depends on the printer; if there is a CUPS driver, it > should be as simple as sharing the printer on the Windows system I think this is the issue - I don't think that there is a CUPs driver (which I am assuming is the PPD file?) for this printer. I have the printer shared on Windows. Just to add some more information which I thought of on the way home. Its a Toshiba (TEC) SX4 thermal printer that also does RFID. My aim however is just to print a PDF to it, which I have successfully done in windows. If there is no official driver for this, is there another way around it? From what I read I don't think I can print directly to the Windows server and have its drivers sort it out? Any information helpful. Sorry if this seems particularly newbie-ish Tyndyll > Tyndyll wrote: > > ... > > I have the logic sorted, what I don't have is the CUPs sorted. The > > printer is connected to a Windows server and to the best of my > > knowledge does not use postscript. Is there a way of creating the PPD > > file to do this, or am I just out of luck? > > Mainly this depends on the printer; if there is a CUPS driver, it > should be as simple as sharing the printer on the Windows system > (and preferably add the TCP/IP Printing service so your Windows > system accepts the jobs via LPD) and then setting up a queue on the > CUPS system pointing to the Windows system. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From till.kamppeter at gmail.com Tue Sep 18 14:06:25 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Tue, 18 Sep 2007 14:06:25 -0700 Subject: [cups.general] Thermal Printer In-Reply-To: <30604-cups.general@news.easysw.com> References: <30604-cups.general@news.easysw.com> Message-ID: <30605-cups.general@news.easysw.com> Try the instructions here: http://www.stat.tamu.edu/~henrik/GSPSprinter/GSPSprinter.html This will let your Windows server emulate a PostScript printer. Then you can point a CUPS queue with a generic PostScript PPD to your printer. Till Tyndyll wrote: >> Mainly this depends on the printer; if there is a CUPS driver, it >> should be as simple as sharing the printer on the Windows system > > I think this is the issue - I don't think that there is a CUPs driver (which I am assuming is the PPD file?) for this printer. I have the printer shared on Windows. > > Just to add some more information which I thought of on the way home. Its a Toshiba (TEC) SX4 thermal printer that also does RFID. My aim however is just to print a PDF to it, which I have successfully done in windows. > > If there is no official driver for this, is there another way around it? From what I read I don't think I can print directly to the Windows server and have its drivers sort it out? > > Any information helpful. Sorry if this seems particularly newbie-ish > > Tyndyll > > >> Tyndyll wrote: >>> ... >>> I have the logic sorted, what I don't have is the CUPs sorted. The >>> printer is connected to a Windows server and to the best of my >>> knowledge does not use postscript. Is there a way of creating the PPD >>> file to do this, or am I just out of luck? >> Mainly this depends on the printer; if there is a CUPS driver, it >> should be as simple as sharing the printer on the Windows system >> (and preferably add the TCP/IP Printing service so your Windows >> system accepts the jobs via LPD) and then setting up a queue on the >> CUPS system pointing to the Windows system. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From mike at easysw.com Tue Sep 18 15:49:40 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 18 Sep 2007 15:49:40 -0700 Subject: Common UNIX Printing System 1.3.2 Message-ID: <136-cups.announce@news.easysw.com> CUPS 1.3.2 is now available for download from the CUPS web site. CUPS 1.3.2 replaces the invalid 1.3.1 release tarballs and fixes some scheduler and printing issues. Changes include: * The 1.3.1 release was incorrectly created from the 1.4.x source tree (STR #2519) * Added support for 32/64-bit libraries on HP-UX (STR #2520) * The scheduler incorrectly used portrait as the default orientation (STR #2513) * The scheduler no longer writes the printcap file for every remote printer update (STR #2512) * Remote raw printing with multiple copies did not work (STR #2518) * Updated the configure script to require at least autoconf 2.60 (STR #2515) * Some gzip'd PPD files were not read in their entirety (STR #2510) Enjoy! From till.kamppeter at gmail.com Tue Sep 18 16:31:13 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Tue, 18 Sep 2007 16:31:13 -0700 Subject: [cups.general] Where is the "mdns" backend? Message-ID: <30606-cups.general@news.easysw.com> Hi, probably many of you have seend my earlier posting announcing my "dnssd" backend, a simple Perl script which discovers network printers via DNS-SD/Zeroconf. It simply runs the "avahi-browse" command and then processes the output. Now I have seen the following STR (feature request): http://www.cups.org/str.php?L2433 The reporter says it is valid for all systems and he talks about an "mdns" backend which seems to do the same thing as my "dnssd" backend. So I searched the repositories of CUPS 1.3.x and 1.4.x for this backend and I could not find it. Where do I find it? Or is it a proprietary add-on which Apple adds to CUPS for Mac OS X? Should I perhaps rename my backend to "mdns" so that there is an "mdns" for all systems? Or could the CUPS "mdns" backend be made available for all systems? Till P. S.: Who did not see my announcement, here is the link to the backend again: http://www.openprinting.org/download/printing/dnssd Download it, put it into /usr/lib/cups/backend/, make it executable, and now more printers get discovered than by "snmp" or you get more info about your printers. From premjo.elias at gmail.com Tue Sep 18 20:35:49 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 20:35:49 -0700 Subject: Card Printer Driver Developement Message-ID: <30607-cups.general@news.easysw.com> > Premjo wrote: > > Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. > > You can generally read responses from your device using the > cupsBackChannelRead() function provided in CUPS 1.2 and higher. > > However, keep in mind that not all backends support bidi comm, so you > should fall back to a unidirectional mode if cupsBackChannelRead() > fails. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Do CUPS supports USB printers? From msweet at apple.com Tue Sep 18 20:50:09 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 20:50:09 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30607-cups.general@news.easysw.com> References: <30607-cups.general@news.easysw.com> Message-ID: <30608-cups.general@news.easysw.com> Premjo wrote: > ... > Do CUPS supports USB printers? Yes, of course. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Tue Sep 18 21:18:22 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 21:18:22 -0700 Subject: Card Printer Driver Developement Message-ID: <30609-cups.general@news.easysw.com> > Premjo wrote: > > ... > > Do CUPS supports USB printers? > > Yes, of course. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > do you have skype id or MSN ID for chating? From msweet at apple.com Tue Sep 18 21:30:58 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 21:30:58 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30609-cups.general@news.easysw.com> References: <30609-cups.general@news.easysw.com> Message-ID: <30610-cups.general@news.easysw.com> Premjo wrote: >> Premjo wrote: >>> ... >>> Do CUPS supports USB printers? >> Yes, of course. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > do you have skype id or MSN ID for chating? Sorry, no. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Tue Sep 18 21:50:36 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 21:50:36 -0700 Subject: Card Printer Driver Developement Message-ID: <30611-cups.general@news.easysw.com> > Premjo wrote: > >> Premjo wrote: > >>> ... > >>> Do CUPS supports USB printers? > >> Yes, of course. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > do you have skype id or MSN ID for chating? > > Sorry, no. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Our printers have facility to encode on magstripe and chip, how do i can incorporate the specific commands to take the card for encoding inside the printer? do i can add my own ? i want to show a screen on the tab saying color settings, k panel settings, etc. my own screens? From twaugh at redhat.com Wed Sep 19 02:18:08 2007 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 19 Sep 2007 02:18:08 -0700 Subject: [cups.general] Where is the "mdns" backend? In-Reply-To: <46F05FB3.1010607@gmail.com> References: <46F05FB3.1010607@gmail.com> Message-ID: <30612-cups.general@news.easysw.com> On Wed, 2007-09-19 at 00:30 +0100, Till Kamppeter wrote: > The reporter says it is valid for all systems and he talks about an > "mdns" backend which seems to do the same thing as my "dnssd" backend. > So I searched the repositories of CUPS 1.3.x and 1.4.x for this backend > and I could not find it. Where do I find it? Or is it a proprietary > add-on which Apple adds to CUPS for Mac OS X? It's a proprietary add-on I think. It ships in Mac OS X, yes. 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 hardyjm at potsdam.edu Wed Sep 19 06:11:24 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Wed, 19 Sep 2007 06:11:24 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30576-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> <30576-cups.general@news.easysw.com> Message-ID: <30613-cups.general@news.easysw.com> On Mon, 2007-09-17 at 14:49 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > > lpq command = %p > > This one is rubbish. You don't have it in smb.conf -- it's what Samba > uses as a default, but it's a bug. > > To work around it, please add the explicit line to smb.conf > > lpq command = "" This ended up causing some problems as all jobs showed up in all queues. > > (this should use the CUPS default command, because Samba should be linked > against libcups) or use > > lpq command = lpstat -o %p This works just fine. But, my problems still remain. And, I'm still seeing a ton of these: D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes ipp:///printers/printers D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes client-error-not-found: The printer or class was not found. D [19/Sep/2007:09:06:40 -0400] cupsdProcessIPPRequest: 20 status_code=406 (client-error-not-found) D [19/Sep/2007:09:06:40 -0400] cupsdCloseClient: 20 > > explicitely which is what you'd use with CUPS on the commandline (%p gets > replaced by the actual printer name). > > Dunno if this could cause the problem you're seeing... > > It's probably a good idea to report this as a Samba bug in their Bug- > zilla. > > Thanks for the thought. -Jeff From msweet at apple.com Wed Sep 19 09:19:04 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 19 Sep 2007 09:19:04 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30611-cups.general@news.easysw.com> References: <30611-cups.general@news.easysw.com> Message-ID: <30614-cups.general@news.easysw.com> Premjo wrote: > ... > Our printers have facility to encode on magstripe and chip, how do i > can incorporate the specific commands to take the card for encoding > inside the printer? do i can add my own ? i want to show a screen on > the tab saying color settings, k panel settings, etc. my own screens? Start by reading the CUPS DDK manual and the PPD spec. Option groups should provide the functionality you need, and you can pass arbitrary options through to your driver that way. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Sep 19 09:26:03 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 19 Sep 2007 09:26:03 -0700 Subject: [cups.general] Where is the "mdns" backend? In-Reply-To: <46F05FB3.1010607@gmail.com> References: <46F05FB3.1010607@gmail.com> Message-ID: <30615-cups.general@news.easysw.com> Till Kamppeter wrote: > ... > Should I perhaps rename my backend to "mdns" so that there is an "mdns" > for all systems? Or could the CUPS "mdns" backend be made available for > all systems? The plan was to include the mdns backend with CUPS 1.3.x, but it was not ready for public consumption in time. It will likely show up in 1.4.x once we have all of the issues ironed out. FWIW, the backend also requires working multicast DNS on the host platform, so Linux distros will need to enable .local lookups through Avahi as well. In the meantime, your perl script will do as a replacement, and I'd keep the (different) name as-is to avoid confusion in the future. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rumson_benjamin at yahoo.com Wed Sep 19 15:54:21 2007 From: rumson_benjamin at yahoo.com (Benjamin Rumson) Date: Wed, 19 Sep 2007 15:54:21 -0700 Subject: [cups.general] No joy trying to print from MacBook to HP PSC-1200 which is wired to an Ubuntu box. Message-ID: <30616-cups.general@news.easysw.com> Hello, I guess I need some hand holding here. I have CUPS (v1.1.23) on a shiny new MacBook and CUPS (v1.2.8) on a freshly installed latest version of Ubuntu. There is an HP PSC-1200 attached by USB to the Ubuntu box. Printing from the Ubuntu box works just fine. I want to serve out the Ubuntu box's printer to the MacBook, but no joy so far. The driver that Ubuntu is using (hpijs) is not on the MacBook is near as I can tell: ubuntu> whereis hpijs hpijs: /usr/bin/hpijs /usr/X11R6/bin/hpijs /usr/bin/X11/hpijs /usr/share/man/man1/hpijs.1.gz macbook> whereis hpijs (nada) macbook> find /usr -name hpijs -print (also nada) I've selected the "HP DeskJet 1200C - Gimp-Print v5.0.0-beta2" driver when setting up printing on the MacBook because it looks fairly general. I get the following error (on the MacBook) when I try print. Description: PSC-1200 Location: Printer State: stopped, accepting jobs. "The process "http" stopped unexpectedly with status 1" Device URI: http://192.168.1.100:631/ipp/port1 I'm a noob on both systems; any (very literal) instructions will be appreciated. TIA. ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn-cups at willden.org Wed Sep 19 19:47:28 2007 From: shawn-cups at willden.org (Shawn Willden) Date: Wed, 19 Sep 2007 19:47:28 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30611-cups.general@news.easysw.com> References: <30611-cups.general@news.easysw.com> Message-ID: <30617-cups.general@news.easysw.com> On Tuesday 18 September 2007 10:50:36 pm Premjo wrote: > Our printers have facility to encode on magstripe and chip, how do i can > incorporate the specific commands to take the card for encoding inside the > printer? do i can add my own ? i want to show a screen on the tab saying > color settings, k panel settings, etc. my own screens? For ideas about what's possible, I'd suggest you take a look at the documentation for the "Open Platform" driver for DataCard's SP series printers. It works via CUPS and does everything you mention. Also, I quite like DataCard's choice of a web services API for the control that can't be handled through CUPS (things like determining when the card has reached the chip station, or reading data from the magstripe). It's a very well-designed and easy-to-use API, accessible from any language that has web service client bindings, which is just about every thing. DataCard's driver and documentation is available on their web site. I don't recall if there's anything in the license that would prohibit you from studying their approach, but since you're obviously a competitor of theirs, you should probably read the license carefully. I work on software that uses card printers, and I can tell you that if you follow DataCard's approach, you'll increase the odds that I'll want to buy your card printer. Shawn. From walter.epp at ckw.ch Thu Sep 20 00:44:58 2007 From: walter.epp at ckw.ch (Epp Walter) Date: Thu, 20 Sep 2007 00:44:58 -0700 Subject: SLES10_64 Max File Size Message-ID: <30618-cups.general@news.easysw.com> I have installed CUPS on SLES10_64 SP1 in Version 1.1.23-40 and connect to a Local Raw Printer. I have the following error when the file size larger than 2GB, please advise me. The error messages show below : ProcessIPPRequest: 5 status_code=0 d [19/Sep/2007:08:23:48 +0200] ProcessIPPRequest: Adding fd 5 to OutputSet... d [19/Sep/2007:08:23:48 +0200] WriteClient: Removing fd 5 from OutputSet... d [19/Sep/2007:08:23:48 +0200] ReadClient: 5, used=0, file=-1 d [19/Sep/2007:08:23:48 +0200] ReadClient: httpGets returned EOF... D [19/Sep/2007:08:23:48 +0200] CloseClient: 5 d [19/Sep/2007:08:23:48 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... d [19/Sep/2007:08:23:48 +0200] AcceptClient(lis=0x555555696840) 0 NumClients = 0 D [19/Sep/2007:08:23:48 +0200] AcceptClient: 5 from localhost:631. d [19/Sep/2007:08:23:48 +0200] AcceptClient: Adding fd 5 to InputSet... d [19/Sep/2007:08:23:48 +0200] ReadClient: 5, used=0, file=-1 D [19/Sep/2007:08:23:48 +0200] ReadClient: 5 POST /printers/server2sap HTTP/1.1 d [19/Sep/2007:08:23:48 +0200] decode_auth(0x2aca7e820010): Authorization string = "" d [19/Sep/2007:08:23:48 +0200] decode_auth: 5 username="" d [19/Sep/2007:08:23:48 +0200] IsAuthorized: con->uri = "/printers/server2sap" d [19/Sep/2007:08:23:48 +0200] FindBest: uri = "/printers/server2sap"... d [19/Sep/2007:08:23:48 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [19/Sep/2007:08:23:48 +0200] FindBest: Location / Limit 7f d [19/Sep/2007:08:23:48 +0200] FindBest: Location /admin Limit 7f d [19/Sep/2007:08:23:48 +0200] FindBest: best = "/" d [19/Sep/2007:08:23:48 +0200] IsAuthorized: auth = 0, satisfy=0... d [19/Sep/2007:08:23:48 +0200] POST /printers/server2sap d [19/Sep/2007:08:23:48 +0200] CONTENT_TYPE = application/ipp D [19/Sep/2007:08:23:48 +0200] SendError: 5 code=400 (Bad Request) D [19/Sep/2007:08:23:48 +0200] CloseClient: 5 d [19/Sep/2007:08:23:48 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... With files under 2GB everything works well. Many thanks for your help. waedi From rizzo at icir.org Thu Sep 20 01:26:26 2007 From: rizzo at icir.org (Luigi Rizzo) Date: Thu, 20 Sep 2007 01:26:26 -0700 Subject: managing printer names (with windows, if it matters) ? Message-ID: <30619-cups.general@news.easysw.com> Hi, i have implemented a print-to-email service where i pass, as part of the printer name, the email address where to send the generated pdf. So I have a printer named 'foo', and clients access 'foo::myself at my.email.server'. A small patch to http-support.c in function httpSeparateURI() strips the ':myself at my.email.server' part from the request and uses it as a username (also leaving only the part before the '::' as a printer name). Things work as i want with a small annoyance - Windows boxes only see 'foo' as the printer name (and I cannot rename them on the Windows side), so if i have multiple instances of this printers configured on a client, i see them listed as 'foo', 'foo (Copy 1)', 'foo (Copy 2)' but have no way to tell the email address associated with each of them. I don't think the problem is windows-specific, most likely cups returns the basename ('foo' in this example) as the printer name because i stripped the rest too early. I suppose that a fix would be to keep the full printer name within the cups code, and implement a printer-name matching that ignores the part after the '::'. Any idea on where this could be done ? At first sight, it seems that i could play with the 'compare' function used in cupsArrayFind() on the Printers array, or perhaps at a higher level work on cupsdValidateDest() ? From lukast at ifh.de Thu Sep 20 05:40:10 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Thu, 20 Sep 2007 05:40:10 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printing fail on Xerox Pahser 6350 Message-ID: <30620-cups.general@news.easysw.com> Thank you very much for your help! I finaly found out, there was a wrong line in my bannerpage. I do not know why this problem only occured when printing from Gnome or Kde before printing from a Windows machine. (this Bannerpage is always printed) However, removing this malformed line did solve the Problem. Best regards, Lukas From gotj at iinet.net.au Thu Sep 20 06:16:54 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Thu, 20 Sep 2007 06:16:54 -0700 Subject: [cups.general] spooling delays Message-ID: <30621-cups.general@news.easysw.com> An HTML attachment was scrubbed... URL: From lukast at ifh.de Thu Sep 20 08:10:33 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Thu, 20 Sep 2007 08:10:33 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printing fail on Xerox Pahser 6350 In-Reply-To: References: Message-ID: <30622-cups.general@news.easysw.com> Hi all, I decided to give some additional information about my problem, because I solved it without understanding what was wrong. I want my banners to be printed on red paper, but my printers do not support selection of the bannerpage source. So I wrote a Bannerpage myself, with "<> setpagedevice" in it, and put red paper into Tray 5 for all printers. This worked fine. Later, I decided to use a script running a2ps instead of the original texttops-filter. This worked, too, but the script did not manage the trayswitching correctly, so all textfiles were printed on red paper when printed with bannerpage. I added "serverdict begin 0 exitserver" to the end of my bannerpage, in order toreset the printer afer printing the bannerpage. (this is, what google told me when I asked for "postscript printer reset") This worked fine for a while, until someone used gnome-print and samba printing crashed as described in my first mail. "serverdict begin 0 exitserver" is not realy malformed, but this is the line that was responsible for the error. I removed this line from the bannerpage and changed the a2ps-filter to select the correct papertray, and now everything is up to normal. I did not understand, why a "reset" in the bannerpage influences printing through samba (only when gnome or kde was used before), while everything else works realy fine! However, now it seems to work. If anybody has an idea what was wrong, I'd be happy to hear about it. Thanks a lot, Lukas On Thu, 20 Sep 2007, Lukas Thiemeier wrote: > > Thank you very much for your help! > > I finaly found out, there was a wrong line in my bannerpage. > I do not know why this problem only occured when printing from Gnome > or Kde before printing from a Windows machine. (this Bannerpage > is always printed) > However, removing this malformed line did solve the Problem. > > Best regards, > Lukas > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 20 09:44:50 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 20 Sep 2007 09:44:50 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printingfail on Xerox Pahser 6350 In-Reply-To: <30622-cups.general@news.easysw.com> References: <30622-cups.general@news.easysw.com> Message-ID: <30623-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > > Hi all, > I decided to give some additional information about my problem, because > I solved it without understanding what was wrong. > > I want my banners to be printed on red paper, but my printers do not > support selection of the bannerpage source. So I wrote a Bannerpage > myself, with > "<> > setpagedevice" > in it, and put red paper into Tray 5 for all printers. > This worked fine. > Later, I decided to use a script running a2ps instead of the original > texttops-filter. This worked, too, but the script did not manage the > trayswitching correctly, so all textfiles were printed on red paper when > printed with bannerpage. > I added > "serverdict begin 0 exitserver" > to the end of my bannerpage, in order toreset the printer afer printing > the bannerpage. > (this is, what google told me when I asked for "postscript printer reset") > This worked fine for a while, until someone used gnome-print and samba > printing crashed as described in my first mail. > > "serverdict begin 0 exitserver" is not realy malformed, but this is the > line that was responsible for the error. > I removed this line from the bannerpage and changed the a2ps-filter to > select the correct papertray, and now everything is up to normal. > > I did not understand, why a "reset" in the bannerpage influences > printing through samba (only when gnome or kde was used before), while > everything else works realy fine! However, now it seems to work. > > If anybody has an idea what was wrong, I'd be happy to hear about it. > > Thanks a lot, > Lukas > > On Thu, 20 Sep 2007, Lukas Thiemeier wrote: > >> >> Thank you very much for your help! >> >> I finaly found out, there was a wrong line in my bannerpage. >> I do not know why this problem only occured when printing from Gnome >> or Kde before printing from a Windows machine. (this Bannerpage >> is always printed) >> However, removing this malformed line did solve the Problem. >> >> Best regards, >> Lukas >> Well, the exitserver stuff is what caused the weird behaviour, as I suspected earlier. If you look into the PLRM (PostScript Language Reference Manual), you will learn that normally every job is "encapsulated" in the sense that the environment at the beginning of the job is preserved and restored immediately after the job. The exitserver operator escapes from that behaviour and causes any environmental changes made sine the start of the job to be permanent. The propoer way to achieve what you wanted is easy: - begin your banner page with something like userdict/save_env save put which saves the current environment - insert after the banner page's showpage userdict/save_env get restore to restore the original environment. This approach is the recommended one for a lot of similar specialities (like stapling parts of a job and so on). I'd recommend to read the "Blue Book" (I don't remember the correct title right now, but IIRC it is available as a PDF file on the web). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From none at none.com Thu Sep 20 22:48:38 2007 From: none at none.com (Matthew Jurgens) Date: Thu, 20 Sep 2007 22:48:38 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs Message-ID: <30624-cups.general@news.easysw.com> I'm running the following RPM of CUPS on Fedora Core 6 cups-1.2.12-4.fc6 I'm using it with an HP Laserjet 3055. This printer is listed as fully supported and it does work just fine. Everything about the printer operation work perfectly fine. Its setup using the HP-LaserJet_3055-hpijs.ppd file. No matter which document it prints, no matter the type or how many pages, the CUPs web page admin "Completed Jobs" section only ever shows jobs as having 1 page. They have variable sizes, but only ever one page. How can I fix this? I've deleted and re-added the printer, made sure I have the latest CUPS for my distribution etc Below is a sample from the web page for 2 jobs, one 2 pages and the other 3 pages. Showing 4 of 4 completed jobs. Sort Ascending ID Name User Size Pages State Control hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens 2k 1 completed at Fri 21 Sep 2007 02:58:37 PM EST hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens 1k 1 completed at Fri 21 Sep 2007 02:56:33 PM EST Thanks From morger at olmero.ch Fri Sep 21 01:09:26 2007 From: morger at olmero.ch (Philipp Morger) Date: Fri, 21 Sep 2007 01:09:26 -0700 Subject: Myths solved... (was: [SUGGESTION] switching trays in printjob) Message-ID: <30625-cups.general@news.easysw.com> Hi ML To summarize it: - OOo has a bug, so it is not possible to switch the tray in a document - Printing from Windows (SAMBA/CUPS) on HP Printers through hpijs seems to work flawless - On a Xerox DP N4525 it is not possible to change the tray while using PS , neither with the vendor supplied ppds* nor with the verndor supplied drivers for windows* - but it does works with the vendor supplied PCL drivers. * I also adjusted them to have an "Auto" SlotInput entry, which did not help. * I created "ports" on windows that does directly access the printer, via lpd and ipp - nothing worked as expected. regards, and thanks a lot for the help! Philipp From k1pfeifle at gmx.net Fri Sep 21 04:37:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 04:37:25 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30624-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> Message-ID: <30626-cups.general@news.easysw.com> Matthew Jurgens wrote: > I'm running the following RPM of CUPS on Fedora Core 6 > cups-1.2.12-4.fc6 > > I'm using it with an HP Laserjet 3055. > This printer is listed as fully supported and it does work just fine. > > Everything about the printer operation work perfectly fine. Its setup > using the HP-LaserJet_3055-hpijs.ppd file. > > No matter which document it prints, no matter the type or how many > pages, the CUPs web page admin "Completed Jobs" section only ever shows > jobs as having 1 page. They have variable sizes, but only ever one page. > > How can I fix this? > > I've deleted and re-added the printer, made sure I have the latest CUPS > for my distribution etc > > Below is a sample from the web page for 2 jobs, one 2 pages and the > other 3 pages. > > > Showing 4 of 4 completed jobs. > Sort Ascending > > ID Name User Size Pages State Control > hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens > 2k 1 completed at > Fri 21 Sep 2007 02:58:37 PM EST > > hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens > 1k 1 completed at > Fri 21 Sep 2007 02:56:33 PM EST Very likely, you are using the native Windows platform drivers on your Windows clients for the target printers as is provided by HP. That means, CUPS receives an unknown binary jobfile format (mime type of "application/octet-stream"), and will not filter it, hence, doesn't count pages. Therefore it logs the dummy "1 page" entry only. (If you used the PostScript driver on the Windows clients, as is installed when you use the "cupsaddsmb" method of handing the CUPS driver/PPD to Samba, your page count would be more precise). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From john at cs.york.ac.uk Fri Sep 21 08:06:30 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 21 Sep 2007 08:06:30 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 Message-ID: <30627-cups.general@news.easysw.com> > John A. Murdie wrote: > > ... > > I've not seen an illustration anywhere of how this looks like to > > the user of one of these untrusted clients - for instance in the > > GUI of a Mac OS X client. > > Kerberized printing is not supported on Mac OS X 10.4.x. (Sorry, of course; it still has CUPS 1.1.something.) > > I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with > > software updates) to try this out. I decided to try an initial > > Location directive which Allow-s all the subnets in use, and the > > to have two Limit-s in the default Policy, one for the trusted > > subnet and one for the untrusted subnet: > > > > > > Allow from trusted > > Order deny,allow > > > > > > > > Allow from untrusted > > Require user @OWNER @SYSTEM > > Order deny,allow > > > > You really want to use: > > > Order allow,deny > Allow from trusted > Require user @OWNER @SYSTEM > AuthType Default > Satisfy any > > > The "Satisfy any" part tells CUPS to only require authentication on > the untrusted hosts/networks. > > In CUPS 1.2, the "AuthType Default" would need to be "AuthType Basic", > "AuthType Digest", or "AuthType BasicDigest". > > And like I said, you can't do Kerberized CUPS printing on Mac OS X > 10.4.x - even if you did install CUPS 1.3 on it, there is no GUI > support and the Kerberos is too old to support delegated credentials > properly... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer I would hope at least to be able to lock out the untrusted clients (on a separate subnet from the trusted clients) if they cannot authenticate by the required means. Unfortunately, I have been unable to do this. I have in cupsd.conf an initial Location directive: Order allow,deny Allow from trusted/255.255.254.0 Allow from unstrusted/255.255.254.0 Encryption Required ('trusted' and 'untrusted' being the subnetwork address of the trusted and untrusted networks, respectively) which is followed by: Order allow,deny Allow from trusted Require user @OWNER @SYSTEM AuthType Basic Satisfy any yet this still permits the untrusted Mac OS X client to print (masquerading as any user known to the CUPS server). I've read "Managing Operations Policies" and understand that "operation policies can only add additional security restrictions to a request, never relax them" - but I'm adding them here. With AuthType Basic, I'd expect the Mac to popup a dialogue box with a request to authenticate against the CUPS server. Even with AuthType Negotiate above, the Mac can still print. Either I've configured it wrongly, or it's not fail-safe. (It is necessary for there to be basic "Allow from" directives in the Location section, or else nothing can interact with the server, of course. The Mac OS X client's Safari browser correctly handles the Encryption Required as we'd expect.) John A. Murdie From msweet at apple.com Fri Sep 21 09:40:39 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 21 Sep 2007 09:40:39 -0700 Subject: [cups.general] Beginner's problem with authentication policyin 1.3.0 In-Reply-To: <30627-cups.general@news.easysw.com> References: <30627-cups.general@news.easysw.com> Message-ID: <30628-cups.general@news.easysw.com> John A. Murdie wrote: > ... > > > Order allow,deny > Allow from trusted > Require user @OWNER @SYSTEM > AuthType Basic > Satisfy any > > > yet this still permits the untrusted Mac OS X client to print (masquerading as any user known to the CUPS server). I've read "Managing Operations Policies" and understand that "operation policies can only add additional security restrictions to a request, never relax them" - but I'm adding them here. Hmm, the AuthType should kick in the authentication requirement - cupsdIsAuthorized() only uses the requesting-user-name value if AuthType is None or unspecified... Can you run with LogLevel set to debug2 and provide me with the cupsdIsAuthorized messages (off-line, if you wish)? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Fri Sep 21 10:02:02 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 10:02:02 -0700 Subject: Child exited signal 11 Message-ID: <30629-cups.general@news.easysw.com> > > Patrick Vanguardia wrote: > > >> Patrick Vanguardia wrote: > > >> > > >>> Port 631 > > >>> Listen *:631 > > >> Misconfiguration! > > >> > > >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP > > >> address, and the effect is cupsd tries to do it *twice*. But it is only > > >> possible once. > > >> > > >> > > >> (your error_log extract looks like it started up fully though?) > > >> > > >> > > >> -- > > >> Kurt Pfeifle > > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > > > Hi, > > > > > > I already saw the error and it was in spool, when i deleted all of > > > those it runs again. Any idea? > > > > Sorry? > > > > I don't understand what you are trying to say... *Which* error did you > > see*? *What* was in "spool"? *Which* spool? *What* did you delete? > > What do you ask for if "it runs again"? > > > > > Thanks > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > > Hi, > > Okay, I'm seeing Loading jobs in error_log i don't know if its an error so ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 and so on until c00134. so i tried to move/delete those files and try to restart the cups services and the cups service runs again. > > Thanks > Patrick Hi, Any idea why I'm encountering such errors? Thanks, Patrick From pvanguardia at gmail.com Fri Sep 21 10:03:45 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 10:03:45 -0700 Subject: Start print immediately Message-ID: <30630-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > Hi, > > > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? > > No, sorry. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi, I would like to know if using MAC OS will be able to start print immediately? Thanks, Patrick From msweet at apple.com Fri Sep 21 10:19:21 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 21 Sep 2007 10:19:21 -0700 Subject: [cups.general] Start print immediately In-Reply-To: <30630-cups.general@news.easysw.com> References: <30630-cups.general@news.easysw.com> Message-ID: <30631-cups.general@news.easysw.com> Patrick Vanguardia wrote: >> Patrick Vanguardia wrote: >>> Hi, >>> >>> Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? >> No, sorry. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Hi, > > I would like to know if using MAC OS will be able to start print immediately? I assume you mean Mac OS X? Since it also uses CUPS, it has the same implementation and will not start printing immediately. Print jobs are spooled first, then filtered and sent to the printer. In particular, the PDF and PostScript formats generally require random access to the file in order to combine the various resources (fonts, images, etc.) onto each page and to do page selection and imposition. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Fri Sep 21 11:06:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 11:06:41 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 In-Reply-To: <30627-cups.general@news.easysw.com> References: <30627-cups.general@news.easysw.com> Message-ID: <30632-cups.general@news.easysw.com> John A. Murdie wrote: > I would hope at least to be able to lock out the untrusted clients (on > a separate subnet from the trusted clients) if they cannot authenticate > by the required means. Unfortunately, I have been unable to do this. I > have in cupsd.conf an initial Location directive: > > > Order allow,deny > Allow from trusted/255.255.254.0 > Allow from unstrusted/255.255.254.0 Are you sure you don't mean Deny from unstrusted/255.255.254.0 ? *Deny* ? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 21 11:11:59 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 11:11:59 -0700 Subject: Child exited signal 11 In-Reply-To: <30629-cups.general@news.easysw.com> References: <30629-cups.general@news.easysw.com> Message-ID: <30633-cups.general@news.easysw.com> Patrick Vanguardia wrote: >>> Patrick Vanguardia wrote: >>>>> Patrick Vanguardia wrote: >>>>> >>>>>> Port 631 >>>>>> Listen *:631 >>>>> Misconfiguration! >>>>> >>>>> Delete one of these lines. Each tells cupsd to bind to port 631 each IP >>>>> address, and the effect is cupsd tries to do it *twice*. But it is only >>>>> possible once. >>>>> >>>>> >>>>> (your error_log extract looks like it started up fully though?) >>>>> >>>>> >>>>> -- >>>>> Kurt Pfeifle >>>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>>>> A RICOH Company ........................... D-70327 Stuttgart/Germany >>>> Hi, >>>> >>>> I already saw the error and it was in spool, when i deleted all of >>>> those it runs again. Any idea? >>> Sorry? >>> >>> I don't understand what you are trying to say... *Which* error did you >>> see*? *What* was in "spool"? *Which* spool? *What* did you delete? >>> What do you ask for if "it runs again"? >>> >>>> Thanks >>> -- >>> Kurt Pfeifle >>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>> A RICOH Company ........................... D-70327 Stuttgart/Germany >> >> Hi, >> >> Okay, I'm seeing Loading jobs in error_log i don't know if its an error so > ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 > and so on until c00134. so i tried to move/delete those files and try to > restart the cups services and the cups service runs again. >> >> Thanks >> Patrick > > Hi, > > Any idea why I'm encountering such errors? Sorry, I *still* don't understand which error you are experiencing. It is completely normal that CUPS has the c0NNNN files in its spool directory. These are the jobs' "control" files, and they are used for displaying the job history (completed jobs in the web interface). Their max number depends on your cupsd.conf (default is 500, IIRC). It is also normal that you'll see a "loading jobs" message when cupsd starts up. This message reflects that cupsd is currently evaluating the c0NNNN files that are still present when starting again... (the user may have deleted some, as you did...) > Thanks, > Patrick -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Fri Sep 21 16:37:09 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 16:37:09 -0700 Subject: Start print immediately Message-ID: <30634-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > >> Patrick Vanguardia wrote: > >>> Hi, > >>> > >>> Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? > >> No, sorry. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > > > Hi, > > > > I would like to know if using MAC OS will be able to start print immediately? > > I assume you mean Mac OS X? Since it also uses CUPS, it has the same > implementation and will not start printing immediately. Print jobs > are spooled first, then filtered and sent to the printer. > > In particular, the PDF and PostScript formats generally require > random access to the file in order to combine the various resources > (fonts, images, etc.) onto each page and to do page selection and > imposition. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks From news at gerd.sg18.net Sat Sep 22 03:20:48 2007 From: news at gerd.sg18.net (Gerd Katzenbeisser) Date: Sat, 22 Sep 2007 03:20:48 -0700 Subject: Printing from OS X to Debian Cups doesn't work with AL-C1100 Message-ID: <30635-cups.general@news.easysw.com> Hi! I have a Debian Server with CUPS 1.2.7 running. I also downloaded and installed the Epson-ALC1100-filter-1.2 on the Debian Machine. I tested the configuration by printing a Test Page which works fine. Now I wanted to set up my OS X Powerbook for printing to the server. I added the printer via LPD URL: http://server:631/printers/EPSON_AL-C1100_USB_1 (I also tried IPP with the same effect) I selected the "standard" driver from os x as there is could not find a suitable driver for os x. A print job shows up in the queue list on the server and the printer indicates that it is receiving data but it doesn't print. Maybe it is just a driver problem so i was looking for a suitable driver at the Gutenprint Homepage but I couldn't find one. Got anyone any suggestions to solve this problem? thanks Gerd From ron at example.com Sat Sep 22 11:50:31 2007 From: ron at example.com (roN) Date: Sat, 22 Sep 2007 11:50:31 -0700 Subject: Windows no access Message-ID: <30636-cups.general@news.easysw.com> Hi, I've setup a printer HP 4200series on my server with CUPS. I have no troubels to print with my linux client but my Windows clients just say "no access". I don't know what, i've tried to follow different tutorials on the net but couldn't figure out what to change to make it work. Can anyone of you guys point the finger in the right direction - please? Thanks! Help would be appricated! :) -- chEErs roN From remegius at comcast.net Sat Sep 22 22:40:15 2007 From: remegius at comcast.net (Rem P Roberti) Date: Sat, 22 Sep 2007 22:40:15 -0700 Subject: [cups.general] Installation Woes Message-ID: <30637-cups.general@news.easysw.com> Hi Everyone...and HELP! First of all the http://localhost:631/admin/ site steadfastly refuses to accept my login, as either user or root, using the system password. However, I was able to install a printer in administrator's mode in KDE. But, I am unable to print either a test page, or anything else for that matter. BTW, I am running FreeBSD 6.2. I'm pretty sure that cups is running because of... ~ [22:14:44] > ps aux | grep cupsd root 874 0.0 0.3 4336 2796 ?? Ss 9:08PM 0:07.17 /usr/local/sbin/cupsd root 938 0.0 0.3 4380 3024 ?? Is 9:08PM 0:14.09 /usr/local/sbin/cupsd root 23129 0.0 0.1 1592 1040 p1 S+ 10:15PM 0:00.00 grep cupsd All of the old installation info that I have refers to changing the file cups.sh.sample to cups.sh in /usr/local/etc/rc.d. Neither of those files exists on my system. Perhaps the newer versions of cups do not rely on those files anymore. I have disabled the base system's lp, lpr, lpd, etc, so they do not conflict with the cup's commands of the same name. I have cups-base-1.2.12 installed on my system, and any help in getting me up and printing would be much appreciated. Rem From premjo.elias at gmail.com Sun Sep 23 01:13:22 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 23 Sep 2007 01:13:22 -0700 Subject: Card Printer Driver Developement Message-ID: <30638-cups.general@news.easysw.com> Hi Mr.Shawn, Thank you very much for your valid input. premjo > On Tuesday 18 September 2007 10:50:36 pm Premjo wrote: > > Our printers have facility to encode on magstripe and chip, how do i can > > incorporate the specific commands to take the card for encoding inside the > > printer? do i can add my own ? i want to show a screen on the tab saying > > color settings, k panel settings, etc. my own screens? > > For ideas about what's possible, I'd suggest you take a look at the > documentation for the "Open Platform" driver for DataCard's SP series > printers. It works via CUPS and does everything you mention. > > Also, I quite like DataCard's choice of a web services API for the control > that can't be handled through CUPS (things like determining when the card has > reached the chip station, or reading data from the magstripe). It's a very > well-designed and easy-to-use API, accessible from any language that has web > service client bindings, which is just about every thing. > > DataCard's driver and documentation is available on their web site. I don't > recall if there's anything in the license that would prohibit you from > studying their approach, but since you're obviously a competitor of theirs, > you should probably read the license carefully. > > I work on software that uses card printers, and I can tell you that if you > follow DataCard's approach, you'll increase the odds that I'll want to buy > your card printer. > > Shawn. > From news at gerd.sg18.net Sun Sep 23 07:49:02 2007 From: news at gerd.sg18.net (Gerd Katzenbeisser) Date: Sun, 23 Sep 2007 07:49:02 -0700 Subject: Printing from OS X to Debian Cups doesn't work with AL-C1100 In-Reply-To: <30635-cups.general@news.easysw.com> References: <30635-cups.general@news.easysw.com> Message-ID: <30639-cups.general@news.easysw.com> Gerd Katzenbeisser schrieb: > Hi! > > I have a Debian Server with CUPS 1.2.7 running. I also downloaded and > installed the Epson-ALC1100-filter-1.2 on the Debian Machine. > > I tested the configuration by printing a Test Page which works fine. Now > I wanted to set up my OS X Powerbook for printing to the server. > > I added the printer via LPD URL: > http://server:631/printers/EPSON_AL-C1100_USB_1 > > (I also tried IPP with the same effect) > > I selected the "standard" driver from os x as there is could not find a > suitable driver for os x. > > A print job shows up in the queue list on the server and the printer > indicates that it is receiving data but it doesn't print. > > Maybe it is just a driver problem so i was looking for a suitable driver > at the Gutenprint Homepage but I couldn't find one. > > Got anyone any suggestions to solve this problem? > > thanks > Gerd I figured out that the data is sent directly to the printer instead of processing the data through foomatic-rip. So my question is: How can I configure the cups server to process the PostScript data? Currently I have a workaround through SAMBA. But maybe anyone knows a better solution. greets Gerd From gotj at iinet.net.au Sun Sep 23 18:19:43 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Sun, 23 Sep 2007 18:19:43 -0700 Subject: [cups.general] spooling delays - take 2 Message-ID: <30640-cups.general@news.easysw.com> Hello, we have a cups server and two clients and all are running RHEL v4 with cups v1.1.22 We've noticed that when sending jobs from the clients, there is a noticeable 5-6 sec delay before the job number is finally displayed and for the lp command to finish. the cups server is setup NOT to use dns lookups and both cups server and client OSes are setup to use /etc/hosts file to resolve hostnames. here is a typical example: $time lp -d lptest /etc/hosts request id is lptest-757975 (1 file(s)) real 0m5.235s user 0m0.007s sys 0m0.007s Server and clients are running gigabit ethernet and there is no network related problem. The delay is pretty consistent and it never seems to get more than 6 secs. Even when I have both servers sending jobs in a loop the delay from both is between 5-6 secs. An strace of the lp command shows that the client end is just waiting for the server to finish sending printer information to it. Most of the output was like this: 27960 recv(3, "\1\1\0\1\0\0\0\1", 2048, 0) = 8 27960 time(NULL) = 1190261046 27960 recv(3, "\1G\0\22attributes-charset\0\5utf-8", 2048, 0) = 29 27960 time(NULL) = 1190261046 27960 recv(3, "H\0\33attributes-natural-language\0\5"..., 2048, 0) = 37 27960 time(NULL) = 1190261046 27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 27960 time(NULL) = 1190261046 27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 27960 time(NULL) = 1190261046 27960 recv(3, "A\0\25printer-state-message\0001Print "..., 2048, 0) = 75 27960 time(NULL) = 1190261046 27960 recv(3, "\"\0\31printer-is-accepting-jobs\0\1\1", 2048, 0) = 31 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\17printer-up-time\0\4F\361\3615", 2048, 0) = 24 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\22printer-state-time\0\4F\355<\237", 2048, 0) = 27 27960 time(NULL) = 1190261046 27960 recv(3, "1\0\24printer-current-time\0\v\7\327\t\24\4\4\5"..., 2048, 0) = 36 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\20queued-job-count\0\4\0\0\0\0", 2048, 0) = 25 27960 time(NULL) = 1190261046 27960 recv(3, "B\0\fprinter-name\0\10hp8khume", 2048, 0) = 25 27960 time(NULL) = 1190261046 27960 recv(3, "B\0\22job-sheets-default\0\4noneB\0\0\0\4"..., 2048, 0) = 36 27960 time(NULL) = 1190261046 27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 27960 time(NULL) = 1190261046 27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 Does anyone have any ideas ? Thanks. From none at none.com Sun Sep 23 19:58:50 2007 From: none at none.com (Matthew Jurgens) Date: Sun, 23 Sep 2007 19:58:50 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30626-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> <30626-cups.general@news.easysw.com> Message-ID: <30641-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Matthew Jurgens wrote: >> I'm running the following RPM of CUPS on Fedora Core 6 >> cups-1.2.12-4.fc6 >> >> I'm using it with an HP Laserjet 3055. >> This printer is listed as fully supported and it does work just fine. >> >> Everything about the printer operation work perfectly fine. Its setup >> using the HP-LaserJet_3055-hpijs.ppd file. >> >> No matter which document it prints, no matter the type or how many >> pages, the CUPs web page admin "Completed Jobs" section only ever shows >> jobs as having 1 page. They have variable sizes, but only ever one page. >> >> How can I fix this? >> >> I've deleted and re-added the printer, made sure I have the latest CUPS >> for my distribution etc >> >> Below is a sample from the web page for 2 jobs, one 2 pages and the >> other 3 pages. >> >> >> Showing 4 of 4 completed jobs. >> Sort Ascending >> >> ID Name User Size Pages State Control >> hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens >> 2k 1 completed at >> Fri 21 Sep 2007 02:58:37 PM EST >> >> hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens >> 1k 1 completed at >> Fri 21 Sep 2007 02:56:33 PM EST > > > Very likely, you are using the native Windows platform drivers on your > Windows clients for the target printers as is provided by HP. > > That means, CUPS receives an unknown binary jobfile format (mime type of > "application/octet-stream"), and will not filter it, hence, doesn't count > pages. Therefore it logs the dummy "1 page" entry only. > > (If you used the PostScript driver on the Windows clients, as is installed > when you use the "cupsaddsmb" method of handing the CUPS driver/PPD to > Samba, your page count would be more precise). > > This is a great little pointer that I was unaware of. I've now setup the printer (an HP 3055) so that it is shared out using the cupsaddsmb method. I used the cups-windows-6.0-1 from the CUPS site and the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF files from a Windows XP machine. The printer now adds seamlessly to Windows clients but still does not show page counts (only shows that 1 page has printed). I thought perhaps the existing machine I was using still was getting confused between the HP drivers which I had installed previously and the CUPS postscript drivers. To address this I created a virtual machine that had never had any printers installed (This machine did not have any of the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF etc files in the "C:\windows\system32\spool\drivers\w32x86\3" directory) and then added the printer from the samba share. The printer added automatically, drivers and all. CUPS was still reporting my 2 page document as 1 page only. I then remembered that the cupsaddsmb manpage had said that the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF files were availabile in the "C:\windows\system32\spool\drivers\w32x86\3" on ANY system - which they clearly were not on my new virtual machine. So I checked these files on a few systems and found one that had printers installed but not the HP3055. The ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF were different to the ones I was previously using. I copied them to the virtual machine. Still my test document was only 1 page. Interestingly enough the print size for the test document had increased from 61k to 68k (driver differences?). So I still have the same problem - page counts always show as 1. Any other pointers? From alet at librelogiciel.com Sun Sep 23 20:36:05 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Sun, 23 Sep 2007 20:36:05 -0700 Subject: [cups.general] "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30641-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> <30626-cups.general@news.easysw.com> <30641-cups.general@news.easysw.com> Message-ID: <30642-cups.general@news.easysw.com> On Sun, Sep 23, 2007 at 07:58:50PM -0700, Matthew Jurgens wrote: > > So I still have the same problem - page counts always show as 1. > > Any other pointers? Not sure about the real solution to your problem, but I believe the following link will be helpful to you : http://www.pykota.com Jerome Alet From magnus at rissnekyrkan.org Mon Sep 24 03:59:23 2007 From: magnus at rissnekyrkan.org (Magnus Kronberg) Date: Mon, 24 Sep 2007 03:59:23 -0700 Subject: Again KonicaMinolta 7222 Message-ID: <30643-cups.general@news.easysw.com> Posting again... I'm having problems with my network printer/copier KonicaMinolta 7222. I've downloaded the driver from KonicaMinolta IP424.ppd, but the output when printing the testpage (or any other) are some kind of an error message. It starts with %!PS-Adobe-3.0% and goes on with letters disappearing to the right. It then goes on to try printing between 12-50 blank pages. Where do I start to look for what's wrong? / Magnus From gerald.britton at gmail.com Mon Sep 24 07:19:02 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 07:19:02 -0700 Subject: [cups.general] Need help printing PDFs Message-ID: <30644-cups.general@news.easysw.com> HI -- I'm new to CUPS and want to print a PDF file. The PDF is a large format (12" x 18") and I want to print it on standard "Letter" size paper (8 12" x 11"). So far, no luck. Here's what I've tried: 1. lp my.pdf ===> printer asks for 12 x 18 paper, I tell printer to use standard letter stock. Only the top left corner is printer (expected) BUT the printout is enlarged by a factor of eight or so 2. lp -o media=letter my.pdf ===> same results as above (printer still asks for 12x18" paper) 3. lp -o media=letter -o fitplot my.pdf ===> printer still asks for 12 x 18 paper, I tell printer to use standard letter stock. All I get is one blank page I'm not sure what to try next, but it's a bit frustrating at this point. Hope someone can help. Oh, btw the printer is an HP 9040mfp From momoir at gmail.com Mon Sep 24 10:30:03 2007 From: momoir at gmail.com (Mohammad) Date: Mon, 24 Sep 2007 10:30:03 -0700 Subject: Holding jobs for a certain amount of time Message-ID: <30645-cups.general@news.easysw.com> Hi, I have added the following option in my printer configuration file to hold all jobs coming to printer: Option job-hold-until indefinite But, I need every job be held there for a certain amount of time, say 30 mins, and then it automatically gets canceled instead of getting printed. By specifying the option I have used, all jobs will be remained in the queue, while many of them will not be printed in future. Any idea how to achieve this functionality? From k1pfeifle at gmx.net Mon Sep 24 12:29:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 12:29:28 -0700 Subject: Again KonicaMinolta 7222 In-Reply-To: <30643-cups.general@news.easysw.com> References: <30643-cups.general@news.easysw.com> Message-ID: <30646-cups.general@news.easysw.com> Magnus Kronberg wrote: > Posting again... I'm having problems with my network printer/copier > KonicaMinolta 7222. I've downloaded the driver from KonicaMinolta > IP424.ppd, but the output when printing the testpage (or any other) > are some kind of an error message. It starts with %!PS-Adobe-3.0% > and goes on with letters disappearing to the right. It then goes on > to try printing between 12-50 blank pages. Where do I start to look > for what's wrong? > / Magnus Looks like your printer is printing the PostScript code as text... What is the output of this command: grep cupsFilter /etc/cups/ppd/[your-printer-name].ppd ?? If empty, the PPD is meant for a PostScript printer. If that is the case, your printer must be equipped with a PostScript module. If it doesn't have such a module, this would explain why it tries to print the PostScript it received as a text file. If there *is* some cupsFilter referenced in the PPD, said filter needs to be present (and executable) in your CUPS filter directory (which usually is /usr/lib/cups/filter/). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Mon Sep 24 12:39:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 12:39:25 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30644-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> Message-ID: <30647-cups.general@news.easysw.com> Gerald Britton wrote: > HI -- I'm new to CUPS and want to print a PDF file. Which distro? Which version of CUPS? Which pdftops filter used in CUPS (use the "file /usr/lib/cups/filter/pdftops" command to find out if it is just a wrapper script or a binary) ? I'm asking because some distros don't ship the original CUPS pdftops filter, but have cobbled together their own wrapper script around the XPDF utility with the same name, which regularly causes problems similar to yours, due to its own bugs and misconfiguration.... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Mon Sep 24 12:43:52 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 12:43:52 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30647-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> Message-ID: <30648-cups.general@news.easysw.com> Distro is ubuntu 7.04 Cups version is 1.2.8-0ubuntu8 On 9/24/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > HI -- I'm new to CUPS and want to print a PDF file. > > Which distro? > > Which version of CUPS? > > Which pdftops filter used in > CUPS (use the "file /usr/lib/cups/filter/pdftops" command to find out > if it is just a wrapper script or a binary) ? > > I'm asking because some distros don't ship the original CUPS pdftops > filter, but have cobbled together their own wrapper script around > the XPDF utility with the same name, which regularly causes problems > similar to yours, due to its own bugs and misconfiguration.... > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Mon Sep 24 12:55:58 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 12:55:58 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cups server -- driver question Message-ID: <30649-cups.general@news.easysw.com> Hi -- I am trying to set up cups to make it easy for windows users to add cups printers. I'm ok so far except for one last piece: having windows find the driver. When adding a new printer (windows 2000), I: 1. add a new network printer 2. put in the address http://cups:631/printers/myprinter 3. hit enter at this point, windows says "Can't find driver" (well it's more verbose, but that's the meaning). I previously downloaded the cups windows driver to a temp directory on the windows box, so I can browse to that location and load up the driver. However, what I want to do is have windows find the driver automatically at step 3. Can this be done? Where do I put the files (and which ones) to make this happen? NOTE: I am not running Samba. This is to be a pure cups server. From k1pfeifle at gmx.net Mon Sep 24 13:00:53 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 13:00:53 -0700 Subject: Holding jobs for a certain amount of time In-Reply-To: <30645-cups.general@news.easysw.com> References: <30645-cups.general@news.easysw.com> Message-ID: <30650-cups.general@news.easysw.com> Mohammad wrote: > Hi, I have added the following option in my printer configuration file > to hold all jobs coming to printer: > Option job-hold-until indefinite > > But, I need every job be held there for a certain amount of time, say > 30 mins, and then it automatically gets canceled instead of getting > printed. > > By specifying the option I have used, all jobs will be remained in the > queue, while many of them will not be printed in future. > > Any idea how to achieve this functionality? CUPS currently only supports the standard IPP option values for "job- hold-until", AFAIK. These values are (according to RFC 2911): 'no-hold': print immediately, if there are not other reasons to hold the job 'indefinite': job is held indefinitely, until a client performs a Release-Job (section 3.3.6) 'day-time': print during the day 'evening': print at the evening 'night': print at night 'weekend': print next weekend 'second-shift': print during second-shift (after close of business) 'third-shift': print during third-shift (after midnight) It's left to your own evaluation if you find these definitions to be useful and precise and complete enough for an accepted IETF standard. CUPS adds a value of its own, by allowing you to specify the UTC time for printing, and also makes the other RFC definitions a bit more precise: -o job-hold-until=indefinite ; print only after released by the job-owner or an administrator -o job-hold-until=day-time ; print from 6am to 6pm local time -o job-hold-until=night ; print from 6pm to 6am local time -o job-hold-until=second-shift ; print from 4pm to 12am local time -o job-hold-until=third-shift ; print from 12am to 8am local time -o job-hold-until=weekend ; print on Saturday or Sunday -o job-hold-until=HH:MM ; print at the specified UTC (!) time So currently it is not possible to say "if job is not released within 30 minutes, delete it". You'll have to write your own script, run by cron, to automatically delete all jobs that are older than 30 minutes. Have a look here to get some ideas how you could do that: http://www.cups.org/newsgroups.php?s1+gcups.general+v9+T+Q%22delete+old+print+jobs%22 Just use date -d "31 minutes ago" as a basis for finding those jobs that are already older than 30 minutes. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gotj at iinet.net.au Mon Sep 24 18:19:47 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Mon, 24 Sep 2007 18:19:47 -0700 Subject: [cups.general] spooling delays - take 2 Message-ID: <30651-cups.general@news.easysw.com> We setup a cronjob and restarted the cups server late at night when it was not busy. It now behaves nicely with almost instant response from local and remote jobs. I wonder if our cronjob that manually moves old spool files out of /var/spool/cups into an archive folder caused this problem. any ideas? On Mon Sep 24 9:19 , "gotj at iinet.net.au" sent: >Hello, > >we have a cups server and two clients and all are running RHEL v4 with cups v1.1.22 > >We've noticed that when sending jobs from the clients, there is a noticeable 5-6 >sec delay before the job number is finally displayed and for the lp command to >finish. > >the cups server is setup NOT to use dns lookups and both cups server and client >OSes are setup to use /etc/hosts file to resolve hostnames. > >here is a typical example: > >$time lp -d lptest /etc/hosts >request id is lptest-757975 (1 file(s)) > >real 0m5.235s >user 0m0.007s >sys 0m0.007s > >Server and clients are running gigabit ethernet and there is no network related >problem. > >The delay is pretty consistent and it never seems to get more than 6 secs. Even >when I have both servers sending jobs in a loop the delay from both is between >5-6 secs. > >An strace of the lp command shows that the client end is just waiting for the >server to finish sending printer information to it. Most of the output was like this: > >27960 recv(3, "\1\1\0\1\0\0\0\1", 2048, 0) = 8 >27960 time(NULL) = 1190261046 >27960 recv(3, "\1G\0\22attributes-charset\0\5utf-8", 2048, 0) = 29 >27960 time(NULL) = 1190261046 >27960 recv(3, "H\0\33attributes-natural-language\0\5"..., 2048, 0) = 37 >27960 time(NULL) = 1190261046 >27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 >27960 time(NULL) = 1190261046 >27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 >27960 time(NULL) = 1190261046 >27960 recv(3, "A\0\25printer-state-message\0001Print "..., 2048, 0) = 75 >27960 time(NULL) = 1190261046 >27960 recv(3, "\"\0\31printer-is-accepting-jobs\0\1\1", 2048, 0) = 31 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\17printer-up-time\0\4F\361\3615", 2048, 0) = 24 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\22printer-state-time\0\4F\355 >27960 time(NULL) = 1190261046 >27960 recv(3, "1\0\24printer-current-time\0\v\7\327\t\24\4\4\5"..., 2048, 0) = 36 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\20queued-job-count\0\4\0\0\0\0", 2048, 0) = 25 >27960 time(NULL) = 1190261046 >27960 recv(3, "B\0\fprinter-name\0\10hp8khume", 2048, 0) = 25 >27960 time(NULL) = 1190261046 >27960 recv(3, "B\0\22job-sheets-default\0\4noneB\0\0\0\4"..., 2048, 0) = 36 >27960 time(NULL) = 1190261046 >27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 >27960 time(NULL) = 1190261046 >27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 > >Does anyone have any ideas ? > >Thanks. > From k1pfeifle at gmx.net Mon Sep 24 20:35:05 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 20:35:05 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30648-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> Message-ID: <30652-cups.general@news.easysw.com> Gerald Britton wrote: > Distro is ubuntu 7.04 > Cups version is 1.2.8-0ubuntu8 > On 9/24/07, Kurt Pfeifle wrote: >> use the "file /usr/lib/cups/filter/pdftops" command to find out >> if it is just a wrapper script or a binary) ? Hmmm? >> I'm asking because some distros don't ship the original CUPS pdftops >> filter, but have cobbled together their own wrapper script around >> the XPDF utility with the same name, which regularly causes problems >> similar to yours, due to its own bugs and misconfiguration.... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From premjo.elias at gmail.com Tue Sep 25 02:18:46 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 25 Sep 2007 02:18:46 -0700 Subject: CUPS data flow Message-ID: <30653-cups.general@news.easysw.com> Please help me on how the print data flows on the CUPS to the printer? From herates at web.de Tue Sep 25 03:31:10 2007 From: herates at web.de (wolfgang) Date: Tue, 25 Sep 2007 03:31:10 -0700 Subject: check device; will retry in 30 seconds. Message-ID: <30654-cups.general@news.easysw.com> hello, I own an HP laserjet 1100. it is connected to an ubuntu 7.04 system. so it uses cups 1.2.8 Everyday the printing system stops. The error log is full of these messages... E [24/Sep/2007:17:06:47 +0200] [Job 267] check device; will retry in 30 seconds. After restarting the cupsdaemon, cups goes on to print. i don't know how to solve the problem or to get infos which could help me. someone has an idea to solve this problem? because the printer is used in a network and everday someone tells me that he can't print. From h.blischke at srz.de Tue Sep 25 03:53:36 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 03:53:36 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cupsserver -- driver question In-Reply-To: <30649-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> Message-ID: <30655-cups.general@news.easysw.com> Gerald Britton wrote: > Hi -- I am trying to set up cups to make it easy for windows users to > add cups printers. I'm ok so far except for one last piece: having > windows find the driver. When adding a new printer (windows 2000), I: > > 1. add a new network printer > 2. put in the address http://cups:631/printers/myprinter > 3. hit enter > > at this point, windows says "Can't find driver" (well it's more > verbose, but that's the meaning). I previously downloaded the cups > windows driver to a temp directory on the windows box, so I can browse > to that location and load up the driver. > > However, what I want to do is have windows find the driver > automatically at step 3. Can this be done? Where do I put the files > (and which ones) to make this happen? > > NOTE: I am not running Samba. This is to be a pure cups server. > Probably you need an .inf file which tells Windows where to look for the required files (DLLs, PPDs and dependent stuff). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Tue Sep 25 04:39:12 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 04:39:12 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30652-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> Message-ID: <30656-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: > > >>Distro is ubuntu 7.04 >>Cups version is 1.2.8-0ubuntu8 > > >>On 9/24/07, Kurt Pfeifle wrote: > > >>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>if it is just a wrapper script or a binary) ? > > > Hmmm? > > >>>I'm asking because some distros don't ship the original CUPS pdftops >>>filter, but have cobbled together their own wrapper script around >>>the XPDF utility with the same name, which regularly causes problems >>>similar to yours, due to its own bugs and misconfiguration.... > > The "alternate pdftops filter" as published on the CUPS web site (see the links there) offers nearly all options the xpdf's pdftops utility known as job attributes. E.g. add "-o pdf-paper=letter" (without the quotes) as a command line option to the lp or lpr command to force printing on letter sized media. See the descriptional comments in the wrapper script for further details. BTW, the wrapper script permits the use of acroread (the free Adobe reader) as a further alternative - there are PDF files which can only be converted to usable PS by acroread. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 06:38:08 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 06:38:08 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cupsserver -- driver question In-Reply-To: <30655-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> Message-ID: <30657-cups.general@news.easysw.com> Yes, I do need an inf file as well as dlls, ppds, etc. I have collected all of these, but am looking for help on where to put them on the cups server so that, when the windows user adds the cups printer, the driver is found by windows and automatically installed on the users' machine. Where do I put this stuff on the cups server to make this magic happen? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Hi -- I am trying to set up cups to make it easy for windows users to > > add cups printers. I'm ok so far except for one last piece: having > > windows find the driver. When adding a new printer (windows 2000), I: > > > > 1. add a new network printer > > 2. put in the address http://cups:631/printers/myprinter > > 3. hit enter > > > > at this point, windows says "Can't find driver" (well it's more > > verbose, but that's the meaning). I previously downloaded the cups > > windows driver to a temp directory on the windows box, so I can browse > > to that location and load up the driver. > > > > However, what I want to do is have windows find the driver > > automatically at step 3. Can this be done? Where do I put the files > > (and which ones) to make this happen? > > > > NOTE: I am not running Samba. This is to be a pure cups server. > > > > Probably you need an .inf file which tells Windows where to look > for the required files (DLLs, PPDs and dependent stuff). > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 06:51:03 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 06:51:03 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to acupsserver -- driver question In-Reply-To: <30657-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> <30657-cups.general@news.easysw.com> Message-ID: <30658-cups.general@news.easysw.com> Gerald Britton wrote: > Yes, I do need an inf file as well as dlls, ppds, etc. I have > collected all of these, but am looking for help on where to put them > on the cups server so that, when the windows user adds the cups > printer, the driver is found by windows and automatically installed on > the users' machine. > > Where do I put this stuff on the cups server to make this magic happen? > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>Hi -- I am trying to set up cups to make it easy for windows users to >>>add cups printers. I'm ok so far except for one last piece: having >>>windows find the driver. When adding a new printer (windows 2000), I: >>> >>>1. add a new network printer >>>2. put in the address http://cups:631/printers/myprinter >>>3. hit enter >>> >>>at this point, windows says "Can't find driver" (well it's more >>>verbose, but that's the meaning). I previously downloaded the cups >>>windows driver to a temp directory on the windows box, so I can browse >>>to that location and load up the driver. >>> >>>However, what I want to do is have windows find the driver >>>automatically at step 3. Can this be done? Where do I put the files >>>(and which ones) to make this happen? >>> >>>NOTE: I am not running Samba. This is to be a pure cups server. >>> >> >>Probably you need an .inf file which tells Windows where to look >>for the required files (DLLs, PPDs and dependent stuff). >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Well, you said you do not use samba. Then you'd have to put all this stuff into a directory on the Windows box itself (or put it onto an USB stick and import it from there). You need to follow the approach as if getting the stuff from a CD or floppy. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 07:04:55 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:04:55 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30656-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> Message-ID: <30659-cups.general@news.easysw.com> Thanks for the tip on acroread. I installed it and found that it does a better job. The only problem I have with it is that it does not obey the landscape option. No matter what I do, it prints portrait. So. here's what I know: cups/lp can't print all PDFs properly. You need Acrobat Reader for that Acrobat reader (on Linux) doesn't process all options properly. You need Windows for that! On 9/25/07, Helge Blischke wrote: > Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > > > >>Distro is ubuntu 7.04 > >>Cups version is 1.2.8-0ubuntu8 > > > > > >>On 9/24/07, Kurt Pfeifle wrote: > > > > > >>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>if it is just a wrapper script or a binary) ? > > > > > > Hmmm? > > > > > >>>I'm asking because some distros don't ship the original CUPS pdftops > >>>filter, but have cobbled together their own wrapper script around > >>>the XPDF utility with the same name, which regularly causes problems > >>>similar to yours, due to its own bugs and misconfiguration.... > > > > > > The "alternate pdftops filter" as published on the CUPS web site (see the > links there) offers nearly all options the xpdf's pdftops utility > known as job attributes. E.g. add "-o pdf-paper=letter" > (without the quotes) as a command line option to the lp or lpr > command to force printing on letter sized media. See the > descriptional comments in the wrapper script for further details. > BTW, the wrapper script permits the use of acroread (the free > Adobe reader) as a further alternative - there are PDF files > which can only be converted to usable PS by acroread. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 07:06:32 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:06:32 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to acupsserver -- driver question In-Reply-To: <30658-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> <30657-cups.general@news.easysw.com> <30658-cups.general@news.easysw.com> Message-ID: <30660-cups.general@news.easysw.com> Ah -- that's what I was trying to avoid. You've answered my question, though. Cups by itself cannot supply the drivers. I either need Samba or another way to install the drivers locally. On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Yes, I do need an inf file as well as dlls, ppds, etc. I have > > collected all of these, but am looking for help on where to put them > > on the cups server so that, when the windows user adds the cups > > printer, the driver is found by windows and automatically installed on > > the users' machine. > > > > Where do I put this stuff on the cups server to make this magic happen? > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>Hi -- I am trying to set up cups to make it easy for windows users to > >>>add cups printers. I'm ok so far except for one last piece: having > >>>windows find the driver. When adding a new printer (windows 2000), I: > >>> > >>>1. add a new network printer > >>>2. put in the address http://cups:631/printers/myprinter > >>>3. hit enter > >>> > >>>at this point, windows says "Can't find driver" (well it's more > >>>verbose, but that's the meaning). I previously downloaded the cups > >>>windows driver to a temp directory on the windows box, so I can browse > >>>to that location and load up the driver. > >>> > >>>However, what I want to do is have windows find the driver > >>>automatically at step 3. Can this be done? Where do I put the files > >>>(and which ones) to make this happen? > >>> > >>>NOTE: I am not running Samba. This is to be a pure cups server. > >>> > >> > >>Probably you need an .inf file which tells Windows where to look > >>for the required files (DLLs, PPDs and dependent stuff). > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Well, you said you do not use samba. Then you'd have to put all this > stuff into a directory on the Windows box itself (or put it onto an > USB stick and import it from there). You need to follow the > approach as if getting the stuff from a CD or floppy. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 07:24:20 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 07:24:20 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30659-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> Message-ID: <30661-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for the tip on acroread. I installed it and found that it does > a better job. The only problem I have with it is that it does not > obey the landscape option. No matter what I do, it prints portrait. > > So. here's what I know: > > cups/lp can't print all PDFs properly. You need Acrobat Reader for that > Acrobat reader (on Linux) doesn't process all options properly. You > need Windows for that! > > On 9/25/07, Helge Blischke wrote: > >>Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>> >>> >>>>Distro is ubuntu 7.04 >>>>Cups version is 1.2.8-0ubuntu8 >>> >>> >>>>On 9/24/07, Kurt Pfeifle wrote: >>> >>> >>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>if it is just a wrapper script or a binary) ? >>> >>> >>>Hmmm? >>> >>> >>> >>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>filter, but have cobbled together their own wrapper script around >>>>>the XPDF utility with the same name, which regularly causes problems >>>>>similar to yours, due to its own bugs and misconfiguration.... >>> >>> >>The "alternate pdftops filter" as published on the CUPS web site (see the >>links there) offers nearly all options the xpdf's pdftops utility >>known as job attributes. E.g. add "-o pdf-paper=letter" >>(without the quotes) as a command line option to the lp or lpr >>command to force printing on letter sized media. See the >>descriptional comments in the wrapper script for further details. >>BTW, the wrapper script permits the use of acroread (the free >>Adobe reader) as a further alternative - there are PDF files >>which can only be converted to usable PS by acroread. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Perhaps you post (an URL to) a sample PDF. We print PDFs as indicated all the time and have not trouble with them, Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 07:31:08 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:31:08 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30661-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> Message-ID: <30662-cups.general@news.easysw.com> try this one: http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Thanks for the tip on acroread. I installed it and found that it does > > a better job. The only problem I have with it is that it does not > > obey the landscape option. No matter what I do, it prints portrait. > > > > So. here's what I know: > > > > cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > Acrobat reader (on Linux) doesn't process all options properly. You > > need Windows for that! > > > > On 9/25/07, Helge Blischke wrote: > > > >>Kurt Pfeifle wrote: > >> > >>>Gerald Britton wrote: > >>> > >>> > >>> > >>>>Distro is ubuntu 7.04 > >>>>Cups version is 1.2.8-0ubuntu8 > >>> > >>> > >>>>On 9/24/07, Kurt Pfeifle wrote: > >>> > >>> > >>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>if it is just a wrapper script or a binary) ? > >>> > >>> > >>>Hmmm? > >>> > >>> > >>> > >>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>filter, but have cobbled together their own wrapper script around > >>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>similar to yours, due to its own bugs and misconfiguration.... > >>> > >>> > >>The "alternate pdftops filter" as published on the CUPS web site (see the > >>links there) offers nearly all options the xpdf's pdftops utility > >>known as job attributes. E.g. add "-o pdf-paper=letter" > >>(without the quotes) as a command line option to the lp or lpr > >>command to force printing on letter sized media. See the > >>descriptional comments in the wrapper script for further details. > >>BTW, the wrapper script permits the use of acroread (the free > >>Adobe reader) as a further alternative - there are PDF files > >>which can only be converted to usable PS by acroread. > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Perhaps you post (an URL to) a sample PDF. > We print PDFs as indicated all the time and have not > trouble with them, > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 08:08:28 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 08:08:28 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30662-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> Message-ID: <30663-cups.general@news.easysw.com> Gerald Britton wrote: > try this one: > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>Thanks for the tip on acroread. I installed it and found that it does >>>a better job. The only problem I have with it is that it does not >>>obey the landscape option. No matter what I do, it prints portrait. >>> >>>So. here's what I know: >>> >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that >>>Acrobat reader (on Linux) doesn't process all options properly. You >>>need Windows for that! >>> >>>On 9/25/07, Helge Blischke wrote: >>> >>> >>>>Kurt Pfeifle wrote: >>>> >>>> >>>>>Gerald Britton wrote: >>>>> >>>>> >>>>> >>>>> >>>>>>Distro is ubuntu 7.04 >>>>>>Cups version is 1.2.8-0ubuntu8 >>>>> >>>>> >>>>>>On 9/24/07, Kurt Pfeifle wrote: >>>>> >>>>> >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>>>if it is just a wrapper script or a binary) ? >>>>> >>>>> >>>>>Hmmm? >>>>> >>>>> >>>>> >>>>> >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>>>filter, but have cobbled together their own wrapper script around >>>>>>>the XPDF utility with the same name, which regularly causes problems >>>>>>>similar to yours, due to its own bugs and misconfiguration.... >>>>> >>>>> >>>>The "alternate pdftops filter" as published on the CUPS web site (see the >>>>links there) offers nearly all options the xpdf's pdftops utility >>>>known as job attributes. E.g. add "-o pdf-paper=letter" >>>>(without the quotes) as a command line option to the lp or lpr >>>>command to force printing on letter sized media. See the >>>>descriptional comments in the wrapper script for further details. >>>>BTW, the wrapper script permits the use of acroread (the free >>>>Adobe reader) as a further alternative - there are PDF files >>>>which can only be converted to usable PS by acroread. >>>> >>>>Helge >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>Perhaps you post (an URL to) a sample PDF. >>We print PDFs as indicated all the time and have not >>trouble with them, >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > OK. The PDF file defines a media box (and a crop box with the same parameters) the width of which is greater than its height. That is, the page *is* a landscape page by definition. The "alternate pdftops filter", if configured as recommended, spits out a PostScript file which sets up a page size as defined by the PDF's media box, which is certainly too big for a letter sized media. But the pstops filter, if properly configured, shrinks the logical page to the availabel media size(s). It also should automatically account for the implicit orientation. Maybe that the latter feature still has not yet been implemented - we use the "alternate pstops filter" which does this (and has a couple of other features). Perhaps you need to play arount with the orientation option (-o orientation=n, where n 0s a number 0 to 3) to get the proper output with the original pstops filter. At our site, using both alternate filters, we simply emit lp -d printername e002379200.pdf to get a printout that looks OK. I need to note that all our printers are configured to use the PPDs shrink to fit option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") Helge Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From pvanguardia at gmail.com Tue Sep 25 08:12:26 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Tue, 25 Sep 2007 08:12:26 -0700 Subject: Cups Web Interface Message-ID: <30664-cups.general@news.easysw.com> hi, I added this line in my cupsd.conf AuthType Basic AuthClass USER Order allow,deny Allow All Ok this means that the classes adc1-467 will be viewable when entering the username and the password provided. Now my problem is whenever i view the http://localhost:631/classes/adc1-467 is giving me a prompt for user, when i input the user as adc1-467 which is added in samba user it doesn't recognize the user i need to input root to access the said location. Do i need something like AuthFile so when the user adc1-467 access the site it reads the authfile? and is it possible that the user adc1-467 will have access to reprint via web interface without using root user? Please advise. Thanks in advance, Patrick From gerald.britton at gmail.com Tue Sep 25 08:23:20 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:23:20 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30663-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> Message-ID: <30665-cups.general@news.easysw.com> Searching for the alternate pdftops filter at cups.org led me to: http://www.srz.de/Members/bla/cups/filter/pdftops is that right? I see three things there. Not to sure where to put them though. Does the new pdftops go into /usr/local/bin or something like that? What about the filters? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > try this one: > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>Thanks for the tip on acroread. I installed it and found that it does > >>>a better job. The only problem I have with it is that it does not > >>>obey the landscape option. No matter what I do, it prints portrait. > >>> > >>>So. here's what I know: > >>> > >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > >>>Acrobat reader (on Linux) doesn't process all options properly. You > >>>need Windows for that! > >>> > >>>On 9/25/07, Helge Blischke wrote: > >>> > >>> > >>>>Kurt Pfeifle wrote: > >>>> > >>>> > >>>>>Gerald Britton wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Distro is ubuntu 7.04 > >>>>>>Cups version is 1.2.8-0ubuntu8 > >>>>> > >>>>> > >>>>>>On 9/24/07, Kurt Pfeifle wrote: > >>>>> > >>>>> > >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>>>if it is just a wrapper script or a binary) ? > >>>>> > >>>>> > >>>>>Hmmm? > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>>>filter, but have cobbled together their own wrapper script around > >>>>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>>>similar to yours, due to its own bugs and misconfiguration.... > >>>>> > >>>>> > >>>>The "alternate pdftops filter" as published on the CUPS web site (see the > >>>>links there) offers nearly all options the xpdf's pdftops utility > >>>>known as job attributes. E.g. add "-o pdf-paper=letter" > >>>>(without the quotes) as a command line option to the lp or lpr > >>>>command to force printing on letter sized media. See the > >>>>descriptional comments in the wrapper script for further details. > >>>>BTW, the wrapper script permits the use of acroread (the free > >>>>Adobe reader) as a further alternative - there are PDF files > >>>>which can only be converted to usable PS by acroread. > >>>> > >>>>Helge > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>Perhaps you post (an URL to) a sample PDF. > >>We print PDFs as indicated all the time and have not > >>trouble with them, > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > OK. The PDF file defines a media box (and a crop box with the same > parameters) the width of which is greater than its height. That is, > the page *is* a landscape page by definition. > The "alternate pdftops filter", if configured as recommended, spits > out a PostScript file which sets up a page size as defined by the > PDF's media box, which is certainly too big for a letter sized media. > But the pstops filter, if properly configured, shrinks the logical > page to the availabel media size(s). It also should automatically > account for the implicit orientation. Maybe that the latter feature > still has not yet been implemented - we use the "alternate pstops filter" > which does this (and has a couple of other features). > > Perhaps you need to play arount with the orientation option > (-o orientation=n, where n 0s a number 0 to 3) to get the proper > output with the original pstops filter. > > At our site, using both alternate filters, we simply emit > lp -d printername e002379200.pdf > to get a printout that looks OK. I need to note that all our > printers are configured to use the PPDs shrink to fit > option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > Helge > > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 08:38:53 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:38:53 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250823s7d1e9c0k4e17fdfdc15cfe7@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <5d1a32000709250823s7d1e9c0k4e17fdfdc15cfe7@mail.gmail.com> Message-ID: <30666-cups.general@news.easysw.com> so, I put pdftops.pl in /usr/local/bin and chmod'd it to +x. I put the conf files in /etc/cups and tried lp -d printername e002379200.pdf First, the printer asked me for 12x18" paper, which I don't have, so I told it to use 8 1/2x11. However, all I got was one blank page! adding the option -o pdf-paper=letter made it print without a prompt, but not landscape adding the option -o landscape had no effect. so...I'm further ahead (thank you!) but still can't get it quite right. Anything else I can try? On 9/25/07, Gerald Britton wrote: > Searching for the alternate pdftops filter at cups.org led me to: > > http://www.srz.de/Members/bla/cups/filter/pdftops > > is that right? I see three things there. Not to sure where to put > them though. Does the new pdftops go into /usr/local/bin or something > like that? What about the filters? > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > try this one: > > > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > > > On 9/25/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>Thanks for the tip on acroread. I installed it and found that it does > > >>>a better job. The only problem I have with it is that it does not > > >>>obey the landscape option. No matter what I do, it prints portrait. > > >>> > > >>>So. here's what I know: > > >>> > > >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > >>>Acrobat reader (on Linux) doesn't process all options properly. You > > >>>need Windows for that! > > >>> > > >>>On 9/25/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Kurt Pfeifle wrote: > > >>>> > > >>>> > > >>>>>Gerald Britton wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Distro is ubuntu 7.04 > > >>>>>>Cups version is 1.2.8-0ubuntu8 > > >>>>> > > >>>>> > > >>>>>>On 9/24/07, Kurt Pfeifle wrote: > > >>>>> > > >>>>> > > >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > > >>>>>>>if it is just a wrapper script or a binary) ? > > >>>>> > > >>>>> > > >>>>>Hmmm? > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > > >>>>>>>filter, but have cobbled together their own wrapper script around > > >>>>>>>the XPDF utility with the same name, which regularly causes problems > > >>>>>>>similar to yours, due to its own bugs and misconfiguration.... > > >>>>> > > >>>>> > > >>>>The "alternate pdftops filter" as published on the CUPS web site (see the > > >>>>links there) offers nearly all options the xpdf's pdftops utility > > >>>>known as job attributes. E.g. add "-o pdf-paper=letter" > > >>>>(without the quotes) as a command line option to the lp or lpr > > >>>>command to force printing on letter sized media. See the > > >>>>descriptional comments in the wrapper script for further details. > > >>>>BTW, the wrapper script permits the use of acroread (the free > > >>>>Adobe reader) as a further alternative - there are PDF files > > >>>>which can only be converted to usable PS by acroread. > > >>>> > > >>>>Helge > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>Perhaps you post (an URL to) a sample PDF. > > >>We print PDFs as indicated all the time and have not > > >>trouble with them, > > >> > > >>Helge > > >> > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > > > > > > > OK. The PDF file defines a media box (and a crop box with the same > > parameters) the width of which is greater than its height. That is, > > the page *is* a landscape page by definition. > > The "alternate pdftops filter", if configured as recommended, spits > > out a PostScript file which sets up a page size as defined by the > > PDF's media box, which is certainly too big for a letter sized media. > > But the pstops filter, if properly configured, shrinks the logical > > page to the availabel media size(s). It also should automatically > > account for the implicit orientation. Maybe that the latter feature > > still has not yet been implemented - we use the "alternate pstops filter" > > which does this (and has a couple of other features). > > > > Perhaps you need to play arount with the orientation option > > (-o orientation=n, where n 0s a number 0 to 3) to get the proper > > output with the original pstops filter. > > > > At our site, using both alternate filters, we simply emit > > lp -d printername e002379200.pdf > > to get a printout that looks OK. I need to note that all our > > printers are configured to use the PPDs shrink to fit > > option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > > > Helge > > > > > > Helge > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Tue Sep 25 08:43:22 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 08:43:22 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30665-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> Message-ID: <30667-cups.general@news.easysw.com> Gerald Britton wrote: > Searching for the alternate pdftops filter at cups.org led me to: > > http://www.srz.de/Members/bla/cups/filter/pdftops > > is that right? I see three things there. Not to sure where to put > them though. Does the new pdftops go into /usr/local/bin or something > like that? What about the filters? > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>try this one: >>> >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>> >>>On 9/25/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>Thanks for the tip on acroread. I installed it and found that it does >>>>>a better job. The only problem I have with it is that it does not >>>>>obey the landscape option. No matter what I do, it prints portrait. >>>>> >>>>>So. here's what I know: >>>>> >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that >>>>>Acrobat reader (on Linux) doesn't process all options properly. You >>>>>need Windows for that! >>>>> >>>>>On 9/25/07, Helge Blischke wrote: >>>>> >>>>> >>>>> >>>>>>Kurt Pfeifle wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Gerald Britton wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Distro is ubuntu 7.04 >>>>>>>>Cups version is 1.2.8-0ubuntu8 >>>>>>> >>>>>>> >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: >>>>>>> >>>>>>> >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>>>>>if it is just a wrapper script or a binary) ? >>>>>>> >>>>>>> >>>>>>>Hmmm? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>>>>>filter, but have cobbled together their own wrapper script around >>>>>>>>>the XPDF utility with the same name, which regularly causes problems >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... >>>>>>> >>>>>>> >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the >>>>>>links there) offers nearly all options the xpdf's pdftops utility >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" >>>>>>(without the quotes) as a command line option to the lp or lpr >>>>>>command to force printing on letter sized media. See the >>>>>>descriptional comments in the wrapper script for further details. >>>>>>BTW, the wrapper script permits the use of acroread (the free >>>>>>Adobe reader) as a further alternative - there are PDF files >>>>>>which can only be converted to usable PS by acroread. >>>>>> >>>>>>Helge >>>>>> >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>> >>>>> >>>>Perhaps you post (an URL to) a sample PDF. >>>>We print PDFs as indicated all the time and have not >>>>trouble with them, >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>OK. The PDF file defines a media box (and a crop box with the same >>parameters) the width of which is greater than its height. That is, >>the page *is* a landscape page by definition. >>The "alternate pdftops filter", if configured as recommended, spits >>out a PostScript file which sets up a page size as defined by the >>PDF's media box, which is certainly too big for a letter sized media. >>But the pstops filter, if properly configured, shrinks the logical >>page to the availabel media size(s). It also should automatically >>account for the implicit orientation. Maybe that the latter feature >>still has not yet been implemented - we use the "alternate pstops filter" >>which does this (and has a couple of other features). >> >>Perhaps you need to play arount with the orientation option >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper >>output with the original pstops filter. >> >>At our site, using both alternate filters, we simply emit >>lp -d printername e002379200.pdf >>to get a printout that looks OK. I need to note that all our >>printers are configured to use the PPDs shrink to fit >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") >> >>Helge >> >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Put the filter into your CUPS filter directory (usually /usr/lib/cups/filter/) and the pdftops sample configuration file into your CUPS base directory (usually /etc/cups/) Currently, I'd not recommend the acroread stuff, as with the latest acroread (8.1.1) there are some quirks, espeically on Solaris. Get the xpdf suite from http://www.foolabs.com/xpdf/download.html (there are precompiled binaries for both Linux and Solaris), if you do nat already have them. The version 3.02 is highly recommended (the security patch in 3.02p1 seems not to have any affects on CUPS processing. In the pdftops filter script, change the path to xpdf's pdftops utility as needed. You might also look into the xpdfrc manpage for more configuration options if you need to modify the sample config file. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 08:56:51 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:56:51 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30667-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> Message-ID: <30668-cups.general@news.easysw.com> OK -- got the stuff in the right places. I renamed my original pdftops to pdftops.old and renamed the new filter from pdftops.pl to pdftops and made it executable. I tried the command: lp -d printer mypdf.pdf and got no output. Looking at the script, I see a reference to the variable: CUPS_SERVERROOT which is not set in my environment. I see that the script dies if the variable is not set, which is probably why I got no output. Where should this variable be set? In my session? or in the cups startup script? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Searching for the alternate pdftops filter at cups.org led me to: > > > > http://www.srz.de/Members/bla/cups/filter/pdftops > > > > is that right? I see three things there. Not to sure where to put > > them though. Does the new pdftops go into /usr/local/bin or something > > like that? What about the filters? > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>try this one: > >>> > >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>> > >>>On 9/25/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>Thanks for the tip on acroread. I installed it and found that it does > >>>>>a better job. The only problem I have with it is that it does not > >>>>>obey the landscape option. No matter what I do, it prints portrait. > >>>>> > >>>>>So. here's what I know: > >>>>> > >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > >>>>>Acrobat reader (on Linux) doesn't process all options properly. You > >>>>>need Windows for that! > >>>>> > >>>>>On 9/25/07, Helge Blischke wrote: > >>>>> > >>>>> > >>>>> > >>>>>>Kurt Pfeifle wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Gerald Britton wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>Distro is ubuntu 7.04 > >>>>>>>>Cups version is 1.2.8-0ubuntu8 > >>>>>>> > >>>>>>> > >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: > >>>>>>> > >>>>>>> > >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>>>>>if it is just a wrapper script or a binary) ? > >>>>>>> > >>>>>>> > >>>>>>>Hmmm? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>>>>>filter, but have cobbled together their own wrapper script around > >>>>>>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... > >>>>>>> > >>>>>>> > >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the > >>>>>>links there) offers nearly all options the xpdf's pdftops utility > >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" > >>>>>>(without the quotes) as a command line option to the lp or lpr > >>>>>>command to force printing on letter sized media. See the > >>>>>>descriptional comments in the wrapper script for further details. > >>>>>>BTW, the wrapper script permits the use of acroread (the free > >>>>>>Adobe reader) as a further alternative - there are PDF files > >>>>>>which can only be converted to usable PS by acroread. > >>>>>> > >>>>>>Helge > >>>>>> > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>> > >>>>> > >>>>Perhaps you post (an URL to) a sample PDF. > >>>>We print PDFs as indicated all the time and have not > >>>>trouble with them, > >>>> > >>>>Helge > >>>> > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>OK. The PDF file defines a media box (and a crop box with the same > >>parameters) the width of which is greater than its height. That is, > >>the page *is* a landscape page by definition. > >>The "alternate pdftops filter", if configured as recommended, spits > >>out a PostScript file which sets up a page size as defined by the > >>PDF's media box, which is certainly too big for a letter sized media. > >>But the pstops filter, if properly configured, shrinks the logical > >>page to the availabel media size(s). It also should automatically > >>account for the implicit orientation. Maybe that the latter feature > >>still has not yet been implemented - we use the "alternate pstops filter" > >>which does this (and has a couple of other features). > >> > >>Perhaps you need to play arount with the orientation option > >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper > >>output with the original pstops filter. > >> > >>At our site, using both alternate filters, we simply emit > >>lp -d printername e002379200.pdf > >>to get a printout that looks OK. I need to note that all our > >>printers are configured to use the PPDs shrink to fit > >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > >> > >>Helge > >> > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Put the filter into your CUPS filter directory (usually > /usr/lib/cups/filter/) and the pdftops sample configuration > file into your CUPS base directory (usually /etc/cups/) > > Currently, I'd not recommend the acroread stuff, as with the > latest acroread (8.1.1) there are some quirks, espeically on Solaris. > > Get the xpdf suite from http://www.foolabs.com/xpdf/download.html > (there are precompiled binaries for both Linux and Solaris), if > you do nat already have them. The version 3.02 is highly recommended > (the security patch in 3.02p1 seems not to have any affects on CUPS > processing. > > In the pdftops filter script, change the path to xpdf's pdftops utility > as needed. You might also look into the xpdfrc manpage for more > configuration options if you need to modify the sample config file. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 09:23:35 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 09:23:35 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250856s1d27cf7dmf709d6c81a828d68@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <5d1a32000709250856s1d27cf7dmf709d6c81a828d68@mail.gmail.com> Message-ID: <30669-cups.general@news.easysw.com> I patched pdftops.pl, commenting out the CUPS_SERVERROOT reference and adding $rootdir="/etc/cups" Then retried my print job, which failed with these messages in the log: E [25/Sep/2007:12:18:12 -0400] [Job 35] Empty print file! E [25/Sep/2007:12:18:12 -0400] PID 6653 (/usr/lib/cups/filter/pdftops) stopped with status 255! E [25/Sep/2007:12:18:12 -0400] PID 6654 (/usr/lib/cups/filter/pstops) stopped with status 1! On 9/25/07, Gerald Britton wrote: > OK -- got the stuff in the right places. I renamed my original > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > pdftops and made it executable. I tried the command: > > lp -d printer mypdf.pdf > > and got no output. Looking at the script, I see a reference to the variable: > > CUPS_SERVERROOT > > which is not set in my environment. I see that the script dies if the > variable is not set, which is probably why I got no output. > > Where should this variable be set? In my session? or in the cups > startup script? > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > Searching for the alternate pdftops filter at cups.org led me to: > > > > > > http://www.srz.de/Members/bla/cups/filter/pdftops > > > > > > is that right? I see three things there. Not to sure where to put > > > them though. Does the new pdftops go into /usr/local/bin or something > > > like that? What about the filters? > > > > > > On 9/25/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>try this one: > > >>> > > >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > >>> > > >>>On 9/25/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Gerald Britton wrote: > > >>>> > > >>>> > > >>>>>Thanks for the tip on acroread. I installed it and found that it does > > >>>>>a better job. The only problem I have with it is that it does not > > >>>>>obey the landscape option. No matter what I do, it prints portrait. > > >>>>> > > >>>>>So. here's what I know: > > >>>>> > > >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > >>>>>Acrobat reader (on Linux) doesn't process all options properly. You > > >>>>>need Windows for that! > > >>>>> > > >>>>>On 9/25/07, Helge Blischke wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Kurt Pfeifle wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>>Gerald Britton wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>Distro is ubuntu 7.04 > > >>>>>>>>Cups version is 1.2.8-0ubuntu8 > > >>>>>>> > > >>>>>>> > > >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > > >>>>>>>>>if it is just a wrapper script or a binary) ? > > >>>>>>> > > >>>>>>> > > >>>>>>>Hmmm? > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > > >>>>>>>>>filter, but have cobbled together their own wrapper script around > > >>>>>>>>>the XPDF utility with the same name, which regularly causes problems > > >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... > > >>>>>>> > > >>>>>>> > > >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the > > >>>>>>links there) offers nearly all options the xpdf's pdftops utility > > >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" > > >>>>>>(without the quotes) as a command line option to the lp or lpr > > >>>>>>command to force printing on letter sized media. See the > > >>>>>>descriptional comments in the wrapper script for further details. > > >>>>>>BTW, the wrapper script permits the use of acroread (the free > > >>>>>>Adobe reader) as a further alternative - there are PDF files > > >>>>>>which can only be converted to usable PS by acroread. > > >>>>>> > > >>>>>>Helge > > >>>>>> > > >>>>>>-- > > >>>>>>Helge Blischke > > >>>>>>Softwareentwicklung > > >>>>>> > > >>>>>>H.Blischke at acm.org > > >>>>>>_______________________________________________ > > >>>>>>cups mailing list > > >>>>>>cups at easysw.com > > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>>>> > > >>>>> > > >>>>> > > >>>>Perhaps you post (an URL to) a sample PDF. > > >>>>We print PDFs as indicated all the time and have not > > >>>>trouble with them, > > >>>> > > >>>>Helge > > >>>> > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>OK. The PDF file defines a media box (and a crop box with the same > > >>parameters) the width of which is greater than its height. That is, > > >>the page *is* a landscape page by definition. > > >>The "alternate pdftops filter", if configured as recommended, spits > > >>out a PostScript file which sets up a page size as defined by the > > >>PDF's media box, which is certainly too big for a letter sized media. > > >>But the pstops filter, if properly configured, shrinks the logical > > >>page to the availabel media size(s). It also should automatically > > >>account for the implicit orientation. Maybe that the latter feature > > >>still has not yet been implemented - we use the "alternate pstops filter" > > >>which does this (and has a couple of other features). > > >> > > >>Perhaps you need to play arount with the orientation option > > >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper > > >>output with the original pstops filter. > > >> > > >>At our site, using both alternate filters, we simply emit > > >>lp -d printername e002379200.pdf > > >>to get a printout that looks OK. I need to note that all our > > >>printers are configured to use the PPDs shrink to fit > > >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > >> > > >>Helge > > >> > > >> > > >>Helge > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > > > > > > > Put the filter into your CUPS filter directory (usually > > /usr/lib/cups/filter/) and the pdftops sample configuration > > file into your CUPS base directory (usually /etc/cups/) > > > > Currently, I'd not recommend the acroread stuff, as with the > > latest acroread (8.1.1) there are some quirks, espeically on Solaris. > > > > Get the xpdf suite from http://www.foolabs.com/xpdf/download.html > > (there are precompiled binaries for both Linux and Solaris), if > > you do nat already have them. The version 3.02 is highly recommended > > (the security patch in 3.02p1 seems not to have any affects on CUPS > > processing. > > > > In the pdftops filter script, change the path to xpdf's pdftops utility > > as needed. You might also look into the xpdfrc manpage for more > > configuration options if you need to modify the sample config file. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Tue Sep 25 09:35:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 09:35:31 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30668-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> Message-ID: <30670-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- got the stuff in the right places. I renamed my original > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > pdftops and made it executable. I tried the command: > > lp -d printer mypdf.pdf > > and got no output. Looking at the script, I see a reference to the variable: > > CUPS_SERVERROOT > > which is not set in my environment. I see that the script dies if the > variable is not set, which is probably why I got no output. > > Where should this variable be set? In my session? or in the cups > startup script? > The environment variable is set by the scheduler when the filter chain is established. Did you put the sample config file into that directory. If your CUPS is istalled as default this will be /etc/cups/, but if it is installed in /usr/local, it will be /usr/local/etc/cups/ . In the script, there is a statement which usually reads $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility If the (absolute) path of that utility on your box is different from the above, you need to modify this statement. If it does not work, please set LogLeven debug in your cupsd.conf, try again and post (an URL to) the log file (the relevant part). BTW, in any case you should see a message tagged "E" in the first column that tells what config file has been used to process the job. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 09:58:26 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 09:58:26 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30670-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> <30670-cups.general@news.easysw.com> Message-ID: <30671-cups.general@news.easysw.com> Got further this time. The new pdftops filter works with the path change as you described. Two different issues: 1. if I add "-o use-acroread" I get: E [25/Sep/2007:12:51:14 -0400] [Job 39] acroread-options: -toPostScript -shrink -level2 -optimizeForSpeed -commentsOff -annotsOff -transQuality 3 -size letter E [25/Sep/2007:12:51:20 -0400] [Job 39] /usr/bin/acroread exited with exit code 139 E [25/Sep/2007:12:51:20 -0400] [Job 39] Empty print file! NOTE: acroread is version 8.1.1 2. if I do NOT add "-o use-acroread" I get: E [25/Sep/2007:12:51:34 -0400] [Job 40] pdftops-options: -cfg /etc/cups/pdftops.conf -paper letter but the file prints except that it only prints portrait (with or without "-o landscape") On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > OK -- got the stuff in the right places. I renamed my original > > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > > pdftops and made it executable. I tried the command: > > > > lp -d printer mypdf.pdf > > > > and got no output. Looking at the script, I see a reference to the variable: > > > > CUPS_SERVERROOT > > > > which is not set in my environment. I see that the script dies if the > > variable is not set, which is probably why I got no output. > > > > Where should this variable be set? In my session? or in the cups > > startup script? > > > > The environment variable is set by the scheduler when the filter chain > is established. > Did you put the sample config file into that directory. > If your CUPS is istalled as default this will be /etc/cups/, but > if it is installed in /usr/local, it will be /usr/local/etc/cups/ . > > In the script, there is a statement which usually reads > > $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility > > If the (absolute) path of that utility on your box is different > from the above, you need to modify this statement. > > If it does not work, please set > LogLeven debug > in your cupsd.conf, try again and post (an URL to) the log file > (the relevant part). > > BTW, in any case you should see a message tagged "E" in the first > column that tells what config file has been used to process the job. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From ebradley at williams-int.com Tue Sep 25 10:40:14 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 10:40:14 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30672-cups.general@news.easysw.com> Hello, I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: [CODE] [285-sleepy at unixbuild-/local/cups-1.3.2] make Making all in cups... Compiling adminutil.c... sh: gssapi -- use : not found *** Error code 1 The following command caused the error: gcc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I.. /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c adminutil.c make: Fatal error: Command failed for target `adminutil.o' Current working directory /local/cups-1.3.2/cups *** 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' [/CODE] When I examine the output from the configure step, I see the following pertaining to Kerberos and gssapi: [CODE] checking for krb5-config... /usr/bin/krb5-config checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi.h usability... no checking gssapi/gssapi.h presence... no checking for gssapi/gssapi.h... no checking gssapi/gssapi_generic.h usability... no checking gssapi/gssapi_generic.h presence... no checking for gssapi/gssapi_generic.h... no checking gssapi/gssapi_krb5.h usability... no checking gssapi/gssapi_krb5.h presence... no checking for gssapi/gssapi_krb5.h... no checking for gsskrb5_register_acceptor_identity... no checking for krb5_cc_new_unique... no [/CODE] A 'locate gssapi' and 'locate krb5' both include the standard location of /usr/bin/include. I have tried manually setting the CPPFLAGS variable to /usr/bin/include, but it made no difference in either the configure output or the make results. Also, I ran 'krb-config --help' as is mentioned in the make error, which produced the following: [CODE] krb5-config --help Usage: /usr/bin/krb5-config [OPTIONS] [LIBRARIES] Options: [--help] Help [--all] Display version, vendor, and various values [--version] Version information [--vendor] Vendor information [--prefix] Kerberos installed prefix [--exec-prefix] Kerberos installed exec_prefix [--cflags] Compile time CFLAGS [--libs] List libraries required to link [LIBRARIES] Libraries: krb5 Kerberos 5 application [/CODE] I can provide any further information that may be needed, and I thank you in advance for your help. sleepy From ebradley at williams-int.com Tue Sep 25 10:42:20 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 10:42:20 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30673-cups.general@news.easysw.com> Sorry...I meant CUPS 1.3.2; not 3.1.2 Transposition is the Devil! :P Evan (sleepy) > Hello, > > I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: From gerald.britton at gmail.com Tue Sep 25 11:15:05 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 11:15:05 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250958m41110f4cx103ba37589f961a@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> <30670-cups.general@news.easysw.com> <5d1a32000709250958m41110f4cx103ba37589f961a@mail.gmail.com> Message-ID: <30674-cups.general@news.easysw.com> I ran the job with loglevel debug. The results are here: http://pastebin.com/m1534383e It looks like the "landscape" option was discarded. On 9/25/07, Gerald Britton wrote: > Got further this time. The new pdftops filter works with the path > change as you described. > > Two different issues: > > 1. if I add "-o use-acroread" I get: > > E [25/Sep/2007:12:51:14 -0400] [Job 39] acroread-options: > -toPostScript -shrink -level2 -optimizeForSpeed -commentsOff > -annotsOff -transQuality 3 -size letter > E [25/Sep/2007:12:51:20 -0400] [Job 39] /usr/bin/acroread exited with > exit code 139 > E [25/Sep/2007:12:51:20 -0400] [Job 39] Empty print file! > > NOTE: acroread is version 8.1.1 > > 2. if I do NOT add "-o use-acroread" I get: > > E [25/Sep/2007:12:51:34 -0400] [Job 40] pdftops-options: -cfg > /etc/cups/pdftops.conf -paper letter > > but the file prints except that it only prints portrait (with or > without "-o landscape") > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > OK -- got the stuff in the right places. I renamed my original > > > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > > > pdftops and made it executable. I tried the command: > > > > > > lp -d printer mypdf.pdf > > > > > > and got no output. Looking at the script, I see a reference to the variable: > > > > > > CUPS_SERVERROOT > > > > > > which is not set in my environment. I see that the script dies if the > > > variable is not set, which is probably why I got no output. > > > > > > Where should this variable be set? In my session? or in the cups > > > startup script? > > > > > > > The environment variable is set by the scheduler when the filter chain > > is established. > > Did you put the sample config file into that directory. > > If your CUPS is istalled as default this will be /etc/cups/, but > > if it is installed in /usr/local, it will be /usr/local/etc/cups/ . > > > > In the script, there is a statement which usually reads > > > > $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility > > > > If the (absolute) path of that utility on your box is different > > from the above, you need to modify this statement. > > > > If it does not work, please set > > LogLeven debug > > in your cupsd.conf, try again and post (an URL to) the log file > > (the relevant part). > > > > BTW, in any case you should see a message tagged "E" in the first > > column that tells what config file has been used to process the job. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From ebradley at williams-int.com Tue Sep 25 13:31:38 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 13:31:38 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30675-cups.general@news.easysw.com> Nevermind...a co-worker of mine reminded me of a couple things: 1. We are not using kerberos, and thus are not using the gssapi; which would make compiling it with CUPS rather difficult. 2. If I had read the 'configure --help' screen more carefully, I would have seen that disabling gssapi is as easy as typing '--disable-gssapi' after the configure command. I did this, and CUPS is now installed; sans gssapi. Sorry for the lengthy original post. I was reading too deeply into a simple problem. O_o Evan > Sorry...I meant CUPS 1.3.2; not 3.1.2 > > Transposition is the Devil! :P > > > Evan (sleepy) > > > Hello, > > > > I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: > From gaspode at yallaroo.net Wed Sep 26 05:06:55 2007 From: gaspode at yallaroo.net (Sam Yates) Date: Wed, 26 Sep 2007 05:06:55 -0700 Subject: Dell 1320c Message-ID: <30676-cups.general@news.easysw.com> For those that are interested - this printer works in Linux and Apple OSX in addition to Windows. I haven't tried it via the USB interface but I have printed though to the network interface via CUPS. The printer uses a Fuji-Xerox engine, and I found that the Fuji-Xerox Docuprint C525A driver (an older, but also GDI printer) works perfectly. Drivers availible from: ftp://ftp.fxa.com.au/drivers/dpc525a/dpc525a_linux_.0.0.tar.zip and probably also your local Fuji-Xerox site. From gerald.britton at gmail.com Wed Sep 26 07:27:34 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 07:27:34 -0700 Subject: Problems printing PDF files through cups. Message-ID: <30677-cups.general@news.easysw.com> I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: lp -d printername myfile.pdf The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner Next, I add "-o pdftops" This time, all I get from the printer is a blank page! After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. Next, i add "-o landscape". My full command now is: lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. Printer info: Info HP 9040mfp via ipp Location in the corner by the door DeviceURI ipp://10.18.16.253 State Idle StateTime 1190638965 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job pdftops version: $ pdftops -v pdftops version 3.00 Copyright 1996-2004 Glyph & Cog, LLC From gerald.britton at gmail.com Wed Sep 26 07:40:13 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 07:40:13 -0700 Subject: Problems printing PDF files through cups. Message-ID: <30678-cups.general@news.easysw.com> > I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > > lp -d printername myfile.pdf > > The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > > Next, I add "-o pdftops" > > This time, all I get from the printer is a blank page! > > After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > > Next, i add "-o landscape". My full command now is: > > lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > > Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > > I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > > Printer info: > > > > Info HP 9040mfp via ipp > Location in the corner by the door > DeviceURI ipp://10.18.16.253 > State Idle > StateTime 1190638965 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy retry-job > > > pdftops version: > > $ pdftops -v > pdftops version 3.00 > Copyright 1996-2004 Glyph & Cog, LLC > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf From h.blischke at srz.de Wed Sep 26 07:49:47 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 07:49:47 -0700 Subject: Problems printing PDF files through cups. In-Reply-To: <30678-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> Message-ID: <30679-cups.general@news.easysw.com> Gerald Britton wrote: >>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: >> >>lp -d printername myfile.pdf >> >>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner >> >>Next, I add "-o pdftops" >> >>This time, all I get from the printer is a blank page! >> >>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. >> >>Next, i add "-o landscape". My full command now is: >> >>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf >> >>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) >> >>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. >> >>Printer info: >> >> >> >>Info HP 9040mfp via ipp >>Location in the corner by the door >>DeviceURI ipp://10.18.16.253 >>State Idle >>StateTime 1190638965 >>Accepting Yes >>Shared Yes >>JobSheets none none >>QuotaPeriod 0 >>PageLimit 0 >>KLimit 0 >>OpPolicy default >>ErrorPolicy retry-job >> >> >>pdftops version: >> >>$ pdftops -v >>pdftops version 3.00 >>Copyright 1996-2004 Glyph & Cog, LLC >> > > > > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > > lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match from the config file. The fitplot option together with the default media size for your printer as defined by your printer's PPD should scale down the page as required. If the orientation does not match, try -o orientation=n (n ab integer between 0 and 3). One of those combinations should do the job. If all that fails, get the alternate pstops filter (you may get a precompiled binary from me for Linux, Unixware, or Solaris). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From john at cs.york.ac.uk Wed Sep 26 08:07:49 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Wed, 26 Sep 2007 08:07:49 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 Message-ID: <30680-cups.general@news.easysw.com> > John A. Murdie wrote: > > > I would hope at least to be able to lock out the untrusted clients (on > > a separate subnet from the trusted clients) if they cannot authenticate > > by the required means. Unfortunately, I have been unable to do this. I > > have in cupsd.conf an initial Location directive: > > > > > > Order allow,deny > > Allow from trusted/255.255.254.0 > > Allow from unstrusted/255.255.254.0 > > Are you sure you don't mean > > Deny from unstrusted/255.255.254.0 > > ? *Deny* ? > > -- > Kurt Pfeifle (Sorry for my very slow reply, Kurt; very busy with various things here.) Yes, I do mean "Allow from untrusted" rather than "Deny from untrusted"; I want to allow these unstrusted clients in, but force them to authenticate themselves. As http://www.cups.org/documentation.php/policies.html says: "operation policies can only add additional security restrictions to a request, never relax them". (I tried "Deny from untrusted ..." and it did what it was supposed to.) John A. Murdie From gerald.britton at gmail.com Wed Sep 26 08:08:33 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 08:08:33 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30679-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> Message-ID: <30681-cups.general@news.easysw.com> Tried all orientations (0-4) with no change in result. All I get is a blank page! BTW if I remove pdf-paper=letter, the printer asks for manual paper feed, since the original size is about 12x18 I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). I found two bugs fixes that sem to directly address my issueL:: STR 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get these fixes. It doesn't look like the filters are the problem after all. The patches are to mainline code from what I can see. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > >>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > >> > >>lp -d printername myfile.pdf > >> > >>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > >> > >>Next, I add "-o pdftops" > >> > >>This time, all I get from the printer is a blank page! > >> > >>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > >> > >>Next, i add "-o landscape". My full command now is: > >> > >>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > >> > >>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > >> > >>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > >> > >>Printer info: > >> > >> > >> > >>Info HP 9040mfp via ipp > >>Location in the corner by the door > >>DeviceURI ipp://10.18.16.253 > >>State Idle > >>StateTime 1190638965 > >>Accepting Yes > >>Shared Yes > >>JobSheets none none > >>QuotaPeriod 0 > >>PageLimit 0 > >>KLimit 0 > >>OpPolicy default > >>ErrorPolicy retry-job > >> > >> > >>pdftops version: > >> > >>$ pdftops -v > >>pdftops version 3.00 > >>Copyright 1996-2004 Glyph & Cog, LLC > >> > > > > > > > > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > > > > lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > > > > Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match > from the config file. The fitplot option together with the default media size > for your printer as defined by your printer's PPD should scale down the page > as required. > If the orientation does not match, try -o orientation=n (n ab integer between > 0 and 3). One of those combinations should do the job. > > If all that fails, get the alternate pstops filter (you may get a precompiled > binary from me for Linux, Unixware, or Solaris). > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Wed Sep 26 09:01:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 09:01:31 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30681-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> Message-ID: <30682-cups.general@news.easysw.com> Gerald Britton wrote: > Tried all orientations (0-4) with no change in result. All I get is a > blank page! > > BTW if I remove pdf-paper=letter, the printer asks for manual paper > feed, since the original size is about 12x18 > > I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). > I found two bugs fixes that sem to directly address my issueL:: STR > 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get > these fixes. It doesn't look like the filters are the problem after > all. The patches are to mainline code from what I can see. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: >>>> >>>>lp -d printername myfile.pdf >>>> >>>>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner >>>> >>>>Next, I add "-o pdftops" >>>> >>>>This time, all I get from the printer is a blank page! >>>> >>>>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. >>>> >>>>Next, i add "-o landscape". My full command now is: >>>> >>>>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf >>>> >>>>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) >>>> >>>>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. >>>> >>>>Printer info: >>>> >>>> >>>> >>>>Info HP 9040mfp via ipp >>>>Location in the corner by the door >>>>DeviceURI ipp://10.18.16.253 >>>>State Idle >>>>StateTime 1190638965 >>>>Accepting Yes >>>>Shared Yes >>>>JobSheets none none >>>>QuotaPeriod 0 >>>>PageLimit 0 >>>>KLimit 0 >>>>OpPolicy default >>>>ErrorPolicy retry-job >>>> >>>> >>>>pdftops version: >>>> >>>>$ pdftops -v >>>>pdftops version 3.00 >>>>Copyright 1996-2004 Glyph & Cog, LLC >>>> >>> >>> >>> >>>Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: >>> >>>lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf >>> >> >>Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match >>from the config file. The fitplot option together with the default media size >>for your printer as defined by your printer's PPD should scale down the page >>as required. >>If the orientation does not match, try -o orientation=n (n ab integer between >>0 and 3). One of those combinations should do the job. >> >>If all that fails, get the alternate pstops filter (you may get a precompiled >>binary from me for Linux, Unixware, or Solaris). >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Yes, the early versions of 1.2.x (including 1.2.4, IIRC) had a bug by design: they inserted the defaults from the PPD at the wrong place into the PS job. But, instead of upgrading the total system, perhaps try out the alternate pstops filter (it is that one we use with great success). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Wed Sep 26 09:22:43 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 09:22:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30682-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> Message-ID: <30683-cups.general@news.easysw.com> OK -- Where can I find it? If it is a "c" program, what do I need to compile it? On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > Tried all orientations (0-4) with no change in result. All I get is a > > blank page! > > > > BTW if I remove pdf-paper=letter, the printer asks for manual paper > > feed, since the original size is about 12x18 > > > > I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). > > I found two bugs fixes that sem to directly address my issueL:: STR > > 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get > > these fixes. It doesn't look like the filters are the problem after > > all. The patches are to mainline code from what I can see. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > >>>> > >>>>lp -d printername myfile.pdf > >>>> > >>>>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > >>>> > >>>>Next, I add "-o pdftops" > >>>> > >>>>This time, all I get from the printer is a blank page! > >>>> > >>>>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > >>>> > >>>>Next, i add "-o landscape". My full command now is: > >>>> > >>>>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > >>>> > >>>>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > >>>> > >>>>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > >>>> > >>>>Printer info: > >>>> > >>>> > >>>> > >>>>Info HP 9040mfp via ipp > >>>>Location in the corner by the door > >>>>DeviceURI ipp://10.18.16.253 > >>>>State Idle > >>>>StateTime 1190638965 > >>>>Accepting Yes > >>>>Shared Yes > >>>>JobSheets none none > >>>>QuotaPeriod 0 > >>>>PageLimit 0 > >>>>KLimit 0 > >>>>OpPolicy default > >>>>ErrorPolicy retry-job > >>>> > >>>> > >>>>pdftops version: > >>>> > >>>>$ pdftops -v > >>>>pdftops version 3.00 > >>>>Copyright 1996-2004 Glyph & Cog, LLC > >>>> > >>> > >>> > >>> > >>>Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > >>> > >>>lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > >>> > >> > >>Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match > >>from the config file. The fitplot option together with the default media size > >>for your printer as defined by your printer's PPD should scale down the page > >>as required. > >>If the orientation does not match, try -o orientation=n (n ab integer between > >>0 and 3). One of those combinations should do the job. > >> > >>If all that fails, get the alternate pstops filter (you may get a precompiled > >>binary from me for Linux, Unixware, or Solaris). > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Yes, the early versions of 1.2.x (including 1.2.4, IIRC) had a bug by design: > they inserted the defaults from the PPD at the wrong place into the > PS job. > > But, instead of upgrading the total system, perhaps try out the > alternate pstops filter (it is that one we use with great success). > > Helge > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Wed Sep 26 10:00:12 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 10:00:12 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30683-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> Message-ID: <30684-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- Where can I find it? If it is a "c" program, what do I need to > compile it? > [...] >> >>But, instead of upgrading the total system, perhaps try out the >>alternate pstops filter (it is that one we use with great success). >> >>Helge >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > I try to append the precompiled Linux version here. If that does not work, send me an e-mail off the list for me to reply to your propoer address. For information and documentation, you should get the pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 (see also the links on the CUPS web site). Do not forget to save the original pstops filter for safety reasons. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org -------------- next part -------------- A non-text attachment was scrubbed... Name: pstops Type: application/octet-stream Size: 44860 bytes Desc: not available URL: From gerald.britton at gmail.com Wed Sep 26 10:34:45 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 10:34:45 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30684-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> Message-ID: <30685-cups.general@news.easysw.com> The good news is that your attachment made it through and didn't crash. The bad news is that the basic situation is really unchanged: - I tried many permutations of orientation, pdf-paper (including match) and fitplot. All results are the same, the middle of the pdf is printed about 1/2 scale at the top of the printable area - portrait only. I can't get landscape to work to save my life! - Now, the printer always requests a manual page feed of 12x18 (the original size). With the old pstops filter then new page size was passed through and I got no prompt at the printer - the new pstops runs a lot longer (2-3 times) than the old one. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > OK -- Where can I find it? If it is a "c" program, what do I need to > > compile it? > > > [...] > >> > >>But, instead of upgrading the total system, perhaps try out the > >>alternate pstops filter (it is that one we use with great success). > >> > >>Helge > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > I try to append the precompiled Linux version here. > If that does not work, send me an e-mail off the list > for me to reply to your propoer address. > > For information and documentation, you should get the > pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > (see also the links on the CUPS web site). > > Do not forget to save the original pstops filter for safety reasons. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Wed Sep 26 11:12:16 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 11:12:16 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30685-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> Message-ID: <30686-cups.general@news.easysw.com> Gerald Britton wrote: > The good news is that your attachment made it through and didn't > crash. The bad news is that the basic situation is really unchanged: > > - I tried many permutations of orientation, pdf-paper (including > match) and fitplot. All results are the same, the middle of the pdf > is printed about 1/2 scale at the top of the printable area - portrait > only. I can't get landscape to work to save my life! > > - Now, the printer always requests a manual page feed of 12x18 (the > original size). With the old pstops filter then new page size was > passed through and I got no prompt at the printer > > - the new pstops runs a lot longer (2-3 times) than the old one. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>compile it? >>> >> >>[...] >> >>>>But, instead of upgrading the total system, perhaps try out the >>>>alternate pstops filter (it is that one we use with great success). >>>> >>>>Helge >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>I try to append the precompiled Linux version here. >>If that does not work, send me an e-mail off the list >>for me to reply to your propoer address. >> >>For information and documentation, you should get the >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>(see also the links on the CUPS web site). >> >>Do not forget to save the original pstops filter for safety reasons. >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >> >> >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> >> >> > > From your log file I learn that you use the hpijs driver for the printer in question. But the printer is also a native PostScript printer, according to the PPD recommended: http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd And, as the PPD says it is a level 3 printer, you should add -o HPOption_PaperPolicy=NearestSizeAdjust to the job options. I suspect the default configuration is set to PromptUser, as you say the printer asks for the 12x18 media size. The alternate psrops filter still ignores the fitplot option, as this is a standard feature for (nearly) all level 2 and level 3 PostScript printers. If that works, you should add this option to the default options for this printer. from the PPD: *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " <> >> setpagedevice" *End Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Wed Sep 26 12:40:35 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 12:40:35 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30686-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> Message-ID: <30687-cups.general@news.easysw.com> Unfortunately that option had no effect. I'm not sure it is valid, since I don't see it here: $ lpoptions -l -d printer0198 PageSize/Page Size: Custom *Letter A4 Photo Photo5x7 3x5 5x8 A3 A5 A6 B4JIS B5JIS CDDVD80 CDDVD120 Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Ledger Legal Oufuku w558h774 w612h935 w774h1116 PrintoutMode/Printout Mode: Draft *Normal High InputSlot/Media Source: *Default PhotoTray Upper Lower CDDVDTray Envelope LargeCapacity Manual MPTray PageRegion/PageRegion: Letter A4 Photo Photo5x7 3x5 5x8 A3 A5 A6 B4JIS B5JIS CDDVD80 CDDVD120 Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Ledger Legal Oufuku w558h774 w612h935 w774h1116 Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble *None On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > The good news is that your attachment made it through and didn't > > crash. The bad news is that the basic situation is really unchanged: > > > > - I tried many permutations of orientation, pdf-paper (including > > match) and fitplot. All results are the same, the middle of the pdf > > is printed about 1/2 scale at the top of the printable area - portrait > > only. I can't get landscape to work to save my life! > > > > - Now, the printer always requests a manual page feed of 12x18 (the > > original size). With the old pstops filter then new page size was > > passed through and I got no prompt at the printer > > > > - the new pstops runs a lot longer (2-3 times) than the old one. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>compile it? > >>> > >> > >>[...] > >> > >>>>But, instead of upgrading the total system, perhaps try out the > >>>>alternate pstops filter (it is that one we use with great success). > >>>> > >>>>Helge > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>I try to append the precompiled Linux version here. > >>If that does not work, send me an e-mail off the list > >>for me to reply to your propoer address. > >> > >>For information and documentation, you should get the > >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>(see also the links on the CUPS web site). > >> > >>Do not forget to save the original pstops filter for safety reasons. > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >> > >> > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > >> > >> > > > > > From your log file I learn that you use the hpijs driver for the printer > in question. But the printer is also a native PostScript printer, according to the > PPD recommended: > http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > > And, as the PPD says it is a level 3 printer, you should add > -o HPOption_PaperPolicy=NearestSizeAdjust > to the job options. I suspect the default configuration is set > to PromptUser, as you say the printer asks for the 12x18 media size. > > The alternate psrops filter still ignores the fitplot option, as this > is a standard feature for (nearly) all level 2 and level 3 PostScript > printers. If that works, you should add this option to the > default options for this printer. > > from the PPD: > *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > <> >> setpagedevice" > *End > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From ricardozuco at yahoo.com.br Wed Sep 26 12:44:08 2007 From: ricardozuco at yahoo.com.br (Ricardo Zucolotto) Date: Wed, 26 Sep 2007 12:44:08 -0700 Subject: Cups spool - File2.txt is being printed before File1.txt Message-ID: <30688-cups.general@news.easysw.com> Hello fellows, I have a problem with CUPS' spool... something weird is happening in my server. I have a software upon a Linux Mandrake 2007 2.6.17-13mdv #1 SMP (Xeon) running CUPS 1.3 and SAMBA 3.0.24. I have two servers, SERVER1 and SERVER2. The SERVER1 send its printing requests to SERVER2 using IPP (they're linked by a gigabit cable also used for NFS system files) and sometimes (it isn't the rule). The system creates the file (i.e. file1.txt) and make a lpr to print it, and then create the file2.txt and do the same task to print file2.txt ang go on. But the interval behind one file's creation and other is about 3 seconds (it is a sequential task, it may generate up to 50 files to the spool). I noticed after some complaining, the file1.txt is printer AFTER file2.txt, and I checked in my spool folder, as shown below: FILE1.TXT - c34379 FILE2.TXT - c34381 -rw------- 1 root lp 970 2007-09-26 14:13:34.000000000 -0300 c34381 -rw------- 1 root lp 934 2007-09-26 14:13:53.000000000 -0300 c34379 This is just occurs when we perform lots of lpr requests. My ideia is: There is a way to preserve the spool sequence?? The File1.txt must be printed before File2.txt. What I can do to solve this problem in CUPS configuration?? Thanks ppl. Ricardo From gerald.britton at gmail.com Wed Sep 26 12:59:17 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 12:59:17 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30686-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> Message-ID: <30689-cups.general@news.easysw.com> On a hunch I defined a new printer for the 9040 and chose the Postscript Driver. Big change! At last I get it printing landscape! I used the command: lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf and it prints landscape. The only thing it didn't do is scale it to fit the page. So, I know that the hpijs driver doesn't work as well with CUPS as the postscript driver. Not sure if that is a driver problem or a CUPS problem. The only thing left is to get the scaling to work. Seems I'm stuck at this point. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > The good news is that your attachment made it through and didn't > > crash. The bad news is that the basic situation is really unchanged: > > > > - I tried many permutations of orientation, pdf-paper (including > > match) and fitplot. All results are the same, the middle of the pdf > > is printed about 1/2 scale at the top of the printable area - portrait > > only. I can't get landscape to work to save my life! > > > > - Now, the printer always requests a manual page feed of 12x18 (the > > original size). With the old pstops filter then new page size was > > passed through and I got no prompt at the printer > > > > - the new pstops runs a lot longer (2-3 times) than the old one. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>compile it? > >>> > >> > >>[...] > >> > >>>>But, instead of upgrading the total system, perhaps try out the > >>>>alternate pstops filter (it is that one we use with great success). > >>>> > >>>>Helge > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>I try to append the precompiled Linux version here. > >>If that does not work, send me an e-mail off the list > >>for me to reply to your propoer address. > >> > >>For information and documentation, you should get the > >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>(see also the links on the CUPS web site). > >> > >>Do not forget to save the original pstops filter for safety reasons. > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >> > >> > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > >> > >> > > > > > From your log file I learn that you use the hpijs driver for the printer > in question. But the printer is also a native PostScript printer, according to the > PPD recommended: > http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > > And, as the PPD says it is a level 3 printer, you should add > -o HPOption_PaperPolicy=NearestSizeAdjust > to the job options. I suspect the default configuration is set > to PromptUser, as you say the printer asks for the 12x18 media size. > > The alternate psrops filter still ignores the fitplot option, as this > is a standard feature for (nearly) all level 2 and level 3 PostScript > printers. If that works, you should add this option to the > default options for this printer. > > from the PPD: > *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > <> >> setpagedevice" > *End > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From premjo.elias at gmail.com Wed Sep 26 23:16:49 2007 From: premjo.elias at gmail.com (Premjo) Date: Wed, 26 Sep 2007 23:16:49 -0700 Subject: regarding cups Message-ID: <30690-cups.general@news.easysw.com> Hi, Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. Regards, Premjo Elias From vst at talicom.de Thu Sep 27 01:25:17 2007 From: vst at talicom.de (Volker Stoppe) Date: Thu, 27 Sep 2007 01:25:17 -0700 Subject: Printer does not interpret PCL-code but prints it Message-ID: <30691-cups.general@news.easysw.com> Hi, we, I and a customer have problems with his printer. He tries to print reports from a database, which include PCL-codes. Unfortunately the PCL-codes appear as clear text on the print. If he prints in raw format (e.g. lpr -l / lp -d -o raw), the cr/lf is not interpretet. This happens with SuSE 8.2, CUPS ~1.1 and a HP Laserjet 4 Plus. If I print the same document with CUPS 1.3 on a Brother HL-5270 DN it just works fine. Is the old CUPS unable to handle the even older Laserjet? Where could we search to solve the problem? PS: He also postet in another forum: www.mydatabasesupport.com/forums/informix/248130-using-pcl-commands-new-system.html From h.blischke at srz.de Thu Sep 27 05:31:24 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 05:31:24 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30689-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> Message-ID: <30692-cups.general@news.easysw.com> Gerald Britton wrote: > On a hunch I defined a new printer for the 9040 and chose the > Postscript Driver. Big change! At last I get it printing landscape! > I used the command: > > lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > > and it prints landscape. The only thing it didn't do is scale it to > fit the page. > > So, I know that the hpijs driver doesn't work as well with CUPS as the > postscript driver. Not sure if that is a driver problem or a CUPS > problem. > > The only thing left is to get the scaling to work. Seems I'm stuck at > this point. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>The good news is that your attachment made it through and didn't >>>crash. The bad news is that the basic situation is really unchanged: >>> >>>- I tried many permutations of orientation, pdf-paper (including >>>match) and fitplot. All results are the same, the middle of the pdf >>>is printed about 1/2 scale at the top of the printable area - portrait >>>only. I can't get landscape to work to save my life! >>> >>>- Now, the printer always requests a manual page feed of 12x18 (the >>>original size). With the old pstops filter then new page size was >>>passed through and I got no prompt at the printer >>> >>>- the new pstops runs a lot longer (2-3 times) than the old one. >>> >>>On 9/26/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>>>compile it? >>>>> >>>> >>>>[...] >>>> >>>> >>>>>>But, instead of upgrading the total system, perhaps try out the >>>>>>alternate pstops filter (it is that one we use with great success). >>>>>> >>>>>>Helge >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>> >>>>> >>>>I try to append the precompiled Linux version here. >>>>If that does not work, send me an e-mail off the list >>>>for me to reply to your propoer address. >>>> >>>>For information and documentation, you should get the >>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>>>(see also the links on the CUPS web site). >>>> >>>>Do not forget to save the original pstops filter for safety reasons. >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>> >>>> >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>>> >>>> >>> >>> >> From your log file I learn that you use the hpijs driver for the printer >>in question. But the printer is also a native PostScript printer, according to the >>PPD recommended: >>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd >> >>And, as the PPD says it is a level 3 printer, you should add >>-o HPOption_PaperPolicy=NearestSizeAdjust >>to the job options. I suspect the default configuration is set >>to PromptUser, as you say the printer asks for the 12x18 media size. >> >>The alternate psrops filter still ignores the fitplot option, as this >>is a standard feature for (nearly) all level 2 and level 3 PostScript >>printers. If that works, you should add this option to the >>default options for this printer. >> >>from the PPD: >>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " >> <> >> setpagedevice" >>*End >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > What pstops filter did you use now? Perhaps it is worth while to use the "nearestsizeadjust" option as a default for this printer (most conveniently selectable using the web interface). (That's the way it works at our site). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Thu Sep 27 05:45:36 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 05:45:36 -0700 Subject: Printer does not interpret PCL-code but prints it In-Reply-To: <30691-cups.general@news.easysw.com> References: <30691-cups.general@news.easysw.com> Message-ID: <30693-cups.general@news.easysw.com> Volker Stoppe wrote: > Hi, > > we, I and a customer have problems with his printer. He tries to print > reports from a database, which include PCL-codes. Unfortunately the > PCL-codes appear as clear text on the print. If he prints in raw format > (e.g. lpr -l / lp -d -o raw), the cr/lf is not interpretet. > This happens with SuSE 8.2, CUPS ~1.1 and a HP Laserjet 4 Plus. If I > print the same document with CUPS 1.3 on a Brother HL-5270 DN it just > works fine. > Is the old CUPS unable to handle the even older Laserjet? Where could > we search to solve the problem? > > PS: He also postet in another forum: > www.mydatabasesupport.com/forums/informix/248130-using-pcl-commands-new-system.html > You should explain how your printer is configured and which backend is used. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 06:09:17 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 06:09:17 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30692-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> Message-ID: <30694-cups.general@news.easysw.com> I've run the same job with both the old and new pdftops and the old and new pstops. The results are the same no matter what. The only thing that has made a difference is using the postcript driver instead of hpijs. I put "Nearest size and scale" in the printer options. That means I do not need the option on the command line. It doesn't really work though. I still get a prompt for 12x18 stock. If I also put -o PageSize=letter, I get it printed landscape on letter without a prompt but no scaling. The other weird thing is that if I use -o PageSize=legal, I have to manually tell the printer to use the stock in the drawer (that it knows!) has legal-size paper. Bottom line: Scaling to fit doesn't work with this release of cups, even with the alternate filters. On 9/27/07, Helge Blischke wrote: > Gerald Britton wrote: > > On a hunch I defined a new printer for the 9040 and chose the > > Postscript Driver. Big change! At last I get it printing landscape! > > I used the command: > > > > lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > > > > and it prints landscape. The only thing it didn't do is scale it to > > fit the page. > > > > So, I know that the hpijs driver doesn't work as well with CUPS as the > > postscript driver. Not sure if that is a driver problem or a CUPS > > problem. > > > > The only thing left is to get the scaling to work. Seems I'm stuck at > > this point. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>The good news is that your attachment made it through and didn't > >>>crash. The bad news is that the basic situation is really unchanged: > >>> > >>>- I tried many permutations of orientation, pdf-paper (including > >>>match) and fitplot. All results are the same, the middle of the pdf > >>>is printed about 1/2 scale at the top of the printable area - portrait > >>>only. I can't get landscape to work to save my life! > >>> > >>>- Now, the printer always requests a manual page feed of 12x18 (the > >>>original size). With the old pstops filter then new page size was > >>>passed through and I got no prompt at the printer > >>> > >>>- the new pstops runs a lot longer (2-3 times) than the old one. > >>> > >>>On 9/26/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>>>compile it? > >>>>> > >>>> > >>>>[...] > >>>> > >>>> > >>>>>>But, instead of upgrading the total system, perhaps try out the > >>>>>>alternate pstops filter (it is that one we use with great success). > >>>>>> > >>>>>>Helge > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>> > >>>>> > >>>>I try to append the precompiled Linux version here. > >>>>If that does not work, send me an e-mail off the list > >>>>for me to reply to your propoer address. > >>>> > >>>>For information and documentation, you should get the > >>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>>>(see also the links on the CUPS web site). > >>>> > >>>>Do not forget to save the original pstops filter for safety reasons. > >>>> > >>>>Helge > >>>> > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>> > >>>> > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>>> > >>>> > >>> > >>> > >> From your log file I learn that you use the hpijs driver for the printer > >>in question. But the printer is also a native PostScript printer, according to the > >>PPD recommended: > >>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > >> > >>And, as the PPD says it is a level 3 printer, you should add > >>-o HPOption_PaperPolicy=NearestSizeAdjust > >>to the job options. I suspect the default configuration is set > >>to PromptUser, as you say the printer asks for the 12x18 media size. > >> > >>The alternate psrops filter still ignores the fitplot option, as this > >>is a standard feature for (nearly) all level 2 and level 3 PostScript > >>printers. If that works, you should add this option to the > >>default options for this printer. > >> > >>from the PPD: > >>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > >> <> >> setpagedevice" > >>*End > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > What pstops filter did you use now? Perhaps it is worth while > to use the "nearestsizeadjust" option as a default for > this printer (most conveniently selectable using the > web interface). > (That's the way it works at our site). > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From roa at libero.it Thu Sep 27 06:13:23 2007 From: roa at libero.it (Paolo Roascio) Date: Thu, 27 Sep 2007 06:13:23 -0700 Subject: how to disable any password Message-ID: <30695-cups.general@news.easysw.com> hello, first of all sorry for my bad english... I have an issue with cups management: each time i do an administrative task on my printer via web interface, cups require a password. I know that i have to set it by lppasswd and then i can use it, but, at least for stopping or starting my printer, I DON'T WANT TO USE ANY PASSWORD! Well, security issues aren't the case, i'm the only user of the PC and normally it isn't connected to internet/whatever. I already edited my /etc/cupsd.conf, now all authtype istances are setted to none and the access is restricted only to localhost, but despite this, cups WANT ever the password. How can i disable the use of any password in cups (i want that all, but really all can perform every task with my cups, no matter security issues) Thanks in advice Paolo From h.blischke at srz.de Thu Sep 27 06:41:01 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 06:41:01 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30694-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> Message-ID: <30696-cups.general@news.easysw.com> Gerald Britton wrote: > I've run the same job with both the old and new pdftops and the old > and new pstops. The results are the same no matter what. The only > thing that has made a difference is using the postcript driver instead > of hpijs. > > I put "Nearest size and scale" in the printer options. That means I > do not need the option on the command line. It doesn't really work > though. I still get a prompt for 12x18 stock. If I also put -o > PageSize=letter, I get it printed landscape on letter without a prompt > but no scaling. > > The other weird thing is that if I use -o PageSize=legal, I have to > manually tell the printer to use the stock in the drawer (that it > knows!) has legal-size paper. > > Bottom line: Scaling to fit doesn't work with this release of cups, > even with the alternate filters. > > On 9/27/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>On a hunch I defined a new printer for the 9040 and chose the >>>Postscript Driver. Big change! At last I get it printing landscape! >>>I used the command: >>> >>>lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf >>> >>>and it prints landscape. The only thing it didn't do is scale it to >>>fit the page. >>> >>>So, I know that the hpijs driver doesn't work as well with CUPS as the >>>postscript driver. Not sure if that is a driver problem or a CUPS >>>problem. >>> >>>The only thing left is to get the scaling to work. Seems I'm stuck at >>>this point. >>> >>>On 9/26/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>The good news is that your attachment made it through and didn't >>>>>crash. The bad news is that the basic situation is really unchanged: >>>>> >>>>>- I tried many permutations of orientation, pdf-paper (including >>>>>match) and fitplot. All results are the same, the middle of the pdf >>>>>is printed about 1/2 scale at the top of the printable area - portrait >>>>>only. I can't get landscape to work to save my life! >>>>> >>>>>- Now, the printer always requests a manual page feed of 12x18 (the >>>>>original size). With the old pstops filter then new page size was >>>>>passed through and I got no prompt at the printer >>>>> >>>>>- the new pstops runs a lot longer (2-3 times) than the old one. >>>>> >>>>>On 9/26/07, Helge Blischke wrote: >>>>> >>>>> >>>>> >>>>>>Gerald Britton wrote: >>>>>> >>>>>> >>>>>> >>>>>>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>>>>>compile it? >>>>>>> >>>>>> >>>>>>[...] >>>>>> >>>>>> >>>>>> >>>>>>>>But, instead of upgrading the total system, perhaps try out the >>>>>>>>alternate pstops filter (it is that one we use with great success). >>>>>>>> >>>>>>>>Helge >>>>>>>>-- >>>>>>>>Helge Blischke >>>>>>>>Softwareentwicklung >>>>>>>> >>>>>>>>H.Blischke at acm.org >>>>>>>>_______________________________________________ >>>>>>>>cups mailing list >>>>>>>>cups at easysw.com >>>>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>>>> >>>>>>> >>>>>>> >>>>>>I try to append the precompiled Linux version here. >>>>>>If that does not work, send me an e-mail off the list >>>>>>for me to reply to your propoer address. >>>>>> >>>>>>For information and documentation, you should get the >>>>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>>>>>(see also the links on the CUPS web site). >>>>>> >>>>>>Do not forget to save the original pstops filter for safety reasons. >>>>>> >>>>>>Helge >>>>>> >>>>>> >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>> >>>>>> >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>From your log file I learn that you use the hpijs driver for the printer >>>>in question. But the printer is also a native PostScript printer, according to the >>>>PPD recommended: >>>>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd >>>> >>>>And, as the PPD says it is a level 3 printer, you should add >>>>-o HPOption_PaperPolicy=NearestSizeAdjust >>>>to the job options. I suspect the default configuration is set >>>>to PromptUser, as you say the printer asks for the 12x18 media size. >>>> >>>>The alternate psrops filter still ignores the fitplot option, as this >>>>is a standard feature for (nearly) all level 2 and level 3 PostScript >>>>printers. If that works, you should add this option to the >>>>default options for this printer. >>>> >>> >>>>from the PPD: >>> >>>>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " >>>> <> >> setpagedevice" >>>>*End >>>> >>>>Helge >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>What pstops filter did you use now? Perhaps it is worth while >>to use the "nearestsizeadjust" option as a default for >>this printer (most conveniently selectable using the >>web interface). >>(That's the way it works at our site). >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > A last straw to grasp at: the printer itself should provide some configuration interfaces (web, telnet, menu keys; the first one preferred). It is possible that you need to mdoify something there. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 06:55:43 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 06:55:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30696-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> Message-ID: <30697-cups.general@news.easysw.com> Yes, the printer has a web interface, but there's nothing there that I can see to change what I get in this case. I'm actually looking for a non-printer-specific solution, since I also print similar documents at home on a low-end printer. I had hoped that I could produce similar results (albeit more slowly and with reduced quality) on a $200 printer as a $10000 printer. I am looking for a level of abstraction in cups to do that sort of thing. What is particularly galling, is that producing the results I am looking for -- printing a pdf scaled to fit the page size on any given printer in landscape orientation -- is a point-and-shoot operation on windows but, thusfar, unachievable with cups (at least the version I'm running) Soon I'll be able to try cups 1.3.2. Maybe then.... On 9/27/07, Helge Blischke wrote: > Gerald Britton wrote: > > I've run the same job with both the old and new pdftops and the old > > and new pstops. The results are the same no matter what. The only > > thing that has made a difference is using the postcript driver instead > > of hpijs. > > > > I put "Nearest size and scale" in the printer options. That means I > > do not need the option on the command line. It doesn't really work > > though. I still get a prompt for 12x18 stock. If I also put -o > > PageSize=letter, I get it printed landscape on letter without a prompt > > but no scaling. > > > > The other weird thing is that if I use -o PageSize=legal, I have to > > manually tell the printer to use the stock in the drawer (that it > > knows!) has legal-size paper. > > > > Bottom line: Scaling to fit doesn't work with this release of cups, > > even with the alternate filters. > > > > On 9/27/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>On a hunch I defined a new printer for the 9040 and chose the > >>>Postscript Driver. Big change! At last I get it printing landscape! > >>>I used the command: > >>> > >>>lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > >>> > >>>and it prints landscape. The only thing it didn't do is scale it to > >>>fit the page. > >>> > >>>So, I know that the hpijs driver doesn't work as well with CUPS as the > >>>postscript driver. Not sure if that is a driver problem or a CUPS > >>>problem. > >>> > >>>The only thing left is to get the scaling to work. Seems I'm stuck at > >>>this point. > >>> > >>>On 9/26/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>The good news is that your attachment made it through and didn't > >>>>>crash. The bad news is that the basic situation is really unchanged: > >>>>> > >>>>>- I tried many permutations of orientation, pdf-paper (including > >>>>>match) and fitplot. All results are the same, the middle of the pdf > >>>>>is printed about 1/2 scale at the top of the printable area - portrait > >>>>>only. I can't get landscape to work to save my life! > >>>>> > >>>>>- Now, the printer always requests a manual page feed of 12x18 (the > >>>>>original size). With the old pstops filter then new page size was > >>>>>passed through and I got no prompt at the printer > >>>>> > >>>>>- the new pstops runs a lot longer (2-3 times) than the old one. > >>>>> > >>>>>On 9/26/07, Helge Blischke wrote: > >>>>> > >>>>> > >>>>> > >>>>>>Gerald Britton wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>>>>>compile it? > >>>>>>> > >>>>>> > >>>>>>[...] > >>>>>> > >>>>>> > >>>>>> > >>>>>>>>But, instead of upgrading the total system, perhaps try out the > >>>>>>>>alternate pstops filter (it is that one we use with great success). > >>>>>>>> > >>>>>>>>Helge > >>>>>>>>-- > >>>>>>>>Helge Blischke > >>>>>>>>Softwareentwicklung > >>>>>>>> > >>>>>>>>H.Blischke at acm.org > >>>>>>>>_______________________________________________ > >>>>>>>>cups mailing list > >>>>>>>>cups at easysw.com > >>>>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>I try to append the precompiled Linux version here. > >>>>>>If that does not work, send me an e-mail off the list > >>>>>>for me to reply to your propoer address. > >>>>>> > >>>>>>For information and documentation, you should get the > >>>>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>>>>>(see also the links on the CUPS web site). > >>>>>> > >>>>>>Do not forget to save the original pstops filter for safety reasons. > >>>>>> > >>>>>>Helge > >>>>>> > >>>>>> > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>> > >>>>>> > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>From your log file I learn that you use the hpijs driver for the printer > >>>>in question. But the printer is also a native PostScript printer, according to the > >>>>PPD recommended: > >>>>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > >>>> > >>>>And, as the PPD says it is a level 3 printer, you should add > >>>>-o HPOption_PaperPolicy=NearestSizeAdjust > >>>>to the job options. I suspect the default configuration is set > >>>>to PromptUser, as you say the printer asks for the 12x18 media size. > >>>> > >>>>The alternate psrops filter still ignores the fitplot option, as this > >>>>is a standard feature for (nearly) all level 2 and level 3 PostScript > >>>>printers. If that works, you should add this option to the > >>>>default options for this printer. > >>>> > >>> > >>>>from the PPD: > >>> > >>>>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > >>>> <> >> setpagedevice" > >>>>*End > >>>> > >>>>Helge > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>What pstops filter did you use now? Perhaps it is worth while > >>to use the "nearestsizeadjust" option as a default for > >>this printer (most conveniently selectable using the > >>web interface). > >>(That's the way it works at our site). > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > A last straw to grasp at: the printer itself should > provide some configuration interfaces (web, telnet, > menu keys; the first one preferred). It is possible > that you need to mdoify something there. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 27 08:09:26 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 08:09:26 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30698-cups.general@news.easysw.com> H.Blischke at srz-berlin.com H.Blischke at acm.orgGerald Britton wrote: > Yes, the printer has a web interface, but there's nothing there that I > can see to change what I get in this case. > > I'm actually looking for a non-printer-specific solution, since I also > print similar documents at home on a low-end printer. > > I had hoped that I could produce similar results (albeit more slowly > and with reduced quality) on a $200 printer as a $10000 printer. I am > looking for a level of abstraction in cups to do that sort of thing. > > What is particularly galling, is that producing the results I am > looking for -- printing a pdf scaled to fit the page size on any given > printer in landscape orientation -- is a point-and-shoot operation on > windows but, thusfar, unachievable with cups (at least the version I'm > running) > > Soon I'll be able to try cups 1.3.2. Maybe then.... > > On 9/27/07, Helge Blischke wrote: > As a last try, could you run the pdftops filter and the pstops filter "by hand" from the command line and post the respective output? I'd badly like to know what the reason is that it does not work at your site. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 08:46:59 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 08:46:59 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30698-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> Message-ID: <30699-cups.general@news.easysw.com> OK -- I'll need a bit of help. I tried: $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf (pdftops.new is the alternate pdftops that you recommended) and got the message: ERROR: wrong number of arguments How should I properly call pdftops and pstops? On 9/27/07, Helge Blischke wrote: > H.Blischke at srz-berlin.com > H.Blischke at acm.orgGerald Britton wrote: > > Yes, the printer has a web interface, but there's nothing there that I > > can see to change what I get in this case. > > > > I'm actually looking for a non-printer-specific solution, since I also > > print similar documents at home on a low-end printer. > > > > I had hoped that I could produce similar results (albeit more slowly > > and with reduced quality) on a $200 printer as a $10000 printer. I am > > looking for a level of abstraction in cups to do that sort of thing. > > > > What is particularly galling, is that producing the results I am > > looking for -- printing a pdf scaled to fit the page size on any given > > printer in landscape orientation -- is a point-and-shoot operation on > > windows but, thusfar, unachievable with cups (at least the version I'm > > running) > > > > Soon I'll be able to try cups 1.3.2. Maybe then.... > > > > On 9/27/07, Helge Blischke wrote: > > > > As a last try, could you run the pdftops filter and the pstops filter > "by hand" from the command line and post the respective output? > > I'd badly like to know what the reason is that it does not work > at your site. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 27 10:57:45 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 10:57:45 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30699-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> Message-ID: <30700-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- I'll need a bit of help. I tried: > > $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > (pdftops.new is the alternate pdftops that you recommended) and got the message: > > > ERROR: wrong number of arguments > > How should I properly call pdftops and pstops? > > On 9/27/07, Helge Blischke wrote: > >>H.Blischke at srz-berlin.com >>H.Blischke at acm.orgGerald Britton wrote: >> >>>Yes, the printer has a web interface, but there's nothing there that I >>>can see to change what I get in this case. >>> >>>I'm actually looking for a non-printer-specific solution, since I also >>>print similar documents at home on a low-end printer. >>> >>>I had hoped that I could produce similar results (albeit more slowly >>>and with reduced quality) on a $200 printer as a $10000 printer. I am >>>looking for a level of abstraction in cups to do that sort of thing. >>> >>>What is particularly galling, is that producing the results I am >>>looking for -- printing a pdf scaled to fit the page size on any given >>>printer in landscape orientation -- is a point-and-shoot operation on >>>windows but, thusfar, unachievable with cups (at least the version I'm >>>running) >>> >>>Soon I'll be able to try cups 1.3.2. Maybe then.... >>> >>>On 9/27/07, Helge Blischke wrote: >>> >> >>As a last try, could you run the pdftops filter and the pstops filter >>"by hand" from the command line and post the respective output? >> >>I'd badly like to know what the reason is that it does not work >>at your site. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > OK, the CVUPS_SERVERROOT variable shoule be exported (export ...). And the general calling conventions for CUPS filters are execname jobid username title ncopies options [filename] where execname is the name of the filter to use jobid the job-ID (for these test an arbitrary integer, I usualle take 4711) usename tne name of the user submitting the job (arbitrary in this case) ncopies number of copies, shoule be 1 in this test case options a string of space separated job options (the "-o ..." stuff), use an empty double quoted string here ("") filename the path of the file to process or, if not supplied, the filter will read from standard imput. Output is always to standard output. Perhaps you should additionaly set TMPDIR=/var/tmp; export TMPDIR . Example: /usr/lib/cups/filter/pdftops 4711 goofy test 1 "" input_file > output_of_pdftops The output of pdftops is then fed into the pstops filter analogously. Good luck! Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From adam at searhc.org Thu Sep 27 11:33:53 2007 From: adam at searhc.org (adam at searhc.org) Date: Thu, 27 Sep 2007 11:33:53 -0700 Subject: printcap Message-ID: <30701-cups.general@news.easysw.com> I'm working on importing a large amount of printers from a printcap file. How can you set the queue name in CUPS? rp - Remote printer queue name. The remote machine will have its own printcap file with possibly several printers defined. This specifies which. printcap excerpt printername| HPLJ4+ PS:\ :lp=:rm=printername:rp=raw:\ :mx#0:sd=/sd5g/spool/printername: printername | Dymo LabelWriter SE300:\ :lp=:rm=printername:rp=pr3:\ :mx#0:sd=/sd5g/spool/printername: printername |HPLJ4600DN PS Text Mode:\ :lp=:rm=printername:rp=text:\ :mx#0:sd=/sd5g/spool/printername: printername|Optra RN+ PS:\ :lp=:rm=printername:rp=printername:\ :mx#0:sd=/sd5g/spool/printername: From k1pfeifle at gmx.net Thu Sep 27 12:34:01 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:34:01 -0700 Subject: how to disable any password In-Reply-To: <30695-cups.general@news.easysw.com> References: <30695-cups.general@news.easysw.com> Message-ID: <30702-cups.general@news.easysw.com> Paolo Roascio wrote: > hello, first of all sorry for my bad english... > > I have an issue with cups management: each time i do an > administrative task on my printer via web interface, cups > require a password. > > I know that i have to set it by lppasswd and then i can use > it, but, at least for stopping or starting my printer, > > > > I DON'T WANT TO USE ANY PASSWORD! > > > > Well, security issues aren't the case, i'm the only user of > the PC and normally it isn't connected to internet/whatever. > > I already edited my /etc/cupsd.conf, now all authtype istances > are setted to none and the access is restricted only to > localhost, but despite this, cups WANT ever the password. > > How can i disable the use of any password in cups (i want that > all, but really all can perform every task with my cups, no > matter security issues) > > Thanks in advice > > Paolo Since you do not name the distro nor the CUPS version, and since you did edit your cupsd.conf file already, we do not know the actual settings used by your print system and we can not advice you (yet). Please post the content of your cupsd.conf (but sans the comments, please!) -- run this command to get it: grep -Ev "^$|^#" /etc/cups/cupsd.conf -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 12:42:40 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:42:40 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30703-cups.general@news.easysw.com> Gerald Britton wrote: > On 9/27/07, Helge Blischke wrote: >> Gerald Britton wrote: >>> I've run the same job with both the old and new pdftops and the old >>> and new pstops. The results are the same no matter what. The only >>> thing that has made a difference is using the postcript driver instead >>> of hpijs. >>> >>> I put "Nearest size and scale" in the printer options. That means I >>> do not need the option on the command line. It doesn't really work >>> though. I still get a prompt for 12x18 stock. If I also put -o >>> PageSize=letter, I get it printed landscape on letter without a prompt >>> but no scaling. >>> >>> The other weird thing is that if I use -o PageSize=legal, I have to >>> manually tell the printer to use the stock in the drawer (that it >>> knows!) has legal-size paper. >>> >>> Bottom line: Scaling to fit doesn't work with this release of cups, >>> even with the alternate filters. ${WORKSFORME}.... [*1] Anyway, I wasn't able to follow your conversation after my own comment, and it seems Helge has already put in a big effort to solve the problem. But please tell me one thing before I try to go down the wrong brain loop: is it the wrapper-script based pdftops filter you are using (because that's what your distro gave you instead of the original), or is it the binary one that ships with CUPS originally? -------- [*1] with the original pdftops binary as compiled from CUPS sources (which are derived from xpdf). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 12:42:52 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:42:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30704-cups.general@news.easysw.com> Gerald Britton wrote: > On 9/27/07, Helge Blischke wrote: >> Gerald Britton wrote: >>> I've run the same job with both the old and new pdftops and the old >>> and new pstops. The results are the same no matter what. The only >>> thing that has made a difference is using the postcript driver instead >>> of hpijs. >>> >>> I put "Nearest size and scale" in the printer options. That means I >>> do not need the option on the command line. It doesn't really work >>> though. I still get a prompt for 12x18 stock. If I also put -o >>> PageSize=letter, I get it printed landscape on letter without a prompt >>> but no scaling. >>> >>> The other weird thing is that if I use -o PageSize=legal, I have to >>> manually tell the printer to use the stock in the drawer (that it >>> knows!) has legal-size paper. >>> >>> Bottom line: Scaling to fit doesn't work with this release of cups, >>> even with the alternate filters. ${WORKSFORME}.... [*1] Anyway, I wasn't able to follow your conversation after my own comment, and it seems Helge has already put in a big effort to solve the problem. But please tell me one thing before I try to go down the wrong brain loop: is it the wrapper-script based pdftops filter you are using (because that's what your distro gave you instead of the original), or is it the binary one that ships with CUPS originally? -------- [*1] with the original pdftops binary as compiled from CUPS sources (which are derived from xpdf). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 12:45:39 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 12:45:39 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <46FC0706.7050408@gmx.net> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> Message-ID: <30705-cups.general@news.easysw.com> I've tried both the old pdftops (that came with my cups distro) and the new one that Helge pointed me to. Both are perl scripts as it turns out. Helge has tried really hard and has earned my respect, that's for sure! Just wish this were easier!! On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > > On 9/27/07, Helge Blischke wrote: > >> Gerald Britton wrote: > >>> I've run the same job with both the old and new pdftops and the old > >>> and new pstops. The results are the same no matter what. The only > >>> thing that has made a difference is using the postcript driver instead > >>> of hpijs. > >>> > >>> I put "Nearest size and scale" in the printer options. That means I > >>> do not need the option on the command line. It doesn't really work > >>> though. I still get a prompt for 12x18 stock. If I also put -o > >>> PageSize=letter, I get it printed landscape on letter without a prompt > >>> but no scaling. > >>> > >>> The other weird thing is that if I use -o PageSize=legal, I have to > >>> manually tell the printer to use the stock in the drawer (that it > >>> knows!) has legal-size paper. > >>> > >>> Bottom line: Scaling to fit doesn't work with this release of cups, > >>> even with the alternate filters. > > > ${WORKSFORME}.... [*1] > > Anyway, I wasn't able to follow your conversation after my own comment, > and it seems Helge has already put in a big effort to solve the problem. > > But please tell me one thing before I try to go down the wrong brain > loop: is it the wrapper-script based pdftops filter you are using (because > that's what your distro gave you instead of the original), or is it the > binary one that ships with CUPS originally? > > -------- > [*1] with the original pdftops binary as compiled from CUPS sources > (which are derived from xpdf). > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Thu Sep 27 12:49:04 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 12:49:04 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> Message-ID: <30706-cups.general@news.easysw.com> Oh, perl scripts are in the cups filters direcroty. The binary on my system says: $ /usr/bin/pdftops -v pdftops version 3.00 Copyright 1996-2004 Glyph & Cog, LLC On 9/27/07, Gerald Britton wrote: > I've tried both the old pdftops (that came with my cups distro) and > the new one that Helge pointed me to. Both are perl scripts as it > turns out. > > Helge has tried really hard and has earned my respect, that's for > sure! Just wish this were easier!! > > On 9/27/07, Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > > > On 9/27/07, Helge Blischke wrote: > > >> Gerald Britton wrote: > > >>> I've run the same job with both the old and new pdftops and the old > > >>> and new pstops. The results are the same no matter what. The only > > >>> thing that has made a difference is using the postcript driver instead > > >>> of hpijs. > > >>> > > >>> I put "Nearest size and scale" in the printer options. That means I > > >>> do not need the option on the command line. It doesn't really work > > >>> though. I still get a prompt for 12x18 stock. If I also put -o > > >>> PageSize=letter, I get it printed landscape on letter without a prompt > > >>> but no scaling. > > >>> > > >>> The other weird thing is that if I use -o PageSize=legal, I have to > > >>> manually tell the printer to use the stock in the drawer (that it > > >>> knows!) has legal-size paper. > > >>> > > >>> Bottom line: Scaling to fit doesn't work with this release of cups, > > >>> even with the alternate filters. > > > > > > ${WORKSFORME}.... [*1] > > > > Anyway, I wasn't able to follow your conversation after my own comment, > > and it seems Helge has already put in a big effort to solve the problem. > > > > But please tell me one thing before I try to go down the wrong brain > > loop: is it the wrapper-script based pdftops filter you are using (because > > that's what your distro gave you instead of the original), or is it the > > binary one that ships with CUPS originally? > > > > -------- > > [*1] with the original pdftops binary as compiled from CUPS sources > > (which are derived from xpdf). > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From k1pfeifle at gmx.net Thu Sep 27 13:12:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:12:08 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30699-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> Message-ID: <30707-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- I'll need a bit of help. I tried: > > $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf Unless the '$' above is coming from your prompt, this is the wrong way to set the environment variable on the commandline.... And the command itself - you should call it like adviced by this output (occurs when running the filter without any arguments): kurt at lx50:~> /usr/lib/cups/filter/pdftops Usage: pdftops job user title copies options [filename] This translates to (for example): /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf And with some environment variables set (no '$' please!): CUPS_SERVERROOT=/etc/cups/ \ PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ | tee /tmp/filtered_output-to_be_sent_to-helge.ps However, since you want to see results for "fitplot" and some specific media size (I don't remember which), you'll want to set these options on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT set in your use case -- but PPD for sure!): PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ | tee /tmp/filtered_output-to_be_sent_to-helge.ps For a first quick look, you can also pipe it into a PostScript viewer: PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ | gv - BTW, here is the list of *all* env params proviced cupsd for all running filters and backends to see and pick up if they need to: CUPS_CACHEDIR CUPS_DATADIR CUPS_DOCROOT CUPS_FONTPATH CUPS_REQUESTROOT CUPS_SERVERBIN CUPS_SERVERROOT CUPS_STATEDIR LD_LIBRARY_PATH LD_PRELOAD PATH SERVER_ADMIN SOFTWARE TMPDIR USER CUPS_SERVER CUPS_ENCRYPTION IPP_PORT CHARSET LANG PPD RIP_MAX_CACHE CONTENT_TYPE DEVICE_URI PRINTER FINAL_CONTENT_TYPE -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:29:52 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:29:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30707-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> Message-ID: <30708-cups.general@news.easysw.com> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and pasted my results. Helge helped me with the other operands as well. I ran the commands and sent the output directly (not to the list, since it is too big). I tried gv as you suggested. It shrank the pdf to fit the page but didn't obey the printer directive to fit to the nearest size and scale. From k1pfeifle at gmx.net Thu Sep 27 13:37:01 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:37:01 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30706-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> <30706-cups.general@news.easysw.com> Message-ID: <30709-cups.general@news.easysw.com> Gerald Britton wrote: > Oh, perl scripts are in the cups filters direcroty. The binary on my > system says: > > $ /usr/bin/pdftops -v > pdftops version 3.00 > Copyright 1996-2004 Glyph & Cog, LLC That doesn't help. *This* binary is provided by the xpdf package (or by the xpdf-utils packages). Since it doesn't follow the calling con- ventions expected by CUPS for all its filters: cupsfiltername job user title copies options [filename] there is the need for the Perl script which is only a wrapper to run the /usr/bin/pdftops so that CUPS calling conventions are followed (and possibly job options are applied as needed.) *However*, when *I* mentioned the pdftops binary, I meant the one that would "normally" be built and installed as /usr/lib/cups/filter/pdftops (as a binary), if you compiled CUPS from the sources. But since you are not using a CUPS-provided filter, but a third-party one that is used as a drop-in replacement for the original CUPS one, this bug is not (neces- sarily) a CUPS bug... The CUPS pdftops filter is *also* derived from xpdf (but has a few fixes and probably modifications). Some distros didn't like it because in the past there had appeared se- curity relevant bugs in XPDF and in all XPDF-derived code (which not only did bite CUPS, but also kpdf/KDE, evince/GNOME, poppler....). And whenever that was the case, they needed to fix the hole at two places (in xpdf-utils *and* in CUPS) and role out at least 2 new patched packages. That's why they thought it to be a good idea to kick out CUPS' pdftops and replace it with the Perl wrapper. At least it would spare them part of the work if there appeared any new security hole in XPDF. The price is that now CUPS supporters (like the volunteers on this list) do have at least double the work with all pdftops questions, CUPS appears in a "buggy light", and users like you have an endless, tiring struggle to get your standard print jobs done correctly if you print PDF... :-| So if you want to test the *original* CUPS pdftops binary, you'll have to find someone who can mail it to you, or you must compile CUPS on your own. Or maybe you can send me a link to your PDF, and I can test it on my system from the commandline (I've openSUSE-10,2 currently with the original CUPS-provided pdftops, as well as a self-compiled CUPS-1.4svn version). > On 9/27/07, Gerald Britton wrote: >> I've tried both the old pdftops (that came with my cups distro) and >> the new one that Helge pointed me to. Both are perl scripts as it >> turns out. >> >> Helge has tried really hard and has earned my respect, that's for >> sure! Just wish this were easier!! >> >> On 9/27/07, Kurt Pfeifle wrote: >>> Gerald Britton wrote: >>> >>>> On 9/27/07, Helge Blischke wrote: >>>>> Gerald Britton wrote: >>>>>> I've run the same job with both the old and new pdftops and the old >>>>>> and new pstops. The results are the same no matter what. The only >>>>>> thing that has made a difference is using the postcript driver instead >>>>>> of hpijs. >>>>>> >>>>>> I put "Nearest size and scale" in the printer options. That means I >>>>>> do not need the option on the command line. It doesn't really work >>>>>> though. I still get a prompt for 12x18 stock. If I also put -o >>>>>> PageSize=letter, I get it printed landscape on letter without a prompt >>>>>> but no scaling. >>>>>> >>>>>> The other weird thing is that if I use -o PageSize=legal, I have to >>>>>> manually tell the printer to use the stock in the drawer (that it >>>>>> knows!) has legal-size paper. >>>>>> >>>>>> Bottom line: Scaling to fit doesn't work with this release of cups, >>>>>> even with the alternate filters. >>> >>> ${WORKSFORME}.... [*1] >>> >>> Anyway, I wasn't able to follow your conversation after my own comment, >>> and it seems Helge has already put in a big effort to solve the problem. >>> >>> But please tell me one thing before I try to go down the wrong brain >>> loop: is it the wrapper-script based pdftops filter you are using (because >>> that's what your distro gave you instead of the original), or is it the >>> binary one that ships with CUPS originally? >>> >>> -------- >>> [*1] with the original pdftops binary as compiled from CUPS sources >>> (which are derived from xpdf). >>> -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:40:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:40:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> Message-ID: <30710-cups.general@news.easysw.com> After some more experimenting, I used the following command: lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf the "-o=landscape" actually makes it print portrait! So I removed that and ran: lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf This got me closer to my goal. The printout was landscape orientation (I know, doesn't make sense!) but the scaling was for portrait orientation and thus too small! On 9/27/07, Gerald Britton wrote: > Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > pasted my results. Helge helped me with the other operands as well. > I ran the commands and sent the output directly (not to the list, > since it is too big). > > I tried gv as you suggested. It shrank the pdf to fit the page but > didn't obey the printer directive to fit to the nearest size and > scale. > From gerald.britton at gmail.com Thu Sep 27 13:44:31 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:44:31 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> Message-ID: <30711-cups.general@news.easysw.com> here's the file I'm trying to print. I want to print it landscape, scaled down to fit my page size. If you can do it for A4 or A3, I should be able to do it for legal http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf On 9/27/07, Gerald Britton wrote: > After some more experimenting, I used the following command: > > lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > the "-o=landscape" actually makes it print portrait! So I removed that and ran: > > lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > This got me closer to my goal. The printout was landscape orientation > (I know, doesn't make sense!) but the scaling was for portrait > orientation and thus too small! > > On 9/27/07, Gerald Britton wrote: > > Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > > pasted my results. Helge helped me with the other operands as well. > > I ran the commands and sent the output directly (not to the list, > > since it is too big). > > > > I tried gv as you suggested. It shrank the pdf to fit the page but > > didn't obey the printer directive to fit to the nearest size and > > scale. > > > From k1pfeifle at gmx.net Thu Sep 27 13:54:36 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:54:36 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30707-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> Message-ID: <30712-cups.general@news.easysw.com> OK, so I now looked up the first two posts of your exchange after I could not attend any more to this topic, and found your link to the example PDF. I ran the filter manually like this (on *my* system, which uses the original CUPS-style pdftops): /usr/lib/cups/filter/pdftops \ "1" \ "" \ "1" \ "fitplot=true PageSize=Letter" \ e002379200.pdf \ | tee pdftopsfiltered-fitplotted-lettersized.ps I'll mail you the result in private mail. It looks perfect to me. I noticed that you wanted to apply "landscape" to your options. In gneral, this is not a good idea for PDF printing. It will just rotate the image by 90 degree, but it will not rotate the medium. Normally, "fitplot" does alread take care of fitting the image as good as you can get it. Adding "landscape" to the options will just destroy your likely intention of what you want to see on the printout. Kurt Pfeifle wrote: > Gerald Britton wrote: >> OK -- I'll need a bit of help. I tried: >> >> $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > > Unless the '$' above is coming from your prompt, this is the wrong way > to set the environment variable on the commandline.... > > And the command itself - you should call it like adviced by this output > (occurs when running the filter without any arguments): > > kurt at lx50:~> /usr/lib/cups/filter/pdftops > Usage: pdftops job user title copies options [filename] > > This translates to (for example): > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf > /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf > > And with some environment variables set (no '$' please!): > > CUPS_SERVERROOT=/etc/cups/ \ > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ > | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > However, since you want to see results for "fitplot" and some specific > media size (I don't remember which), you'll want to set these options > on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT > set in your use case -- but PPD for sure!): > > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ > | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > For a first quick look, you can also pipe it into a PostScript viewer: > > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ > | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ > | gv - > > > > BTW, here is the list of *all* env params proviced cupsd for all running > filters and backends to see and pick up if they need to: > > CUPS_CACHEDIR > CUPS_DATADIR > CUPS_DOCROOT > CUPS_FONTPATH > CUPS_REQUESTROOT > CUPS_SERVERBIN > CUPS_SERVERROOT > CUPS_STATEDIR > LD_LIBRARY_PATH > LD_PRELOAD > PATH > SERVER_ADMIN > SOFTWARE > TMPDIR > USER > CUPS_SERVER > CUPS_ENCRYPTION > IPP_PORT > CHARSET > LANG > PPD > RIP_MAX_CACHE > CONTENT_TYPE > DEVICE_URI > PRINTER > FINAL_CONTENT_TYPE > > -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:59:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:59:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30712-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <30712-cups.general@news.easysw.com> Message-ID: <30713-cups.general@news.easysw.com> As you surmised, my ultimate goal for this pdf is to print it landscape and scaled to fill the page (landscape orientation) as best as possible. If I understand you correctly, there is currently no good way to do that via cups. Is that right? On 9/27/07, Kurt Pfeifle wrote: > OK, so I now looked up the first two posts of your exchange after I > could not attend any more to this topic, and found your link to the > example PDF. > > I ran the filter manually like this (on *my* system, which uses the > original CUPS-style pdftops): > > /usr/lib/cups/filter/pdftops \ > "1" \ > "" \ > "1" \ > "fitplot=true PageSize=Letter" \ > e002379200.pdf \ > | tee pdftopsfiltered-fitplotted-lettersized.ps > > I'll mail you the result in private mail. It looks perfect to me. > > I noticed that you wanted to apply "landscape" to your options. In > gneral, this is not a good idea for PDF printing. It will just rotate > the image by 90 degree, but it will not rotate the medium. Normally, > "fitplot" does alread take care of fitting the image as good as you > can get it. Adding "landscape" to the options will just destroy your > likely intention of what you want to see on the printout. > > > Kurt Pfeifle wrote: > > Gerald Britton wrote: > >> OK -- I'll need a bit of help. I tried: > >> > >> $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > > > > > Unless the '$' above is coming from your prompt, this is the wrong way > > to set the environment variable on the commandline.... > > > > And the command itself - you should call it like adviced by this output > > (occurs when running the filter without any arguments): > > > > kurt at lx50:~> /usr/lib/cups/filter/pdftops > > Usage: pdftops job user title copies options [filename] > > > > This translates to (for example): > > > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf > > /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf > > > > And with some environment variables set (no '$' please!): > > > > CUPS_SERVERROOT=/etc/cups/ \ > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ > > | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ > > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > > > However, since you want to see results for "fitplot" and some specific > > media size (I don't remember which), you'll want to set these options > > on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT > > set in your use case -- but PPD for sure!): > > > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ > > | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ > > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > > > For a first quick look, you can also pipe it into a PostScript viewer: > > > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ > > | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ > > | gv - > > > > > > > > BTW, here is the list of *all* env params proviced cupsd for all running > > filters and backends to see and pick up if they need to: > > > > CUPS_CACHEDIR > > CUPS_DATADIR > > CUPS_DOCROOT > > CUPS_FONTPATH > > CUPS_REQUESTROOT > > CUPS_SERVERBIN > > CUPS_SERVERROOT > > CUPS_STATEDIR > > LD_LIBRARY_PATH > > LD_PRELOAD > > PATH > > SERVER_ADMIN > > SOFTWARE > > TMPDIR > > USER > > CUPS_SERVER > > CUPS_ENCRYPTION > > IPP_PORT > > CHARSET > > LANG > > PPD > > RIP_MAX_CACHE > > CONTENT_TYPE > > DEVICE_URI > > PRINTER > > FINAL_CONTENT_TYPE > > > > > > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Thu Sep 27 14:01:16 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:01:16 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30711-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> Message-ID: <30714-cups.general@news.easysw.com> Gerald Britton wrote: > here's the file I'm trying to print. I found it already in the meanwhile :-) And I mailed you *my* results, which look perfect for "fitplot to Letter". > I want to print it landscape, No, you don't want to. Honest. :-) In 99.99% of cases, it will do the wrong thing when applied to PDF file printing. I don't believe your case is amongst the 0.01% :-) > scaled down to fit my page size. If you can do it for A4 or A3, I > should be able to do it for legal OK, I'll repeat the test for legal, and let you know the result. > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > On 9/27/07, Gerald Britton wrote: >> After some more experimenting, I used the following command: >> >> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >> >> the "-o=landscape" actually makes it print portrait! So I removed that and ran: >> >> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >> >> This got me closer to my goal. The printout was landscape orientation >> (I know, doesn't make sense!) but the scaling was for portrait >> orientation and thus too small! >> >> On 9/27/07, Gerald Britton wrote: >>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>> pasted my results. Helge helped me with the other operands as well. >>> I ran the commands and sent the output directly (not to the list, >>> since it is too big). >>> >>> I tried gv as you suggested. It shrank the pdf to fit the page but >>> didn't obey the printer directive to fit to the nearest size and >>> scale. >>> > -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 14:08:21 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 14:08:21 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30714-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> Message-ID: <30715-cups.general@news.easysw.com> Thanks for working on this, Kurt. I've learned a lot in the process and that never hurts. I'm disappointed that I can't reach my ultimate goal, but I can do it easily with acrobat reader on windows (a couple of clicks and it's rotated and scaled perfectly). I just trying NOT to use windows for stuff like this. On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > here's the file I'm trying to print. > > > I found it already in the meanwhile :-) > > And I mailed you *my* results, which look perfect for "fitplot to > Letter". > > > > I want to print it landscape, > > > No, you don't want to. Honest. :-) > > In 99.99% of cases, it will do the wrong thing when applied to PDF > file printing. I don't believe your case is amongst the 0.01% :-) > > > > scaled down to fit my page size. If you can do it for A4 or A3, I > > should be able to do it for legal > > > OK, I'll repeat the test for legal, and let you know the result. > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > On 9/27/07, Gerald Britton wrote: > >> After some more experimenting, I used the following command: > >> > >> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >> > >> the "-o=landscape" actually makes it print portrait! So I removed that and ran: > >> > >> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >> > >> This got me closer to my goal. The printout was landscape orientation > >> (I know, doesn't make sense!) but the scaling was for portrait > >> orientation and thus too small! > >> > >> On 9/27/07, Gerald Britton wrote: > >>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>> pasted my results. Helge helped me with the other operands as well. > >>> I ran the commands and sent the output directly (not to the list, > >>> since it is too big). > >>> > >>> I tried gv as you suggested. It shrank the pdf to fit the page but > >>> didn't obey the printer directive to fit to the nearest size and > >>> scale. > >>> > > > > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Thu Sep 27 14:27:22 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:27:22 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30714-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> Message-ID: <30716-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: >> here's the file I'm trying to print. > > > I found it already in the meanwhile :-) > > And I mailed you *my* results, which look perfect for "fitplot to > Letter". > > >> I want to print it landscape, > > > No, you don't want to. Honest. :-) > > In 99.99% of cases, it will do the wrong thing when applied to PDF > file printing. I don't believe your case is amongst the 0.01% :-) > > >> scaled down to fit my page size. If you can do it for A4 or A3, I >> should be able to do it for legal > > > OK, I'll repeat the test for legal, and let you know the result. Legal size works as well here. (However, you *must* supply a PPD as an env variable that has this PageSize defined!). I ran these command (the PPD I used is a random one on my system that happens to have a Legal media size defined): PPD=/etc/cups/ppd/2dir_lp.ppd \ /usr/lib/cups/filter/pdftops \ "1" \ "kurt" \ "kurt" \ "1" \ "fitplot=true PageSize=Legal" \ e002379200.pdf \ | tee pdftopsfiltered-fitplotted-legalsized.ps \ | /usr/bin/ps2pdf \ - \ pdftopsfiltered-fitplotted-legalsized.pdf which gave me two files, "pdftopsfiltered-fitplotted-legalsized.p{s,df}". I got perfectly looking output for each of these; and I'll send them to you in private mail, so you can proof what you need to proof to your distro CUPS packagers/wiseacres. Here are some additional infos about your original PDF file and the resulting PDF created by my manual run of above command: Your original PDF: ------------------ kurt at lx50:~> pdfinfo e002379200.pdf Creator: Adobe Acrobat 6.0 Producer: Adobe Acrobat 6.0 Image Conversion Plug-in CreationDate: Wed 28 Apr 2004 01:46:26 PM CEST ModDate: Wed 28 Apr 2004 01:46:26 PM CEST Tagged: no Pages: 1 Encrypted: no Page size: 2065.44 x 716.64 pts File size: 366339 bytes Optimized: yes PDF version: 1.5 PDF after CUPS' pdftops and Ghostscript 8.60's ps2pdf: ------------------------------------------------------ kurt at lx50:~> pdfinfo pdftopsfiltered-fitplotted-legalsized.pdf Creator: Adobe Acrobat 6.0 Producer: GPL Ghostscript 8.60 CreationDate: Thu 27 Sep 2007 09:06:05 PM CEST ModDate: Thu 27 Sep 2007 09:06:05 PM CEST Tagged: no Pages: 1 Encrypted: no Page size: 612 x 1008 pts File size: 408459 bytes Optimized: no PDF version: 1.4 That's all I can do for you, for now. Hope this helps. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:32:18 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:32:18 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30713-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <30712-cups.general@news.easysw.com> <30713-cups.general@news.easysw.com> Message-ID: <30717-cups.general@news.easysw.com> Gerald Britton wrote: > As you surmised, my ultimate goal for this pdf is to print it > landscape and scaled to fill the page (landscape orientation) Forget "landscape". If you want to fill the given page size as best as can, it is enough to just say "fitplot". > as best > as possible. If I understand you correctly, there is currently no > good way to do that via cups. You understood wrongly. "CUPS, the original" can do that perfectly. And does indeed do so for me. (Yes, in the past CUPS did occasionally show bugs with PDF printing too. But not with your current example file, with *my* current CUPS.) "CUPS, the patched and changed, and 'enhanced' version as modified by the $buntu/$ebian packagers" does not seem to do it for you. I'm sorry for that, but I don't see any other advice for you than to file a bug report with *them*. > Is that right? Draw your own conclusions now. :-) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:33:52 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:33:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30715-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> Message-ID: <30718-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for working on this, Kurt. I've learned a lot in the process > and that never hurts. I'm disappointed that I can't reach my ultimate > goal, If I can, you can too. And I can indeed. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:41:34 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:41:34 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30715-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> Message-ID: <30719-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for working on this, Kurt. I've learned a lot in the process > and that never hurts. I'm disappointed that I can't reach my ultimate > goal, but I can do it easily with acrobat reader on windows (a couple > of clicks and it's rotated and scaled perfectly). I just trying NOT > to use windows for stuff like this. Hey, I now notice you didn't even pay attention and respond to my comments about specifying "landscape" as an option. Or did you? And did you receive the files I mailed to you?!? And did you run the commandline exactly as I showed you, with the PPD as an env variable? (and you verified the PPD has the full de- finitions for "Legal"? and the PPD passes the "cupstestppd" test? It may after all be the case that even your distro's wrapper script works correctly if used in the right way...) > On 9/27/07, Kurt Pfeifle wrote: >> Gerald Britton wrote: >>> here's the file I'm trying to print. >> >> I found it already in the meanwhile :-) >> >> And I mailed you *my* results, which look perfect for "fitplot to >> Letter". >> >> >>> I want to print it landscape, >> >> No, you don't want to. Honest. :-) >> >> In 99.99% of cases, it will do the wrong thing when applied to PDF >> file printing. I don't believe your case is amongst the 0.01% :-) >> >> >>> scaled down to fit my page size. If you can do it for A4 or A3, I >>> should be able to do it for legal >> >> OK, I'll repeat the test for legal, and let you know the result. >> >> >>> http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>> >>> On 9/27/07, Gerald Britton wrote: >>>> After some more experimenting, I used the following command: >>>> >>>> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>> >>>> the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>> >>>> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>> >>>> This got me closer to my goal. The printout was landscape orientation >>>> (I know, doesn't make sense!) but the scaling was for portrait >>>> orientation and thus too small! >>>> >>>> On 9/27/07, Gerald Britton wrote: >>>>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>> pasted my results. Helge helped me with the other operands as well. >>>>> I ran the commands and sent the output directly (not to the list, >>>>> since it is too big). >>>>> >>>>> I tried gv as you suggested. It shrank the pdf to fit the page but >>>>> didn't obey the printer directive to fit to the nearest size and >>>>> scale. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From msweet at apple.com Thu Sep 27 15:05:13 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 27 Sep 2007 15:05:13 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30690-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> Message-ID: <30720-cups.general@news.easysw.com> Premjo wrote: > Hi, > Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. No, only drivers (which are run only when you send a print job) can communicate with devices. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From twaugh at redhat.com Thu Sep 27 15:10:22 2007 From: twaugh at redhat.com (Tim Waugh) Date: Thu, 27 Sep 2007 15:10:22 -0700 Subject: [cups.general] regarding cups In-Reply-To: <46FC290D.8020001@apple.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> Message-ID: <30721-cups.general@news.easysw.com> On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > Premjo wrote: > > Hi, > > Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. > > No, only drivers (which are run only when you send a print job) can > communicate with devices. It's the kind of thing I'd like to be able to do as well, particularly for checking ink levels. If the driver supports CUPS-COMMAND files, *and* STR #1307 were addressed, this would in fact be possible from the web interface. The results could be found from the marker-state attributes. 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 mike at easysw.com Thu Sep 27 15:29:19 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:19 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30722-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From mike at easysw.com Thu Sep 27 15:29:28 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:28 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30723-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From mike at easysw.com Thu Sep 27 15:29:49 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:49 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30724-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From gerald.britton at gmail.com Thu Sep 27 15:44:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 15:44:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30719-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> Message-ID: <30725-cups.general@news.easysw.com> Thanks Kurt. Stuff for me to try in the morning. I did the PPD var like you said but gv didn't look right. You're last few msgs caught me on the way home and cooking so I am just picking them up now. On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > Thanks for working on this, Kurt. I've learned a lot in the process > > and that never hurts. I'm disappointed that I can't reach my ultimate > > goal, but I can do it easily with acrobat reader on windows (a couple > > of clicks and it's rotated and scaled perfectly). I just trying NOT > > to use windows for stuff like this. > > > Hey, I now notice you didn't even pay attention and respond to my > comments about specifying "landscape" as an option. > > Or did you? > > And did you receive the files I mailed to you?!? > > And did you run the commandline exactly as I showed you, with the > PPD as an env variable? (and you verified the PPD has the full de- > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > It may after all be the case that even your distro's wrapper script > works correctly if used in the right way...) > > > On 9/27/07, Kurt Pfeifle wrote: > >> Gerald Britton wrote: > >>> here's the file I'm trying to print. > >> > >> I found it already in the meanwhile :-) > >> > >> And I mailed you *my* results, which look perfect for "fitplot to > >> Letter". > >> > >> > >>> I want to print it landscape, > >> > >> No, you don't want to. Honest. :-) > >> > >> In 99.99% of cases, it will do the wrong thing when applied to PDF > >> file printing. I don't believe your case is amongst the 0.01% :-) > >> > >> > >>> scaled down to fit my page size. If you can do it for A4 or A3, I > >>> should be able to do it for legal > >> > >> OK, I'll repeat the test for legal, and let you know the result. > >> > >> > >>> http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>> > >>> On 9/27/07, Gerald Britton wrote: > >>>> After some more experimenting, I used the following command: > >>>> > >>>> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>> > >>>> the "-o=landscape" actually makes it print portrait! So I removed that > and ran: > >>>> > >>>> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>> > >>>> This got me closer to my goal. The printout was landscape orientation > >>>> (I know, doesn't make sense!) but the scaling was for portrait > >>>> orientation and thus too small! > >>>> > >>>> On 9/27/07, Gerald Britton wrote: > >>>>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>>>> pasted my results. Helge helped me with the other operands as well. > >>>>> I ran the commands and sent the output directly (not to the list, > >>>>> since it is too big). > >>>>> > >>>>> I tried gv as you suggested. It shrank the pdf to fit the page but > >>>>> didn't obey the printer directive to fit to the nearest size and > >>>>> scale. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From maelvon.hawk at laposte.net Thu Sep 27 16:17:59 2007 From: maelvon.hawk at laposte.net (Maelvon) Date: Thu, 27 Sep 2007 16:17:59 -0700 Subject: page_log history Message-ID: <30726-cups.general@news.easysw.com> Hello, I have cups, and it seems it keep in var/log/cups/page_log etc only one month of printed jobs ! I've think it keep more than one month in the logs. I've installed it in june, and have only the september jobs in the logs... How can I configure the log history length ? --------------------- # ls -s -h total 4,9M 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 24K access_log.2 1,2M error_log 16K page_log 36K access_log.3 900K error_log.1 12K page_log.1 80K access_log.4 656K error_log.2 12K page_log.2 --------------------- Thanks, Maelvon From mike at easysw.com Thu Sep 27 17:29:01 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 17:29:01 -0700 Subject: page_log history In-Reply-To: <30726-cups.general@news.easysw.com> References: <30726-cups.general@news.easysw.com> Message-ID: <30727-cups.general@news.easysw.com> Maelvon wrote: > Hello, > > I have cups, and it seems it keep in var/log/cups/page_log etc only one > month of printed jobs ! I've think it keep more than one month in the > logs. I've installed it in june, and have only the september jobs in the > logs... How can I configure the log history length ? > > --------------------- > # ls -s -h > total 4,9M > 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 > 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 > 24K access_log.2 1,2M error_log 16K page_log > 36K access_log.3 900K error_log.1 12K page_log.1 > 80K access_log.4 656K error_log.2 12K page_log.2 > --------------------- Your Linux distro uses logrotated to rotate the CUPS logs. You'll need to disable that to keep the logs around. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From maelvon.hawk at laposte.net Fri Sep 28 01:01:40 2007 From: maelvon.hawk at laposte.net (Maelvon) Date: Fri, 28 Sep 2007 01:01:40 -0700 Subject: page_log history In-Reply-To: <30727-cups.general@news.easysw.com> References: <30726-cups.general@news.easysw.com> <30727-cups.general@news.easysw.com> Message-ID: <30728-cups.general@news.easysw.com> Michael Sweet a ?crit : > Maelvon wrote: >> Hello, >> >> I have cups, and it seems it keep in var/log/cups/page_log etc only >> one month of printed jobs ! I've think it keep more than one month in >> the logs. I've installed it in june, and have only the september jobs >> in the logs... How can I configure the log history length ? >> >> --------------------- >> # ls -s -h >> total 4,9M >> 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 >> 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 >> 24K access_log.2 1,2M error_log 16K page_log >> 36K access_log.3 900K error_log.1 12K page_log.1 >> 80K access_log.4 656K error_log.2 12K page_log.2 >> --------------------- > > Your Linux distro uses logrotated to rotate the CUPS logs. You'll > need to disable that to keep the logs around. > So I've lost all the print history since june... Arrgg I disable the logrotate in my distro conf (SME_server) or in the cups.conf ? Thanks for the tips... Maelvon From olaf.meeuwissen at avasys.jp Fri Sep 28 01:26:47 2007 From: olaf.meeuwissen at avasys.jp (Olaf Meeuwissen) Date: Fri, 28 Sep 2007 01:26:47 -0700 Subject: [cups.general] page_log history In-Reply-To: <30728-cups.general@news.easysw.com> (maelvon.hawk@laposte.net's message of "Fri, 28 Sep 2007 01:01:40 -0700") References: <30726-cups.general@news.easysw.com> <30727-cups.general@news.easysw.com> <30728-cups.general@news.easysw.com> Message-ID: <30729-cups.general@news.easysw.com> Maelvon writes: > Michael Sweet a ?crit : >> Maelvon wrote: >>> Hello, >>> >>> I have cups, and it seems it keep in var/log/cups/page_log etc only >>> one month of printed jobs ! I've think it keep more than one month in >>> the logs. I've installed it in june, and have only the september jobs >>> in the logs... How can I configure the log history length ? >>> >>> --------------------- >>> # ls -s -h >>> total 4,9M >>> 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 >>> 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 >>> 24K access_log.2 1,2M error_log 16K page_log >>> 36K access_log.3 900K error_log.1 12K page_log.1 >>> 80K access_log.4 656K error_log.2 12K page_log.2 >>> --------------------- >> >> Your Linux distro uses logrotated to rotate the CUPS logs. You'll >> need to disable that to keep the logs around. >> > > So I've lost all the print history since june... Arrgg > I disable the logrotate in my distro conf (SME_server) or in the cups.conf ? Have you checked the page_log.* files? You should disable the logrotate. The configuration is most likely in /etc/logrotate.d/cups. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From premjo.elias at gmail.com Fri Sep 28 01:28:23 2007 From: premjo.elias at gmail.com (Premjo) Date: Fri, 28 Sep 2007 01:28:23 -0700 Subject: regarding cups Message-ID: <30730-cups.general@news.easysw.com> Is it possible to create my own CUPS command file which works with my printer?, i have my printer hex codes. is it possible to execute this before the print job (means ink levels, ink types, etc...)?. if possible how do i can initiate this command exceution without th print job? thank you, premjo > > --=-7pC0KCDggPx7aOcs5G/t > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > > Premjo wrote: > > > Hi, > > > Is it possible to send instant commands to the printer and receive t= > he reply by using the cupsBackChannelRead() and the results can be shown on= > the web (http://localhost:631) or on the right click property of the print= > ers ?, please help me on this. > >=20 > > No, only drivers (which are run only when you send a print job) can > > communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. > > Tim. > */ > > > --=-7pC0KCDggPx7aOcs5G/t > Content-Type: application/pgp-signature; name=signature.asc > Content-Description: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQBG/Co/aSWRox63mSMRAoC+AKCMTi0lP7t3cjLb7LqS7xceXpM4+QCfayko > jU6XfBbt+fyoADWZZvDXR3c= > =QU5O > -----END PGP SIGNATURE----- > > --=-7pC0KCDggPx7aOcs5G/t-- > From premjo.elias at gmail.com Fri Sep 28 01:33:18 2007 From: premjo.elias at gmail.com (Premjo) Date: Fri, 28 Sep 2007 01:33:18 -0700 Subject: regarding cups Message-ID: <30731-cups.general@news.easysw.com> The comming version 1.4 will support this? premjo > Tim Waugh wrote: > > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > >> Premjo wrote: > >>> Hi, > >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. > >> No, only drivers (which are run only when you send a print job) can > >> communicate with devices. > > > > It's the kind of thing I'd like to be able to do as well, particularly > > for checking ink levels. > > > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > > addressed, this would in fact be possible from the web interface. The > > results could be found from the marker-state attributes. > > One of the things I mentioned at this year's printing summit is that > we are planning on implementing so-called "persistent backends" which > will allow for live monitoring. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Document Software http://www.easysw.com From h.blischke at srz.de Fri Sep 28 05:10:09 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 28 Sep 2007 05:10:09 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30719-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> Message-ID: <30732-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: > >>Thanks for working on this, Kurt. I've learned a lot in the process >>and that never hurts. I'm disappointed that I can't reach my ultimate >>goal, but I can do it easily with acrobat reader on windows (a couple >>of clicks and it's rotated and scaled perfectly). I just trying NOT >>to use windows for stuff like this. > > > > Hey, I now notice you didn't even pay attention and respond to my > comments about specifying "landscape" as an option. > > Or did you? > > And did you receive the files I mailed to you?!? > > And did you run the commandline exactly as I showed you, with the > PPD as an env variable? (and you verified the PPD has the full de- > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > It may after all be the case that even your distro's wrapper script > works correctly if used in the right way...) > > >>On 9/27/07, Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>>>here's the file I'm trying to print. >>> >>>I found it already in the meanwhile :-) >>> >>>And I mailed you *my* results, which look perfect for "fitplot to >>>Letter". >>> >>> >>> >>>>I want to print it landscape, >>> >>>No, you don't want to. Honest. :-) >>> >>>In 99.99% of cases, it will do the wrong thing when applied to PDF >>>file printing. I don't believe your case is amongst the 0.01% :-) >>> >>> >>> >>>>scaled down to fit my page size. If you can do it for A4 or A3, I >>>>should be able to do it for legal >>> >>>OK, I'll repeat the test for legal, and let you know the result. >>> >>> >>> >>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>>> >>>>On 9/27/07, Gerald Britton wrote: >>>> >>>>>After some more experimenting, I used the following command: >>>>> >>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>> >>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>>> >>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>> >>>>>This got me closer to my goal. The printout was landscape orientation >>>>>(I know, doesn't make sense!) but the scaling was for portrait >>>>>orientation and thus too small! >>>>> >>>>>On 9/27/07, Gerald Britton wrote: >>>>> >>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>>>pasted my results. Helge helped me with the other operands as well. >>>>>>I ran the commands and sent the output directly (not to the list, >>>>>>since it is too big). >>>>>> >>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but >>>>>>didn't obey the printer directive to fit to the nearest size and >>>>>>scale. > > > Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) itself. If I feed the PS files I got from Gerald (both the pdftops output as well as the pstops output) to one of our HP printers, without further manipulation (I used plain old ftp to submit the data), all printers I tested shrinked the huge page to the largest available media, properly scaled and rotated. Gerald, perhaps you could once more feed the pdftops output through the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot to mention it), just to be sure. Helge PS: When I need to modify the "alternate pstops filter" next time, I'll implement the fitplot option for PS printers that do *not* correctly follow the PS specification regarding the page size policies. -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Fri Sep 28 06:23:28 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Fri, 28 Sep 2007 06:23:28 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30732-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> Message-ID: <30733-cups.general@news.easysw.com> Amazing! I did not know you could simply ftp a file to the printer. I just did the same thing with the same files I sent to you and they printed correctly! Now if I could just issue an lp command and achieve the same result.... I ran the command: lp -d ps0198 /tmp/pstops.out and it printed INcorrectly (scaled 100% (not fitted), wrong paper type (not nearest size)). Also I had to manually tell the printer to use letter stock! same thing with: lp -d ps0198 /tmp/pdftops.out Kurt suggested that my pdftops binary was broken by the debian team. I was quite prepared to believe that (not the first time) and was about to compile my own cups from the sources when your latest email arrived. So, tell me if I'm correct about things so far: 1. If I use pdftops piped to pstops then ftp the file to the printer, it works 2. The pdftops binary must be basically OK in my disto 3. Same thing for my pstops filter 4. Something strange happens when I let cups send the file to the printer from an lp command, whether from the original pdf or from the result of the pdftops or pstops commands At this point, where do you think the problem lies? In the pdftops filter? In the pstops filter? Somewhere else? Anything else I can do to help get to the bottom of the problem? On 9/28/07, Helge Blischke wrote: > Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > >>Thanks for working on this, Kurt. I've learned a lot in the process > >>and that never hurts. I'm disappointed that I can't reach my ultimate > >>goal, but I can do it easily with acrobat reader on windows (a couple > >>of clicks and it's rotated and scaled perfectly). I just trying NOT > >>to use windows for stuff like this. > > > > > > > > Hey, I now notice you didn't even pay attention and respond to my > > comments about specifying "landscape" as an option. > > > > Or did you? > > > > And did you receive the files I mailed to you?!? > > > > And did you run the commandline exactly as I showed you, with the > > PPD as an env variable? (and you verified the PPD has the full de- > > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > > It may after all be the case that even your distro's wrapper script > > works correctly if used in the right way...) > > > > > >>On 9/27/07, Kurt Pfeifle wrote: > >> > >>>Gerald Britton wrote: > >>> > >>>>here's the file I'm trying to print. > >>> > >>>I found it already in the meanwhile :-) > >>> > >>>And I mailed you *my* results, which look perfect for "fitplot to > >>>Letter". > >>> > >>> > >>> > >>>>I want to print it landscape, > >>> > >>>No, you don't want to. Honest. :-) > >>> > >>>In 99.99% of cases, it will do the wrong thing when applied to PDF > >>>file printing. I don't believe your case is amongst the 0.01% :-) > >>> > >>> > >>> > >>>>scaled down to fit my page size. If you can do it for A4 or A3, I > >>>>should be able to do it for legal > >>> > >>>OK, I'll repeat the test for legal, and let you know the result. > >>> > >>> > >>> > >>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>>> > >>>>On 9/27/07, Gerald Britton wrote: > >>>> > >>>>>After some more experimenting, I used the following command: > >>>>> > >>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>>> > >>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: > >>>>> > >>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>>> > >>>>>This got me closer to my goal. The printout was landscape orientation > >>>>>(I know, doesn't make sense!) but the scaling was for portrait > >>>>>orientation and thus too small! > >>>>> > >>>>>On 9/27/07, Gerald Britton wrote: > >>>>> > >>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>>>>>pasted my results. Helge helped me with the other operands as well. > >>>>>>I ran the commands and sent the output directly (not to the list, > >>>>>>since it is too big). > >>>>>> > >>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but > >>>>>>didn't obey the printer directive to fit to the nearest size and > >>>>>>scale. > > > > > > > Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) > itself. If I feed the PS files I got from Gerald (both the pdftops output as well > as the pstops output) to one of our HP printers, without further manipulation > (I used plain old ftp to submit the data), all printers I tested shrinked the > huge page to the largest available media, properly scaled and rotated. > > Gerald, perhaps you could once more feed the pdftops output through > the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot > to mention it), just to be sure. > > Helge > > PS: When I need to modify the "alternate pstops filter" next time, I'll > implement the fitplot option for PS printers that do *not* correctly > follow the PS specification regarding the page size policies. > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Fri Sep 28 06:36:06 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 28 Sep 2007 06:36:06 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30733-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> Message-ID: <30734-cups.general@news.easysw.com> Gerald Britton wrote: > Amazing! I did not know you could simply ftp a file to the printer. A *lot* of printers support this. Or use "rcp" to put files there... > I just did the same thing with the same files I sent to you and they > printed correctly! > > Now if I could just issue an lp command and achieve the same result.... > > I ran the command: > > lp -d ps0198 /tmp/pstops.out The lp command invokes your CUPS's filtering chain too, and this does in term use your somehow buggy $pdftops setup... If you used "lp -d ps0198 -o raw /tmp/pstops.out" it would send the same job as a "raw" one, bypassing all additional filtering that would otherwise be invoked. Anyway, the files I sent you, produced with the exact command I quoted, do proof that the original CUPS pdftops does work as promised. If it does not for you, your own printing system's setup must have been b0rken by someone... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Fri Sep 28 06:37:41 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 28 Sep 2007 06:37:41 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30733-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> Message-ID: <30735-cups.general@news.easysw.com> Gerald Britton wrote: > Amazing! I did not know you could simply ftp a file to the printer. > I just did the same thing with the same files I sent to you and they > printed correctly! > > Now if I could just issue an lp command and achieve the same result.... > > I ran the command: > > lp -d ps0198 /tmp/pstops.out > > and it printed INcorrectly (scaled 100% (not fitted), wrong paper type > (not nearest size)). Also I had to manually tell the printer to use > letter stock! > > same thing with: > > lp -d ps0198 /tmp/pdftops.out > > Kurt suggested that my pdftops binary was broken by the debian team. > I was quite prepared to believe that (not the first time) and was > about to compile my own cups from the sources when your latest email > arrived. > > So, tell me if I'm correct about things so far: > > 1. If I use pdftops piped to pstops then ftp the file to the printer, it works > 2. The pdftops binary must be basically OK in my disto > 3. Same thing for my pstops filter > 4. Something strange happens when I let cups send the file to the > printer from an lp command, whether from the original pdf or from the > result of the pdftops or pstops commands > > At this point, where do you think the problem lies? In the pdftops > filter? In the pstops filter? Somewhere else? > > Anything else I can do to help get to the bottom of the problem? > > On 9/28/07, Helge Blischke wrote: > >>Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>> >>>>Thanks for working on this, Kurt. I've learned a lot in the process >>>>and that never hurts. I'm disappointed that I can't reach my ultimate >>>>goal, but I can do it easily with acrobat reader on windows (a couple >>>>of clicks and it's rotated and scaled perfectly). I just trying NOT >>>>to use windows for stuff like this. >>> >>> >>> >>>Hey, I now notice you didn't even pay attention and respond to my >>>comments about specifying "landscape" as an option. >>> >>>Or did you? >>> >>>And did you receive the files I mailed to you?!? >>> >>>And did you run the commandline exactly as I showed you, with the >>>PPD as an env variable? (and you verified the PPD has the full de- >>>finitions for "Legal"? and the PPD passes the "cupstestppd" test? >>>It may after all be the case that even your distro's wrapper script >>>works correctly if used in the right way...) >>> >>> >>> >>>>On 9/27/07, Kurt Pfeifle wrote: >>>> >>>> >>>>>Gerald Britton wrote: >>>>> >>>>> >>>>>>here's the file I'm trying to print. >>>>> >>>>>I found it already in the meanwhile :-) >>>>> >>>>>And I mailed you *my* results, which look perfect for "fitplot to >>>>>Letter". >>>>> >>>>> >>>>> >>>>> >>>>>>I want to print it landscape, >>>>> >>>>>No, you don't want to. Honest. :-) >>>>> >>>>>In 99.99% of cases, it will do the wrong thing when applied to PDF >>>>>file printing. I don't believe your case is amongst the 0.01% :-) >>>>> >>>>> >>>>> >>>>> >>>>>>scaled down to fit my page size. If you can do it for A4 or A3, I >>>>>>should be able to do it for legal >>>>> >>>>>OK, I'll repeat the test for legal, and let you know the result. >>>>> >>>>> >>>>> >>>>> >>>>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>>>>> >>>>>>On 9/27/07, Gerald Britton wrote: >>>>>> >>>>>> >>>>>>>After some more experimenting, I used the following command: >>>>>>> >>>>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>>>> >>>>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>>>>> >>>>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>>>> >>>>>>>This got me closer to my goal. The printout was landscape orientation >>>>>>>(I know, doesn't make sense!) but the scaling was for portrait >>>>>>>orientation and thus too small! >>>>>>> >>>>>>>On 9/27/07, Gerald Britton wrote: >>>>>>> >>>>>>> >>>>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>>>>>pasted my results. Helge helped me with the other operands as well. >>>>>>>>I ran the commands and sent the output directly (not to the list, >>>>>>>>since it is too big). >>>>>>>> >>>>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but >>>>>>>>didn't obey the printer directive to fit to the nearest size and >>>>>>>>scale. >>> >>> >>> >>Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) >>itself. If I feed the PS files I got from Gerald (both the pdftops output as well >>as the pstops output) to one of our HP printers, without further manipulation >>(I used plain old ftp to submit the data), all printers I tested shrinked the >>huge page to the largest available media, properly scaled and rotated. >> >>Gerald, perhaps you could once more feed the pdftops output through >>the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot >>to mention it), just to be sure. >> >>Helge >> >>PS: When I need to modify the "alternate pstops filter" next time, I'll >>implement the fitplot option for PS printers that do *not* correctly >>follow the PS specification regarding the page size policies. >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Please repeat the offline pstops step after setting the PPD environment variable to the abolute path to your printer's PPD and post the result. I'd definitely like to look into that before speculating any more. And BTW, which backend do you use for your printer? (post the device_uri). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From till.kamppeter at gmail.com Fri Sep 28 06:46:44 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Fri, 28 Sep 2007 06:46:44 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers In-Reply-To: <46E8596A.7030202@gmail.com> References: <46E8596A.7030202@gmail.com> Message-ID: <30736-cups.general@news.easysw.com> I have met Mike Sweet on the Printing Summit in Montreal this week and he suggests letting the dnssd backend display the CUPS (IPP) queues of Mac OS X workstations but not of other workstations. And I think even better could be listing the queues of remote CUPS servers if they do not broadcast their queues via CUPS' native IPP method. Now I have two questions: 1. How can on determine the operating system which a remote machine is running, preferably by means of simple command line tools? 2. How can one easily determine whether a remote CUPS server is broadcasting its queues, without waiting up to 30 sec for the next broadcast? Till Till Kamppeter wrote: > Hi, > > I have written a small Perl program around the command line > "avahi-browse -k -t -v -r -a" to be run as a CUPS backend to discover > network printers. It is used the same way as the "snmp" backend. You put > it into /usr/lib/cups/backend/ and make it executable. The whenever a > printer setup tool asks CUPS to look for available printers (or if you > call "lpinfo -v") the program gets called and CUPS will list the > discovered printers. > > As it does fairly the same as "snmp" but only based on another method > you can deactivate "snmp" via > > chmod -x /usr/lib/cups/backend/snmp > > and avoid duplicate results. You can also have both running to get a > more reliable scan including old printers not supporting DNS-SD and > newer cheap printers (like the HP LaserJet 2600n) not supporting SNMP. > > The backend also reports make/model info so that printer setup tools can > auto-select PPDs/drivers. In addition, it even discovers the PDLs of the > printers, this way printer setup tools can react muchg more > intelligently on unknown printer models, assigning PPDs like "Generic > PCL-6/XL printer", and so the unknown printer "just works", too. > > If a printer has more that one access protocol, the highest priority is > on socket, after that LPD, and IPP at last. To avoid discovering the > print queues of CUPS 1.3.x servers as IPP printers every result on IPs > which also appear as a computer are discarded. > > If a printer has more than one port for TCP/Socket or more than one > internal queue for LPD or IPP, all ports/queues get listed. > > In my small network (2 comnputers, 3 network printers) there are no > visible speed differences. Please report your experience in big networks. > > Here is the tool (License: GPL) for download: > > http://www.openprinting.org/download/printing/dnssd > > Needs Perl and Avahi. > > I want to ask all of you to test this tool and compare it with the SNMP > backend, especially in big networks and with non-HP printers. > > - Is it faster? > - Is it more reliable (same results on repeated calls)? > - Does it discover more printers? > - Does it hang on certain printer models? > > Thank you in advance for every test report. > > Till > From tig at kenosha.org Fri Sep 28 09:42:59 2007 From: tig at kenosha.org (tig) Date: Fri, 28 Sep 2007 09:42:59 -0700 Subject: [cups.general] Differences between 1.1.17 on RHEL3 to 1.2.4-11.5 on RHEL5 Message-ID: <30737-cups.general@news.easysw.com> I am in the processes of upgrading the CUPS server from 1.1.17 to 1.2.4 by moving to a new Server running RHEL5. I am having a difficulties printing ASCII text file from the command line to my HP LaserJet 4000, 4050, 4100, 4350 's with all the same results. ( I am using the same ppd file on both ) @ the command line it use: lp -o "cpi=17" -d printername /tmp/tester on the 1.1.17 server it prints correctly with 17 charcters per inch ext with 132 characters on 8X11 portrait. when I print it on the new server I get 17 per inch, but it stops printing at 80 columns on the 8x11 portrait?? Suggestions where I needs to start looking? -------------- next part -------------- An HTML attachment was scrubbed... URL: From twaugh at redhat.com Fri Sep 28 10:02:35 2007 From: twaugh at redhat.com (Tim Waugh) Date: Fri, 28 Sep 2007 10:02:35 -0700 Subject: [cups.general] Differences between 1.1.17 on RHEL3 to 1.2.4-11.5 on RHEL5 In-Reply-To: <1190997753.7104.41.camel@mbapp1.kenosha.org> References: <1190997753.7104.41.camel@mbapp1.kenosha.org> Message-ID: <30738-cups.general@news.easysw.com> On Fri, 2007-09-28 at 11:42 -0500, tig wrote: > Suggestions where I needs to start looking? I think it is a problem with the 'paps' package used in Red Hat Enterprise Linux for text printing. You can edit /etc/cups/mime.convs and change all occurrences of "texttopaps" to "texttops". This has been reported in Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=237202 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 mike at easysw.com Fri Sep 28 13:51:52 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 13:51:52 -0700 Subject: Common UNIX Printing System 1.3.2 Message-ID: <137-cups.announce@news.easysw.com> CUPS 1.3.3 is now available for download from the CUPS web site and fixes some scheduler and localization issues. Changes include: * The scheduler did not use the attributes-natural-language attribute when passing the LANG environment variable to cups-deviced or cups-driverd. * The scheduler did not use the printer-op-policy when modifying classes or printers (STR #2525) * The auth-info-required attribute was not always updated for remote queues that required authentication. * The German web interface localization contained errors (STR #2523) * The Swedish localization contained errors (STR #2522) Enjoy! From msweet at apple.com Fri Sep 28 14:16:37 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 28 Sep 2007 14:16:37 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers In-Reply-To: <46FD05B1.4080401@gmail.com> References: <46E8596A.7030202@gmail.com> <46FD05B1.4080401@gmail.com> Message-ID: <30739-cups.general@news.easysw.com> Till Kamppeter wrote: > I have met Mike Sweet on the Printing Summit in Montreal this week and > he suggests letting the dnssd backend display the CUPS (IPP) queues of > Mac OS X workstations but not of other workstations. And I think even > better could be listing the queues of remote CUPS servers if they do not > broadcast their queues via CUPS' native IPP method. > > Now I have two questions: > > 1. How can on determine the operating system which a remote machine is > running, preferably by means of simple command line tools? There is no way to determine the OS, specifically, but any CUPS registrations will have an "rp" key with a value of "printers/foo" or "classes/foo". Only _ipp service registrations can be CUPS printers. > 2. How can one easily determine whether a remote CUPS server is > broadcasting its queues, without waiting up to 30 sec for the next > broadcast? The local cupsd will know about any printers accessible via the CUPS browse protocol, so just so a CUPS_GET_PRINTERS request with the printer-type attribute set to "CUPS_PRINTER_DISCOVERED" and printer-type-mask attribute set to "CUPS_PRINTER_DISCOVERED | CUPS_PRINTER_IMPLICIT". Use the device-uri attribute value, and compare the resolved IP address from the device-uri to the one you get from the mDNS lookup, along with the printers/foo or classes/foo parts... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mike at easysw.com Fri Sep 28 21:07:38 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 21:07:38 -0700 Subject: CUPS Driver Development Kit 1.2.1 Message-ID: <138-cups.announce@news.easysw.com> CUPS DDK 1.2.1 is now available for download from the CUPS web site and fixes a number of issues in the PPD compiler. Changes include: * "#include foo" was (incorrectly) treated like "{ #include foo }" (STR #2514) * Color profiles and other localizable attributes were not localized in generated PPD files (STR #2507) * Page sizes were not properly localized in multi-language PPD files (STR #2524) * "#include " did not work (STR #2506) * The ppdpo utility did not include localizable attributes (STR #2479) * The ppdc utility did not add a newline at the end of boolean and keyword attributes (STR #2481) * The ppdc utility incorrectly wrote Product attributes twice. Enjoy! From c.rauzy at bluewin.ch Sat Sep 29 03:26:38 2007 From: c.rauzy at bluewin.ch (cedrick rauzy) Date: Sat, 29 Sep 2007 03:26:38 -0700 Subject: PostScript Level2 Message-ID: <30740-cups.general@news.easysw.com> Hi, I have an application which generate postscript file which can be retreived by a Windows queue to be link to an external system. The system is working with the old lpd protocol (under silicon). I'm trying to configure it to work with RedHat where cups is installed. If I catch the temporary file and printing it via lp command it's working. If I let cups take the file, my temporary ps file is converted in postscript level 3 and my application under windows reject the file because it's working only with PostScript level 2. How can I configure cups to generate PostScript level 2? I think that it's a combination of mime.convs and of the setting of the printer but didn't find up to now which is the good one. Thanks From gerald.britton at gmail.com Sat Sep 29 05:27:04 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Sat, 29 Sep 2007 05:27:04 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709280846o3577b53fmf371a67486534ba1@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> <30735-cups.general@news.easysw.com> <5d1a32000709280653i1b8d9468n52976ce355218295@mail.gmail.com> <5d1a32000709280655t4af2b7a7wd880948e38be3684@mail.gmail.com> <46FD18F8.8090400@srz.de> <5d1a32000709280846o3577b53fmf371a67486534ba1@mail.gmail.com> Message-ID: <30741-cups.general@news.easysw.com> I don't know if this helps, but: Today, I tried the same document at home on my PhotoSmart printer (c4180). The fitplot option almost works. It scales correctly but prints the file portrait so it gets cut off. Adding -o landscape got the orientation right, but cut off the left hand part of the document. The actual size printed is 8 1/2 in long, not 11 in as it should be. So it scaled it for landscape printing, printed it landscape, but sized the output for portrait! Weird. On 9/28/07, Gerald Britton wrote: > OK -- so here's what I did: > > sed 's/\/DeferredMediaSelection true > \/PageSize/\/DeferredMediaSelection false \/PageSize/' > /etc/cups/ppd/ps0198.ppd |> /etc/cups/ppd/ps0198new.ppd > > (I've attached the modified ppd) > > $export PPD=/etc/cups/ppd/ps0198new.ppd > $echo $PPD > /etc/cups/ppd/ps0198new.ppd > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true > PageSize=Letter" my.pdf > /tmp/pdftops.out > > /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true > PageSize=Letter" /tmp/pdftops.out >/tmp/pstops.out > > DEBUG: slow_collate=0, slow_duplex=0, slow_order=0 > DEBUG: Before copy_comments - %!PS-Adobe-3.0 > DEBUG: %!PS-Adobe-3.0 > DEBUG: %%Creator: xpdf/pdftops 3.00 > DEBUG: %%LanguageLevel: 2 > DEBUG: %%DocumentSuppliedResources: (atend) > DEBUG: %%DocumentMedia: plain 2066 717 0 () () > DEBUG: %%BoundingBox: 0 0 2066 717 > DEBUG: %%Pages: 1 > DEBUG: %%EndComments > DEBUG: Before copy_prolog - %%BeginDefaults > DEBUG: Before copy_setup - %%BeginSetup > DEBUG: Before page loop - %%Page: 1 1 > DEBUG: Copying page 1... > PAGE: 1 1 > DEBUG: pagew = 576.0, pagel = 720.0 > DEBUG: bboxw = 2066, bboxl = 717 > DEBUG: PageLeft = 18.0, PageRight = 594.0 > DEBUG: PageTop = 756.0, PageBottom = 36.0 > DEBUG: PageWidth = 612.0, PageLength = 792.0 > DEBUG: Wrote 1 pages... > > NOTE: the pagew, etc. are different from the last run, which was: > > DEBUG: pagew = 587.9, pagel = 767.9 > DEBUG: bboxw = 2066, bboxl = 717 > DEBUG: PageLeft = 12.0, PageRight = 599.9 > DEBUG: PageTop = 780.0, PageBottom = 12.1 > DEBUG: PageWidth = 612.0, PageLength = 792.0 > > then I ran: > > lp -d ps0198 -o raw /tmp/pdftops.out > > lp -d ps0198 -o raw /tmp/pstops.out > > The first file prints correctly. The second one is now scaled tiny > (about 10%) but printed without prompting. > > On 9/28/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > OK -- check this out. Here's what I did and what I got on the > > > console. > > > > > > jerryb1 at ubuntu:~$ echo $PPD > > > /etc/cups/ppd/ps0198.ppd > > > jerryb1 at ubuntu:~$ erho $CUPS_SERVERROOT > > > -bash: erho: command not found > > > jerryb1 at ubuntu:~$ > > > jerryb1 at ubuntu:~$ > > > jerryb1 at ubuntu:~$ echo $PPD > > > /etc/cups/ppd/ps0198.ppd > > > jerryb1 at ubuntu:~$ echo $CUPS_SERVERROOT > > > /etc/cups > > > jerryb1 at ubuntu:~$ /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" > > > "fitplot=true PageSize=Letter" > > > /home/shared/gramps/media/CanadaCensus1851/CAN1851Census-Hamilton-ON-Pg303a.pdf > > > > > >>/tmp/pdftops.out > > > > > > ERROR: pdftops-options: -cfg /etc/cups/pdftops.conf > > > jerryb1 at ubuntu:~$ /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" > > > "1" "fitplot=true PageSize=Letter" /tmp/pdftops.out >/tmp/pstops.out > > > DEBUG: Page = 612x792; 12,12 to 600,780 > > > DEBUG: slow_collate=0, slow_duplex=0, slow_order=0 > > > DEBUG: Before copy_comments - %!PS-Adobe-3.0 > > > DEBUG: %!PS-Adobe-3.0 > > > DEBUG: %%Creator: xpdf/pdftops 3.00 > > > DEBUG: %%LanguageLevel: 2 > > > DEBUG: %%DocumentSuppliedResources: (atend) > > > DEBUG: %%DocumentMedia: plain 2066 717 0 () () > > > DEBUG: %%BoundingBox: 0 0 2066 717 > > > DEBUG: %%Pages: 1 > > > DEBUG: %%EndComments > > > DEBUG: Before copy_prolog - %%BeginDefaults > > > DEBUG: Before copy_setup - %%BeginSetup > > > DEBUG: Before page loop - %%Page: 1 1 > > > DEBUG: Copying page 1... > > > PAGE: 1 1 > > > DEBUG: pagew = 587.9, pagel = 767.9 > > > DEBUG: bboxw = 2066, bboxl = 717 > > > DEBUG: PageLeft = 12.0, PageRight = 599.9 > > > DEBUG: PageTop = 780.0, PageBottom = 12.1 > > > DEBUG: PageWidth = 612.0, PageLength = 792.0 > > > DEBUG: Wrote 1 pages... > > > > > > After this I printed the resulting files using the command: > > > > > > lp -d ps0198 -o raw > > > > > > The pdftops.out file printed correctly, the pstops.out file did not > > > (letter, not legal, and not scaled to fit the paper) > > > > > > I attached the pdftops, pstops and ppd files. > > > > > > printers.conf is: > > > > > > > > > > > > Info hp 9040 postscript > > > Location corner > > > DeviceURI socket://10.18.16.253 > > > State Idle > > > StateTime 1190835823 > > > Accepting Yes > > > Shared Yes > > > JobSheets none none > > > QuotaPeriod 0 > > > PageLimit 0 > > > KLimit 0 > > > OpPolicy default > > > ErrorPolicy retry-job > > > > > > > > On 9/28/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>Amazing! I did not know you could simply ftp a file to the printer. > > >>>I just did the same thing with the same files I sent to you and they > > >>>printed correctly! > > >>> > > >>>Now if I could just issue an lp command and achieve the same result.... > > >>> > > >>>I ran the command: > > >>> > > >>>lp -d ps0198 /tmp/pstops.out > > >>> > > >>>and it printed INcorrectly (scaled 100% (not fitted), wrong paper type > > >>>(not nearest size)). Also I had to manually tell the printer to use > > >>>letter stock! > > >>> > > >>>same thing with: > > >>> > > >>>lp -d ps0198 /tmp/pdftops.out > > >>> > > >>>Kurt suggested that my pdftops binary was broken by the debian team. > > >>>I was quite prepared to believe that (not the first time) and was > > >>>about to compile my own cups from the sources when your latest email > > >>>arrived. > > >>> > > >>>So, tell me if I'm correct about things so far: > > >>> > > >>>1. If I use pdftops piped to pstops then ftp the file to the printer, it works > > >>>2. The pdftops binary must be basically OK in my disto > > >>>3. Same thing for my pstops filter > > >>>4. Something strange happens when I let cups send the file to the > > >>>printer from an lp command, whether from the original pdf or from the > > >>>result of the pdftops or pstops commands > > >>> > > >>>At this point, where do you think the problem lies? In the pdftops > > >>>filter? In the pstops filter? Somewhere else? > > >>> > > >>>Anything else I can do to help get to the bottom of the problem? > > >>> > > >>>On 9/28/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Kurt Pfeifle wrote: > > >>>> > > >>>> > > >>>>>Gerald Britton wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Thanks for working on this, Kurt. I've learned a lot in the process > > >>>>>>and that never hurts. I'm disappointed that I can't reach my ultimate > > >>>>>>goal, but I can do it easily with acrobat reader on windows (a couple > > >>>>>>of clicks and it's rotated and scaled perfectly). I just trying NOT > > >>>>>>to use windows for stuff like this. > > >>>>> > > >>>>> > > >>>>> > > >>>>>Hey, I now notice you didn't even pay attention and respond to my > > >>>>>comments about specifying "landscape" as an option. > > >>>>> > > >>>>>Or did you? > > >>>>> > > >>>>>And did you receive the files I mailed to you?!? > > >>>>> > > >>>>>And did you run the commandline exactly as I showed you, with the > > >>>>>PPD as an env variable? (and you verified the PPD has the full de- > > >>>>>finitions for "Legal"? and the PPD passes the "cupstestppd" test? > > >>>>>It may after all be the case that even your distro's wrapper script > > >>>>>works correctly if used in the right way...) > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>On 9/27/07, Kurt Pfeifle wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>>Gerald Britton wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>here's the file I'm trying to print. > > >>>>>>> > > >>>>>>>I found it already in the meanwhile :-) > > >>>>>>> > > >>>>>>>And I mailed you *my* results, which look perfect for "fitplot to > > >>>>>>>Letter". > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>I want to print it landscape, > > >>>>>>> > > >>>>>>>No, you don't want to. Honest. :-) > > >>>>>>> > > >>>>>>>In 99.99% of cases, it will do the wrong thing when applied to PDF > > >>>>>>>file printing. I don't believe your case is amongst the 0.01% :-) > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>scaled down to fit my page size. If you can do it for A4 or A3, I > > >>>>>>>>should be able to do it for legal > > >>>>>>> > > >>>>>>>OK, I'll repeat the test for legal, and let you know the result. > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > >>>>>>>> > > >>>>>>>>On 9/27/07, Gerald Britton wrote: > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>>>After some more experimenting, I used the following command: > > >>>>>>>>> > > >>>>>>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > >>>>>>>>> > > >>>>>>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: > > >>>>>>>>> > > >>>>>>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > >>>>>>>>> > > >>>>>>>>>This got me closer to my goal. The printout was landscape orientation > > >>>>>>>>>(I know, doesn't make sense!) but the scaling was for portrait > > >>>>>>>>>orientation and thus too small! > > >>>>>>>>> > > >>>>>>>>>On 9/27/07, Gerald Britton wrote: > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > > >>>>>>>>>>pasted my results. Helge helped me with the other operands as well. > > >>>>>>>>>>I ran the commands and sent the output directly (not to the list, > > >>>>>>>>>>since it is too big). > > >>>>>>>>>> > > >>>>>>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but > > >>>>>>>>>>didn't obey the printer directive to fit to the nearest size and > > >>>>>>>>>>scale. > > >>>>> > > >>>>> > > >>>>> > > >>>>Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) > > >>>>itself. If I feed the PS files I got from Gerald (both the pdftops output as well > > >>>>as the pstops output) to one of our HP printers, without further manipulation > > >>>>(I used plain old ftp to submit the data), all printers I tested shrinked the > > >>>>huge page to the largest available media, properly scaled and rotated. > > >>>> > > >>>>Gerald, perhaps you could once more feed the pdftops output through > > >>>>the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot > > >>>>to mention it), just to be sure. > > >>>> > > >>>>Helge > > >>>> > > >>>>PS: When I need to modify the "alternate pstops filter" next time, I'll > > >>>>implement the fitplot option for PS printers that do *not* correctly > > >>>>follow the PS specification regarding the page size policies. > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>Please repeat the offline pstops step after setting the PPD > > >>environment variable to the abolute path to your printer's PPD > > >>and post the result. I'd definitely like to look into that > > >>before speculating any more. > > >>And BTW, which backend do you use for your printer? > > >>(post the device_uri). > > >> > > >>Helge > > >> > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > Well, found the culprit! The PPD is bogus: > > All the PageSize (or page region or imageable area) statements set > > /DeferredMediaSelection true > > in the setpagedevice dictionary. This cancels the PS interprter's > > internal firplot feature which requires > > /DeferredMediaSelection false . > > This, BTW, causes the printer to complain about the page size. > > > > If you edit the PPD and delete all the "/DeferredMediaSelection true" > > from *all* PageSize and PageRegion statements, it should work OK. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > > > > > > From msweet at apple.com Sat Sep 29 07:54:41 2007 From: msweet at apple.com (Michael R Sweet) Date: Sat, 29 Sep 2007 07:54:41 -0700 Subject: [cups.general] PostScript Level2 In-Reply-To: <30740-cups.general@news.easysw.com> References: <30740-cups.general@news.easysw.com> Message-ID: <30742-cups.general@news.easysw.com> cedrick rauzy wrote: > ... > If I catch the temporary file and printing it via lp command it's > working. If I let cups take the file, my temporary ps file is > converted in postscript level 3 and my application under windows > reject the file because it's working only with PostScript level 2. > How can I configure cups to generate PostScript level 2? > ... CUPS does not convert PostScript files to Level 3, however it *does* add DSC comments to the PS file (the "%!PS-Adobe-3.0" part), which I suspect you are thinking means the file has been changed to Level 3. (which it doesn't - the 3.0 refers to the Document Structuring Conventions spec version, not the PostScript language level...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From roa at libero.it Sat Sep 29 08:47:37 2007 From: roa at libero.it (Paolo Roascio) Date: Sat, 29 Sep 2007 08:47:37 -0700 Subject: how to disable any password Message-ID: <30743-cups.general@news.easysw.com> > Since you do not name the distro nor the CUPS version, and since you did > edit your cupsd.conf file already, we do not know the actual settings > used by your print system and we can not advice you (yet). > > Please post the content of your cupsd.conf (but sans the comments, please!) > -- run this command to get it: > > grep -Ev "^$|^#" /etc/cups/cupsd.conf > Hello Kurt, thanks for your reply :) Well, i have the same problem on my home PC as well as my office PC, in the first one runs a linuxfromscratch system, on the latter a slackware 12. Both PC have the same cups.conf: LogLevel info User lp Group lp Port 631 Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None AuthType None Order Deny,Allow Deny From All Allow From 127.0.0.1 in both PC i have the same issue. Well, in my work PC it was only a test, password for increase security is welcome, but at home, my printer needs to be stopped and started each time it ends paper (is broken, i now...), then password requirement is a bit awful. P.S. in my cupsd.conf you can see that my cups runs as user lp in lp group. My user is in that group too, but this isn't enough to get rid of password. P.P.S. my cups version is 1.2.7 From premjo.elias at gmail.com Sat Sep 29 23:18:21 2007 From: premjo.elias at gmail.com (Premjo) Date: Sat, 29 Sep 2007 23:18:21 -0700 Subject: Initiate Command to printer throgh backend w/o print job Message-ID: <30744-cups.general@news.easysw.com> Hi, Do i can write my own commandto filter and add it on the PPD file. when i do a click of button on the web interface the printer specific command will directly go to the backend and get execute on the printer? Is that reply can be displayed on the web?,if yes where do i have to write interface? if no, is this reply can be captured on any port monitoing system? might be i am asking a wrong question, please pardon me. premjo From k1pfeifle at gmx.net Sun Sep 30 13:26:43 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 30 Sep 2007 13:26:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30705-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <30705-cups.general@news.easysw.com> Message-ID: <30745-cups.general@news.easysw.com> Gerald Britton wrote: > I've tried both the old pdftops (that came with my cups distro) You are wrong here. What CUPS ships and shipped in the past was *never* a Perl script. When you have a Perl script, it is because your distro has changed what CUPS itself provides. When your "old pdftops" also is a Perl script, it is only because that change was made earlier than the date your old pdftops file carries. As I proofed to you by doing the manual conversion using the origi- nal CUPS pdftops filter, this bug does not appear here. So you need to complain to your distro (or the Perl script develo- per) about that bug. Not to CUPS. > and > the new one that Helge pointed me to. Both are perl scripts as it > turns out. My CUPS-provided pdftops binary filter works perfectly for this use case. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Sun Sep 30 13:40:11 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Sun, 30 Sep 2007 13:40:11 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30745-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <30705-cups.general@news.easysw.com> <30745-cups.general@news.easysw.com> Message-ID: <30746-cups.general@news.easysw.com> Thanks Kurt, I think you may be on to something On 9/30/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > I've tried both the old pdftops (that came with my cups distro) > > You are wrong here. > > What CUPS ships and shipped in the past was *never* a Perl script. > When you have a Perl script, it is because your distro has changed > what CUPS itself provides. When your "old pdftops" also is a Perl > script, it is only because that change was made earlier than the > date your old pdftops file carries. > > As I proofed to you by doing the manual conversion using the origi- > nal CUPS pdftops filter, this bug does not appear here. > > So you need to complain to your distro (or the Perl script develo- > per) about that bug. Not to CUPS. > > > and > > the new one that Helge pointed me to. Both are perl scripts as it > > turns out. > > My CUPS-provided pdftops binary filter works perfectly for this use > case. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From richard_mclaren at hotmail.com Sun Sep 30 14:13:02 2007 From: richard_mclaren at hotmail.com (Richard McLaren) Date: Sun, 30 Sep 2007 14:13:02 -0700 Subject: cupsdAuthorize: No authentication data provided Message-ID: <30747-cups.general@news.easysw.com> I am running CUPS on an Unslung NSLU2. The installation looks good. I have checked the .ppd file. I can access the Administration page and there are no errors until I start printing. When I try to print, I get the message "cupsdAuthorize: No authentication data provided" repeated many times in the error log until I cancel the print job. What authentication data is CUPS looking for that will allow printing to proceed? From pvanguardia at gmail.com Sun Sep 30 23:22:44 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Sun, 30 Sep 2007 23:22:44 -0700 Subject: Cups Watermarks on PDF Files Message-ID: <30748-cups.general@news.easysw.com> Hi, I'm having a little issue when printing PDF files with watermarks. I've successfully print files with watermarks such as .docs .txt .xls and other except PDF files using Adobe Standard, However when using Adobe Reader i can print without any problem. Any idea? Thanks, Patrick From lists.cups-general at duinheks.xs4all.nl Sat Sep 1 02:32:34 2007 From: lists.cups-general at duinheks.xs4all.nl (lists.cups-general at duinheks.xs4all.nl) Date: Sat, 01 Sep 2007 02:32:34 -0700 Subject: [cups.general] Not printing .jpg full scale properly Message-ID: <30405-cups.general@news.easysw.com> Hallo, I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. For my HP PhotoSmart 7350 I'm using HP-PhotoSmart_7350_hpijs.ppd with in lpoptions: Dest PhotoA4 scaling=100 position=top-right media=A4,1200PhotoCMYKFullBleed When I print a .jpg to PhotoA4, the size is correct, but I get two pages each with half of the image, split lengthwise. I have totally removed hplip and cups, rebuilt and configured then again, but that didn't help. Could somebody please think with me and help me to fix it? Groeten, Hans. jdh punt beekhuizen bij duinheks punt xs4all punt nl --- GoldED+/LNX 1.1.5/070624 * Origin: The Wizard is using MBSE/Linux (2:280/1018) From mike at easysw.com Sat Sep 1 11:01:40 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 01 Sep 2007 11:01:40 -0700 Subject: [cups.general] Not printing .jpg full scale properly In-Reply-To: <30405-cups.general@news.easysw.com> References: <30405-cups.general@news.easysw.com> Message-ID: <30406-cups.general@news.easysw.com> lists.cups-general at duinheks.xs4all.nl wrote: > Hallo, > > I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. > For my HP PhotoSmart 7350 I'm using HP-PhotoSmart_7350_hpijs.ppd > with in lpoptions: Dest PhotoA4 scaling=100 position=top-right > media=A4,1200PhotoCMYKFullBleed > > When I print a .jpg to PhotoA4, the size is correct, but I get > two pages each with half of the image, split lengthwise. > > I have totally removed hplip and cups, rebuilt and configured > then again, but that didn't help. > > Could somebody please think with me and help me to fix it? Using either the ppi or scaling options to control the size of the image. By default the image filter uses the resolution in the JPEG file to compute the physical image size, which then gets mapped to however many pages are needed. Fit to page: lp -o scaling=100 filename Scale using resolution: lp -o ppi=300 filename -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From antaras at earthlink.net Sat Sep 1 18:59:00 2007 From: antaras at earthlink.net (antara scales) Date: Sat, 01 Sep 2007 18:59:00 -0700 Subject: How to start CUPS at bootup Message-ID: <30407-cups.general@news.easysw.com> After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. thanks, Antara From lists.cups-general at duinheks.xs4all.nl Sun Sep 2 06:03:51 2007 From: lists.cups-general at duinheks.xs4all.nl (lists.cups-general at duinheks.xs4all.nl) Date: Sun, 02 Sep 2007 06:03:51 -0700 Subject: [cups.general] Not printing .jpg full scale properly Message-ID: <30408-cups.general@news.easysw.com> Hallo Michael, Op zaterdag 01 september 2007 schreef Michael Sweet aan cups at easysw.com: >> I'm running cups 1.2.12, hplip 1.7.4a, esp ghostscript 8.15.4. >> For my HP PhotoSmart 7350 I'm using >> HP-PhotoSmart_7350_hpijs.ppd with in lpoptions: Dest PhotoA4 >> scaling=100 position=top-right media=A4,1200PhotoCMYKFullBleed >> When I print a .jpg to PhotoA4, the size is correct, but I get MS> Fit to page: MS> lp -o scaling=100 filename Yes, I put that into /etc/cups/lpoptions. BUT, the size is correct, the image is split: using a horizontal image, the top half of the image is in the top half of one page, the bottom half in the top half of the second page. I installed cups and hplip also on another system with the same printer, there it's working correctly. It's driving me mad! Groeten, Hans. jdh punt beekhuizen bij duinheks punt xs4all punt nl --- GoldED+/LNX 1.1.5/070624 * Origin: The Wizard is using MBSE/Linux (2:280/1018) From msweet at apple.com Sun Sep 2 08:56:44 2007 From: msweet at apple.com (Michael R Sweet) Date: Sun, 02 Sep 2007 08:56:44 -0700 Subject: [cups.general] How to start CUPS at bootup In-Reply-To: <30407-cups.general@news.easysw.com> References: <30407-cups.general@news.easysw.com> Message-ID: <30409-cups.general@news.easysw.com> antara scales wrote: > After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. > Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. Normally cupsd is run on demand in 10.4.x by launchd - if the following doesn't do the trick in the Terminal window: sudo launchctl load -w /System/Library/LaunchDaemons/org.cups.cupsd.plist then go into the System Preferences, choose Sharing, and check the Printer Sharing button. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From gordey at stdio.com Sun Sep 2 14:51:52 2007 From: gordey at stdio.com (Randy Gordey) Date: Sun, 02 Sep 2007 14:51:52 -0700 Subject: [cups.general] Basic printing help Message-ID: <30410-cups.general@news.easysw.com> Hello all, I can plug in either of two usb HP deskjets to my fedora box. (Fedora 7.0) I am using cups-1.2.12-4.fc7 [root at fedora ~]# lsusb Bus 001 Device 002: ID 03f0:1004 Hewlett-Packard DeskJet 970c/970cse Bus 001 Device 001: ID 0000:0000 [root at fedora ~]# printing with the cups http "print test page" just hangs... Following is my cupsd.conf Thanks in advance for any hints or advice you choose to give... please help. cat /etc/cups/cupsd.conf|grep -v ^#|grep [:alnum:] LogLevel info SystemGroup sys root Listen /var/run/cups/cups.sock Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL DefaultAuthType Basic Order allow,deny Allow @LOCAL Encryption Required Order allow,deny Allow @LOCAL AuthType Basic Require user @SYSTEM Order allow,deny Allow @LOCAL Require user @OWNER @SYSTEM Order deny,allow AuthType Basic Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow From antaras at earthlink.net Mon Sep 3 10:02:36 2007 From: antaras at earthlink.net (antara scales) Date: Mon, 03 Sep 2007 10:02:36 -0700 Subject: How to start CUPS at bootup Message-ID: <30411-cups.general@news.easysw.com> Thanks Michael for responding. Here is what I did in terminal and it didn't work.(Print sharing was already checked. antara-scales-power-mac-g4:~ antara$ sudo launchctl load -w WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: Sorry, try again. Password: usage: launchctl load [-w] paths... antara-scales-power-mac-g4:~ antara$ /System/Library/LaunchDaemons/org.cups.cupsd.plist -bash: /System/Library/LaunchDaemons/org.cups.cupsd.plist: Permission denied antara-scales-power-mac-g4:~ antara$ I have a suspicion! When I couldn't add printers, I downloaded Printer Setup Repair and added a new conf file. Later I attempted to enter a serial # for the app and the trial copy refused to work. I know there is a conf file from them in the conf list. Would this hinder what I am trying to do? Antara > antara scales wrote: > > After installing Mac OS 10.4.10 I couldn't add printers. After much searching, I realized cups was not active, so I found a Unix code and typed it into terminal. this allowed me to add printer==but===If I reboot computer, Cups doesn't startup and I have to insert code all over again. > > Anyone know the terminal commands to get Cups to automatically start at bootup? I'm not very Unix smart, so go slow, please. > > Normally cupsd is run on demand in 10.4.x by launchd - if the > following doesn't do the trick in the Terminal window: > > sudo launchctl load -w > /System/Library/LaunchDaemons/org.cups.cupsd.plist > > then go into the System Preferences, choose Sharing, and check the > Printer Sharing button. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From zifix.nochoans at gmail.com Mon Sep 3 13:54:26 2007 From: zifix.nochoans at gmail.com (Zö Ti) Date: Mon, 03 Sep 2007 13:54:26 -0700 Subject: "404 not found" from CUPS-Server Message-ID: <30412-cups.general@news.easysw.com> Everytime I connect to localhost:631 I get a website telling me "404 not found". I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. Here the access_log of one connection attempt: localhost - - [03/Sep/2007:22:47:54 +0200] "GET / HTTP/1.1" 404 0 - - localhost - - [03/Sep/2007:22:47:54 +0200] "GET /cups.css HTTP/1.1" 404 0 - - localhost - - [03/Sep/2007:22:47:54 +0200] "GET /favicon.ico HTTP/1.1" 404 0 - - and the according error_log: D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET / HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET /cups.css HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 D [03/Sep/2007:22:47:54 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4) D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 GET /favicon.ico HTTP/1.1 D [03/Sep/2007:22:47:54 +0200] cupsdReadClient: 8 Browser asked for language "de-de.utf-8"... D [03/Sep/2007:22:47:54 +0200] cupsdAuthorize: No authentication data provided. D [03/Sep/2007:22:47:54 +0200] cupsdSendError: 8 code=404 (Not Found) D [03/Sep/2007:22:47:54 +0200] cupsdCloseClient: 8 From mike at easysw.com Mon Sep 3 17:16:28 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 03 Sep 2007 17:16:28 -0700 Subject: "404 not found" from CUPS-Server In-Reply-To: <30412-cups.general@news.easysw.com> References: <30412-cups.general@news.easysw.com> Message-ID: <30413-cups.general@news.easysw.com> Zö Ti wrote: > Everytime I connect to localhost:631 I get a website telling me "404 not found". > I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). > Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. > ... Sounds like your cupsd.conf file doesn't match your installed version of CUPS. If would be useful to know a) what operating system/Linux distribution you are using, b) what version of CUPS you are using, and c) how you installed CUPS (vendor package, compiled from sources, etc...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From walterwego at macosx.com.invalid Mon Sep 3 18:02:37 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Mon, 03 Sep 2007 18:02:37 -0700 Subject: How to start CUPS at bootup References: <30411-cups.general@news.easysw.com> Message-ID: <30414-cups.general@news.easysw.com> In article <30411-cups.general at news.easysw.com>, antara scales wrote: > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > Repair and added a new conf file. Later I attempted to enter a serial # for > the app and the trial copy refused to work. I know there is a conf file from > them in the conf list. Would this hinder what I am trying to do? > > antara scales wrote: > > > After installing Mac OS 10.4.10 I couldn't add printers. I would recommend that you go to Printer Setup Utility. Under the Printer Setup Utility menu, there is an option to Reset the Printing System. Please do so. That will place a new copy of the cupsd.conf file in place. Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions on your hard drive. Then use Printer Setup Repair to set the `hostconfig` file so that it reads CUPS=-YES-. If all that fails, I would suggest that you reapply the OS X 10.4.10 combo updater to re-update your system. The combo updater has a proven track record of causing few if any problems when updating as compared to the delta update you get from Software Update. Matt -- Matt Broughton Only relatives are absolute. From antaras at earthlink.net Mon Sep 3 20:15:43 2007 From: antaras at earthlink.net (antara scales) Date: Mon, 03 Sep 2007 20:15:43 -0700 Subject: How to start CUPS at bootup Message-ID: <30415-cups.general@news.easysw.com> Thanks Matt, but---- I had already reset several times in addition to Repairing Permissions. this never helped. Couldn't used Printer Setup Repair, because it was disables when I put in a bad serial #. I did install the combo update, as you suggested, but that doesn't do it either. Still can't ad printer unless I do this in terminal "Open a Terminal , located at Applications->Utilities>Terminal # = root access, this is to signify a command at root level, when you see "#" do not type this, just whats after it At terminal type: su enter password #cd /etc/cups There are a few files that can cause this error, frist is the cupsd.conf file, try this command next #cp cupsd.conf.default cupd.conf then type #cupsd The first will copy all default settings to the cupsd file, sometimes this will resolve the problem. Then cupsd will start the cupsd service in the background" Now I need the command to launch at startup. ???????????? Antara > In article <30411-cups.general at news.easysw.com>, > antara scales wrote: > > > > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > > Repair and added a new conf file. Later I attempted to enter a serial # for > > the app and the trial copy refused to work. I know there is a conf file from > > them in the conf list. Would this hinder what I am trying to do? > > > > antara scales wrote: > > > > After installing Mac OS 10.4.10 I couldn't add printers. > > I would recommend that you go to Printer Setup Utility. Under the > Printer Setup Utility menu, there is an option to Reset the Printing > System. Please do so. That will place a new copy of the cupsd.conf > file in place. > > Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions > on your hard drive. Then use Printer Setup Repair to set the > `hostconfig` file so that it reads CUPS=-YES-. > > If all that fails, I would suggest that you reapply the OS X 10.4.10 > combo updater to re-update your system. The combo updater has a proven > track record of causing few if any problems when updating as compared to > the delta update you get from Software Update. > > Matt > > -- > Matt Broughton > Only relatives are absolute. From boulbeba.ensi at gmail.com Tue Sep 4 02:36:15 2007 From: boulbeba.ensi at gmail.com (Boulbeba) Date: Tue, 04 Sep 2007 02:36:15 -0700 Subject: Basic Authentification Message-ID: <30416-cups.general@news.easysw.com> Hi I have configured my cupsd.conf to support basic authentification because i want to connect my laptop (windows OS) to my printer connect to another computer with Ubuntu OS. i have achieved the following steps: start -> printers -> add new printer and i have entered the following adress: http://login:password at server:631/printers/epson as a result, windows tells me that the printer does not exist !!!!!! my cupsd.conf is : AuthType Basic AuthClass User allow from 192.168.1.0/24 Help please From morger at olmero.ch Tue Sep 4 07:35:15 2007 From: morger at olmero.ch (Philipp Morger) Date: Tue, 04 Sep 2007 07:35:15 -0700 Subject: switching trays in printjob Message-ID: <30417-cups.general@news.easysw.com> Hi, I try something rather simple, I like to print from OpenOffice to my HPLJ4P, where the first page is from tray one and any other from tray two. I made all the needed settings in the document, but the switch to the second tray does not happen, though I can print the whole document to any of the two trays in whole. I tried with CUPS 1.2.7 (SuSe 10.1) and CUPS 1.3.0 (Ubuntu Gutsy) I tried several drivers (Gutenberg, hpijs and possibly others, though no PS as PS was refused by the printer with some funny abbriated message) The printer is also shared though samba, where it is accessible though "point'n'print, but Winword is also not able to change the tray within a printjob. I know of at least one other printer that this CUPS installation is serving, which suffers from the same error (HPLJ4650). any pointers are welcome :). regards Philipp From amy.tanner at netaspx.com Tue Sep 4 08:41:36 2007 From: amy.tanner at netaspx.com (Amy Tanner) Date: Tue, 04 Sep 2007 08:41:36 -0700 Subject: CUPS, AIX, and IPv6 - an FYI Message-ID: <30418-cups.general@news.easysw.com> > For those running CUPS in AIX environment, if you're not already aware, > AIX by default, uses IPv6. I'm not sure when IBM made this change but > it's effective in 5.2. > > Disabling IPv6 in AIX resolves the response time delay by eliminating > the need for the request to move too high up the DNS chain for resolution and speed up the request to the next available server should > the first DNS server is non-responsive. > > The result - > > From this: (IPv6 enabled and first DNS server down) > > # timex lpr -Pricoh ti01-1.txt > real 113.72 > user 0.57 > sys 0.02 > > > To this: (IPv6 disabled and first DNS server down) > > # timex lpr -Pricoh ti01-1.txt > real 3.67 > user 0.58 > sys 0.03 > > > The change- /etc/netsvc.conf > > from: hosts=local,bind > > to: hosts=local,bind4 > > In fact, to disable IPV6, you can put any (alpha/num)characters after > the word "bind" except for the number "6", and it will resolve to IPV4. > > No downtime or refresh of any kind is required. Immediate performance > increase. Angel - I am seeing poor performance printing under AIX as well. I tried the solution you suggested above, but the real time always remains around 30 seconds. Is there anywhere else you suggest I should look? Also, did you compile cups yourself or use a binary from somewhere? We are running 1.2.23 compiled ourselves with no options except the prefix. Thanks, Amy From k1pfeifle at gmx.net Tue Sep 4 10:40:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 04 Sep 2007 10:40:41 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30417-cups.general@news.easysw.com> References: <30417-cups.general@news.easysw.com> Message-ID: <30419-cups.general@news.easysw.com> Philipp Morger wrote: > I try something rather simple, I like to print from OpenOffice to my > HPLJ4P, where the first page is from tray one and any other from tray > two. I don't know how to achieve this from OpenOffice specifically... It's been a while that I looked at the printing options of OOo on Linux, and they may have improved their printing stuff. Or are you talking 'bout OOo on Windows? However, there is a way in CUPS to set this up for *any* application that is able to send reasonable (read: DSC-compliant) PostScript to the printing system. See further below... > I made all the needed settings in the document, but the switch to the > second tray does not happen, though I can print the whole document to > any of the two trays in whole. > > I tried with CUPS 1.2.7 (SuSe 10.1) and CUPS 1.3.0 (Ubuntu Gutsy) > I tried several drivers (Gutenberg, hpijs and possibly others, though > no PS as PS was refused by the printer with some funny abbriated > message) You know, sometimes it is helpful to post "funny abbriated (?) messages" given back by some software alongside one's posts seeking for community support for said software... :->> > The printer is also shared though samba, where it is accessible though > "point'n'print, but Winword is also not able to change the tray within > a printjob. How exactly is your procedure that you use on Windows Winword? Which ver- sion of Windword? Which is the driver you installed on the Windows print client? I know for sure that previous Winword versions did support print settings where you specified a different PaperTray/InputSlot for the first page... > I know of at least one other printer that this CUPS installation is > serving, which suffers from the same error (HPLJ4650). > > > any pointers are welcome :). Here they come... CUPS has a (somewhat undocumented) job option parameter called "AP_FIRSTPAGE_InputSlot". This will very likely be able to provide the functionality you are looking for. You can make it the default for all jobs; try this command: lpadmin -p your_printer \ -o AP_FIRSTPAGE_InputSlot-default=foobar (use "lpoptions -d your_printer -l | grep InputSlot" to find out what the real InputSlot names are for your printer -- I bet "foobar" will not be one of them ;-) .) Above lpadmin command will store the setting in your cups config file /etc/cups/printers.conf (thusly, it will become the default for all users of said printer). Whoever prints from now on using a command of lp -d your_printername \ -o InputSlot=FooBATZ \ /path/to/jobfile should have his first page/sheet be coming from slot "foobar" for *all* jobs going to that printer, while the rest of sheets will be drawn from slot "FooBATZ". Possibly, you'll also be able to use (for job-by-job variations of the settings) a commandline of lp -d yourprinter2 \ -o AP_FIRSTPAGE_InputSlot=PF17 \ -o InputSlot=PF16 \ /path/to/your/jobfile It's been quite while since I used this myself, but back then it worked. Hope this helps. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From dmehler26 at woh.rr.com Tue Sep 4 11:19:28 2007 From: dmehler26 at woh.rr.com (Dave) Date: Tue, 04 Sep 2007 11:19:28 -0700 Subject: [cups.general] cleaning a print queue References: <30412-cups.general@news.easysw.com> <30413-cups.general@news.easysw.com> Message-ID: <30420-cups.general@news.easysw.com> Hello, I've got a cups printer connected to a centos5 machine. This box is sharing it's printer via samba. Last evening a box spewed about ten or more print jobs to the queue and i need to clean out the queue. On the box itself i've done an lpq trying to see the existing jobids so i could use lprm to kill them and i aam seeing that there are no jobs for the default printer. That's the printer for the unix machine, i was hoping to see the second raw print queue where the jobs most likely are. If there's an easier way i'm all for it, when i enable the cups service the printer starts spitting out paper. Thanks. Dave. From antaras at earthlink.net Tue Sep 4 11:55:59 2007 From: antaras at earthlink.net (antara scales) Date: Tue, 04 Sep 2007 11:55:59 -0700 Subject: How to start CUPS at bootup Help! Message-ID: <30421-cups.general@news.easysw.com> Michael, the launch command you gave me didn't work. Any other commands? > Still can't ad printer unless I do this in terminal > > "Open a Terminal , located at Applications->Utilities>Terminal > # = root access, this is to signify a command at root level, when you see "#" do not type this, just whats after it > At terminal type: > su > enter password > #cd /etc/cups > > There are a few files that can cause this error, frist is the cupsd.conf file, try this command next > #cp cupsd.conf.default cupd.conf > > then type > #cupsd > > The first will copy all default settings to the cupsd file, sometimes this will resolve the problem. Then cupsd will start the cupsd service in the background" > > Now I need the command to launch at startup. > ???????????? > > Antara > > > > In article <30411-cups.general at news.easysw.com>, > > antara scales wrote: > > > > > > > I have a suspicion! When I couldn't add printers, I downloaded Printer Setup > > > Repair and added a new conf file. Later I attempted to enter a serial # for > > > the app and the trial copy refused to work. I know there is a conf file from > > > them in the conf list. Would this hinder what I am trying to do? > > > > > > antara scales wrote: > > > > > After installing Mac OS 10.4.10 I couldn't add printers. > > > > I would recommend that you go to Printer Setup Utility. Under the > > Printer Setup Utility menu, there is an option to Reset the Printing > > System. Please do so. That will place a new copy of the cupsd.conf > > file in place. > > > > Next go to Disk Utiltiy (/Applications/Utilities) and Repair Permissions > > on your hard drive. Then use Printer Setup Repair to set the > > `hostconfig` file so that it reads CUPS=-YES-. > > > > If all that fails, I would suggest that you reapply the OS X 10.4.10 > > combo updater to re-update your system. The combo updater has a proven > > track record of causing few if any problems when updating as compared to > > the delta update you get from Software Update. > > > > Matt > > > > -- > > Matt Broughton > > Only relatives are absolute. > From morger at olmero.ch Wed Sep 5 01:01:29 2007 From: morger at olmero.ch (Philipp Morger) Date: Wed, 05 Sep 2007 01:01:29 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30422-cups.general@news.easysw.com> Hallo Kurt > I don't know how to achieve this from OpenOffice specifically... It's > been a while that I looked at the printing options of OOo on Linux, > and they may have improved their printing stuff. Or are you talking > 'bout OOo on Windows? I try on linux, but I assume it's the same on Windows... > However, there is a way in CUPS to set this up for *any* application > that is able to send reasonable (read: DSC-compliant) PostScript to > the printing system. See further below... I stumbled over this some time ago, but it does not solve the issue, as users probably some time want to print a radom selected page from some slot... but thanks for pointer! > You know, sometimes it is helpful to post "funny abbriated (?) > messages" > given back by some software alongside one's posts seeking for > community > support for said software... :->> Oh, that was "W2 UNGÜLT PERS" -> Invalid personality, somehow the printer does not like the PS CUPS throws at it... > How exactly is your procedure that you use on Windows Winword? Which > version of Windword? Which is the driver you installed on the > Windows print client? /me using Winword?! - goash, that would be the day... no my fellow users do ;) It's O2K and OXP, you fire it up and define under Page Settings (or something like it) to print one page on tray 1 and then you make some kind of manual break to define that the second page appears on another tray - you are basicaly free to have a document with any number of pages and define for any page an individual tray. The drivers are those from the HOW-TO's dor setting up samba with cups, but before I go into the pit of samba and printing I though it would be nice to do it without all that stuff and try it over OO+cups. thanks & regards Philipp From k1pfeifle at gmx.net Wed Sep 5 02:41:50 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 05 Sep 2007 02:41:50 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30422-cups.general@news.easysw.com> References: <30422-cups.general@news.easysw.com> Message-ID: <30423-cups.general@news.easysw.com> Philipp Morger wrote: >> I don't know how to achieve this from OpenOffice specifically... It's >> been a while that I looked at the printing options of OOo on Linux, >> and they may have improved their printing stuff. Or are you talking >> 'bout OOo on Windows? > > I try on linux, but I assume it's the same on Windows... > >> However, there is a way in CUPS to set this up for *any* application >> that is able to send reasonable (read: DSC-compliant) PostScript to >> the printing system. See further below... > > I stumbled over this some time ago, but it does not solve the issue, as > users probably some time want to print a radom selected page from some > slot... but thanks for pointer! That's *very* rare. *If* they want a page from a different slot, it is 99% for the first page. >> You know, sometimes it is helpful to post "funny abbriated (?) >> messages" >> given back by some software alongside one's posts seeking for >> community >> support for said software... :->> > > Oh, that was "W2 UNGÜLT PERS" -> Invalid personality, somehow the printer > does not like the PS CUPS throws at it... Was this printed on a "PostScript error page" by the printer? Or where did you see this message? >> How exactly is your procedure that you use on Windows Winword? Which >> version of Windword? Which is the driver you installed on the >> Windows print client? > > /me using Winword?! - goash, that would be the day... no my fellow users > do ;) Then you wasn't clear or I wasn't awake enough. I took your inquiry as a need for Windows (and Unix) Ooo users to achieve that print output feature via CUPS. So for Windows users (who do not print via CUPS) it works, but you want it for Unix users too (via CUPS)? > It's O2K and OXP, you fire it up and define under Page Settings (or > something like it) to print one page on tray 1 and then you make some > kind of manual break to define that the second page appears on another > tray - you are basicaly free to have a document with any number of > pages and define for any page an individual tray. No, in O2K I don't know this feature. Only the one where you select "tray A for page 1" & "tray B for all the rest". Unless your users insert some specific PS or PCL or MS code into their Word pages into some hidden form fields... (which I also know about). > The drivers are those from the HOW-TO's dor setting up samba with cups, > but before I go into the pit of samba and printing I though it would be > nice to do it without all that stuff and try it over OO+cups. For general apps on Unix it *should* work like I outlined in my last post. Did you even try it with OOo? However, if it is the same as it used to be years ago, here is the OOo specific way (from memory): * In OOo choose the program/dialog/menuitem were you define your "styles and formats" * Define different page styles; Name one page style "FirstPage" (or whatever you like). * Name your other styles differently (or keep one other style named "default". When you define each page style, you can assign a specific printer tray to it (just don't use "autoselection" or "use printer settings" with it). That should do the trick. It should make OOo output PostScript code for printing that has specific tray selection code injected for each page. (And make sure your CUPS is then *not* set up to insert a *different* page code.) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From premjo.elias at gmail.com Wed Sep 5 09:16:29 2007 From: premjo.elias at gmail.com (Premjo) Date: Wed, 05 Sep 2007 09:16:29 -0700 Subject: ID CARD driver development Message-ID: <30424-cups.general@news.easysw.com> Is it possible to develop device driver for ID CARD printers by using CUPS? From msweet at apple.com Wed Sep 5 09:45:47 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 05 Sep 2007 09:45:47 -0700 Subject: [cups.general] ID CARD driver development In-Reply-To: <30424-cups.general@news.easysw.com> References: <30424-cups.general@news.easysw.com> Message-ID: <30425-cups.general@news.easysw.com> Premjo wrote: > Is it possible to develop device driver for ID CARD printers by using CUPS? Assuming that you have documentation on the printers and they support raster graphics, then yes it is possible for you to develop a driver for CUPS. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Wed Sep 5 09:47:46 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Wed, 05 Sep 2007 09:47:46 -0700 Subject: cups classes Message-ID: <30426-cups.general@news.easysw.com> hello is there a way i could show the print history in windows client when using cups classes? as i encountered it doesn't show the print history on windows client when i tried to print. I need this if i encountered such problem like reprint. Or does the cups web interface can allowed only on such user? From chouinard.dany at csob.qc.ca Wed Sep 5 10:43:43 2007 From: chouinard.dany at csob.qc.ca (Dany Chouinard) Date: Wed, 05 Sep 2007 10:43:43 -0700 Subject: [cups.general] Windows printing through samba page layout Message-ID: <30427-cups.general@news.easysw.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greeting group. I have some difficulties using the CUPS print driver for Windows 6. I push the printer driver to windows workstation (cupsaddsmb) and I'm able to print fine. The problem is when a user tries to print something that doesn't have the same page layout. For example, a word document in landscape will print in portrait and will be cut to fit in the width of the page. If the user put his document in landscape and specify landscape into the printer driver setting, it gets printed fine. One must admit that usual Windows users (teachers in this specific case) are not tolerent to that kind of manipulation and gets angry quit fast. For now I'm ok, being the only one with the key of the server room, I can lock myself in. Is there a way that the page layout of a document to be passed directly to the printer driver so it gets print correclty? Just in case, I'm using pykota. The problem exist with different printer model (laserjet 4050, 2100, optra S1255, optra 720C) Dany CHOUINARD Technicien en informatique -o) Commission scolaire de l'Or et des Bois /\ chouinard.dany at csob.qc.ca _\_v tél. 819.825.4220 ext. 3041 cel. 819.856.6892 skype. dchouinard courriel. chouinard.dany at csob.qc.ca <<<(((( ))))>>> Ce document est signé numériquement par GnuPG http://www.gnupg.org/fr/index.html Pour récupérer ma clef publique, consultez mon site internet : www.danychouinard.net/clef.asc <<<(((( ))))>>> Vous connaissez http://www.linuxabitibi.org ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3ugza9/+BUSG+LQRArYuAKDtM9nFjshWWf8lz0J8PB3q5nESgwCeNuib tQrrbQIC8LXhZ5HZeglLELo= =+8xL -----END PGP SIGNATURE----- From angelb at bugarin.us Wed Sep 5 14:10:44 2007 From: angelb at bugarin.us (angelb) Date: Wed, 05 Sep 2007 14:10:44 -0700 Subject: CUPS, AIX, and IPv6 - an FYI Message-ID: <30428-cups.general@news.easysw.com> > > For those running CUPS in AIX environment, if you're not already aware, > > AIX by default, uses IPv6. I'm not sure when IBM made this change but > > it's effective in 5.2. > > > > Disabling IPv6 in AIX resolves the response time delay by eliminating > > the need for the request to move too high up the DNS chain for resolution and speed up the request to the next available server should > > the first DNS server is non-responsive. > > > > The result - > > > > From this: (IPv6 enabled and first DNS server down) > > > > # timex lpr -Pricoh ti01-1.txt > > real 113.72 > > user 0.57 > > sys 0.02 > > > > > > To this: (IPv6 disabled and first DNS server down) > > > > # timex lpr -Pricoh ti01-1.txt > > real 3.67 > > user 0.58 > > sys 0.03 > > > > > > The change- /etc/netsvc.conf > > > > from: hosts=local,bind > > > > to: hosts=local,bind4 > > > > In fact, to disable IPV6, you can put any (alpha/num)characters after > > the word "bind" except for the number "6", and it will resolve to IPV4. > > > > No downtime or refresh of any kind is required. Immediate performance > > increase. > > > Angel - > > I am seeing poor performance printing under AIX as well. I tried the solution you suggested above, but the real time always remains around 30 seconds. Is there anywhere else you suggest I should look? > > Also, did you compile cups yourself or use a binary from somewhere? We are running 1.2.23 compiled ourselves with no options except the prefix. > > > Thanks, > Amy You may also want to test RES_TIMEOUT and RES_RETRY. If you're having some kind of resolution issue, the RES_ can potentialy affect your response time. I would set them to RES_TIMEOUT=1 and RES_RETRY=1. You can research what these values are at your convenience. You might also want to check your ulimit settings. Make sure the setting can accomodate the number of printer queues you have. Our default setting was set at 2000 while the number of printer queues we have was over 2600. When a client submitted a printjob, it took an extra 5-10seconds longer before it left the client. Once I've changed the ulimit to a higher value, client response time went back to normal. We use a binary provided by our software packager. Good luck. From bdunward at hotmail.com Wed Sep 5 21:12:47 2007 From: bdunward at hotmail.com (Brundan Dunward) Date: Wed, 05 Sep 2007 21:12:47 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems Message-ID: <30429-cups.general@news.easysw.com> I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? Any help would be worth while I googled and search this site for drivers but did not find one. Suggestions? BD From morger at olmero.ch Thu Sep 6 04:12:38 2007 From: morger at olmero.ch (Philipp Morger) Date: Thu, 06 Sep 2007 04:12:38 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30430-cups.general@news.easysw.com> Hallo Kurt > That's *very* rare. *If* they want a page from a different slot, it > is 99% for the first page. Maybe true, but I do have the case p1 -> t1 p2 -> t2 p3 -> t3 (p4 -> t2) (p5 -> t3) p6 -> t5 > > Oh, that was "W2 UNG�LT PERS" -> Invalid personality, somehow the printer > > does not like the PS CUPS throws at it... > Was this printed on a "PostScript error page" by the printer? Or where > did you see this message? The HPLJ4P has an LED Display, where it's able to print such short things... like "BEREIT" and "AUFWÄRMPHASE" and Stuff like that... > Then you wasn't clear or I wasn't awake enough. I took your inquiry > as a need for Windows (and Unix) Ooo users to achieve that print output > feature via CUPS. Well, folks at our site use Winword - this goes over samba to cups... a pretty long way to debug, so I started at the source, which is cups, and as I don't have a Windows, I use OO; It has to work regardles of platform and office product anyway... so by not going via samba, I can exclude much of the possible failure possibilities -> right now, I can simply concentrate on solving the issue OO->CUPS in hope, by solving this I also solve O2K/OXP->Samba-CUPS. > So for Windows users (who do not print via CUPS) it works, but you want > it for Unix users too (via CUPS)? No, it does not work at all, for nobody at our site... > No, in O2K I don't know this feature. Only the one where you select > "tray A for page 1" & "tray B for all the rest". Am absolutely positive, that in O2K you are able to define a page per section. Wenn ich nicht irre, ist es unter Date/Seite einrichten, dort kann man den Schacht auswählen und definieren, ob es für das ganze Dokument, die aktuelle Sektion oder sowas oder ab der aktuellen Curserposition sein soll. Ich kann jedenfalls ein in O2K so ohne Magie ein 5 seitiges Dokument erstellen, wo jedes Seite aus einem der 5 Schächte käme. > Unless your users insert some specific PS or PCL or MS code into their > Word pages into some hidden form fields... (which I also know about). nope, we do not such black magic... > For general apps on Unix it *should* work like I outlined in my last post. > Did you even try it with OOo? The solution might work, no I didn't try it, because it doesn't solve my issue and it doesn't solve that a functionality is broken in the office application (tray selection per sheet) in OO as well as MS-O, either directly via cups or by samba-cups > However, if it is the same as it used to be years ago, here is the OOo > specific way (from memory): > > * In OOo choose the program/dialog/menuitem were you define your > "styles and formats" > > * Define different page styles; Name one page style "FirstPage" > (or whatever you like). > > * Name your other styles differently (or keep one other style > named "default". > > When you define each page style, you can assign a specific printer > tray to it (just don't use "autoselection" or "use printer settings" > with it). That should do the trick. It should make OOo output > PostScript code for printing that has specific tray selection code > injected for each page. (And make sure your CUPS is then *not* set > up to insert a *different* page code.) That's *EXACLTY* the way I do it... how can I verify that CUPS is not setup to insert a different page code? And do you know if this works with the hpijs backend? Grüsse Philipp From h.blischke at srz.de Thu Sep 6 05:31:53 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 06 Sep 2007 05:31:53 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems In-Reply-To: <30429-cups.general@news.easysw.com> References: <30429-cups.general@news.easysw.com> Message-ID: <30431-cups.general@news.easysw.com> Brundan Dunward wrote: > I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? > > Any help would be worth while I googled and search this site for drivers but did not find one. > > Suggestions? > > BD That printer should have a built-in PostScript interpreter (level 2 at least), it even can directly print PDF if equipped with an internal hard disk. I'd suggest to get the vendor supplied PPD for this printer and not to use the foomatic based one. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From k1pfeifle at gmx.net Thu Sep 6 06:26:24 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 06 Sep 2007 06:26:24 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30430-cups.general@news.easysw.com> References: <30430-cups.general@news.easysw.com> Message-ID: <30432-cups.general@news.easysw.com> Philipp Morger wrote: > Hallo Kurt > >> That's *very* rare. *If* they want a page from a different slot, it >> is 99% for the first page. > > Maybe true, but I do have the case > p1 -> t1 > p2 -> t2 > p3 -> t3 > (p4 -> t2) > (p5 -> t3) > p6 -> t5 > >>> Oh, that was "W2 UNG�LT PERS" -> Invalid personality, somehow the printer >>> does not like the PS CUPS throws at it... > >> Was this printed on a "PostScript error page" by the printer? Or where >> did you see this message? > > The HPLJ4P has an LED Display, where it's able to print such short things... > like "BEREIT" and "AUFWÄRMPHASE" and Stuff like that... > >> Then you wasn't clear or I wasn't awake enough. I took your inquiry >> as a need for Windows (and Unix) Ooo users to achieve that print output >> feature via CUPS. > > Well, folks at our site use Winword - this goes over samba to cups... a > pretty long way to debug, so I started at the source, which is cups, and > as I don't have a Windows, I use OO; It has to work regardles of platform > and office product anyway... so by not going via samba, I can exclude > much of the possible failure possibilities -> right now, I can simply > concentrate on solving the issue OO->CUPS in hope, by solving this I also > solve O2K/OXP->Samba-CUPS. > >> So for Windows users (who do not print via CUPS) it works, but you want >> it for Unix users too (via CUPS)? > > No, it does not work at all, for nobody at our site... > >> No, in O2K I don't know this feature. Only the one where you select >> "tray A for page 1" & "tray B for all the rest". > > Am absolutely positive, that in O2K you are able to define a page per > section. > > Wenn ich nicht irre, ist es unter Date/Seite einrichten, dort kann man > den Schacht auswählen und definieren, ob es für das ganze Dokument, > die aktuelle Sektion oder sowas oder ab der aktuellen Curserposition > sein soll. Ich kann jedenfalls ein in O2K so ohne Magie ein 5 seitiges > Dokument erstellen, wo jedes Seite aus einem der 5 Schächte käme. > >> Unless your users insert some specific PS or PCL or MS code into their >> Word pages into some hidden form fields... (which I also know about). > > nope, we do not such black magic... > >> For general apps on Unix it *should* work like I outlined in my last post. >> Did you even try it with OOo? > > The solution might work, no I didn't try it, because it doesn't solve > my issue and it doesn't solve that a functionality is broken in the > office application (tray selection per sheet) in OO as well as MS-O, > either directly via cups or by samba-cups > >> However, if it is the same as it used to be years ago, here is the OOo >> specific way (from memory): >> >> * In OOo choose the program/dialog/menuitem were you define your >> "styles and formats" >> >> * Define different page styles; Name one page style "FirstPage" >> (or whatever you like). >> >> * Name your other styles differently (or keep one other style >> named "default". >> >> When you define each page style, you can assign a specific printer >> tray to it (just don't use "autoselection" or "use printer settings" >> with it). That should do the trick. It should make OOo output >> PostScript code for printing that has specific tray selection code >> injected for each page. (And make sure your CUPS is then *not* set >> up to insert a *different* page code.) > > That's *EXACLTY* the way I do it... how can I verify that CUPS is not > setup to insert a different page code? You can verify which is the default paper tray CUPS is using for a specific printer (and a specific user) by issuing (as that user): lpoptions -p printername -l | grep InputSlot The option marked with an asterisk ('*') is the default. You should make sure that *NOT* any specific tray is enabled, but rather an "Auto" tray. Now, some PPDs do miss a $auto tray, and they will *always* make CUPS insert additional tray-specific code into the file if it goes through the pstops filter. In that case, you can edit the PPD. Search for the '*OpenUI *InputSlot......*CloseUI *InputSlot' section. Simply add this line: *InputSlot Auto/Auto Select: "" and make sure, that the default slot is set to "Auto": *DefaultInputSlot: Auto Because the "" definition is empty, no tray specific code will be inserted into the jobfile when passing through the PPD file. (Hint: after editing your PPD, make sure to run "cupstestppd -vv your.ppd" to verify you've not b0rken it.) Another 3 things: (1) If you print from CUPS/OOo, you can verify if OOo knows how to feed the printer with "tray switching PostScript" by printing the file as a "raw" job to CUPS ("raw" jobs bypass the CUPS filtering system). To achieve that, you may want to create a separate "raw queue" (just do not use any PPD for the queue). Or use OOo to "print to file", and then print that file with "lp -d printer -o raw file"). (2) When you print from Windows (and have a reasonably recent Samba), you can use "cups options = raw" in smb.conf in order to force Samba passing the job to CUPS with the "raw" commandline parameter. Or, use a "raw queue" as the target of your Windows users. But of course, the Windows clients must use the native driver provided by the vendor for the MS Windows platform (not the PostScript driver added to Samba via cupsaddsmb), if they print to a non-PostScript device. To verify the Windows file works re. tray switching, make a user to "print to file", transfer it to the CUPS server, and print it there with "lp -o raw" again. > And do you know if this works > with the hpijs backend? Of course I don't *know*. But it *should*. > Grüsse > Philipp -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From Susan.Dutton at stevenage.gov.uk Thu Sep 6 07:19:20 2007 From: Susan.Dutton at stevenage.gov.uk (Susan Dutton) Date: Thu, 06 Sep 2007 07:19:20 -0700 Subject: lpinfo: cups-get-devices failed: server-error-operation-not-supported Message-ID: <30433-cups.general@news.easysw.com> Hi I'm new to CUPS and have installed it successfully on a Solaris 10 server using SUN's instructions. I downloaded their compiled version of CUPS for Solaris 10. I'm trying to do the same on a Solaris 9 server (http://www.sun.com/bigadmin/content/submitted/install_cups.html)using their compiled version of CUPS for Solaris 9. I had to change the port number from 631 to 443 before I could use the GUI. I was able to set-up a printer and send a test page print to it. But when I try to do anything from the command line it just hangs (lp, lpstat). When I ran the lpinfo -v command I got the following error message: lpinfo: cups-get-devices failed: server-error-operation-not-supported I've tried re-installing it. I haven't got a C Compiler so couldn't use the latest version from this website. Any ideas? Susan From mike at easysw.com Thu Sep 6 07:38:25 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 06 Sep 2007 07:38:25 -0700 Subject: lpinfo: cups-get-devices failed: server-error-operation-not-supported In-Reply-To: <30433-cups.general@news.easysw.com> References: <30433-cups.general@news.easysw.com> Message-ID: <30434-cups.general@news.easysw.com> Susan Dutton wrote: > Hi > > I'm new to CUPS and have installed it successfully on a Solaris 10 server using SUN's instructions. I downloaded their compiled version of CUPS for Solaris 10. I'm trying to do the same on a Solaris 9 server (http://www.sun.com/bigadmin/content/submitted/install_cups.html)using their compiled version of CUPS for Solaris 9. I had to change the port number from 631 to 443 before I could use the GUI. I was able to set-up a printer and send a test page print to it. But when I try to do anything from the command line it just hangs (lp, lpstat). When I ran the lpinfo -v command I got the following error message: > lpinfo: cups-get-devices failed: server-error-operation-not-supported > > I've tried re-installing it. I haven't got a C Compiler so couldn't use the latest version from this website. > > Any ideas? The Sun CUPS packages don't replace the LP software, so "lpinfo" is probably talking to the Sun LP software (which provides its own IPP shim that doesn't support the CUPS extensions...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From pvanguardia at gmail.com Thu Sep 6 07:38:59 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Thu, 06 Sep 2007 07:38:59 -0700 Subject: Start print immediately Message-ID: <30435-cups.general@news.easysw.com> Hi, Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? From msweet at apple.com Thu Sep 6 08:35:53 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 06 Sep 2007 08:35:53 -0700 Subject: [cups.general] Start print immediately In-Reply-To: <30435-cups.general@news.easysw.com> References: <30435-cups.general@news.easysw.com> Message-ID: <30436-cups.general@news.easysw.com> Patrick Vanguardia wrote: > Hi, > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? No, sorry. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From jack at aiai.de Thu Sep 6 10:34:30 2007 From: jack at aiai.de (ekkard gerlach) Date: Thu, 06 Sep 2007 10:34:30 -0700 Subject: Start print immediately In-Reply-To: <30435-cups.general@news.easysw.com> References: <30435-cups.general@news.easysw.com> Message-ID: <30437-cups.general@news.easysw.com> Patrick Vanguardia schrieb: > Hi, > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? maybe it takes 1 millisecond less ;-) From johnxj at comcast.net Thu Sep 6 12:46:54 2007 From: johnxj at comcast.net (John Jason Jordan) Date: Thu, 06 Sep 2007 12:46:54 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) Message-ID: <30438-cups.general@news.easysw.com> I have numerous laser printers installed on my Ubuntu Feisty amd64 computers. My most recent acquisition is a Xerox Phaser 7400DN, and it is also the source of problems. One thing that would help in figuring things out is if I could understand how applications get the options to display in their print dialog boxes. In the case of the 7400DN, the specific problem is media sizes. I have attached a small PDF showing a chart I made for which paper sizes are displayed in the print dialog boxes for various applications when printing to the 7400DN. The first one, "CUPS," is what is listed in the printer options in the CUPS web interface. But note that Firefox displays only a small number of the total. Scribus, on the other hand, displays two additional ones, GermanFanfoldLegal and Custom. And in Scribus the names are somewhat different, e.g., "#10 Commercial Envelope" appears as "#10Env." So where do applications get the list of options for a printer? Why are they different from one application to the next? -------------- next part -------------- A non-text attachment was scrubbed... Name: paper_sizes.pdf Type: application/pdf Size: 17211 bytes Desc: not available URL: From jpjammet at yahoo.fr Thu Sep 6 13:19:33 2007 From: jpjammet at yahoo.fr (Jean Pierre Jammet) Date: Thu, 06 Sep 2007 13:19:33 -0700 Subject: MacOSX and epson impact fx-890 Message-ID: <30439-cups.general@news.easysw.com> Hello I am having some trouble printing to a networked Epson FX=890. The print comes out legible but though we are specifying 8.5x11 page size it's off by some fractions of an inch. Because we're using 3part continious forms on pin feeds after a page or two everything is off and the page break is misplaced. Using the CUPS Printer Manager (http://localhost:631/printers/) I see: Location: 10.10.0.141 Make&Model: Epson 24-pin Series CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.10.0.141 When I print a test page with TextEdit it comes out wrong. When I print a test page with using a cups command line util or by clicking the "Print Test Page" on the CUPS mgr. then things are OK. If anyone has similar problem, solution or can offer any pointers of things to try I would certainly appreciate it. thanks, JP From till.kamppeter at gmail.com Thu Sep 6 13:28:36 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Thu, 06 Sep 2007 13:28:36 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <20070906122512.10e922f1.johnxj@comcast.net> References: <20070906122512.10e922f1.johnxj@comcast.net> Message-ID: <30440-cups.general@news.easysw.com> What apps should do is polling the list of paper sizes (and also other user-settable options) from CUPS (and CUPS takes them from the printer's/the driver's PPD file). OpenOffice.org and all KDE apps poll the options from CUPS, also newer GNOME/GTK apps (based on new printing APIU of GTK 2.10.x or newer), therefore the results of OOo Writer and KPDF are the same as of CUPS. Old GNOME/GTK apps and also Thunderbird and Firefox do not have common printing dialogs and do not poll options from CUPS. They offer a hard-coded selection of paper sizes. AFAIR Scribus also gets options from CUPS, but it seems to always add a custom page size choice. Why it adds FanfoldGermanLegal or why it uses other page size names than the PPD I do not know. Work on a common dialog for all apps and desktops is under way: http://www.mmiworks.net/eng/publications/labels/openPrinting.html But it will take time until this gets implemented. Till John Jason Jordan wrote: > I have numerous laser printers installed on my Ubuntu Feisty amd64 > computers. My most recent acquisition is a Xerox Phaser 7400DN, and it > is also the source of problems. > > One thing that would help in figuring things out is if I could > understand how applications get the options to display in their print > dialog boxes. In the case of the 7400DN, the specific problem is media > sizes. I have attached a small PDF showing a chart I made for which > paper sizes are displayed in the print dialog boxes for various > applications when printing to the 7400DN. The first one, "CUPS," is > what is listed in the printer options in the CUPS web interface. But > note that Firefox displays only a small number of the total. Scribus, > on the other hand, displays two additional ones, GermanFanfoldLegal and > Custom. And in Scribus the names are somewhat different, e.g., "#10 > Commercial Envelope" appears as "#10Env." > > So where do applications get the list of options for a printer? Why are > they different from one application to the next? > > > ------------------------------------------------------------------------ > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups From k1pfeifle at gmx.net Thu Sep 6 14:04:13 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 06 Sep 2007 14:04:13 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30438-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> Message-ID: <30441-cups.general@news.easysw.com> John Jason Jordan wrote: > I have numerous laser printers installed on my Ubuntu Feisty amd64 > computers. My most recent acquisition is a Xerox Phaser 7400DN, and it > is also the source of problems. > > One thing that would help in figuring things out is if I could > understand how applications get the options to display in their print > dialog boxes. In the case of the 7400DN, the specific problem is media > sizes. I have attached a small PDF showing a chart I made for which > paper sizes are displayed in the print dialog boxes for various > applications when printing to the 7400DN. The first one, "CUPS," is > what is listed in the printer options in the CUPS web interface. But > note that Firefox displays only a small number of the total. Scribus, > on the other hand, displays two additional ones, GermanFanfoldLegal and > Custom. And in Scribus the names are somewhat different, e.g., "#10 > Commercial Envelope" appears as "#10Env." > > So where do applications get the list of options for a printer? Why are > they different from one application to the next? CUPS gets all options available for a printer (including PageSize, to which one option you limit your question) from the PPD file (short for PostScript Printer Description). The PPD file format was defined and specified originally by Adobe for PostScript printers. CUPS uses the same format, but also extends it (without hurting other PPD-consuming software that doesn't understand these extensions) to non-PostScript printing, by adding lines which determine what format conversion filters to use when the PostScript is processed by the spooler for a non-PS target device. The PPD holds all the PageSizes the target device is capable to use, and CUPS builds its list of available values from that file. All PPDs installed for your printers in CUPS you can find in /etc/cups/ppd/, and their names match exactly the respective printernames. KPDF (as well as all other KDE applications) uses KDEPrint, which also does also read the CUPS PPD; there should be now difference to what CUPS does. OOo's most recent versions do the same. (Former versions did use their own private PPDs, and you might have seen very big deviations there too.) Scribus' most recent releases (or is it only development releases?) also use the CUPS PPD. In addition, they may have a few "own" media sizes defined that show up (them being a DTP app, they may need to export to PDF and have lots of sizes pre-defined internally, while not requiring to have a real printer around all the time -- so their additional media sizes may pollute into the print dialog too). Firefox I don't want to comment much about. It's printing capabilities on Linux are... very, very limited. That is a shame for such a rich organization as the Mozilla Foundation is. Firefox's printing is simply cr#p. BTW, CUPS can also use "Custom" page sizes from the command line (it just doesn't display them in the web interface); http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From walterwego at macosx.com.invalid Thu Sep 6 17:35:52 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Thu, 06 Sep 2007 17:35:52 -0700 Subject: MacOSX and epson impact fx-890 References: <30439-cups.general@news.easysw.com> Message-ID: <30442-cups.general@news.easysw.com> In article <30439-cups.general at news.easysw.com>, Jean Pierre Jammet wrote: > Hello > I am having some trouble printing to a networked Epson FX=890. The print > comes out legible but though we are specifying 8.5x11 page size it's off by > some fractions of an inch. Because we're using 3part continious forms on pin > feeds after a page or two everything is off and the page break is misplaced. > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > Location: 10.10.0.141 > Make&Model: Epson 24-pin Series CUPS v1.2 > Printer State: idle, accepting jobs, published. > Device URI: socket://10.10.0.141 > > When I print a test page with TextEdit it comes out wrong. Are you using Page Setup first to choose the Epson printer under "Format for:" ? Have you tried any other text applications such as TextWrangler from or SubEtha Edit from ? > When I print a test page with using a cups command line util or by clicking > the "Print Test Page" on the CUPS mgr. then things are OK. I'm also thinking that TextEdit may impose some of its own margins. If you print a TextEdit text file via the command line, you may bypass any such margins that TextEdit is using. -- Matt Broughton Only relatives are absolute. From johnxj at comcast.net Thu Sep 6 18:34:10 2007 From: johnxj at comcast.net (John Jason Jordan) Date: Thu, 06 Sep 2007 18:34:10 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30441-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> <30441-cups.general@news.easysw.com> Message-ID: <30443-cups.general@news.easysw.com> On Thu, 06 Sep 2007 14:04:13 -0700 Kurt Pfeifle dijo: > John Jason Jordan wrote: > > So where do applications get the list of options for a printer? Why are > > they different from one application to the next? > > CUPS gets all options available for a printer (including PageSize, to > which one option you limit your question) from the PPD file (short for > PostScript Printer Description). > > The PPD holds all the PageSizes the target device is capable to use, > and CUPS builds its list of available values from that file. All PPDs > installed for your printers in CUPS you can find in /etc/cups/ppd/, > and their names match exactly the respective printernames. > > KPDF (as well as all other KDE applications) uses KDEPrint, which > also does also read the CUPS PPD; there should be now difference to > what CUPS does. > > OOo's most recent versions do the same. (Former versions did use > their own private PPDs, and you might have seen very big deviations > there too.) > > Scribus' most recent releases (or is it only development releases?) > also use the CUPS PPD. In addition, they may have a few "own" media > sizes defined that show up (them being a DTP app, they may need to > export to PDF and have lots of sizes pre-defined internally, while > not requiring to have a real printer around all the time -- so their > additional media sizes may pollute into the print dialog too). OK, I opened the PPD file in /etc/cps/ppd and read through it. There were several page size sections, and I didn't quite grasp why the list of page sizes appears more than once, although one section lists "PageSize" and another lists "PageRegion." However, while most of it was confusing, I did discover why Scribus uses different names for some of the page sizes. The following snip from the PageRegion section of the PPD file will make it clear: *PageRegion FanFoldGermanLegal/US Folio: " << /PageSize [612 936] >> xerox$pagedevice copy xerox$setpagedevice " *End In other words, the page sizes are listed twice for each page size. Scribus is taking the first one (e.g., "FanFoldGermanLegal," and all other applications are taking the second one (i.e., "US Folio"). Evidently FanFoldLegalGerman is the same as US Folio. > BTW, CUPS can also use "Custom" page sizes from the command line (it > just doesn't display them in the web interface); > > http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html That is very interesting. However, if I must specify a custom page size with an lp command, how do I tell it to selected Extra Thick Paper, one of the options of this printer? Perhaps a little clarification about this printer would help. I bought this printer specifically to print book covers. Book covers are printed on heavy stock, typically 256 gsm. The problem printing on this stock with a normal laser printer is not a question of how to jam the paper through the rollers - that is generally possible, as long as you don't try to duplex and the printer has a pretty straight paper path. The real problem is getting the toner fused onto the paper. Heavy paper like the kind book covers are printed on absorbs too much heat from the fuser, thus the toner doesn't melt completely. There are two ways to get around this - slow down the processing time, or increase the fuser temperature. The Phaser 7400 does it by using three different temperature settings. The user must specify which kind of stock is being printed on, and this is done in the print dialog box. I don't have any problem choosing the media type (paper thickness) when printing from the print dialog box in KPDF, OOo, Scribus, and others - Extra Thick Paper appears as an option, and it works fine. But if I use an lp command I need to specify Extra Thick Paper as well as the page size. Not only that, but there are a ton of other print options involving color saturation, halftone screening, and I could go on and on. How do I get the syntax that lp needs in order to specify these things? As for the custom paper sizes, there was some stuff in the PPD file about it, although I did not understand a word of it. I should also add that the user can create custom paper sizes on the printer's control panel. Having done so, you can set the manual tray to any of your custom paper sizes. This is all done from the printer control panel. The problem is that if I print from a print dialog box and cannot specify the custom paper size, the output is always wrong. From zifix.nochoans at gmail.com Thu Sep 6 23:40:01 2007 From: zifix.nochoans at gmail.com (Zö Ti) Date: Thu, 06 Sep 2007 23:40:01 -0700 Subject: "404 not found" from CUPS-Server Message-ID: <30444-cups.general@news.easysw.com> > Zö Ti wrote: > > Everytime I connect to localhost:631 I get a website telling me "404 not found". > > I tried two different browsers (firefox and links)(, as well as accessing from another PC (via IE). This time it gives me a "403 permission denied", just fyi). > > Trying to install a printer using kcontrol results in this one hanging up while waiting for the cupsd. Shutting /etc/init.d/cupsd stop while the programm is waiting gives an error and the control center resumes running. > > ... > > Sounds like your cupsd.conf file doesn't match your installed version > of CUPS. > > If would be useful to know a) what operating system/Linux distribution > you are using, b) what version of CUPS you are using, and c) how you > installed CUPS (vendor package, compiled from sources, etc...) > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com i think that now too. After a "complete" (including the .conf) reinstallation . For other ppl with the same problem: Cups 1.12.10-r1 running on Gentoo brought the problem. I still don't see my printer in the Administration section although lsusb shows it as plugged in. What can you do about that? From jpjammet at yahoo.fr Fri Sep 7 00:09:13 2007 From: jpjammet at yahoo.fr (Jean Pierre Jammet) Date: Fri, 07 Sep 2007 00:09:13 -0700 Subject: MacOSX and epson impact fx-890 Message-ID: <30445-cups.general@news.easysw.com> > In article <30439-cups.general at news.easysw.com>, > Jean Pierre Jammet wrote: > > > Hello > > I am having some trouble printing to a networked Epson FX=890. The print > > comes out legible but though we are specifying 8.5x11 page size it's off by > > some fractions of an inch. Because we're using 3part continious forms on pin > > feeds after a page or two everything is off and the page break is misplaced. > > > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > > Location: 10.10.0.141 > > Make&Model: Epson 24-pin Series CUPS v1.2 > > Printer State: idle, accepting jobs, published. > > Device URI: socket://10.10.0.141 > > > > When I print a test page with TextEdit it comes out wrong. > > Are you using Page Setup first to choose the Epson printer under "Format > for:" ? Have you tried any other text applications such as TextWrangler > from or SubEtha Edit from > ? > > > When I print a test page with using a cups command line util or by clicking > > the "Print Test Page" on the CUPS mgr. then things are OK. > > I'm also thinking that TextEdit may impose some of its own margins. If > you print a TextEdit text file via the command line, you may bypass any > such margins that TextEdit is using. > > -- > Matt Broughton > Only relatives are absolute. Thanks Matt for your reply. TextEdit is only one of the applications that is problematic. Printing from FileMaker8 and others is also prolematic. I will try printing from BBedit or similar when I am in office again. We have another iMac that seems to print OK to this printer but all configurations are the same. Could a PPD file be the cause of the problem? How can I tell what PPD file is in use by a particular printer in the CUPS Admin listing? From k1pfeifle at gmx.net Fri Sep 7 03:00:21 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 03:00:21 -0700 Subject: [cups.general] Print dialog boxes in applications (Linux) In-Reply-To: <30443-cups.general@news.easysw.com> References: <30438-cups.general@news.easysw.com> <30441-cups.general@news.easysw.com> <30443-cups.general@news.easysw.com> Message-ID: <30446-cups.general@news.easysw.com> John Jason Jordan wrote: > OK, I opened the PPD file in /etc/cps/ppd and read through it. There > were several page size sections, and I didn't quite grasp why the list > of page sizes appears more than once, although one section lists > "PageSize" and another lists "PageRegion." However, while most of it > was confusing, I did discover why Scribus uses different names for some > of the page sizes. The following snip from the PageRegion section of > the PPD file will make it clear: > > *PageRegion FanFoldGermanLegal/US Folio: " > << > /PageSize [612 936] > >> xerox$pagedevice copy xerox$setpagedevice > " > *End > > In other words, the page sizes are listed twice for each page size. > Scribus is taking the first one (e.g., "FanFoldGermanLegal," and all > other applications are taking the second one (i.e., "US Folio"). > Evidently FanFoldLegalGerman is the same as US Folio. Ah... that's the bug I reported a few days ago (informally, in IRC) to one of their core developers. They parse the PPD UI elements in a wrong way. These elements are con- structed like this: *SomeOddOption *InternalNameForOddOptionValue/What the user should see in the GUI: "some code to execute if selected" This bug does not exhibit itself very blatantly in the case of page sizes. Because here the InternalNames are the same or very similar to "What the user should see". It is different if you have a PPD that drives a printer with, say a few different output trays: *OpenUI *OutputBin/Output Destination: PickOne [....] *OutputBin Bin4/Finisher Upper Exit: "<>setpagedevice" Scribus displays as possible "OutputBin"s the "Bin1"-"Bin5" options. This, a user cannot understand easily (only after "Trial and Error"). Instead, it should tell the user about "Output Destination"s the "Upper Side Tray", "Lower Side Tray, "Finisher Staple Exit", "Finisher Upper Exit" and "Finisher Pamphlet Maker" options. Here the meaning is very obvious. However, in the most recent version of Scribus this seems to be fixed already. >> BTW, CUPS can also use "Custom" page sizes from the command line (it >> just doesn't display them in the web interface); >> >> http://openprinting.blogspot.com/2007/09/how-to-set-custom-page-sizes-with-cups.html > > That is very interesting. However, if I must specify a custom page size > with an lp command, how do I tell it to selected Extra Thick Paper, one > of the options of this printer? First investigate from the command line what the PPD offers: lpoptions -p printername -l | grep You should see something like this as the output: MediaType/Paper Type: *Plain Recycled Special Colored Letterhead \ Preprinted Prepunched Labels Bond Cardstock \ OHP Thick ExtraThick Thin None (For all lines of the "lpoptions -l" command: what is marked with an asterisk ('*') is what is the current default) Now conclude that it is probably the "Thick" keyword you need to use: lp -d printername -o MediaType=ExtraThick .... [....] > Not only that, but there are a ton of other print options > involving color saturation, halftone screening, and I could go on and > on. How do I get the syntax that lp needs in order to specify these > things? Same as above. Use the same command as above, without the "|grep ..." part to see *all* PPD options. > As for the custom paper sizes, there was some stuff in the PPD file > about it, although I did not understand a word of it. Heh... To understand it *all*, you need to grok the official PPD specification: http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf plus, a little bit of PostScript too: http://partners.adobe.com/public/developer/en/ps/PLRM.pdf http://en.wikipedia.org/wiki/PostScript > I should also add > that the user can create custom paper sizes on the printer's control > panel. Having done so, you can set the manual tray to any of your > custom paper sizes. This is all done from the printer control panel. > The problem is that if I print from a print dialog box and cannot > specify the custom paper size, the output is always wrong. The one major weakness in KDEPrint' kprinter (as of KDE 3.5.x) is that it still does not support keying-in of arbitrary values for custom paper/media sizes. (Given the fact that usually those who are in need of printing to custom page sizes regularly are only doing so with one or two different ones, you can work around this by adding the sizes to the PPD yourself; just make sure you add them to all 4 sections in the PPD: "PageSize", "PageRegion", "ImageableArea" as well "PaperDimension", and give them uniq new names). You may want to look at the "xpp" print command GUI. You can use it, just like kprinter, as a standalone app. It allows you to key in the specific custom page size you want to use. If you want to "replace" kprinter as the print command for KDE applica- tions, just switch to "Print Through an External Program" in the ori- ginal kprinter dialog, and specify "xpp" as the Print Command. As a result, xpp will pop up after kprinter, and allow you to make the real custom media size selection. For most Gnome apps, you are able to specify "xpp" as a print command too. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mohammed.hussain at microfocus.com Fri Sep 7 03:19:54 2007 From: mohammed.hussain at microfocus.com (matheeq) Date: Fri, 07 Sep 2007 03:19:54 -0700 Subject: Printer disabled error when defining printer with PPD file Message-ID: <30447-cups.general@news.easysw.com> Hi I've been trying to define and configure a HP Laser Jet 4250 network printer on AIX 5.2 system with a downloaded driver(PPD file) using CUPS. I've managed to check that samba and cups are installed and running and I define the printer with the following command: asroot /usr/sbin/lpadmin -p printername -v smb://'corpdom\userid':password at servername/printer -P ppddriverfileandpath –E The printer gets define but when I do a getstat -p I can see that the printer gets disabled and shows the message: Filter "foomatic-rip" for printer "laser" not available: A file or direc tory in the path name does not exist I also see another error: Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: SMB t ree connect failed: NT_STATUS_ACCESS_DENIED Could anyone help me to overcome this issue? Thanks From bdunward at hotmail.com Fri Sep 7 03:31:58 2007 From: bdunward at hotmail.com (Brundan Dunward) Date: Fri, 07 Sep 2007 03:31:58 -0700 Subject: QMS Minolta/Konica Magicolor 2+ Problems Message-ID: <30448-cups.general@news.easysw.com> Thank you for your response. After rooting round I found the XP version of the PPD and installed that. I was unable to find a PPD on the site and I found another post that indicated that it was usually found inside the MS bundles hence my approach. Ultimately no luck. I am not a printer/CUPS expert but I am using ldp tp the printers IP which should be a direct connection rather than through a spool on another machine. Is there something on the printer I need to modify or check that could cause this? The test page is always four sheets with all sheets being gray and the color wheel portions being represented on pages 2-4. BD > Brundan Dunward wrote: > > I have a QMS Magicolor 2+ which worked fine prior to CUPS being used in Fedora, I had no problems with it before CUPS. Now that I am trying to completely break the MS cord I find that I can't use the printer. It appears to be working but every page is broken up into several pages which appear to be color (mind you they are all gray) so a single page might be broken up into at least 4 pages I assume one for each color plus black. I know it is an old printer but it still works fine so why dump it because of this? > > > > Any help would be worth while I googled and search this site for drivers but did not find one. > > > > Suggestions? > > > > BD > > That printer should have a built-in PostScript interpreter > (level 2 at least), it even can directly print PDF if > equipped with an internal hard disk. > > I'd suggest to get the vendor supplied PPD for this printer > and not to use the foomatic based one. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org From morger at olmero.ch Fri Sep 7 06:03:35 2007 From: morger at olmero.ch (Philipp Morger) Date: Fri, 07 Sep 2007 06:03:35 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30449-cups.general@news.easysw.com> Hi Kurt thanks for the infor about modifying the ppd, So I proceeded as follows: Today I'm sitting in front of a HP4650, which is able to process PS... I took the PPD from here: http://www.linuxprinting.org/foomatic-db/db/source/PPD/HP/hp_color_LaserJet_4650.ppd and modified it as you said, as it has no "Auto" and verified it: lpoptions -p HPLJ4650HDN_PS -l | grep InputSlot InputSlot/Paper Source: *Auto Tray1 Tray2 Tray3 Tray4 created a document as outlined in a previous post by you, Page 1 on Tray 3, Page 2 on Tray 4.... crossed fingers - didn't help. So I stopped the printer in cups, to fetch the control and print file, did a "strings" over it, here is the output: ~ strings c00087 -- 8< -- attributes-charset utf-8H attributes-natural-language en-us printer-uri 'ipp://localhost/printers/HPLJ4650HDN_PSB job-originating-user-name pmorgerB job-name fooI document-format application/postscriptB PageSize InputSlot Tray3! job-priority job-uuid -urn:uuid:3082de6d-3320-3905-55be-d2e0e89ac6d3B job-originating-host-name localhost! time-at-creation time-at-processing time-at-completed job-id job-state job-media-sheets-completed job-printer-uri 3ipp://charon.olmero.net:631/printers/HPLJ4650HDN_PSB job-name foo! job-k-octets job-hold-until no-holdB job-sheets noneB none -- 8< -- ~ strings d00087-001 -- 8< -- %!PS-Adobe-3.0 %%BoundingBox: (atend) %%Creator: (OpenOffice.org 2.3) %%For: (pmorger) %%CreationDate: (Fri Sep 7 14:44:06 2007) %%Title: (foo) %%LanguageLevel: 3 %%DocumentData: Clean7Bit %%Pages: (atend) %%PageOrder: Ascend %%EndComments %%BeginProlog %%BeginResource: procset PSPrint-Prolog 1.0 0 /ISO1252Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /grave /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /unused /Euro /unused /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl /circumflex /perthousand /Scaron /guilsinglleft /OE /unused /Zcaron /unused /unused /quoteleft /quoteright /quotedblleft /quotedblright /bullet /endash /emdash /tilde /trademark /scaron /guilsinglright /oe /unused /zcaron /Ydieresis /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] def /psp_definefont { exch dup findfont dup length dict begin { 1 index /FID ne { def } { pop pop } ifelse } forall /Encoding 3 -1 roll def currentdict end exch pop definefont pop } def /pathdict dup 8 dict def load begin /rcmd { { currentfile 1 string readstring pop 0 get dup 32 gt { exit } { pop } ifelse } loop dup 126 eq { pop exit } if 65 sub dup 16#3 and 1 add exch dup 16#C and -2 bitshift 16#3 and 1 add exch 16#10 and 16#10 eq 3 1 roll exch } def /rhex { dup 1 sub exch currentfile exch string readhexstring pop dup 0 get dup 16#80 and 16#80 eq dup 3 1 roll { 16#7f and } if 2 index 0 3 -1 roll put 3 1 roll 0 0 1 5 -1 roll { 2 index exch get add 256 mul } for 256 div exch pop exch { neg } if } def /xcmd { rcmd exch rhex exch rhex exch 5 -1 roll add exch 4 -1 roll add 1 index 1 index 5 -1 roll { moveto } { lineto } ifelse } def end /readpath { 0 0 pathdict begin { xcmd } loop end pop pop } def systemdict /languagelevel known not { /xshow { exch dup length 0 1 3 -1 roll 1 sub { dup 3 index exch get exch 2 index exch get 1 string dup 0 4 -1 roll put currentpoint 3 -1 roll show moveto 0 rmoveto } for pop pop } def /rectangle { 4 -2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath } def /rectfill { rectangle fill } def /rectstroke { rectangle stroke } def } if /bshow { currentlinewidth 3 1 roll currentpoint 3 index show moveto setlinewidth false charpath stroke setlinewidth } def /bxshow { currentlinewidth 4 1 roll setlinewidth exch dup length 1 sub 0 1 3 -1 roll { 1 string 2 index 2 index get 1 index exch 0 exch put dup currentpoint 3 -1 roll show moveto currentpoint 3 -1 roll false charpath stroke moveto 2 index exch get 0 rmoveto } for pop pop setlinewidth } def /psp_lzwfilter { currentfile /ASCII85Decode filter /LZWDecode filter } def /psp_ascii85filter { currentfile /ASCII85Decode filter } def /psp_lzwstring { psp_lzwfilter 1024 string readstring } def /psp_ascii85string { psp_ascii85filter 1024 string readstring } def /psp_imagedict { /psp_bitspercomponent { 3 eq { 1 }{ 8 } ifelse } def /psp_decodearray { [ [0 1 0 1 0 1] [0 255] [0 1] [0 255] ] exch get } def 7 dict dup /ImageType 1 put dup /Width 7 -1 roll put dup /Height 5 index put dup /BitsPerComponent 4 index psp_bitspercomponent put dup /Decode 5 -1 roll psp_decodearray put dup /ImageMatrix [1 0 0 1 0 0] dup 5 8 -1 roll put put dup /DataSource 4 -1 roll 1 eq { psp_lzwfilter } { psp_ascii85filter } ifelse put } def %%EndResource %%EndProlog %%BeginSetup %%BeginResource: font BitstreamVeraSans-RomanFID19HGSet1 %!PS-TrueTypeFont-1.0-2.0 %%Creator: SunTypeTools-TT 1.0 gelf %- Font subset generated from a source font file: '/var/lib/defoma/fontconfig.d/B/Bitstream-Vera-Sans.ttf' %- Original font name: BitstreamVeraSans-Roman %- Original font family: Bitstream Vera Sans %- Original font sub-family: Roman 11 dict begin /FontName (BitstreamVeraSans-RomanFID19HGSet1) cvn def /PaintType 0 def /FontMatrix [1 0 0 1 0 0] def /FontBBox [-183 -235 1287 928] def /FontType 42 def /Encoding 256 array def 0 1 255 {Encoding exch /.notdef put} for Encoding 49 /glyph1 put Encoding 50 /glyph2 put Encoding 84 /glyph3 put /XUID [103 0 1 16#35D39B97 4 16#0AA5987D 16#859B9127] def /sfnts [< 747275650009008000030010637674203A17D2C20000009C000001FC6670676D CDF5B6DC000002980000008B676C7966443E7B49000003240000023468656164 3D39D01C00000558000000366868656122FE6E070000059000000024686D7478 D800DE12000005B4000000106C6F636104007901000005C40000000A6D617870 C8053604000005D0000000207072657066F004D9000005F000000568013500B8 00CB00CB00C100AA009C01A600B800660000007100CB00A002B20085007500B8 00C301CB0189022D00CB00A600F000D300AA008700CB03AA0400014A003300CB 000000D9050200F4015400B4009C01390114013907060400044E04B4045204B8 04E704CD0037047304CD04600473013303A2055605A60556053903C5021200C9 001F00B801DF007300BA03E9033303BC0444040E00DF03CD03AA00E503AA0404 000000CB008F00A4007B00B80014016F007F027B0252008F00C705CD009A009A 006F00CB00CD019E01D300F000BA018300D5009803040248009E01D500C100CB 00F600830354027F00000333026600D300C700A400CD008F009A0073040005D5 010A00FE022B00A400B4009C00000062009C0000001D032D05D505D505D505F0 007F007B005400A406B80614072301D300B800CB00A601C301EC069300A000D3 035C037103DB0185042304A80448008F0139011401390360008F05D5019A0614 072306660179046004600460047B009C00000277046001AA00E904600762007B 00C5007F027B000000B4025205CD006600BC00660077061000CD013B01850389 008F007B0000001D00CD074A042F009C009C0000077D006F0000006F0335006A 006F007B00AE00B2002D0396008F027B00F600830354063705F6008F009C04E1 0266008F018D02F600CD03440029006604EE007300001400B606050403020100 2C2010B002254964B040515820C859212D2CB002254964B040515820C859212D 2C20100720B00050B00D7920B8FFFF5058041B0559B0051CB0032508B0042523 E120B00050B00D7920B8FFFF5058041B0559B0051CB0032508E12D2C4B505820 B0FD454459212D2CB002254560442D2C4B5358B00225B0022545445921212D2C 45442D0000020066FE96046605A400030007001A400C04FB0006FB0108057F02 04002FC4D4EC310010D4ECD4EC301311211125211121660400FC73031BFCE5FE 96070EF8F2720629000100E10000045A05D5000A004B40154203A00402A00581 0700A009081F061C03001F010B10D4ECC4FCEC31002FEC32F4ECD4EC304B5358 5922014BB00F5458BD000BFFC00001000B000B00403811373859B40F030F0402 5D3721110535253311211521FE014AFE990165CA014AFCA4AA047348B848FAD5 AA00000100960000044A05F0001C00A54027191A1B03181C1105040011050504 4210A111940DA014910400A00200100A02010A1C171003061D10FCC4D4ECC0C0 11123931002FEC32F4ECF4EC304B5358071005ED0705ED1117395922014BB015 544BB016545B4BB014545B58BD001D00400001001D001DFFC038113738594032 5504560556077A047A05761B87190704000419041A041B051C74007606751A73 1B741C82008619821A821B821CA800A81B115D005D25211521353600373E0135 342623220607353E01333204151406070600018902C1FC4C73018D33614DA786 5FD3787AD458E80114455B19FEF4AAAAAA7701913A6D974977964243CC3132E8 C25CA5701DFEEB000001FFFA000004E905D50007004A400E0602950081040140 031C0040050810D4E4FCE431002FF4EC3230014BB00A5458BD00080040000100 080008FFC03811373859401300091F00100110021F071009400970099F09095D 03211521112311210604EFFDEECBFDEE05D5AAFAD5052B000001000000020000 61EE10E75F0F3CF5001F080000000000BAB9F0B80000000000000000FFFAFE96 04E905F000000008000100000000000000010000076DFE1D0000000000000000 000000010000000000000000000000000000000404CD0066051700E105170096 04E3FFFA00000022005F00E2011A0000000100000004001D0002000000000002 00100040000700000415056800030001B8028040FFFBFE03FA1403F92503F832 03F79603F60E03F5FE03F4FE03F32503F20E03F19603F02503EF8A4105EFFE03 EE9603ED9603ECFA03EBFA03EAFE03E93A03E84203E7FE03E63203E5E45305E5 9603E48A4105E45303E3E22F05E3FA03E22F03E1FE03E0FE03DF3203DE1403DD 9603DCFE03DB1203DA7D03D9BB03D8FE03D68A4105D67D03D5D44705D57D03D4 4703D3D21B05D3FE03D21B03D1FE03D0FE03CFFE03CEFE03CD9603CCCB1E05CC FE03CB1E03CA3203C9FE03C6851105C61C03C51603C4FE03C3FE03C2FE03C1FE 03C0FE03BFFE03BEFE03BDFE03BCFE03BBFE03BA1103B9862505B9FE03B8B7BB 05B8FE03B7B65D05B7BB03B78004B6B52505B65D40FF03B64004B52503B4FE03 B39603B2FE03B1FE03B0FE03AFFE03AE6403AD0E03ACAB2505AC6403ABAA1205 AB2503AA1203A98A4105A9FA03A8FE03A7FE03A6FE03A51203A4FE03A3A20E05 A33203A20E03A16403A08A4105A096039FFE039E9D0C059EFE039D0C039C9B19 059C64039B9A10059B19039A1003990A0398FE0397960D0597FE03960D03958A 410595960394930E05942803930E0392FA039190BB0591FE03908F5D0590BB03 9080048F8E25058F5D038F40048E25038DFE038C8B2E058CFE038B2E038A8625 058A410389880B05891403880B03878625058764038685110586250385110384 FE038382110583FE0382110381FE0380FE037FFE0340FF7E7D7D057EFE037D7D 037C64037B5415057B25037AFE0379FE03780E03770C03760A0375FE0374FA03 73FA0372FA0371FA0370FE036FFE036EFE036C21036BFE036A1142056A530369 FE03687D036711420566FE0365FE0364FE0363FE0362FE03613A0360FA035E0C 035DFE035BFE035AFE0359580A0559FA03580A035716190557320356FE035554 150555420354150353011005531803521403514A130551FE03500B034FFE034E 4D10054EFE034D10034CFE034B4A13054BFE034A4910054A1303491D0D054910 03480D0347FE0346960345960344FE0343022D0543FA0342BB03414B0340FE03 3FFE033E3D12053E14033D3C0F053D12033C3B0D053C40FF0F033B0D033AFE03 39FE033837140538FA033736100537140336350B05361003350B03341E03330D 0332310B0532FE03310B03302F0B05300D032F0B032E2D09052E10032D09032C 32032B2A25052B64032A2912052A25032912032827250528410327250326250B 05260F03250B0324FE0323FE03220F03210110052112032064031FFA031E1D0D 051E64031D0D031C1142051CFE031BFA031A42031911420519FE031864031716 190517FE031601100516190315FE0314FE0313FE031211420512FE0311022D05 114203107D030F64030EFE030D0C16050DFE030C0110050C16030BFE030A1003 09FE0308022D0508FE030714030664030401100504FE03401503022D0503FE03 02011005022D0301100300FE0301B80164858D012B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B002B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B 2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B1D00 ] def /CharStrings 4 dict dup begin /.notdef 0 def /glyph1 1 def /glyph2 2 def /glyph3 3 def end readonly def FontName currentdict end definefont pop %%EndResource %%DocumentSuppliedResources: font BitstreamVeraSans-RomanFID19HGSet1 %%IncludeFeature: *PageSize A4 } stopped cleartomark %%IncludeFeature: *InputSlot Tray3 } stopped cleartomark %%EndSetup %%Page: 1 1 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%EndPageSetup gsave [0.12 0 0 -0.12 12 830] concat gsave 373 465 moveto 0 0 0 setrgbcolor (BitstreamVeraSans-RomanFID19HGSet1) cvn findfont 100 -100 matrix scale makefont setfont <5431> [60 0] xshow grestore grestore showpage %%PageTrailer %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%IncludeFeature: *InputSlot Tray4 } stopped cleartomark %%EndPageSetup gsave [0.12 0 0 -0.12 12 830] concat gsave 373 465 moveto 0 0 0 setrgbcolor (BitstreamVeraSans-RomanFID19HGSet1) cvn findfont 100 -100 matrix scale makefont setfont <5432> [60 0] xshow grestore grestore showpage %%PageTrailer %%Trailer %%BoundingBox: 0 0 595 842 %%Pages: 2 %%EOF -- 8< -- As far as I'm able to read PS, I can see that the actual PS file contains the tray switching instructions, the only thing that worries me is the control file, which says something about Tray3 and nothing about "Auto" or "and Tray4" I'm now about fideling with the RAW queue.... thanks and regards Philipp From mike at easysw.com Fri Sep 7 07:35:46 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 07:35:46 -0700 Subject: "404 not found" from CUPS-Server In-Reply-To: <30444-cups.general@news.easysw.com> References: <30444-cups.general@news.easysw.com> Message-ID: <30450-cups.general@news.easysw.com> Zö Ti wrote: > ... > I still don't see my printer in the Administration section although lsusb shows it as plugged in. > What can you do about that? Nothing, but perhaps you can file a bug with the Gentoo folks. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From mike at easysw.com Fri Sep 7 07:41:30 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 07:41:30 -0700 Subject: Printer disabled error when defining printer with PPD file In-Reply-To: <30447-cups.general@news.easysw.com> References: <30447-cups.general@news.easysw.com> Message-ID: <30451-cups.general@news.easysw.com> matheeq wrote: > Hi > > I've been trying to define and configure a HP Laser Jet 4250 network printer on AIX 5.2 system with a downloaded driver(PPD file) using CUPS. > > I've managed to check that samba and cups are installed and running and > I define the printer with the following command: > asroot /usr/sbin/lpadmin -p printername -v smb://'corpdom\userid':password at servername/printer -P ppddriverfileandpath –E > > The printer gets define but when I do a getstat -p I can see that the printer gets disabled and shows the message: > > Filter "foomatic-rip" for printer "laser" not available: A file or direc > tory in the path name does not exist > > I also see another error: > Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: SMB t > ree connect failed: NT_STATUS_ACCESS_DENIED > > Could anyone help me to overcome this issue? Get the vendor-supplied PPD file and not the Foomatic PPD file (which requires its own filter...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From k1pfeifle at gmx.net Fri Sep 7 08:41:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 08:41:25 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30449-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> Message-ID: <30452-cups.general@news.easysw.com> Philipp Morger wrote: > created a document as outlined in a previous post by you, Page 1 on > Tray 3, Page 2 on Tray 4.... crossed fingers - didn't help. You did use the very same PPD/printer in OOo as the one you would then send the job to, yes? (this is crucial, as the PostScript code inserted by OOo for tray selection is model and vendor specific). > So I stopped the printer in cups, to fetch the control and print file, The print file you get from /var/spool/cups/d00NNN-001 is *always* the original file as received by CUPS. > did a "strings" over it, here is the output: "strings" is not the best method to get a complete picture about the content of the CUPS control file (though in your case, it seemed "good enough" to find the info you was looking for). Here are two better methods: (a) Start "kjobviewer". Select the printer (or "all printers"). Click on the clock button to "Toggle view for completed jobs". Select the Job ID. Right-click and select "Job IPP Report" from the context menu. Voila!, you get the complete contents of the control file in a human readable form. (b) Use the "testipp" utility and run this command: testipp /var/spool/cups/c00NNN You'll see the same info as in kjobviewer, but formatted for termi- nal output. If testipp is not shipped by your Linux vendor inside the .rpm or .deb package, you'll have to build it yourself by com- piling CUPS from the official sources. > %%BeginSetup [....] > %%IncludeFeature: *PageSize A4 > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > } stopped cleartomark > %%EndSetup [....] > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > } stopped cleartomark > %%EndPageSetup [....] > As far as I'm able to read PS, I can see that the actual PS file > contains the tray switching instructions, Yes. > the only thing that worries > me is the control file, which says something about Tray3 and nothing > about "Auto" or "and Tray4" The control file will never know what specific options OOo inserted into the PS. The control file will only ever know those job options that were specified on the commandline (and all options which it read from such files as $HOME/.cups/lpoptions or /etc/cups/lpoptions are equivalent to commandline options). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:03:32 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:03:32 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30452-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> Message-ID: <30453-cups.general@news.easysw.com> Kurt Pfeifle wrote: >> %%BeginSetup > [....] >> %%IncludeFeature: *PageSize A4 >> } stopped cleartomark >> %%IncludeFeature: *InputSlot Tray3 >> } stopped cleartomark >> %%EndSetup > > [....] > >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> %%IncludeFeature: *InputSlot Tray4 >> } stopped cleartomark >> %%EndPageSetup > > [....] > >> As far as I'm able to read PS, I can see that the actual PS file >> contains the tray switching instructions, > > Yes. Uhmmm.... actually, no. It does *not* contain valid code to switch the trays, AFAICS. It pretends to, but it doesn't work like that. It contains "empty" code only. It should look similar to this: %%BeginSetup [....] %%IncludeFeature: *PageRegion A4 << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice } stopped cleartomark %%IncludeFeature: *InputSlot Tray3 << /MediaPosition 3 >> setpagedevice } stopped cleartomark %%EndSetup [....] %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup %%IncludeFeature: *InputSlot Tray4 << /MediaPosition 4 >> setpagedevice } stopped cleartomark %%EndPageSetup But before you go and submit a bug report, wait if Mike and/or Helge chime in to comment (they are the resident PostScript gurus here :-) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:42:00 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:42:00 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30453-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> Message-ID: <30454-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>> %%BeginSetup >> [....] >>> %%IncludeFeature: *PageSize A4 >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> } stopped cleartomark >>> %%EndSetup >> [....] >> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> } stopped cleartomark >>> %%EndPageSetup >> [....] >> >>> As far as I'm able to read PS, I can see that the actual PS file >>> contains the tray switching instructions, >> Yes. > > Uhmmm.... actually, no. It does *not* contain valid code to switch > the trays, AFAICS. It pretends to, but it doesn't work like that. > > It contains "empty" code only. It should look similar to this: > > %%BeginSetup > [....] > %%IncludeFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > } stopped cleartomark > %%EndPageSetup > > > But before you go and submit a bug report, wait if Mike and/or Helge > chime in to comment (they are the resident PostScript gurus here :-) Here is another tip that may help you debug your case (and some other ones you may encounter in your future admin career :-) ): (1) go visit http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities and fetch one or both of the CUPS backend scripts "2file" and "2dir". (2) install a virtual printer using your PPD and one of the backend scripts so you can "print to file" with them. (3) in cupsd.conf, insert "PreserveJobFiles" and restart cupsd. (3) print to the new printer. Now you'll have 2 files on disk: (a) the file as was handed to CUPS by OOo in /var/spool/cups/d000NN (b) the file as it was changed by the CUPS filtering chain, according to your overall print settings. Now you can look at the differences of the two files, using sdiff -sbB file1 file2 You'll probably notice that CUPS does insert non-empty PostScript code to address the tray selection, while OOo does a fake job on it. If that is confirmed, submit a bug report with the OOo folks. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 09:44:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 09:44:08 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30449-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> Message-ID: <30455-cups.general@news.easysw.com> Philipp Morger wrote: > As far as I'm able to read PS, I can see that the actual PS file > contains the tray switching instructions, the only thing that worries > me is the control file, which says something about Tray3 and nothing > about "Auto" or "and Tray4" > > I'm now about fideling with the RAW queue.... I forgot one tip, that may help you with your troubleshooting... As I said in my first reply: >> >> The print file you get from /var/spool/cups/d00NNN-001 is *always* >> the original file as received by CUPS. >> What you are interested in is how the file looks like *after* it has passed the CUPS filtering chain (here: just the "pstops" filter). See my other post on how to get hold of this file. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From bobbyyu1 at yahoo.ca Fri Sep 7 10:14:25 2007 From: bobbyyu1 at yahoo.ca (Robert Yu) Date: Fri, 07 Sep 2007 10:14:25 -0700 Subject: Lexmark Z600 not printing document Message-ID: <30456-cups.general@news.easysw.com> I have two computers: one with Windows XP Pro and the other with Ubuntu. The Windows XP Pro machine is connected to a Lexmark Z600 Printer. My Ubuntu computer is connected to the Windows XP Pro Computer. I downloaded the Z600 driver for Ubuntu and installed it. Originally it was for Redhat but there was a workaround to convert the RPM format to a format that can be used in Ubuntu. What should have worked after installing the driver didn't work the last time I formatted the computer. When I tried to print it, it says: paused: job-hold-until-specified. And it doesn't print. I followed the instructions by the letter and now I don't know what happened. Any pointing to the right direction will be needed and appreciated From k1pfeifle at gmx.net Fri Sep 7 10:37:36 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 10:37:36 -0700 Subject: [SUGGESTION] switching trays in printjob In-Reply-To: <30453-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> Message-ID: <30457-cups.general@news.easysw.com> I was too quick, and therefor wrong. Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>> %%BeginSetup >> [....] >>> %%IncludeFeature: *PageSize A4 >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> } stopped cleartomark >>> %%EndSetup >> [....] >> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> } stopped cleartomark >>> %%EndPageSetup >> [....] >> >>> As far as I'm able to read PS, I can see that the actual PS file >>> contains the tray switching instructions, >> Yes. > > Uhmmm.... actually, no. It does *not* contain valid code to switch > the trays, AFAICS. It pretends to, but it doesn't work like that. > > It contains "empty" code only. It should look similar to this: > > %%BeginSetup > [....] > %%IncludeFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > } stopped cleartomark > %%IncludeFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > %%IncludeFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > } stopped cleartomark > %%EndPageSetup This example should have been (with "BeginFeature" instead of "IncludeFeature"): %%BeginSetup [....] [{ %%BeginFeature: *PageRegion A4 << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice %%EndFeature } stopped cleartomark [{ %%BeginFeature: *InputSlot Tray3 << /MediaPosition 3 >> setpagedevice %%EndFeature } stopped cleartomark %%EndSetup [....] %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup [{ %%BeginFeature: *InputSlot Tray4 << /MediaPosition 4 >> setpagedevice %%EndFeature } stopped cleartomark %%EndPageSetup In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment and not the '%%Begin(End)Feature:' one. As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- cluded features *were* listed in the %%Prolog section of the PS file. But they aren't. Therefor, nothing is 'included'. There are 3 ways it could work: (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid definitions of all the device features including the PS/device code to be inserted. Then, in the "%%BeginPageSetup: ... %%EndPageSetup" sections it is enough to use a 1-line "%%InsertFeature: *InputSlot TrayXYZ" (where the string "*InputSlot TrayXYZ" must match the previous definition). (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the document, and expect the "document manager" to handle it by looking up the PPD and insert the correct PS snippet into the file. This is how OOo expects it ... however, CUPS is not a document manager that does do this. (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature } stopped cleartomark" subsection. (c) is the most robust, IMHO, because it would make OOo printfiles w work as expected on the target printer, even in the absence of a "document manager". It is up to Mike to comment on his plans for CUPS to support the '%%InsertFeature:' statements of PostScript files. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 7 11:12:15 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 07 Sep 2007 11:12:15 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) In-Reply-To: <30457-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> Message-ID: <30458-cups.general@news.easysw.com> Kurt Pfeifle wrote: > I was too quick, and therefor wrong. > > Kurt Pfeifle wrote: >> Kurt Pfeifle wrote: >> >>>> %%BeginSetup >>> [....] >>>> %%IncludeFeature: *PageSize A4 >>>> } stopped cleartomark >>>> %%IncludeFeature: *InputSlot Tray3 >>>> } stopped cleartomark >>>> %%EndSetup >>> [....] >>> >>>> %%Page: 2 2 >>>> %%PageBoundingBox: 12 12 583 830 >>>> %%BeginPageSetup >>>> %%IncludeFeature: *InputSlot Tray4 >>>> } stopped cleartomark >>>> %%EndPageSetup >>> [....] >>> >>>> As far as I'm able to read PS, I can see that the actual PS file >>>> contains the tray switching instructions, >>> Yes. >> Uhmmm.... actually, no. It does *not* contain valid code to switch >> the trays, AFAICS. It pretends to, but it doesn't work like that. >> >> It contains "empty" code only. It should look similar to this: >> >> %%BeginSetup >> [....] >> %%IncludeFeature: *PageRegion A4 >> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >> } stopped cleartomark >> %%IncludeFeature: *InputSlot Tray3 >> << /MediaPosition 3 >> setpagedevice >> } stopped cleartomark >> %%EndSetup >> >> [....] >> >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> %%IncludeFeature: *InputSlot Tray4 >> << /MediaPosition 4 >> setpagedevice >> } stopped cleartomark >> %%EndPageSetup > > > This example should have been (with "BeginFeature" instead of > "IncludeFeature"): > > %%BeginSetup > [....] > [{ > %%BeginFeature: *PageRegion A4 > << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice > %%EndFeature > } stopped cleartomark > [{ > %%BeginFeature: *InputSlot Tray3 > << /MediaPosition 3 >> setpagedevice > %%EndFeature > } stopped cleartomark > %%EndSetup > > [....] > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > [{ > %%BeginFeature: *InputSlot Tray4 > << /MediaPosition 4 >> setpagedevice > %%EndFeature > } stopped cleartomark > %%EndPageSetup > > > In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment > and not the '%%Begin(End)Feature:' one. > > As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- > cluded features *were* listed in the %%Prolog section of the PS file. > But they aren't. Therefor, nothing is 'included'. > > There are 3 ways it could work: > > (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid > definitions of all the device features including the PS/device > code to be inserted. Then, in the "%%BeginPageSetup: ... > %%EndPageSetup" sections it is enough to use a 1-line > "%%InsertFeature: *InputSlot TrayXYZ" (where the string > "*InputSlot TrayXYZ" must match the previous definition). > > (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the > document, and expect the "document manager" to handle it by > looking up the PPD and insert the correct PS snippet into > the file. This is how OOo expects it ... however, CUPS is not > a document manager that does do this. > > (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section > use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature > } stopped cleartomark" subsection. > > > (c) is the most robust, IMHO, because it would make OOo printfiles w > work as expected on the target printer, even in the absence of a > "document manager". > > It is up to Mike to comment on his plans for CUPS to support the > '%%InsertFeature:' statements of PostScript files. > I had a chance to look a little closer now, using a real life OOo 2.2 on Linux and see what its PostScript output is. OOo indeed does emit this type of code for each page, when the tray selection feature is enabled in the respective page style: %%Page: 2 2 %%PageBoundingBox: 12 12 583 830 %%BeginPageSetup % [{ %%IncludeFeature: *InputSlot 2Tray } stopped cleartomark %%EndPageSetup I'm not sure if using '%%IncludeFeature:' is "legal" DSC if the feature is for "InputSlot". The DSC spec from Adobe says (paraphrasing): "if the %%IncludeFeature: comment is used, there must be an additional %%DocumentMedia: or a %%Requirements: comment in the header of the document." However, OOo does not write either additional comment into the header of the document. ===================================================================== Question to our resident PostScript gurus: is this an OOo bug? ===================================================================== -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Fri Sep 7 12:10:38 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 07 Sep 2007 12:10:38 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? In-Reply-To: <30458-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> <30458-cups.general@news.easysw.com> Message-ID: <30459-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Kurt Pfeifle wrote: > >>I was too quick, and therefor wrong. >> >>Kurt Pfeifle wrote: >> >>>Kurt Pfeifle wrote: >>> >>> >>>>>%%BeginSetup >>>> >>>>[....] >>>> >>>>>%%IncludeFeature: *PageSize A4 >>>>>} stopped cleartomark >>>>>%%IncludeFeature: *InputSlot Tray3 >>>>>} stopped cleartomark >>>>>%%EndSetup >>>> >>>>[....] >>>> >>>> >>>>>%%Page: 2 2 >>>>>%%PageBoundingBox: 12 12 583 830 >>>>>%%BeginPageSetup >>>>>%%IncludeFeature: *InputSlot Tray4 >>>>>} stopped cleartomark >>>>>%%EndPageSetup >>>> >>>>[....] >>>> >>>> >>>>>As far as I'm able to read PS, I can see that the actual PS file >>>>>contains the tray switching instructions, >>>> >>>>Yes. >>> >>>Uhmmm.... actually, no. It does *not* contain valid code to switch >>>the trays, AFAICS. It pretends to, but it doesn't work like that. >>> >>>It contains "empty" code only. It should look similar to this: >>> >>> %%BeginSetup >>> [....] >>> %%IncludeFeature: *PageRegion A4 >>> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >>> } stopped cleartomark >>> %%IncludeFeature: *InputSlot Tray3 >>> << /MediaPosition 3 >> setpagedevice >>> } stopped cleartomark >>> %%EndSetup >>> >>> [....] >>> >>> %%Page: 2 2 >>> %%PageBoundingBox: 12 12 583 830 >>> %%BeginPageSetup >>> %%IncludeFeature: *InputSlot Tray4 >>> << /MediaPosition 4 >> setpagedevice >>> } stopped cleartomark >>> %%EndPageSetup >> >> >>This example should have been (with "BeginFeature" instead of >>"IncludeFeature"): >> >> %%BeginSetup >> [....] >> [{ >> %%BeginFeature: *PageRegion A4 >> << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> [{ >> %%BeginFeature: *InputSlot Tray3 >> << /MediaPosition 3 >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> %%EndSetup >> >> [....] >> >> %%Page: 2 2 >> %%PageBoundingBox: 12 12 583 830 >> %%BeginPageSetup >> [{ >> %%BeginFeature: *InputSlot Tray4 >> << /MediaPosition 4 >> setpagedevice >> %%EndFeature >> } stopped cleartomark >> %%EndPageSetup >> >> >>In my haste, I overlooked that OOo uses the '%%IncludeFeature:' comment >>and not the '%%Begin(End)Feature:' one. >> >>As such, '%%IncludeFeature:' is valid and works.... *IF* all to-be-in- >>cluded features *were* listed in the %%Prolog section of the PS file. >>But they aren't. Therefor, nothing is 'included'. >> >>There are 3 ways it could work: >> >> (a) Inside the "%%BeginProlog ... %%EndProlog" section, have valid >> definitions of all the device features including the PS/device >> code to be inserted. Then, in the "%%BeginPageSetup: ... >> %%EndPageSetup" sections it is enough to use a 1-line >> "%%InsertFeature: *InputSlot TrayXYZ" (where the string >> "*InputSlot TrayXYZ" must match the previous definition). >> >> (b) Just put the "%%InsertFeature: *InputSlot TrayXYZ" lines into the >> document, and expect the "document manager" to handle it by >> looking up the PPD and insert the correct PS snippet into >> the file. This is how OOo expects it ... however, CUPS is not >> a document manager that does do this. >> >> (c) Or, inside the "%%BeginPageSetup: ... %%EndPageSetup:" section >> use a multiline "%%BeginFeature: ....(PS Code here) %%EndFeature >> } stopped cleartomark" subsection. >> >> >>(c) is the most robust, IMHO, because it would make OOo printfiles w >>work as expected on the target printer, even in the absence of a >>"document manager". >> >>It is up to Mike to comment on his plans for CUPS to support the >>'%%InsertFeature:' statements of PostScript files. >> > > > > I had a chance to look a little closer now, using a real life OOo 2.2 > on Linux and see what its PostScript output is. > > OOo indeed does emit this type of code for each page, when the tray > selection feature is enabled in the respective page style: > > %%Page: 2 2 > %%PageBoundingBox: 12 12 583 830 > %%BeginPageSetup > % > [{ > %%IncludeFeature: *InputSlot 2Tray > } stopped cleartomark > %%EndPageSetup > > I'm not sure if using '%%IncludeFeature:' is "legal" DSC if the feature > is for "InputSlot". > > The DSC spec from Adobe says (paraphrasing): > > "if the %%IncludeFeature: comment is used, there must be an > additional %%DocumentMedia: or a %%Requirements: comment in > the header of the document." > > However, OOo does not write either additional comment into the > header of the document. > > ===================================================================== > Question to our resident PostScript gurus: is this an OOo bug? > ===================================================================== > > Yes, it certainly is. The OOo folks should put the slot selection at the end of the global setup section (or repeat it in the page setup for *every* page. But, as the setpagedevice operator has a lot of side effects like executing an initgraphics etc., in this case any pagecounting by BeginPage and/or AndPage procedures and related stuff would not work). Look at the links on the CUPS web site, there is a filter named oopstops which sanitizes the PS output of OOo 2.x (and presumably 1.x, but I haven't tested that) suitable for CUPS' pstops filter. Helge -- Helge Blischke Softwareentwicklung SRZ Berlin | Firmengruppe besscom H.Blischke at acm.org From till.kamppeter at gmail.com Fri Sep 7 13:28:50 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Fri, 07 Sep 2007 13:28:50 -0700 Subject: [cups.general] [QUESTION] Is this an OOo bug when creating PostScript printfiles? In-Reply-To: <30459-cups.general@news.easysw.com> References: <30449-cups.general@news.easysw.com> <30452-cups.general@news.easysw.com> <30453-cups.general@news.easysw.com> <30457-cups.general@news.easysw.com> <30458-cups.general@news.easysw.com> <30459-cups.general@news.easysw.com> Message-ID: <30460-cups.general@news.easysw.com> Helge Blischke wrote: > > Yes, it certainly is. The OOo folks should put the slot selection > at the end of the global setup section (or repeat it in the page setup > for *every* page. But, as the setpagedevice operator has a lot of > side effects like executing an initgraphics etc., in this case any > pagecounting by BeginPage and/or AndPage procedures and related > stuff would not work). > > Look at the links on the CUPS web site, there is a filter named oopstops > which sanitizes the PS output of OOo 2.x (and presumably 1.x, but > I haven't tested that) suitable for CUPS' pstops filter. > This filter I have made standard in Ubuntu, from Gutsy/7.10 on. Till From 999alfred at comcast.net Fri Sep 7 13:50:39 2007 From: 999alfred at comcast.net (tj) Date: Fri, 07 Sep 2007 13:50:39 -0700 Subject: Brother HL-1440 printing to high ppd has no effect Message-ID: <30461-cups.general@news.easysw.com> I have been fighting this war for a while and I really need to get it fixed now. I have a Brother HL-140 laser and it is printing to high up the page and the upper printing gets cut off. If printing to a form, all printing is to high for the form. The problem seems to be that the upper .17" non-printable area of the printer is not being taken into account. In looking at the .ppd file, my printer is called 1440 and the file is /etc/cups/ppd/1440.ppd, the ppd tag ImagableArea was: *ImageableArea Letter/Letter: "18 12 594 780" which did not seem right, so I recalculated and changed it to *ImageableArea Letter/Letter: "18 12 576 767" But, it had NO effect, the printing do not move on the page at all. So, I got even more drastic and changed it to: *ImageableArea Letter/Letter: "18 12 576 700" Which should move the printing down a full inch, but it again had no effect. Everything still printed in the exact same place on the page. Shouldn't changing this casue SOMETHING to happen? I am using Glables on #5371 buisness card stock, but when printing web pages from Firefox the page header is partially cut off also. With the start of printing starting .17" down. tj From walterwego at macosx.com.invalid Fri Sep 7 17:48:18 2007 From: walterwego at macosx.com.invalid (Matt Broughton) Date: Fri, 07 Sep 2007 17:48:18 -0700 Subject: MacOSX and epson impact fx-890 References: <30445-cups.general@news.easysw.com> Message-ID: <30462-cups.general@news.easysw.com> In article <30445-cups.general at news.easysw.com>, Jean Pierre Jammet wrote: > > In article <30439-cups.general at news.easysw.com>, > > Jean Pierre Jammet wrote: > > > Using the CUPS Printer Manager (http://localhost:631/printers/) I see: > > > Location: 10.10.0.141 > > > Make&Model: Epson 24-pin Series CUPS v1.2 > > > Printer State: idle, accepting jobs, published. > > > Device URI: socket://10.10.0.141 > > > > TextEdit is only one of the applications that is problematic. Printing from > FileMaker8 and others is also prolematic. I will try printing from BBedit or > similar when I am in office again. I would also suggest trying to printing a text file from the command line vs TextEdit or some other application. It will run through a different set of filters. All print jobs from the print window in OS X applications are sent as PDFs. When you print from the command line, it will type the file as 'text' and it will use a different set of filters. The test page from the CUPS web interface sends a PostScript file to be printed. It is not changed to PDF first. Again, a different set of filters. > We have another iMac that seems to print > OK to this printer but all configurations are the same. Could a PPD file be > the cause of the problem? PPDs are normally reflective of the driver's capabilities rather than creating capabilities. > How can I tell what PPD file is in use by a > particular printer in the CUPS Admin listing? As you are using v1.2.x of CUPS, your web interface is a bit different than what is supplied by Apple. Based on your first post, the PPD is listed under Make&Model. It tells you that you are using the Epson 24-pin Series PPD supplied with the CUPS installation. The model PPD would be at /usr/share/cups/model/epson24.ppd (or something very close to that). FWIW, I think just about every post I have seen that combine a pin printer and OS X says that the output is off. Matt -- Matt Broughton Only relatives are absolute. From mike at easysw.com Fri Sep 7 20:52:15 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 20:52:15 -0700 Subject: MacOSX and epson impact fx-890 In-Reply-To: <30462-cups.general@news.easysw.com> References: <30445-cups.general@news.easysw.com> <30462-cups.general@news.easysw.com> Message-ID: <30463-cups.general@news.easysw.com> Matt Broughton wrote: > ... > The test page from the CUPS web interface sends a PostScript file to be > printed. It is not changed to PDF first. Again, a different set of > filters. Actually, that's not true on Mac OS X - PostScript normally gets converted to PDF, which then is rasterized by cgpdftoraster. > ... > FWIW, I think just about every post I have seen that combine a pin > printer and OS X says that the output is off. We've not had any bug reports on the CUPS site or that I've seen on Apple's bug reporting page, either... (I do have 9-pin and 24-pin impact printers in my office...) -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From h.blischke at srz.de Sat Sep 8 08:10:48 2007 From: h.blischke at srz.de (Helge Blischke) Date: Sat, 08 Sep 2007 08:10:48 -0700 Subject: running OOo 2.2 as a CUPS filter Message-ID: <30464-cups.general@news.easysw.com> In order to automate bulk printing of office documents I managed to run OOo 2.2 (via a small wrapper written in Perl) as a filter in CUPS. OOo is called from within the wrapper as soffice -headless -display :n name_of_document It may occur that the ordinary X display does not work under lp as user due to authentification problems. In that case it works with connecting to a display provided by the Xvfb fake server. Now to the problem: Though it usually requires some initial hacks to get OOo properly initialized for user lp, it works with most Linux distributions, but *not* on a SUSe 8.2 system (there are several conditions which prohibit an update in the short run). Perhaps someone aquainted to the SUSe peculiarities can lead me to the right direction? Helge From j.boguslawski at post.pl Sat Sep 8 10:28:09 2007 From: j.boguslawski at post.pl (Jakub) Date: Sat, 08 Sep 2007 10:28:09 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30465-cups.general@news.easysw.com> Hello I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 printer. I have add this printer to local Cups server as remote ipp queue. Printer driver was installed from PPD file. Cups works great I am printing booklets with correctly filtered options. I have one problem. Cups stores job names correctly, but these names are lost when they are stored on printer. Every job which is coming from cups appears on remote queue as "Unknown". I haven't got this problem when I am printing from windows, unfortunately :( What am I doing wrong? Is it a Cups bug or it possible to add some conf options to forward job names correctly. Best regards, thanks Jakub From k1pfeifle at gmx.net Sat Sep 8 11:18:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sat, 08 Sep 2007 11:18:08 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30465-cups.general@news.easysw.com> References: <30465-cups.general@news.easysw.com> Message-ID: <30466-cups.general@news.easysw.com> Jakub wrote: > I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > printer. Nice little thing, that :-) > I have add this printer to local Cups server as remote ipp > queue. Printer driver was installed from PPD file. Cups works great I > am printing booklets with correctly filtered options. I have one > problem. Cups stores job names correctly, but these names are lost > when they are stored on printer. Every job which is coming from cups > appears on remote queue as "Unknown". I haven't got this problem when > I am printing from windows, unfortunately :( What am I doing wrong? > Is it a Cups bug or it possible to add some conf options to forward > job names correctly. What happens if you print from the commandline using the "-t", resp. the "-T" parameter? lp -d ineo -t "This is the job title" /path/to/file lpr -P ineo -T "This is the job title" /path/to/file -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From j.boguslawski at post.pl Sat Sep 8 14:24:44 2007 From: j.boguslawski at post.pl (Jakub) Date: Sat, 08 Sep 2007 14:24:44 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30467-cups.general@news.easysw.com> > Jakub wrote: > > > I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > > printer. > > Nice little thing, that :-) > > > I have add this printer to local Cups server as remote ipp > > queue. Printer driver was installed from PPD file. Cups works great I > > am printing booklets with correctly filtered options. I have one > > problem. Cups stores job names correctly, but these names are lost > > when they are stored on printer. Every job which is coming from cups > > appears on remote queue as "Unknown". I haven't got this problem when > > I am printing from windows, unfortunately :( What am I doing wrong? > > Is it a Cups bug or it possible to add some conf options to forward > > job names correctly. > > What happens if you print from the commandline using the "-t", resp. > the "-T" parameter? > > lp -d ineo -t "This is the job title" /path/to/file > lpr -P ineo -T "This is the job title" /path/to/file > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany I am printing with exactly the same command. Maybe it is the bug in printer firmware but why jobs printed from windows have correct names. It is big problem form me. I am printing results of some analysis with id in file name. I am executing scripts from java, I haven't got information if the result was printed correctly I can only say that the job was delivered to printer. I would be able to solve the problem if I would have correct job names in printers log. Thanks, best regards Jakub Bogusławski From k1pfeifle at gmx.net Sat Sep 8 17:11:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sat, 08 Sep 2007 17:11:28 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30467-cups.general@news.easysw.com> References: <30467-cups.general@news.easysw.com> Message-ID: <30468-cups.general@news.easysw.com> Jakub wrote: >> Jakub wrote: >> >>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 >>> printer. >> Nice little thing, that :-) >> >>> I have add this printer to local Cups server as remote ipp >>> queue. Printer driver was installed from PPD file. Cups works great I >>> am printing booklets with correctly filtered options. I have one >>> problem. Cups stores job names correctly, but these names are lost >>> when they are stored on printer. Every job which is coming from cups >>> appears on remote queue as "Unknown". I haven't got this problem when >>> I am printing from windows, unfortunately :( What am I doing wrong? >>> Is it a Cups bug or it possible to add some conf options to forward >>> job names correctly. >> What happens if you print from the commandline using the "-t", resp. >> the "-T" parameter? >> >> lp -d ineo -t "This is the job title" /path/to/file >> lpr -P ineo -T "This is the job title" /path/to/file >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > I am printing with exactly the same command. Maybe it is the bug in > printer firmware but why jobs printed from windows have correct names. > It is big problem form me. The job names usually are transferred to the printer in a "PJL header" to the jobfile. CUPS normally has no problems to get that right -- provi- ded the PPD used to setup the queue has valid code to generate such a PJL header. It may well be that this is not the case for you. Which driver do the Windows clients use? (And do they also print via CUPS, or do they print directly to the ineo?) > I am printing results of some analysis with > id in file name. I am executing scripts from java, I haven't got > information if the result was printed correctly I can only say that > the job was delivered to printer. I would be able to solve the problem > if I would have correct job names in printers log. I recommend you the following: * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities * read that, and grab my "2dir" and "2file" backend scripts there You can use these to set up a virtual CUPS printers with one of these backends which will write the jobfile (after all filtering is done) to disk instead of sending it off to a printmachine. Use the same PPD for the virtual printer(s). Let both, the Windows clients and your command- line print to these queues. Look at the differences in the files (mainly, the headers. Draw your conclusions from that. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From johnpipe at sonic.net Sun Sep 9 01:26:52 2007 From: johnpipe at sonic.net (John Meshkoff) Date: Sun, 09 Sep 2007 01:26:52 -0700 Subject: Phantom printers on parallel port? (CUPS 1.2.6) Message-ID: <30469-cups.general@news.easysw.com> I have a Vector Linux 5.8 on one of my partitions, with CUPS 1.2.6 installed. The web interface is used here (no VL or other GUI IF), and when going to the administration tab, the autodection feature shows two non-existant printers connected to the parallel port. The only printer connected to that port is an HP500 DeskJet. Configuration was not so smooth; I selected one of the TWO instances of Parallel Port #1, and each identifies the port as a particular printer brand, CANON and EPSON. The only way I could configure the printer was to select one of these from the interface drop down list and then load a ppd file, as these odd defaults only give drop downs for these brands of printers (pcl drivers if I remember correctly; I had to login to RH6.1 to get my registration email for the CUPS site so I can't look it up now). Fortunately I had a good HP500.ppd available from my RH6.1 partition with an old version of CUPS, and this got the printer working. However, the resulting URI looks rather odd: CANON://dev/lp0 Is this a known issue, possibly fixed? Or, possibly something to do with the way VL5.8 is set up? Printer working OK, but I'm curious to find out what's going on here. Thanks, John From premjo.elias at gmail.com Sun Sep 9 01:30:26 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 09 Sep 2007 01:30:26 -0700 Subject: ID CARD driver development Message-ID: <30470-cups.general@news.easysw.com> > Premjo wrote: > > Is it possible to develop device driver for ID CARD printers by using CUPS? > > Assuming that you have documentation on the printers and they support > raster graphics, then yes it is possible for you to develop a driver > for CUPS. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Yes i have. But how i can pass id card printer specific commands through cups? premjo From j.boguslawski at post.pl Sun Sep 9 06:13:49 2007 From: j.boguslawski at post.pl (Jakub) Date: Sun, 09 Sep 2007 06:13:49 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30471-cups.general@news.easysw.com> > Jakub wrote: > >> Jakub wrote: > >> > >>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > >>> printer. > >> Nice little thing, that :-) > >> > >>> I have add this printer to local Cups server as remote ipp > >>> queue. Printer driver was installed from PPD file. Cups works great I > >>> am printing booklets with correctly filtered options. I have one > >>> problem. Cups stores job names correctly, but these names are lost > >>> when they are stored on printer. Every job which is coming from cups > >>> appears on remote queue as "Unknown". I haven't got this problem when > >>> I am printing from windows, unfortunately :( What am I doing wrong? > >>> Is it a Cups bug or it possible to add some conf options to forward > >>> job names correctly. > >> What happens if you print from the commandline using the "-t", resp. > >> the "-T" parameter? > >> > >> lp -d ineo -t "This is the job title" /path/to/file > >> lpr -P ineo -T "This is the job title" /path/to/file > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > I am printing with exactly the same command. Maybe it is the bug in > > printer firmware but why jobs printed from windows have correct names. > > It is big problem form me. > > The job names usually are transferred to the printer in a "PJL header" > to the jobfile. CUPS normally has no problems to get that right -- provi- > ded the PPD used to setup the queue has valid code to generate such a > PJL header. It may well be that this is not the case for you. > > Which driver do the Windows clients use? (And do they also print via > CUPS, or do they print directly to the ineo?) > > > I am printing results of some analysis with > > id in file name. I am executing scripts from java, I haven't got > > information if the result was printed correctly I can only say that > > the job was delivered to printer. I would be able to solve the problem > > if I would have correct job names in printers log. > > I recommend you the following: > > * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > * read that, and grab my "2dir" and "2file" backend scripts there > > You can use these to set up a virtual CUPS printers with one of these > backends which will write the jobfile (after all filtering is done) to > disk instead of sending it off to a printmachine. Use the same PPD for > the virtual printer(s). Let both, the Windows clients and your command- > line print to these queues. > > Look at the differences in the files (mainly, the headers. Draw your > conclusions from that. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Thank you very much for such quick answer. I've followed your instructions and have installed 2dir printer, using the same ppd file as in my ineo printer. The printer looks ok but when I try to print some documents I am receiving message: dirprinter "/usr/lib64/cups/backend/2dir failed" Description: virtual printer to test KDEPrint Location: on my harddisk, each job saved under a uniq name Producent: Generic 25C-1 PS Printer state: stopped, accepting jobs, published URI: 2dir:/tmp/vprint I can click on button "Start printer" on cups admin web page but I am getting the same error message? The idea proposed by you is great and should probably help in my case. On windows I am printing directly to printer using native driver, so maybe my ppd driver sets wrong job header. Thank you very much for your support, Jakub Boguslawski From k1pfeifle at gmx.net Sun Sep 9 07:07:51 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 09 Sep 2007 07:07:51 -0700 Subject: Problem with job names on remote ipp printer In-Reply-To: <30471-cups.general@news.easysw.com> References: <30471-cups.general@news.easysw.com> Message-ID: <30472-cups.general@news.easysw.com> Jakub wrote: >> Jakub wrote: >>>> Jakub wrote: >>>> >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 >>>>> printer. >>>> Nice little thing, that :-) >>>> >>>>> I have add this printer to local Cups server as remote ipp >>>>> queue. Printer driver was installed from PPD file. Cups works great I >>>>> am printing booklets with correctly filtered options. I have one >>>>> problem. Cups stores job names correctly, but these names are lost >>>>> when they are stored on printer. Every job which is coming from cups >>>>> appears on remote queue as "Unknown". I haven't got this problem when >>>>> I am printing from windows, unfortunately :( What am I doing wrong? >>>>> Is it a Cups bug or it possible to add some conf options to forward >>>>> job names correctly. >>>> What happens if you print from the commandline using the "-t", resp. >>>> the "-T" parameter? >>>> >>>> lp -d ineo -t "This is the job title" /path/to/file >>>> lpr -P ineo -T "This is the job title" /path/to/file >>>> >>>> -- >>>> Kurt Pfeifle >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany >>> I am printing with exactly the same command. Maybe it is the bug in >>> printer firmware but why jobs printed from windows have correct names. >>> It is big problem form me. >> The job names usually are transferred to the printer in a "PJL header" >> to the jobfile. CUPS normally has no problems to get that right -- provi- >> ded the PPD used to setup the queue has valid code to generate such a >> PJL header. It may well be that this is not the case for you. >> >> Which driver do the Windows clients use? (And do they also print via >> CUPS, or do they print directly to the ineo?) >> >>> I am printing results of some analysis with >>> id in file name. I am executing scripts from java, I haven't got >>> information if the result was printed correctly I can only say that >>> the job was delivered to printer. I would be able to solve the problem >>> if I would have correct job names in printers log. >> I recommend you the following: >> >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities >> * read that, and grab my "2dir" and "2file" backend scripts there >> >> You can use these to set up a virtual CUPS printers with one of these >> backends which will write the jobfile (after all filtering is done) to >> disk instead of sending it off to a printmachine. Use the same PPD for >> the virtual printer(s). Let both, the Windows clients and your command- >> line print to these queues. >> >> Look at the differences in the files (mainly, the headers. Draw your >> conclusions from that. >> >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > Thank you very much for such quick answer. I've followed your instructions > and have installed 2dir printer, using the same ppd file as in my ineo > printer. The printer looks ok but when I try to print some documents I am > receiving message: > > dirprinter "/usr/lib64/cups/backend/2dir failed" Well, there's no way around to read and understand the code contained in the script... To debug, add this line in the script (as the second line, right after the hashbang): set -x Then set "LogLevel debug" in your cupsd.conf. You'll now have more messages in /var/log/cups/error_log. One of these might give you a hint about what went wrong. Maybe the directory the backend is supposed to write into is not existing? Maybe it is not allowed to write into it? Then adjust its Unix file permissions accordingly. > Description: virtual printer to test KDEPrint > Location: on my harddisk, each job saved under a uniq name > Producent: Generic 25C-1 PS > Printer state: stopped, accepting jobs, published > URI: 2dir:/tmp/vprint > > I can click on button "Start printer" on cups admin web page but I am > getting the same error message? > > The idea proposed by you is great and should probably help in my case. > On windows I am printing directly to printer using native driver, so > maybe my ppd driver sets wrong job header. And native Windows driver is...? PostScript? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mike at easysw.com Sun Sep 9 08:20:53 2007 From: mike at easysw.com (Michael Sweet) Date: Sun, 09 Sep 2007 08:20:53 -0700 Subject: Phantom printers on parallel port? (CUPS 1.2.6) In-Reply-To: <30469-cups.general@news.easysw.com> References: <30469-cups.general@news.easysw.com> Message-ID: <30473-cups.general@news.easysw.com> John Meshkoff wrote: > I have a Vector Linux 5.8 on one of my partitions, with CUPS 1.2.6 > installed. The web interface is used here (no VL or other GUI IF), > and when going to the administration tab, the autodection feature > shows two non-existant printers connected to the parallel port. > ... These are coming from the Gimp-Print epson and canon backends; you can chmod 000 the backends in /usr/lib/cups/backend to eliminate them from the list. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From mike at easysw.com Sun Sep 9 08:22:27 2007 From: mike at easysw.com (Michael Sweet) Date: Sun, 09 Sep 2007 08:22:27 -0700 Subject: ID CARD driver development In-Reply-To: <30470-cups.general@news.easysw.com> References: <30470-cups.general@news.easysw.com> Message-ID: <30474-cups.general@news.easysw.com> Premjo wrote: > ... > Yes i have. But how i can pass id card printer specific commands through cups? Write a filter program that converts CUPS raster data (application/ vnd.cups-raster) to the printer's language. Then create a PPD file that uses that filter. See the filter/rastertohp.c sources from CUPS and the CUPS DDK for more information on developing a raster driver. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From nick at weaverfsg.co.uk Sun Sep 9 11:41:03 2007 From: nick at weaverfsg.co.uk (Nick Weaver) Date: Sun, 09 Sep 2007 11:41:03 -0700 Subject: Cannot access CUPS Message-ID: <30475-cups.general@news.easysw.com> I've just had to completly wipe my Freecom Storage Gateway 3. I had a few problems with the latest firmware, so I recovered the device from a HDD format with the mist stable firmware. I installed CUPS via IPKG using SSH, but whenever I try to access the server to start CUPS up (192.168.1.1:631) I get the following message from IE7 The webpage cannot be displayed Most likely cause: Some content or files on this webpage require a program that you don't have installed. What you can try: Search online for a program you can use to view this web content. Retype the address. Go back to the previous page. I've tired this on another machine on the network and it doesn't work either.... I had it working fine before by installing it via IPKG. Can anyone help? Here is the system info Linux version 2.4.27-uc1 (root at lindev) (gcc version 3.3.2) #1767 Mo Jan 29 09:46:42 CET 2007 Processor : XScale-IXP4xx/IXC11xx rev 1 (v5b) BogoMIPS : 266.24 Features : swp half thumb fastmult edsp Hardware : Intel IXP425 Freecom Platform Revision : 0000 Serial : 0000000000000000 From sacarde at tiscali.it Sun Sep 9 13:18:28 2007 From: sacarde at tiscali.it (sacarde) Date: Sun, 09 Sep 2007 13:18:28 -0700 Subject: Lexmark z515 driver Message-ID: <30476-cups.general@news.easysw.com> > Hi, > I have a printer Lexmark z515 and i try install it on Cups at Fedora 6. > But i can't find driver for it. > If someone can help me i will be happy :) > Thanks. I follow this link http://www.linuxfromscratch.org/hints/downloads/files/lexmark-printer.txt From ginestre at omnilog.com Sun Sep 9 15:38:41 2007 From: ginestre at omnilog.com (Richard) Date: Sun, 09 Sep 2007 15:38:41 -0700 Subject: remove obselete printer from trashed server Message-ID: <30477-cups.general@news.easysw.com> On my network,a PC has been trashed. But it governed a printer, which continues to be listed on all the other PCs even though I've edited it out of the /etc/cups/printer.conf file on them all. On some lpstat -a will list the defunct printer, on others it doesn't. But the CUPS browser interface on all gives me the dead printer, and any attempt to operate on it through the browser provokes a 403 Forbidden error. How can I get rid of the darn thing logically, now its not physically here? From k1pfeifle at gmx.net Sun Sep 9 19:12:50 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 09 Sep 2007 19:12:50 -0700 Subject: remove obselete printer from trashed server In-Reply-To: <30477-cups.general@news.easysw.com> References: <30477-cups.general@news.easysw.com> Message-ID: <30478-cups.general@news.easysw.com> Richard wrote: > On my network,a PC has been trashed. But it governed a printer, which > continues to be listed on all the other PCs even though I've edited it > out of the /etc/cups/printer.conf file on them all. So this is an all-Unix/Linux network? > On some lpstat -a > will list the defunct printer, on others it doesn't. What does lpstat -v say on those boxen where it is still listed? (-v tells the backend URI used for a printer, and if you see s.th. like ipp://name-or-ip/printers/oldname you know there is still a box "name-or-ip" on your network that has the logical printer installed, and broadcasts it to the rest). Also, what value did the PCs in question use -- maybe a very long timeout for browsed printers (see the setting "BrowseTimeout" in cupsd.conf)? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From tonymoloney at iinet.net.au Mon Sep 10 00:26:57 2007 From: tonymoloney at iinet.net.au (Tony Moloney) Date: Mon, 10 Sep 2007 00:26:57 -0700 Subject: Brother DCP110C won't print Message-ID: <30479-cups.general@news.easysw.com> I have gone through the process of getting my Brother DCP110C installed in Kubuntu and have got to the stage where I can actually send a test page to the printer. However it does no print. Instead it just sits in the print queue with "processing" beside its name. Can anyone show me how to get the printer started, please? I am using Kubuntu 7.10 Desktop Alpha2 on a Lenovo laptop with 1Gb ram and 80Gb hard disk. Kubuntu is the only OS installed on this computer. Thanks Tony From morger at olmero.ch Mon Sep 10 02:11:28 2007 From: morger at olmero.ch (Philipp Morger) Date: Mon, 10 Sep 2007 02:11:28 -0700 Subject: [SUGGESTION] switching trays in printjob Message-ID: <30480-cups.general@news.easysw.com> Hi Kurt > (1) go visit http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > and fetch one or both of the CUPS backend scripts "2file" and "2dir". > > (2) install a virtual printer using your PPD and one of the backend > scripts so you can "print to file" with them. > > (3) in cupsd.conf, insert "PreserveJobFiles" and restart cupsd. > > (3) print to the new printer. > > Now you'll have 2 files on disk: > > (a) the file as was handed to CUPS by OOo in /var/spool/cups/d000NN > > (b) the file as it was changed by the CUPS filtering chain, according > to your overall print settings. > > Now you can look at the differences of the two files, using > > sdiff -sbB file1 file2 > > You'll probably notice that CUPS does insert non-empty PostScript code > to address the tray selection, while OOo does a fake job on it. > > If that is confirmed, submit a bug report with the OOo folks. I fear, I don't understand too much about postscript interna, I saw that there is some significant difference, but wasn't able to tell what it is and this don't dare to file a bugreport. I took the liberty to mail you the generated files at your kde.org address - I didn't posted them here as two files are binary, and it would seriously bloat the forum... and might linebreak stuff anyway... The Prinouts are from Linux/OO via CUPS and Windows/O2K via Samba/CUPS TIA and regards Philipp From j.boguslawski at post.pl Mon Sep 10 03:22:01 2007 From: j.boguslawski at post.pl (Jakub) Date: Mon, 10 Sep 2007 03:22:01 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30481-cups.general@news.easysw.com> > Jakub wrote: > >> Jakub wrote: > >>>> Jakub wrote: > >>>> > >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > >>>>> printer. > >>>> Nice little thing, that :-) > >>>> > >>>>> I have add this printer to local Cups server as remote ipp > >>>>> queue. Printer driver was installed from PPD file. Cups works great I > >>>>> am printing booklets with correctly filtered options. I have one > >>>>> problem. Cups stores job names correctly, but these names are lost > >>>>> when they are stored on printer. Every job which is coming from cups > >>>>> appears on remote queue as "Unknown". I haven't got this problem when > >>>>> I am printing from windows, unfortunately :( What am I doing wrong? > >>>>> Is it a Cups bug or it possible to add some conf options to forward > >>>>> job names correctly. > >>>> What happens if you print from the commandline using the "-t", resp. > >>>> the "-T" parameter? > >>>> > >>>> lp -d ineo -t "This is the job title" /path/to/file > >>>> lpr -P ineo -T "This is the job title" /path/to/file > >>>> > >>>> -- > >>>> Kurt Pfeifle > >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany > >>> I am printing with exactly the same command. Maybe it is the bug in > >>> printer firmware but why jobs printed from windows have correct names. > >>> It is big problem form me. > >> The job names usually are transferred to the printer in a "PJL header" > >> to the jobfile. CUPS normally has no problems to get that right -- provi- > >> ded the PPD used to setup the queue has valid code to generate such a > >> PJL header. It may well be that this is not the case for you. > >> > >> Which driver do the Windows clients use? (And do they also print via > >> CUPS, or do they print directly to the ineo?) > >> > >>> I am printing results of some analysis with > >>> id in file name. I am executing scripts from java, I haven't got > >>> information if the result was printed correctly I can only say that > >>> the job was delivered to printer. I would be able to solve the problem > >>> if I would have correct job names in printers log. > >> I recommend you the following: > >> > >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > >> * read that, and grab my "2dir" and "2file" backend scripts there > >> > >> You can use these to set up a virtual CUPS printers with one of these > >> backends which will write the jobfile (after all filtering is done) to > >> disk instead of sending it off to a printmachine. Use the same PPD for > >> the virtual printer(s). Let both, the Windows clients and your command- > >> line print to these queues. > >> > >> Look at the differences in the files (mainly, the headers. Draw your > >> conclusions from that. > >> > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > Thank you very much for such quick answer. I've followed your instructions > > and have installed 2dir printer, using the same ppd file as in my ineo > > printer. The printer looks ok but when I try to print some documents I am > > receiving message: > > > > dirprinter "/usr/lib64/cups/backend/2dir failed" > > > Well, there's no way around to read and understand the code contained in > the script... > > To debug, add this line in the script (as the second line, right after > the hashbang): > > set -x > > Then set "LogLevel debug" in your cupsd.conf. > > You'll now have more messages in /var/log/cups/error_log. One of these > might give you a hint about what went wrong. > > Maybe the directory the backend is supposed to write into is not > existing? Maybe it is not allowed to write into it? Then adjust its > Unix file permissions accordingly. > > > Description: virtual printer to test KDEPrint > > Location: on my harddisk, each job saved under a uniq name > > Producent: Generic 25C-1 PS > > Printer state: stopped, accepting jobs, published > > URI: 2dir:/tmp/vprint > > > > I can click on button "Start printer" on cups admin web page but I am > > getting the same error message? > > > > The idea proposed by you is great and should probably help in my case. > > On windows I am printing directly to printer using native driver, so > > maybe my ppd driver sets wrong job header. > > And native Windows driver is...? PostScript? > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany I have found (following your suggestions) that ps files generated via windows driver is different from that generated using ppd file. Windows ps file header: %-12345X at PJL JOB @PJL SET STRINGCODESET = UTF8 @PJL SET JOBNAME = "1000000094_Pl.pdf" @PJL SET USERNAME = "Kuba" @PJL SET KMCOE = 72 @PJL SET HOLD = OFF @PJL SET DRIVERJOBID = "0002442DFFB6090A0B24280152" @PJL SET QTY = 1 @PJL ENTER LANGUAGE=POSTSCRIPT %!PS-Adobe-3.0 %%Title: 1000000094_Pl.pdf %%Creator: PScript5.dll Version 5.2 %%CreationDate: 9/10/2007 11:36:40 %%For: Kuba %%BoundingBox: (atend) %%DocumentNeededResources: (atend) %%DocumentSuppliedResources: (atend) %%DocumentData: Clean7Bit %%TargetDevice: (25C-1/25C-1P) (3011.045) 1 %%LanguageLevel: 3 %%EndComments Linux ps file header: %!PS-Adobe-3.0 %Producer: xpdf/pdftops 3.01 %%Creator: BIOMOL-MED Sp. z o.o. %%Title: Wynik analizy wlosow %%LanguageLevel: 2 %%DocumentSuppliedResources: (atend) %%DocumentMedia: plain 595 842 0 () () %%For: (root) %RBINumCopies: 1 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments %%BeginDefaults %%PageMedia: plain %%EndDefaults So as you there isn't PJL header in linux file at all. It is also strange that this title "Wynik analizy wlosow" is some part of the the text, somewhere in this document. This name appears in printer log for about 2 seconds and then it disappears. I have read that it is possible to print via pipe to any command, so maybe it is possible to write a script which would add PJB header to ps file, or maybe it is a problem of differences in ps levels between win and Linux. Thank you very much for Your support Kuba From j.boguslawski at post.pl Mon Sep 10 03:35:19 2007 From: j.boguslawski at post.pl (Jakub) Date: Mon, 10 Sep 2007 03:35:19 -0700 Subject: Problem with job names on remote ipp printer Message-ID: <30482-cups.general@news.easysw.com> > > Jakub wrote: > > >> Jakub wrote: > > >>>> Jakub wrote: > > >>>> > > >>>>> I am using openSuse 10.2 with Cups 1.27. I have Develop INEO+ 250 > > >>>>> printer. > > >>>> Nice little thing, that :-) > > >>>> > > >>>>> I have add this printer to local Cups server as remote ipp > > >>>>> queue. Printer driver was installed from PPD file. Cups works great I > > >>>>> am printing booklets with correctly filtered options. I have one > > >>>>> problem. Cups stores job names correctly, but these names are lost > > >>>>> when they are stored on printer. Every job which is coming from cups > > >>>>> appears on remote queue as "Unknown". I haven't got this problem when > > >>>>> I am printing from windows, unfortunately :( What am I doing wrong? > > >>>>> Is it a Cups bug or it possible to add some conf options to forward > > >>>>> job names correctly. > > >>>> What happens if you print from the commandline using the "-t", resp. > > >>>> the "-T" parameter? > > >>>> > > >>>> lp -d ineo -t "This is the job title" /path/to/file > > >>>> lpr -P ineo -T "This is the job title" /path/to/file > > >>>> > > >>>> -- > > >>>> Kurt Pfeifle > > >>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >>>> A RICOH Company ........................... D-70327 Stuttgart/Germany > > >>> I am printing with exactly the same command. Maybe it is the bug in > > >>> printer firmware but why jobs printed from windows have correct names. > > >>> It is big problem form me. > > >> The job names usually are transferred to the printer in a "PJL header" > > >> to the jobfile. CUPS normally has no problems to get that right -- provi- > > >> ded the PPD used to setup the queue has valid code to generate such a > > >> PJL header. It may well be that this is not the case for you. > > >> > > >> Which driver do the Windows clients use? (And do they also print via > > >> CUPS, or do they print directly to the ineo?) > > >> > > >>> I am printing results of some analysis with > > >>> id in file name. I am executing scripts from java, I haven't got > > >>> information if the result was printed correctly I can only say that > > >>> the job was delivered to printer. I would be able to solve the problem > > >>> if I would have correct job names in printers log. > > >> I recommend you the following: > > >> > > >> * go to http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities > > >> * read that, and grab my "2dir" and "2file" backend scripts there > > >> > > >> You can use these to set up a virtual CUPS printers with one of these > > >> backends which will write the jobfile (after all filtering is done) to > > >> disk instead of sending it off to a printmachine. Use the same PPD for > > >> the virtual printer(s). Let both, the Windows clients and your command- > > >> line print to these queues. > > >> > > >> Look at the differences in the files (mainly, the headers. Draw your > > >> conclusions from that. > > >> > > >> > > >> -- > > >> Kurt Pfeifle > > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > > > Thank you very much for such quick answer. I've followed your instructions > > > and have installed 2dir printer, using the same ppd file as in my ineo > > > printer. The printer looks ok but when I try to print some documents I am > > > receiving message: > > > > > > dirprinter "/usr/lib64/cups/backend/2dir failed" > > > > > > Well, there's no way around to read and understand the code contained in > > the script... > > > > To debug, add this line in the script (as the second line, right after > > the hashbang): > > > > set -x > > > > Then set "LogLevel debug" in your cupsd.conf. > > > > You'll now have more messages in /var/log/cups/error_log. One of these > > might give you a hint about what went wrong. > > > > Maybe the directory the backend is supposed to write into is not > > existing? Maybe it is not allowed to write into it? Then adjust its > > Unix file permissions accordingly. > > > > > Description: virtual printer to test KDEPrint > > > Location: on my harddisk, each job saved under a uniq name > > > Producent: Generic 25C-1 PS > > > Printer state: stopped, accepting jobs, published > > > URI: 2dir:/tmp/vprint > > > > > > I can click on button "Start printer" on cups admin web page but I am > > > getting the same error message? > > > > > > The idea proposed by you is great and should probably help in my case. > > > On windows I am printing directly to printer using native driver, so > > > maybe my ppd driver sets wrong job header. > > > > And native Windows driver is...? PostScript? > > > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > I have found (following your suggestions) that ps files generated via windows driver is different from that generated using ppd file. > > Windows ps file header: > %-12345X at PJL JOB > @PJL SET STRINGCODESET = UTF8 > @PJL SET JOBNAME = "1000000094_Pl.pdf" > @PJL SET USERNAME = "Kuba" > @PJL SET KMCOE = 72 > @PJL SET HOLD = OFF > @PJL SET DRIVERJOBID = "0002442DFFB6090A0B24280152" > @PJL SET QTY = 1 > @PJL ENTER LANGUAGE=POSTSCRIPT > %!PS-Adobe-3.0 > %%Title: 1000000094_Pl.pdf > %%Creator: PScript5.dll Version 5.2 > %%CreationDate: 9/10/2007 11:36:40 > %%For: Kuba > %%BoundingBox: (atend) > %%DocumentNeededResources: (atend) > %%DocumentSuppliedResources: (atend) > %%DocumentData: Clean7Bit > %%TargetDevice: (25C-1/25C-1P) (3011.045) 1 > %%LanguageLevel: 3 > %%EndComments > > Linux ps file header: > %!PS-Adobe-3.0 > %Producer: xpdf/pdftops 3.01 > %%Creator: BIOMOL-MED Sp. z o.o. > %%Title: Wynik analizy wlosow > %%LanguageLevel: 2 > %%DocumentSuppliedResources: (atend) > %%DocumentMedia: plain 595 842 0 () () > %%For: (root) > %RBINumCopies: 1 > %%Pages: (atend) > %%BoundingBox: (atend) > %%EndComments > %%BeginDefaults > %%PageMedia: plain > %%EndDefaults > > So as you there isn't PJL header in linux file at all. It is also strange that this title "Wynik analizy wlosow" is some part of the the text, somewhere in this document. This name appears in printer log for about 2 seconds and then it disappears. I have read that it is possible to print via pipe to any command, so maybe it is possible to write a script which would add PJB header to ps file, or maybe it is a problem of differences in ps levels between win and Linux. > > Thank you very much for Your support > Kuba Well it seems that it is working!!! When I add PJL header the job title in printer log is correct!! I have to write a script which will take job name as a parameter, add pjl header and than forward job to a printer. Printing to a pipe would be the best solution? Big thanks Kuba From danielfabiani at yahoo.es Mon Sep 10 05:04:34 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Mon, 10 Sep 2007 05:04:34 -0700 Subject: Problems with format printing through Samba Message-ID: <30483-cups.general@news.easysw.com> Hi, I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. Here is the log, thanks a lot four your help. D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes d [10/Sep/2007:13:22:54 +0200] process_children() E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... From chouinard.dany at csob.qc.ca Mon Sep 10 07:56:22 2007 From: chouinard.dany at csob.qc.ca (Dany Chouinard) Date: Mon, 10 Sep 2007 07:56:22 -0700 Subject: [cups.general] Problems with format printing through Samba In-Reply-To: <30483-cups.general@news.easysw.com> References: <30483-cups.general@news.easysw.com> Message-ID: <30484-cups.general@news.easysw.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [Job 46] Printer is busy; retrying print job... Can you print from the linux server? Is the printer USB or networked? Dany CHOUINARD Daniel Martin a écrit : > Hi, > > I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. > > But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. > > Here is the log, thanks a lot four your help. > > D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... > D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... > D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) > D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" > D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" > D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none > D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" > D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" > D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" > I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... > d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs > d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes > d [10/Sep/2007:13:22:54 +0200] process_children() > E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! > D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... > I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) > d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 > D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > - -- Dany CHOUINARD Technicien en informatique -o) Commission scolaire de l'Or et des Bois /\ chouinard.dany at csob.qc.ca _\_v tél. 819.825.4220 ext. 3041 cel. 819.856.6892 skype. dchouinard courriel. chouinard.dany at csob.qc.ca <<<(((( ))))>>> Ce document est signé numériquement par GnuPG http://www.gnupg.org/fr/index.html Pour récupérer ma clef publique, consultez mon site internet : www.danychouinard.net/clef.asc <<<(((( ))))>>> Vous connaissez http://www.linuxabitibi.org ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5VsJa9/+BUSG+LQRAoLQAJsEKb/vIH/LoDhIgBkk+29MrgLHzwCgz8u9 QIiXrUkaO8qBFWMWl4g608I= =UAKN -----END PGP SIGNATURE----- From throw_away_2002 at yahoo.com Mon Sep 10 07:59:30 2007 From: throw_away_2002 at yahoo.com (Tom) Date: Mon, 10 Sep 2007 07:59:30 -0700 Subject: [cups.general] Can no longer print with a USB URI Message-ID: <30485-cups.general@news.easysw.com> My printers.conf file has a line: DeviceURI usb://EPSON/Stylus%20CX3700 This USED to work fine, but something got "upgraded" that broke it, and even downgrading (udev and a couple of other things) and rebuilding cups (1.2.10) doesn't fix it. Now whenever I try to print ANYTHING, the web page starts with some percentage received, but then shifts to: "Printer not connected; will retry in 30 seconds..." And never prints anything. If I change the DeviceURI line to "file://dev/usb/lp0" then it works fine again. Any ideas on how to track this down? Thanks. Tom ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From tmuniz at sprich.com Mon Sep 10 08:58:58 2007 From: tmuniz at sprich.com (Tony) Date: Mon, 10 Sep 2007 08:58:58 -0700 Subject: Class and Printer Control and Views Message-ID: <30486-cups.general@news.easysw.com> Hi! Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! Thanks! Tony From msweet at apple.com Mon Sep 10 09:38:20 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 10 Sep 2007 09:38:20 -0700 Subject: [cups.general] Class and Printer Control and Views In-Reply-To: <30486-cups.general@news.easysw.com> References: <30486-cups.general@news.easysw.com> Message-ID: <30487-cups.general@news.easysw.com> Tony wrote: > Hi! > > Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? About all you can do is require authentication and then list the users (or groups) that are allowed to print to each printer or class. > Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! See the policy help page: http://localhost:631/help/policies.html Basically, you want to set up an "operator" group and then allow it to do start/stop printer stuff. CUPS 1.3 is already set up with a suitable policy - you just need to add a group to the "Require" line. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From sps at sanger.ac.uk Mon Sep 10 09:44:11 2007 From: sps at sanger.ac.uk (Steve Stamford) Date: Mon, 10 Sep 2007 09:44:11 -0700 Subject: [cups.general] Problem with talking to a windows server Message-ID: <30488-cups.general@news.easysw.com> Hi, I wonder if anyone out there can help me with a niggling problem. What I would like to do is point a Debian cups client at a windows print server. I think I should be able to do this via IPP? So I change the BrowsePoll line in cupsd.conf on my linux machine to point to windows server:80 (windows uses 80 rather than 631!!!) but I get CUPS-Get-Printers failed: Unknown in the error log and no printers We are using: ii cupsys 1.2.7-4 Common UNIX Printing System(tm) - server ii cupsys-bsd 1.2.7-4 Common UNIX Printing System(tm) - BSD commands ii cupsys-client 1.2.7-4 Common UNIX Printing System(tm) - client programs (SysV) ii cupsys-common 1.2.7-4 Common UNIX Printing System(tm) - common files Is there a problem with the config or am I doing something that can't be done? Is this a bug at this version? Any help appreciated Cheers Steve Steve Stamford Operations Manager The Wellcome Trust Sanger Institute Wellcome Trust Genome Campus Hinxton, Cambridge CB10 1SA Tel: +44(0)1223 496941 Email: sps at sanger.ac.uk -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmuniz at sprich.com Mon Sep 10 10:02:27 2007 From: tmuniz at sprich.com (Tony) Date: Mon, 10 Sep 2007 10:02:27 -0700 Subject: Class and Printer Control and Views Message-ID: <30489-cups.general@news.easysw.com> > Tony wrote: > > Hi! > > > > Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? > > About all you can do is require authentication and then list the users > (or groups) that are allowed to print to each printer or class. > > > Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! > > See the policy help page: > > http://localhost:631/help/policies.html > > Basically, you want to set up an "operator" group and then allow it > to do start/stop printer stuff. CUPS 1.3 is already set up with a > suitable policy - you just need to add a group to the "Require" line. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks Michael! However, is this policy possible via CUPS 1.1.22 or do I need to upgrade? From john at cs.york.ac.uk Mon Sep 10 10:20:17 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Mon, 10 Sep 2007 10:20:17 -0700 Subject: Beginner's problem with authentication policy in 1.3.0 Message-ID: <30490-cups.general@news.easysw.com> I've just intalled CUPS 1.3.0 on Linux as an experimental print server for the first time. We have Kerberos up and working here (but not yet with CUPS) so the Linux box has correct /etc/krb5.conf and /etc/krb5.keytab. We need to have the CUPS server configured so that some clients addressing it - our desktop machines, on a certain subnet - are trusted (i.e. the username passed to the server for a print submission or other operation is not questioned), but so that print requests or other operations submitted from 'untrusted' clients on another subnet would require authentication (either for a session of printing or perhaps even per print operation). With: DefaultAuthType Negotiate the authentication should require each user's Kerberos password. I've not seen an illustration anywhere of how this looks like to the user of one of these untrusted clients - for instance in the GUI of a Mac OS X client. I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with software updates) to try this out. I decided to try an initial Location directive which Allow-s all the subnets in use, and then to have two Limit-s in the default Policy, one for the trusted subnet and one for the untrusted subnet: Allow from trusted Order deny,allow Allow from untrusted Require user @OWNER @SYSTEM Order deny,allow Unfortunately, when I try this, at no point is the user on the untrusted MacBook asked for their username and password. The print job is seen on the server with the username of the untrusted user on the MacBook which may well be different from their authorised username on the Departmental network. I'm just beginning with this - what have I overlooked or misunderstood, please? Is this a problem with Mac OS X's IPP (CUPS) implementation or setup, or likely to be my mistake in cupsd.conf? (I can borrow Linux and Windows untrusted clients to test, I think.) If the problem is that I have to have two different Policies, how do I associate each policy with the appropriate subnet? (I might imagine Allow directives in the Location part which each have an associated Policy qualifier e.g. Allow from untrusted Policy untrusted; Allow from trusted Policy trusted; John A. Murdie From msweet at apple.com Mon Sep 10 10:23:31 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 10 Sep 2007 10:23:31 -0700 Subject: [cups.general] Class and Printer Control and Views In-Reply-To: <30489-cups.general@news.easysw.com> References: <30489-cups.general@news.easysw.com> Message-ID: <30491-cups.general@news.easysw.com> Tony wrote: >> Tony wrote: >>> Hi! >>> >>> Is there a way to filter out printer and class views shown by the GUI webpage? We'd like to have a single CUPS server serve several different sites but don't necessarily want them to see each others classes and printers. Can this be done with jobs as well? >> About all you can do is require authentication and then list the users >> (or groups) that are allowed to print to each printer or class. >> >>> Also, is there a way of allowing a user to enable and disable a class or printer without giving them complete Admin rights (maybe a "power user" of sort)? I'd like to be able to give sites the ability to start/stop classes and printers without giving them the ability to delete or modify anything. Please, let me know! >> See the policy help page: >> >> http://localhost:631/help/policies.html >> >> Basically, you want to set up an "operator" group and then allow it >> to do start/stop printer stuff. CUPS 1.3 is already set up with a >> suitable policy - you just need to add a group to the "Require" line. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Thanks Michael! However, is this policy possible via CUPS 1.1.22 or do I need to upgrade? You'll need at least CUPS 1.2 to use the policy stuff. CUPS 1.1.x doesn't offer configurable policies... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From archimede.unix.system at gmail.com Mon Sep 10 10:52:41 2007 From: archimede.unix.system at gmail.com (Archimede) Date: Mon, 10 Sep 2007 10:52:41 -0700 Subject: Lexmark x7350 - Driver for Linux Message-ID: <30492-cups.general@news.easysw.com> I have a Lexmark x7350, but I cannot use it why the driver does not exist for my debian-sid. Is being studied for one solution? Thanks From k1pfeifle at gmx.net Mon Sep 10 11:29:21 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 10 Sep 2007 11:29:21 -0700 Subject: [cups.general] Problem with talking to a windows server In-Reply-To: <30488-cups.general@news.easysw.com> References: <30488-cups.general@news.easysw.com> Message-ID: <30493-cups.general@news.easysw.com> Steve Stamford wrote: > What I would like to do is point a Debian cups client at a windows print > server. I think I should be able to do this via IPP? ipp:// or smb.// or lpd:// > So I change the BrowsePoll line in cupsd.conf on my linux machine to > point to windows server:80 (windows uses 80 rather than 631!!!) That doesn't work. Browsing and BrowsePoll is a registered CUPS extension to the IPP protocol, and that extension is not supported by the MS Windows side. Also, IPP is only supported in version 1.0 (which means, no authentica- tion for you). It will only work if the receiving windows print server allows you unauthenticated access via IPP. So my advice would rather be to look into smbspool printing. In case your CUPS client is part of the Windows domain via Samba, it could be made fairly secure, and still convenient (no password typing for each print job). You may need the rather new "samba-krb-printing" package (at least that's the name on SUSE). It contains a utility called "get_printing_ticket" that can be described as "binary wrapper to run smbspool with the original calling UID" and it automatically fetches and uses a Kerberos ticket from the domain controller (written by Jeremy Allison, BTW). Last alternative is lpd:// -- but this requires to enable the "Unix Print Services" on the Windows print server. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From marioadmin at cox.net Mon Sep 10 11:47:15 2007 From: marioadmin at cox.net (Mario Flores) Date: Mon, 10 Sep 2007 11:47:15 -0700 Subject: Cannot print from MacOSX to debian... Message-ID: <30494-cups.general@news.easysw.com> I recently upgraded to debian etch and tried to set it up as a print server (I did not do it with sarge). I also have an XP and iMac comptuers on my LAN. I can print from debian (local) and from the XP computer, but not from the iMac. When adding the printer in iMac, I chose IPP, the linux pc adddress, and the default queue appears there. Then when I try to print, I get a message that the server is busy and will retry. I see the job in the iMac's queue but not in the linux queue. I run debug on the linux cups system and the following line catched my attention: D [10/Sep/2007:10:23:20 -0700] cupsdAuthorize: No authentication data provided. I thought I had set up cups to allow anyone to print. The section of cupsd.conf file for printers follows: AuthType None Order Deny,Allow Deny From None Allow From All Any help is appreciated. Thanks, Mario. From eduardhc at gmail.com Mon Sep 10 12:00:18 2007 From: eduardhc at gmail.com (Eduard Huguet) Date: Mon, 10 Sep 2007 12:00:18 -0700 Subject: Can no longer print with a USB URI Message-ID: <30495-cups.general@news.easysw.com> Exactly the same case here with an Epson RX-500 (multifunction), which was running smoothly just some days ago. My data: · Sabayon Linux 3.3 (Gentoo) almost daily world-updated · CUPS 1.2.10-r10 (lastest stable release, but the problem arised first with 1.2.12, which I downgraded just for testing) · Gimp-print (Gutenprint) 4.2.7 After manually changing the URI to "file://dev/usb/lp0" in /etc/cups/printers.conf it's working fine again. Best regards, Eduard Huguet > My printers.conf file has a line: > > DeviceURI usb://EPSON/Stylus%20CX3700 > > This USED to work fine, but something got "upgraded" that > broke it, and even downgrading (udev and a couple of other > things) and rebuilding cups (1.2.10) doesn't fix it. > > Now whenever I try to print ANYTHING, the web page starts > with some percentage received, but then shifts to: > > "Printer not connected; will retry in 30 seconds..." > > And never prints anything. > > If I change the DeviceURI line to "file://dev/usb/lp0" > then it works fine again. > > Any ideas on how to track this down? Thanks. > > Tom > > > > ____________________________________________________________________________________ > Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545433 > From sps at sanger.ac.uk Mon Sep 10 12:03:33 2007 From: sps at sanger.ac.uk (Steve Stamford) Date: Mon, 10 Sep 2007 12:03:33 -0700 Subject: [cups.general] Problem with talking to a windows server References: <30488-cups.general@news.easysw.com> <30493-cups.general@news.easysw.com> Message-ID: <30496-cups.general@news.easysw.com> Hi, Thanks for the info. The reason I wanted Browsepoll to work was so I could have the client automaticly update the list of printers, otherwise I have to either have a static printers.conf on each client or forward all requests from the cups server to the windows server via lpd. Thanks anyway. Steve ________________________________ From: cups-bounces at easysw.com on behalf of Kurt Pfeifle Sent: Mon 10/09/2007 19:29 To: cups at easysw.com Subject: Re: [cups.general] Problem with talking to a windows server Steve Stamford wrote: > What I would like to do is point a Debian cups client at a windows print > server. I think I should be able to do this via IPP? ipp:// or smb.// or lpd:// > So I change the BrowsePoll line in cupsd.conf on my linux machine to > point to windows server:80 (windows uses 80 rather than 631!!!) That doesn't work. Browsing and BrowsePoll is a registered CUPS extension to the IPP protocol, and that extension is not supported by the MS Windows side. Also, IPP is only supported in version 1.0 (which means, no authentica- tion for you). It will only work if the receiving windows print server allows you unauthenticated access via IPP. So my advice would rather be to look into smbspool printing. In case your CUPS client is part of the Windows domain via Samba, it could be made fairly secure, and still convenient (no password typing for each print job). You may need the rather new "samba-krb-printing" package (at least that's the name on SUSE). It contains a utility called "get_printing_ticket" that can be described as "binary wrapper to run smbspool with the original calling UID" and it automatically fetches and uses a Kerberos ticket from the domain controller (written by Jeremy Allison, BTW). Last alternative is lpd:// -- but this requires to enable the "Unix Print Services" on the Windows print server. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany _______________________________________________ cups mailing list cups at easysw.com http://lists.easysw.com/mailman/listinfo/cups -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From premjo.elias at gmail.com Mon Sep 10 23:07:18 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 10 Sep 2007 23:07:18 -0700 Subject: ID CARD driver development Message-ID: <30497-cups.general@news.easysw.com> > Premjo wrote: > > ... > > > Yes i have. But how i can pass id card printer specific commands through cups? > > Write a filter program that converts CUPS raster data (application/ > vnd.cups-raster) to the printer's language. Then create a PPD file > that uses that filter. > > See the filter/rastertohp.c sources from CUPS and the CUPS DDK for > more information on developing a raster driver. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com Hi, How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. premjo From danielfabiani at yahoo.es Tue Sep 11 03:37:24 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Tue, 11 Sep 2007 03:37:24 -0700 Subject: Problems with format printing through Samba Message-ID: <30498-cups.general@news.easysw.com> Yes the printer is networked and I can print by an lpr command without any problem. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > [Job 46] Printer is busy; retrying print job... > > Can you print from the linux server? Is the printer USB or networked? > > Dany CHOUINARD > > > Daniel Martin a écrit : > > Hi, > > > > I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. > > > > But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. > > > > Here is the log, thanks a lot four your help. > > > > D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... > > D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... > > D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) > > D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" > > D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" > > D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" > > d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none > > D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://138.100.52.21:631/ipp/" > > D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" > > D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" > > I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... > > d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs > > d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none > > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 > > d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes > > d [10/Sep/2007:13:22:54 +0200] process_children() > > E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! > > D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... > > d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... > > I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) > > d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 > > D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... > > > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > > > - -- > Dany CHOUINARD > Technicien en informatique -o) > Commission scolaire de l'Or et des Bois /\ > chouinard.dany at csob.qc.ca _\_v > > tél. 819.825.4220 ext. 3041 > cel. 819.856.6892 > skype. dchouinard > courriel. chouinard.dany at csob.qc.ca > > <<<(((( ))))>>> > Ce document est signé numériquement par GnuPG > http://www.gnupg.org/fr/index.html > Pour récupérer ma clef publique, consultez mon > site internet : www.danychouinard.net/clef.asc > <<<(((( ))))>>> > > Vous connaissez http://www.linuxabitibi.org ? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFG5VsJa9/+BUSG+LQRAoLQAJsEKb/vIH/LoDhIgBkk+29MrgLHzwCgz8u9 > QIiXrUkaO8qBFWMWl4g608I= > =UAKN > -----END PGP SIGNATURE----- > From jsmeix at suse.de Tue Sep 11 06:28:17 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Tue, 11 Sep 2007 06:28:17 -0700 Subject: [cups.general] running OOo 2.2 as a CUPS filter In-Reply-To: <30464-cups.general@news.easysw.com> References: <30464-cups.general@news.easysw.com> Message-ID: <30499-cups.general@news.easysw.com> Hello, On Sep 8 08:10 Helge Blischke wrote (shortened): > In order to automate bulk printing of office documents > I managed to run OOo 2.2 (via a small wrapper written in Perl) > as a filter in CUPS. > > OOo is called from within the wrapper as > soffice -headless -display :n name_of_document > It may occur that the ordinary X display does not > work under lp as user due to authentification problems. > In that case it works with connecting to a display > provided by the Xvfb fake server. > > Now to the problem: > Though it usually requires some initial hacks to > get OOo properly initialized for user lp, it works > with most Linux distributions, but *not* on a > SUSe 8.2 system I don't have such a system running here and therefore I cannot reporoduce anything here at the moment. Perhaps you can provide more detailed (error)-mesages? E.g. the relevant part of CUPS' error_log in debug mode while your filter is executed or do a "su - lp" and then run only your OOo command to get OOo's (error)-mesages. 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 Sep 11 06:28:27 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 11 Sep 2007 06:28:27 -0700 Subject: ID CARD driver development In-Reply-To: <30497-cups.general@news.easysw.com> References: <30497-cups.general@news.easysw.com> Message-ID: <30500-cups.general@news.easysw.com> Premjo wrote: >> Premjo wrote: >>> ... >>> Yes i have. But how i can pass id card printer specific commands through cups? >> Write a filter program that converts CUPS raster data (application/ >> vnd.cups-raster) to the printer's language. Then create a PPD file >> that uses that filter. >> >> See the filter/rastertohp.c sources from CUPS and the CUPS DDK for >> more information on developing a raster driver. >> >> -- >> ______________________________________________________________________ >> Michael Sweet, Easy Software Products mike at easysw dot com >> Internet Printing and Publishing Software http://www.easysw.com > > Hi, > > How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. rastertohp.c is part of the CUPS sources. I suggested it over the DDK drivers because it is simpler to modify. The DDK provides the tools for creating PPD files, along with documentation on how to write a driver. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From joerg-schoemer at web.de Tue Sep 11 06:40:57 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 06:40:57 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30501-cups.general@news.easysw.com> Hi all, I want to add the peel-off print mode to the zebra.ppd within the Zebra ZPL II manual I found the values for the ^MM command as follows: ^MMa,b a = desired mode T = Tear-off P = Peel-off R = Rewind A = Applicator C = Cutter D = Delayed Cut default T b = prepeel select N = no Y = yes when sending a ~HS to the printer the possible values for the print mode are: 0: Rewind 1: Peel-off 2: Tear-off 3: Cutter 4: Applicator So I tried to change the CutMedia as follows: ---- snipp ---- *OpenUI *CutMedia/Print Mode: PickOne *OrderDependency: 10 AnySetup *Cut *DefaultPrintMode: peel *CutMedia rewind/Rewind: "<>setpagedevice" *CutMedia peel/Peel off: "<>setpagedevice" *CutMedia tear/Tear off: "<>setpagedevice" *CutMedia cutter/Cutter: "<>setpagedevice" *CutMedia delayed/Delayed cut: "<>setpagedevice" *CloseUI: *CutMedia ---- snipp ---- But I'd no success. Can someone give me a hint to solve it. Best regards Joerg From Christian.Andretzky at MB.TU-Chemnitz.DE Tue Sep 11 07:32:06 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Tue, 11 Sep 2007 07:32:06 -0700 Subject: [cups.general] Problems with HP LJ P2015 Message-ID: <30502-cups.general@news.easysw.com> Hi, I have a brand new printer HP LJ P2015 and I have problems with the page size and/or imageable area and or page region. I setup the printer as a postscript printer and use the original HP ppd file. (No ghostscript as far as I know.) All of the above mentioned parameters are set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in the printer firmware is also A4. But independent of this, each page which is printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this printer I used a HP LJ 4000 DTN (also postscript) with no problems. Any ideas? Thanks for Your help Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From joerg-schoemer at web.de Tue Sep 11 08:05:45 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 08:05:45 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30503-cups.general@news.easysw.com> >From the CUPS DDK I found out that the CutMedia is the wrong option. Can I add a new option to the Zebra.ppd as follows *OpenUI *PrintMode/Print Mode: PickOne *OrderDependency 20 AnySetup *^MM *DefaultPrintMode tear *PrintMode rewind/Rewind: "<>setpagedevice" *PrintMode peel/Peel off: "<>setpagedevice" *PrintMode tear/Tear off: "<>setpagedevice" *PrintMode cutter/Cutter: "<>setpagedevice" *PrintMode delayed/Delayed cut: "<>setpagedevice" *CloseUI: *PrintMode Best regards Joerg From joerg-schoemer at web.de Tue Sep 11 09:35:06 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 09:35:06 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30504-cups.general@news.easysw.com> > From the CUPS DDK I found out that the CutMedia is the wrong option. > Can I add a new option to the Zebra.ppd as follows > > *OpenUI *PrintMode/Print Mode: PickOne > *OrderDependency 20 AnySetup *^MM > *DefaultPrintMode tear > *PrintMode rewind/Rewind: "<>setpagedevice" > *PrintMode peel/Peel off: "<>setpagedevice" > *PrintMode tear/Tear off: "<>setpagedevice" > *PrintMode cutter/Cutter: "<>setpagedevice" > *PrintMode delayed/Delayed cut: "<>setpagedevice" > *CloseUI: *PrintMode > > Best regards > Joerg "^MM" doesn't work too, cupstestppd reports an error :-( From msweet at apple.com Tue Sep 11 10:01:22 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 11 Sep 2007 10:01:22 -0700 Subject: [cups.general] Zebra ZPL Peel-off In-Reply-To: <30504-cups.general@news.easysw.com> References: <30504-cups.general@news.easysw.com> Message-ID: <30505-cups.general@news.easysw.com> Jörg Schömer wrote: > ... > "^MM" doesn't work too, cupstestppd reports an error :-( You need to modify rastertolabel.c, and then pass the option through a page attribute so the driver can write out the appropriate command. That said, the current Zebra ZPL driver already supports the Peel off mode (zePrintMode=Peel). -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Tue Sep 11 14:09:48 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 11 Sep 2007 14:09:48 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30502-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> Message-ID: <30506-cups.general@news.easysw.com> Christian Andretzky wrote: > Hi, > I have a brand new printer HP LJ P2015 and I have problems with the page size > and/or imageable area and or page region. > I setup the printer as a postscript printer and use the original HP ppd file. > (No ghostscript as far as I know.) All of the above mentioned parameters are > set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in > the printer firmware is also A4. But independent of this, each page which is > printed has an imageable area of 8.19x10.67in (207.9x270.9mm) > Before this printer I used a HP LJ 4000 DTN (also postscript) with no problems. > > Any ideas? Hi, Christian :-) What's the output of this command: grep ImageableArea /etc/cups/ppd/is2127ps.ppd ?? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From edgar at muzikquest.co.uk Tue Sep 11 15:00:17 2007 From: edgar at muzikquest.co.uk (Edgar Klüsener) Date: Tue, 11 Sep 2007 15:00:17 -0700 Subject: Lexmark X2550 Message-ID: <30507-cups.general@news.easysw.com> This may be a very stupid question, but I'll ask it anyway. Lexmark is not known to be the most Linux-friendly printer manufacturer. But they seem to support MacOSX - and therefore probably CUPS- fairly well. Which makes me wonder: Could there be a chance that one can actually use Lexmark's MacOSX printer drivers in a Linux (CUPS)- environment? After all, MacOSX is just another *NIX. Or is it? The next question would then be: How could one make a MacOSX-driver work in a let's say Opensuse 10.2 environment? From sckwave at 126.com Tue Sep 11 23:47:59 2007 From: sckwave at 126.com (luck) Date: Tue, 11 Sep 2007 23:47:59 -0700 Subject: cupsd: Child exited with status 1! Message-ID: <30508-cups.general@news.easysw.com> I build cups for my arm-linux board use crosstool. I down all the file to my armlinux board. Run cupsd. print error "cupsd: Child exited with status 1! " why ? can someone help me? Bestregard From joerg-schoemer at web.de Tue Sep 11 23:50:39 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 23:50:39 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30509-cups.general@news.easysw.com> > > You need to modify rastertolabel.c, and then pass the option through > a page attribute so the driver can write out the appropriate command. > > That said, the current Zebra ZPL driver already supports the Peel off > mode (zePrintMode=Peel). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks a lot. From joerg-schoemer at web.de Tue Sep 11 23:55:31 2007 From: joerg-schoemer at web.de (Jörg Schömer) Date: Tue, 11 Sep 2007 23:55:31 -0700 Subject: Zebra ZPL Peel-off Message-ID: <30510-cups.general@news.easysw.com> > You need to modify rastertolabel.c, and then pass the option through > a page attribute so the driver can write out the appropriate command. > > That said, the current Zebra ZPL driver already supports the Peel off > mode (zePrintMode=Peel). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > OK, my version was CUPS 1.1.22 now I'll upgrade to CUPS 1.3.0 From kssingvo at suse.de Wed Sep 12 01:22:00 2007 From: kssingvo at suse.de (Klaus Singvogel) Date: Wed, 12 Sep 2007 01:22:00 -0700 Subject: [cups.general] Lexmark X2550 In-Reply-To: <30507-cups.general@news.easysw.com> References: <30507-cups.general@news.easysw.com> Message-ID: <30511-cups.general@news.easysw.com> Edgar KlÃŒsener wrote: > This may be a very stupid question, but I'll ask it anyway. Lexmark > is not known to be the most Linux-friendly printer manufacturer. But > they seem to support MacOSX - and therefore probably CUPS- fairly > well. Which makes me wonder: Could there be a chance that one can > actually use Lexmark's MacOSX printer drivers in a Linux (CUPS)- > environment? After all, MacOSX is just another *NIX. Or is it? The > next question would then be: How could one make a MacOSX-driver work > in a let's say Opensuse 10.2 environment? I fear that it's not possible to do so. IIRC Max OS X is using a different subsystem to do the printout as Linux, and therefore the drivers for a OS X system cannot be used in a Linux system. Just keep in mind, that having a *NIX does not mean that this system is an OpenSource system. Several parts in the Mac OS X are still closed, unknown to us. Not talking about the Lexmark drivers themself, which might be another obstacle to get it working. Sorry, but to my knowledge I don't see any chances to implement your smart idea. Regards, Klaus. -- Klaus Singvogel SUSE LINUX Products GmbH Maxfeldstr. 5 E-Mail: Klaus.Singvogel at SuSE.de 90409 Nuernberg Phone: +49 (0) 911 740530 Germany GnuPG-Key-ID: 1024R/5068792D 1994-06-27 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From Christian.Andretzky at MB.TU-Chemnitz.DE Wed Sep 12 01:29:13 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Wed, 12 Sep 2007 01:29:13 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30506-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30512-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Christian Andretzky wrote: >> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >> page size and/or imageable area and or page region. I setup the printer as >> a postscript printer and use the original HP ppd file. (No ghostscript as >> far as I know.) All of the above mentioned parameters are set to A4 >> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >> printer firmware is also A4. But independent of this, each page which is >> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >> >> Any ideas? > > Hi, Christian :-) > > What's the output of this command: > > grep ImageableArea /etc/cups/ppd/is2127ps.ppd > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea definitions in the related ppd file of the printer. ;-) BTW, the PCFilename of this ppd file is hpc2015s.ppd. grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) *% ImageableArea *DefaultImageableArea: A4 *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" *ImageableArea LEGAL/Legal: "12.00 12.00 599.76 995.76" *ImageableArea EXECUTIVE/Executive: "12.00 12.00 509.76 743.76" *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" *ImageableArea ENV_10/Envelope #10: "12.00 12.00 284.64 671.76" *ImageableArea ENV_DL/Envelope DL: "12.00 12.00 299.52 611.28" *ImageableArea ENV_MONARCH/Envelope Monarch: "12.00 12.12 266.76 527.90" *ImageableArea ENV_B5/Envelope B5: "12.00 12.00 486.48 696.24" *ImageableArea A5/A5: "12.00 12.00 407.28 582.96" *ImageableArea A6/A6: "12.00 12.12 286.00 407.88" *ImageableArea B5/B5 (JIS): "12.00 12.00 503.52 716.16" *ImageableArea ENV_C5/Envelope C5: "12.00 12.00 446.88 636.72" *ImageableArea 16K_NEW/16K 7.75x10.75in.: "12.00 12.00 534.00 750.00" *ImageableArea 16K_184_260/16K 184x260 mm: "12.00 12.12 510.00 725.00" *ImageableArea 16K_195_270/16K 195x270 mm: "12.00 14.50 539.94 752.88" *ImageableArea B5_ISO/B5 (ISO): "12.00 12.00 486.48 696.24" *ImageableArea B6_ISO/B6 (ISO): "12.00 12.00 342.24 486.96" *ImageableArea POSTCARD_JIS/Postkarte JIS: "12.00 12.12 270.00 407.88" *ImageableArea DBL_JAPANESE_POSTCARD_ROTATED/Doppelte japanische Postkarte, gedreht: "12.00 12.00 405.54 554.00" *ImageableArea 8_5X13/8.5X13: "12.00 12.00 600.00 924.00" *ImageableArea A3/A3: "12.00 12.12 830.00 1179.00" *ImageableArea B4/B4 (JIS): "12.00 12.12 723.00 1026.00" *ImageableArea 8K/8K: "12.00 12.12 770.00 1110.00" *ImageableArea 11x17/11x17: "12.00 12.12 785.00 1218.00" *?ImageableArea: " In the CUPS Printer test page the values in the Box named 'Imageable Area' are: Page size: 8.19x10.67in (207.9x270.9mm), Lower-Left: 0.17x0.17in (4.2x4.3mm) Upper-Right: 8.35x10.83in (212.2x275.2mm) Cheers, Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From jsmeix at suse.de Wed Sep 12 01:54:31 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 01:54:31 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <30506-cups.general@news.easysw.com> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30513-cups.general@news.easysw.com> Hello, On Sep 11 14:09 Kurt Pfeifle wrote: > Christian Andretzky wrote: > > Hi, > > I have a brand new printer HP LJ P2015 and I have problems with the page size > > and/or imageable area and or page region. > > I setup the printer as a postscript printer and use the original HP ppd file. > > (No ghostscript as far as I know.) All of the above mentioned parameters are > > set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in > > the printer firmware is also A4. But independent of this, each page which is > > printed has an imageable area of 8.19x10.67in (207.9x270.9mm) How did you find out that the imageable area of "each page" is this? I.e. did you print a special kind of test page or how did you get the information of the imageable area values? For example if the YaST test page is printed, it expands itself automatically to fill up the whole imageable area of the PostScript interpreter because as a printer test page it shows intentionally the actual imageable area values of the PostScript interpreter (and not whatever imaged area of whatever filter). > What's the output of this command: > grep ImageableArea /etc/cups/ppd/is2127ps.ppd ImageableArea has no PostScript invocation value so that this information may not show why the printed imaged area is always 8.19x10.67in. Only PageSize and PageRegion have PostScript invocation values so that those settings could change something in the printer's PostScript interpreter. I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" from the newest HPLIP 2.7.7 here and therein I find for example a "HPPaperPolicy/Fit to Page" option which is by default set to "PromptUser" but there is also a "NearestSizeAdjust/Nearest Size and Scale" choice which could be the reason that the printer's PostScript interpreter always produces the same printed imaged area. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From un at get2net.dk Wed Sep 12 02:11:18 2007 From: un at get2net.dk (Ulrik Nielsen) Date: Wed, 12 Sep 2007 02:11:18 -0700 Subject: CUPS + HPLIP, missing file Message-ID: <30514-cups.general@news.easysw.com> Hi. I get this error from /var/log/cups/error_log when I try to print: Printer Filter "foomatic-rip" for printer "Officejet_7400" not available: No such file or directory Anyone who can help me? Thanks. /Ulrik From jsmeix at suse.de Wed Sep 12 02:14:04 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 02:14:04 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30515-cups.general@news.easysw.com> Hello, On Sep 12 10:29 Christian Andretzky wrote (shortened): > the PCFilename of this ppd file is hpc2015s.ppd. I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" from the newest HPLIP 2.7.7 here and therein the PCFilename is "HPP2015.PPD". > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) > Upper-Right: 8.35x10.83in (212.2x275.2mm) The CUPS printer test page determines the values of the whole imageable area of the PostScript interpreter. You may do something like echo "A4" | lp -d -o PageSize=A4 -o page-border=single and echo "A5" | lp -d -o PageSize=A5 -o page-border=single to check if the printer prints different according to the selected media size (regardless which paper size is actually loaded in the printer). 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 Wed Sep 12 02:42:30 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Wed, 12 Sep 2007 02:42:30 -0700 Subject: [cups.general] CUPS + HPLIP, missing file In-Reply-To: <30514-cups.general@news.easysw.com> References: <30514-cups.general@news.easysw.com> Message-ID: <30516-cups.general@news.easysw.com> Hello, On Sep 12 02:11 Ulrik Nielsen wrote (shortened): > I get this error from /var/log/cups/error_log when I try to print: > Printer Filter "foomatic-rip" for printer "Officejet_7400" not available: > No such file or directory Install the package of your Linux distribution which contains this filter. E.g. in openSUSE /usr/bin/foomatic-rip and the link /usr/lib/cups/filter/foomatic-rip are in the RPM package "foomatic-filters". Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From danielfabiani at yahoo.es Wed Sep 12 04:48:05 2007 From: danielfabiani at yahoo.es (Daniel Martin) Date: Wed, 12 Sep 2007 04:48:05 -0700 Subject: Problems printing through Samba Message-ID: <30517-cups.general@news.easysw.com> Hi, I am experiencing problems while printing through Samba in CUPS. I have a printer configured in Raw mode, and I've uncommented the lines in mime.convs and mime.types for application/octet-stream. Printing from the command line works. But when I print through Samba, nothing is printed, and I get a weird message in the CUPS server, the printer queue gets disabled and does not accept jobs anymore unless you restart the queue. Versions are: Samba 3.0.23 Cups 1.2.0 Here is the log, thanks a lot four your help. D [10/Sep/2007:13:22:44 +0200] [Job 46] 1 files to send in job... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: +connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connecting to 10.0.0.1 on port 631... d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: -connecting-to-device I [10/Sep/2007:13:22:44 +0200] [Job 46] Connected to 10.0.0.1... D [10/Sep/2007:13:22:44 +0200] [Job 46] Getting supported attributes... D [10/Sep/2007:13:22:44 +0200] [Job 46] document-format-supported (3 values) D [10/Sep/2007:13:22:44 +0200] [0] = "application/postscript" D [10/Sep/2007:13:22:44 +0200] [1] = "text/plain" D [10/Sep/2007:13:22:44 +0200] [2] = "application/octet-stream" d [10/Sep/2007:13:22:44 +0200] [Job 46] STATE: none D [10/Sep/2007:13:22:44 +0200] [Job 46] printer-uri = "ipp://10.0.0.1:631/ipp/" D [10/Sep/2007:13:22:44 +0200] [Job 46] requesting-user-name = "dmartin" D [10/Sep/2007:13:22:44 +0200] [Job 46] job-name = "smbprn.00000079 Remote Downlevel Document" I [10/Sep/2007:13:22:44 +0200] [Job 46] Printer is busy; retrying print job... d [10/Sep/2007:13:22:45 +0200] select_timeout: 11 seconds to process active jobs d [10/Sep/2007:13:22:54 +0200] [Job 46] STATE: none d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: 1 active jobs, sleeping=0, reload=0 d [10/Sep/2007:13:22:54 +0200] cupsdCheckJobs: Job 46: state_value=5, loaded=yes d [10/Sep/2007:13:22:54 +0200] process_children() E [10/Sep/2007:13:22:54 +0200] PID 64964 (/usr/local/libexec/cups/backend/ipp) stopped with status 1! D [10/Sep/2007:13:22:54 +0200] [Job 46] File 0 is complete. d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: job->status is -256 d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Removing fd 15 from InputSet... d [10/Sep/2007:13:22:54 +0200] cupsdFinishJob: Closing status pipes [ 15 -1 ]... I [10/Sep/2007:13:22:54 +0200] [Job 46] Backend returned status 1 (failed) d [10/Sep/2007:13:22:54 +0200] cupsdStopJob: id = 46, force = 0 D [10/Sep/2007:13:22:54 +0200] Discarding unused printer-state-changed event... From h.blischke at srz.de Wed Sep 12 05:58:02 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 12 Sep 2007 05:58:02 -0700 Subject: [cups.general] running OOo 2.2 as a CUPS filter In-Reply-To: <30499-cups.general@news.easysw.com> References: <30464-cups.general@news.easysw.com> <30499-cups.general@news.easysw.com> Message-ID: <30518-cups.general@news.easysw.com> Johannes Meixner wrote: > Hello, > > On Sep 8 08:10 Helge Blischke wrote (shortened): > >>In order to automate bulk printing of office documents >>I managed to run OOo 2.2 (via a small wrapper written in Perl) >>as a filter in CUPS. >> >>OOo is called from within the wrapper as >> soffice -headless -display :n name_of_document >>It may occur that the ordinary X display does not >>work under lp as user due to authentification problems. >>In that case it works with connecting to a display >>provided by the Xvfb fake server. >> >>Now to the problem: >>Though it usually requires some initial hacks to >>get OOo properly initialized for user lp, it works >>with most Linux distributions, but *not* on a >>SUSe 8.2 system > > > I don't have such a system running here and therefore I cannot > reporoduce anything here at the moment. > > Perhaps you can provide more detailed (error)-mesages? > E.g. the relevant part of CUPS' error_log in debug mode > while your filter is executed or do a "su - lp" and then > run only your OOo command to get OOo's (error)-mesages. > > > Kind Regards > Johannes Meixner The CUPS error_log shows: ---snip--- I [07/Sep/2007:18:49:58 +0200] Job 19 queued on 'local-print-to-file' by 'technik'. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/officetops (PID 5167) for job 19. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/oopstops (PID 5169) for job 19. I [07/Sep/2007:18:49:58 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5170) for job 19. E [07/Sep/2007:18:50:01 +0200] PID 5170 stopped with status 1! I [07/Sep/2007:18:50:01 +0200] Hint: Try setting the LogLevel to "debug" to find out more. E [07/Sep/2007:18:50:01 +0200] [Job 19] Empty print file! I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/officetops (PID 5201) for job 19. I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/oopstops (PID 5202) for job 19. I [07/Sep/2007:18:50:03 +0200] Started filter /usr/lib/cups/filter/pstops (PID 5203) for job 19. E [07/Sep/2007:18:50:06 +0200] PID 5203 stopped with status 1! I [07/Sep/2007:18:50:06 +0200] Hint: Try setting the LogLevel to "debug" to find out more. E [07/Sep/2007:18:50:06 +0200] [Job 19] Empty print file! ---snip--- What is quite weird is that OOo spits out an empty job to STDOUT, and the whole stuff is repeated infinitely. On the other hand, if I log in as user lp and issue the command (as posted previously) from the command line, I get a complete PostScript job to STDOUT. The passwd entry for user lp is: lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash And, BTW, the CUPS version is 1.1.18. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From Christian.Andretzky at MB.TU-Chemnitz.DE Wed Sep 12 06:22:40 2007 From: Christian.Andretzky at MB.TU-Chemnitz.DE (Christian Andretzky) Date: Wed, 12 Sep 2007 06:22:40 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> Message-ID: <30519-cups.general@news.easysw.com> Johannes Meixner wrote: > Hello, > > On Sep 11 14:09 Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, >>> I have a brand new printer HP LJ P2015 and I have problems with the page size >>> and/or imageable area and or page region. >>> I setup the printer as a postscript printer and use the original HP ppd file. >>> (No ghostscript as far as I know.) All of the above mentioned parameters are >>> set to A4 (checked in the ppd file in /etc/cups/ppd/). The page size setting in >>> the printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) > > How did you find out that the imageable area of "each page" is this? > I.e. did you print a special kind of test page or how did you get > the information of the imageable area values? > Hmm, I don't say, the imageable area _is_ the reason, I (would at least ;-) say one or more of the 3 parameters page size, page region and imageable area could be responsible for my problem. For testing I've used the CUPS test page which is accessible (for example) via web-interface on the cups server. The values I mentioned are from this page. This page also print a frame around the whole imageable area. The second one is that on normal printed pages the border (not printed area) seems to have the same size and location as on the test page. Especially the lower boundary > For example if the YaST test page is printed, it expands itself > automatically to fill up the whole imageable area of the PostScript > interpreter because as a printer test page it shows intentionally > the actual imageable area values of the PostScript interpreter > (and not whatever imaged area of whatever filter). > > >> What's the output of this command: >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd > > ImageableArea has no PostScript invocation value so that > this information may not show why the printed imaged area > is always 8.19x10.67in. > > Only PageSize and PageRegion have PostScript invocation values > so that those settings could change something in the printer's > PostScript interpreter. > > I have a HP PPD "HP LaserJet P2015 Series Postscript (recommended)" > from the newest HPLIP 2.7.7 here and therein I find for example a > "HPPaperPolicy/Fit to Page" option which is by default set to "PromptUser" > but there is also a "NearestSizeAdjust/Nearest Size and Scale" choice > which could be the reason that the printer's PostScript interpreter > always produces the same printed imaged area. > Forget it all, it seems, my mistake was to use the original HP ppd, which is available on the install CD. I did this, because I thought it would be nice to have native (german) language support for the users, and I saw no other ppd file with german language support. In the past - at least - there was never a problem to do it in this way. All things now work as expected. Thanks for Your help Christian -- Name: Christian Andretzky | Address: TU Chemnitz | Phone: ++49 +371 531 32130 | Fak. Maschinenbau/Verfahrenstechnik | FAX: ++49 +371 531 832130 | Reichenhainer Str. 70 | mail: Christian.Andretzky at MB.TU-Chemnitz.DE | D-09107 Chemnitz | PGP: public key avaliable via public key server | In a world without walls and fences, there is no need for windows and gates | "The Box said 'Windows 95 or better'. - So I installed Linux." | From k1pfeifle at gmx.net Wed Sep 12 07:30:17 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 07:30:17 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30520-cups.general@news.easysw.com> Christian Andretzky wrote: > Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >>> page size and/or imageable area and or page region. I setup the printer as >>> a postscript printer and use the original HP ppd file. (No ghostscript as >>> far as I know.) Try grep cupsFilter /etc/cups/ppd/d238_lj.ppd to see which filter is used (if any). (No output means: the LJ P2015 works as a PostScript printer with this PPD). >>> All of the above mentioned parameters are set to A4 >>> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >>> printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >>> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >>> >>> Any ideas? >> Hi, Christian :-) >> >> What's the output of this command: >> >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd >> > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea > definitions in the related ppd file of the printer. ;-) right :-) > BTW, the PCFilename of this ppd file is hpc2015s.ppd. > > grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) > *% ImageableArea > *DefaultImageableArea: A4 > *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" [....] > *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" [....] Assuming you're printing A4.... This means: "the lower left corner of the imageable area is at coordinates (12 | 12.12)" "the upper right corner of the imageable area is at coordinates (581.64|829.68)" 72 units are 1 inch. 12 points are 1/6 = 0.1666 inch 582 points are 8.0333 inch 830 points are 11.5277 inch This means (after some degree of rounding): Lower-Left should be at 0.167x0.167in Upper-Right should be at 8.033x11.523in > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) match! > Upper-Right: 8.35x10.83in (212.2x275.2mm) no match! 8.35in is equivalent to 601 points 10.83in is equivalent to 779.76 points This looks more like the imageable area for "Letter"! Are you sure that there is now "-o PageSize=Letter" being used when you print? Look ~/.cups/lpoptions (CUPS 1.2+), ~/.lpoptions (CUPS 1.1.x) and /etc/cups/lpoptions. What is the output of grep -E "^\*DefaultRa|^\*DefaultIm" /etc/cups/ppd/d238_lj.ppd ?? In case this is a bug in CUPS, you should also tell us your the version you use. > Cheers, Christian Ciao, Kurt -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Wed Sep 12 07:30:18 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 07:30:18 -0700 Subject: [cups.general] Problems with HP LJ P2015 In-Reply-To: <46E7A34D.70008@MB.TU-Chemnitz.DE> References: <30502-cups.general@news.easysw.com> <30506-cups.general@news.easysw.com> <46E7A34D.70008@MB.TU-Chemnitz.DE> Message-ID: <30521-cups.general@news.easysw.com> Christian Andretzky wrote: > Kurt Pfeifle wrote: >> Christian Andretzky wrote: >>> Hi, I have a brand new printer HP LJ P2015 and I have problems with the >>> page size and/or imageable area and or page region. I setup the printer as >>> a postscript printer and use the original HP ppd file. (No ghostscript as >>> far as I know.) Try grep cupsFilter /etc/cups/ppd/d238_lj.ppd to see which filter is used (if any). (No output means: the LJ P2015 works as a PostScript printer with this PPD). >>> All of the above mentioned parameters are set to A4 >>> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the >>> printer firmware is also A4. But independent of this, each page which is >>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this >>> printer I used a HP LJ 4000 DTN (also postscript) with no problems. >>> >>> Any ideas? >> Hi, Christian :-) >> >> What's the output of this command: >> >> grep ImageableArea /etc/cups/ppd/is2127ps.ppd >> > Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea > definitions in the related ppd file of the printer. ;-) right :-) > BTW, the PCFilename of this ppd file is hpc2015s.ppd. > > grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed) > *% ImageableArea > *DefaultImageableArea: A4 > *ImageableArea LETTER/Letter: "12.00 12.00 599.76 779.76" [....] > *ImageableArea A4/A4: "12.00 12.12 581.64 829.68" [....] Assuming you're printing A4.... This means: "the lower left corner of the imageable area is at coordinates (12 | 12.12)" "the upper right corner of the imageable area is at coordinates (581.64|829.68)" 72 units are 1 inch. 12 points are 1/6 = 0.1666 inch 582 points are 8.0333 inch 830 points are 11.5277 inch This means (after some degree of rounding): Lower-Left should be at 0.167x0.167in Upper-Right should be at 8.033x11.523in > In the CUPS Printer test page the values in the Box named 'Imageable Area' are: > Page size: 8.19x10.67in (207.9x270.9mm), > Lower-Left: 0.17x0.17in (4.2x4.3mm) match! > Upper-Right: 8.35x10.83in (212.2x275.2mm) no match! 8.35in is equivalent to 601 points 10.83in is equivalent to 779.76 points This looks more like the imageable area for "Letter"! Are you sure that there is now "-o PageSize=Letter" being used when you print? Look ~/.cups/lpoptions (CUPS 1.2+), ~/.lpoptions (CUPS 1.1.x) and /etc/cups/lpoptions. What is the output of grep -E "^\*DefaultRa|^\*DefaultIm" /etc/cups/ppd/d238_lj.ppd ?? In case this is a bug in CUPS, you should also tell us your the version you use. > Cheers, Christian Ciao, Kurt -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From momoir at gmail.com Wed Sep 12 09:41:04 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 09:41:04 -0700 Subject: printing a job Message-ID: <30522-cups.general@news.easysw.com> Hi, I tried to switch to lprng in order to obtain number of pages for a print job, but I had no luck with it, so I switched back to cups again. This time I installed it from source instead of installing from apt-get. After successful installation of CUPS I made sure that everything is fine with printing. Then, I went to test/ subdirectory inside cups main directory and I found ipptest there. I believe ipptest should be the same as testipp as mentioned by Kurt previously. Then, I issued the following command to obtain number of pages for give print job. ./ipptest -v /var/spool/cups/c00046 | grep job-media-sheets-completed which returned: Unable to connect to on port 0 - No such file or directory Usage: ipptest [options] URL testfile [ ... testfileN ] Options: -i N Repeat the last test file once every N seconds. -v Show all attributes in response, even on success. I would like to mention that c00046 is a completed print job. Any idea what's wrong? > Mohammad wrote: > > > Knowing the number of pages after jobs are done is fine too. Is there any > > way to find it on command line? > > As I said -- no easy, direct way. No 'official' way either... > > But you can use the 'testipp' utility; this is probably not part of > the CUPS package provided by your distro -- you need to compile CUPS > yourself and get it from there (it will be built in the 'cups' sub- > directory). > > Then you can do (as root) > > /path/to/testipp /var/spool/cups/c00123 > > to see the IPP job attributes of job-id '123'. (You need to be root > because a normal user can't read the /var/spool/cups/ directory....) > > The attribute 'job-media-sheets-completed' is the number of printed > pages for that job. (If you print 4 copies of a 5-page document, you > will see '20'). > > /path/to/testipp /var/spool/cups/c00123 | grep job-media-sheets-completed > > CUPS does only count pages for jobs which are not printed as "raw". > For raw jobs, it will always count '1' page. > > > >> Mohammad wrote: > >>> Awesome. Thank you very much. > >>> > >>> Do you know how I can figure out how many pages were printed? > >> There is no easy, direct way to get the number of pages printed on > >> the commandline. > >> > >> As for the web interface -- that will only tell the number of pages > >> *after* the job is finished (i.e. not during the 'hold' state). > >> > >> If you need sophisticated print accounting for CUPS, then have a > >> look at www.pykota.com > >> > >>> Even in cups > >>> web interface it's written unknown in page number entry. > >>> > >>> > >>>> Mohammad wrote: > >>>> > >>>>> I have set up cups on my computer and it's working fine. I have change > >>>>> its setting so that it holds all print jobs coming to it. > >>>>> > >>>>> I can see all held jobs on CUPS web interface, but I would like to do > >>>>> that using command line. I would be glad if you let me know how I can > >>>>> print each job. > >>>>> > >>>>> I have tried lp -i job-id with no luck. > >>>> # list all held jobs from all queues: > >>>> lpstat -o > >>>> > >>>> # list jobs from a specific queue: > >>>> lpstat -o queuename > >>>> > >>>> # release a held job: > >>>> lp -i jobid -H resume > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany From msweet at apple.com Wed Sep 12 09:55:41 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 12 Sep 2007 09:55:41 -0700 Subject: [cups.general] printing a job In-Reply-To: <30522-cups.general@news.easysw.com> References: <30522-cups.general@news.easysw.com> Message-ID: <30523-cups.general@news.easysw.com> Mohammad wrote: > ... > Then, I went to test/ subdirectory inside cups main directory and I > found ipptest there. I believe ipptest should be the same as testipp > as mentioned by Kurt previously. Then, I issued the following command > to obtain number of pages for give print job. > ... ipptest is not the same as testipp. The testipp program is in the "cups" subdirectory. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From momoir at gmail.com Wed Sep 12 10:41:09 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 10:41:09 -0700 Subject: printing a job Message-ID: <30524-cups.general@news.easysw.com> I just had a look inside cups sub directory. I couldn't find anything like ipptest. ls i* returns following files: i18n.h ipp.c ipp.h ipp.o ipp-private.h ipp-support.c ipp-support.o I just installed cups-1.3.0 from source. But I didn't specify any option when compiling it. Can it be the cause of problem? > Mohammad wrote: > > ... > > Then, I went to test/ subdirectory inside cups main directory and I > > found ipptest there. I believe ipptest should be the same as testipp > > as mentioned by Kurt previously. Then, I issued the following command > > to obtain number of pages for give print job. > > ... > > ipptest is not the same as testipp. The testipp program is in the > "cups" subdirectory. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From momoir at gmail.com Wed Sep 12 10:45:18 2007 From: momoir at gmail.com (Mohammad) Date: Wed, 12 Sep 2007 10:45:18 -0700 Subject: printing a job (Ignore Previous Post) Message-ID: <30525-cups.general@news.easysw.com> Please ignore previous post. I made a stupid mistake in it. > I just had a look inside cups sub directory. I couldn't find anything like ipptest. > > ls i* returns following files: > i18n.h ipp.c ipp.h ipp.o ipp-private.h ipp-support.c ipp-support.o > > I just installed cups-1.3.0 from source. But I didn't specify any option when compiling it. Can it be the cause of problem? > > > Mohammad wrote: > > > ... > > > Then, I went to test/ subdirectory inside cups main directory and I > > > found ipptest there. I believe ipptest should be the same as testipp > > > as mentioned by Kurt previously. Then, I issued the following command > > > to obtain number of pages for give print job. > > > ... > > > > ipptest is not the same as testipp. The testipp program is in the > > "cups" subdirectory. > > > > -- > > ______________________________________________________________________ > > Michael R Sweet Senior Printing System Engineer > > > From pvanguardia at gmail.com Wed Sep 12 13:14:57 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Wed, 12 Sep 2007 13:14:57 -0700 Subject: Child exited signal 11 Message-ID: <30526-cups.general@news.easysw.com> Hi, My cups server cannot be restarted and checking log with Loglevel debug2 doesnt seem to help, viewing my server logs shows (cupsd), uid 0; child exited signal 11 anyone know how can i fixed this? also running cupsd -f giving me (Sergmentation fault) anyone know how can i fix it? Regards, Patrick From till.kamppeter at gmail.com Wed Sep 12 14:26:34 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Wed, 12 Sep 2007 14:26:34 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers Message-ID: <30527-cups.general@news.easysw.com> Hi, I have written a small Perl program around the command line "avahi-browse -k -t -v -r -a" to be run as a CUPS backend to discover network printers. It is used the same way as the "snmp" backend. You put it into /usr/lib/cups/backend/ and make it executable. The whenever a printer setup tool asks CUPS to look for available printers (or if you call "lpinfo -v") the program gets called and CUPS will list the discovered printers. As it does fairly the same as "snmp" but only based on another method you can deactivate "snmp" via chmod -x /usr/lib/cups/backend/snmp and avoid duplicate results. You can also have both running to get a more reliable scan including old printers not supporting DNS-SD and newer cheap printers (like the HP LaserJet 2600n) not supporting SNMP. The backend also reports make/model info so that printer setup tools can auto-select PPDs/drivers. In addition, it even discovers the PDLs of the printers, this way printer setup tools can react muchg more intelligently on unknown printer models, assigning PPDs like "Generic PCL-6/XL printer", and so the unknown printer "just works", too. If a printer has more that one access protocol, the highest priority is on socket, after that LPD, and IPP at last. To avoid discovering the print queues of CUPS 1.3.x servers as IPP printers every result on IPs which also appear as a computer are discarded. If a printer has more than one port for TCP/Socket or more than one internal queue for LPD or IPP, all ports/queues get listed. In my small network (2 comnputers, 3 network printers) there are no visible speed differences. Please report your experience in big networks. Here is the tool (License: GPL) for download: http://www.openprinting.org/download/printing/dnssd Needs Perl and Avahi. I want to ask all of you to test this tool and compare it with the SNMP backend, especially in big networks and with non-HP printers. - Is it faster? - Is it more reliable (same results on repeated calls)? - Does it discover more printers? - Does it hang on certain printer models? Thank you in advance for every test report. Till From k1pfeifle at gmx.net Wed Sep 12 14:42:44 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 14:42:44 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discovernetwork printers In-Reply-To: <30527-cups.general@news.easysw.com> References: <30527-cups.general@news.easysw.com> Message-ID: <30528-cups.general@news.easysw.com> Till Kamppeter wrote: > In my small network (2 comnputers, 3 network printers) there are no > visible speed differences. Speed differences between which and what? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Wed Sep 12 14:47:57 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 14:47:57 -0700 Subject: Child exited signal 11 In-Reply-To: <30526-cups.general@news.easysw.com> References: <30526-cups.general@news.easysw.com> Message-ID: <30529-cups.general@news.easysw.com> Patrick Vanguardia wrote: > My cups server cannot be restarted and checking log with Loglevel > debug2 doesnt seem to help, viewing my server logs shows (cupsd), > uid 0; child exited signal 11 anyone know how can i fixed this? also > running cupsd -f giving me (Sergmentation fault) anyone know how can > i fix it? A first small step is to include at least your version of CUPS, your OS, who built your packages how ("I built myself from sources"). Next, the cupsd.config sometimes gives a hint (it may be misconfigured). Then, a log extract that is longer than 1 line (but we don't want 1 MByte long either!) -- sometimes LogLevel debug is good enough. Start from an empty error_log, don't connect your ethernet cable to not get "noise" from remote browse packages, for example... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From till.kamppeter at gmail.com Wed Sep 12 14:53:31 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Wed, 12 Sep 2007 14:53:31 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discovernetwork printers In-Reply-To: <30528-cups.general@news.easysw.com> References: <30527-cups.general@news.easysw.com> <30528-cups.general@news.easysw.com> Message-ID: <30530-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Till Kamppeter wrote: > >> In my small network (2 comnputers, 3 network printers) there are no >> visible speed differences. > > Speed differences between which and what? > "snmp" backend and "dnssd" backend. Till From wpieong at umac.mo Wed Sep 12 19:55:51 2007 From: wpieong at umac.mo (Alex) Date: Wed, 12 Sep 2007 19:55:51 -0700 Subject: Setting SMB printer using Kerberos? Message-ID: <30531-cups.general@news.easysw.com> When setting up a SMB printer in CUPS, it usually take the forms smb://username:password at server/printer, Is it possible to omit the username:password and instruct CUPS to use kerberos authentication(which had been set up via login) each time a print job is submitted? From mike at easysw.com Wed Sep 12 21:28:49 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 21:28:49 -0700 Subject: Setting SMB printer using Kerberos? In-Reply-To: <30531-cups.general@news.easysw.com> References: <30531-cups.general@news.easysw.com> Message-ID: <30532-cups.general@news.easysw.com> Alex wrote: > When setting up a SMB printer in CUPS, it usually take the forms > > smb://username:password at server/printer, > > Is it possible to omit the username:password and instruct CUPS to use kerberos authentication(which had been set up via login) each time a print job is submitted? With CUPS 1.3 and the current Kerberos and Samba releases, yes. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From k1pfeifle at gmx.net Thu Sep 13 03:56:34 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 13 Sep 2007 03:56:34 -0700 Subject: Setting SMB printer using Kerberos? In-Reply-To: <30532-cups.general@news.easysw.com> References: <30531-cups.general@news.easysw.com> <30532-cups.general@news.easysw.com> Message-ID: <30533-cups.general@news.easysw.com> Michael Sweet wrote: > Alex wrote: >> When setting up a SMB printer in CUPS, it usually take the forms >> >> smb://username:password at server/printer, >> >> Is it possible to omit the username:password and instruct CUPS to use >> kerberos authentication(which had been set up via login) each time a >> print job is submitted? > > With CUPS 1.3 and the current Kerberos and Samba releases, yes. > Also, there is the binary "kerberizing" wrapper around smbspool that was written by Jeremy Alison some time ago. It runs smbspool with the original calling UID. This should work even with *older* versions of CUPS too. In SUSE, the package name is "samba-krb-printing". -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From morger at olmero.ch Thu Sep 13 07:36:31 2007 From: morger at olmero.ch (Philipp Morger) Date: Thu, 13 Sep 2007 07:36:31 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) Message-ID: <30534-cups.general@news.easysw.com> Hi Kurt I was now able to print on a HP2430 as well as a 4650HDN with trayswitching via Windows/Winword, though no success via Linux/OO. Therefore I tend to agree that there is actually a bug in OO, but I have to dig a little bit more to claim such a thing. Though, I'm not able to accomplish the same on a Xerox DP N4525... regards Philipp From h.blischke at srz.de Thu Sep 13 07:52:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 13 Sep 2007 07:52:31 -0700 Subject: [QUESTION] Is this an OOo bug when creating PostScript printfiles? (was: [SUGGESTION] switching trays in printjob) In-Reply-To: <30534-cups.general@news.easysw.com> References: <30534-cups.general@news.easysw.com> Message-ID: <30535-cups.general@news.easysw.com> Philipp Morger wrote: > Hi Kurt > > I was now able to print on a HP2430 as well as a 4650HDN with trayswitching via Windows/Winword, though no success via Linux/OO. Therefore I tend to agree that there is actually a bug in OO, but I have to dig a little bit more to claim such a thing. > > Though, I'm not able to accomplish the same on a Xerox DP N4525... > > regards > Philipp See my recent post on this topic (OOo bug). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From momoir at gmail.com Thu Sep 13 11:48:00 2007 From: momoir at gmail.com (Mohammad) Date: Thu, 13 Sep 2007 11:48:00 -0700 Subject: filter for displaying number of pages for each print job Message-ID: <30536-cups.general@news.easysw.com> I'm wondering if there exists any filter for CUPS that can obtain number of pages that are going to be printed for each print job. I have used testipp to receive that number, but I found out that command returns such value from printer itself. So if somebody is going to print 100 pages, it takes a lot of time for testipp command to show the number of printed pages. What I need is a way to get the number of pages immediately after releasing jobs or even better if they are still held. Thanks From darrel at lantera.com Thu Sep 13 12:27:31 2007 From: darrel at lantera.com (Darrel) Date: Thu, 13 Sep 2007 12:27:31 -0700 Subject: DeviceURI Message-ID: <30537-cups.general@news.easysw.com> Maybe it's just me .... but everywhere I read about "deviceURI" it seems to be written BY people who are intimate with it and FOR people who are intimate with it and, apparently, the rest of us should just sit back and not bother anyone. I DO NOT want to see examples for flow control written as "flow=soft" or "flow=dsrdtr" AS IF .... everyone in the entire world is familiar with what is, apparently yet ANOTHER new syntax. Yet try as I might, Google has been unable to find me a hard document that states unequivically ... THIS is what a DeviceURI is .. THIS is the syntax for using it and THESE are the supported options and what they mean and THIS is how you specify a negative option (-ocuc) etc. Is there such a document and Google can't find it? From alet at librelogiciel.com Thu Sep 13 12:39:49 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Thu, 13 Sep 2007 12:39:49 -0700 Subject: filter for displaying number of pages for each print job Message-ID: <30538-cups.general@news.easysw.com> > I'm wondering if there exists any filter for CUPS that can obtain number of pages that are going to be printed for each print job. > > I have used testipp to receive that number, but I found out that command > returns such value from printer itself. So if somebody is going to print > 100 pages, it takes a lot of time for testipp command to show the number > of printed pages. What I need is a way to get the number of pages > immediately after releasing jobs or even better if they are still held. See http://www.pykota.com/software/pkpgcounter/ which is used by both the PyKota and JASmine print accounting software. From msweet at apple.com Thu Sep 13 12:47:23 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 13 Sep 2007 12:47:23 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30537-cups.general@news.easysw.com> References: <30537-cups.general@news.easysw.com> Message-ID: <30539-cups.general@news.easysw.com> Darrel wrote: > ... > THIS is what a DeviceURI is .. > THIS is the syntax for using it and > THESE are the supported options and what they mean and > THIS is how you specify a negative option (-ocuc) etc. > > Is there such a document and Google can't find it? The CUPS book covers device URIs fairly extensively, and you'll find documentation on the network devices in the on-line help: http://localhost:631/ Normally you don't have to mess with serial, parallel, and USB device URIs because the web interface and various GUIs provide pull-downs for each of the options available for the device. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Thu Sep 13 13:30:11 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Thu, 13 Sep 2007 13:30:11 -0700 Subject: Child exited signal 11 Message-ID: <30540-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > > My cups server cannot be restarted and checking log with Loglevel > > debug2 doesnt seem to help, viewing my server logs shows (cupsd), > > uid 0; child exited signal 11 anyone know how can i fixed this? also > > running cupsd -f giving me (Sergmentation fault) anyone know how can > > i fix it? > > A first small step is to include at least your version of CUPS, your > OS, who built your packages how ("I built myself from sources"). > > Next, the cupsd.config sometimes gives a hint (it may be misconfigured). > > Then, a log extract that is longer than 1 line (but we don't want 1 > MByte long either!) -- sometimes LogLevel debug is good enough. Start > from an empty error_log, don't connect your ethernet cable to not get > "noise" from remote browse packages, for example... > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi Im using FreeBSD 6.2-Stable and installed these packages from ports cups-base-1.2.11_2 cups-pstoraster-8.15.4_1 cups-samba-6.0 cups-smb-backend-1.0 and for my configuration LogLevel debug SystemGroup wheel #MaxLogsize 0 # Allow remote access Port 631 Listen *:631 PreserveJobHistory Yes #Listen /var/run/cups.sock # Share local printers on the local network. #Browsing On BrowseOrder allow,deny BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Allow from All Encryption Required Order allow,deny Allow @LOCAL Allow All AuthType Basic Require user @SYSTEM Order allow,deny Allow @LOCAL Allow All Require user @OWNER @SYSTEM @LOCAL Order deny,allow AuthType Basic Require user @SYSTEM @LOCAL @OWNER Order deny,allow Require user @OWNER @SYSTEM @LOCAL Order deny,allow Order deny,allow then my error_log shows this I [14/Sep/2007:04:28:18 +0800] Loaded configuration file "/usr/local/etc/cups/cupsd.conf" I [14/Sep/2007:04:28:18 +0800] Using default TempDir of /var/spool/cups/tmp... I [14/Sep/2007:04:28:18 +0800] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [14/Sep/2007:04:28:18 +0800] Configured for up to 100 clients. I [14/Sep/2007:04:28:18 +0800] Allowing up to 100 client connections per host. I [14/Sep/2007:04:28:18 +0800] Using policy "default" as the default! I [14/Sep/2007:04:28:18 +0800] Full reload is required. I [14/Sep/2007:04:28:18 +0800] Loaded MIME database from '/usr/local/etc/cups': 34 types, 38 filters... D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading printer D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1081... <-- my classes D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1143... D [14/Sep/2007:04:28:18 +0800] Loading class adc1-1431... D [14/Sep/2007:04:28:18 +0800] Loading class adc1-194... Thanks in advance From darrel at lantera.com Thu Sep 13 14:17:03 2007 From: darrel at lantera.com (Darrel) Date: Thu, 13 Sep 2007 14:17:03 -0700 Subject: DeviceURI Message-ID: <30541-cups.general@news.easysw.com> > Darrel wrote: > > ... > > THIS is what a DeviceURI is .. > > THIS is the syntax for using it and > > THESE are the supported options and what they mean and > > THIS is how you specify a negative option (-ocuc) etc. > > > > Is there such a document and Google can't find it? > > The CUPS book covers device URIs fairly extensively, and you'll find > documentation on the network devices in the on-line help: > > http://localhost:631/ > > Normally you don't have to mess with serial, parallel, and USB device > URIs because the web interface and various GUIs provide pull-downs for > each of the options available for the device. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thank you for trying to help. Saying that localhost:631 has Help screens is like saying that all of Shakespear's plays are in the Dictionary if you read the words in the right order. I'm sure it is there... and it's probably obvious .. perhaps even PAINFULLY obvious to you .... because you already know the answer and you know WHERE to look for more info. For the rest of us, you've made a club that we need to get into in order to learn the secret handshake but we can't get INTO the club unless we already know it. THIS is the sum total of the documentation on DeviceURI that is available to those of us that only know to look underthe HEADING "deviceURI" Example: DeviceURI: socket://foo.bar.com:9100 From msweet at apple.com Thu Sep 13 14:28:48 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 13 Sep 2007 14:28:48 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30541-cups.general@news.easysw.com> References: <30541-cups.general@news.easysw.com> Message-ID: <30542-cups.general@news.easysw.com> Darrel wrote: >> Darrel wrote: >>> ... >>> THIS is what a DeviceURI is .. >>> THIS is the syntax for using it and >>> THESE are the supported options and what they mean and >>> THIS is how you specify a negative option (-ocuc) etc. >>> >>> Is there such a document and Google can't find it? >> The CUPS book covers device URIs fairly extensively, and you'll find >> documentation on the network devices in the on-line help: >> >> http://localhost:631/ >> >> Normally you don't have to mess with serial, parallel, and USB device >> URIs because the web interface and various GUIs provide pull-downs for >> each of the options available for the device. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > Thank you for trying to help. > Saying that localhost:631 has Help screens is like saying that all of Shakespear's plays are in the Dictionary if you read the words in the right order. I'm sure it is there... and it's probably obvious .. perhaps even PAINFULLY obvious to you .... because you already know the answer and you know WHERE to look for more info. For the rest of us, you've made a club that we need to get into in order to learn the secret handshake but we can't get INTO the club unless we already know it. > > THIS is the sum total of the documentation on DeviceURI that is available to those of us that only know to look underthe HEADING "deviceURI" > ... Look under the Using Network Printers document in Getting Started: http://localhost:631/help/network.html -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From ianc at kiwiplan.co.nz Thu Sep 13 18:12:48 2007 From: ianc at kiwiplan.co.nz (Ian) Date: Thu, 13 Sep 2007 18:12:48 -0700 Subject: EPSON 1520 lineflow printer Message-ID: <30543-cups.general@news.easysw.com> Hi, We have an Epson Stylus Color 1520 configured to use CUPS+Gutenprint v5.0.0.99.1. This printer is using lineflow paper (279mmX375mm). What paper type can I use to use the whole sheet when printing? I've also tried configuring it as a "raw" printer - which works fine, but doesn't send a form-feed. I know I can change the file being printed to add a \f - but this printer is being used from many machines - is there any way I can force it to form-feed when using raw? Regards, Ian. From jsmeix at suse.de Fri Sep 14 00:36:48 2007 From: jsmeix at suse.de (Johannes Meixner) Date: Fri, 14 Sep 2007 00:36:48 -0700 Subject: [cups.general] DeviceURI In-Reply-To: <30537-cups.general@news.easysw.com> References: <30537-cups.general@news.easysw.com> Message-ID: <30544-cups.general@news.easysw.com> Hello, On Sep 13 12:27 Darrel wrote (shortened): > ... but everywhere I read about "deviceURI" it > seems to be written BY people who are intimate with it > and FOR people who are intimate with it To a certain extent it is true on this mailing list. Perhaps in http://en.opensuse.org/SDB:CUPS_in_a_Nutshell the section "The Backends" might help you if you are looking only for a concise introduction. > THIS is what a DeviceURI is .. > THIS is the syntax for using it and > THESE are the supported options and what they mean and > THIS is how you specify a negative option (-ocuc) etc. For the exact details you may read the matching RFCs, see http://www.cups.org/documentation.php and for example http://www.ietf.org/rfc/rfc3986.txt Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex From k1pfeifle at gmx.net Fri Sep 14 03:24:45 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 14 Sep 2007 03:24:45 -0700 Subject: Child exited signal 11 In-Reply-To: <30540-cups.general@news.easysw.com> References: <30540-cups.general@news.easysw.com> Message-ID: <30545-cups.general@news.easysw.com> Patrick Vanguardia wrote: > Port 631 > Listen *:631 Misconfiguration! Delete one of these lines. Each tells cupsd to bind to port 631 each IP address, and the effect is cupsd tries to do it *twice*. But it is only possible once. (your error_log extract looks like it started up fully though?) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From mike at easysw.com Fri Sep 14 14:47:43 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 14 Sep 2007 14:47:43 -0700 Subject: Common UNIX Printing System 1.3.1 Message-ID: <135-cups.announce@news.easysw.com> CUPS 1.3.1 is now available for download from www.cups.org and fixes some build, localization, binary PostScript, and Kerberos issues. Fixes include: * Documentation updates. * The USB backend on Mac OS X could hang if the driver and printer did not match. * Delegated Kerberos credentials were not working. * "make distclean" incorrectly removed the edit-config.tmpl files (STR #2508) * Fix compile problem on HP-UX (STR #2501) * The cupstestppd utility now tests for resolutions greater than 99999 DPI to detect a missing "x" between the X and Y resolutions. * Fixed many problems in the various translations and added a new "checkpo" utility to validate them. * The cupstestppd utility now tests the custom page size code for CUPS raster drivers. * cupsLangDefault() did not attempt to return a language that was supported by the calling application. * If a remote printer stopped while a job was being sent, the local queue would also get stopped and the job re-queued, resulting in duplicate prints in some cases. * A few Apple-specific job options needed to be omitted when printing a banner page. * The new peer credential support did not compile on FreeBSD (STR #2495) * Direct links to help files did not set the current section so the table-of-contents was not shown. * The configure script did not support --localedir=foo (STR #2488) * The backends were not displaying their localized messages. * CUPS-Authenticate-Job did not require Kerberos authentication on queues protected by Kerberos. * The Zebra ZPL driver did not work with Brady label printers (STR #2487) * Norwegian wasn't localized on Mac OS X. * getnameinfo() returns an error on some systems when DNS is not available, leading to numerous problems (STR #2486) * The cupsfilter command did not work properly on Mac OS X. * The scheduler makefile contained a typo (STR #2483) * The TBCP and BCP port monitors did not handle the trailing CTRL-D in some PostScript output properly. * Fixed the localization instructions and German template for the "Find New Printers" button (STR #2478) * The web interface did not work with the Chinese localization (STR #2477) * The web interface home page did not work for languages that were only partially localized (STR #2472) * Updated the Spanish web interface localization (STR #2473) * ppdLocalize() did not work for country-specific localizations. Enjoy! From a.ramos at mac.com Fri Sep 14 21:06:41 2007 From: a.ramos at mac.com (AlanR) Date: Fri, 14 Sep 2007 21:06:41 -0700 Subject: Building 131 Message-ID: <30546-cups.general@news.easysw.com> Good day, I've downloaded the source with intention to build from a system running Mac OS X 10.4.10 on a Macbook Pro 2.4Ghz w/4GB RAM. I am using XCodes GCC package which is standard. I've installed from source EPM and also successfully ./configure (d) cups1.3.1. I can go through the Make routine but when it comes to the MAKE OSX (to produce the OS X package files for 1.3.1) it fails every time with the following: make osx ESP Package Manager v4.1 Copyright 1999-2007 by Easy Software Products. EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details see the GNU General Public License in the file COPYING or at "http://www.fsf.org/gpl.html". Report all problems to "epm at easysw.com". Searching for product information... epm: Unable to open directory "templates/de" - No such file or directory epm: Unable to open directory "templates/es" - No such file or directory epm: Unable to open directory "templates/et" - No such file or directory epm: Unable to open directory "templates/fr" - No such file or directory epm: Unable to open directory "templates/he" - No such file or directory epm: Unable to open directory "templates/it" - No such file or directory epm: Unable to open directory "templates/ja" - No such file or directory epm: Unable to open directory "templates/pl" - No such file or directory epm: Unable to open directory "templates/sv" - No such file or directory epm: Unable to open directory "templates/zh_TW" - No such file or directory epm: Unable to open directory "doc/de" - No such file or directory epm: Unable to open directory "doc/es" - No such file or directory epm: Unable to open directory "doc/et" - No such file or directory epm: Unable to open directory "doc/fr" - No such file or directory epm: Unable to open directory "doc/he" - No such file or directory epm: Unable to open directory "doc/it" - No such file or directory epm: Unable to open directory "doc/ja" - No such file or directory epm: Unable to open directory "doc/pl" - No such file or directory epm: Unable to open directory "doc/sv" - No such file or directory epm: Unable to open directory "doc/zh_TW" - No such file or directory Stripping executables in distribution... epm: Unable to open file "systemv/cancel" for destination "/usr/bin/cancel" - No such file or directory make: *** [osx] Error 1 Now the kicker here is that if I download the source for version 1.3 and do the same I am given the binary package I desire with no errors. I have to assume that EPM is functioning as 1.3 completes and 1.3.1 has the problem. I am no developer so I couldn't begin to give you all the right information without being asked for it- if there is anything I can add that might help please just let me know what to give you. Has anyone else had problems building 1.3.1 for OS X besides me? From qoole33 at msn.com Sat Sep 15 08:23:44 2007 From: qoole33 at msn.com (Alex Matthews) Date: Sat, 15 Sep 2007 08:23:44 -0700 Subject: Cups settings from samba Message-ID: <30548-cups.general@news.easysw.com> Hi there, I have a new sparkling colour laserprinter at the school where I work, and they want to setup a 'print-release' system on their computer network, so that anyone can send a job to the printer but it immediately gets held and can only be released by a teacher. I tried setting the "job-hold-until=infinite" with lpoptions for the printer, but samba seems to ignore this, or bypass it. lpoptions exceprt: Default job-hold-until=indefinite In the smb.conf I have set "job-hold-until=infinite" in the cups options setting. Problem is, this of course, means all printers have this print-release system, not what I wanted at all. Can anyone advise me as to where I'm going wrong? Thanks, Alex From networksecurity at verizon.net Sat Sep 15 21:15:54 2007 From: networksecurity at verizon.net (Steve) Date: Sat, 15 Sep 2007 21:15:54 -0700 Subject: cups encryption error Message-ID: <30549-cups.general@news.easysw.com> So I came across this post in my Bookmarks and figured I'd post a follow up with a link to my complete solution. http://ubuntuforums.org/showthread.php?t=447129 Hope this helps someone. From premjo.elias at gmail.com Sun Sep 16 00:09:19 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 16 Sep 2007 00:09:19 -0700 Subject: ID CARD driver development Message-ID: <30550-cups.general@news.easysw.com> > Premjo wrote: > >> Premjo wrote: > >>> ... > >>> Yes i have. But how i can pass id card printer specific commands through cups? > >> Write a filter program that converts CUPS raster data (application/ > >> vnd.cups-raster) to the printer's language. Then create a PPD file > >> that uses that filter. > >> > >> See the filter/rastertohp.c sources from CUPS and the CUPS DDK for > >> more information on developing a raster driver. > >> > >> -- > >> ______________________________________________________________________ > >> Michael Sweet, Easy Software Products mike at easysw dot com > >> Internet Printing and Publishing Software http://www.easysw.com > > > > Hi, > > > > How do i get "Filter/rastertohp.c and application/vnd.cups-raster" files . i downloaded the cupsddk-1.2.0-source but i didn't find these files on that? please help me on this. > > rastertohp.c is part of the CUPS sources. I suggested it over the > DDK drivers because it is simpler to modify. > > The DDK provides the tools for creating PPD files, along with > documentation on how to write a driver. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Publishing Software http://www.easysw.com Hi, I am really appreciate for your prompt reply. i am new on this area? How do i can prepare PPD files for the printer?, The vendor doesn't have PPD files. They have only windows driver. premjo From k1pfeifle at gmx.net Sun Sep 16 08:40:55 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 16 Sep 2007 08:40:55 -0700 Subject: Cups settings from samba In-Reply-To: <30548-cups.general@news.easysw.com> References: <30548-cups.general@news.easysw.com> Message-ID: <30551-cups.general@news.easysw.com> Alex Matthews wrote: > I have a new sparkling colour laserprinter at the school where I work, > and they want to setup a 'print-release' system on their computer network, > so that anyone can send a job to the printer but it immediately gets held > and can only be released by a teacher. > > I tried setting the "job-hold-until=infinite" with lpoptions for the > printer, but samba seems to ignore this, or bypass it. Which version of Samba? Which version of CUPS? Which print-related settings in Samba? (Run 'testparm -sv | grep -E "lp|cups|print|spool|driver"') Which setup for the target printer in printers.conf ? > lpoptions exceprt: > > Default job-hold-until=indefinite Does it help to insert the line "Option job-hold-until indefinite" to your printers.conf section for the printer? Like this: ... Option job-hold-until indefinite -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Sun Sep 16 15:46:24 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Sun, 16 Sep 2007 15:46:24 -0700 Subject: Child exited signal 11 Message-ID: <30552-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > > Port 631 > > Listen *:631 > > Misconfiguration! > > Delete one of these lines. Each tells cupsd to bind to port 631 each IP > address, and the effect is cupsd tries to do it *twice*. But it is only > possible once. > > > (your error_log extract looks like it started up fully though?) > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi, I already saw the error and it was in spool, when i deleted all of those it runs again. Any idea? Thanks From k1pfeifle at gmx.net Sun Sep 16 16:40:13 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 16 Sep 2007 16:40:13 -0700 Subject: Child exited signal 11 In-Reply-To: <30552-cups.general@news.easysw.com> References: <30552-cups.general@news.easysw.com> Message-ID: <30553-cups.general@news.easysw.com> Patrick Vanguardia wrote: >> Patrick Vanguardia wrote: >> >>> Port 631 >>> Listen *:631 >> Misconfiguration! >> >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP >> address, and the effect is cupsd tries to do it *twice*. But it is only >> possible once. >> >> >> (your error_log extract looks like it started up fully though?) >> >> >> -- >> Kurt Pfeifle >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > Hi, > > I already saw the error and it was in spool, when i deleted all of > those it runs again. Any idea? Sorry? I don't understand what you are trying to say... *Which* error did you see*? *What* was in "spool"? *Which* spool? *What* did you delete? What do you ask for if "it runs again"? > Thanks -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From john at vector.os2.dhs.org Sun Sep 16 21:05:11 2007 From: john at vector.os2.dhs.org (John Thompson) Date: Sun, 16 Sep 2007 21:05:11 -0700 Subject: Communication with remote printer Message-ID: <30554-cups.general@news.easysw.com> I have a small network sharing a printer through a stand-alone print server. All machines use cups to manage printing via IPP, and they all work well except one machine never manages to clear the print queue after completing a job. Could this be a network related problem given that the other machines have no problem? A blocked port from a firewall perhaps? -- John (john at os2.dhs.org) From premjo.elias at gmail.com Mon Sep 17 00:33:09 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 17 Sep 2007 00:33:09 -0700 Subject: Card Printer Driver Developement Message-ID: <30555-cups.general@news.easysw.com> Dear Sir, Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? premjo From lukast at ifh.de Mon Sep 17 04:39:28 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Mon, 17 Sep 2007 04:39:28 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail on Xerox Phaser 6350 Message-ID: <30556-cups.general@news.easysw.com> Hi there, I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. I have several HP and Xerox printers installed and running without major problems. One of the Xerox printers is a Phaser 6350DX. I've installed the latest Xerox-drivers for WinXP in samba, and used this drivers ppd to set up the Printer in cups. Both, Windows and Linux printing work fine. Here comes the Problem: When printing Ascii from a Kde or Gnome Desktop, the texttops is not used because gnome-print generates the postscript code. This works fine, but AFTER printing from Kde or Gnome, It is not possible to print from a Windows Client on this printer. The Bannerpage is printed correctly, but afterwards a error message is printed instead of the printfile. The error Message depends on the Desktop I used, but is always the same for each Desktop: KDE: ERROR: stackunderflow OFFENDING COMMAND: exch STACK: \h and for Gnome: ERROR: typecheck OFFNEDING COMMAND: setdash STACK: 21690 \lucas I repeat: The bannerpage is printed correctly, and there are no problems printing from linux. To make Windows users able to print again, I have to restart the printer. After restarting, Windows clients are able to print again, until somebody prints from Kde or Gnome. I already tried a different Driver for Windows and a alternate ppd for linux, without success. The problem also occurs, if I disable raw-printing from Windows, so that the data is processed by pstops before it is printed. Im not 100% sure, but I think this problem did not occur before updating to Cups version 1.3. I will set up an alternate Cups server with cups 1.2.4 (the version I used before) to verify this. Has anyone an idea what to do? I would be happy, if only I knew weather this is a Windows, Gnome, Kde or Cups problem. Thanks a lot Lukas PS: I did not attach logs, because this error can not be seen in the logs, even with a high debugevel. From h.blischke at srz.de Mon Sep 17 05:20:47 2007 From: h.blischke at srz.de (Helge Blischke) Date: Mon, 17 Sep 2007 05:20:47 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30556-cups.general@news.easysw.com> References: <30556-cups.general@news.easysw.com> Message-ID: <30557-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > Hi there, > I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. > I have several HP and Xerox printers installed and running without major > problems. One of the Xerox printers is a Phaser 6350DX. I've installed > the latest Xerox-drivers for WinXP in samba, and used this drivers ppd > to set up the Printer in cups. Both, Windows and Linux printing work fine. > Here comes the Problem: > When printing Ascii from a Kde or Gnome Desktop, the texttops is not > used because gnome-print generates the postscript code. This works fine, > but AFTER printing from Kde or Gnome, It is not possible to print from a > Windows Client on this printer. The Bannerpage is printed correctly, but > afterwards a error message is printed instead of the printfile. The > error Message depends on the Desktop I used, but is always the same for > each Desktop: > > KDE: > > ERROR: stackunderflow > OFFENDING COMMAND: exch > STACK: > \h > > and for Gnome: > > ERROR: typecheck > OFFNEDING COMMAND: setdash > STACK: > 21690 > \lucas > > I repeat: The bannerpage is printed correctly, and there are no problems > printing from linux. To make Windows users able to print again, I have > to restart the printer. After restarting, Windows clients are able to > print again, until somebody prints from Kde or Gnome. > I already tried a different Driver for Windows and a alternate ppd for > linux, without success. > The problem also occurs, if I disable raw-printing from Windows, so that > the data is processed by pstops before it is printed. > > Im not 100% sure, but I think this problem did not occur before updating > to Cups version 1.3. > I will set up an alternate Cups server with cups 1.2.4 (the version I > used before) to verify this. > > Has anyone an idea what to do? > I would be happy, if only I knew weather this is a Windows, Gnome, Kde > or Cups problem. > > Thanks a lot > Lukas > > > PS: I did not attach logs, because this error can not be seen in the > logs, even with a high debugevel. > You should try to intercept the PostScript file generated by your KDE and/or Gnome desktop, I suspect the PS generator involved initialtes some permanent changes to the PS interpreter. Please post a sample file. Helge PS: Does the issue go away if you power cycle the printer? -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From johannes.grumboeck at porsche.co.at Mon Sep 17 05:36:47 2007 From: johannes.grumboeck at porsche.co.at (Johannes Grumboeck) Date: Mon, 17 Sep 2007 05:36:47 -0700 Subject: is there a cups.schema for ldap? Message-ID: <30558-cups.general@news.easysw.com> Hi Binh Nguyen, > I got around this by writing a ksh shell script which went off to an > active directory (Microsoft Kerberos/LDAP server) using ldapsearch, > pull down its printer tree, sort out its name and IP > the I add it to my CUPS Server, works wonder. > > We (unix admin) dont keep track of printers and its configuration, > everything is store in the Active Directory and all I do each night > is; I run the script. It will then fetch the information off from the > Active Directory and lpadmin it to my cups server. It also check for > mismatch and compare the current cups configuration with the Active > Directory to make sure everything match up, else it alarm and let me > know. This would be something I'm interested in. We have some clusters and for each cluster there's one cupsd running (configured via heartbeat in case of failure). But I would like to have an ldap-server (with printer configuration) and on each node a cupsd running adn fetching the config. Would you mind sharing your script for a skeleton (for me and other users)? Thanks in advance, Johannes Grumboeck From k1pfeifle at gmx.net Mon Sep 17 07:09:02 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 07:09:02 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30556-cups.general@news.easysw.com> References: <30556-cups.general@news.easysw.com> Message-ID: <30559-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > Hi there, > I'm running Cups 1.3 and Samba 3.0.23c on Scientific Linux 5. > I have several HP and Xerox printers installed and running without major > problems. One of the Xerox printers is a Phaser 6350DX. I've installed > the latest Xerox-drivers for WinXP in samba, and used this drivers ppd > to set up the Printer in cups. Both, Windows and Linux printing work fine. > Here comes the Problem: > When printing Ascii from a Kde or Gnome Desktop, the texttops is not > used because gnome-print generates the postscript code. This works fine, > but AFTER printing from Kde or Gnome, It is not possible to print from a > Windows Client on this printer. The Bannerpage is printed correctly, but > afterwards a error message is printed instead of the printfile. The > error Message depends on the Desktop I used, but is always the same for > each Desktop: > > KDE: > > ERROR: stackunderflow > OFFENDING COMMAND: exch > STACK: > \h > > and for Gnome: > > ERROR: typecheck > OFFNEDING COMMAND: setdash > STACK: > 21690 > \lucas > > I repeat: The bannerpage is printed correctly, and there are no problems > printing from linux. To make Windows users able to print again, I have > to restart the printer. After restarting, Windows clients are able to > print again, until somebody prints from Kde or Gnome. > I already tried a different Driver for Windows and a alternate ppd for > linux, without success. > The problem also occurs, if I disable raw-printing from Windows, so that > the data is processed by pstops before it is printed. > > Im not 100% sure, but I think this problem did not occur before updating > to Cups version 1.3. > I will set up an alternate Cups server with cups 1.2.4 (the version I > used before) to verify this. > > Has anyone an idea what to do? > I would be happy, if only I knew weather this is a Windows, Gnome, Kde > or Cups problem. > > Thanks a lot > Lukas > > > PS: I did not attach logs, because this error can not be seen in the > logs, even with a high debugevel. You may want to intercept the files that go out of CUPS towards the printer for each different client case (I'd try it with the CUPS test page /usr/share/cups/data/testprint.ps -- from the Win clients, use Ghosview to print it). To intercept the files, you can install a "file printer" with the same PPD you're using for your real printer. This article (with the included "2dir"/"2file" scripts) may help you: http://techbase.kde.org/Projects/KDEPrint/Tools%2BUtilities -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From hardyjm at potsdam.edu Mon Sep 17 07:20:39 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 07:20:39 -0700 Subject: [cups.general] Printers.conf Corruption Message-ID: <30560-cups.general@news.easysw.com> Hello all, I am running cups-1.2.12-4.fc7 and am seeing random corruption of the printers.conf database. Seems to happen once every couple of days, and has happened since the cups-1.2.10 install I began with on this box. The queue name will change to include extended ASCII characters. The latest example is, changing to this (ASCII codes in right column): < 60 P 80 r 114 i 105 n 110 t 116 e 101 r 114 32 � 152 i 105 � 242 � 128  1 > 62 This happens most often with queue names, but has also changed some DeviceURI's on me as well. Anyone else see anything like this? -Jeff -- Jeff Hardy Systems Analyst hardyjm at potsdam.edu From msweet at apple.com Mon Sep 17 09:20:13 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:20:13 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30555-cups.general@news.easysw.com> References: <30555-cups.general@news.easysw.com> Message-ID: <30561-cups.general@news.easysw.com> Premjo wrote: > Dear Sir, > > Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? CUPS can support drivers doing this, but it doesn't provide specific functions for doing what is essentially printer/vendor-specific stuff. If you have never written a printer driver before, I highly recommend that you hire a company that has. If you are the "do it yourself" type of person, check out the sample drivers included with CUPS as inspiration for writing your own driver, and definitely use the CUPS DDK to create the PPD files for your printer(s). -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Mon Sep 17 09:34:39 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 09:34:39 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiple copies Message-ID: <30562-cups.general@news.easysw.com> Hello all. We've just upgraded our CUPS systems from 1.2.4 to 1.2.12. Our users are now reporting they are no longer getting multiple copies. Looks like some PCL codes have changed in 1.2.12. See the following for example: banner angel >/tmp/angel lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/angel >From the above command(no PCL here), I would get 3 copies as exepected. However, printing any job with PCL will result with only one copy: lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU Where /tmp/SP001nq5lx.ADU: ^[%-12345X at PJL @PJL ENTER LANGUAGE=PCL ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... I'm able to duplicate the PCL issue in multiple printers. PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this appreciated. Thanks, Angel From msweet at apple.com Mon Sep 17 09:43:02 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:43:02 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies In-Reply-To: <30562-cups.general@news.easysw.com> References: <30562-cups.general@news.easysw.com> Message-ID: <30563-cups.general@news.easysw.com> angelb wrote: > ... > However, printing any job with PCL will result with only one > copy: > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > Where /tmp/SP001nq5lx.ADU: > ^[%-12345X at PJL > @PJL ENTER LANGUAGE=PCL > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > I'm able to duplicate the PCL issue in multiple printers. > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > appreciated. More than likely the file is getting flagged as "raw" since it contains PCL commands. How is the queue configured? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From angelb at bugarin.us Mon Sep 17 09:53:23 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 09:53:23 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30564-cups.general@news.easysw.com> > angelb wrote: > > ... > > However, printing any job with PCL will result with only one > > copy: > > > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > > > Where /tmp/SP001nq5lx.ADU: > > ^[%-12345X at PJL > > @PJL ENTER LANGUAGE=PCL > > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > > > I'm able to duplicate the PCL issue in multiple printers. > > > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > > appreciated. > > More than likely the file is getting flagged as "raw" since it > contains PCL commands. How is the queue configured? > The queues are configured as AppSocket/HP JetDirect with HP Laserjet Series PCL 4/5 CUPS v1.2(en). There were no printer queue changes. These queues were printing and producing the correct number of copies in CUPS 1.2.4. We've upgraded all prod server/clients to 1.2.12 on Sunday morning. Thanks, Angel From msweet at apple.com Mon Sep 17 09:58:42 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 09:58:42 -0700 Subject: [cups.general] Beginner's problem with authentication policy in 1.3.0 In-Reply-To: <30490-cups.general@news.easysw.com> References: <30490-cups.general@news.easysw.com> Message-ID: <30565-cups.general@news.easysw.com> John A. Murdie wrote: > ... > I've not seen an illustration anywhere of how this looks like to > the user of one of these untrusted clients - for instance in the > GUI of a Mac OS X client. Kerberized printing is not supported on Mac OS X 10.4.x. > I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with > software updates) to try this out. I decided to try an initial > Location directive which Allow-s all the subnets in use, and the > to have two Limit-s in the default Policy, one for the trusted > subnet and one for the untrusted subnet: > > > Allow from trusted > Order deny,allow > > > > Allow from untrusted > Require user @OWNER @SYSTEM > Order deny,allow > You really want to use: Order allow,deny Allow from trusted Require user @OWNER @SYSTEM AuthType Default Satisfy any The "Satisfy any" part tells CUPS to only require authentication on the untrusted hosts/networks. In CUPS 1.2, the "AuthType Default" would need to be "AuthType Basic", "AuthType Digest", or "AuthType BasicDigest". And like I said, you can't do Kerberized CUPS printing on Mac OS X 10.4.x - even if you did install CUPS 1.3 on it, there is no GUI support and the Kerberos is too old to support delegated credentials properly... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Mon Sep 17 10:00:07 2007 From: premjo.elias at gmail.com (Premjo) Date: Mon, 17 Sep 2007 10:00:07 -0700 Subject: Card Printer Driver Developement Message-ID: <30566-cups.general@news.easysw.com> Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. premjo > Premjo wrote: > > Dear Sir, > > > > Is it possible do the image dithering, ink ribbon selection, card flipping, image cropping,image processing like YMCK seperation functions and new menu for printer specific commands will be possible on by using CUPS? > > CUPS can support drivers doing this, but it doesn't provide specific > functions for doing what is essentially printer/vendor-specific stuff. > > If you have never written a printer driver before, I highly recommend > that you hire a company that has. If you are the "do it yourself" > type of person, check out the sample drivers included with CUPS as > inspiration for writing your own driver, and definitely use the CUPS > DDK to create the PPD files for your printer(s). > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From msweet at apple.com Mon Sep 17 10:16:09 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 10:16:09 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiplecopies In-Reply-To: <30564-cups.general@news.easysw.com> References: <30564-cups.general@news.easysw.com> Message-ID: <30567-cups.general@news.easysw.com> angelb wrote: >> angelb wrote: >>> ... >>> However, printing any job with PCL will result with only one >>> copy: >>> >>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>> >>> Where /tmp/SP001nq5lx.ADU: >>> ^[%-12345X at PJL >>> @PJL ENTER LANGUAGE=PCL >>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>> >>> I'm able to duplicate the PCL issue in multiple printers. >>> >>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>> appreciated. >> More than likely the file is getting flagged as "raw" since it >> contains PCL commands. How is the queue configured? >> > > The queues are configured as AppSocket/HP JetDirect with HP Laserjet > Series PCL 4/5 CUPS v1.2(en). > > There were no printer queue changes. These queues were printing and > producing the correct number of copies in CUPS 1.2.4. We've upgraded > all prod server/clients to 1.2.12 on Sunday morning. The only change I am aware of is STR #2423 which would flag the PCL files as raw. The copies should then be produced by the socket backend... Have you checked the (LogLevel debug) error_log files on the client and server to see what is getting passed around? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Mon Sep 17 10:25:26 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 10:25:26 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30566-cups.general@news.easysw.com> References: <30566-cups.general@news.easysw.com> Message-ID: <30568-cups.general@news.easysw.com> Premjo wrote: > Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. You can generally read responses from your device using the cupsBackChannelRead() function provided in CUPS 1.2 and higher. However, keep in mind that not all backends support bidi comm, so you should fall back to a unidirectional mode if cupsBackChannelRead() fails. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From hardyjm at potsdam.edu Mon Sep 17 10:43:47 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 10:43:47 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30089-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> Message-ID: <30569-cups.general@news.easysw.com> On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > > These are all raw queues, and I had assumed that > > 'client-error-not-found' would be expected for any queue without a PPD. > > Is that correct? > > I don't think that raw queues would return for "Get-Printer-Attributes" > always a 'client-error-not-found' (even 'raw' queues do have attributes). > Apologies for responding to an old post, but I am still seeing the issue. I had debugging turned on trying to track down something unrelated, and found this: D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost (Domain) D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data provided. D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes ipp:///printers/printers D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes client-error-not-found: The printer or class was not found. D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 status_code=406 (client-error-not-found) D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 The path ipp:///printers/printers definitely does not exist. Curious. -Jeff -- Jeff Hardy Systems Analyst hardyjm at potsdam.edu From angelb at bugarin.us Mon Sep 17 11:08:18 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 11:08:18 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies Message-ID: <30570-cups.general@news.easysw.com> > angelb wrote: > >> angelb wrote: > >>> ... > >>> However, printing any job with PCL will result with only one > >>> copy: > >>> > >>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > >>> > >>> Where /tmp/SP001nq5lx.ADU: > >>> ^[%-12345X at PJL > >>> @PJL ENTER LANGUAGE=PCL > >>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > >>> > >>> I'm able to duplicate the PCL issue in multiple printers. > >>> > >>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > >>> appreciated. > >> More than likely the file is getting flagged as "raw" since it > >> contains PCL commands. How is the queue configured? > >> > > > > The queues are configured as AppSocket/HP JetDirect with HP Laserjet > > Series PCL 4/5 CUPS v1.2(en). > > > > There were no printer queue changes. These queues were printing and > > producing the correct number of copies in CUPS 1.2.4. We've upgraded > > all prod server/clients to 1.2.12 on Sunday morning. > > The only change I am aware of is STR #2423 which would flag the PCL > files as raw. The copies should then be produced by the socket > backend... > > Have you checked the (LogLevel debug) error_log files on the client > and server to see what is getting passed around? > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. I've not gotten any deeper other than testing the IPP backends but it appears to be the cause. Thanks, Angel From msweet at apple.com Mon Sep 17 11:36:18 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 11:36:18 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <1190051018.11790.11.camel@fritzdesk.admin.potsdam.edu> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <1190051018.11790.11.camel@fritzdesk.admin.potsdam.edu> Message-ID: <30571-cups.general@news.easysw.com> Jeff Hardy wrote: > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: >> Jeff Hardy wrote: >> >>> These are all raw queues, and I had assumed that >>> 'client-error-not-found' would be expected for any queue without a PPD. >>> Is that correct? >> I don't think that raw queues would return for "Get-Printer-Attributes" >> always a 'client-error-not-found' (even 'raw' queues do have attributes). >> > > Apologies for responding to an old post, but I am still seeing the > issue. I had debugging turned on trying to track down something > unrelated, and found this: > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > (Domain) > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > provided. > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > ipp:///printers/printers > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > client-error-not-found: The printer or class was not found. > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > status_code=406 (client-error-not-found) > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > The path ipp:///printers/printers definitely does not exist. Curious. More than likely you have a desktop process that is polling CUPS at regular intervals... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Mon Sep 17 11:37:12 2007 From: msweet at apple.com (Michael R Sweet) Date: Mon, 17 Sep 2007 11:37:12 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30570-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> Message-ID: <30572-cups.general@news.easysw.com> angelb wrote: > ... > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > I've not gotten any deeper other than testing the IPP backends but it > appears to be the cause. Can you file a bug and include copies of your log files so we can track it down? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Mon Sep 17 11:58:58 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 11:58:58 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30569-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> Message-ID: <30573-cups.general@news.easysw.com> Jeff Hardy wrote: > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: >> Jeff Hardy wrote: >> >>> These are all raw queues, and I had assumed that >>> 'client-error-not-found' would be expected for any queue without a PPD. >>> Is that correct? >> I don't think that raw queues would return for "Get-Printer-Attributes" >> always a 'client-error-not-found' (even 'raw' queues do have attributes). >> > > Apologies for responding to an old post, but I am still seeing the > issue. I had debugging turned on trying to track down something > unrelated, and found this: > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > (Domain) > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > provided. > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > ipp:///printers/printers > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > client-error-not-found: The printer or class was not found. > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > status_code=406 (client-error-not-found) > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > The path ipp:///printers/printers definitely does not exist. Curious. IIRC, you have Windows clients using CUPS raw printers via Samba? What drivers do these Windows clients use? The native vendor drivers for the Windows platform? Also, can you post the output of this command: testparm -vs|grep -E "cups|print|driver|spool|lp" ? (it produces an extract of the actual Samba configuration used by your smbd processes -- including the silently set defaults which may not even be spelled out in your smb.conf...) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From hardyjm at potsdam.edu Mon Sep 17 12:52:39 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Mon, 17 Sep 2007 12:52:39 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30573-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> Message-ID: <30574-cups.general@news.easysw.com> On Mon, 2007-09-17 at 11:58 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > On Tue, 2007-07-24 at 12:40 -0700, Kurt Pfeifle wrote: > >> Jeff Hardy wrote: > >> > >>> These are all raw queues, and I had assumed that > >>> 'client-error-not-found' would be expected for any queue without a PPD. > >>> Is that correct? > >> I don't think that raw queues would return for "Get-Printer-Attributes" > >> always a 'client-error-not-found' (even 'raw' queues do have attributes). > >> > > > > Apologies for responding to an old post, but I am still seeing the > > issue. I had debugging turned on trying to track down something > > unrelated, and found this: > > > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: skipping getpeercon() > > D [17/Sep/2007:10:29:52 -0400] cupsdAcceptClient: 11 from localhost > > (Domain) > > D [17/Sep/2007:10:29:52 -0400] cupsdReadClient: 11 POST / HTTP/1.1 > > D [17/Sep/2007:10:29:52 -0400] cupsdAuthorize: No authentication data > > provided. > > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > > ipp:///printers/printers > > D [17/Sep/2007:10:29:52 -0400] Get-Printer-Attributes > > client-error-not-found: The printer or class was not found. > > D [17/Sep/2007:10:29:52 -0400] cupsdProcessIPPRequest: 11 > > status_code=406 (client-error-not-found) > > D [17/Sep/2007:10:29:52 -0400] cupsdCloseClient: 11 > > > > > > The path ipp:///printers/printers definitely does not exist. Curious. > > > IIRC, you have Windows clients using CUPS raw printers via Samba? > What drivers do these Windows clients use? The native vendor drivers > for the Windows platform? Yep, printing raw using native vendor drivers in 99.99% of cases. > > Also, can you post the output of this command: > > testparm -vs|grep -E "cups|print|driver|spool|lp" ? > > (it produces an extract of the actual Samba configuration used by your > smbd processes -- including the silently set defaults which may not even > be spelled out in your smb.conf...) Sure thing: # testparm -vs|grep -E "cups|print|driver|spool|lp" Load smb config files from /etc/samba/smb.conf WARNING: The "printer admin" option is deprecated Processing section "[printers]" Processing section "[print$]" Processing section "[drivers]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER lpq cache time = 30 load printers = Yes printcap cache time = 750 printcap name = cups cups server = iprint server = disable spoolss = No addprinter command = /usr/local/bin/smbaddprinter.pl deleteprinter command = /usr/local/bin/smbdelprinter.pl show add printer wizard = Yes os2 driver map = printer admin = @printeradmins min print space = 0 max reported print jobs = 0 max print jobs = 1000 printable = No printing = cups cups options = raw print command = lpq command = %p lprm command = lppause command = lpresume command = printer name = use client driver = No force printername = No printjob username = %U [printers] path = /var/spool/samba printable = Yes [print$] path = /var/shares/drivers write list = @printeradmins [drivers] path = /var/shares/driverpaks write list = @printeradmins Perhaps that lpq cache time could be turned up. In any event, the reason I first noticed all of these Get-Printer-Attributes requests was that I started looking around for the cause of my add printer woes, whether they are related or not (which I posted on originally here and on the Samba list). As a rehash, I see a few times a day where the CUPS daemon uses up 100% CPU and becomes largely unresponsive, which correlates strongly to add printer wizard events. Samba calls my scripts and CUPS does the right thing immediately, but then Samba never returns success to the client because it was waiting for this: [2007/07/18 10:42:28, 3] printing/pcap.c:pcap_cache_reload(117) reloading printcap cache It never finishes. I've written a Perl daemon that runs lpoptions every minute, restarting cups and samba if it does not return within 10 seconds 3 consecutive times. It hit twice today, both times after an APW printer add. I thought perhaps the extra noise that all these Get-Printer-Attributes requests were causing might be enough to push CUPS over the edge when my Windows client hammers the box doing an add. In any event, what I have up and running now works most of the time, but the restarts are inconvenient (causing in-progress jobs to restart and whatnot). Sorry for babbling. :) Any thoughts on any of this? -Jeff From angelb at bugarin.us Mon Sep 17 13:54:04 2007 From: angelb at bugarin.us (angelb) Date: Mon, 17 Sep 2007 13:54:04 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies Message-ID: <30575-cups.general@news.easysw.com> > angelb wrote: > > ... > > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > > > I've not gotten any deeper other than testing the IPP backends but it > > appears to be the cause. > > Can you file a bug and include copies of your log files so we can > track it down? > > Done. STR 2518 Thanks, Angel From k1pfeifle at gmx.net Mon Sep 17 14:49:20 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 14:49:20 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30574-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> Message-ID: <30576-cups.general@news.easysw.com> Jeff Hardy wrote: > lpq command = %p This one is rubbish. You don't have it in smb.conf -- it's what Samba uses as a default, but it's a bug. To work around it, please add the explicit line to smb.conf lpq command = "" (this should use the CUPS default command, because Samba should be linked against libcups) or use lpq command = lpstat -o %p explicitely which is what you'd use with CUPS on the commandline (%p gets replaced by the actual printer name). Dunno if this could cause the problem you're seeing... It's probably a good idea to report this as a Samba bug in their Bug- zilla. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Mon Sep 17 14:49:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 17 Sep 2007 14:49:28 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30574-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> Message-ID: <30577-cups.general@news.easysw.com> Jeff Hardy wrote: > lpq command = %p This one is rubbish. You don't have it in smb.conf -- it's what Samba uses as a default, but it's a bug. To work around it, please add the explicit line to smb.conf lpq command = "" (this should use the CUPS default command, because Samba should be linked against libcups) or use lpq command = lpstat -o %p explicitely which is what you'd use with CUPS on the commandline (%p gets replaced by the actual printer name). Dunno if this could cause the problem you're seeing... It's probably a good idea to report this as a Samba bug in their Bug- zilla. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Mon Sep 17 18:06:36 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Mon, 17 Sep 2007 18:06:36 -0700 Subject: Child exited signal 11 Message-ID: <30578-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > >> Patrick Vanguardia wrote: > >> > >>> Port 631 > >>> Listen *:631 > >> Misconfiguration! > >> > >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP > >> address, and the effect is cupsd tries to do it *twice*. But it is only > >> possible once. > >> > >> > >> (your error_log extract looks like it started up fully though?) > >> > >> > >> -- > >> Kurt Pfeifle > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > Hi, > > > > I already saw the error and it was in spool, when i deleted all of > > those it runs again. Any idea? > > Sorry? > > I don't understand what you are trying to say... *Which* error did you > see*? *What* was in "spool"? *Which* spool? *What* did you delete? > What do you ask for if "it runs again"? > > > Thanks > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany Hi, Okay, I'm seeing Loading jobs in error_log i don't know if its an error so ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 and so on until c00134. so i tried to move/delete those files and try to restart the cups services and the cups service runs again. Thanks Patrick From andresen-cups at diku.dk Mon Sep 17 18:09:50 2007 From: andresen-cups at diku.dk (Rune Andresen) Date: Mon, 17 Sep 2007 18:09:50 -0700 Subject: IPP from windows Message-ID: <30579-cups.general@news.easysw.com> Hi. Is it possible to build the client-part of CUPS on Windows, to allow command line printing to a Kerberized CUPSd on a linux system? I've found '#ifndef WIN32' in the folder systemv - is it then possible to build lp on a Windows system .. and how? Rune Andresen From dmehler26 at woh.rr.com Mon Sep 17 18:48:03 2007 From: dmehler26 at woh.rr.com (Dave) Date: Mon, 17 Sep 2007 18:48:03 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies References: <30562-cups.general@news.easysw.com> Message-ID: <30580-cups.general@news.easysw.com> Hello, What OS and printer are you using? I've seen this on a Centos5 print server with an hp deskjet 5150 printer attached to it that i share on the network. Now my cups prints multiple copies of items, and they are stuck in the queue so i can't halt them. Any insight appreciated. Thanks. Dave. ----- Original Message ----- From: "angelb" Newsgroups: cups.general To: Sent: Monday, September 17, 2007 12:34 PM Subject: [cups.general] CUPS 1.2.12 -- PCL no longer create multiple copies > Hello all. > > We've just upgraded our CUPS systems from 1.2.4 to 1.2.12. Our users > are now reporting they are no longer getting multiple copies. > > Looks like some PCL codes have changed in 1.2.12. See the following > for example: > > banner angel >/tmp/angel > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/angel > >>From the above command(no PCL here), I would get 3 copies as exepected. > > > However, printing any job with PCL will result with only one > copy: > > lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU > > Where /tmp/SP001nq5lx.ADU: > ^[%-12345X at PJL > @PJL ENTER LANGUAGE=PCL > ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... > > I'm able to duplicate the PCL issue in multiple printers. > > PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this > appreciated. > > Thanks, > Angel > > > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups From mike at easysw.com Mon Sep 17 19:50:32 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 19:50:32 -0700 Subject: IPP from windows In-Reply-To: <30579-cups.general@news.easysw.com> References: <30579-cups.general@news.easysw.com> Message-ID: <30581-cups.general@news.easysw.com> Rune Andresen wrote: > Hi. > > Is it possible to build the client-part of CUPS on Windows, to allow > command line printing to a Kerberized CUPSd on a linux system? > > I've found '#ifndef WIN32' in the folder systemv - is it then possible > to build lp on a Windows system .. and how? The CUPS library can be built using the provided VC++ project file, however you will also need to supply your own copy of OpenSSL. Right now Kerberos is *not* enabled, and I really don't know whether it could be supported with the standard Windows libraries. To build any of the other programs, you will need to add projects for each of them and link them against the CUPS library. None of the client programs have been built or tested on Windows in a very long time. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From dmehler26 at woh.rr.com Mon Sep 17 21:13:56 2007 From: dmehler26 at woh.rr.com (Dave) Date: Mon, 17 Sep 2007 21:13:56 -0700 Subject: [cups.general] cups 1.2, 1.3, or 1.4? Message-ID: <30582-cups.general@news.easysw.com> Hello, I've got a CentOS 5 box that i'm running cups on. It does network printing, yet i'd like to upgrade it. The version is the default with rhel5. I went to the cups site and noticed there were three versions of cups, 1.2, 1.3, and 1.4. I was wondering which is the most current and which is stable vs. alpha or beta? Thanks. Dave. From west at ieee.org Mon Sep 17 23:04:00 2007 From: west at ieee.org (Burnie West) Date: Mon, 17 Sep 2007 23:04:00 -0700 Subject: Mac / Linux Print Servers Message-ID: <30583-cups.general@news.easysw.com> I'm not able to get both my F7 Linux and my wife's MAC OS X 10.3.9 to share their respective printers. These two computers are connected via a Linksys wireless router, using the wired ethernet connections. The MAC can print on the Linux box, but not vice versa. My F7 Linux printer configuration tool [system->administration->printers] lists the remote printers on the MAC, but when I select one I get an alert box "There was a problem connecting to the CUPS server". The Linux CUPS tool at localhost:631/printers has a server tab, and I have been able to get the MAC printer to work from the UNIX box using that tool after editing /etc/hosts on the Linux box to include the MAC's IP address (using the Linksys DHCP reserved IP address feature). However, the MAC CUPS tool does not have a server tab (or I haven't grasped the incantation necessary to enable it), and MAC OS X doesn't seem to manage /etc/hosts in the same way as Linux. I have enabled printer sharing on the MAC, but the CUPS tool does not appear to recognize it as a printer server. I edited /etc/cups/cupsd.conf to log debug messages, but the debug message "cupsdAuthorize: No authentication data provided." doesn't tell me very much. Seems like it all ought to be easier than this, but I haven't found the "howto" of other instructions that tell me the preferred path to get all this running. I'd appreciate any help. From mike at easysw.com Mon Sep 17 23:25:48 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 23:25:48 -0700 Subject: [cups.general] cups 1.2, 1.3, or 1.4? In-Reply-To: <30582-cups.general@news.easysw.com> References: <30582-cups.general@news.easysw.com> Message-ID: <30584-cups.general@news.easysw.com> Dave wrote: > Hello, > I've got a CentOS 5 box that i'm running cups on. It does network > printing, yet i'd like to upgrade it. The version is the default with > rhel5. I went to the cups site and noticed there were three versions of > cups, 1.2, 1.3, and 1.4. I was wondering which is the most current and > which is stable vs. alpha or beta? From the home page, the current stable release is 1.3.1, and the current developer snapshot is 1.4svn-r6956. http://www.cups.org/ From the roadmap page (link on the home page), you'll see that CUPS 1.1.x and 1.2.x are the former stable releases and are no longer maintained. CUPS 1.3.x is the current stable branch, and 1.4.x is the current development branch. http://www.cups.org/roadmap.php -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From magnus at rissnekyrkan.org Tue Sep 18 00:02:02 2007 From: magnus at rissnekyrkan.org (Magnus Kronberg) Date: Tue, 18 Sep 2007 00:02:02 -0700 Subject: Problem Konica Minolta IPI424 PS Message-ID: <30585-cups.general@news.easysw.com> I'm having a problem with my network printer. It's a Konica Minolta 7222 printer/copier. I have a ppd driver witch checks out fine doing the test at the printer driver testing page. I can install the printer and it sends the testpage. Problem is that the test page comes out as rubbish. It tries to print 12 pages, but there's only text on the first one. The text that comes out seems like an error message. It starts with the words PostScript 3.0. Where can I start to look for the problem? Here's a printout of my Cups config: # Show troubleshooting information in error_log. LogLevel debug SystemGroup lpadmin # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Order allow,deny Allow localhost AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost Require user @OWNER @SYSTEM Order deny,allow AuthType Basic Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow Printcap /var/run/cups/printcap From max40 at gmx.de Tue Sep 18 01:21:17 2007 From: max40 at gmx.de (max) Date: Tue, 18 Sep 2007 01:21:17 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30586-cups.general@news.easysw.com> I want to print a PDF-Document for example with 10 pages on an duplex printer! On the backside I want to print an other PDF-Document with one page! For Example: Front - PDF 1 - page 1 Back - PDF 2 - page 1 Front - PDF 1 - page 2 Back - PDF 2 - page 1 Front - PDF 1 - page 3 Back - PDF 2 - page 1 ... Is it possible? Thanks Max From max40 at gmx.de Tue Sep 18 02:28:11 2007 From: max40 at gmx.de (max) Date: Tue, 18 Sep 2007 02:28:11 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30587-cups.general@news.easysw.com> I want to print a PDF-Document for example with 10 pages on an duplex printer! On the backside I want to print an other PDF-Document with one page! For Example: Front - PDF 1 - page 1 Back - PDF 2 - page 1 Front - PDF 1 - page 2 Back - PDF 2 - page 1 Front - PDF 1 - page 3 Back - PDF 2 - page 1 ... Is it possible? Thanks Max From gene.heskett at verizon.net Tue Sep 18 05:08:44 2007 From: gene.heskett at verizon.net (Gene Heskett) Date: Tue, 18 Sep 2007 05:08:44 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30587-cups.general@news.easysw.com> References: <30587-cups.general@news.easysw.com> Message-ID: <30588-cups.general@news.easysw.com> On Tuesday 18 September 2007, max wrote: >I want to print a PDF-Document for example with 10 pages on an duplex > printer! On the backside I want to print an other PDF-Document with one > page! For Example: > >Front - PDF 1 - page 1 >Back - PDF 2 - page 1 > >Front - PDF 1 - page 2 >Back - PDF 2 - page 1 > >Front - PDF 1 - page 3 >Back - PDF 2 - page 1 > >.. > >Is it possible? > Sure Max, and doesn't need the duplex feature at all if you are willing to do it in 2 runs. Print the 10 pager to the first side of 10 sheets turn the paper around and put it back in the input tray then print 10 copies of the one pager. Piece of cake if you have something like kprinter, a printing manager available. Which is how I'd do it anyway since I don't have a duplex capable printer. -- 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) What good is it if you talk in flowers, and they think in pastry? -- Ashleigh Brilliant From max40 at gmx.de Tue Sep 18 05:17:50 2007 From: max40 at gmx.de (max server) Date: Tue, 18 Sep 2007 05:17:50 -0700 Subject: Print two documents (merge and duplex) Message-ID: <30589-cups.general@news.easysw.com> > On Tuesday 18 September 2007, max wrote: > >I want to print a PDF-Document for example with 10 pages on an duplex > > printer! On the backside I want to print an other PDF-Document with one > > page! For Example: > > > >Front - PDF 1 - page 1 > >Back - PDF 2 - page 1 > > > >Front - PDF 1 - page 2 > >Back - PDF 2 - page 1 > > > >Front - PDF 1 - page 3 > >Back - PDF 2 - page 1 > > > >.. > > > >Is it possible? > > > Sure Max, and doesn't need the duplex feature at all if you are willing to do > it in 2 runs. > > Print the 10 pager to the first side of 10 sheets > turn the paper around and put it back in the input tray > then print 10 copies of the one pager. > > Piece of cake if you have something like kprinter, a printing manager > available. > > Which is how I'd do it anyway since I don't have a duplex capable printer. > > -- > 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) > What good is it if you talk in flowers, and they think in pastry? > -- Ashleigh Brilliant > Thanks! But I want to print on a duplex printer with one run not two or more! No manual doing is possible! Max From gene.heskett at verizon.net Tue Sep 18 06:30:18 2007 From: gene.heskett at verizon.net (Gene Heskett) Date: Tue, 18 Sep 2007 06:30:18 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30589-cups.general@news.easysw.com> References: <30589-cups.general@news.easysw.com> Message-ID: <30590-cups.general@news.easysw.com> On Tuesday 18 September 2007, max server wrote: >> On Tuesday 18 September 2007, max wrote: >> >I want to print a PDF-Document for example with 10 pages on an duplex >> > printer! On the backside I want to print an other PDF-Document with one >> > page! For Example: >> > >> >Front - PDF 1 - page 1 >> >Back - PDF 2 - page 1 >> > >> >Front - PDF 1 - page 2 >> >Back - PDF 2 - page 1 >> > >> >Front - PDF 1 - page 3 >> >Back - PDF 2 - page 1 >> > >> >.. >> > >> >Is it possible? >> >> Sure Max, and doesn't need the duplex feature at all if you are willing to >> do it in 2 runs. >> >> Print the 10 pager to the first side of 10 sheets >> turn the paper around and put it back in the input tray >> then print 10 copies of the one pager. >> >> Piece of cake if you have something like kprinter, a printing manager >> available. >> >> Which is how I'd do it anyway since I don't have a duplex capable printer. >> >> -- >> 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) >> What good is it if you talk in flowers, and they think in pastry? >> -- Ashleigh Brilliant > >Thanks! > >But I want to print on a duplex printer with one run not two or more! >No manual doing is possible! Allright, then take a look at pdfedit if you don't have access to a real copy of acrobat. I have it (pdfedit) but haven't had a chance to explore it. It might be possible to have it generate a new output file whose every even page is a copy of the one pager. This is a relatively new linux app, and it certainly has a pretty face. I just haven't found a good excuse to walk around in it (pdfedit) yet since I haven't had the need for something like your project. And please report your results, so that others may learn too. -- 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) It is common sense to take a method and try it. If it fails, admit it frankly and try another. But above all, try something. -- Franklin D. Roosevelt From angelb at bugarin.us Tue Sep 18 08:12:59 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:12:59 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30591-cups.general@news.easysw.com> > Hello, > What OS and printer are you using? I've seen this on a Centos5 print > server with an hp deskjet 5150 printer attached to it that i share on the > network. Now my cups prints multiple copies of items, and they are stuck in > the queue so i can't halt them. Any insight appreciated. > Thanks. > Dave. CUPS servers are RHEL and clients are AIX and Solaris. Printers are all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver interfaces...of all kinds. From angelb at bugarin.us Tue Sep 18 08:13:00 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:13:00 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30592-cups.general@news.easysw.com> > Hello, > What OS and printer are you using? I've seen this on a Centos5 print > server with an hp deskjet 5150 printer attached to it that i share on the > network. Now my cups prints multiple copies of items, and they are stuck in > the queue so i can't halt them. Any insight appreciated. > Thanks. > Dave. CUPS servers are RHEL and clients are AIX and Solaris. Printers are all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver interfaces...of all kinds. From nieprask at ifh.de Tue Sep 18 08:13:36 2007 From: nieprask at ifh.de (Waltraut Niepraschk) Date: Tue, 18 Sep 2007 08:13:36 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail on Xerox Phaser 6350 In-Reply-To: References: Message-ID: <30593-cups.general@news.easysw.com> Hi all, thank your for messages. Lukas and me try to find out what causes the problem. Power cycle of the printer helps. I installed the fileprinter 2file and print with gnome-print a test file. It is attached. At the moment I have not a Windows printjob. Best regards -- Waltraut Niepraschk Deutsches Elektronen-Synchrotron DESY | Phone: +49 33762 77369 Platanenallee 6 | Fax: +49 33762 77216 D-15738 Zeuthen Germany | E-Mail: Waltraut.Niepraschk at desy.de -------------- next part -------------- A non-text attachment was scrubbed... Name: print.testfile.prn Type: application/postscript Size: 52058 bytes Desc: xerox-gnome-print URL: From angelb at bugarin.us Tue Sep 18 08:14:52 2007 From: angelb at bugarin.us (angelb) Date: Tue, 18 Sep 2007 08:14:52 -0700 Subject: CUPS 1.2.12 -- PCL no longer create multiplecopies Message-ID: <30594-cups.general@news.easysw.com> > > Hello, > > What OS and printer are you using? I've seen this on a Centos5 print > > server with an hp deskjet 5150 printer attached to it that i share on the > > network. Now my cups prints multiple copies of items, and they are stuck in > > the queue so i can't halt them. Any insight appreciated. > > Thanks. > > Dave. > > CUPS servers are RHEL and clients are AIX and Solaris. Printers are > all kinds...HP, XEROX, RICOH, etc, with JetDirect or Printserver > interfaces...of all kinds. > Sorry, for the multiple posts...don't know how this happened. I'm sure it's unrelated to my PCL multiple-copy issue... :) From sejh79 at hotmail.com Tue Sep 18 08:34:06 2007 From: sejh79 at hotmail.com (Tyndyll) Date: Tue, 18 Sep 2007 08:34:06 -0700 Subject: Thermal Printer Message-ID: <30595-cups.general@news.easysw.com> Hi All, Apologies for the question - its probably a simple one but I feel like I've been running around in circles and getting nowhere. I am developing a web application that requires printing to a thermal printer intermittently. Users are generally windows clients connecting to the application on a BSD server on an internal network. Rather than have them download individual files I was hoping for them to click on the button and the file be automatically printed via CUPs. I have the logic sorted, what I don't have is the CUPs sorted. The printer is connected to a Windows server and to the best of my knowledge does not use postscript. Is there a way of creating the PPD file to do this, or am I just out of luck? Any information appreciated Tyndyll From k1pfeifle at gmx.net Tue Sep 18 09:20:57 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Tue, 18 Sep 2007 09:20:57 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30596-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. The idea wasn't for you to just use it, print 1 (or more files) and dump the result to the list. The idea was to give you a tool where you can do your different prints from different clients (that's your problem, that these do result in different things, right?) and that you *yourself* start comparing the resulting files (use "diff" "sdiff" or just your eyeballs), their PJL headers and what-not and see if this gives you a clue :-) > At the moment I have not a Windows printjob. It's pretty useless to stare at one jobfile only if you are looking for differences. > Best regards -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Tue Sep 18 09:27:56 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 09:27:56 -0700 Subject: CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30570-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> Message-ID: <30597-cups.general@news.easysw.com> angelb wrote: >>angelb wrote: >> >>>>angelb wrote: >>>> >>>>>... >>>>>However, printing any job with PCL will result with only one >>>>>copy: >>>>> >>>>>lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>>>> >>>>>Where /tmp/SP001nq5lx.ADU: >>>>>^[%-12345X at PJL >>>>>@PJL ENTER LANGUAGE=PCL >>>>>^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>>>> >>>>>I'm able to duplicate the PCL issue in multiple printers. >>>>> >>>>>PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>>>>appreciated. >>>> >>>>More than likely the file is getting flagged as "raw" since it >>>>contains PCL commands. How is the queue configured? >>>> >>> >>>The queues are configured as AppSocket/HP JetDirect with HP Laserjet >>>Series PCL 4/5 CUPS v1.2(en). >>> >>>There were no printer queue changes. These queues were printing and >>>producing the correct number of copies in CUPS 1.2.4. We've upgraded >>>all prod server/clients to 1.2.12 on Sunday morning. >> >>The only change I am aware of is STR #2423 which would flag the PCL >>files as raw. The copies should then be produced by the socket >>backend... >> >>Have you checked the (LogLevel debug) error_log files on the client >>and server to see what is getting passed around? >> > > > I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. > > I've not gotten any deeper other than testing the IPP backends but it > appears to be the cause. > > Thanks, > Angel Could it be that it is a recurrence of the IPP backend bug conserning the number of copies I posted in the old days of CUPS 1.1.18 or 1.1.19 ? IIRC, it was a conflict between print-job defined number of copies (which don't show up in the IPP request) and the copies attribute induced by copies-default in the IPP request. If needed I can post how I then fixed the issue at oursite (we still use pretty old 1.1.19). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Tue Sep 18 10:16:40 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 10:16:40 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30598-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. > > At the moment I have not a Windows printjob. > > Best regards > The testfile did not exhibit anything weird. But it would be nice to get the file generated by KDE or GNOME before it is processed by the CUPS filters, and an WinXP generated file as well (before eaten by CUPS). My suspicion is that when printing from Windows, the job patch file as defined in the PPD is appliee twice - once by the windows driver and a second time by the CUPS pstops filter. As nobody but the Xerox developers know the internals of their PS procedures used and/or set up by the job patch file, repeated execution within the same job may cause unpredictable results. But to be sure, I'd prefer to look into the files as indicated above. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Tue Sep 18 10:40:20 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:40:20 -0700 Subject: [cups.general] Print two documents (merge and duplex) In-Reply-To: <30586-cups.general@news.easysw.com> References: <30586-cups.general@news.easysw.com> Message-ID: <30599-cups.general@news.easysw.com> max wrote: > I want to print a PDF-Document for example with 10 pages on an duplex printer! > On the backside I want to print an other PDF-Document with one page! > ... > Is it possible? Not directly, however you may be able to use psutils to do something after converting the PDF files to PostScript. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Tue Sep 18 10:43:34 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:43:34 -0700 Subject: [cups.general] Thermal Printer In-Reply-To: <30595-cups.general@news.easysw.com> References: <30595-cups.general@news.easysw.com> Message-ID: <30600-cups.general@news.easysw.com> Tyndyll wrote: > ... > I have the logic sorted, what I don't have is the CUPs sorted. The > printer is connected to a Windows server and to the best of my > knowledge does not use postscript. Is there a way of creating the PPD > file to do this, or am I just out of luck? Mainly this depends on the printer; if there is a CUPS driver, it should be as simple as sharing the printer on the Windows system (and preferably add the TCP/IP Printing service so your Windows system accepts the jobs via LPD) and then setting up a queue on the CUPS system pointing to the Windows system. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From h.blischke at srz.de Tue Sep 18 10:44:32 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 18 Sep 2007 10:44:32 -0700 Subject: [cups.general] Kde and gnome-print make Samba-printing fail onXerox Phaser 6350 In-Reply-To: <30593-cups.general@news.easysw.com> References: <30593-cups.general@news.easysw.com> Message-ID: <30601-cups.general@news.easysw.com> Waltraut Niepraschk wrote: > Hi all, > > thank your for messages. Lukas and me try to find out what causes > the problem. > > Power cycle of the printer helps. > > I installed the fileprinter 2file and print with gnome-print a test file. > It is attached. > > At the moment I have not a Windows printjob. > > Best regards > The testfile did not exhibit anything weird. But it would be nice to get the file generated by KDE or GNOME before it is processed by the CUPS filters, and an WinXP generated file as well (before eaten by CUPS). My suspicion is that when printing from Windows, the job patch file as defined in the PPD is appliee twice - once by the windows driver and a second time by the CUPS pstops filter. As nobody but the Xerox developers know the internals of their PS procedures used and/or set up by the job patch file, repeated execution within the same job may cause unpredictable results. But to be sure, I'd prefer to look into the files as indicated above. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From msweet at apple.com Tue Sep 18 10:45:58 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 10:45:58 -0700 Subject: [cups.general] CUPS 1.2.12 -- PCL no longercreate multiplecopies In-Reply-To: <30597-cups.general@news.easysw.com> References: <30570-cups.general@news.easysw.com> <30597-cups.general@news.easysw.com> Message-ID: <30602-cups.general@news.easysw.com> Helge Blischke wrote: > angelb wrote: >>> angelb wrote: >>> >>>>> angelb wrote: >>>>> >>>>>> ... >>>>>> However, printing any job with PCL will result with only one >>>>>> copy: >>>>>> >>>>>> lpr -T50433-1:1:foo: -Pricohc -#3 /tmp/SP001nq5lx.ADU >>>>>> >>>>>> Where /tmp/SP001nq5lx.ADU: >>>>>> ^[%-12345X at PJL >>>>>> @PJL ENTER LANGUAGE=PCL >>>>>> ^[E^[&l0L^[&l1X^[&k0G^[*c32000G^[*c16M-^HD"^Q^Q"DM-^H^[*c32001G^[*c16M-.... >>>>>> >>>>>> I'm able to duplicate the PCL issue in multiple printers. >>>>>> >>>>>> PCL in CUPS 1.2.4 worked okay. Any help on how to resolve this >>>>>> appreciated. >>>>> More than likely the file is getting flagged as "raw" since it >>>>> contains PCL commands. How is the queue configured? >>>>> >>>> The queues are configured as AppSocket/HP JetDirect with HP Laserjet >>>> Series PCL 4/5 CUPS v1.2(en). >>>> >>>> There were no printer queue changes. These queues were printing and >>>> producing the correct number of copies in CUPS 1.2.4. We've upgraded >>>> all prod server/clients to 1.2.12 on Sunday morning. >>> The only change I am aware of is STR #2423 which would flag the PCL >>> files as raw. The copies should then be produced by the socket >>> backend... >>> >>> Have you checked the (LogLevel debug) error_log files on the client >>> and server to see what is getting passed around? >>> >> >> I've narrowed it down to the IPP backend. If I use the ipp from CUPS 124, in a running CUPS 1212, I'd get the correct number of copies. >> >> I've not gotten any deeper other than testing the IPP backends but it >> appears to be the cause. >> >> Thanks, >> Angel > > Could it be that it is a recurrence of the IPP backend bug > conserning the number of copies I posted in the old days of > CUPS 1.1.18 or 1.1.19 ? Not specifically, but a more general problem with the solution we came up with for Xerox printers - basically, raw files were assumed to already have the copies applied in them, so we didn't pass any of the job options from the client to the server. The current code in 1.3.x and trunk address this by only omitting the options for filtered jobs. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From west at ieee.org Tue Sep 18 10:47:26 2007 From: west at ieee.org (Burnie West) Date: Tue, 18 Sep 2007 10:47:26 -0700 Subject: Mac / Linux Print Servers Message-ID: <30603-cups.general@news.easysw.com> > I'm not able to get both my F7 Linux and my wife's MAC OS X 10.3.9 to share their respective printers. FWIW, the F7 distro uses CUPS 1.2.12 and the MAC OS 10.3.9 is using CUPS v1.1.20rc1 From sejh79 at hotmail.com Tue Sep 18 11:54:27 2007 From: sejh79 at hotmail.com (Tyndyll) Date: Tue, 18 Sep 2007 11:54:27 -0700 Subject: Thermal Printer Message-ID: <30604-cups.general@news.easysw.com> > Mainly this depends on the printer; if there is a CUPS driver, it > should be as simple as sharing the printer on the Windows system I think this is the issue - I don't think that there is a CUPs driver (which I am assuming is the PPD file?) for this printer. I have the printer shared on Windows. Just to add some more information which I thought of on the way home. Its a Toshiba (TEC) SX4 thermal printer that also does RFID. My aim however is just to print a PDF to it, which I have successfully done in windows. If there is no official driver for this, is there another way around it? From what I read I don't think I can print directly to the Windows server and have its drivers sort it out? Any information helpful. Sorry if this seems particularly newbie-ish Tyndyll > Tyndyll wrote: > > ... > > I have the logic sorted, what I don't have is the CUPs sorted. The > > printer is connected to a Windows server and to the best of my > > knowledge does not use postscript. Is there a way of creating the PPD > > file to do this, or am I just out of luck? > > Mainly this depends on the printer; if there is a CUPS driver, it > should be as simple as sharing the printer on the Windows system > (and preferably add the TCP/IP Printing service so your Windows > system accepts the jobs via LPD) and then setting up a queue on the > CUPS system pointing to the Windows system. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From till.kamppeter at gmail.com Tue Sep 18 14:06:25 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Tue, 18 Sep 2007 14:06:25 -0700 Subject: [cups.general] Thermal Printer In-Reply-To: <30604-cups.general@news.easysw.com> References: <30604-cups.general@news.easysw.com> Message-ID: <30605-cups.general@news.easysw.com> Try the instructions here: http://www.stat.tamu.edu/~henrik/GSPSprinter/GSPSprinter.html This will let your Windows server emulate a PostScript printer. Then you can point a CUPS queue with a generic PostScript PPD to your printer. Till Tyndyll wrote: >> Mainly this depends on the printer; if there is a CUPS driver, it >> should be as simple as sharing the printer on the Windows system > > I think this is the issue - I don't think that there is a CUPs driver (which I am assuming is the PPD file?) for this printer. I have the printer shared on Windows. > > Just to add some more information which I thought of on the way home. Its a Toshiba (TEC) SX4 thermal printer that also does RFID. My aim however is just to print a PDF to it, which I have successfully done in windows. > > If there is no official driver for this, is there another way around it? From what I read I don't think I can print directly to the Windows server and have its drivers sort it out? > > Any information helpful. Sorry if this seems particularly newbie-ish > > Tyndyll > > >> Tyndyll wrote: >>> ... >>> I have the logic sorted, what I don't have is the CUPs sorted. The >>> printer is connected to a Windows server and to the best of my >>> knowledge does not use postscript. Is there a way of creating the PPD >>> file to do this, or am I just out of luck? >> Mainly this depends on the printer; if there is a CUPS driver, it >> should be as simple as sharing the printer on the Windows system >> (and preferably add the TCP/IP Printing service so your Windows >> system accepts the jobs via LPD) and then setting up a queue on the >> CUPS system pointing to the Windows system. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From mike at easysw.com Tue Sep 18 15:49:40 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 18 Sep 2007 15:49:40 -0700 Subject: Common UNIX Printing System 1.3.2 Message-ID: <136-cups.announce@news.easysw.com> CUPS 1.3.2 is now available for download from the CUPS web site. CUPS 1.3.2 replaces the invalid 1.3.1 release tarballs and fixes some scheduler and printing issues. Changes include: * The 1.3.1 release was incorrectly created from the 1.4.x source tree (STR #2519) * Added support for 32/64-bit libraries on HP-UX (STR #2520) * The scheduler incorrectly used portrait as the default orientation (STR #2513) * The scheduler no longer writes the printcap file for every remote printer update (STR #2512) * Remote raw printing with multiple copies did not work (STR #2518) * Updated the configure script to require at least autoconf 2.60 (STR #2515) * Some gzip'd PPD files were not read in their entirety (STR #2510) Enjoy! From till.kamppeter at gmail.com Tue Sep 18 16:31:13 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Tue, 18 Sep 2007 16:31:13 -0700 Subject: [cups.general] Where is the "mdns" backend? Message-ID: <30606-cups.general@news.easysw.com> Hi, probably many of you have seend my earlier posting announcing my "dnssd" backend, a simple Perl script which discovers network printers via DNS-SD/Zeroconf. It simply runs the "avahi-browse" command and then processes the output. Now I have seen the following STR (feature request): http://www.cups.org/str.php?L2433 The reporter says it is valid for all systems and he talks about an "mdns" backend which seems to do the same thing as my "dnssd" backend. So I searched the repositories of CUPS 1.3.x and 1.4.x for this backend and I could not find it. Where do I find it? Or is it a proprietary add-on which Apple adds to CUPS for Mac OS X? Should I perhaps rename my backend to "mdns" so that there is an "mdns" for all systems? Or could the CUPS "mdns" backend be made available for all systems? Till P. S.: Who did not see my announcement, here is the link to the backend again: http://www.openprinting.org/download/printing/dnssd Download it, put it into /usr/lib/cups/backend/, make it executable, and now more printers get discovered than by "snmp" or you get more info about your printers. From premjo.elias at gmail.com Tue Sep 18 20:35:49 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 20:35:49 -0700 Subject: Card Printer Driver Developement Message-ID: <30607-cups.general@news.easysw.com> > Premjo wrote: > > Thank you, Is CUPS supports bidirectional communication from the printer?, our printer supports ribbon and other informations back to the driver. > > You can generally read responses from your device using the > cupsBackChannelRead() function provided in CUPS 1.2 and higher. > > However, keep in mind that not all backends support bidi comm, so you > should fall back to a unidirectional mode if cupsBackChannelRead() > fails. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Do CUPS supports USB printers? From msweet at apple.com Tue Sep 18 20:50:09 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 20:50:09 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30607-cups.general@news.easysw.com> References: <30607-cups.general@news.easysw.com> Message-ID: <30608-cups.general@news.easysw.com> Premjo wrote: > ... > Do CUPS supports USB printers? Yes, of course. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Tue Sep 18 21:18:22 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 21:18:22 -0700 Subject: Card Printer Driver Developement Message-ID: <30609-cups.general@news.easysw.com> > Premjo wrote: > > ... > > Do CUPS supports USB printers? > > Yes, of course. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > do you have skype id or MSN ID for chating? From msweet at apple.com Tue Sep 18 21:30:58 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 18 Sep 2007 21:30:58 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30609-cups.general@news.easysw.com> References: <30609-cups.general@news.easysw.com> Message-ID: <30610-cups.general@news.easysw.com> Premjo wrote: >> Premjo wrote: >>> ... >>> Do CUPS supports USB printers? >> Yes, of course. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > do you have skype id or MSN ID for chating? Sorry, no. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From premjo.elias at gmail.com Tue Sep 18 21:50:36 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 18 Sep 2007 21:50:36 -0700 Subject: Card Printer Driver Developement Message-ID: <30611-cups.general@news.easysw.com> > Premjo wrote: > >> Premjo wrote: > >>> ... > >>> Do CUPS supports USB printers? > >> Yes, of course. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > do you have skype id or MSN ID for chating? > > Sorry, no. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Our printers have facility to encode on magstripe and chip, how do i can incorporate the specific commands to take the card for encoding inside the printer? do i can add my own ? i want to show a screen on the tab saying color settings, k panel settings, etc. my own screens? From twaugh at redhat.com Wed Sep 19 02:18:08 2007 From: twaugh at redhat.com (Tim Waugh) Date: Wed, 19 Sep 2007 02:18:08 -0700 Subject: [cups.general] Where is the "mdns" backend? In-Reply-To: <46F05FB3.1010607@gmail.com> References: <46F05FB3.1010607@gmail.com> Message-ID: <30612-cups.general@news.easysw.com> On Wed, 2007-09-19 at 00:30 +0100, Till Kamppeter wrote: > The reporter says it is valid for all systems and he talks about an > "mdns" backend which seems to do the same thing as my "dnssd" backend. > So I searched the repositories of CUPS 1.3.x and 1.4.x for this backend > and I could not find it. Where do I find it? Or is it a proprietary > add-on which Apple adds to CUPS for Mac OS X? It's a proprietary add-on I think. It ships in Mac OS X, yes. 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 hardyjm at potsdam.edu Wed Sep 19 06:11:24 2007 From: hardyjm at potsdam.edu (Jeff Hardy) Date: Wed, 19 Sep 2007 06:11:24 -0700 Subject: [cups.general] Excessive Get-Printer-Attributes in CUPS In-Reply-To: <30576-cups.general@news.easysw.com> References: <30068-cups.general@news.easysw.com> <30073-cups.general@news.easysw.com> <30082-cups.general@news.easysw.com> <30083-cups.general@news.easysw.com> <30087-cups.general@news.easysw.com> <30089-cups.general@news.easysw.com> <30569-cups.general@news.easysw.com> <30573-cups.general@news.easysw.com> <30574-cups.general@news.easysw.com> <30576-cups.general@news.easysw.com> Message-ID: <30613-cups.general@news.easysw.com> On Mon, 2007-09-17 at 14:49 -0700, Kurt Pfeifle wrote: > Jeff Hardy wrote: > > > lpq command = %p > > This one is rubbish. You don't have it in smb.conf -- it's what Samba > uses as a default, but it's a bug. > > To work around it, please add the explicit line to smb.conf > > lpq command = "" This ended up causing some problems as all jobs showed up in all queues. > > (this should use the CUPS default command, because Samba should be linked > against libcups) or use > > lpq command = lpstat -o %p This works just fine. But, my problems still remain. And, I'm still seeing a ton of these: D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes ipp:///printers/printers D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes client-error-not-found: The printer or class was not found. D [19/Sep/2007:09:06:40 -0400] cupsdProcessIPPRequest: 20 status_code=406 (client-error-not-found) D [19/Sep/2007:09:06:40 -0400] cupsdCloseClient: 20 > > explicitely which is what you'd use with CUPS on the commandline (%p gets > replaced by the actual printer name). > > Dunno if this could cause the problem you're seeing... > > It's probably a good idea to report this as a Samba bug in their Bug- > zilla. > > Thanks for the thought. -Jeff From msweet at apple.com Wed Sep 19 09:19:04 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 19 Sep 2007 09:19:04 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30611-cups.general@news.easysw.com> References: <30611-cups.general@news.easysw.com> Message-ID: <30614-cups.general@news.easysw.com> Premjo wrote: > ... > Our printers have facility to encode on magstripe and chip, how do i > can incorporate the specific commands to take the card for encoding > inside the printer? do i can add my own ? i want to show a screen on > the tab saying color settings, k panel settings, etc. my own screens? Start by reading the CUPS DDK manual and the PPD spec. Option groups should provide the functionality you need, and you can pass arbitrary options through to your driver that way. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Wed Sep 19 09:26:03 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 19 Sep 2007 09:26:03 -0700 Subject: [cups.general] Where is the "mdns" backend? In-Reply-To: <46F05FB3.1010607@gmail.com> References: <46F05FB3.1010607@gmail.com> Message-ID: <30615-cups.general@news.easysw.com> Till Kamppeter wrote: > ... > Should I perhaps rename my backend to "mdns" so that there is an "mdns" > for all systems? Or could the CUPS "mdns" backend be made available for > all systems? The plan was to include the mdns backend with CUPS 1.3.x, but it was not ready for public consumption in time. It will likely show up in 1.4.x once we have all of the issues ironed out. FWIW, the backend also requires working multicast DNS on the host platform, so Linux distros will need to enable .local lookups through Avahi as well. In the meantime, your perl script will do as a replacement, and I'd keep the (different) name as-is to avoid confusion in the future. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From rumson_benjamin at yahoo.com Wed Sep 19 15:54:21 2007 From: rumson_benjamin at yahoo.com (Benjamin Rumson) Date: Wed, 19 Sep 2007 15:54:21 -0700 Subject: [cups.general] No joy trying to print from MacBook to HP PSC-1200 which is wired to an Ubuntu box. Message-ID: <30616-cups.general@news.easysw.com> Hello, I guess I need some hand holding here. I have CUPS (v1.1.23) on a shiny new MacBook and CUPS (v1.2.8) on a freshly installed latest version of Ubuntu. There is an HP PSC-1200 attached by USB to the Ubuntu box. Printing from the Ubuntu box works just fine. I want to serve out the Ubuntu box's printer to the MacBook, but no joy so far. The driver that Ubuntu is using (hpijs) is not on the MacBook is near as I can tell: ubuntu> whereis hpijs hpijs: /usr/bin/hpijs /usr/X11R6/bin/hpijs /usr/bin/X11/hpijs /usr/share/man/man1/hpijs.1.gz macbook> whereis hpijs (nada) macbook> find /usr -name hpijs -print (also nada) I've selected the "HP DeskJet 1200C - Gimp-Print v5.0.0-beta2" driver when setting up printing on the MacBook because it looks fairly general. I get the following error (on the MacBook) when I try print. Description: PSC-1200 Location: Printer State: stopped, accepting jobs. "The process "http" stopped unexpectedly with status 1" Device URI: http://192.168.1.100:631/ipp/port1 I'm a noob on both systems; any (very literal) instructions will be appreciated. TIA. ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn-cups at willden.org Wed Sep 19 19:47:28 2007 From: shawn-cups at willden.org (Shawn Willden) Date: Wed, 19 Sep 2007 19:47:28 -0700 Subject: [cups.general] Card Printer Driver Developement In-Reply-To: <30611-cups.general@news.easysw.com> References: <30611-cups.general@news.easysw.com> Message-ID: <30617-cups.general@news.easysw.com> On Tuesday 18 September 2007 10:50:36 pm Premjo wrote: > Our printers have facility to encode on magstripe and chip, how do i can > incorporate the specific commands to take the card for encoding inside the > printer? do i can add my own ? i want to show a screen on the tab saying > color settings, k panel settings, etc. my own screens? For ideas about what's possible, I'd suggest you take a look at the documentation for the "Open Platform" driver for DataCard's SP series printers. It works via CUPS and does everything you mention. Also, I quite like DataCard's choice of a web services API for the control that can't be handled through CUPS (things like determining when the card has reached the chip station, or reading data from the magstripe). It's a very well-designed and easy-to-use API, accessible from any language that has web service client bindings, which is just about every thing. DataCard's driver and documentation is available on their web site. I don't recall if there's anything in the license that would prohibit you from studying their approach, but since you're obviously a competitor of theirs, you should probably read the license carefully. I work on software that uses card printers, and I can tell you that if you follow DataCard's approach, you'll increase the odds that I'll want to buy your card printer. Shawn. From walter.epp at ckw.ch Thu Sep 20 00:44:58 2007 From: walter.epp at ckw.ch (Epp Walter) Date: Thu, 20 Sep 2007 00:44:58 -0700 Subject: SLES10_64 Max File Size Message-ID: <30618-cups.general@news.easysw.com> I have installed CUPS on SLES10_64 SP1 in Version 1.1.23-40 and connect to a Local Raw Printer. I have the following error when the file size larger than 2GB, please advise me. The error messages show below : ProcessIPPRequest: 5 status_code=0 d [19/Sep/2007:08:23:48 +0200] ProcessIPPRequest: Adding fd 5 to OutputSet... d [19/Sep/2007:08:23:48 +0200] WriteClient: Removing fd 5 from OutputSet... d [19/Sep/2007:08:23:48 +0200] ReadClient: 5, used=0, file=-1 d [19/Sep/2007:08:23:48 +0200] ReadClient: httpGets returned EOF... D [19/Sep/2007:08:23:48 +0200] CloseClient: 5 d [19/Sep/2007:08:23:48 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... d [19/Sep/2007:08:23:48 +0200] AcceptClient(lis=0x555555696840) 0 NumClients = 0 D [19/Sep/2007:08:23:48 +0200] AcceptClient: 5 from localhost:631. d [19/Sep/2007:08:23:48 +0200] AcceptClient: Adding fd 5 to InputSet... d [19/Sep/2007:08:23:48 +0200] ReadClient: 5, used=0, file=-1 D [19/Sep/2007:08:23:48 +0200] ReadClient: 5 POST /printers/server2sap HTTP/1.1 d [19/Sep/2007:08:23:48 +0200] decode_auth(0x2aca7e820010): Authorization string = "" d [19/Sep/2007:08:23:48 +0200] decode_auth: 5 username="" d [19/Sep/2007:08:23:48 +0200] IsAuthorized: con->uri = "/printers/server2sap" d [19/Sep/2007:08:23:48 +0200] FindBest: uri = "/printers/server2sap"... d [19/Sep/2007:08:23:48 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [19/Sep/2007:08:23:48 +0200] FindBest: Location / Limit 7f d [19/Sep/2007:08:23:48 +0200] FindBest: Location /admin Limit 7f d [19/Sep/2007:08:23:48 +0200] FindBest: best = "/" d [19/Sep/2007:08:23:48 +0200] IsAuthorized: auth = 0, satisfy=0... d [19/Sep/2007:08:23:48 +0200] POST /printers/server2sap d [19/Sep/2007:08:23:48 +0200] CONTENT_TYPE = application/ipp D [19/Sep/2007:08:23:48 +0200] SendError: 5 code=400 (Bad Request) D [19/Sep/2007:08:23:48 +0200] CloseClient: 5 d [19/Sep/2007:08:23:48 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... With files under 2GB everything works well. Many thanks for your help. waedi From rizzo at icir.org Thu Sep 20 01:26:26 2007 From: rizzo at icir.org (Luigi Rizzo) Date: Thu, 20 Sep 2007 01:26:26 -0700 Subject: managing printer names (with windows, if it matters) ? Message-ID: <30619-cups.general@news.easysw.com> Hi, i have implemented a print-to-email service where i pass, as part of the printer name, the email address where to send the generated pdf. So I have a printer named 'foo', and clients access 'foo::myself at my.email.server'. A small patch to http-support.c in function httpSeparateURI() strips the ':myself at my.email.server' part from the request and uses it as a username (also leaving only the part before the '::' as a printer name). Things work as i want with a small annoyance - Windows boxes only see 'foo' as the printer name (and I cannot rename them on the Windows side), so if i have multiple instances of this printers configured on a client, i see them listed as 'foo', 'foo (Copy 1)', 'foo (Copy 2)' but have no way to tell the email address associated with each of them. I don't think the problem is windows-specific, most likely cups returns the basename ('foo' in this example) as the printer name because i stripped the rest too early. I suppose that a fix would be to keep the full printer name within the cups code, and implement a printer-name matching that ignores the part after the '::'. Any idea on where this could be done ? At first sight, it seems that i could play with the 'compare' function used in cupsArrayFind() on the Printers array, or perhaps at a higher level work on cupsdValidateDest() ? From lukast at ifh.de Thu Sep 20 05:40:10 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Thu, 20 Sep 2007 05:40:10 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printing fail on Xerox Pahser 6350 Message-ID: <30620-cups.general@news.easysw.com> Thank you very much for your help! I finaly found out, there was a wrong line in my bannerpage. I do not know why this problem only occured when printing from Gnome or Kde before printing from a Windows machine. (this Bannerpage is always printed) However, removing this malformed line did solve the Problem. Best regards, Lukas From gotj at iinet.net.au Thu Sep 20 06:16:54 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Thu, 20 Sep 2007 06:16:54 -0700 Subject: [cups.general] spooling delays Message-ID: <30621-cups.general@news.easysw.com> An HTML attachment was scrubbed... URL: From lukast at ifh.de Thu Sep 20 08:10:33 2007 From: lukast at ifh.de (Lukas Thiemeier) Date: Thu, 20 Sep 2007 08:10:33 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printing fail on Xerox Pahser 6350 In-Reply-To: References: Message-ID: <30622-cups.general@news.easysw.com> Hi all, I decided to give some additional information about my problem, because I solved it without understanding what was wrong. I want my banners to be printed on red paper, but my printers do not support selection of the bannerpage source. So I wrote a Bannerpage myself, with "<> setpagedevice" in it, and put red paper into Tray 5 for all printers. This worked fine. Later, I decided to use a script running a2ps instead of the original texttops-filter. This worked, too, but the script did not manage the trayswitching correctly, so all textfiles were printed on red paper when printed with bannerpage. I added "serverdict begin 0 exitserver" to the end of my bannerpage, in order toreset the printer afer printing the bannerpage. (this is, what google told me when I asked for "postscript printer reset") This worked fine for a while, until someone used gnome-print and samba printing crashed as described in my first mail. "serverdict begin 0 exitserver" is not realy malformed, but this is the line that was responsible for the error. I removed this line from the bannerpage and changed the a2ps-filter to select the correct papertray, and now everything is up to normal. I did not understand, why a "reset" in the bannerpage influences printing through samba (only when gnome or kde was used before), while everything else works realy fine! However, now it seems to work. If anybody has an idea what was wrong, I'd be happy to hear about it. Thanks a lot, Lukas On Thu, 20 Sep 2007, Lukas Thiemeier wrote: > > Thank you very much for your help! > > I finaly found out, there was a wrong line in my bannerpage. > I do not know why this problem only occured when printing from Gnome > or Kde before printing from a Windows machine. (this Bannerpage > is always printed) > However, removing this malformed line did solve the Problem. > > Best regards, > Lukas > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 20 09:44:50 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 20 Sep 2007 09:44:50 -0700 Subject: [cups.general] SOLVED: Kde and gnome-print make Samba-printingfail on Xerox Pahser 6350 In-Reply-To: <30622-cups.general@news.easysw.com> References: <30622-cups.general@news.easysw.com> Message-ID: <30623-cups.general@news.easysw.com> Lukas Thiemeier wrote: > > > Hi all, > I decided to give some additional information about my problem, because > I solved it without understanding what was wrong. > > I want my banners to be printed on red paper, but my printers do not > support selection of the bannerpage source. So I wrote a Bannerpage > myself, with > "<> > setpagedevice" > in it, and put red paper into Tray 5 for all printers. > This worked fine. > Later, I decided to use a script running a2ps instead of the original > texttops-filter. This worked, too, but the script did not manage the > trayswitching correctly, so all textfiles were printed on red paper when > printed with bannerpage. > I added > "serverdict begin 0 exitserver" > to the end of my bannerpage, in order toreset the printer afer printing > the bannerpage. > (this is, what google told me when I asked for "postscript printer reset") > This worked fine for a while, until someone used gnome-print and samba > printing crashed as described in my first mail. > > "serverdict begin 0 exitserver" is not realy malformed, but this is the > line that was responsible for the error. > I removed this line from the bannerpage and changed the a2ps-filter to > select the correct papertray, and now everything is up to normal. > > I did not understand, why a "reset" in the bannerpage influences > printing through samba (only when gnome or kde was used before), while > everything else works realy fine! However, now it seems to work. > > If anybody has an idea what was wrong, I'd be happy to hear about it. > > Thanks a lot, > Lukas > > On Thu, 20 Sep 2007, Lukas Thiemeier wrote: > >> >> Thank you very much for your help! >> >> I finaly found out, there was a wrong line in my bannerpage. >> I do not know why this problem only occured when printing from Gnome >> or Kde before printing from a Windows machine. (this Bannerpage >> is always printed) >> However, removing this malformed line did solve the Problem. >> >> Best regards, >> Lukas >> Well, the exitserver stuff is what caused the weird behaviour, as I suspected earlier. If you look into the PLRM (PostScript Language Reference Manual), you will learn that normally every job is "encapsulated" in the sense that the environment at the beginning of the job is preserved and restored immediately after the job. The exitserver operator escapes from that behaviour and causes any environmental changes made sine the start of the job to be permanent. The propoer way to achieve what you wanted is easy: - begin your banner page with something like userdict/save_env save put which saves the current environment - insert after the banner page's showpage userdict/save_env get restore to restore the original environment. This approach is the recommended one for a lot of similar specialities (like stapling parts of a job and so on). I'd recommend to read the "Blue Book" (I don't remember the correct title right now, but IIRC it is available as a PDF file on the web). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From none at none.com Thu Sep 20 22:48:38 2007 From: none at none.com (Matthew Jurgens) Date: Thu, 20 Sep 2007 22:48:38 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs Message-ID: <30624-cups.general@news.easysw.com> I'm running the following RPM of CUPS on Fedora Core 6 cups-1.2.12-4.fc6 I'm using it with an HP Laserjet 3055. This printer is listed as fully supported and it does work just fine. Everything about the printer operation work perfectly fine. Its setup using the HP-LaserJet_3055-hpijs.ppd file. No matter which document it prints, no matter the type or how many pages, the CUPs web page admin "Completed Jobs" section only ever shows jobs as having 1 page. They have variable sizes, but only ever one page. How can I fix this? I've deleted and re-added the printer, made sure I have the latest CUPS for my distribution etc Below is a sample from the web page for 2 jobs, one 2 pages and the other 3 pages. Showing 4 of 4 completed jobs. Sort Ascending ID Name User Size Pages State Control hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens 2k 1 completed at Fri 21 Sep 2007 02:58:37 PM EST hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens 1k 1 completed at Fri 21 Sep 2007 02:56:33 PM EST Thanks From morger at olmero.ch Fri Sep 21 01:09:26 2007 From: morger at olmero.ch (Philipp Morger) Date: Fri, 21 Sep 2007 01:09:26 -0700 Subject: Myths solved... (was: [SUGGESTION] switching trays in printjob) Message-ID: <30625-cups.general@news.easysw.com> Hi ML To summarize it: - OOo has a bug, so it is not possible to switch the tray in a document - Printing from Windows (SAMBA/CUPS) on HP Printers through hpijs seems to work flawless - On a Xerox DP N4525 it is not possible to change the tray while using PS , neither with the vendor supplied ppds* nor with the verndor supplied drivers for windows* - but it does works with the vendor supplied PCL drivers. * I also adjusted them to have an "Auto" SlotInput entry, which did not help. * I created "ports" on windows that does directly access the printer, via lpd and ipp - nothing worked as expected. regards, and thanks a lot for the help! Philipp From k1pfeifle at gmx.net Fri Sep 21 04:37:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 04:37:25 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30624-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> Message-ID: <30626-cups.general@news.easysw.com> Matthew Jurgens wrote: > I'm running the following RPM of CUPS on Fedora Core 6 > cups-1.2.12-4.fc6 > > I'm using it with an HP Laserjet 3055. > This printer is listed as fully supported and it does work just fine. > > Everything about the printer operation work perfectly fine. Its setup > using the HP-LaserJet_3055-hpijs.ppd file. > > No matter which document it prints, no matter the type or how many > pages, the CUPs web page admin "Completed Jobs" section only ever shows > jobs as having 1 page. They have variable sizes, but only ever one page. > > How can I fix this? > > I've deleted and re-added the printer, made sure I have the latest CUPS > for my distribution etc > > Below is a sample from the web page for 2 jobs, one 2 pages and the > other 3 pages. > > > Showing 4 of 4 completed jobs. > Sort Ascending > > ID Name User Size Pages State Control > hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens > 2k 1 completed at > Fri 21 Sep 2007 02:58:37 PM EST > > hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens > 1k 1 completed at > Fri 21 Sep 2007 02:56:33 PM EST Very likely, you are using the native Windows platform drivers on your Windows clients for the target printers as is provided by HP. That means, CUPS receives an unknown binary jobfile format (mime type of "application/octet-stream"), and will not filter it, hence, doesn't count pages. Therefore it logs the dummy "1 page" entry only. (If you used the PostScript driver on the Windows clients, as is installed when you use the "cupsaddsmb" method of handing the CUPS driver/PPD to Samba, your page count would be more precise). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From john at cs.york.ac.uk Fri Sep 21 08:06:30 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Fri, 21 Sep 2007 08:06:30 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 Message-ID: <30627-cups.general@news.easysw.com> > John A. Murdie wrote: > > ... > > I've not seen an illustration anywhere of how this looks like to > > the user of one of these untrusted clients - for instance in the > > GUI of a Mac OS X client. > > Kerberized printing is not supported on Mac OS X 10.4.x. (Sorry, of course; it still has CUPS 1.1.something.) > > I obtained a MacBook with OS X 10.4.10 (and fully up-to-date with > > software updates) to try this out. I decided to try an initial > > Location directive which Allow-s all the subnets in use, and the > > to have two Limit-s in the default Policy, one for the trusted > > subnet and one for the untrusted subnet: > > > > > > Allow from trusted > > Order deny,allow > > > > > > > > Allow from untrusted > > Require user @OWNER @SYSTEM > > Order deny,allow > > > > You really want to use: > > > Order allow,deny > Allow from trusted > Require user @OWNER @SYSTEM > AuthType Default > Satisfy any > > > The "Satisfy any" part tells CUPS to only require authentication on > the untrusted hosts/networks. > > In CUPS 1.2, the "AuthType Default" would need to be "AuthType Basic", > "AuthType Digest", or "AuthType BasicDigest". > > And like I said, you can't do Kerberized CUPS printing on Mac OS X > 10.4.x - even if you did install CUPS 1.3 on it, there is no GUI > support and the Kerberos is too old to support delegated credentials > properly... > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer I would hope at least to be able to lock out the untrusted clients (on a separate subnet from the trusted clients) if they cannot authenticate by the required means. Unfortunately, I have been unable to do this. I have in cupsd.conf an initial Location directive: Order allow,deny Allow from trusted/255.255.254.0 Allow from unstrusted/255.255.254.0 Encryption Required ('trusted' and 'untrusted' being the subnetwork address of the trusted and untrusted networks, respectively) which is followed by: Order allow,deny Allow from trusted Require user @OWNER @SYSTEM AuthType Basic Satisfy any yet this still permits the untrusted Mac OS X client to print (masquerading as any user known to the CUPS server). I've read "Managing Operations Policies" and understand that "operation policies can only add additional security restrictions to a request, never relax them" - but I'm adding them here. With AuthType Basic, I'd expect the Mac to popup a dialogue box with a request to authenticate against the CUPS server. Even with AuthType Negotiate above, the Mac can still print. Either I've configured it wrongly, or it's not fail-safe. (It is necessary for there to be basic "Allow from" directives in the Location section, or else nothing can interact with the server, of course. The Mac OS X client's Safari browser correctly handles the Encryption Required as we'd expect.) John A. Murdie From msweet at apple.com Fri Sep 21 09:40:39 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 21 Sep 2007 09:40:39 -0700 Subject: [cups.general] Beginner's problem with authentication policyin 1.3.0 In-Reply-To: <30627-cups.general@news.easysw.com> References: <30627-cups.general@news.easysw.com> Message-ID: <30628-cups.general@news.easysw.com> John A. Murdie wrote: > ... > > > Order allow,deny > Allow from trusted > Require user @OWNER @SYSTEM > AuthType Basic > Satisfy any > > > yet this still permits the untrusted Mac OS X client to print (masquerading as any user known to the CUPS server). I've read "Managing Operations Policies" and understand that "operation policies can only add additional security restrictions to a request, never relax them" - but I'm adding them here. Hmm, the AuthType should kick in the authentication requirement - cupsdIsAuthorized() only uses the requesting-user-name value if AuthType is None or unspecified... Can you run with LogLevel set to debug2 and provide me with the cupsdIsAuthorized messages (off-line, if you wish)? -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From pvanguardia at gmail.com Fri Sep 21 10:02:02 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 10:02:02 -0700 Subject: Child exited signal 11 Message-ID: <30629-cups.general@news.easysw.com> > > Patrick Vanguardia wrote: > > >> Patrick Vanguardia wrote: > > >> > > >>> Port 631 > > >>> Listen *:631 > > >> Misconfiguration! > > >> > > >> Delete one of these lines. Each tells cupsd to bind to port 631 each IP > > >> address, and the effect is cupsd tries to do it *twice*. But it is only > > >> possible once. > > >> > > >> > > >> (your error_log extract looks like it started up fully though?) > > >> > > >> > > >> -- > > >> Kurt Pfeifle > > >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > >> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > >> A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > > > Hi, > > > > > > I already saw the error and it was in spool, when i deleted all of > > > those it runs again. Any idea? > > > > Sorry? > > > > I don't understand what you are trying to say... *Which* error did you > > see*? *What* was in "spool"? *Which* spool? *What* did you delete? > > What do you ask for if "it runs again"? > > > > > Thanks > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > > Hi, > > Okay, I'm seeing Loading jobs in error_log i don't know if its an error so ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 and so on until c00134. so i tried to move/delete those files and try to restart the cups services and the cups service runs again. > > Thanks > Patrick Hi, Any idea why I'm encountering such errors? Thanks, Patrick From pvanguardia at gmail.com Fri Sep 21 10:03:45 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 10:03:45 -0700 Subject: Start print immediately Message-ID: <30630-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > > Hi, > > > > Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? > > No, sorry. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Hi, I would like to know if using MAC OS will be able to start print immediately? Thanks, Patrick From msweet at apple.com Fri Sep 21 10:19:21 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 21 Sep 2007 10:19:21 -0700 Subject: [cups.general] Start print immediately In-Reply-To: <30630-cups.general@news.easysw.com> References: <30630-cups.general@news.easysw.com> Message-ID: <30631-cups.general@news.easysw.com> Patrick Vanguardia wrote: >> Patrick Vanguardia wrote: >>> Hi, >>> >>> Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? >> No, sorry. >> >> -- >> ______________________________________________________________________ >> Michael R Sweet Senior Printing System Engineer >> > > Hi, > > I would like to know if using MAC OS will be able to start print immediately? I assume you mean Mac OS X? Since it also uses CUPS, it has the same implementation and will not start printing immediately. Print jobs are spooled first, then filtered and sent to the printer. In particular, the PDF and PostScript formats generally require random access to the file in order to combine the various resources (fonts, images, etc.) onto each page and to do page selection and imposition. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Fri Sep 21 11:06:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 11:06:41 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 In-Reply-To: <30627-cups.general@news.easysw.com> References: <30627-cups.general@news.easysw.com> Message-ID: <30632-cups.general@news.easysw.com> John A. Murdie wrote: > I would hope at least to be able to lock out the untrusted clients (on > a separate subnet from the trusted clients) if they cannot authenticate > by the required means. Unfortunately, I have been unable to do this. I > have in cupsd.conf an initial Location directive: > > > Order allow,deny > Allow from trusted/255.255.254.0 > Allow from unstrusted/255.255.254.0 Are you sure you don't mean Deny from unstrusted/255.255.254.0 ? *Deny* ? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Fri Sep 21 11:11:59 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 21 Sep 2007 11:11:59 -0700 Subject: Child exited signal 11 In-Reply-To: <30629-cups.general@news.easysw.com> References: <30629-cups.general@news.easysw.com> Message-ID: <30633-cups.general@news.easysw.com> Patrick Vanguardia wrote: >>> Patrick Vanguardia wrote: >>>>> Patrick Vanguardia wrote: >>>>> >>>>>> Port 631 >>>>>> Listen *:631 >>>>> Misconfiguration! >>>>> >>>>> Delete one of these lines. Each tells cupsd to bind to port 631 each IP >>>>> address, and the effect is cupsd tries to do it *twice*. But it is only >>>>> possible once. >>>>> >>>>> >>>>> (your error_log extract looks like it started up fully though?) >>>>> >>>>> >>>>> -- >>>>> Kurt Pfeifle >>>>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>>>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>>>> A RICOH Company ........................... D-70327 Stuttgart/Germany >>>> Hi, >>>> >>>> I already saw the error and it was in spool, when i deleted all of >>>> those it runs again. Any idea? >>> Sorry? >>> >>> I don't understand what you are trying to say... *Which* error did you >>> see*? *What* was in "spool"? *Which* spool? *What* did you delete? >>> What do you ask for if "it runs again"? >>> >>>> Thanks >>> -- >>> Kurt Pfeifle >>> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS >>> Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 >>> A RICOH Company ........................... D-70327 Stuttgart/Germany >> >> Hi, >> >> Okay, I'm seeing Loading jobs in error_log i don't know if its an error so > ive checked /var/spool/cups and i saw lot of files c0001, c0002, c0003, c0004 > and so on until c00134. so i tried to move/delete those files and try to > restart the cups services and the cups service runs again. >> >> Thanks >> Patrick > > Hi, > > Any idea why I'm encountering such errors? Sorry, I *still* don't understand which error you are experiencing. It is completely normal that CUPS has the c0NNNN files in its spool directory. These are the jobs' "control" files, and they are used for displaying the job history (completed jobs in the web interface). Their max number depends on your cupsd.conf (default is 500, IIRC). It is also normal that you'll see a "loading jobs" message when cupsd starts up. This message reflects that cupsd is currently evaluating the c0NNNN files that are still present when starting again... (the user may have deleted some, as you did...) > Thanks, > Patrick -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From pvanguardia at gmail.com Fri Sep 21 16:37:09 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Fri, 21 Sep 2007 16:37:09 -0700 Subject: Start print immediately Message-ID: <30634-cups.general@news.easysw.com> > Patrick Vanguardia wrote: > >> Patrick Vanguardia wrote: > >>> Hi, > >>> > >>> Is it possible to start print immediately in cups? instead of spooling when the printer is not in paused mode? so it will take less time when printing a large size files? > >> No, sorry. > >> > >> -- > >> ______________________________________________________________________ > >> Michael R Sweet Senior Printing System Engineer > >> > > > > Hi, > > > > I would like to know if using MAC OS will be able to start print immediately? > > I assume you mean Mac OS X? Since it also uses CUPS, it has the same > implementation and will not start printing immediately. Print jobs > are spooled first, then filtered and sent to the printer. > > In particular, the PDF and PostScript formats generally require > random access to the file in order to combine the various resources > (fonts, images, etc.) onto each page and to do page selection and > imposition. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Thanks From news at gerd.sg18.net Sat Sep 22 03:20:48 2007 From: news at gerd.sg18.net (Gerd Katzenbeisser) Date: Sat, 22 Sep 2007 03:20:48 -0700 Subject: Printing from OS X to Debian Cups doesn't work with AL-C1100 Message-ID: <30635-cups.general@news.easysw.com> Hi! I have a Debian Server with CUPS 1.2.7 running. I also downloaded and installed the Epson-ALC1100-filter-1.2 on the Debian Machine. I tested the configuration by printing a Test Page which works fine. Now I wanted to set up my OS X Powerbook for printing to the server. I added the printer via LPD URL: http://server:631/printers/EPSON_AL-C1100_USB_1 (I also tried IPP with the same effect) I selected the "standard" driver from os x as there is could not find a suitable driver for os x. A print job shows up in the queue list on the server and the printer indicates that it is receiving data but it doesn't print. Maybe it is just a driver problem so i was looking for a suitable driver at the Gutenprint Homepage but I couldn't find one. Got anyone any suggestions to solve this problem? thanks Gerd From ron at example.com Sat Sep 22 11:50:31 2007 From: ron at example.com (roN) Date: Sat, 22 Sep 2007 11:50:31 -0700 Subject: Windows no access Message-ID: <30636-cups.general@news.easysw.com> Hi, I've setup a printer HP 4200series on my server with CUPS. I have no troubels to print with my linux client but my Windows clients just say "no access". I don't know what, i've tried to follow different tutorials on the net but couldn't figure out what to change to make it work. Can anyone of you guys point the finger in the right direction - please? Thanks! Help would be appricated! :) -- chEErs roN From remegius at comcast.net Sat Sep 22 22:40:15 2007 From: remegius at comcast.net (Rem P Roberti) Date: Sat, 22 Sep 2007 22:40:15 -0700 Subject: [cups.general] Installation Woes Message-ID: <30637-cups.general@news.easysw.com> Hi Everyone...and HELP! First of all the http://localhost:631/admin/ site steadfastly refuses to accept my login, as either user or root, using the system password. However, I was able to install a printer in administrator's mode in KDE. But, I am unable to print either a test page, or anything else for that matter. BTW, I am running FreeBSD 6.2. I'm pretty sure that cups is running because of... ~ [22:14:44] > ps aux | grep cupsd root 874 0.0 0.3 4336 2796 ?? Ss 9:08PM 0:07.17 /usr/local/sbin/cupsd root 938 0.0 0.3 4380 3024 ?? Is 9:08PM 0:14.09 /usr/local/sbin/cupsd root 23129 0.0 0.1 1592 1040 p1 S+ 10:15PM 0:00.00 grep cupsd All of the old installation info that I have refers to changing the file cups.sh.sample to cups.sh in /usr/local/etc/rc.d. Neither of those files exists on my system. Perhaps the newer versions of cups do not rely on those files anymore. I have disabled the base system's lp, lpr, lpd, etc, so they do not conflict with the cup's commands of the same name. I have cups-base-1.2.12 installed on my system, and any help in getting me up and printing would be much appreciated. Rem From premjo.elias at gmail.com Sun Sep 23 01:13:22 2007 From: premjo.elias at gmail.com (Premjo) Date: Sun, 23 Sep 2007 01:13:22 -0700 Subject: Card Printer Driver Developement Message-ID: <30638-cups.general@news.easysw.com> Hi Mr.Shawn, Thank you very much for your valid input. premjo > On Tuesday 18 September 2007 10:50:36 pm Premjo wrote: > > Our printers have facility to encode on magstripe and chip, how do i can > > incorporate the specific commands to take the card for encoding inside the > > printer? do i can add my own ? i want to show a screen on the tab saying > > color settings, k panel settings, etc. my own screens? > > For ideas about what's possible, I'd suggest you take a look at the > documentation for the "Open Platform" driver for DataCard's SP series > printers. It works via CUPS and does everything you mention. > > Also, I quite like DataCard's choice of a web services API for the control > that can't be handled through CUPS (things like determining when the card has > reached the chip station, or reading data from the magstripe). It's a very > well-designed and easy-to-use API, accessible from any language that has web > service client bindings, which is just about every thing. > > DataCard's driver and documentation is available on their web site. I don't > recall if there's anything in the license that would prohibit you from > studying their approach, but since you're obviously a competitor of theirs, > you should probably read the license carefully. > > I work on software that uses card printers, and I can tell you that if you > follow DataCard's approach, you'll increase the odds that I'll want to buy > your card printer. > > Shawn. > From news at gerd.sg18.net Sun Sep 23 07:49:02 2007 From: news at gerd.sg18.net (Gerd Katzenbeisser) Date: Sun, 23 Sep 2007 07:49:02 -0700 Subject: Printing from OS X to Debian Cups doesn't work with AL-C1100 In-Reply-To: <30635-cups.general@news.easysw.com> References: <30635-cups.general@news.easysw.com> Message-ID: <30639-cups.general@news.easysw.com> Gerd Katzenbeisser schrieb: > Hi! > > I have a Debian Server with CUPS 1.2.7 running. I also downloaded and > installed the Epson-ALC1100-filter-1.2 on the Debian Machine. > > I tested the configuration by printing a Test Page which works fine. Now > I wanted to set up my OS X Powerbook for printing to the server. > > I added the printer via LPD URL: > http://server:631/printers/EPSON_AL-C1100_USB_1 > > (I also tried IPP with the same effect) > > I selected the "standard" driver from os x as there is could not find a > suitable driver for os x. > > A print job shows up in the queue list on the server and the printer > indicates that it is receiving data but it doesn't print. > > Maybe it is just a driver problem so i was looking for a suitable driver > at the Gutenprint Homepage but I couldn't find one. > > Got anyone any suggestions to solve this problem? > > thanks > Gerd I figured out that the data is sent directly to the printer instead of processing the data through foomatic-rip. So my question is: How can I configure the cups server to process the PostScript data? Currently I have a workaround through SAMBA. But maybe anyone knows a better solution. greets Gerd From gotj at iinet.net.au Sun Sep 23 18:19:43 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Sun, 23 Sep 2007 18:19:43 -0700 Subject: [cups.general] spooling delays - take 2 Message-ID: <30640-cups.general@news.easysw.com> Hello, we have a cups server and two clients and all are running RHEL v4 with cups v1.1.22 We've noticed that when sending jobs from the clients, there is a noticeable 5-6 sec delay before the job number is finally displayed and for the lp command to finish. the cups server is setup NOT to use dns lookups and both cups server and client OSes are setup to use /etc/hosts file to resolve hostnames. here is a typical example: $time lp -d lptest /etc/hosts request id is lptest-757975 (1 file(s)) real 0m5.235s user 0m0.007s sys 0m0.007s Server and clients are running gigabit ethernet and there is no network related problem. The delay is pretty consistent and it never seems to get more than 6 secs. Even when I have both servers sending jobs in a loop the delay from both is between 5-6 secs. An strace of the lp command shows that the client end is just waiting for the server to finish sending printer information to it. Most of the output was like this: 27960 recv(3, "\1\1\0\1\0\0\0\1", 2048, 0) = 8 27960 time(NULL) = 1190261046 27960 recv(3, "\1G\0\22attributes-charset\0\5utf-8", 2048, 0) = 29 27960 time(NULL) = 1190261046 27960 recv(3, "H\0\33attributes-natural-language\0\5"..., 2048, 0) = 37 27960 time(NULL) = 1190261046 27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 27960 time(NULL) = 1190261046 27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 27960 time(NULL) = 1190261046 27960 recv(3, "A\0\25printer-state-message\0001Print "..., 2048, 0) = 75 27960 time(NULL) = 1190261046 27960 recv(3, "\"\0\31printer-is-accepting-jobs\0\1\1", 2048, 0) = 31 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\17printer-up-time\0\4F\361\3615", 2048, 0) = 24 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\22printer-state-time\0\4F\355<\237", 2048, 0) = 27 27960 time(NULL) = 1190261046 27960 recv(3, "1\0\24printer-current-time\0\v\7\327\t\24\4\4\5"..., 2048, 0) = 36 27960 time(NULL) = 1190261046 27960 recv(3, "!\0\20queued-job-count\0\4\0\0\0\0", 2048, 0) = 25 27960 time(NULL) = 1190261046 27960 recv(3, "B\0\fprinter-name\0\10hp8khume", 2048, 0) = 25 27960 time(NULL) = 1190261046 27960 recv(3, "B\0\22job-sheets-default\0\4noneB\0\0\0\4"..., 2048, 0) = 36 27960 time(NULL) = 1190261046 27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 27960 time(NULL) = 1190261046 27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 Does anyone have any ideas ? Thanks. From none at none.com Sun Sep 23 19:58:50 2007 From: none at none.com (Matthew Jurgens) Date: Sun, 23 Sep 2007 19:58:50 -0700 Subject: "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30626-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> <30626-cups.general@news.easysw.com> Message-ID: <30641-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Matthew Jurgens wrote: >> I'm running the following RPM of CUPS on Fedora Core 6 >> cups-1.2.12-4.fc6 >> >> I'm using it with an HP Laserjet 3055. >> This printer is listed as fully supported and it does work just fine. >> >> Everything about the printer operation work perfectly fine. Its setup >> using the HP-LaserJet_3055-hpijs.ppd file. >> >> No matter which document it prints, no matter the type or how many >> pages, the CUPs web page admin "Completed Jobs" section only ever shows >> jobs as having 1 page. They have variable sizes, but only ever one page. >> >> How can I fix this? >> >> I've deleted and re-added the printer, made sure I have the latest CUPS >> for my distribution etc >> >> Below is a sample from the web page for 2 jobs, one 2 pages and the >> other 3 pages. >> >> >> Showing 4 of 4 completed jobs. >> Sort Ascending >> >> ID Name User Size Pages State Control >> hp3055-677 smbprn.00000737 Microsoft Word - Document1 mjurgens >> 2k 1 completed at >> Fri 21 Sep 2007 02:58:37 PM EST >> >> hp3055-676 smbprn.00000736 Microsoft Word - Document1 mjurgens >> 1k 1 completed at >> Fri 21 Sep 2007 02:56:33 PM EST > > > Very likely, you are using the native Windows platform drivers on your > Windows clients for the target printers as is provided by HP. > > That means, CUPS receives an unknown binary jobfile format (mime type of > "application/octet-stream"), and will not filter it, hence, doesn't count > pages. Therefore it logs the dummy "1 page" entry only. > > (If you used the PostScript driver on the Windows clients, as is installed > when you use the "cupsaddsmb" method of handing the CUPS driver/PPD to > Samba, your page count would be more precise). > > This is a great little pointer that I was unaware of. I've now setup the printer (an HP 3055) so that it is shared out using the cupsaddsmb method. I used the cups-windows-6.0-1 from the CUPS site and the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF files from a Windows XP machine. The printer now adds seamlessly to Windows clients but still does not show page counts (only shows that 1 page has printed). I thought perhaps the existing machine I was using still was getting confused between the HP drivers which I had installed previously and the CUPS postscript drivers. To address this I created a virtual machine that had never had any printers installed (This machine did not have any of the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF etc files in the "C:\windows\system32\spool\drivers\w32x86\3" directory) and then added the printer from the samba share. The printer added automatically, drivers and all. CUPS was still reporting my 2 page document as 1 page only. I then remembered that the cupsaddsmb manpage had said that the ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF files were availabile in the "C:\windows\system32\spool\drivers\w32x86\3" on ANY system - which they clearly were not on my new virtual machine. So I checked these files on a few systems and found one that had printers installed but not the HP3055. The ps5ui.dll,pscript5.dll,pscript.hlp,PSCRIPT.NTF were different to the ones I was previously using. I copied them to the virtual machine. Still my test document was only 1 page. Interestingly enough the print size for the test document had increased from 61k to 68k (driver differences?). So I still have the same problem - page counts always show as 1. Any other pointers? From alet at librelogiciel.com Sun Sep 23 20:36:05 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Sun, 23 Sep 2007 20:36:05 -0700 Subject: [cups.general] "Show Completed Jobs" only shows 1 page for any jobs In-Reply-To: <30641-cups.general@news.easysw.com> References: <30624-cups.general@news.easysw.com> <30626-cups.general@news.easysw.com> <30641-cups.general@news.easysw.com> Message-ID: <30642-cups.general@news.easysw.com> On Sun, Sep 23, 2007 at 07:58:50PM -0700, Matthew Jurgens wrote: > > So I still have the same problem - page counts always show as 1. > > Any other pointers? Not sure about the real solution to your problem, but I believe the following link will be helpful to you : http://www.pykota.com Jerome Alet From magnus at rissnekyrkan.org Mon Sep 24 03:59:23 2007 From: magnus at rissnekyrkan.org (Magnus Kronberg) Date: Mon, 24 Sep 2007 03:59:23 -0700 Subject: Again KonicaMinolta 7222 Message-ID: <30643-cups.general@news.easysw.com> Posting again... I'm having problems with my network printer/copier KonicaMinolta 7222. I've downloaded the driver from KonicaMinolta IP424.ppd, but the output when printing the testpage (or any other) are some kind of an error message. It starts with %!PS-Adobe-3.0% and goes on with letters disappearing to the right. It then goes on to try printing between 12-50 blank pages. Where do I start to look for what's wrong? / Magnus From gerald.britton at gmail.com Mon Sep 24 07:19:02 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 07:19:02 -0700 Subject: [cups.general] Need help printing PDFs Message-ID: <30644-cups.general@news.easysw.com> HI -- I'm new to CUPS and want to print a PDF file. The PDF is a large format (12" x 18") and I want to print it on standard "Letter" size paper (8 12" x 11"). So far, no luck. Here's what I've tried: 1. lp my.pdf ===> printer asks for 12 x 18 paper, I tell printer to use standard letter stock. Only the top left corner is printer (expected) BUT the printout is enlarged by a factor of eight or so 2. lp -o media=letter my.pdf ===> same results as above (printer still asks for 12x18" paper) 3. lp -o media=letter -o fitplot my.pdf ===> printer still asks for 12 x 18 paper, I tell printer to use standard letter stock. All I get is one blank page I'm not sure what to try next, but it's a bit frustrating at this point. Hope someone can help. Oh, btw the printer is an HP 9040mfp From momoir at gmail.com Mon Sep 24 10:30:03 2007 From: momoir at gmail.com (Mohammad) Date: Mon, 24 Sep 2007 10:30:03 -0700 Subject: Holding jobs for a certain amount of time Message-ID: <30645-cups.general@news.easysw.com> Hi, I have added the following option in my printer configuration file to hold all jobs coming to printer: Option job-hold-until indefinite But, I need every job be held there for a certain amount of time, say 30 mins, and then it automatically gets canceled instead of getting printed. By specifying the option I have used, all jobs will be remained in the queue, while many of them will not be printed in future. Any idea how to achieve this functionality? From k1pfeifle at gmx.net Mon Sep 24 12:29:28 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 12:29:28 -0700 Subject: Again KonicaMinolta 7222 In-Reply-To: <30643-cups.general@news.easysw.com> References: <30643-cups.general@news.easysw.com> Message-ID: <30646-cups.general@news.easysw.com> Magnus Kronberg wrote: > Posting again... I'm having problems with my network printer/copier > KonicaMinolta 7222. I've downloaded the driver from KonicaMinolta > IP424.ppd, but the output when printing the testpage (or any other) > are some kind of an error message. It starts with %!PS-Adobe-3.0% > and goes on with letters disappearing to the right. It then goes on > to try printing between 12-50 blank pages. Where do I start to look > for what's wrong? > / Magnus Looks like your printer is printing the PostScript code as text... What is the output of this command: grep cupsFilter /etc/cups/ppd/[your-printer-name].ppd ?? If empty, the PPD is meant for a PostScript printer. If that is the case, your printer must be equipped with a PostScript module. If it doesn't have such a module, this would explain why it tries to print the PostScript it received as a text file. If there *is* some cupsFilter referenced in the PPD, said filter needs to be present (and executable) in your CUPS filter directory (which usually is /usr/lib/cups/filter/). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Mon Sep 24 12:39:25 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 12:39:25 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30644-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> Message-ID: <30647-cups.general@news.easysw.com> Gerald Britton wrote: > HI -- I'm new to CUPS and want to print a PDF file. Which distro? Which version of CUPS? Which pdftops filter used in CUPS (use the "file /usr/lib/cups/filter/pdftops" command to find out if it is just a wrapper script or a binary) ? I'm asking because some distros don't ship the original CUPS pdftops filter, but have cobbled together their own wrapper script around the XPDF utility with the same name, which regularly causes problems similar to yours, due to its own bugs and misconfiguration.... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Mon Sep 24 12:43:52 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 12:43:52 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30647-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> Message-ID: <30648-cups.general@news.easysw.com> Distro is ubuntu 7.04 Cups version is 1.2.8-0ubuntu8 On 9/24/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > HI -- I'm new to CUPS and want to print a PDF file. > > Which distro? > > Which version of CUPS? > > Which pdftops filter used in > CUPS (use the "file /usr/lib/cups/filter/pdftops" command to find out > if it is just a wrapper script or a binary) ? > > I'm asking because some distros don't ship the original CUPS pdftops > filter, but have cobbled together their own wrapper script around > the XPDF utility with the same name, which regularly causes problems > similar to yours, due to its own bugs and misconfiguration.... > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Mon Sep 24 12:55:58 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Mon, 24 Sep 2007 12:55:58 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cups server -- driver question Message-ID: <30649-cups.general@news.easysw.com> Hi -- I am trying to set up cups to make it easy for windows users to add cups printers. I'm ok so far except for one last piece: having windows find the driver. When adding a new printer (windows 2000), I: 1. add a new network printer 2. put in the address http://cups:631/printers/myprinter 3. hit enter at this point, windows says "Can't find driver" (well it's more verbose, but that's the meaning). I previously downloaded the cups windows driver to a temp directory on the windows box, so I can browse to that location and load up the driver. However, what I want to do is have windows find the driver automatically at step 3. Can this be done? Where do I put the files (and which ones) to make this happen? NOTE: I am not running Samba. This is to be a pure cups server. From k1pfeifle at gmx.net Mon Sep 24 13:00:53 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 13:00:53 -0700 Subject: Holding jobs for a certain amount of time In-Reply-To: <30645-cups.general@news.easysw.com> References: <30645-cups.general@news.easysw.com> Message-ID: <30650-cups.general@news.easysw.com> Mohammad wrote: > Hi, I have added the following option in my printer configuration file > to hold all jobs coming to printer: > Option job-hold-until indefinite > > But, I need every job be held there for a certain amount of time, say > 30 mins, and then it automatically gets canceled instead of getting > printed. > > By specifying the option I have used, all jobs will be remained in the > queue, while many of them will not be printed in future. > > Any idea how to achieve this functionality? CUPS currently only supports the standard IPP option values for "job- hold-until", AFAIK. These values are (according to RFC 2911): 'no-hold': print immediately, if there are not other reasons to hold the job 'indefinite': job is held indefinitely, until a client performs a Release-Job (section 3.3.6) 'day-time': print during the day 'evening': print at the evening 'night': print at night 'weekend': print next weekend 'second-shift': print during second-shift (after close of business) 'third-shift': print during third-shift (after midnight) It's left to your own evaluation if you find these definitions to be useful and precise and complete enough for an accepted IETF standard. CUPS adds a value of its own, by allowing you to specify the UTC time for printing, and also makes the other RFC definitions a bit more precise: -o job-hold-until=indefinite ; print only after released by the job-owner or an administrator -o job-hold-until=day-time ; print from 6am to 6pm local time -o job-hold-until=night ; print from 6pm to 6am local time -o job-hold-until=second-shift ; print from 4pm to 12am local time -o job-hold-until=third-shift ; print from 12am to 8am local time -o job-hold-until=weekend ; print on Saturday or Sunday -o job-hold-until=HH:MM ; print at the specified UTC (!) time So currently it is not possible to say "if job is not released within 30 minutes, delete it". You'll have to write your own script, run by cron, to automatically delete all jobs that are older than 30 minutes. Have a look here to get some ideas how you could do that: http://www.cups.org/newsgroups.php?s1+gcups.general+v9+T+Q%22delete+old+print+jobs%22 Just use date -d "31 minutes ago" as a basis for finding those jobs that are already older than 30 minutes. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gotj at iinet.net.au Mon Sep 24 18:19:47 2007 From: gotj at iinet.net.au (gotj at iinet.net.au) Date: Mon, 24 Sep 2007 18:19:47 -0700 Subject: [cups.general] spooling delays - take 2 Message-ID: <30651-cups.general@news.easysw.com> We setup a cronjob and restarted the cups server late at night when it was not busy. It now behaves nicely with almost instant response from local and remote jobs. I wonder if our cronjob that manually moves old spool files out of /var/spool/cups into an archive folder caused this problem. any ideas? On Mon Sep 24 9:19 , "gotj at iinet.net.au" sent: >Hello, > >we have a cups server and two clients and all are running RHEL v4 with cups v1.1.22 > >We've noticed that when sending jobs from the clients, there is a noticeable 5-6 >sec delay before the job number is finally displayed and for the lp command to >finish. > >the cups server is setup NOT to use dns lookups and both cups server and client >OSes are setup to use /etc/hosts file to resolve hostnames. > >here is a typical example: > >$time lp -d lptest /etc/hosts >request id is lptest-757975 (1 file(s)) > >real 0m5.235s >user 0m0.007s >sys 0m0.007s > >Server and clients are running gigabit ethernet and there is no network related >problem. > >The delay is pretty consistent and it never seems to get more than 6 secs. Even >when I have both servers sending jobs in a loop the delay from both is between >5-6 secs. > >An strace of the lp command shows that the client end is just waiting for the >server to finish sending printer information to it. Most of the output was like this: > >27960 recv(3, "\1\1\0\1\0\0\0\1", 2048, 0) = 8 >27960 time(NULL) = 1190261046 >27960 recv(3, "\1G\0\22attributes-charset\0\5utf-8", 2048, 0) = 29 >27960 time(NULL) = 1190261046 >27960 recv(3, "H\0\33attributes-natural-language\0\5"..., 2048, 0) = 37 >27960 time(NULL) = 1190261046 >27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 >27960 time(NULL) = 1190261046 >27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 >27960 time(NULL) = 1190261046 >27960 recv(3, "A\0\25printer-state-message\0001Print "..., 2048, 0) = 75 >27960 time(NULL) = 1190261046 >27960 recv(3, "\"\0\31printer-is-accepting-jobs\0\1\1", 2048, 0) = 31 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\17printer-up-time\0\4F\361\3615", 2048, 0) = 24 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\22printer-state-time\0\4F\355 >27960 time(NULL) = 1190261046 >27960 recv(3, "1\0\24printer-current-time\0\v\7\327\t\24\4\4\5"..., 2048, 0) = 36 >27960 time(NULL) = 1190261046 >27960 recv(3, "!\0\20queued-job-count\0\4\0\0\0\0", 2048, 0) = 25 >27960 time(NULL) = 1190261046 >27960 recv(3, "B\0\fprinter-name\0\10hp8khume", 2048, 0) = 25 >27960 time(NULL) = 1190261046 >27960 recv(3, "B\0\22job-sheets-default\0\4noneB\0\0\0\4"..., 2048, 0) = 36 >27960 time(NULL) = 1190261046 >27960 recv(3, "\4#\0\rprinter-state\0\4\0\0\0\3", 2048, 0) = 23 >27960 time(NULL) = 1190261046 >27960 recv(3, "D\0\25printer-state-reasons\0\4none", 2048, 0) = 30 > >Does anyone have any ideas ? > >Thanks. > From k1pfeifle at gmx.net Mon Sep 24 20:35:05 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Mon, 24 Sep 2007 20:35:05 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30648-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> Message-ID: <30652-cups.general@news.easysw.com> Gerald Britton wrote: > Distro is ubuntu 7.04 > Cups version is 1.2.8-0ubuntu8 > On 9/24/07, Kurt Pfeifle wrote: >> use the "file /usr/lib/cups/filter/pdftops" command to find out >> if it is just a wrapper script or a binary) ? Hmmm? >> I'm asking because some distros don't ship the original CUPS pdftops >> filter, but have cobbled together their own wrapper script around >> the XPDF utility with the same name, which regularly causes problems >> similar to yours, due to its own bugs and misconfiguration.... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From premjo.elias at gmail.com Tue Sep 25 02:18:46 2007 From: premjo.elias at gmail.com (Premjo) Date: Tue, 25 Sep 2007 02:18:46 -0700 Subject: CUPS data flow Message-ID: <30653-cups.general@news.easysw.com> Please help me on how the print data flows on the CUPS to the printer? From herates at web.de Tue Sep 25 03:31:10 2007 From: herates at web.de (wolfgang) Date: Tue, 25 Sep 2007 03:31:10 -0700 Subject: check device; will retry in 30 seconds. Message-ID: <30654-cups.general@news.easysw.com> hello, I own an HP laserjet 1100. it is connected to an ubuntu 7.04 system. so it uses cups 1.2.8 Everyday the printing system stops. The error log is full of these messages... E [24/Sep/2007:17:06:47 +0200] [Job 267] check device; will retry in 30 seconds. After restarting the cupsdaemon, cups goes on to print. i don't know how to solve the problem or to get infos which could help me. someone has an idea to solve this problem? because the printer is used in a network and everday someone tells me that he can't print. From h.blischke at srz.de Tue Sep 25 03:53:36 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 03:53:36 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cupsserver -- driver question In-Reply-To: <30649-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> Message-ID: <30655-cups.general@news.easysw.com> Gerald Britton wrote: > Hi -- I am trying to set up cups to make it easy for windows users to > add cups printers. I'm ok so far except for one last piece: having > windows find the driver. When adding a new printer (windows 2000), I: > > 1. add a new network printer > 2. put in the address http://cups:631/printers/myprinter > 3. hit enter > > at this point, windows says "Can't find driver" (well it's more > verbose, but that's the meaning). I previously downloaded the cups > windows driver to a temp directory on the windows box, so I can browse > to that location and load up the driver. > > However, what I want to do is have windows find the driver > automatically at step 3. Can this be done? Where do I put the files > (and which ones) to make this happen? > > NOTE: I am not running Samba. This is to be a pure cups server. > Probably you need an .inf file which tells Windows where to look for the required files (DLLs, PPDs and dependent stuff). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Tue Sep 25 04:39:12 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 04:39:12 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30652-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> Message-ID: <30656-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: > > >>Distro is ubuntu 7.04 >>Cups version is 1.2.8-0ubuntu8 > > >>On 9/24/07, Kurt Pfeifle wrote: > > >>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>if it is just a wrapper script or a binary) ? > > > Hmmm? > > >>>I'm asking because some distros don't ship the original CUPS pdftops >>>filter, but have cobbled together their own wrapper script around >>>the XPDF utility with the same name, which regularly causes problems >>>similar to yours, due to its own bugs and misconfiguration.... > > The "alternate pdftops filter" as published on the CUPS web site (see the links there) offers nearly all options the xpdf's pdftops utility known as job attributes. E.g. add "-o pdf-paper=letter" (without the quotes) as a command line option to the lp or lpr command to force printing on letter sized media. See the descriptional comments in the wrapper script for further details. BTW, the wrapper script permits the use of acroread (the free Adobe reader) as a further alternative - there are PDF files which can only be converted to usable PS by acroread. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 06:38:08 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 06:38:08 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to a cupsserver -- driver question In-Reply-To: <30655-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> Message-ID: <30657-cups.general@news.easysw.com> Yes, I do need an inf file as well as dlls, ppds, etc. I have collected all of these, but am looking for help on where to put them on the cups server so that, when the windows user adds the cups printer, the driver is found by windows and automatically installed on the users' machine. Where do I put this stuff on the cups server to make this magic happen? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Hi -- I am trying to set up cups to make it easy for windows users to > > add cups printers. I'm ok so far except for one last piece: having > > windows find the driver. When adding a new printer (windows 2000), I: > > > > 1. add a new network printer > > 2. put in the address http://cups:631/printers/myprinter > > 3. hit enter > > > > at this point, windows says "Can't find driver" (well it's more > > verbose, but that's the meaning). I previously downloaded the cups > > windows driver to a temp directory on the windows box, so I can browse > > to that location and load up the driver. > > > > However, what I want to do is have windows find the driver > > automatically at step 3. Can this be done? Where do I put the files > > (and which ones) to make this happen? > > > > NOTE: I am not running Samba. This is to be a pure cups server. > > > > Probably you need an .inf file which tells Windows where to look > for the required files (DLLs, PPDs and dependent stuff). > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 06:51:03 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 06:51:03 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to acupsserver -- driver question In-Reply-To: <30657-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> <30657-cups.general@news.easysw.com> Message-ID: <30658-cups.general@news.easysw.com> Gerald Britton wrote: > Yes, I do need an inf file as well as dlls, ppds, etc. I have > collected all of these, but am looking for help on where to put them > on the cups server so that, when the windows user adds the cups > printer, the driver is found by windows and automatically installed on > the users' machine. > > Where do I put this stuff on the cups server to make this magic happen? > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>Hi -- I am trying to set up cups to make it easy for windows users to >>>add cups printers. I'm ok so far except for one last piece: having >>>windows find the driver. When adding a new printer (windows 2000), I: >>> >>>1. add a new network printer >>>2. put in the address http://cups:631/printers/myprinter >>>3. hit enter >>> >>>at this point, windows says "Can't find driver" (well it's more >>>verbose, but that's the meaning). I previously downloaded the cups >>>windows driver to a temp directory on the windows box, so I can browse >>>to that location and load up the driver. >>> >>>However, what I want to do is have windows find the driver >>>automatically at step 3. Can this be done? Where do I put the files >>>(and which ones) to make this happen? >>> >>>NOTE: I am not running Samba. This is to be a pure cups server. >>> >> >>Probably you need an .inf file which tells Windows where to look >>for the required files (DLLs, PPDs and dependent stuff). >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Well, you said you do not use samba. Then you'd have to put all this stuff into a directory on the Windows box itself (or put it onto an USB stick and import it from there). You need to follow the approach as if getting the stuff from a CD or floppy. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 07:04:55 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:04:55 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30656-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> Message-ID: <30659-cups.general@news.easysw.com> Thanks for the tip on acroread. I installed it and found that it does a better job. The only problem I have with it is that it does not obey the landscape option. No matter what I do, it prints portrait. So. here's what I know: cups/lp can't print all PDFs properly. You need Acrobat Reader for that Acrobat reader (on Linux) doesn't process all options properly. You need Windows for that! On 9/25/07, Helge Blischke wrote: > Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > > > >>Distro is ubuntu 7.04 > >>Cups version is 1.2.8-0ubuntu8 > > > > > >>On 9/24/07, Kurt Pfeifle wrote: > > > > > >>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>if it is just a wrapper script or a binary) ? > > > > > > Hmmm? > > > > > >>>I'm asking because some distros don't ship the original CUPS pdftops > >>>filter, but have cobbled together their own wrapper script around > >>>the XPDF utility with the same name, which regularly causes problems > >>>similar to yours, due to its own bugs and misconfiguration.... > > > > > > The "alternate pdftops filter" as published on the CUPS web site (see the > links there) offers nearly all options the xpdf's pdftops utility > known as job attributes. E.g. add "-o pdf-paper=letter" > (without the quotes) as a command line option to the lp or lpr > command to force printing on letter sized media. See the > descriptional comments in the wrapper script for further details. > BTW, the wrapper script permits the use of acroread (the free > Adobe reader) as a further alternative - there are PDF files > which can only be converted to usable PS by acroread. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 07:06:32 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:06:32 -0700 Subject: [cups.general] setting up windows 2000 printers using ipp to acupsserver -- driver question In-Reply-To: <30658-cups.general@news.easysw.com> References: <30649-cups.general@news.easysw.com> <30655-cups.general@news.easysw.com> <30657-cups.general@news.easysw.com> <30658-cups.general@news.easysw.com> Message-ID: <30660-cups.general@news.easysw.com> Ah -- that's what I was trying to avoid. You've answered my question, though. Cups by itself cannot supply the drivers. I either need Samba or another way to install the drivers locally. On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Yes, I do need an inf file as well as dlls, ppds, etc. I have > > collected all of these, but am looking for help on where to put them > > on the cups server so that, when the windows user adds the cups > > printer, the driver is found by windows and automatically installed on > > the users' machine. > > > > Where do I put this stuff on the cups server to make this magic happen? > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>Hi -- I am trying to set up cups to make it easy for windows users to > >>>add cups printers. I'm ok so far except for one last piece: having > >>>windows find the driver. When adding a new printer (windows 2000), I: > >>> > >>>1. add a new network printer > >>>2. put in the address http://cups:631/printers/myprinter > >>>3. hit enter > >>> > >>>at this point, windows says "Can't find driver" (well it's more > >>>verbose, but that's the meaning). I previously downloaded the cups > >>>windows driver to a temp directory on the windows box, so I can browse > >>>to that location and load up the driver. > >>> > >>>However, what I want to do is have windows find the driver > >>>automatically at step 3. Can this be done? Where do I put the files > >>>(and which ones) to make this happen? > >>> > >>>NOTE: I am not running Samba. This is to be a pure cups server. > >>> > >> > >>Probably you need an .inf file which tells Windows where to look > >>for the required files (DLLs, PPDs and dependent stuff). > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Well, you said you do not use samba. Then you'd have to put all this > stuff into a directory on the Windows box itself (or put it onto an > USB stick and import it from there). You need to follow the > approach as if getting the stuff from a CD or floppy. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 07:24:20 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 07:24:20 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30659-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> Message-ID: <30661-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for the tip on acroread. I installed it and found that it does > a better job. The only problem I have with it is that it does not > obey the landscape option. No matter what I do, it prints portrait. > > So. here's what I know: > > cups/lp can't print all PDFs properly. You need Acrobat Reader for that > Acrobat reader (on Linux) doesn't process all options properly. You > need Windows for that! > > On 9/25/07, Helge Blischke wrote: > >>Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>> >>> >>>>Distro is ubuntu 7.04 >>>>Cups version is 1.2.8-0ubuntu8 >>> >>> >>>>On 9/24/07, Kurt Pfeifle wrote: >>> >>> >>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>if it is just a wrapper script or a binary) ? >>> >>> >>>Hmmm? >>> >>> >>> >>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>filter, but have cobbled together their own wrapper script around >>>>>the XPDF utility with the same name, which regularly causes problems >>>>>similar to yours, due to its own bugs and misconfiguration.... >>> >>> >>The "alternate pdftops filter" as published on the CUPS web site (see the >>links there) offers nearly all options the xpdf's pdftops utility >>known as job attributes. E.g. add "-o pdf-paper=letter" >>(without the quotes) as a command line option to the lp or lpr >>command to force printing on letter sized media. See the >>descriptional comments in the wrapper script for further details. >>BTW, the wrapper script permits the use of acroread (the free >>Adobe reader) as a further alternative - there are PDF files >>which can only be converted to usable PS by acroread. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Perhaps you post (an URL to) a sample PDF. We print PDFs as indicated all the time and have not trouble with them, Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 07:31:08 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 07:31:08 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30661-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> Message-ID: <30662-cups.general@news.easysw.com> try this one: http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Thanks for the tip on acroread. I installed it and found that it does > > a better job. The only problem I have with it is that it does not > > obey the landscape option. No matter what I do, it prints portrait. > > > > So. here's what I know: > > > > cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > Acrobat reader (on Linux) doesn't process all options properly. You > > need Windows for that! > > > > On 9/25/07, Helge Blischke wrote: > > > >>Kurt Pfeifle wrote: > >> > >>>Gerald Britton wrote: > >>> > >>> > >>> > >>>>Distro is ubuntu 7.04 > >>>>Cups version is 1.2.8-0ubuntu8 > >>> > >>> > >>>>On 9/24/07, Kurt Pfeifle wrote: > >>> > >>> > >>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>if it is just a wrapper script or a binary) ? > >>> > >>> > >>>Hmmm? > >>> > >>> > >>> > >>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>filter, but have cobbled together their own wrapper script around > >>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>similar to yours, due to its own bugs and misconfiguration.... > >>> > >>> > >>The "alternate pdftops filter" as published on the CUPS web site (see the > >>links there) offers nearly all options the xpdf's pdftops utility > >>known as job attributes. E.g. add "-o pdf-paper=letter" > >>(without the quotes) as a command line option to the lp or lpr > >>command to force printing on letter sized media. See the > >>descriptional comments in the wrapper script for further details. > >>BTW, the wrapper script permits the use of acroread (the free > >>Adobe reader) as a further alternative - there are PDF files > >>which can only be converted to usable PS by acroread. > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Perhaps you post (an URL to) a sample PDF. > We print PDFs as indicated all the time and have not > trouble with them, > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Tue Sep 25 08:08:28 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 08:08:28 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30662-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> Message-ID: <30663-cups.general@news.easysw.com> Gerald Britton wrote: > try this one: > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>Thanks for the tip on acroread. I installed it and found that it does >>>a better job. The only problem I have with it is that it does not >>>obey the landscape option. No matter what I do, it prints portrait. >>> >>>So. here's what I know: >>> >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that >>>Acrobat reader (on Linux) doesn't process all options properly. You >>>need Windows for that! >>> >>>On 9/25/07, Helge Blischke wrote: >>> >>> >>>>Kurt Pfeifle wrote: >>>> >>>> >>>>>Gerald Britton wrote: >>>>> >>>>> >>>>> >>>>> >>>>>>Distro is ubuntu 7.04 >>>>>>Cups version is 1.2.8-0ubuntu8 >>>>> >>>>> >>>>>>On 9/24/07, Kurt Pfeifle wrote: >>>>> >>>>> >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>>>if it is just a wrapper script or a binary) ? >>>>> >>>>> >>>>>Hmmm? >>>>> >>>>> >>>>> >>>>> >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>>>filter, but have cobbled together their own wrapper script around >>>>>>>the XPDF utility with the same name, which regularly causes problems >>>>>>>similar to yours, due to its own bugs and misconfiguration.... >>>>> >>>>> >>>>The "alternate pdftops filter" as published on the CUPS web site (see the >>>>links there) offers nearly all options the xpdf's pdftops utility >>>>known as job attributes. E.g. add "-o pdf-paper=letter" >>>>(without the quotes) as a command line option to the lp or lpr >>>>command to force printing on letter sized media. See the >>>>descriptional comments in the wrapper script for further details. >>>>BTW, the wrapper script permits the use of acroread (the free >>>>Adobe reader) as a further alternative - there are PDF files >>>>which can only be converted to usable PS by acroread. >>>> >>>>Helge >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>Perhaps you post (an URL to) a sample PDF. >>We print PDFs as indicated all the time and have not >>trouble with them, >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > OK. The PDF file defines a media box (and a crop box with the same parameters) the width of which is greater than its height. That is, the page *is* a landscape page by definition. The "alternate pdftops filter", if configured as recommended, spits out a PostScript file which sets up a page size as defined by the PDF's media box, which is certainly too big for a letter sized media. But the pstops filter, if properly configured, shrinks the logical page to the availabel media size(s). It also should automatically account for the implicit orientation. Maybe that the latter feature still has not yet been implemented - we use the "alternate pstops filter" which does this (and has a couple of other features). Perhaps you need to play arount with the orientation option (-o orientation=n, where n 0s a number 0 to 3) to get the proper output with the original pstops filter. At our site, using both alternate filters, we simply emit lp -d printername e002379200.pdf to get a printout that looks OK. I need to note that all our printers are configured to use the PPDs shrink to fit option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") Helge Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From pvanguardia at gmail.com Tue Sep 25 08:12:26 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Tue, 25 Sep 2007 08:12:26 -0700 Subject: Cups Web Interface Message-ID: <30664-cups.general@news.easysw.com> hi, I added this line in my cupsd.conf AuthType Basic AuthClass USER Order allow,deny Allow All Ok this means that the classes adc1-467 will be viewable when entering the username and the password provided. Now my problem is whenever i view the http://localhost:631/classes/adc1-467 is giving me a prompt for user, when i input the user as adc1-467 which is added in samba user it doesn't recognize the user i need to input root to access the said location. Do i need something like AuthFile so when the user adc1-467 access the site it reads the authfile? and is it possible that the user adc1-467 will have access to reprint via web interface without using root user? Please advise. Thanks in advance, Patrick From gerald.britton at gmail.com Tue Sep 25 08:23:20 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:23:20 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30663-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> Message-ID: <30665-cups.general@news.easysw.com> Searching for the alternate pdftops filter at cups.org led me to: http://www.srz.de/Members/bla/cups/filter/pdftops is that right? I see three things there. Not to sure where to put them though. Does the new pdftops go into /usr/local/bin or something like that? What about the filters? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > try this one: > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>Thanks for the tip on acroread. I installed it and found that it does > >>>a better job. The only problem I have with it is that it does not > >>>obey the landscape option. No matter what I do, it prints portrait. > >>> > >>>So. here's what I know: > >>> > >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > >>>Acrobat reader (on Linux) doesn't process all options properly. You > >>>need Windows for that! > >>> > >>>On 9/25/07, Helge Blischke wrote: > >>> > >>> > >>>>Kurt Pfeifle wrote: > >>>> > >>>> > >>>>>Gerald Britton wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Distro is ubuntu 7.04 > >>>>>>Cups version is 1.2.8-0ubuntu8 > >>>>> > >>>>> > >>>>>>On 9/24/07, Kurt Pfeifle wrote: > >>>>> > >>>>> > >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>>>if it is just a wrapper script or a binary) ? > >>>>> > >>>>> > >>>>>Hmmm? > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>>>filter, but have cobbled together their own wrapper script around > >>>>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>>>similar to yours, due to its own bugs and misconfiguration.... > >>>>> > >>>>> > >>>>The "alternate pdftops filter" as published on the CUPS web site (see the > >>>>links there) offers nearly all options the xpdf's pdftops utility > >>>>known as job attributes. E.g. add "-o pdf-paper=letter" > >>>>(without the quotes) as a command line option to the lp or lpr > >>>>command to force printing on letter sized media. See the > >>>>descriptional comments in the wrapper script for further details. > >>>>BTW, the wrapper script permits the use of acroread (the free > >>>>Adobe reader) as a further alternative - there are PDF files > >>>>which can only be converted to usable PS by acroread. > >>>> > >>>>Helge > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>Perhaps you post (an URL to) a sample PDF. > >>We print PDFs as indicated all the time and have not > >>trouble with them, > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > OK. The PDF file defines a media box (and a crop box with the same > parameters) the width of which is greater than its height. That is, > the page *is* a landscape page by definition. > The "alternate pdftops filter", if configured as recommended, spits > out a PostScript file which sets up a page size as defined by the > PDF's media box, which is certainly too big for a letter sized media. > But the pstops filter, if properly configured, shrinks the logical > page to the availabel media size(s). It also should automatically > account for the implicit orientation. Maybe that the latter feature > still has not yet been implemented - we use the "alternate pstops filter" > which does this (and has a couple of other features). > > Perhaps you need to play arount with the orientation option > (-o orientation=n, where n 0s a number 0 to 3) to get the proper > output with the original pstops filter. > > At our site, using both alternate filters, we simply emit > lp -d printername e002379200.pdf > to get a printout that looks OK. I need to note that all our > printers are configured to use the PPDs shrink to fit > option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > Helge > > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 08:38:53 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:38:53 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250823s7d1e9c0k4e17fdfdc15cfe7@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <5d1a32000709250823s7d1e9c0k4e17fdfdc15cfe7@mail.gmail.com> Message-ID: <30666-cups.general@news.easysw.com> so, I put pdftops.pl in /usr/local/bin and chmod'd it to +x. I put the conf files in /etc/cups and tried lp -d printername e002379200.pdf First, the printer asked me for 12x18" paper, which I don't have, so I told it to use 8 1/2x11. However, all I got was one blank page! adding the option -o pdf-paper=letter made it print without a prompt, but not landscape adding the option -o landscape had no effect. so...I'm further ahead (thank you!) but still can't get it quite right. Anything else I can try? On 9/25/07, Gerald Britton wrote: > Searching for the alternate pdftops filter at cups.org led me to: > > http://www.srz.de/Members/bla/cups/filter/pdftops > > is that right? I see three things there. Not to sure where to put > them though. Does the new pdftops go into /usr/local/bin or something > like that? What about the filters? > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > try this one: > > > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > > > On 9/25/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>Thanks for the tip on acroread. I installed it and found that it does > > >>>a better job. The only problem I have with it is that it does not > > >>>obey the landscape option. No matter what I do, it prints portrait. > > >>> > > >>>So. here's what I know: > > >>> > > >>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > >>>Acrobat reader (on Linux) doesn't process all options properly. You > > >>>need Windows for that! > > >>> > > >>>On 9/25/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Kurt Pfeifle wrote: > > >>>> > > >>>> > > >>>>>Gerald Britton wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Distro is ubuntu 7.04 > > >>>>>>Cups version is 1.2.8-0ubuntu8 > > >>>>> > > >>>>> > > >>>>>>On 9/24/07, Kurt Pfeifle wrote: > > >>>>> > > >>>>> > > >>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > > >>>>>>>if it is just a wrapper script or a binary) ? > > >>>>> > > >>>>> > > >>>>>Hmmm? > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > > >>>>>>>filter, but have cobbled together their own wrapper script around > > >>>>>>>the XPDF utility with the same name, which regularly causes problems > > >>>>>>>similar to yours, due to its own bugs and misconfiguration.... > > >>>>> > > >>>>> > > >>>>The "alternate pdftops filter" as published on the CUPS web site (see the > > >>>>links there) offers nearly all options the xpdf's pdftops utility > > >>>>known as job attributes. E.g. add "-o pdf-paper=letter" > > >>>>(without the quotes) as a command line option to the lp or lpr > > >>>>command to force printing on letter sized media. See the > > >>>>descriptional comments in the wrapper script for further details. > > >>>>BTW, the wrapper script permits the use of acroread (the free > > >>>>Adobe reader) as a further alternative - there are PDF files > > >>>>which can only be converted to usable PS by acroread. > > >>>> > > >>>>Helge > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>Perhaps you post (an URL to) a sample PDF. > > >>We print PDFs as indicated all the time and have not > > >>trouble with them, > > >> > > >>Helge > > >> > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > > > > > > > OK. The PDF file defines a media box (and a crop box with the same > > parameters) the width of which is greater than its height. That is, > > the page *is* a landscape page by definition. > > The "alternate pdftops filter", if configured as recommended, spits > > out a PostScript file which sets up a page size as defined by the > > PDF's media box, which is certainly too big for a letter sized media. > > But the pstops filter, if properly configured, shrinks the logical > > page to the availabel media size(s). It also should automatically > > account for the implicit orientation. Maybe that the latter feature > > still has not yet been implemented - we use the "alternate pstops filter" > > which does this (and has a couple of other features). > > > > Perhaps you need to play arount with the orientation option > > (-o orientation=n, where n 0s a number 0 to 3) to get the proper > > output with the original pstops filter. > > > > At our site, using both alternate filters, we simply emit > > lp -d printername e002379200.pdf > > to get a printout that looks OK. I need to note that all our > > printers are configured to use the PPDs shrink to fit > > option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > > > Helge > > > > > > Helge > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Tue Sep 25 08:43:22 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 08:43:22 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30665-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30647-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> Message-ID: <30667-cups.general@news.easysw.com> Gerald Britton wrote: > Searching for the alternate pdftops filter at cups.org led me to: > > http://www.srz.de/Members/bla/cups/filter/pdftops > > is that right? I see three things there. Not to sure where to put > them though. Does the new pdftops go into /usr/local/bin or something > like that? What about the filters? > > On 9/25/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>try this one: >>> >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>> >>>On 9/25/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>Thanks for the tip on acroread. I installed it and found that it does >>>>>a better job. The only problem I have with it is that it does not >>>>>obey the landscape option. No matter what I do, it prints portrait. >>>>> >>>>>So. here's what I know: >>>>> >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that >>>>>Acrobat reader (on Linux) doesn't process all options properly. You >>>>>need Windows for that! >>>>> >>>>>On 9/25/07, Helge Blischke wrote: >>>>> >>>>> >>>>> >>>>>>Kurt Pfeifle wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Gerald Britton wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Distro is ubuntu 7.04 >>>>>>>>Cups version is 1.2.8-0ubuntu8 >>>>>>> >>>>>>> >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: >>>>>>> >>>>>>> >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out >>>>>>>>>if it is just a wrapper script or a binary) ? >>>>>>> >>>>>>> >>>>>>>Hmmm? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops >>>>>>>>>filter, but have cobbled together their own wrapper script around >>>>>>>>>the XPDF utility with the same name, which regularly causes problems >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... >>>>>>> >>>>>>> >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the >>>>>>links there) offers nearly all options the xpdf's pdftops utility >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" >>>>>>(without the quotes) as a command line option to the lp or lpr >>>>>>command to force printing on letter sized media. See the >>>>>>descriptional comments in the wrapper script for further details. >>>>>>BTW, the wrapper script permits the use of acroread (the free >>>>>>Adobe reader) as a further alternative - there are PDF files >>>>>>which can only be converted to usable PS by acroread. >>>>>> >>>>>>Helge >>>>>> >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>> >>>>> >>>>Perhaps you post (an URL to) a sample PDF. >>>>We print PDFs as indicated all the time and have not >>>>trouble with them, >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>OK. The PDF file defines a media box (and a crop box with the same >>parameters) the width of which is greater than its height. That is, >>the page *is* a landscape page by definition. >>The "alternate pdftops filter", if configured as recommended, spits >>out a PostScript file which sets up a page size as defined by the >>PDF's media box, which is certainly too big for a letter sized media. >>But the pstops filter, if properly configured, shrinks the logical >>page to the availabel media size(s). It also should automatically >>account for the implicit orientation. Maybe that the latter feature >>still has not yet been implemented - we use the "alternate pstops filter" >>which does this (and has a couple of other features). >> >>Perhaps you need to play arount with the orientation option >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper >>output with the original pstops filter. >> >>At our site, using both alternate filters, we simply emit >>lp -d printername e002379200.pdf >>to get a printout that looks OK. I need to note that all our >>printers are configured to use the PPDs shrink to fit >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") >> >>Helge >> >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Put the filter into your CUPS filter directory (usually /usr/lib/cups/filter/) and the pdftops sample configuration file into your CUPS base directory (usually /etc/cups/) Currently, I'd not recommend the acroread stuff, as with the latest acroread (8.1.1) there are some quirks, espeically on Solaris. Get the xpdf suite from http://www.foolabs.com/xpdf/download.html (there are precompiled binaries for both Linux and Solaris), if you do nat already have them. The version 3.02 is highly recommended (the security patch in 3.02p1 seems not to have any affects on CUPS processing. In the pdftops filter script, change the path to xpdf's pdftops utility as needed. You might also look into the xpdfrc manpage for more configuration options if you need to modify the sample config file. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 08:56:51 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 08:56:51 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30667-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> Message-ID: <30668-cups.general@news.easysw.com> OK -- got the stuff in the right places. I renamed my original pdftops to pdftops.old and renamed the new filter from pdftops.pl to pdftops and made it executable. I tried the command: lp -d printer mypdf.pdf and got no output. Looking at the script, I see a reference to the variable: CUPS_SERVERROOT which is not set in my environment. I see that the script dies if the variable is not set, which is probably why I got no output. Where should this variable be set? In my session? or in the cups startup script? On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > Searching for the alternate pdftops filter at cups.org led me to: > > > > http://www.srz.de/Members/bla/cups/filter/pdftops > > > > is that right? I see three things there. Not to sure where to put > > them though. Does the new pdftops go into /usr/local/bin or something > > like that? What about the filters? > > > > On 9/25/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>try this one: > >>> > >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>> > >>>On 9/25/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>Thanks for the tip on acroread. I installed it and found that it does > >>>>>a better job. The only problem I have with it is that it does not > >>>>>obey the landscape option. No matter what I do, it prints portrait. > >>>>> > >>>>>So. here's what I know: > >>>>> > >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > >>>>>Acrobat reader (on Linux) doesn't process all options properly. You > >>>>>need Windows for that! > >>>>> > >>>>>On 9/25/07, Helge Blischke wrote: > >>>>> > >>>>> > >>>>> > >>>>>>Kurt Pfeifle wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Gerald Britton wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>Distro is ubuntu 7.04 > >>>>>>>>Cups version is 1.2.8-0ubuntu8 > >>>>>>> > >>>>>>> > >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: > >>>>>>> > >>>>>>> > >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > >>>>>>>>>if it is just a wrapper script or a binary) ? > >>>>>>> > >>>>>>> > >>>>>>>Hmmm? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > >>>>>>>>>filter, but have cobbled together their own wrapper script around > >>>>>>>>>the XPDF utility with the same name, which regularly causes problems > >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... > >>>>>>> > >>>>>>> > >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the > >>>>>>links there) offers nearly all options the xpdf's pdftops utility > >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" > >>>>>>(without the quotes) as a command line option to the lp or lpr > >>>>>>command to force printing on letter sized media. See the > >>>>>>descriptional comments in the wrapper script for further details. > >>>>>>BTW, the wrapper script permits the use of acroread (the free > >>>>>>Adobe reader) as a further alternative - there are PDF files > >>>>>>which can only be converted to usable PS by acroread. > >>>>>> > >>>>>>Helge > >>>>>> > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>> > >>>>> > >>>>Perhaps you post (an URL to) a sample PDF. > >>>>We print PDFs as indicated all the time and have not > >>>>trouble with them, > >>>> > >>>>Helge > >>>> > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>OK. The PDF file defines a media box (and a crop box with the same > >>parameters) the width of which is greater than its height. That is, > >>the page *is* a landscape page by definition. > >>The "alternate pdftops filter", if configured as recommended, spits > >>out a PostScript file which sets up a page size as defined by the > >>PDF's media box, which is certainly too big for a letter sized media. > >>But the pstops filter, if properly configured, shrinks the logical > >>page to the availabel media size(s). It also should automatically > >>account for the implicit orientation. Maybe that the latter feature > >>still has not yet been implemented - we use the "alternate pstops filter" > >>which does this (and has a couple of other features). > >> > >>Perhaps you need to play arount with the orientation option > >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper > >>output with the original pstops filter. > >> > >>At our site, using both alternate filters, we simply emit > >>lp -d printername e002379200.pdf > >>to get a printout that looks OK. I need to note that all our > >>printers are configured to use the PPDs shrink to fit > >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > >> > >>Helge > >> > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Put the filter into your CUPS filter directory (usually > /usr/lib/cups/filter/) and the pdftops sample configuration > file into your CUPS base directory (usually /etc/cups/) > > Currently, I'd not recommend the acroread stuff, as with the > latest acroread (8.1.1) there are some quirks, espeically on Solaris. > > Get the xpdf suite from http://www.foolabs.com/xpdf/download.html > (there are precompiled binaries for both Linux and Solaris), if > you do nat already have them. The version 3.02 is highly recommended > (the security patch in 3.02p1 seems not to have any affects on CUPS > processing. > > In the pdftops filter script, change the path to xpdf's pdftops utility > as needed. You might also look into the xpdfrc manpage for more > configuration options if you need to modify the sample config file. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Tue Sep 25 09:23:35 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 09:23:35 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250856s1d27cf7dmf709d6c81a828d68@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <5d1a32000709250856s1d27cf7dmf709d6c81a828d68@mail.gmail.com> Message-ID: <30669-cups.general@news.easysw.com> I patched pdftops.pl, commenting out the CUPS_SERVERROOT reference and adding $rootdir="/etc/cups" Then retried my print job, which failed with these messages in the log: E [25/Sep/2007:12:18:12 -0400] [Job 35] Empty print file! E [25/Sep/2007:12:18:12 -0400] PID 6653 (/usr/lib/cups/filter/pdftops) stopped with status 255! E [25/Sep/2007:12:18:12 -0400] PID 6654 (/usr/lib/cups/filter/pstops) stopped with status 1! On 9/25/07, Gerald Britton wrote: > OK -- got the stuff in the right places. I renamed my original > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > pdftops and made it executable. I tried the command: > > lp -d printer mypdf.pdf > > and got no output. Looking at the script, I see a reference to the variable: > > CUPS_SERVERROOT > > which is not set in my environment. I see that the script dies if the > variable is not set, which is probably why I got no output. > > Where should this variable be set? In my session? or in the cups > startup script? > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > Searching for the alternate pdftops filter at cups.org led me to: > > > > > > http://www.srz.de/Members/bla/cups/filter/pdftops > > > > > > is that right? I see three things there. Not to sure where to put > > > them though. Does the new pdftops go into /usr/local/bin or something > > > like that? What about the filters? > > > > > > On 9/25/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>try this one: > > >>> > > >>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > >>> > > >>>On 9/25/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Gerald Britton wrote: > > >>>> > > >>>> > > >>>>>Thanks for the tip on acroread. I installed it and found that it does > > >>>>>a better job. The only problem I have with it is that it does not > > >>>>>obey the landscape option. No matter what I do, it prints portrait. > > >>>>> > > >>>>>So. here's what I know: > > >>>>> > > >>>>>cups/lp can't print all PDFs properly. You need Acrobat Reader for that > > >>>>>Acrobat reader (on Linux) doesn't process all options properly. You > > >>>>>need Windows for that! > > >>>>> > > >>>>>On 9/25/07, Helge Blischke wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Kurt Pfeifle wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>>Gerald Britton wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>Distro is ubuntu 7.04 > > >>>>>>>>Cups version is 1.2.8-0ubuntu8 > > >>>>>>> > > >>>>>>> > > >>>>>>>>On 9/24/07, Kurt Pfeifle wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>>>>use the "file /usr/lib/cups/filter/pdftops" command to find out > > >>>>>>>>>if it is just a wrapper script or a binary) ? > > >>>>>>> > > >>>>>>> > > >>>>>>>Hmmm? > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>>I'm asking because some distros don't ship the original CUPS pdftops > > >>>>>>>>>filter, but have cobbled together their own wrapper script around > > >>>>>>>>>the XPDF utility with the same name, which regularly causes problems > > >>>>>>>>>similar to yours, due to its own bugs and misconfiguration.... > > >>>>>>> > > >>>>>>> > > >>>>>>The "alternate pdftops filter" as published on the CUPS web site (see the > > >>>>>>links there) offers nearly all options the xpdf's pdftops utility > > >>>>>>known as job attributes. E.g. add "-o pdf-paper=letter" > > >>>>>>(without the quotes) as a command line option to the lp or lpr > > >>>>>>command to force printing on letter sized media. See the > > >>>>>>descriptional comments in the wrapper script for further details. > > >>>>>>BTW, the wrapper script permits the use of acroread (the free > > >>>>>>Adobe reader) as a further alternative - there are PDF files > > >>>>>>which can only be converted to usable PS by acroread. > > >>>>>> > > >>>>>>Helge > > >>>>>> > > >>>>>>-- > > >>>>>>Helge Blischke > > >>>>>>Softwareentwicklung > > >>>>>> > > >>>>>>H.Blischke at acm.org > > >>>>>>_______________________________________________ > > >>>>>>cups mailing list > > >>>>>>cups at easysw.com > > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>>>> > > >>>>> > > >>>>> > > >>>>Perhaps you post (an URL to) a sample PDF. > > >>>>We print PDFs as indicated all the time and have not > > >>>>trouble with them, > > >>>> > > >>>>Helge > > >>>> > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>OK. The PDF file defines a media box (and a crop box with the same > > >>parameters) the width of which is greater than its height. That is, > > >>the page *is* a landscape page by definition. > > >>The "alternate pdftops filter", if configured as recommended, spits > > >>out a PostScript file which sets up a page size as defined by the > > >>PDF's media box, which is certainly too big for a letter sized media. > > >>But the pstops filter, if properly configured, shrinks the logical > > >>page to the availabel media size(s). It also should automatically > > >>account for the implicit orientation. Maybe that the latter feature > > >>still has not yet been implemented - we use the "alternate pstops filter" > > >>which does this (and has a couple of other features). > > >> > > >>Perhaps you need to play arount with the orientation option > > >>(-o orientation=n, where n 0s a number 0 to 3) to get the proper > > >>output with the original pstops filter. > > >> > > >>At our site, using both alternate filters, we simply emit > > >>lp -d printername e002379200.pdf > > >>to get a printout that looks OK. I need to note that all our > > >>printers are configured to use the PPDs shrink to fit > > >>option by default (in case of a HP printer "DefaultHPPaperPolicy: NearestSizeAdjust") > > >> > > >>Helge > > >> > > >> > > >>Helge > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > > > > > > > Put the filter into your CUPS filter directory (usually > > /usr/lib/cups/filter/) and the pdftops sample configuration > > file into your CUPS base directory (usually /etc/cups/) > > > > Currently, I'd not recommend the acroread stuff, as with the > > latest acroread (8.1.1) there are some quirks, espeically on Solaris. > > > > Get the xpdf suite from http://www.foolabs.com/xpdf/download.html > > (there are precompiled binaries for both Linux and Solaris), if > > you do nat already have them. The version 3.02 is highly recommended > > (the security patch in 3.02p1 seems not to have any affects on CUPS > > processing. > > > > In the pdftops filter script, change the path to xpdf's pdftops utility > > as needed. You might also look into the xpdfrc manpage for more > > configuration options if you need to modify the sample config file. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Tue Sep 25 09:35:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Tue, 25 Sep 2007 09:35:31 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30668-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30648-cups.general@news.easysw.com> <30652-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> Message-ID: <30670-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- got the stuff in the right places. I renamed my original > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > pdftops and made it executable. I tried the command: > > lp -d printer mypdf.pdf > > and got no output. Looking at the script, I see a reference to the variable: > > CUPS_SERVERROOT > > which is not set in my environment. I see that the script dies if the > variable is not set, which is probably why I got no output. > > Where should this variable be set? In my session? or in the cups > startup script? > The environment variable is set by the scheduler when the filter chain is established. Did you put the sample config file into that directory. If your CUPS is istalled as default this will be /etc/cups/, but if it is installed in /usr/local, it will be /usr/local/etc/cups/ . In the script, there is a statement which usually reads $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility If the (absolute) path of that utility on your box is different from the above, you need to modify this statement. If it does not work, please set LogLeven debug in your cupsd.conf, try again and post (an URL to) the log file (the relevant part). BTW, in any case you should see a message tagged "E" in the first column that tells what config file has been used to process the job. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Tue Sep 25 09:58:26 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 09:58:26 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <30670-cups.general@news.easysw.com> References: <30644-cups.general@news.easysw.com> <30656-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> <30670-cups.general@news.easysw.com> Message-ID: <30671-cups.general@news.easysw.com> Got further this time. The new pdftops filter works with the path change as you described. Two different issues: 1. if I add "-o use-acroread" I get: E [25/Sep/2007:12:51:14 -0400] [Job 39] acroread-options: -toPostScript -shrink -level2 -optimizeForSpeed -commentsOff -annotsOff -transQuality 3 -size letter E [25/Sep/2007:12:51:20 -0400] [Job 39] /usr/bin/acroread exited with exit code 139 E [25/Sep/2007:12:51:20 -0400] [Job 39] Empty print file! NOTE: acroread is version 8.1.1 2. if I do NOT add "-o use-acroread" I get: E [25/Sep/2007:12:51:34 -0400] [Job 40] pdftops-options: -cfg /etc/cups/pdftops.conf -paper letter but the file prints except that it only prints portrait (with or without "-o landscape") On 9/25/07, Helge Blischke wrote: > Gerald Britton wrote: > > OK -- got the stuff in the right places. I renamed my original > > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > > pdftops and made it executable. I tried the command: > > > > lp -d printer mypdf.pdf > > > > and got no output. Looking at the script, I see a reference to the variable: > > > > CUPS_SERVERROOT > > > > which is not set in my environment. I see that the script dies if the > > variable is not set, which is probably why I got no output. > > > > Where should this variable be set? In my session? or in the cups > > startup script? > > > > The environment variable is set by the scheduler when the filter chain > is established. > Did you put the sample config file into that directory. > If your CUPS is istalled as default this will be /etc/cups/, but > if it is installed in /usr/local, it will be /usr/local/etc/cups/ . > > In the script, there is a statement which usually reads > > $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility > > If the (absolute) path of that utility on your box is different > from the above, you need to modify this statement. > > If it does not work, please set > LogLeven debug > in your cupsd.conf, try again and post (an URL to) the log file > (the relevant part). > > BTW, in any case you should see a message tagged "E" in the first > column that tells what config file has been used to process the job. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From ebradley at williams-int.com Tue Sep 25 10:40:14 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 10:40:14 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30672-cups.general@news.easysw.com> Hello, I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: [CODE] [285-sleepy at unixbuild-/local/cups-1.3.2] make Making all in cups... Compiling adminutil.c... sh: gssapi -- use : not found *** Error code 1 The following command caused the error: gcc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I.. /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c adminutil.c make: Fatal error: Command failed for target `adminutil.o' Current working directory /local/cups-1.3.2/cups *** 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' [/CODE] When I examine the output from the configure step, I see the following pertaining to Kerberos and gssapi: [CODE] checking for krb5-config... /usr/bin/krb5-config checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi.h usability... no checking gssapi/gssapi.h presence... no checking for gssapi/gssapi.h... no checking gssapi/gssapi_generic.h usability... no checking gssapi/gssapi_generic.h presence... no checking for gssapi/gssapi_generic.h... no checking gssapi/gssapi_krb5.h usability... no checking gssapi/gssapi_krb5.h presence... no checking for gssapi/gssapi_krb5.h... no checking for gsskrb5_register_acceptor_identity... no checking for krb5_cc_new_unique... no [/CODE] A 'locate gssapi' and 'locate krb5' both include the standard location of /usr/bin/include. I have tried manually setting the CPPFLAGS variable to /usr/bin/include, but it made no difference in either the configure output or the make results. Also, I ran 'krb-config --help' as is mentioned in the make error, which produced the following: [CODE] krb5-config --help Usage: /usr/bin/krb5-config [OPTIONS] [LIBRARIES] Options: [--help] Help [--all] Display version, vendor, and various values [--version] Version information [--vendor] Vendor information [--prefix] Kerberos installed prefix [--exec-prefix] Kerberos installed exec_prefix [--cflags] Compile time CFLAGS [--libs] List libraries required to link [LIBRARIES] Libraries: krb5 Kerberos 5 application [/CODE] I can provide any further information that may be needed, and I thank you in advance for your help. sleepy From ebradley at williams-int.com Tue Sep 25 10:42:20 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 10:42:20 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30673-cups.general@news.easysw.com> Sorry...I meant CUPS 1.3.2; not 3.1.2 Transposition is the Devil! :P Evan (sleepy) > Hello, > > I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: From gerald.britton at gmail.com Tue Sep 25 11:15:05 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Tue, 25 Sep 2007 11:15:05 -0700 Subject: [cups.general] Need help printing PDFs In-Reply-To: <5d1a32000709250958m41110f4cx103ba37589f961a@mail.gmail.com> References: <30644-cups.general@news.easysw.com> <30659-cups.general@news.easysw.com> <30661-cups.general@news.easysw.com> <30662-cups.general@news.easysw.com> <30663-cups.general@news.easysw.com> <30665-cups.general@news.easysw.com> <30667-cups.general@news.easysw.com> <30668-cups.general@news.easysw.com> <30670-cups.general@news.easysw.com> <5d1a32000709250958m41110f4cx103ba37589f961a@mail.gmail.com> Message-ID: <30674-cups.general@news.easysw.com> I ran the job with loglevel debug. The results are here: http://pastebin.com/m1534383e It looks like the "landscape" option was discarded. On 9/25/07, Gerald Britton wrote: > Got further this time. The new pdftops filter works with the path > change as you described. > > Two different issues: > > 1. if I add "-o use-acroread" I get: > > E [25/Sep/2007:12:51:14 -0400] [Job 39] acroread-options: > -toPostScript -shrink -level2 -optimizeForSpeed -commentsOff > -annotsOff -transQuality 3 -size letter > E [25/Sep/2007:12:51:20 -0400] [Job 39] /usr/bin/acroread exited with > exit code 139 > E [25/Sep/2007:12:51:20 -0400] [Job 39] Empty print file! > > NOTE: acroread is version 8.1.1 > > 2. if I do NOT add "-o use-acroread" I get: > > E [25/Sep/2007:12:51:34 -0400] [Job 40] pdftops-options: -cfg > /etc/cups/pdftops.conf -paper letter > > but the file prints except that it only prints portrait (with or > without "-o landscape") > > On 9/25/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > OK -- got the stuff in the right places. I renamed my original > > > pdftops to pdftops.old and renamed the new filter from pdftops.pl to > > > pdftops and made it executable. I tried the command: > > > > > > lp -d printer mypdf.pdf > > > > > > and got no output. Looking at the script, I see a reference to the variable: > > > > > > CUPS_SERVERROOT > > > > > > which is not set in my environment. I see that the script dies if the > > > variable is not set, which is probably why I got no output. > > > > > > Where should this variable be set? In my session? or in the cups > > > startup script? > > > > > > > The environment variable is set by the scheduler when the filter chain > > is established. > > Did you put the sample config file into that directory. > > If your CUPS is istalled as default this will be /etc/cups/, but > > if it is installed in /usr/local, it will be /usr/local/etc/cups/ . > > > > In the script, there is a statement which usually reads > > > > $pdftops_path = "/usr/local/bin/pdftops"; # path to the xpdf utility > > > > If the (absolute) path of that utility on your box is different > > from the above, you need to modify this statement. > > > > If it does not work, please set > > LogLeven debug > > in your cupsd.conf, try again and post (an URL to) the log file > > (the relevant part). > > > > BTW, in any case you should see a message tagged "E" in the first > > column that tells what config file has been used to process the job. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From ebradley at williams-int.com Tue Sep 25 13:31:38 2007 From: ebradley at williams-int.com (Evan Bradley) Date: Tue, 25 Sep 2007 13:31:38 -0700 Subject: CUPS 3.1.2 compile error on Solaris 10 U4 Message-ID: <30675-cups.general@news.easysw.com> Nevermind...a co-worker of mine reminded me of a couple things: 1. We are not using kerberos, and thus are not using the gssapi; which would make compiling it with CUPS rather difficult. 2. If I had read the 'configure --help' screen more carefully, I would have seen that disabling gssapi is as easy as typing '--disable-gssapi' after the configure command. I did this, and CUPS is now installed; sans gssapi. Sorry for the lengthy original post. I was reading too deeply into a simple problem. O_o Evan > Sorry...I meant CUPS 1.3.2; not 3.1.2 > > Transposition is the Devil! :P > > > Evan (sleepy) > > > Hello, > > > > I am trying to install CUPS 3.1.2 from source on a SUNBlade 1000 running Solaris 10 U4. The configure runs fine (./configure --prefix=/opt/cups/3.1.2) but make produces the following error: > From gaspode at yallaroo.net Wed Sep 26 05:06:55 2007 From: gaspode at yallaroo.net (Sam Yates) Date: Wed, 26 Sep 2007 05:06:55 -0700 Subject: Dell 1320c Message-ID: <30676-cups.general@news.easysw.com> For those that are interested - this printer works in Linux and Apple OSX in addition to Windows. I haven't tried it via the USB interface but I have printed though to the network interface via CUPS. The printer uses a Fuji-Xerox engine, and I found that the Fuji-Xerox Docuprint C525A driver (an older, but also GDI printer) works perfectly. Drivers availible from: ftp://ftp.fxa.com.au/drivers/dpc525a/dpc525a_linux_.0.0.tar.zip and probably also your local Fuji-Xerox site. From gerald.britton at gmail.com Wed Sep 26 07:27:34 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 07:27:34 -0700 Subject: Problems printing PDF files through cups. Message-ID: <30677-cups.general@news.easysw.com> I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: lp -d printername myfile.pdf The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner Next, I add "-o pdftops" This time, all I get from the printer is a blank page! After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. Next, i add "-o landscape". My full command now is: lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. Printer info: Info HP 9040mfp via ipp Location in the corner by the door DeviceURI ipp://10.18.16.253 State Idle StateTime 1190638965 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job pdftops version: $ pdftops -v pdftops version 3.00 Copyright 1996-2004 Glyph & Cog, LLC From gerald.britton at gmail.com Wed Sep 26 07:40:13 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 07:40:13 -0700 Subject: Problems printing PDF files through cups. Message-ID: <30678-cups.general@news.easysw.com> > I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > > lp -d printername myfile.pdf > > The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > > Next, I add "-o pdftops" > > This time, all I get from the printer is a blank page! > > After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > > Next, i add "-o landscape". My full command now is: > > lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > > Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > > I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > > Printer info: > > > > Info HP 9040mfp via ipp > Location in the corner by the door > DeviceURI ipp://10.18.16.253 > State Idle > StateTime 1190638965 > Accepting Yes > Shared Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > OpPolicy default > ErrorPolicy retry-job > > > pdftops version: > > $ pdftops -v > pdftops version 3.00 > Copyright 1996-2004 Glyph & Cog, LLC > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf From h.blischke at srz.de Wed Sep 26 07:49:47 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 07:49:47 -0700 Subject: Problems printing PDF files through cups. In-Reply-To: <30678-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> Message-ID: <30679-cups.general@news.easysw.com> Gerald Britton wrote: >>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: >> >>lp -d printername myfile.pdf >> >>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner >> >>Next, I add "-o pdftops" >> >>This time, all I get from the printer is a blank page! >> >>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. >> >>Next, i add "-o landscape". My full command now is: >> >>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf >> >>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) >> >>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. >> >>Printer info: >> >> >> >>Info HP 9040mfp via ipp >>Location in the corner by the door >>DeviceURI ipp://10.18.16.253 >>State Idle >>StateTime 1190638965 >>Accepting Yes >>Shared Yes >>JobSheets none none >>QuotaPeriod 0 >>PageLimit 0 >>KLimit 0 >>OpPolicy default >>ErrorPolicy retry-job >> >> >>pdftops version: >> >>$ pdftops -v >>pdftops version 3.00 >>Copyright 1996-2004 Glyph & Cog, LLC >> > > > > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > > lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match from the config file. The fitplot option together with the default media size for your printer as defined by your printer's PPD should scale down the page as required. If the orientation does not match, try -o orientation=n (n ab integer between 0 and 3). One of those combinations should do the job. If all that fails, get the alternate pstops filter (you may get a precompiled binary from me for Linux, Unixware, or Solaris). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From john at cs.york.ac.uk Wed Sep 26 08:07:49 2007 From: john at cs.york.ac.uk (John A. Murdie) Date: Wed, 26 Sep 2007 08:07:49 -0700 Subject: Beginner's problem with authentication policyin 1.3.0 Message-ID: <30680-cups.general@news.easysw.com> > John A. Murdie wrote: > > > I would hope at least to be able to lock out the untrusted clients (on > > a separate subnet from the trusted clients) if they cannot authenticate > > by the required means. Unfortunately, I have been unable to do this. I > > have in cupsd.conf an initial Location directive: > > > > > > Order allow,deny > > Allow from trusted/255.255.254.0 > > Allow from unstrusted/255.255.254.0 > > Are you sure you don't mean > > Deny from unstrusted/255.255.254.0 > > ? *Deny* ? > > -- > Kurt Pfeifle (Sorry for my very slow reply, Kurt; very busy with various things here.) Yes, I do mean "Allow from untrusted" rather than "Deny from untrusted"; I want to allow these unstrusted clients in, but force them to authenticate themselves. As http://www.cups.org/documentation.php/policies.html says: "operation policies can only add additional security restrictions to a request, never relax them". (I tried "Deny from untrusted ..." and it did what it was supposed to.) John A. Murdie From gerald.britton at gmail.com Wed Sep 26 08:08:33 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 08:08:33 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30679-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> Message-ID: <30681-cups.general@news.easysw.com> Tried all orientations (0-4) with no change in result. All I get is a blank page! BTW if I remove pdf-paper=letter, the printer asks for manual paper feed, since the original size is about 12x18 I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). I found two bugs fixes that sem to directly address my issueL:: STR 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get these fixes. It doesn't look like the filters are the problem after all. The patches are to mainline code from what I can see. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > >>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > >> > >>lp -d printername myfile.pdf > >> > >>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > >> > >>Next, I add "-o pdftops" > >> > >>This time, all I get from the printer is a blank page! > >> > >>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > >> > >>Next, i add "-o landscape". My full command now is: > >> > >>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > >> > >>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > >> > >>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > >> > >>Printer info: > >> > >> > >> > >>Info HP 9040mfp via ipp > >>Location in the corner by the door > >>DeviceURI ipp://10.18.16.253 > >>State Idle > >>StateTime 1190638965 > >>Accepting Yes > >>Shared Yes > >>JobSheets none none > >>QuotaPeriod 0 > >>PageLimit 0 > >>KLimit 0 > >>OpPolicy default > >>ErrorPolicy retry-job > >> > >> > >>pdftops version: > >> > >>$ pdftops -v > >>pdftops version 3.00 > >>Copyright 1996-2004 Glyph & Cog, LLC > >> > > > > > > > > Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > > > > lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > > > > Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match > from the config file. The fitplot option together with the default media size > for your printer as defined by your printer's PPD should scale down the page > as required. > If the orientation does not match, try -o orientation=n (n ab integer between > 0 and 3). One of those combinations should do the job. > > If all that fails, get the alternate pstops filter (you may get a precompiled > binary from me for Linux, Unixware, or Solaris). > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Wed Sep 26 09:01:31 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 09:01:31 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30681-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> Message-ID: <30682-cups.general@news.easysw.com> Gerald Britton wrote: > Tried all orientations (0-4) with no change in result. All I get is a > blank page! > > BTW if I remove pdf-paper=letter, the printer asks for manual paper > feed, since the original size is about 12x18 > > I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). > I found two bugs fixes that sem to directly address my issueL:: STR > 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get > these fixes. It doesn't look like the filters are the problem after > all. The patches are to mainline code from what I can see. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: >>>> >>>>lp -d printername myfile.pdf >>>> >>>>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner >>>> >>>>Next, I add "-o pdftops" >>>> >>>>This time, all I get from the printer is a blank page! >>>> >>>>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. >>>> >>>>Next, i add "-o landscape". My full command now is: >>>> >>>>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf >>>> >>>>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) >>>> >>>>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. >>>> >>>>Printer info: >>>> >>>> >>>> >>>>Info HP 9040mfp via ipp >>>>Location in the corner by the door >>>>DeviceURI ipp://10.18.16.253 >>>>State Idle >>>>StateTime 1190638965 >>>>Accepting Yes >>>>Shared Yes >>>>JobSheets none none >>>>QuotaPeriod 0 >>>>PageLimit 0 >>>>KLimit 0 >>>>OpPolicy default >>>>ErrorPolicy retry-job >>>> >>>> >>>>pdftops version: >>>> >>>>$ pdftops -v >>>>pdftops version 3.00 >>>>Copyright 1996-2004 Glyph & Cog, LLC >>>> >>> >>> >>> >>>Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: >>> >>>lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf >>> >> >>Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match >>from the config file. The fitplot option together with the default media size >>for your printer as defined by your printer's PPD should scale down the page >>as required. >>If the orientation does not match, try -o orientation=n (n ab integer between >>0 and 3). One of those combinations should do the job. >> >>If all that fails, get the alternate pstops filter (you may get a precompiled >>binary from me for Linux, Unixware, or Solaris). >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Yes, the early versions of 1.2.x (including 1.2.4, IIRC) had a bug by design: they inserted the defaults from the PPD at the wrong place into the PS job. But, instead of upgrading the total system, perhaps try out the alternate pstops filter (it is that one we use with great success). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Wed Sep 26 09:22:43 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 09:22:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30682-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> Message-ID: <30683-cups.general@news.easysw.com> OK -- Where can I find it? If it is a "c" program, what do I need to compile it? On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > Tried all orientations (0-4) with no change in result. All I get is a > > blank page! > > > > BTW if I remove pdf-paper=letter, the printer asks for manual paper > > feed, since the original size is about 12x18 > > > > I just read through the changelogs for cups 1.3.2 (I'm running 1.2.4). > > I found two bugs fixes that sem to directly address my issueL:: STR > > 2149 and STR 2348. I believe that I'll need at least 1.2.11 to get > > these fixes. It doesn't look like the filters are the problem after > > all. The patches are to mainline code from what I can see. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>>I'm running CUPS 1.2.8 on Ubuntu Feisty Fawn 7.04. I have a PDF file that I want to print. I issue the command: > >>>> > >>>>lp -d printername myfile.pdf > >>>> > >>>>The results are not good. The printout is scaled up about 8 times so I only get a bit of the top left corner > >>>> > >>>>Next, I add "-o pdftops" > >>>> > >>>>This time, all I get from the printer is a blank page! > >>>> > >>>>After reading the pdftops filter, I noticed the option "pdf-page" so I added "-o pdf-page=letter" to the command. This time the output is scaled down about 50% but it is cut off on the right. > >>>> > >>>>Next, i add "-o landscape". My full command now is: > >>>> > >>>>lp -d printername -o pdftops -o pdf-page=letter -o landscape myfile.pdf > >>>> > >>>>Thinking this would do it, I went to the printer only to find that the landscape option had apparently been ignored. The output is still printed with portrait orientation and cut off on the right hand side. (Scaling was the same at about 50%) > >>>> > >>>>I'm desperate to know how to print my file with landscape orientation and scaled to fit letter-sized paper. > >>>> > >>>>Printer info: > >>>> > >>>> > >>>> > >>>>Info HP 9040mfp via ipp > >>>>Location in the corner by the door > >>>>DeviceURI ipp://10.18.16.253 > >>>>State Idle > >>>>StateTime 1190638965 > >>>>Accepting Yes > >>>>Shared Yes > >>>>JobSheets none none > >>>>QuotaPeriod 0 > >>>>PageLimit 0 > >>>>KLimit 0 > >>>>OpPolicy default > >>>>ErrorPolicy retry-job > >>>> > >>>> > >>>>pdftops version: > >>>> > >>>>$ pdftops -v > >>>>pdftops version 3.00 > >>>>Copyright 1996-2004 Glyph & Cog, LLC > >>>> > >>> > >>> > >>> > >>>Correction, the option "-o pdftops" above should be "-o fitplot" so the final command is: > >>> > >>>lp -d printername -o fitplot -o pdf-page=letter -o landscape myfile.pdf > >>> > >> > >>Discard the "-o pdf-paper=letter" to activate the default pdf-paper=match > >>from the config file. The fitplot option together with the default media size > >>for your printer as defined by your printer's PPD should scale down the page > >>as required. > >>If the orientation does not match, try -o orientation=n (n ab integer between > >>0 and 3). One of those combinations should do the job. > >> > >>If all that fails, get the alternate pstops filter (you may get a precompiled > >>binary from me for Linux, Unixware, or Solaris). > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > Yes, the early versions of 1.2.x (including 1.2.4, IIRC) had a bug by design: > they inserted the defaults from the PPD at the wrong place into the > PS job. > > But, instead of upgrading the total system, perhaps try out the > alternate pstops filter (it is that one we use with great success). > > Helge > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Wed Sep 26 10:00:12 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 10:00:12 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30683-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> Message-ID: <30684-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- Where can I find it? If it is a "c" program, what do I need to > compile it? > [...] >> >>But, instead of upgrading the total system, perhaps try out the >>alternate pstops filter (it is that one we use with great success). >> >>Helge >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > I try to append the precompiled Linux version here. If that does not work, send me an e-mail off the list for me to reply to your propoer address. For information and documentation, you should get the pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 (see also the links on the CUPS web site). Do not forget to save the original pstops filter for safety reasons. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org -------------- next part -------------- A non-text attachment was scrubbed... Name: pstops Type: application/octet-stream Size: 44860 bytes Desc: not available URL: From gerald.britton at gmail.com Wed Sep 26 10:34:45 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 10:34:45 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30684-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> Message-ID: <30685-cups.general@news.easysw.com> The good news is that your attachment made it through and didn't crash. The bad news is that the basic situation is really unchanged: - I tried many permutations of orientation, pdf-paper (including match) and fitplot. All results are the same, the middle of the pdf is printed about 1/2 scale at the top of the printable area - portrait only. I can't get landscape to work to save my life! - Now, the printer always requests a manual page feed of 12x18 (the original size). With the old pstops filter then new page size was passed through and I got no prompt at the printer - the new pstops runs a lot longer (2-3 times) than the old one. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > OK -- Where can I find it? If it is a "c" program, what do I need to > > compile it? > > > [...] > >> > >>But, instead of upgrading the total system, perhaps try out the > >>alternate pstops filter (it is that one we use with great success). > >> > >>Helge > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > I try to append the precompiled Linux version here. > If that does not work, send me an e-mail off the list > for me to reply to your propoer address. > > For information and documentation, you should get the > pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > (see also the links on the CUPS web site). > > Do not forget to save the original pstops filter for safety reasons. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > > > From h.blischke at srz.de Wed Sep 26 11:12:16 2007 From: h.blischke at srz.de (Helge Blischke) Date: Wed, 26 Sep 2007 11:12:16 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30685-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> Message-ID: <30686-cups.general@news.easysw.com> Gerald Britton wrote: > The good news is that your attachment made it through and didn't > crash. The bad news is that the basic situation is really unchanged: > > - I tried many permutations of orientation, pdf-paper (including > match) and fitplot. All results are the same, the middle of the pdf > is printed about 1/2 scale at the top of the printable area - portrait > only. I can't get landscape to work to save my life! > > - Now, the printer always requests a manual page feed of 12x18 (the > original size). With the old pstops filter then new page size was > passed through and I got no prompt at the printer > > - the new pstops runs a lot longer (2-3 times) than the old one. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>compile it? >>> >> >>[...] >> >>>>But, instead of upgrading the total system, perhaps try out the >>>>alternate pstops filter (it is that one we use with great success). >>>> >>>>Helge >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>I try to append the precompiled Linux version here. >>If that does not work, send me an e-mail off the list >>for me to reply to your propoer address. >> >>For information and documentation, you should get the >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>(see also the links on the CUPS web site). >> >>Do not forget to save the original pstops filter for safety reasons. >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >> >> >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> >> >> > > From your log file I learn that you use the hpijs driver for the printer in question. But the printer is also a native PostScript printer, according to the PPD recommended: http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd And, as the PPD says it is a level 3 printer, you should add -o HPOption_PaperPolicy=NearestSizeAdjust to the job options. I suspect the default configuration is set to PromptUser, as you say the printer asks for the 12x18 media size. The alternate psrops filter still ignores the fitplot option, as this is a standard feature for (nearly) all level 2 and level 3 PostScript printers. If that works, you should add this option to the default options for this printer. from the PPD: *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " <> >> setpagedevice" *End Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Wed Sep 26 12:40:35 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 12:40:35 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30686-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> Message-ID: <30687-cups.general@news.easysw.com> Unfortunately that option had no effect. I'm not sure it is valid, since I don't see it here: $ lpoptions -l -d printer0198 PageSize/Page Size: Custom *Letter A4 Photo Photo5x7 3x5 5x8 A3 A5 A6 B4JIS B5JIS CDDVD80 CDDVD120 Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Ledger Legal Oufuku w558h774 w612h935 w774h1116 PrintoutMode/Printout Mode: Draft *Normal High InputSlot/Media Source: *Default PhotoTray Upper Lower CDDVDTray Envelope LargeCapacity Manual MPTray PageRegion/PageRegion: Letter A4 Photo Photo5x7 3x5 5x8 A3 A5 A6 B4JIS B5JIS CDDVD80 CDDVD120 Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Ledger Legal Oufuku w558h774 w612h935 w774h1116 Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble *None On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > The good news is that your attachment made it through and didn't > > crash. The bad news is that the basic situation is really unchanged: > > > > - I tried many permutations of orientation, pdf-paper (including > > match) and fitplot. All results are the same, the middle of the pdf > > is printed about 1/2 scale at the top of the printable area - portrait > > only. I can't get landscape to work to save my life! > > > > - Now, the printer always requests a manual page feed of 12x18 (the > > original size). With the old pstops filter then new page size was > > passed through and I got no prompt at the printer > > > > - the new pstops runs a lot longer (2-3 times) than the old one. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>compile it? > >>> > >> > >>[...] > >> > >>>>But, instead of upgrading the total system, perhaps try out the > >>>>alternate pstops filter (it is that one we use with great success). > >>>> > >>>>Helge > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>I try to append the precompiled Linux version here. > >>If that does not work, send me an e-mail off the list > >>for me to reply to your propoer address. > >> > >>For information and documentation, you should get the > >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>(see also the links on the CUPS web site). > >> > >>Do not forget to save the original pstops filter for safety reasons. > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >> > >> > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > >> > >> > > > > > From your log file I learn that you use the hpijs driver for the printer > in question. But the printer is also a native PostScript printer, according to the > PPD recommended: > http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > > And, as the PPD says it is a level 3 printer, you should add > -o HPOption_PaperPolicy=NearestSizeAdjust > to the job options. I suspect the default configuration is set > to PromptUser, as you say the printer asks for the 12x18 media size. > > The alternate psrops filter still ignores the fitplot option, as this > is a standard feature for (nearly) all level 2 and level 3 PostScript > printers. If that works, you should add this option to the > default options for this printer. > > from the PPD: > *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > <> >> setpagedevice" > *End > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From ricardozuco at yahoo.com.br Wed Sep 26 12:44:08 2007 From: ricardozuco at yahoo.com.br (Ricardo Zucolotto) Date: Wed, 26 Sep 2007 12:44:08 -0700 Subject: Cups spool - File2.txt is being printed before File1.txt Message-ID: <30688-cups.general@news.easysw.com> Hello fellows, I have a problem with CUPS' spool... something weird is happening in my server. I have a software upon a Linux Mandrake 2007 2.6.17-13mdv #1 SMP (Xeon) running CUPS 1.3 and SAMBA 3.0.24. I have two servers, SERVER1 and SERVER2. The SERVER1 send its printing requests to SERVER2 using IPP (they're linked by a gigabit cable also used for NFS system files) and sometimes (it isn't the rule). The system creates the file (i.e. file1.txt) and make a lpr to print it, and then create the file2.txt and do the same task to print file2.txt ang go on. But the interval behind one file's creation and other is about 3 seconds (it is a sequential task, it may generate up to 50 files to the spool). I noticed after some complaining, the file1.txt is printer AFTER file2.txt, and I checked in my spool folder, as shown below: FILE1.TXT - c34379 FILE2.TXT - c34381 -rw------- 1 root lp 970 2007-09-26 14:13:34.000000000 -0300 c34381 -rw------- 1 root lp 934 2007-09-26 14:13:53.000000000 -0300 c34379 This is just occurs when we perform lots of lpr requests. My ideia is: There is a way to preserve the spool sequence?? The File1.txt must be printed before File2.txt. What I can do to solve this problem in CUPS configuration?? Thanks ppl. Ricardo From gerald.britton at gmail.com Wed Sep 26 12:59:17 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Wed, 26 Sep 2007 12:59:17 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30686-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> Message-ID: <30689-cups.general@news.easysw.com> On a hunch I defined a new printer for the 9040 and chose the Postscript Driver. Big change! At last I get it printing landscape! I used the command: lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf and it prints landscape. The only thing it didn't do is scale it to fit the page. So, I know that the hpijs driver doesn't work as well with CUPS as the postscript driver. Not sure if that is a driver problem or a CUPS problem. The only thing left is to get the scaling to work. Seems I'm stuck at this point. On 9/26/07, Helge Blischke wrote: > Gerald Britton wrote: > > The good news is that your attachment made it through and didn't > > crash. The bad news is that the basic situation is really unchanged: > > > > - I tried many permutations of orientation, pdf-paper (including > > match) and fitplot. All results are the same, the middle of the pdf > > is printed about 1/2 scale at the top of the printable area - portrait > > only. I can't get landscape to work to save my life! > > > > - Now, the printer always requests a manual page feed of 12x18 (the > > original size). With the old pstops filter then new page size was > > passed through and I got no prompt at the printer > > > > - the new pstops runs a lot longer (2-3 times) than the old one. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>compile it? > >>> > >> > >>[...] > >> > >>>>But, instead of upgrading the total system, perhaps try out the > >>>>alternate pstops filter (it is that one we use with great success). > >>>> > >>>>Helge > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>I try to append the precompiled Linux version here. > >>If that does not work, send me an e-mail off the list > >>for me to reply to your propoer address. > >> > >>For information and documentation, you should get the > >>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>(see also the links on the CUPS web site). > >> > >>Do not forget to save the original pstops filter for safety reasons. > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >> > >> > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > >> > >> > > > > > From your log file I learn that you use the hpijs driver for the printer > in question. But the printer is also a native PostScript printer, according to the > PPD recommended: > http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > > And, as the PPD says it is a level 3 printer, you should add > -o HPOption_PaperPolicy=NearestSizeAdjust > to the job options. I suspect the default configuration is set > to PromptUser, as you say the printer asks for the 12x18 media size. > > The alternate psrops filter still ignores the fitplot option, as this > is a standard feature for (nearly) all level 2 and level 3 PostScript > printers. If that works, you should add this option to the > default options for this printer. > > from the PPD: > *HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > <> >> setpagedevice" > *End > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From premjo.elias at gmail.com Wed Sep 26 23:16:49 2007 From: premjo.elias at gmail.com (Premjo) Date: Wed, 26 Sep 2007 23:16:49 -0700 Subject: regarding cups Message-ID: <30690-cups.general@news.easysw.com> Hi, Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. Regards, Premjo Elias From vst at talicom.de Thu Sep 27 01:25:17 2007 From: vst at talicom.de (Volker Stoppe) Date: Thu, 27 Sep 2007 01:25:17 -0700 Subject: Printer does not interpret PCL-code but prints it Message-ID: <30691-cups.general@news.easysw.com> Hi, we, I and a customer have problems with his printer. He tries to print reports from a database, which include PCL-codes. Unfortunately the PCL-codes appear as clear text on the print. If he prints in raw format (e.g. lpr -l / lp -d -o raw), the cr/lf is not interpretet. This happens with SuSE 8.2, CUPS ~1.1 and a HP Laserjet 4 Plus. If I print the same document with CUPS 1.3 on a Brother HL-5270 DN it just works fine. Is the old CUPS unable to handle the even older Laserjet? Where could we search to solve the problem? PS: He also postet in another forum: www.mydatabasesupport.com/forums/informix/248130-using-pcl-commands-new-system.html From h.blischke at srz.de Thu Sep 27 05:31:24 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 05:31:24 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30689-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> Message-ID: <30692-cups.general@news.easysw.com> Gerald Britton wrote: > On a hunch I defined a new printer for the 9040 and chose the > Postscript Driver. Big change! At last I get it printing landscape! > I used the command: > > lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > > and it prints landscape. The only thing it didn't do is scale it to > fit the page. > > So, I know that the hpijs driver doesn't work as well with CUPS as the > postscript driver. Not sure if that is a driver problem or a CUPS > problem. > > The only thing left is to get the scaling to work. Seems I'm stuck at > this point. > > On 9/26/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>The good news is that your attachment made it through and didn't >>>crash. The bad news is that the basic situation is really unchanged: >>> >>>- I tried many permutations of orientation, pdf-paper (including >>>match) and fitplot. All results are the same, the middle of the pdf >>>is printed about 1/2 scale at the top of the printable area - portrait >>>only. I can't get landscape to work to save my life! >>> >>>- Now, the printer always requests a manual page feed of 12x18 (the >>>original size). With the old pstops filter then new page size was >>>passed through and I got no prompt at the printer >>> >>>- the new pstops runs a lot longer (2-3 times) than the old one. >>> >>>On 9/26/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>>>compile it? >>>>> >>>> >>>>[...] >>>> >>>> >>>>>>But, instead of upgrading the total system, perhaps try out the >>>>>>alternate pstops filter (it is that one we use with great success). >>>>>> >>>>>>Helge >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>> >>>>> >>>>I try to append the precompiled Linux version here. >>>>If that does not work, send me an e-mail off the list >>>>for me to reply to your propoer address. >>>> >>>>For information and documentation, you should get the >>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>>>(see also the links on the CUPS web site). >>>> >>>>Do not forget to save the original pstops filter for safety reasons. >>>> >>>>Helge >>>> >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>> >>>> >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>>> >>>> >>> >>> >> From your log file I learn that you use the hpijs driver for the printer >>in question. But the printer is also a native PostScript printer, according to the >>PPD recommended: >>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd >> >>And, as the PPD says it is a level 3 printer, you should add >>-o HPOption_PaperPolicy=NearestSizeAdjust >>to the job options. I suspect the default configuration is set >>to PromptUser, as you say the printer asks for the 12x18 media size. >> >>The alternate psrops filter still ignores the fitplot option, as this >>is a standard feature for (nearly) all level 2 and level 3 PostScript >>printers. If that works, you should add this option to the >>default options for this printer. >> >>from the PPD: >>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " >> <> >> setpagedevice" >>*End >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > What pstops filter did you use now? Perhaps it is worth while to use the "nearestsizeadjust" option as a default for this printer (most conveniently selectable using the web interface). (That's the way it works at our site). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From h.blischke at srz.de Thu Sep 27 05:45:36 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 05:45:36 -0700 Subject: Printer does not interpret PCL-code but prints it In-Reply-To: <30691-cups.general@news.easysw.com> References: <30691-cups.general@news.easysw.com> Message-ID: <30693-cups.general@news.easysw.com> Volker Stoppe wrote: > Hi, > > we, I and a customer have problems with his printer. He tries to print > reports from a database, which include PCL-codes. Unfortunately the > PCL-codes appear as clear text on the print. If he prints in raw format > (e.g. lpr -l / lp -d -o raw), the cr/lf is not interpretet. > This happens with SuSE 8.2, CUPS ~1.1 and a HP Laserjet 4 Plus. If I > print the same document with CUPS 1.3 on a Brother HL-5270 DN it just > works fine. > Is the old CUPS unable to handle the even older Laserjet? Where could > we search to solve the problem? > > PS: He also postet in another forum: > www.mydatabasesupport.com/forums/informix/248130-using-pcl-commands-new-system.html > You should explain how your printer is configured and which backend is used. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 06:09:17 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 06:09:17 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30692-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> Message-ID: <30694-cups.general@news.easysw.com> I've run the same job with both the old and new pdftops and the old and new pstops. The results are the same no matter what. The only thing that has made a difference is using the postcript driver instead of hpijs. I put "Nearest size and scale" in the printer options. That means I do not need the option on the command line. It doesn't really work though. I still get a prompt for 12x18 stock. If I also put -o PageSize=letter, I get it printed landscape on letter without a prompt but no scaling. The other weird thing is that if I use -o PageSize=legal, I have to manually tell the printer to use the stock in the drawer (that it knows!) has legal-size paper. Bottom line: Scaling to fit doesn't work with this release of cups, even with the alternate filters. On 9/27/07, Helge Blischke wrote: > Gerald Britton wrote: > > On a hunch I defined a new printer for the 9040 and chose the > > Postscript Driver. Big change! At last I get it printing landscape! > > I used the command: > > > > lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > > > > and it prints landscape. The only thing it didn't do is scale it to > > fit the page. > > > > So, I know that the hpijs driver doesn't work as well with CUPS as the > > postscript driver. Not sure if that is a driver problem or a CUPS > > problem. > > > > The only thing left is to get the scaling to work. Seems I'm stuck at > > this point. > > > > On 9/26/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>The good news is that your attachment made it through and didn't > >>>crash. The bad news is that the basic situation is really unchanged: > >>> > >>>- I tried many permutations of orientation, pdf-paper (including > >>>match) and fitplot. All results are the same, the middle of the pdf > >>>is printed about 1/2 scale at the top of the printable area - portrait > >>>only. I can't get landscape to work to save my life! > >>> > >>>- Now, the printer always requests a manual page feed of 12x18 (the > >>>original size). With the old pstops filter then new page size was > >>>passed through and I got no prompt at the printer > >>> > >>>- the new pstops runs a lot longer (2-3 times) than the old one. > >>> > >>>On 9/26/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>>>compile it? > >>>>> > >>>> > >>>>[...] > >>>> > >>>> > >>>>>>But, instead of upgrading the total system, perhaps try out the > >>>>>>alternate pstops filter (it is that one we use with great success). > >>>>>> > >>>>>>Helge > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>> > >>>>> > >>>>I try to append the precompiled Linux version here. > >>>>If that does not work, send me an e-mail off the list > >>>>for me to reply to your propoer address. > >>>> > >>>>For information and documentation, you should get the > >>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>>>(see also the links on the CUPS web site). > >>>> > >>>>Do not forget to save the original pstops filter for safety reasons. > >>>> > >>>>Helge > >>>> > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>> > >>>> > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>>> > >>>> > >>> > >>> > >> From your log file I learn that you use the hpijs driver for the printer > >>in question. But the printer is also a native PostScript printer, according to the > >>PPD recommended: > >>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > >> > >>And, as the PPD says it is a level 3 printer, you should add > >>-o HPOption_PaperPolicy=NearestSizeAdjust > >>to the job options. I suspect the default configuration is set > >>to PromptUser, as you say the printer asks for the 12x18 media size. > >> > >>The alternate psrops filter still ignores the fitplot option, as this > >>is a standard feature for (nearly) all level 2 and level 3 PostScript > >>printers. If that works, you should add this option to the > >>default options for this printer. > >> > >>from the PPD: > >>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > >> <> >> setpagedevice" > >>*End > >> > >>Helge > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > What pstops filter did you use now? Perhaps it is worth while > to use the "nearestsizeadjust" option as a default for > this printer (most conveniently selectable using the > web interface). > (That's the way it works at our site). > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From roa at libero.it Thu Sep 27 06:13:23 2007 From: roa at libero.it (Paolo Roascio) Date: Thu, 27 Sep 2007 06:13:23 -0700 Subject: how to disable any password Message-ID: <30695-cups.general@news.easysw.com> hello, first of all sorry for my bad english... I have an issue with cups management: each time i do an administrative task on my printer via web interface, cups require a password. I know that i have to set it by lppasswd and then i can use it, but, at least for stopping or starting my printer, I DON'T WANT TO USE ANY PASSWORD! Well, security issues aren't the case, i'm the only user of the PC and normally it isn't connected to internet/whatever. I already edited my /etc/cupsd.conf, now all authtype istances are setted to none and the access is restricted only to localhost, but despite this, cups WANT ever the password. How can i disable the use of any password in cups (i want that all, but really all can perform every task with my cups, no matter security issues) Thanks in advice Paolo From h.blischke at srz.de Thu Sep 27 06:41:01 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 06:41:01 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30694-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30679-cups.general@news.easysw.com> <30681-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> Message-ID: <30696-cups.general@news.easysw.com> Gerald Britton wrote: > I've run the same job with both the old and new pdftops and the old > and new pstops. The results are the same no matter what. The only > thing that has made a difference is using the postcript driver instead > of hpijs. > > I put "Nearest size and scale" in the printer options. That means I > do not need the option on the command line. It doesn't really work > though. I still get a prompt for 12x18 stock. If I also put -o > PageSize=letter, I get it printed landscape on letter without a prompt > but no scaling. > > The other weird thing is that if I use -o PageSize=legal, I have to > manually tell the printer to use the stock in the drawer (that it > knows!) has legal-size paper. > > Bottom line: Scaling to fit doesn't work with this release of cups, > even with the alternate filters. > > On 9/27/07, Helge Blischke wrote: > >>Gerald Britton wrote: >> >>>On a hunch I defined a new printer for the 9040 and chose the >>>Postscript Driver. Big change! At last I get it printing landscape! >>>I used the command: >>> >>>lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf >>> >>>and it prints landscape. The only thing it didn't do is scale it to >>>fit the page. >>> >>>So, I know that the hpijs driver doesn't work as well with CUPS as the >>>postscript driver. Not sure if that is a driver problem or a CUPS >>>problem. >>> >>>The only thing left is to get the scaling to work. Seems I'm stuck at >>>this point. >>> >>>On 9/26/07, Helge Blischke wrote: >>> >>> >>>>Gerald Britton wrote: >>>> >>>> >>>>>The good news is that your attachment made it through and didn't >>>>>crash. The bad news is that the basic situation is really unchanged: >>>>> >>>>>- I tried many permutations of orientation, pdf-paper (including >>>>>match) and fitplot. All results are the same, the middle of the pdf >>>>>is printed about 1/2 scale at the top of the printable area - portrait >>>>>only. I can't get landscape to work to save my life! >>>>> >>>>>- Now, the printer always requests a manual page feed of 12x18 (the >>>>>original size). With the old pstops filter then new page size was >>>>>passed through and I got no prompt at the printer >>>>> >>>>>- the new pstops runs a lot longer (2-3 times) than the old one. >>>>> >>>>>On 9/26/07, Helge Blischke wrote: >>>>> >>>>> >>>>> >>>>>>Gerald Britton wrote: >>>>>> >>>>>> >>>>>> >>>>>>>OK -- Where can I find it? If it is a "c" program, what do I need to >>>>>>>compile it? >>>>>>> >>>>>> >>>>>>[...] >>>>>> >>>>>> >>>>>> >>>>>>>>But, instead of upgrading the total system, perhaps try out the >>>>>>>>alternate pstops filter (it is that one we use with great success). >>>>>>>> >>>>>>>>Helge >>>>>>>>-- >>>>>>>>Helge Blischke >>>>>>>>Softwareentwicklung >>>>>>>> >>>>>>>>H.Blischke at acm.org >>>>>>>>_______________________________________________ >>>>>>>>cups mailing list >>>>>>>>cups at easysw.com >>>>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>>>> >>>>>>> >>>>>>> >>>>>>I try to append the precompiled Linux version here. >>>>>>If that does not work, send me an e-mail off the list >>>>>>for me to reply to your propoer address. >>>>>> >>>>>>For information and documentation, you should get the >>>>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 >>>>>>(see also the links on the CUPS web site). >>>>>> >>>>>>Do not forget to save the original pstops filter for safety reasons. >>>>>> >>>>>>Helge >>>>>> >>>>>> >>>>>>-- >>>>>>Helge Blischke >>>>>>Softwareentwicklung >>>>>> >>>>>>H.Blischke at acm.org >>>>>> >>>>>> >>>>>>_______________________________________________ >>>>>>cups mailing list >>>>>>cups at easysw.com >>>>>>http://lists.easysw.com/mailman/listinfo/cups >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>From your log file I learn that you use the hpijs driver for the printer >>>>in question. But the printer is also a native PostScript printer, according to the >>>>PPD recommended: >>>>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd >>>> >>>>And, as the PPD says it is a level 3 printer, you should add >>>>-o HPOption_PaperPolicy=NearestSizeAdjust >>>>to the job options. I suspect the default configuration is set >>>>to PromptUser, as you say the printer asks for the 12x18 media size. >>>> >>>>The alternate psrops filter still ignores the fitplot option, as this >>>>is a standard feature for (nearly) all level 2 and level 3 PostScript >>>>printers. If that works, you should add this option to the >>>>default options for this printer. >>>> >>> >>>>from the PPD: >>> >>>>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " >>>> <> >> setpagedevice" >>>>*End >>>> >>>>Helge >>>> >>>>-- >>>>Helge Blischke >>>>Softwareentwicklung >>>> >>>>H.Blischke at acm.org >>>>_______________________________________________ >>>>cups mailing list >>>>cups at easysw.com >>>>http://lists.easysw.com/mailman/listinfo/cups >>>> >>> >>> >>What pstops filter did you use now? Perhaps it is worth while >>to use the "nearestsizeadjust" option as a default for >>this printer (most conveniently selectable using the >>web interface). >>(That's the way it works at our site). >> >>Helge >> >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > A last straw to grasp at: the printer itself should provide some configuration interfaces (web, telnet, menu keys; the first one preferred). It is possible that you need to mdoify something there. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 06:55:43 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 06:55:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30696-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> Message-ID: <30697-cups.general@news.easysw.com> Yes, the printer has a web interface, but there's nothing there that I can see to change what I get in this case. I'm actually looking for a non-printer-specific solution, since I also print similar documents at home on a low-end printer. I had hoped that I could produce similar results (albeit more slowly and with reduced quality) on a $200 printer as a $10000 printer. I am looking for a level of abstraction in cups to do that sort of thing. What is particularly galling, is that producing the results I am looking for -- printing a pdf scaled to fit the page size on any given printer in landscape orientation -- is a point-and-shoot operation on windows but, thusfar, unachievable with cups (at least the version I'm running) Soon I'll be able to try cups 1.3.2. Maybe then.... On 9/27/07, Helge Blischke wrote: > Gerald Britton wrote: > > I've run the same job with both the old and new pdftops and the old > > and new pstops. The results are the same no matter what. The only > > thing that has made a difference is using the postcript driver instead > > of hpijs. > > > > I put "Nearest size and scale" in the printer options. That means I > > do not need the option on the command line. It doesn't really work > > though. I still get a prompt for 12x18 stock. If I also put -o > > PageSize=letter, I get it printed landscape on letter without a prompt > > but no scaling. > > > > The other weird thing is that if I use -o PageSize=legal, I have to > > manually tell the printer to use the stock in the drawer (that it > > knows!) has legal-size paper. > > > > Bottom line: Scaling to fit doesn't work with this release of cups, > > even with the alternate filters. > > > > On 9/27/07, Helge Blischke wrote: > > > >>Gerald Britton wrote: > >> > >>>On a hunch I defined a new printer for the 9040 and chose the > >>>Postscript Driver. Big change! At last I get it printing landscape! > >>>I used the command: > >>> > >>>lp -o HPOption_PaperPolicy=NearestSizeAdjust -d psprinter mypdfstuff.pdf > >>> > >>>and it prints landscape. The only thing it didn't do is scale it to > >>>fit the page. > >>> > >>>So, I know that the hpijs driver doesn't work as well with CUPS as the > >>>postscript driver. Not sure if that is a driver problem or a CUPS > >>>problem. > >>> > >>>The only thing left is to get the scaling to work. Seems I'm stuck at > >>>this point. > >>> > >>>On 9/26/07, Helge Blischke wrote: > >>> > >>> > >>>>Gerald Britton wrote: > >>>> > >>>> > >>>>>The good news is that your attachment made it through and didn't > >>>>>crash. The bad news is that the basic situation is really unchanged: > >>>>> > >>>>>- I tried many permutations of orientation, pdf-paper (including > >>>>>match) and fitplot. All results are the same, the middle of the pdf > >>>>>is printed about 1/2 scale at the top of the printable area - portrait > >>>>>only. I can't get landscape to work to save my life! > >>>>> > >>>>>- Now, the printer always requests a manual page feed of 12x18 (the > >>>>>original size). With the old pstops filter then new page size was > >>>>>passed through and I got no prompt at the printer > >>>>> > >>>>>- the new pstops runs a lot longer (2-3 times) than the old one. > >>>>> > >>>>>On 9/26/07, Helge Blischke wrote: > >>>>> > >>>>> > >>>>> > >>>>>>Gerald Britton wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>>OK -- Where can I find it? If it is a "c" program, what do I need to > >>>>>>>compile it? > >>>>>>> > >>>>>> > >>>>>>[...] > >>>>>> > >>>>>> > >>>>>> > >>>>>>>>But, instead of upgrading the total system, perhaps try out the > >>>>>>>>alternate pstops filter (it is that one we use with great success). > >>>>>>>> > >>>>>>>>Helge > >>>>>>>>-- > >>>>>>>>Helge Blischke > >>>>>>>>Softwareentwicklung > >>>>>>>> > >>>>>>>>H.Blischke at acm.org > >>>>>>>>_______________________________________________ > >>>>>>>>cups mailing list > >>>>>>>>cups at easysw.com > >>>>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>I try to append the precompiled Linux version here. > >>>>>>If that does not work, send me an e-mail off the list > >>>>>>for me to reply to your propoer address. > >>>>>> > >>>>>>For information and documentation, you should get the > >>>>>>pstops.txt from http://www.srz.de/Members/bla/cups/filter/1.1.18 > >>>>>>(see also the links on the CUPS web site). > >>>>>> > >>>>>>Do not forget to save the original pstops filter for safety reasons. > >>>>>> > >>>>>>Helge > >>>>>> > >>>>>> > >>>>>>-- > >>>>>>Helge Blischke > >>>>>>Softwareentwicklung > >>>>>> > >>>>>>H.Blischke at acm.org > >>>>>> > >>>>>> > >>>>>>_______________________________________________ > >>>>>>cups mailing list > >>>>>>cups at easysw.com > >>>>>>http://lists.easysw.com/mailman/listinfo/cups > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>From your log file I learn that you use the hpijs driver for the printer > >>>>in question. But the printer is also a native PostScript printer, according to the > >>>>PPD recommended: > >>>>http://openprinting.org/foomatic-db/db/source/PPD/HP/HP_LaserJet_9040_9050_MFP.ppd > >>>> > >>>>And, as the PPD says it is a level 3 printer, you should add > >>>>-o HPOption_PaperPolicy=NearestSizeAdjust > >>>>to the job options. I suspect the default configuration is set > >>>>to PromptUser, as you say the printer asks for the 12x18 media size. > >>>> > >>>>The alternate psrops filter still ignores the fitplot option, as this > >>>>is a standard feature for (nearly) all level 2 and level 3 PostScript > >>>>printers. If that works, you should add this option to the > >>>>default options for this printer. > >>>> > >>> > >>>>from the PPD: > >>> > >>>>*HPOption_PaperPolicy NearestSizeAdjust/Nearest Size and Scale: " > >>>> <> >> setpagedevice" > >>>>*End > >>>> > >>>>Helge > >>>> > >>>>-- > >>>>Helge Blischke > >>>>Softwareentwicklung > >>>> > >>>>H.Blischke at acm.org > >>>>_______________________________________________ > >>>>cups mailing list > >>>>cups at easysw.com > >>>>http://lists.easysw.com/mailman/listinfo/cups > >>>> > >>> > >>> > >>What pstops filter did you use now? Perhaps it is worth while > >>to use the "nearestsizeadjust" option as a default for > >>this printer (most conveniently selectable using the > >>web interface). > >>(That's the way it works at our site). > >> > >>Helge > >> > >> > >>-- > >>Helge Blischke > >>Softwareentwicklung > >> > >>H.Blischke at acm.org > >>_______________________________________________ > >>cups mailing list > >>cups at easysw.com > >>http://lists.easysw.com/mailman/listinfo/cups > >> > > > > > > A last straw to grasp at: the printer itself should > provide some configuration interfaces (web, telnet, > menu keys; the first one preferred). It is possible > that you need to mdoify something there. > > Helge > > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 27 08:09:26 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 08:09:26 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30698-cups.general@news.easysw.com> H.Blischke at srz-berlin.com H.Blischke at acm.orgGerald Britton wrote: > Yes, the printer has a web interface, but there's nothing there that I > can see to change what I get in this case. > > I'm actually looking for a non-printer-specific solution, since I also > print similar documents at home on a low-end printer. > > I had hoped that I could produce similar results (albeit more slowly > and with reduced quality) on a $200 printer as a $10000 printer. I am > looking for a level of abstraction in cups to do that sort of thing. > > What is particularly galling, is that producing the results I am > looking for -- printing a pdf scaled to fit the page size on any given > printer in landscape orientation -- is a point-and-shoot operation on > windows but, thusfar, unachievable with cups (at least the version I'm > running) > > Soon I'll be able to try cups 1.3.2. Maybe then.... > > On 9/27/07, Helge Blischke wrote: > As a last try, could you run the pdftops filter and the pstops filter "by hand" from the command line and post the respective output? I'd badly like to know what the reason is that it does not work at your site. Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Thu Sep 27 08:46:59 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 08:46:59 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30698-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> Message-ID: <30699-cups.general@news.easysw.com> OK -- I'll need a bit of help. I tried: $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf (pdftops.new is the alternate pdftops that you recommended) and got the message: ERROR: wrong number of arguments How should I properly call pdftops and pstops? On 9/27/07, Helge Blischke wrote: > H.Blischke at srz-berlin.com > H.Blischke at acm.orgGerald Britton wrote: > > Yes, the printer has a web interface, but there's nothing there that I > > can see to change what I get in this case. > > > > I'm actually looking for a non-printer-specific solution, since I also > > print similar documents at home on a low-end printer. > > > > I had hoped that I could produce similar results (albeit more slowly > > and with reduced quality) on a $200 printer as a $10000 printer. I am > > looking for a level of abstraction in cups to do that sort of thing. > > > > What is particularly galling, is that producing the results I am > > looking for -- printing a pdf scaled to fit the page size on any given > > printer in landscape orientation -- is a point-and-shoot operation on > > windows but, thusfar, unachievable with cups (at least the version I'm > > running) > > > > Soon I'll be able to try cups 1.3.2. Maybe then.... > > > > On 9/27/07, Helge Blischke wrote: > > > > As a last try, could you run the pdftops filter and the pstops filter > "by hand" from the command line and post the respective output? > > I'd badly like to know what the reason is that it does not work > at your site. > > Helge > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From h.blischke at srz.de Thu Sep 27 10:57:45 2007 From: h.blischke at srz.de (Helge Blischke) Date: Thu, 27 Sep 2007 10:57:45 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30699-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> Message-ID: <30700-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- I'll need a bit of help. I tried: > > $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > (pdftops.new is the alternate pdftops that you recommended) and got the message: > > > ERROR: wrong number of arguments > > How should I properly call pdftops and pstops? > > On 9/27/07, Helge Blischke wrote: > >>H.Blischke at srz-berlin.com >>H.Blischke at acm.orgGerald Britton wrote: >> >>>Yes, the printer has a web interface, but there's nothing there that I >>>can see to change what I get in this case. >>> >>>I'm actually looking for a non-printer-specific solution, since I also >>>print similar documents at home on a low-end printer. >>> >>>I had hoped that I could produce similar results (albeit more slowly >>>and with reduced quality) on a $200 printer as a $10000 printer. I am >>>looking for a level of abstraction in cups to do that sort of thing. >>> >>>What is particularly galling, is that producing the results I am >>>looking for -- printing a pdf scaled to fit the page size on any given >>>printer in landscape orientation -- is a point-and-shoot operation on >>>windows but, thusfar, unachievable with cups (at least the version I'm >>>running) >>> >>>Soon I'll be able to try cups 1.3.2. Maybe then.... >>> >>>On 9/27/07, Helge Blischke wrote: >>> >> >>As a last try, could you run the pdftops filter and the pstops filter >>"by hand" from the command line and post the respective output? >> >>I'd badly like to know what the reason is that it does not work >>at your site. >> >>Helge >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > OK, the CVUPS_SERVERROOT variable shoule be exported (export ...). And the general calling conventions for CUPS filters are execname jobid username title ncopies options [filename] where execname is the name of the filter to use jobid the job-ID (for these test an arbitrary integer, I usualle take 4711) usename tne name of the user submitting the job (arbitrary in this case) ncopies number of copies, shoule be 1 in this test case options a string of space separated job options (the "-o ..." stuff), use an empty double quoted string here ("") filename the path of the file to process or, if not supplied, the filter will read from standard imput. Output is always to standard output. Perhaps you should additionaly set TMPDIR=/var/tmp; export TMPDIR . Example: /usr/lib/cups/filter/pdftops 4711 goofy test 1 "" input_file > output_of_pdftops The output of pdftops is then fed into the pstops filter analogously. Good luck! Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From adam at searhc.org Thu Sep 27 11:33:53 2007 From: adam at searhc.org (adam at searhc.org) Date: Thu, 27 Sep 2007 11:33:53 -0700 Subject: printcap Message-ID: <30701-cups.general@news.easysw.com> I'm working on importing a large amount of printers from a printcap file. How can you set the queue name in CUPS? rp - Remote printer queue name. The remote machine will have its own printcap file with possibly several printers defined. This specifies which. printcap excerpt printername| HPLJ4+ PS:\ :lp=:rm=printername:rp=raw:\ :mx#0:sd=/sd5g/spool/printername: printername | Dymo LabelWriter SE300:\ :lp=:rm=printername:rp=pr3:\ :mx#0:sd=/sd5g/spool/printername: printername |HPLJ4600DN PS Text Mode:\ :lp=:rm=printername:rp=text:\ :mx#0:sd=/sd5g/spool/printername: printername|Optra RN+ PS:\ :lp=:rm=printername:rp=printername:\ :mx#0:sd=/sd5g/spool/printername: From k1pfeifle at gmx.net Thu Sep 27 12:34:01 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:34:01 -0700 Subject: how to disable any password In-Reply-To: <30695-cups.general@news.easysw.com> References: <30695-cups.general@news.easysw.com> Message-ID: <30702-cups.general@news.easysw.com> Paolo Roascio wrote: > hello, first of all sorry for my bad english... > > I have an issue with cups management: each time i do an > administrative task on my printer via web interface, cups > require a password. > > I know that i have to set it by lppasswd and then i can use > it, but, at least for stopping or starting my printer, > > > > I DON'T WANT TO USE ANY PASSWORD! > > > > Well, security issues aren't the case, i'm the only user of > the PC and normally it isn't connected to internet/whatever. > > I already edited my /etc/cupsd.conf, now all authtype istances > are setted to none and the access is restricted only to > localhost, but despite this, cups WANT ever the password. > > How can i disable the use of any password in cups (i want that > all, but really all can perform every task with my cups, no > matter security issues) > > Thanks in advice > > Paolo Since you do not name the distro nor the CUPS version, and since you did edit your cupsd.conf file already, we do not know the actual settings used by your print system and we can not advice you (yet). Please post the content of your cupsd.conf (but sans the comments, please!) -- run this command to get it: grep -Ev "^$|^#" /etc/cups/cupsd.conf -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 12:42:40 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:42:40 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30703-cups.general@news.easysw.com> Gerald Britton wrote: > On 9/27/07, Helge Blischke wrote: >> Gerald Britton wrote: >>> I've run the same job with both the old and new pdftops and the old >>> and new pstops. The results are the same no matter what. The only >>> thing that has made a difference is using the postcript driver instead >>> of hpijs. >>> >>> I put "Nearest size and scale" in the printer options. That means I >>> do not need the option on the command line. It doesn't really work >>> though. I still get a prompt for 12x18 stock. If I also put -o >>> PageSize=letter, I get it printed landscape on letter without a prompt >>> but no scaling. >>> >>> The other weird thing is that if I use -o PageSize=legal, I have to >>> manually tell the printer to use the stock in the drawer (that it >>> knows!) has legal-size paper. >>> >>> Bottom line: Scaling to fit doesn't work with this release of cups, >>> even with the alternate filters. ${WORKSFORME}.... [*1] Anyway, I wasn't able to follow your conversation after my own comment, and it seems Helge has already put in a big effort to solve the problem. But please tell me one thing before I try to go down the wrong brain loop: is it the wrapper-script based pdftops filter you are using (because that's what your distro gave you instead of the original), or is it the binary one that ships with CUPS originally? -------- [*1] with the original pdftops binary as compiled from CUPS sources (which are derived from xpdf). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 12:42:52 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 12:42:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30697-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30682-cups.general@news.easysw.com> <30683-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> Message-ID: <30704-cups.general@news.easysw.com> Gerald Britton wrote: > On 9/27/07, Helge Blischke wrote: >> Gerald Britton wrote: >>> I've run the same job with both the old and new pdftops and the old >>> and new pstops. The results are the same no matter what. The only >>> thing that has made a difference is using the postcript driver instead >>> of hpijs. >>> >>> I put "Nearest size and scale" in the printer options. That means I >>> do not need the option on the command line. It doesn't really work >>> though. I still get a prompt for 12x18 stock. If I also put -o >>> PageSize=letter, I get it printed landscape on letter without a prompt >>> but no scaling. >>> >>> The other weird thing is that if I use -o PageSize=legal, I have to >>> manually tell the printer to use the stock in the drawer (that it >>> knows!) has legal-size paper. >>> >>> Bottom line: Scaling to fit doesn't work with this release of cups, >>> even with the alternate filters. ${WORKSFORME}.... [*1] Anyway, I wasn't able to follow your conversation after my own comment, and it seems Helge has already put in a big effort to solve the problem. But please tell me one thing before I try to go down the wrong brain loop: is it the wrapper-script based pdftops filter you are using (because that's what your distro gave you instead of the original), or is it the binary one that ships with CUPS originally? -------- [*1] with the original pdftops binary as compiled from CUPS sources (which are derived from xpdf). -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 12:45:39 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 12:45:39 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <46FC0706.7050408@gmx.net> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> Message-ID: <30705-cups.general@news.easysw.com> I've tried both the old pdftops (that came with my cups distro) and the new one that Helge pointed me to. Both are perl scripts as it turns out. Helge has tried really hard and has earned my respect, that's for sure! Just wish this were easier!! On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > > On 9/27/07, Helge Blischke wrote: > >> Gerald Britton wrote: > >>> I've run the same job with both the old and new pdftops and the old > >>> and new pstops. The results are the same no matter what. The only > >>> thing that has made a difference is using the postcript driver instead > >>> of hpijs. > >>> > >>> I put "Nearest size and scale" in the printer options. That means I > >>> do not need the option on the command line. It doesn't really work > >>> though. I still get a prompt for 12x18 stock. If I also put -o > >>> PageSize=letter, I get it printed landscape on letter without a prompt > >>> but no scaling. > >>> > >>> The other weird thing is that if I use -o PageSize=legal, I have to > >>> manually tell the printer to use the stock in the drawer (that it > >>> knows!) has legal-size paper. > >>> > >>> Bottom line: Scaling to fit doesn't work with this release of cups, > >>> even with the alternate filters. > > > ${WORKSFORME}.... [*1] > > Anyway, I wasn't able to follow your conversation after my own comment, > and it seems Helge has already put in a big effort to solve the problem. > > But please tell me one thing before I try to go down the wrong brain > loop: is it the wrapper-script based pdftops filter you are using (because > that's what your distro gave you instead of the original), or is it the > binary one that ships with CUPS originally? > > -------- > [*1] with the original pdftops binary as compiled from CUPS sources > (which are derived from xpdf). > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From gerald.britton at gmail.com Thu Sep 27 12:49:04 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 12:49:04 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> Message-ID: <30706-cups.general@news.easysw.com> Oh, perl scripts are in the cups filters direcroty. The binary on my system says: $ /usr/bin/pdftops -v pdftops version 3.00 Copyright 1996-2004 Glyph & Cog, LLC On 9/27/07, Gerald Britton wrote: > I've tried both the old pdftops (that came with my cups distro) and > the new one that Helge pointed me to. Both are perl scripts as it > turns out. > > Helge has tried really hard and has earned my respect, that's for > sure! Just wish this were easier!! > > On 9/27/07, Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > > > On 9/27/07, Helge Blischke wrote: > > >> Gerald Britton wrote: > > >>> I've run the same job with both the old and new pdftops and the old > > >>> and new pstops. The results are the same no matter what. The only > > >>> thing that has made a difference is using the postcript driver instead > > >>> of hpijs. > > >>> > > >>> I put "Nearest size and scale" in the printer options. That means I > > >>> do not need the option on the command line. It doesn't really work > > >>> though. I still get a prompt for 12x18 stock. If I also put -o > > >>> PageSize=letter, I get it printed landscape on letter without a prompt > > >>> but no scaling. > > >>> > > >>> The other weird thing is that if I use -o PageSize=legal, I have to > > >>> manually tell the printer to use the stock in the drawer (that it > > >>> knows!) has legal-size paper. > > >>> > > >>> Bottom line: Scaling to fit doesn't work with this release of cups, > > >>> even with the alternate filters. > > > > > > ${WORKSFORME}.... [*1] > > > > Anyway, I wasn't able to follow your conversation after my own comment, > > and it seems Helge has already put in a big effort to solve the problem. > > > > But please tell me one thing before I try to go down the wrong brain > > loop: is it the wrapper-script based pdftops filter you are using (because > > that's what your distro gave you instead of the original), or is it the > > binary one that ships with CUPS originally? > > > > -------- > > [*1] with the original pdftops binary as compiled from CUPS sources > > (which are derived from xpdf). > > > > -- > > Kurt Pfeifle > > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > > A RICOH Company ........................... D-70327 Stuttgart/Germany > > > > _______________________________________________ > > cups mailing list > > cups at easysw.com > > http://lists.easysw.com/mailman/listinfo/cups > > > From k1pfeifle at gmx.net Thu Sep 27 13:12:08 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:12:08 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30699-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> Message-ID: <30707-cups.general@news.easysw.com> Gerald Britton wrote: > OK -- I'll need a bit of help. I tried: > > $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf Unless the '$' above is coming from your prompt, this is the wrong way to set the environment variable on the commandline.... And the command itself - you should call it like adviced by this output (occurs when running the filter without any arguments): kurt at lx50:~> /usr/lib/cups/filter/pdftops Usage: pdftops job user title copies options [filename] This translates to (for example): /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf And with some environment variables set (no '$' please!): CUPS_SERVERROOT=/etc/cups/ \ PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ | tee /tmp/filtered_output-to_be_sent_to-helge.ps However, since you want to see results for "fitplot" and some specific media size (I don't remember which), you'll want to set these options on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT set in your use case -- but PPD for sure!): PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ | tee /tmp/filtered_output-to_be_sent_to-helge.ps For a first quick look, you can also pipe it into a PostScript viewer: PPD=/etc/cups/ppd/yourprintername.ppd \ /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ | gv - BTW, here is the list of *all* env params proviced cupsd for all running filters and backends to see and pick up if they need to: CUPS_CACHEDIR CUPS_DATADIR CUPS_DOCROOT CUPS_FONTPATH CUPS_REQUESTROOT CUPS_SERVERBIN CUPS_SERVERROOT CUPS_STATEDIR LD_LIBRARY_PATH LD_PRELOAD PATH SERVER_ADMIN SOFTWARE TMPDIR USER CUPS_SERVER CUPS_ENCRYPTION IPP_PORT CHARSET LANG PPD RIP_MAX_CACHE CONTENT_TYPE DEVICE_URI PRINTER FINAL_CONTENT_TYPE -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:29:52 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:29:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30707-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> Message-ID: <30708-cups.general@news.easysw.com> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and pasted my results. Helge helped me with the other operands as well. I ran the commands and sent the output directly (not to the list, since it is too big). I tried gv as you suggested. It shrank the pdf to fit the page but didn't obey the printer directive to fit to the nearest size and scale. From k1pfeifle at gmx.net Thu Sep 27 13:37:01 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:37:01 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30706-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <5d1a32000709271245s10fc9585p4237b065f37c987b@mail.gmail.com> <30706-cups.general@news.easysw.com> Message-ID: <30709-cups.general@news.easysw.com> Gerald Britton wrote: > Oh, perl scripts are in the cups filters direcroty. The binary on my > system says: > > $ /usr/bin/pdftops -v > pdftops version 3.00 > Copyright 1996-2004 Glyph & Cog, LLC That doesn't help. *This* binary is provided by the xpdf package (or by the xpdf-utils packages). Since it doesn't follow the calling con- ventions expected by CUPS for all its filters: cupsfiltername job user title copies options [filename] there is the need for the Perl script which is only a wrapper to run the /usr/bin/pdftops so that CUPS calling conventions are followed (and possibly job options are applied as needed.) *However*, when *I* mentioned the pdftops binary, I meant the one that would "normally" be built and installed as /usr/lib/cups/filter/pdftops (as a binary), if you compiled CUPS from the sources. But since you are not using a CUPS-provided filter, but a third-party one that is used as a drop-in replacement for the original CUPS one, this bug is not (neces- sarily) a CUPS bug... The CUPS pdftops filter is *also* derived from xpdf (but has a few fixes and probably modifications). Some distros didn't like it because in the past there had appeared se- curity relevant bugs in XPDF and in all XPDF-derived code (which not only did bite CUPS, but also kpdf/KDE, evince/GNOME, poppler....). And whenever that was the case, they needed to fix the hole at two places (in xpdf-utils *and* in CUPS) and role out at least 2 new patched packages. That's why they thought it to be a good idea to kick out CUPS' pdftops and replace it with the Perl wrapper. At least it would spare them part of the work if there appeared any new security hole in XPDF. The price is that now CUPS supporters (like the volunteers on this list) do have at least double the work with all pdftops questions, CUPS appears in a "buggy light", and users like you have an endless, tiring struggle to get your standard print jobs done correctly if you print PDF... :-| So if you want to test the *original* CUPS pdftops binary, you'll have to find someone who can mail it to you, or you must compile CUPS on your own. Or maybe you can send me a link to your PDF, and I can test it on my system from the commandline (I've openSUSE-10,2 currently with the original CUPS-provided pdftops, as well as a self-compiled CUPS-1.4svn version). > On 9/27/07, Gerald Britton wrote: >> I've tried both the old pdftops (that came with my cups distro) and >> the new one that Helge pointed me to. Both are perl scripts as it >> turns out. >> >> Helge has tried really hard and has earned my respect, that's for >> sure! Just wish this were easier!! >> >> On 9/27/07, Kurt Pfeifle wrote: >>> Gerald Britton wrote: >>> >>>> On 9/27/07, Helge Blischke wrote: >>>>> Gerald Britton wrote: >>>>>> I've run the same job with both the old and new pdftops and the old >>>>>> and new pstops. The results are the same no matter what. The only >>>>>> thing that has made a difference is using the postcript driver instead >>>>>> of hpijs. >>>>>> >>>>>> I put "Nearest size and scale" in the printer options. That means I >>>>>> do not need the option on the command line. It doesn't really work >>>>>> though. I still get a prompt for 12x18 stock. If I also put -o >>>>>> PageSize=letter, I get it printed landscape on letter without a prompt >>>>>> but no scaling. >>>>>> >>>>>> The other weird thing is that if I use -o PageSize=legal, I have to >>>>>> manually tell the printer to use the stock in the drawer (that it >>>>>> knows!) has legal-size paper. >>>>>> >>>>>> Bottom line: Scaling to fit doesn't work with this release of cups, >>>>>> even with the alternate filters. >>> >>> ${WORKSFORME}.... [*1] >>> >>> Anyway, I wasn't able to follow your conversation after my own comment, >>> and it seems Helge has already put in a big effort to solve the problem. >>> >>> But please tell me one thing before I try to go down the wrong brain >>> loop: is it the wrapper-script based pdftops filter you are using (because >>> that's what your distro gave you instead of the original), or is it the >>> binary one that ships with CUPS originally? >>> >>> -------- >>> [*1] with the original pdftops binary as compiled from CUPS sources >>> (which are derived from xpdf). >>> -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:40:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:40:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> Message-ID: <30710-cups.general@news.easysw.com> After some more experimenting, I used the following command: lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf the "-o=landscape" actually makes it print portrait! So I removed that and ran: lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf This got me closer to my goal. The printout was landscape orientation (I know, doesn't make sense!) but the scaling was for portrait orientation and thus too small! On 9/27/07, Gerald Britton wrote: > Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > pasted my results. Helge helped me with the other operands as well. > I ran the commands and sent the output directly (not to the list, > since it is too big). > > I tried gv as you suggested. It shrank the pdf to fit the page but > didn't obey the printer directive to fit to the nearest size and > scale. > From gerald.britton at gmail.com Thu Sep 27 13:44:31 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:44:31 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> Message-ID: <30711-cups.general@news.easysw.com> here's the file I'm trying to print. I want to print it landscape, scaled down to fit my page size. If you can do it for A4 or A3, I should be able to do it for legal http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf On 9/27/07, Gerald Britton wrote: > After some more experimenting, I used the following command: > > lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > the "-o=landscape" actually makes it print portrait! So I removed that and ran: > > lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > This got me closer to my goal. The printout was landscape orientation > (I know, doesn't make sense!) but the scaling was for portrait > orientation and thus too small! > > On 9/27/07, Gerald Britton wrote: > > Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > > pasted my results. Helge helped me with the other operands as well. > > I ran the commands and sent the output directly (not to the list, > > since it is too big). > > > > I tried gv as you suggested. It shrank the pdf to fit the page but > > didn't obey the printer directive to fit to the nearest size and > > scale. > > > From k1pfeifle at gmx.net Thu Sep 27 13:54:36 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 13:54:36 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30707-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> Message-ID: <30712-cups.general@news.easysw.com> OK, so I now looked up the first two posts of your exchange after I could not attend any more to this topic, and found your link to the example PDF. I ran the filter manually like this (on *my* system, which uses the original CUPS-style pdftops): /usr/lib/cups/filter/pdftops \ "1" \ "" \ "1" \ "fitplot=true PageSize=Letter" \ e002379200.pdf \ | tee pdftopsfiltered-fitplotted-lettersized.ps I'll mail you the result in private mail. It looks perfect to me. I noticed that you wanted to apply "landscape" to your options. In gneral, this is not a good idea for PDF printing. It will just rotate the image by 90 degree, but it will not rotate the medium. Normally, "fitplot" does alread take care of fitting the image as good as you can get it. Adding "landscape" to the options will just destroy your likely intention of what you want to see on the printout. Kurt Pfeifle wrote: > Gerald Britton wrote: >> OK -- I'll need a bit of help. I tried: >> >> $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > > Unless the '$' above is coming from your prompt, this is the wrong way > to set the environment variable on the commandline.... > > And the command itself - you should call it like adviced by this output > (occurs when running the filter without any arguments): > > kurt at lx50:~> /usr/lib/cups/filter/pdftops > Usage: pdftops job user title copies options [filename] > > This translates to (for example): > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf > /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf > > And with some environment variables set (no '$' please!): > > CUPS_SERVERROOT=/etc/cups/ \ > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ > | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > However, since you want to see results for "fitplot" and some specific > media size (I don't remember which), you'll want to set these options > on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT > set in your use case -- but PPD for sure!): > > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ > | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > For a first quick look, you can also pipe it into a PostScript viewer: > > PPD=/etc/cups/ppd/yourprintername.ppd \ > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ > | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ > | gv - > > > > BTW, here is the list of *all* env params proviced cupsd for all running > filters and backends to see and pick up if they need to: > > CUPS_CACHEDIR > CUPS_DATADIR > CUPS_DOCROOT > CUPS_FONTPATH > CUPS_REQUESTROOT > CUPS_SERVERBIN > CUPS_SERVERROOT > CUPS_STATEDIR > LD_LIBRARY_PATH > LD_PRELOAD > PATH > SERVER_ADMIN > SOFTWARE > TMPDIR > USER > CUPS_SERVER > CUPS_ENCRYPTION > IPP_PORT > CHARSET > LANG > PPD > RIP_MAX_CACHE > CONTENT_TYPE > DEVICE_URI > PRINTER > FINAL_CONTENT_TYPE > > -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 13:59:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 13:59:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30712-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <30712-cups.general@news.easysw.com> Message-ID: <30713-cups.general@news.easysw.com> As you surmised, my ultimate goal for this pdf is to print it landscape and scaled to fill the page (landscape orientation) as best as possible. If I understand you correctly, there is currently no good way to do that via cups. Is that right? On 9/27/07, Kurt Pfeifle wrote: > OK, so I now looked up the first two posts of your exchange after I > could not attend any more to this topic, and found your link to the > example PDF. > > I ran the filter manually like this (on *my* system, which uses the > original CUPS-style pdftops): > > /usr/lib/cups/filter/pdftops \ > "1" \ > "" \ > "1" \ > "fitplot=true PageSize=Letter" \ > e002379200.pdf \ > | tee pdftopsfiltered-fitplotted-lettersized.ps > > I'll mail you the result in private mail. It looks perfect to me. > > I noticed that you wanted to apply "landscape" to your options. In > gneral, this is not a good idea for PDF printing. It will just rotate > the image by 90 degree, but it will not rotate the medium. Normally, > "fitplot" does alread take care of fitting the image as good as you > can get it. Adding "landscape" to the options will just destroy your > likely intention of what you want to see on the printout. > > > Kurt Pfeifle wrote: > > Gerald Britton wrote: > >> OK -- I'll need a bit of help. I tried: > >> > >> $CUPS_SERVERROOT='/etc/cups/' /usr/lib/cups/filter/pdftops.new my.pdf > > > > > > Unless the '$' above is coming from your prompt, this is the wrong way > > to set the environment variable on the commandline.... > > > > And the command itself - you should call it like adviced by this output > > (occurs when running the filter without any arguments): > > > > kurt at lx50:~> /usr/lib/cups/filter/pdftops > > Usage: pdftops job user title copies options [filename] > > > > This translates to (for example): > > > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "dummy" my.pdf > > /usr/lib/cups/filter/pdftops "1" "" "" "1" "" my.pdf > > > > And with some environment variables set (no '$' please!): > > > > CUPS_SERVERROOT=/etc/cups/ \ > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "911" "gerald" "testing pdf printing" "1" "dummy" /path/to.pdf \ > > | /usr/lib/cups/filter/pstops "911" "gerald" "testing pdf printing" "1" "dummy" \ > > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > > > However, since you want to see results for "fitplot" and some specific > > media size (I don't remember which), you'll want to set these options > > on the commandline in ${5} (and you likely don't need CUPS_SERVERROOT > > set in your use case -- but PPD for sure!): > > > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" my.pdf \ > > | /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true PageSize=Letter" \ > > | tee /tmp/filtered_output-to_be_sent_to-helge.ps > > > > For a first quick look, you can also pipe it into a PostScript viewer: > > > > PPD=/etc/cups/ppd/yourprintername.ppd \ > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" my.pdf \ > > | /usr/lib/cups/filter/pstops "1" "dummy" "dummy" "1" "fitplot=true PageSize=Letter" \ > > | gv - > > > > > > > > BTW, here is the list of *all* env params proviced cupsd for all running > > filters and backends to see and pick up if they need to: > > > > CUPS_CACHEDIR > > CUPS_DATADIR > > CUPS_DOCROOT > > CUPS_FONTPATH > > CUPS_REQUESTROOT > > CUPS_SERVERBIN > > CUPS_SERVERROOT > > CUPS_STATEDIR > > LD_LIBRARY_PATH > > LD_PRELOAD > > PATH > > SERVER_ADMIN > > SOFTWARE > > TMPDIR > > USER > > CUPS_SERVER > > CUPS_ENCRYPTION > > IPP_PORT > > CHARSET > > LANG > > PPD > > RIP_MAX_CACHE > > CONTENT_TYPE > > DEVICE_URI > > PRINTER > > FINAL_CONTENT_TYPE > > > > > > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Thu Sep 27 14:01:16 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:01:16 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30711-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> Message-ID: <30714-cups.general@news.easysw.com> Gerald Britton wrote: > here's the file I'm trying to print. I found it already in the meanwhile :-) And I mailed you *my* results, which look perfect for "fitplot to Letter". > I want to print it landscape, No, you don't want to. Honest. :-) In 99.99% of cases, it will do the wrong thing when applied to PDF file printing. I don't believe your case is amongst the 0.01% :-) > scaled down to fit my page size. If you can do it for A4 or A3, I > should be able to do it for legal OK, I'll repeat the test for legal, and let you know the result. > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > On 9/27/07, Gerald Britton wrote: >> After some more experimenting, I used the following command: >> >> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >> >> the "-o=landscape" actually makes it print portrait! So I removed that and ran: >> >> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >> >> This got me closer to my goal. The printout was landscape orientation >> (I know, doesn't make sense!) but the scaling was for portrait >> orientation and thus too small! >> >> On 9/27/07, Gerald Britton wrote: >>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>> pasted my results. Helge helped me with the other operands as well. >>> I ran the commands and sent the output directly (not to the list, >>> since it is too big). >>> >>> I tried gv as you suggested. It shrank the pdf to fit the page but >>> didn't obey the printer directive to fit to the nearest size and >>> scale. >>> > -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Thu Sep 27 14:08:21 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 14:08:21 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30714-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> Message-ID: <30715-cups.general@news.easysw.com> Thanks for working on this, Kurt. I've learned a lot in the process and that never hurts. I'm disappointed that I can't reach my ultimate goal, but I can do it easily with acrobat reader on windows (a couple of clicks and it's rotated and scaled perfectly). I just trying NOT to use windows for stuff like this. On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > here's the file I'm trying to print. > > > I found it already in the meanwhile :-) > > And I mailed you *my* results, which look perfect for "fitplot to > Letter". > > > > I want to print it landscape, > > > No, you don't want to. Honest. :-) > > In 99.99% of cases, it will do the wrong thing when applied to PDF > file printing. I don't believe your case is amongst the 0.01% :-) > > > > scaled down to fit my page size. If you can do it for A4 or A3, I > > should be able to do it for legal > > > OK, I'll repeat the test for legal, and let you know the result. > > > > http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > > > On 9/27/07, Gerald Britton wrote: > >> After some more experimenting, I used the following command: > >> > >> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >> > >> the "-o=landscape" actually makes it print portrait! So I removed that and ran: > >> > >> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >> > >> This got me closer to my goal. The printout was landscape orientation > >> (I know, doesn't make sense!) but the scaling was for portrait > >> orientation and thus too small! > >> > >> On 9/27/07, Gerald Britton wrote: > >>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>> pasted my results. Helge helped me with the other operands as well. > >>> I ran the commands and sent the output directly (not to the list, > >>> since it is too big). > >>> > >>> I tried gv as you suggested. It shrank the pdf to fit the page but > >>> didn't obey the printer directive to fit to the nearest size and > >>> scale. > >>> > > > > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Thu Sep 27 14:27:22 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:27:22 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30714-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> Message-ID: <30716-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: >> here's the file I'm trying to print. > > > I found it already in the meanwhile :-) > > And I mailed you *my* results, which look perfect for "fitplot to > Letter". > > >> I want to print it landscape, > > > No, you don't want to. Honest. :-) > > In 99.99% of cases, it will do the wrong thing when applied to PDF > file printing. I don't believe your case is amongst the 0.01% :-) > > >> scaled down to fit my page size. If you can do it for A4 or A3, I >> should be able to do it for legal > > > OK, I'll repeat the test for legal, and let you know the result. Legal size works as well here. (However, you *must* supply a PPD as an env variable that has this PageSize defined!). I ran these command (the PPD I used is a random one on my system that happens to have a Legal media size defined): PPD=/etc/cups/ppd/2dir_lp.ppd \ /usr/lib/cups/filter/pdftops \ "1" \ "kurt" \ "kurt" \ "1" \ "fitplot=true PageSize=Legal" \ e002379200.pdf \ | tee pdftopsfiltered-fitplotted-legalsized.ps \ | /usr/bin/ps2pdf \ - \ pdftopsfiltered-fitplotted-legalsized.pdf which gave me two files, "pdftopsfiltered-fitplotted-legalsized.p{s,df}". I got perfectly looking output for each of these; and I'll send them to you in private mail, so you can proof what you need to proof to your distro CUPS packagers/wiseacres. Here are some additional infos about your original PDF file and the resulting PDF created by my manual run of above command: Your original PDF: ------------------ kurt at lx50:~> pdfinfo e002379200.pdf Creator: Adobe Acrobat 6.0 Producer: Adobe Acrobat 6.0 Image Conversion Plug-in CreationDate: Wed 28 Apr 2004 01:46:26 PM CEST ModDate: Wed 28 Apr 2004 01:46:26 PM CEST Tagged: no Pages: 1 Encrypted: no Page size: 2065.44 x 716.64 pts File size: 366339 bytes Optimized: yes PDF version: 1.5 PDF after CUPS' pdftops and Ghostscript 8.60's ps2pdf: ------------------------------------------------------ kurt at lx50:~> pdfinfo pdftopsfiltered-fitplotted-legalsized.pdf Creator: Adobe Acrobat 6.0 Producer: GPL Ghostscript 8.60 CreationDate: Thu 27 Sep 2007 09:06:05 PM CEST ModDate: Thu 27 Sep 2007 09:06:05 PM CEST Tagged: no Pages: 1 Encrypted: no Page size: 612 x 1008 pts File size: 408459 bytes Optimized: no PDF version: 1.4 That's all I can do for you, for now. Hope this helps. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:32:18 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:32:18 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30713-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <30712-cups.general@news.easysw.com> <30713-cups.general@news.easysw.com> Message-ID: <30717-cups.general@news.easysw.com> Gerald Britton wrote: > As you surmised, my ultimate goal for this pdf is to print it > landscape and scaled to fill the page (landscape orientation) Forget "landscape". If you want to fill the given page size as best as can, it is enough to just say "fitplot". > as best > as possible. If I understand you correctly, there is currently no > good way to do that via cups. You understood wrongly. "CUPS, the original" can do that perfectly. And does indeed do so for me. (Yes, in the past CUPS did occasionally show bugs with PDF printing too. But not with your current example file, with *my* current CUPS.) "CUPS, the patched and changed, and 'enhanced' version as modified by the $buntu/$ebian packagers" does not seem to do it for you. I'm sorry for that, but I don't see any other advice for you than to file a bug report with *them*. > Is that right? Draw your own conclusions now. :-) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:33:52 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:33:52 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30715-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> Message-ID: <30718-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for working on this, Kurt. I've learned a lot in the process > and that never hurts. I'm disappointed that I can't reach my ultimate > goal, If I can, you can too. And I can indeed. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 14:41:34 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 14:41:34 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30715-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> Message-ID: <30719-cups.general@news.easysw.com> Gerald Britton wrote: > Thanks for working on this, Kurt. I've learned a lot in the process > and that never hurts. I'm disappointed that I can't reach my ultimate > goal, but I can do it easily with acrobat reader on windows (a couple > of clicks and it's rotated and scaled perfectly). I just trying NOT > to use windows for stuff like this. Hey, I now notice you didn't even pay attention and respond to my comments about specifying "landscape" as an option. Or did you? And did you receive the files I mailed to you?!? And did you run the commandline exactly as I showed you, with the PPD as an env variable? (and you verified the PPD has the full de- finitions for "Legal"? and the PPD passes the "cupstestppd" test? It may after all be the case that even your distro's wrapper script works correctly if used in the right way...) > On 9/27/07, Kurt Pfeifle wrote: >> Gerald Britton wrote: >>> here's the file I'm trying to print. >> >> I found it already in the meanwhile :-) >> >> And I mailed you *my* results, which look perfect for "fitplot to >> Letter". >> >> >>> I want to print it landscape, >> >> No, you don't want to. Honest. :-) >> >> In 99.99% of cases, it will do the wrong thing when applied to PDF >> file printing. I don't believe your case is amongst the 0.01% :-) >> >> >>> scaled down to fit my page size. If you can do it for A4 or A3, I >>> should be able to do it for legal >> >> OK, I'll repeat the test for legal, and let you know the result. >> >> >>> http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>> >>> On 9/27/07, Gerald Britton wrote: >>>> After some more experimenting, I used the following command: >>>> >>>> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>> >>>> the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>> >>>> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>> >>>> This got me closer to my goal. The printout was landscape orientation >>>> (I know, doesn't make sense!) but the scaling was for portrait >>>> orientation and thus too small! >>>> >>>> On 9/27/07, Gerald Britton wrote: >>>>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>> pasted my results. Helge helped me with the other operands as well. >>>>> I ran the commands and sent the output directly (not to the list, >>>>> since it is too big). >>>>> >>>>> I tried gv as you suggested. It shrank the pdf to fit the page but >>>>> didn't obey the printer directive to fit to the nearest size and >>>>> scale. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From msweet at apple.com Thu Sep 27 15:05:13 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 27 Sep 2007 15:05:13 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30690-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> Message-ID: <30720-cups.general@news.easysw.com> Premjo wrote: > Hi, > Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. No, only drivers (which are run only when you send a print job) can communicate with devices. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From twaugh at redhat.com Thu Sep 27 15:10:22 2007 From: twaugh at redhat.com (Tim Waugh) Date: Thu, 27 Sep 2007 15:10:22 -0700 Subject: [cups.general] regarding cups In-Reply-To: <46FC290D.8020001@apple.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> Message-ID: <30721-cups.general@news.easysw.com> On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > Premjo wrote: > > Hi, > > Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. > > No, only drivers (which are run only when you send a print job) can > communicate with devices. It's the kind of thing I'd like to be able to do as well, particularly for checking ink levels. If the driver supports CUPS-COMMAND files, *and* STR #1307 were addressed, this would in fact be possible from the web interface. The results could be found from the marker-state attributes. 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 mike at easysw.com Thu Sep 27 15:29:19 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:19 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30722-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From mike at easysw.com Thu Sep 27 15:29:28 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:28 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30723-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From mike at easysw.com Thu Sep 27 15:29:49 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:29:49 -0700 Subject: [cups.general] regarding cups In-Reply-To: <30721-cups.general@news.easysw.com> References: <30690-cups.general@news.easysw.com> <46FC290D.8020001@apple.com> <30721-cups.general@news.easysw.com> Message-ID: <30724-cups.general@news.easysw.com> Tim Waugh wrote: > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: >> Premjo wrote: >>> Hi, >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. >> No, only drivers (which are run only when you send a print job) can >> communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. One of the things I mentioned at this year's printing summit is that we are planning on implementing so-called "persistent backends" which will allow for live monitoring. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From gerald.britton at gmail.com Thu Sep 27 15:44:37 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Thu, 27 Sep 2007 15:44:37 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30719-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> Message-ID: <30725-cups.general@news.easysw.com> Thanks Kurt. Stuff for me to try in the morning. I did the PPD var like you said but gv didn't look right. You're last few msgs caught me on the way home and cooking so I am just picking them up now. On 9/27/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > Thanks for working on this, Kurt. I've learned a lot in the process > > and that never hurts. I'm disappointed that I can't reach my ultimate > > goal, but I can do it easily with acrobat reader on windows (a couple > > of clicks and it's rotated and scaled perfectly). I just trying NOT > > to use windows for stuff like this. > > > Hey, I now notice you didn't even pay attention and respond to my > comments about specifying "landscape" as an option. > > Or did you? > > And did you receive the files I mailed to you?!? > > And did you run the commandline exactly as I showed you, with the > PPD as an env variable? (and you verified the PPD has the full de- > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > It may after all be the case that even your distro's wrapper script > works correctly if used in the right way...) > > > On 9/27/07, Kurt Pfeifle wrote: > >> Gerald Britton wrote: > >>> here's the file I'm trying to print. > >> > >> I found it already in the meanwhile :-) > >> > >> And I mailed you *my* results, which look perfect for "fitplot to > >> Letter". > >> > >> > >>> I want to print it landscape, > >> > >> No, you don't want to. Honest. :-) > >> > >> In 99.99% of cases, it will do the wrong thing when applied to PDF > >> file printing. I don't believe your case is amongst the 0.01% :-) > >> > >> > >>> scaled down to fit my page size. If you can do it for A4 or A3, I > >>> should be able to do it for legal > >> > >> OK, I'll repeat the test for legal, and let you know the result. > >> > >> > >>> http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>> > >>> On 9/27/07, Gerald Britton wrote: > >>>> After some more experimenting, I used the following command: > >>>> > >>>> lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>> > >>>> the "-o=landscape" actually makes it print portrait! So I removed that > and ran: > >>>> > >>>> lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>> > >>>> This got me closer to my goal. The printout was landscape orientation > >>>> (I know, doesn't make sense!) but the scaling was for portrait > >>>> orientation and thus too small! > >>>> > >>>> On 9/27/07, Gerald Britton wrote: > >>>>> Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>>>> pasted my results. Helge helped me with the other operands as well. > >>>>> I ran the commands and sent the output directly (not to the list, > >>>>> since it is too big). > >>>>> > >>>>> I tried gv as you suggested. It shrank the pdf to fit the page but > >>>>> didn't obey the printer directive to fit to the nearest size and > >>>>> scale. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From maelvon.hawk at laposte.net Thu Sep 27 16:17:59 2007 From: maelvon.hawk at laposte.net (Maelvon) Date: Thu, 27 Sep 2007 16:17:59 -0700 Subject: page_log history Message-ID: <30726-cups.general@news.easysw.com> Hello, I have cups, and it seems it keep in var/log/cups/page_log etc only one month of printed jobs ! I've think it keep more than one month in the logs. I've installed it in june, and have only the september jobs in the logs... How can I configure the log history length ? --------------------- # ls -s -h total 4,9M 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 24K access_log.2 1,2M error_log 16K page_log 36K access_log.3 900K error_log.1 12K page_log.1 80K access_log.4 656K error_log.2 12K page_log.2 --------------------- Thanks, Maelvon From mike at easysw.com Thu Sep 27 17:29:01 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 17:29:01 -0700 Subject: page_log history In-Reply-To: <30726-cups.general@news.easysw.com> References: <30726-cups.general@news.easysw.com> Message-ID: <30727-cups.general@news.easysw.com> Maelvon wrote: > Hello, > > I have cups, and it seems it keep in var/log/cups/page_log etc only one > month of printed jobs ! I've think it keep more than one month in the > logs. I've installed it in june, and have only the september jobs in the > logs... How can I configure the log history length ? > > --------------------- > # ls -s -h > total 4,9M > 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 > 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 > 24K access_log.2 1,2M error_log 16K page_log > 36K access_log.3 900K error_log.1 12K page_log.1 > 80K access_log.4 656K error_log.2 12K page_log.2 > --------------------- Your Linux distro uses logrotated to rotate the CUPS logs. You'll need to disable that to keep the logs around. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From maelvon.hawk at laposte.net Fri Sep 28 01:01:40 2007 From: maelvon.hawk at laposte.net (Maelvon) Date: Fri, 28 Sep 2007 01:01:40 -0700 Subject: page_log history In-Reply-To: <30727-cups.general@news.easysw.com> References: <30726-cups.general@news.easysw.com> <30727-cups.general@news.easysw.com> Message-ID: <30728-cups.general@news.easysw.com> Michael Sweet a écrit : > Maelvon wrote: >> Hello, >> >> I have cups, and it seems it keep in var/log/cups/page_log etc only >> one month of printed jobs ! I've think it keep more than one month in >> the logs. I've installed it in june, and have only the september jobs >> in the logs... How can I configure the log history length ? >> >> --------------------- >> # ls -s -h >> total 4,9M >> 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 >> 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 >> 24K access_log.2 1,2M error_log 16K page_log >> 36K access_log.3 900K error_log.1 12K page_log.1 >> 80K access_log.4 656K error_log.2 12K page_log.2 >> --------------------- > > Your Linux distro uses logrotated to rotate the CUPS logs. You'll > need to disable that to keep the logs around. > So I've lost all the print history since june... Arrgg I disable the logrotate in my distro conf (SME_server) or in the cups.conf ? Thanks for the tips... Maelvon From olaf.meeuwissen at avasys.jp Fri Sep 28 01:26:47 2007 From: olaf.meeuwissen at avasys.jp (Olaf Meeuwissen) Date: Fri, 28 Sep 2007 01:26:47 -0700 Subject: [cups.general] page_log history In-Reply-To: <30728-cups.general@news.easysw.com> (maelvon.hawk@laposte.net's message of "Fri, 28 Sep 2007 01:01:40 -0700") References: <30726-cups.general@news.easysw.com> <30727-cups.general@news.easysw.com> <30728-cups.general@news.easysw.com> Message-ID: <30729-cups.general@news.easysw.com> Maelvon writes: > Michael Sweet a écrit : >> Maelvon wrote: >>> Hello, >>> >>> I have cups, and it seems it keep in var/log/cups/page_log etc only >>> one month of printed jobs ! I've think it keep more than one month in >>> the logs. I've installed it in june, and have only the september jobs >>> in the logs... How can I configure the log history length ? >>> >>> --------------------- >>> # ls -s -h >>> total 4,9M >>> 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3 >>> 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4 >>> 24K access_log.2 1,2M error_log 16K page_log >>> 36K access_log.3 900K error_log.1 12K page_log.1 >>> 80K access_log.4 656K error_log.2 12K page_log.2 >>> --------------------- >> >> Your Linux distro uses logrotated to rotate the CUPS logs. You'll >> need to disable that to keep the logs around. >> > > So I've lost all the print history since june... Arrgg > I disable the logrotate in my distro conf (SME_server) or in the cups.conf ? Have you checked the page_log.* files? You should disable the logrotate. The configuration is most likely in /etc/logrotate.d/cups. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From premjo.elias at gmail.com Fri Sep 28 01:28:23 2007 From: premjo.elias at gmail.com (Premjo) Date: Fri, 28 Sep 2007 01:28:23 -0700 Subject: regarding cups Message-ID: <30730-cups.general@news.easysw.com> Is it possible to create my own CUPS command file which works with my printer?, i have my printer hex codes. is it possible to execute this before the print job (means ink levels, ink types, etc...)?. if possible how do i can initiate this command exceution without th print job? thank you, premjo > > --=-7pC0KCDggPx7aOcs5G/t > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > > Premjo wrote: > > > Hi, > > > Is it possible to send instant commands to the printer and receive t= > he reply by using the cupsBackChannelRead() and the results can be shown on= > the web (http://localhost:631) or on the right click property of the print= > ers ?, please help me on this. > >=20 > > No, only drivers (which are run only when you send a print job) can > > communicate with devices. > > It's the kind of thing I'd like to be able to do as well, particularly > for checking ink levels. > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > addressed, this would in fact be possible from the web interface. The > results could be found from the marker-state attributes. > > Tim. > */ > > > --=-7pC0KCDggPx7aOcs5G/t > Content-Type: application/pgp-signature; name=signature.asc > Content-Description: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQBG/Co/aSWRox63mSMRAoC+AKCMTi0lP7t3cjLb7LqS7xceXpM4+QCfayko > jU6XfBbt+fyoADWZZvDXR3c= > =QU5O > -----END PGP SIGNATURE----- > > --=-7pC0KCDggPx7aOcs5G/t-- > From premjo.elias at gmail.com Fri Sep 28 01:33:18 2007 From: premjo.elias at gmail.com (Premjo) Date: Fri, 28 Sep 2007 01:33:18 -0700 Subject: regarding cups Message-ID: <30731-cups.general@news.easysw.com> The comming version 1.4 will support this? premjo > Tim Waugh wrote: > > On Thu, 2007-09-27 at 17:05 -0500, Michael R Sweet wrote: > >> Premjo wrote: > >>> Hi, > >>> Is it possible to send instant commands to the printer and receive the reply by using the cupsBackChannelRead() and the results can be shown on the web (http://localhost:631) or on the right click property of the printers ?, please help me on this. > >> No, only drivers (which are run only when you send a print job) can > >> communicate with devices. > > > > It's the kind of thing I'd like to be able to do as well, particularly > > for checking ink levels. > > > > If the driver supports CUPS-COMMAND files, *and* STR #1307 were > > addressed, this would in fact be possible from the web interface. The > > results could be found from the marker-state attributes. > > One of the things I mentioned at this year's printing summit is that > we are planning on implementing so-called "persistent backends" which > will allow for live monitoring. > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products mike at easysw dot com > Internet Printing and Document Software http://www.easysw.com From h.blischke at srz.de Fri Sep 28 05:10:09 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 28 Sep 2007 05:10:09 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30719-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <30698-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> Message-ID: <30732-cups.general@news.easysw.com> Kurt Pfeifle wrote: > Gerald Britton wrote: > >>Thanks for working on this, Kurt. I've learned a lot in the process >>and that never hurts. I'm disappointed that I can't reach my ultimate >>goal, but I can do it easily with acrobat reader on windows (a couple >>of clicks and it's rotated and scaled perfectly). I just trying NOT >>to use windows for stuff like this. > > > > Hey, I now notice you didn't even pay attention and respond to my > comments about specifying "landscape" as an option. > > Or did you? > > And did you receive the files I mailed to you?!? > > And did you run the commandline exactly as I showed you, with the > PPD as an env variable? (and you verified the PPD has the full de- > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > It may after all be the case that even your distro's wrapper script > works correctly if used in the right way...) > > >>On 9/27/07, Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>>>here's the file I'm trying to print. >>> >>>I found it already in the meanwhile :-) >>> >>>And I mailed you *my* results, which look perfect for "fitplot to >>>Letter". >>> >>> >>> >>>>I want to print it landscape, >>> >>>No, you don't want to. Honest. :-) >>> >>>In 99.99% of cases, it will do the wrong thing when applied to PDF >>>file printing. I don't believe your case is amongst the 0.01% :-) >>> >>> >>> >>>>scaled down to fit my page size. If you can do it for A4 or A3, I >>>>should be able to do it for legal >>> >>>OK, I'll repeat the test for legal, and let you know the result. >>> >>> >>> >>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>>> >>>>On 9/27/07, Gerald Britton wrote: >>>> >>>>>After some more experimenting, I used the following command: >>>>> >>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>> >>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>>> >>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>> >>>>>This got me closer to my goal. The printout was landscape orientation >>>>>(I know, doesn't make sense!) but the scaling was for portrait >>>>>orientation and thus too small! >>>>> >>>>>On 9/27/07, Gerald Britton wrote: >>>>> >>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>>>pasted my results. Helge helped me with the other operands as well. >>>>>>I ran the commands and sent the output directly (not to the list, >>>>>>since it is too big). >>>>>> >>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but >>>>>>didn't obey the printer directive to fit to the nearest size and >>>>>>scale. > > > Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) itself. If I feed the PS files I got from Gerald (both the pdftops output as well as the pstops output) to one of our HP printers, without further manipulation (I used plain old ftp to submit the data), all printers I tested shrinked the huge page to the largest available media, properly scaled and rotated. Gerald, perhaps you could once more feed the pdftops output through the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot to mention it), just to be sure. Helge PS: When I need to modify the "alternate pstops filter" next time, I'll implement the fitplot option for PS printers that do *not* correctly follow the PS specification regarding the page size policies. -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From gerald.britton at gmail.com Fri Sep 28 06:23:28 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Fri, 28 Sep 2007 06:23:28 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30732-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> Message-ID: <30733-cups.general@news.easysw.com> Amazing! I did not know you could simply ftp a file to the printer. I just did the same thing with the same files I sent to you and they printed correctly! Now if I could just issue an lp command and achieve the same result.... I ran the command: lp -d ps0198 /tmp/pstops.out and it printed INcorrectly (scaled 100% (not fitted), wrong paper type (not nearest size)). Also I had to manually tell the printer to use letter stock! same thing with: lp -d ps0198 /tmp/pdftops.out Kurt suggested that my pdftops binary was broken by the debian team. I was quite prepared to believe that (not the first time) and was about to compile my own cups from the sources when your latest email arrived. So, tell me if I'm correct about things so far: 1. If I use pdftops piped to pstops then ftp the file to the printer, it works 2. The pdftops binary must be basically OK in my disto 3. Same thing for my pstops filter 4. Something strange happens when I let cups send the file to the printer from an lp command, whether from the original pdf or from the result of the pdftops or pstops commands At this point, where do you think the problem lies? In the pdftops filter? In the pstops filter? Somewhere else? Anything else I can do to help get to the bottom of the problem? On 9/28/07, Helge Blischke wrote: > Kurt Pfeifle wrote: > > Gerald Britton wrote: > > > >>Thanks for working on this, Kurt. I've learned a lot in the process > >>and that never hurts. I'm disappointed that I can't reach my ultimate > >>goal, but I can do it easily with acrobat reader on windows (a couple > >>of clicks and it's rotated and scaled perfectly). I just trying NOT > >>to use windows for stuff like this. > > > > > > > > Hey, I now notice you didn't even pay attention and respond to my > > comments about specifying "landscape" as an option. > > > > Or did you? > > > > And did you receive the files I mailed to you?!? > > > > And did you run the commandline exactly as I showed you, with the > > PPD as an env variable? (and you verified the PPD has the full de- > > finitions for "Legal"? and the PPD passes the "cupstestppd" test? > > It may after all be the case that even your distro's wrapper script > > works correctly if used in the right way...) > > > > > >>On 9/27/07, Kurt Pfeifle wrote: > >> > >>>Gerald Britton wrote: > >>> > >>>>here's the file I'm trying to print. > >>> > >>>I found it already in the meanwhile :-) > >>> > >>>And I mailed you *my* results, which look perfect for "fitplot to > >>>Letter". > >>> > >>> > >>> > >>>>I want to print it landscape, > >>> > >>>No, you don't want to. Honest. :-) > >>> > >>>In 99.99% of cases, it will do the wrong thing when applied to PDF > >>>file printing. I don't believe your case is amongst the 0.01% :-) > >>> > >>> > >>> > >>>>scaled down to fit my page size. If you can do it for A4 or A3, I > >>>>should be able to do it for legal > >>> > >>>OK, I'll repeat the test for legal, and let you know the result. > >>> > >>> > >>> > >>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > >>>> > >>>>On 9/27/07, Gerald Britton wrote: > >>>> > >>>>>After some more experimenting, I used the following command: > >>>>> > >>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>>> > >>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: > >>>>> > >>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > >>>>> > >>>>>This got me closer to my goal. The printout was landscape orientation > >>>>>(I know, doesn't make sense!) but the scaling was for portrait > >>>>>orientation and thus too small! > >>>>> > >>>>>On 9/27/07, Gerald Britton wrote: > >>>>> > >>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > >>>>>>pasted my results. Helge helped me with the other operands as well. > >>>>>>I ran the commands and sent the output directly (not to the list, > >>>>>>since it is too big). > >>>>>> > >>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but > >>>>>>didn't obey the printer directive to fit to the nearest size and > >>>>>>scale. > > > > > > > Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) > itself. If I feed the PS files I got from Gerald (both the pdftops output as well > as the pstops output) to one of our HP printers, without further manipulation > (I used plain old ftp to submit the data), all printers I tested shrinked the > huge page to the largest available media, properly scaled and rotated. > > Gerald, perhaps you could once more feed the pdftops output through > the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot > to mention it), just to be sure. > > Helge > > PS: When I need to modify the "alternate pstops filter" next time, I'll > implement the fitplot option for PS printers that do *not* correctly > follow the PS specification regarding the page size policies. > > -- > Helge Blischke > Softwareentwicklung > > H.Blischke at acm.org > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From k1pfeifle at gmx.net Fri Sep 28 06:36:06 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 28 Sep 2007 06:36:06 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30733-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> Message-ID: <30734-cups.general@news.easysw.com> Gerald Britton wrote: > Amazing! I did not know you could simply ftp a file to the printer. A *lot* of printers support this. Or use "rcp" to put files there... > I just did the same thing with the same files I sent to you and they > printed correctly! > > Now if I could just issue an lp command and achieve the same result.... > > I ran the command: > > lp -d ps0198 /tmp/pstops.out The lp command invokes your CUPS's filtering chain too, and this does in term use your somehow buggy $pdftops setup... If you used "lp -d ps0198 -o raw /tmp/pstops.out" it would send the same job as a "raw" one, bypassing all additional filtering that would otherwise be invoked. Anyway, the files I sent you, produced with the exact command I quoted, do proof that the original CUPS pdftops does work as promised. If it does not for you, your own printing system's setup must have been b0rken by someone... -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From h.blischke at srz.de Fri Sep 28 06:37:41 2007 From: h.blischke at srz.de (Helge Blischke) Date: Fri, 28 Sep 2007 06:37:41 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30733-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30699-cups.general@news.easysw.com> <30707-cups.general@news.easysw.com> <5d1a32000709271329g11e2e63l7e1550d7eebfa25d@mail.gmail.com> <5d1a32000709271340v2c3d1cb5nba944fdd373da828@mail.gmail.com> <30711-cups.general@news.easysw.com> <30714-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> Message-ID: <30735-cups.general@news.easysw.com> Gerald Britton wrote: > Amazing! I did not know you could simply ftp a file to the printer. > I just did the same thing with the same files I sent to you and they > printed correctly! > > Now if I could just issue an lp command and achieve the same result.... > > I ran the command: > > lp -d ps0198 /tmp/pstops.out > > and it printed INcorrectly (scaled 100% (not fitted), wrong paper type > (not nearest size)). Also I had to manually tell the printer to use > letter stock! > > same thing with: > > lp -d ps0198 /tmp/pdftops.out > > Kurt suggested that my pdftops binary was broken by the debian team. > I was quite prepared to believe that (not the first time) and was > about to compile my own cups from the sources when your latest email > arrived. > > So, tell me if I'm correct about things so far: > > 1. If I use pdftops piped to pstops then ftp the file to the printer, it works > 2. The pdftops binary must be basically OK in my disto > 3. Same thing for my pstops filter > 4. Something strange happens when I let cups send the file to the > printer from an lp command, whether from the original pdf or from the > result of the pdftops or pstops commands > > At this point, where do you think the problem lies? In the pdftops > filter? In the pstops filter? Somewhere else? > > Anything else I can do to help get to the bottom of the problem? > > On 9/28/07, Helge Blischke wrote: > >>Kurt Pfeifle wrote: >> >>>Gerald Britton wrote: >>> >>> >>>>Thanks for working on this, Kurt. I've learned a lot in the process >>>>and that never hurts. I'm disappointed that I can't reach my ultimate >>>>goal, but I can do it easily with acrobat reader on windows (a couple >>>>of clicks and it's rotated and scaled perfectly). I just trying NOT >>>>to use windows for stuff like this. >>> >>> >>> >>>Hey, I now notice you didn't even pay attention and respond to my >>>comments about specifying "landscape" as an option. >>> >>>Or did you? >>> >>>And did you receive the files I mailed to you?!? >>> >>>And did you run the commandline exactly as I showed you, with the >>>PPD as an env variable? (and you verified the PPD has the full de- >>>finitions for "Legal"? and the PPD passes the "cupstestppd" test? >>>It may after all be the case that even your distro's wrapper script >>>works correctly if used in the right way...) >>> >>> >>> >>>>On 9/27/07, Kurt Pfeifle wrote: >>>> >>>> >>>>>Gerald Britton wrote: >>>>> >>>>> >>>>>>here's the file I'm trying to print. >>>>> >>>>>I found it already in the meanwhile :-) >>>>> >>>>>And I mailed you *my* results, which look perfect for "fitplot to >>>>>Letter". >>>>> >>>>> >>>>> >>>>> >>>>>>I want to print it landscape, >>>>> >>>>>No, you don't want to. Honest. :-) >>>>> >>>>>In 99.99% of cases, it will do the wrong thing when applied to PDF >>>>>file printing. I don't believe your case is amongst the 0.01% :-) >>>>> >>>>> >>>>> >>>>> >>>>>>scaled down to fit my page size. If you can do it for A4 or A3, I >>>>>>should be able to do it for legal >>>>> >>>>>OK, I'll repeat the test for legal, and let you know the result. >>>>> >>>>> >>>>> >>>>> >>>>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf >>>>>> >>>>>>On 9/27/07, Gerald Britton wrote: >>>>>> >>>>>> >>>>>>>After some more experimenting, I used the following command: >>>>>>> >>>>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>>>> >>>>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: >>>>>>> >>>>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf >>>>>>> >>>>>>>This got me closer to my goal. The printout was landscape orientation >>>>>>>(I know, doesn't make sense!) but the scaling was for portrait >>>>>>>orientation and thus too small! >>>>>>> >>>>>>>On 9/27/07, Gerald Britton wrote: >>>>>>> >>>>>>> >>>>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and >>>>>>>>pasted my results. Helge helped me with the other operands as well. >>>>>>>>I ran the commands and sent the output directly (not to the list, >>>>>>>>since it is too big). >>>>>>>> >>>>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but >>>>>>>>didn't obey the printer directive to fit to the nearest size and >>>>>>>>scale. >>> >>> >>> >>Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) >>itself. If I feed the PS files I got from Gerald (both the pdftops output as well >>as the pstops output) to one of our HP printers, without further manipulation >>(I used plain old ftp to submit the data), all printers I tested shrinked the >>huge page to the largest available media, properly scaled and rotated. >> >>Gerald, perhaps you could once more feed the pdftops output through >>the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot >>to mention it), just to be sure. >> >>Helge >> >>PS: When I need to modify the "alternate pstops filter" next time, I'll >>implement the fitplot option for PS printers that do *not* correctly >>follow the PS specification regarding the page size policies. >> >>-- >>Helge Blischke >>Softwareentwicklung >> >>H.Blischke at acm.org >>_______________________________________________ >>cups mailing list >>cups at easysw.com >>http://lists.easysw.com/mailman/listinfo/cups >> > > Please repeat the offline pstops step after setting the PPD environment variable to the abolute path to your printer's PPD and post the result. I'd definitely like to look into that before speculating any more. And BTW, which backend do you use for your printer? (post the device_uri). Helge -- Helge Blischke Softwareentwicklung H.Blischke at acm.org From till.kamppeter at gmail.com Fri Sep 28 06:46:44 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Fri, 28 Sep 2007 06:46:44 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers In-Reply-To: <46E8596A.7030202@gmail.com> References: <46E8596A.7030202@gmail.com> Message-ID: <30736-cups.general@news.easysw.com> I have met Mike Sweet on the Printing Summit in Montreal this week and he suggests letting the dnssd backend display the CUPS (IPP) queues of Mac OS X workstations but not of other workstations. And I think even better could be listing the queues of remote CUPS servers if they do not broadcast their queues via CUPS' native IPP method. Now I have two questions: 1. How can on determine the operating system which a remote machine is running, preferably by means of simple command line tools? 2. How can one easily determine whether a remote CUPS server is broadcasting its queues, without waiting up to 30 sec for the next broadcast? Till Till Kamppeter wrote: > Hi, > > I have written a small Perl program around the command line > "avahi-browse -k -t -v -r -a" to be run as a CUPS backend to discover > network printers. It is used the same way as the "snmp" backend. You put > it into /usr/lib/cups/backend/ and make it executable. The whenever a > printer setup tool asks CUPS to look for available printers (or if you > call "lpinfo -v") the program gets called and CUPS will list the > discovered printers. > > As it does fairly the same as "snmp" but only based on another method > you can deactivate "snmp" via > > chmod -x /usr/lib/cups/backend/snmp > > and avoid duplicate results. You can also have both running to get a > more reliable scan including old printers not supporting DNS-SD and > newer cheap printers (like the HP LaserJet 2600n) not supporting SNMP. > > The backend also reports make/model info so that printer setup tools can > auto-select PPDs/drivers. In addition, it even discovers the PDLs of the > printers, this way printer setup tools can react muchg more > intelligently on unknown printer models, assigning PPDs like "Generic > PCL-6/XL printer", and so the unknown printer "just works", too. > > If a printer has more that one access protocol, the highest priority is > on socket, after that LPD, and IPP at last. To avoid discovering the > print queues of CUPS 1.3.x servers as IPP printers every result on IPs > which also appear as a computer are discarded. > > If a printer has more than one port for TCP/Socket or more than one > internal queue for LPD or IPP, all ports/queues get listed. > > In my small network (2 comnputers, 3 network printers) there are no > visible speed differences. Please report your experience in big networks. > > Here is the tool (License: GPL) for download: > > http://www.openprinting.org/download/printing/dnssd > > Needs Perl and Avahi. > > I want to ask all of you to test this tool and compare it with the SNMP > backend, especially in big networks and with non-HP printers. > > - Is it faster? > - Is it more reliable (same results on repeated calls)? > - Does it discover more printers? > - Does it hang on certain printer models? > > Thank you in advance for every test report. > > Till > From tig at kenosha.org Fri Sep 28 09:42:59 2007 From: tig at kenosha.org (tig) Date: Fri, 28 Sep 2007 09:42:59 -0700 Subject: [cups.general] Differences between 1.1.17 on RHEL3 to 1.2.4-11.5 on RHEL5 Message-ID: <30737-cups.general@news.easysw.com> I am in the processes of upgrading the CUPS server from 1.1.17 to 1.2.4 by moving to a new Server running RHEL5. I am having a difficulties printing ASCII text file from the command line to my HP LaserJet 4000, 4050, 4100, 4350 's with all the same results. ( I am using the same ppd file on both ) @ the command line it use: lp -o "cpi=17" -d printername /tmp/tester on the 1.1.17 server it prints correctly with 17 charcters per inch ext with 132 characters on 8X11 portrait. when I print it on the new server I get 17 per inch, but it stops printing at 80 columns on the 8x11 portrait?? Suggestions where I needs to start looking? -------------- next part -------------- An HTML attachment was scrubbed... URL: From twaugh at redhat.com Fri Sep 28 10:02:35 2007 From: twaugh at redhat.com (Tim Waugh) Date: Fri, 28 Sep 2007 10:02:35 -0700 Subject: [cups.general] Differences between 1.1.17 on RHEL3 to 1.2.4-11.5 on RHEL5 In-Reply-To: <1190997753.7104.41.camel@mbapp1.kenosha.org> References: <1190997753.7104.41.camel@mbapp1.kenosha.org> Message-ID: <30738-cups.general@news.easysw.com> On Fri, 2007-09-28 at 11:42 -0500, tig wrote: > Suggestions where I needs to start looking? I think it is a problem with the 'paps' package used in Red Hat Enterprise Linux for text printing. You can edit /etc/cups/mime.convs and change all occurrences of "texttopaps" to "texttops". This has been reported in Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=237202 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 mike at easysw.com Fri Sep 28 13:51:52 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 13:51:52 -0700 Subject: Common UNIX Printing System 1.3.2 Message-ID: <137-cups.announce@news.easysw.com> CUPS 1.3.3 is now available for download from the CUPS web site and fixes some scheduler and localization issues. Changes include: * The scheduler did not use the attributes-natural-language attribute when passing the LANG environment variable to cups-deviced or cups-driverd. * The scheduler did not use the printer-op-policy when modifying classes or printers (STR #2525) * The auth-info-required attribute was not always updated for remote queues that required authentication. * The German web interface localization contained errors (STR #2523) * The Swedish localization contained errors (STR #2522) Enjoy! From msweet at apple.com Fri Sep 28 14:16:37 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 28 Sep 2007 14:16:37 -0700 Subject: [cups.general] DNS-SD-(Zeroconf)-based CUPS backend to discover network printers In-Reply-To: <46FD05B1.4080401@gmail.com> References: <46E8596A.7030202@gmail.com> <46FD05B1.4080401@gmail.com> Message-ID: <30739-cups.general@news.easysw.com> Till Kamppeter wrote: > I have met Mike Sweet on the Printing Summit in Montreal this week and > he suggests letting the dnssd backend display the CUPS (IPP) queues of > Mac OS X workstations but not of other workstations. And I think even > better could be listing the queues of remote CUPS servers if they do not > broadcast their queues via CUPS' native IPP method. > > Now I have two questions: > > 1. How can on determine the operating system which a remote machine is > running, preferably by means of simple command line tools? There is no way to determine the OS, specifically, but any CUPS registrations will have an "rp" key with a value of "printers/foo" or "classes/foo". Only _ipp service registrations can be CUPS printers. > 2. How can one easily determine whether a remote CUPS server is > broadcasting its queues, without waiting up to 30 sec for the next > broadcast? The local cupsd will know about any printers accessible via the CUPS browse protocol, so just so a CUPS_GET_PRINTERS request with the printer-type attribute set to "CUPS_PRINTER_DISCOVERED" and printer-type-mask attribute set to "CUPS_PRINTER_DISCOVERED | CUPS_PRINTER_IMPLICIT". Use the device-uri attribute value, and compare the resolved IP address from the device-uri to the one you get from the mDNS lookup, along with the printers/foo or classes/foo parts... -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mike at easysw.com Fri Sep 28 21:07:38 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 21:07:38 -0700 Subject: CUPS Driver Development Kit 1.2.1 Message-ID: <138-cups.announce@news.easysw.com> CUPS DDK 1.2.1 is now available for download from the CUPS web site and fixes a number of issues in the PPD compiler. Changes include: * "#include foo" was (incorrectly) treated like "{ #include foo }" (STR #2514) * Color profiles and other localizable attributes were not localized in generated PPD files (STR #2507) * Page sizes were not properly localized in multi-language PPD files (STR #2524) * "#include " did not work (STR #2506) * The ppdpo utility did not include localizable attributes (STR #2479) * The ppdc utility did not add a newline at the end of boolean and keyword attributes (STR #2481) * The ppdc utility incorrectly wrote Product attributes twice. Enjoy! From c.rauzy at bluewin.ch Sat Sep 29 03:26:38 2007 From: c.rauzy at bluewin.ch (cedrick rauzy) Date: Sat, 29 Sep 2007 03:26:38 -0700 Subject: PostScript Level2 Message-ID: <30740-cups.general@news.easysw.com> Hi, I have an application which generate postscript file which can be retreived by a Windows queue to be link to an external system. The system is working with the old lpd protocol (under silicon). I'm trying to configure it to work with RedHat where cups is installed. If I catch the temporary file and printing it via lp command it's working. If I let cups take the file, my temporary ps file is converted in postscript level 3 and my application under windows reject the file because it's working only with PostScript level 2. How can I configure cups to generate PostScript level 2? I think that it's a combination of mime.convs and of the setting of the printer but didn't find up to now which is the good one. Thanks From gerald.britton at gmail.com Sat Sep 29 05:27:04 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Sat, 29 Sep 2007 05:27:04 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <5d1a32000709280846o3577b53fmf371a67486534ba1@mail.gmail.com> References: <30678-cups.general@news.easysw.com> <30715-cups.general@news.easysw.com> <30719-cups.general@news.easysw.com> <30732-cups.general@news.easysw.com> <30733-cups.general@news.easysw.com> <30735-cups.general@news.easysw.com> <5d1a32000709280653i1b8d9468n52976ce355218295@mail.gmail.com> <5d1a32000709280655t4af2b7a7wd880948e38be3684@mail.gmail.com> <46FD18F8.8090400@srz.de> <5d1a32000709280846o3577b53fmf371a67486534ba1@mail.gmail.com> Message-ID: <30741-cups.general@news.easysw.com> I don't know if this helps, but: Today, I tried the same document at home on my PhotoSmart printer (c4180). The fitplot option almost works. It scales correctly but prints the file portrait so it gets cut off. Adding -o landscape got the orientation right, but cut off the left hand part of the document. The actual size printed is 8 1/2 in long, not 11 in as it should be. So it scaled it for landscape printing, printed it landscape, but sized the output for portrait! Weird. On 9/28/07, Gerald Britton wrote: > OK -- so here's what I did: > > sed 's/\/DeferredMediaSelection true > \/PageSize/\/DeferredMediaSelection false \/PageSize/' > /etc/cups/ppd/ps0198.ppd |> /etc/cups/ppd/ps0198new.ppd > > (I've attached the modified ppd) > > $export PPD=/etc/cups/ppd/ps0198new.ppd > $echo $PPD > /etc/cups/ppd/ps0198new.ppd > > /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" "fitplot=true > PageSize=Letter" my.pdf > /tmp/pdftops.out > > /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" "1" "fitplot=true > PageSize=Letter" /tmp/pdftops.out >/tmp/pstops.out > > DEBUG: slow_collate=0, slow_duplex=0, slow_order=0 > DEBUG: Before copy_comments - %!PS-Adobe-3.0 > DEBUG: %!PS-Adobe-3.0 > DEBUG: %%Creator: xpdf/pdftops 3.00 > DEBUG: %%LanguageLevel: 2 > DEBUG: %%DocumentSuppliedResources: (atend) > DEBUG: %%DocumentMedia: plain 2066 717 0 () () > DEBUG: %%BoundingBox: 0 0 2066 717 > DEBUG: %%Pages: 1 > DEBUG: %%EndComments > DEBUG: Before copy_prolog - %%BeginDefaults > DEBUG: Before copy_setup - %%BeginSetup > DEBUG: Before page loop - %%Page: 1 1 > DEBUG: Copying page 1... > PAGE: 1 1 > DEBUG: pagew = 576.0, pagel = 720.0 > DEBUG: bboxw = 2066, bboxl = 717 > DEBUG: PageLeft = 18.0, PageRight = 594.0 > DEBUG: PageTop = 756.0, PageBottom = 36.0 > DEBUG: PageWidth = 612.0, PageLength = 792.0 > DEBUG: Wrote 1 pages... > > NOTE: the pagew, etc. are different from the last run, which was: > > DEBUG: pagew = 587.9, pagel = 767.9 > DEBUG: bboxw = 2066, bboxl = 717 > DEBUG: PageLeft = 12.0, PageRight = 599.9 > DEBUG: PageTop = 780.0, PageBottom = 12.1 > DEBUG: PageWidth = 612.0, PageLength = 792.0 > > then I ran: > > lp -d ps0198 -o raw /tmp/pdftops.out > > lp -d ps0198 -o raw /tmp/pstops.out > > The first file prints correctly. The second one is now scaled tiny > (about 10%) but printed without prompting. > > On 9/28/07, Helge Blischke wrote: > > Gerald Britton wrote: > > > OK -- check this out. Here's what I did and what I got on the > > > console. > > > > > > jerryb1 at ubuntu:~$ echo $PPD > > > /etc/cups/ppd/ps0198.ppd > > > jerryb1 at ubuntu:~$ erho $CUPS_SERVERROOT > > > -bash: erho: command not found > > > jerryb1 at ubuntu:~$ > > > jerryb1 at ubuntu:~$ > > > jerryb1 at ubuntu:~$ echo $PPD > > > /etc/cups/ppd/ps0198.ppd > > > jerryb1 at ubuntu:~$ echo $CUPS_SERVERROOT > > > /etc/cups > > > jerryb1 at ubuntu:~$ /usr/lib/cups/filter/pdftops "1" "dummy" "dummy" "1" > > > "fitplot=true PageSize=Letter" > > > /home/shared/gramps/media/CanadaCensus1851/CAN1851Census-Hamilton-ON-Pg303a.pdf > > > > > >>/tmp/pdftops.out > > > > > > ERROR: pdftops-options: -cfg /etc/cups/pdftops.conf > > > jerryb1 at ubuntu:~$ /usr/lib/cups/filter/pstops "1" "gerald" "pdftest" > > > "1" "fitplot=true PageSize=Letter" /tmp/pdftops.out >/tmp/pstops.out > > > DEBUG: Page = 612x792; 12,12 to 600,780 > > > DEBUG: slow_collate=0, slow_duplex=0, slow_order=0 > > > DEBUG: Before copy_comments - %!PS-Adobe-3.0 > > > DEBUG: %!PS-Adobe-3.0 > > > DEBUG: %%Creator: xpdf/pdftops 3.00 > > > DEBUG: %%LanguageLevel: 2 > > > DEBUG: %%DocumentSuppliedResources: (atend) > > > DEBUG: %%DocumentMedia: plain 2066 717 0 () () > > > DEBUG: %%BoundingBox: 0 0 2066 717 > > > DEBUG: %%Pages: 1 > > > DEBUG: %%EndComments > > > DEBUG: Before copy_prolog - %%BeginDefaults > > > DEBUG: Before copy_setup - %%BeginSetup > > > DEBUG: Before page loop - %%Page: 1 1 > > > DEBUG: Copying page 1... > > > PAGE: 1 1 > > > DEBUG: pagew = 587.9, pagel = 767.9 > > > DEBUG: bboxw = 2066, bboxl = 717 > > > DEBUG: PageLeft = 12.0, PageRight = 599.9 > > > DEBUG: PageTop = 780.0, PageBottom = 12.1 > > > DEBUG: PageWidth = 612.0, PageLength = 792.0 > > > DEBUG: Wrote 1 pages... > > > > > > After this I printed the resulting files using the command: > > > > > > lp -d ps0198 -o raw > > > > > > The pdftops.out file printed correctly, the pstops.out file did not > > > (letter, not legal, and not scaled to fit the paper) > > > > > > I attached the pdftops, pstops and ppd files. > > > > > > printers.conf is: > > > > > > > > > > > > Info hp 9040 postscript > > > Location corner > > > DeviceURI socket://10.18.16.253 > > > State Idle > > > StateTime 1190835823 > > > Accepting Yes > > > Shared Yes > > > JobSheets none none > > > QuotaPeriod 0 > > > PageLimit 0 > > > KLimit 0 > > > OpPolicy default > > > ErrorPolicy retry-job > > > > > > > > On 9/28/07, Helge Blischke wrote: > > > > > >>Gerald Britton wrote: > > >> > > >>>Amazing! I did not know you could simply ftp a file to the printer. > > >>>I just did the same thing with the same files I sent to you and they > > >>>printed correctly! > > >>> > > >>>Now if I could just issue an lp command and achieve the same result.... > > >>> > > >>>I ran the command: > > >>> > > >>>lp -d ps0198 /tmp/pstops.out > > >>> > > >>>and it printed INcorrectly (scaled 100% (not fitted), wrong paper type > > >>>(not nearest size)). Also I had to manually tell the printer to use > > >>>letter stock! > > >>> > > >>>same thing with: > > >>> > > >>>lp -d ps0198 /tmp/pdftops.out > > >>> > > >>>Kurt suggested that my pdftops binary was broken by the debian team. > > >>>I was quite prepared to believe that (not the first time) and was > > >>>about to compile my own cups from the sources when your latest email > > >>>arrived. > > >>> > > >>>So, tell me if I'm correct about things so far: > > >>> > > >>>1. If I use pdftops piped to pstops then ftp the file to the printer, it works > > >>>2. The pdftops binary must be basically OK in my disto > > >>>3. Same thing for my pstops filter > > >>>4. Something strange happens when I let cups send the file to the > > >>>printer from an lp command, whether from the original pdf or from the > > >>>result of the pdftops or pstops commands > > >>> > > >>>At this point, where do you think the problem lies? In the pdftops > > >>>filter? In the pstops filter? Somewhere else? > > >>> > > >>>Anything else I can do to help get to the bottom of the problem? > > >>> > > >>>On 9/28/07, Helge Blischke wrote: > > >>> > > >>> > > >>>>Kurt Pfeifle wrote: > > >>>> > > >>>> > > >>>>>Gerald Britton wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Thanks for working on this, Kurt. I've learned a lot in the process > > >>>>>>and that never hurts. I'm disappointed that I can't reach my ultimate > > >>>>>>goal, but I can do it easily with acrobat reader on windows (a couple > > >>>>>>of clicks and it's rotated and scaled perfectly). I just trying NOT > > >>>>>>to use windows for stuff like this. > > >>>>> > > >>>>> > > >>>>> > > >>>>>Hey, I now notice you didn't even pay attention and respond to my > > >>>>>comments about specifying "landscape" as an option. > > >>>>> > > >>>>>Or did you? > > >>>>> > > >>>>>And did you receive the files I mailed to you?!? > > >>>>> > > >>>>>And did you run the commandline exactly as I showed you, with the > > >>>>>PPD as an env variable? (and you verified the PPD has the full de- > > >>>>>finitions for "Legal"? and the PPD passes the "cupstestppd" test? > > >>>>>It may after all be the case that even your distro's wrapper script > > >>>>>works correctly if used in the right way...) > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>On 9/27/07, Kurt Pfeifle wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>>Gerald Britton wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>here's the file I'm trying to print. > > >>>>>>> > > >>>>>>>I found it already in the meanwhile :-) > > >>>>>>> > > >>>>>>>And I mailed you *my* results, which look perfect for "fitplot to > > >>>>>>>Letter". > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>I want to print it landscape, > > >>>>>>> > > >>>>>>>No, you don't want to. Honest. :-) > > >>>>>>> > > >>>>>>>In 99.99% of cases, it will do the wrong thing when applied to PDF > > >>>>>>>file printing. I don't believe your case is amongst the 0.01% :-) > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>scaled down to fit my page size. If you can do it for A4 or A3, I > > >>>>>>>>should be able to do it for legal > > >>>>>>> > > >>>>>>>OK, I'll repeat the test for legal, and let you know the result. > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>http://data2.collectionscanada.ca/1851_pdf/e096/e002379200.pdf > > >>>>>>>> > > >>>>>>>>On 9/27/07, Gerald Britton wrote: > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>>>After some more experimenting, I used the following command: > > >>>>>>>>> > > >>>>>>>>>lp -o landscape -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > >>>>>>>>> > > >>>>>>>>>the "-o=landscape" actually makes it print portrait! So I removed that and ran: > > >>>>>>>>> > > >>>>>>>>>lp -o media=legal -o fitplot -o PageSize=legal myfile.pdf > > >>>>>>>>> > > >>>>>>>>>This got me closer to my goal. The printout was landscape orientation > > >>>>>>>>>(I know, doesn't make sense!) but the scaling was for portrait > > >>>>>>>>>orientation and thus too small! > > >>>>>>>>> > > >>>>>>>>>On 9/27/07, Gerald Britton wrote: > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>>>Thanks Kurt! Yes, the $ was just from my prompt, when I cut and > > >>>>>>>>>>pasted my results. Helge helped me with the other operands as well. > > >>>>>>>>>>I ran the commands and sent the output directly (not to the list, > > >>>>>>>>>>since it is too big). > > >>>>>>>>>> > > >>>>>>>>>>I tried gv as you suggested. It shrank the pdf to fit the page but > > >>>>>>>>>>didn't obey the printer directive to fit to the nearest size and > > >>>>>>>>>>scale. > > >>>>> > > >>>>> > > >>>>> > > >>>>Finally, it seems to an issue of the printer (i.e. the printer's PS interpreter) > > >>>>itself. If I feed the PS files I got from Gerald (both the pdftops output as well > > >>>>as the pstops output) to one of our HP printers, without further manipulation > > >>>>(I used plain old ftp to submit the data), all printers I tested shrinked the > > >>>>huge page to the largest available media, properly scaled and rotated. > > >>>> > > >>>>Gerald, perhaps you could once more feed the pdftops output through > > >>>>the pstops filter with the PPD configured, as Kurt proposed (sorry, I forgot > > >>>>to mention it), just to be sure. > > >>>> > > >>>>Helge > > >>>> > > >>>>PS: When I need to modify the "alternate pstops filter" next time, I'll > > >>>>implement the fitplot option for PS printers that do *not* correctly > > >>>>follow the PS specification regarding the page size policies. > > >>>> > > >>>>-- > > >>>>Helge Blischke > > >>>>Softwareentwicklung > > >>>> > > >>>>H.Blischke at acm.org > > >>>>_______________________________________________ > > >>>>cups mailing list > > >>>>cups at easysw.com > > >>>>http://lists.easysw.com/mailman/listinfo/cups > > >>>> > > >>> > > >>> > > >>Please repeat the offline pstops step after setting the PPD > > >>environment variable to the abolute path to your printer's PPD > > >>and post the result. I'd definitely like to look into that > > >>before speculating any more. > > >>And BTW, which backend do you use for your printer? > > >>(post the device_uri). > > >> > > >>Helge > > >> > > >> > > >>-- > > >>Helge Blischke > > >>Softwareentwicklung > > >> > > >>H.Blischke at acm.org > > >>_______________________________________________ > > >>cups mailing list > > >>cups at easysw.com > > >>http://lists.easysw.com/mailman/listinfo/cups > > >> > > > > Well, found the culprit! The PPD is bogus: > > All the PageSize (or page region or imageable area) statements set > > /DeferredMediaSelection true > > in the setpagedevice dictionary. This cancels the PS interprter's > > internal firplot feature which requires > > /DeferredMediaSelection false . > > This, BTW, causes the printer to complain about the page size. > > > > If you edit the PPD and delete all the "/DeferredMediaSelection true" > > from *all* PageSize and PageRegion statements, it should work OK. > > > > Helge > > > > > > -- > > Helge Blischke > > Softwareentwicklung > > > > H.Blischke at acm.org > > > > > > > From msweet at apple.com Sat Sep 29 07:54:41 2007 From: msweet at apple.com (Michael R Sweet) Date: Sat, 29 Sep 2007 07:54:41 -0700 Subject: [cups.general] PostScript Level2 In-Reply-To: <30740-cups.general@news.easysw.com> References: <30740-cups.general@news.easysw.com> Message-ID: <30742-cups.general@news.easysw.com> cedrick rauzy wrote: > ... > If I catch the temporary file and printing it via lp command it's > working. If I let cups take the file, my temporary ps file is > converted in postscript level 3 and my application under windows > reject the file because it's working only with PostScript level 2. > How can I configure cups to generate PostScript level 2? > ... CUPS does not convert PostScript files to Level 3, however it *does* add DSC comments to the PS file (the "%!PS-Adobe-3.0" part), which I suspect you are thinking means the file has been changed to Level 3. (which it doesn't - the 3.0 refers to the Document Structuring Conventions spec version, not the PostScript language level...) -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From roa at libero.it Sat Sep 29 08:47:37 2007 From: roa at libero.it (Paolo Roascio) Date: Sat, 29 Sep 2007 08:47:37 -0700 Subject: how to disable any password Message-ID: <30743-cups.general@news.easysw.com> > Since you do not name the distro nor the CUPS version, and since you did > edit your cupsd.conf file already, we do not know the actual settings > used by your print system and we can not advice you (yet). > > Please post the content of your cupsd.conf (but sans the comments, please!) > -- run this command to get it: > > grep -Ev "^$|^#" /etc/cups/cupsd.conf > Hello Kurt, thanks for your reply :) Well, i have the same problem on my home PC as well as my office PC, in the first one runs a linuxfromscratch system, on the latter a slackware 12. Both PC have the same cups.conf: LogLevel info User lp Group lp Port 631 Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None AuthType None Order Deny,Allow Deny From All Allow From 127.0.0.1 in both PC i have the same issue. Well, in my work PC it was only a test, password for increase security is welcome, but at home, my printer needs to be stopped and started each time it ends paper (is broken, i now...), then password requirement is a bit awful. P.S. in my cupsd.conf you can see that my cups runs as user lp in lp group. My user is in that group too, but this isn't enough to get rid of password. P.P.S. my cups version is 1.2.7 From premjo.elias at gmail.com Sat Sep 29 23:18:21 2007 From: premjo.elias at gmail.com (Premjo) Date: Sat, 29 Sep 2007 23:18:21 -0700 Subject: Initiate Command to printer throgh backend w/o print job Message-ID: <30744-cups.general@news.easysw.com> Hi, Do i can write my own commandto filter and add it on the PPD file. when i do a click of button on the web interface the printer specific command will directly go to the backend and get execute on the printer? Is that reply can be displayed on the web?,if yes where do i have to write interface? if no, is this reply can be captured on any port monitoing system? might be i am asking a wrong question, please pardon me. premjo From k1pfeifle at gmx.net Sun Sep 30 13:26:43 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sun, 30 Sep 2007 13:26:43 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30705-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30684-cups.general@news.easysw.com> <30685-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <30705-cups.general@news.easysw.com> Message-ID: <30745-cups.general@news.easysw.com> Gerald Britton wrote: > I've tried both the old pdftops (that came with my cups distro) You are wrong here. What CUPS ships and shipped in the past was *never* a Perl script. When you have a Perl script, it is because your distro has changed what CUPS itself provides. When your "old pdftops" also is a Perl script, it is only because that change was made earlier than the date your old pdftops file carries. As I proofed to you by doing the manual conversion using the origi- nal CUPS pdftops filter, this bug does not appear here. So you need to complain to your distro (or the Perl script develo- per) about that bug. Not to CUPS. > and > the new one that Helge pointed me to. Both are perl scripts as it > turns out. My CUPS-provided pdftops binary filter works perfectly for this use case. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From gerald.britton at gmail.com Sun Sep 30 13:40:11 2007 From: gerald.britton at gmail.com (Gerald Britton) Date: Sun, 30 Sep 2007 13:40:11 -0700 Subject: [cups.general] Problems printing PDF files through cups. In-Reply-To: <30745-cups.general@news.easysw.com> References: <30678-cups.general@news.easysw.com> <30686-cups.general@news.easysw.com> <30689-cups.general@news.easysw.com> <30692-cups.general@news.easysw.com> <30694-cups.general@news.easysw.com> <30696-cups.general@news.easysw.com> <30697-cups.general@news.easysw.com> <46FC0706.7050408@gmx.net> <30705-cups.general@news.easysw.com> <30745-cups.general@news.easysw.com> Message-ID: <30746-cups.general@news.easysw.com> Thanks Kurt, I think you may be on to something On 9/30/07, Kurt Pfeifle wrote: > Gerald Britton wrote: > > I've tried both the old pdftops (that came with my cups distro) > > You are wrong here. > > What CUPS ships and shipped in the past was *never* a Perl script. > When you have a Perl script, it is because your distro has changed > what CUPS itself provides. When your "old pdftops" also is a Perl > script, it is only because that change was made earlier than the > date your old pdftops file carries. > > As I proofed to you by doing the manual conversion using the origi- > nal CUPS pdftops filter, this bug does not appear here. > > So you need to complain to your distro (or the Perl script develo- > per) about that bug. Not to CUPS. > > > and > > the new one that Helge pointed me to. Both are perl scripts as it > > turns out. > > My CUPS-provided pdftops binary filter works perfectly for this use > case. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany > _______________________________________________ > cups mailing list > cups at easysw.com > http://lists.easysw.com/mailman/listinfo/cups > From richard_mclaren at hotmail.com Sun Sep 30 14:13:02 2007 From: richard_mclaren at hotmail.com (Richard McLaren) Date: Sun, 30 Sep 2007 14:13:02 -0700 Subject: cupsdAuthorize: No authentication data provided Message-ID: <30747-cups.general@news.easysw.com> I am running CUPS on an Unslung NSLU2. The installation looks good. I have checked the .ppd file. I can access the Administration page and there are no errors until I start printing. When I try to print, I get the message "cupsdAuthorize: No authentication data provided" repeated many times in the error log until I cancel the print job. What authentication data is CUPS looking for that will allow printing to proceed? From pvanguardia at gmail.com Sun Sep 30 23:22:44 2007 From: pvanguardia at gmail.com (Patrick Vanguardia) Date: Sun, 30 Sep 2007 23:22:44 -0700 Subject: Cups Watermarks on PDF Files Message-ID: <30748-cups.general@news.easysw.com> Hi, I'm having a little issue when printing PDF files with watermarks. I've successfully print files with watermarks such as .docs .txt .xls and other except PDF files using Adobe Standard, However when using Adobe Reader i can print without any problem. Any idea? Thanks, Patrick From k1pfeifle at gmx.net Sat Sep 1 03:58:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Sat, 01 Sep 2007 03:58:41 -0700 Subject: [SVN r6909 -- CUPS 1.4] "Set Printer Options" button doesn't show PPD options Message-ID: <5868-cups.bugs@news.easysw.com> While the commandline "lpoptions -p printer -l" still shows PPD options, the web interface only allows access to set banners and policies. All options from the PPD are missing in the web interface. (Another thing I noticed: the testps.ppd used for "make test" has the following line *ColorModel RGB/CMY Color: ... which looks a bit odd when comparing the "translation" with the actual option value...) -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From losekann at siriusnet.com.br Sat Sep 1 06:22:52 2007 From: losekann at siriusnet.com.br (Luiz Losekann) Date: Sat, 01 Sep 2007 06:22:52 -0700 Subject: [cups.development] [RFE] STR #2499: Print a raw file to a file backend. Message-ID: <3672-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I want to apply a filter in a raw file, received from Windows network and sent to a file backend. First I tried to configurate a "file printer" using "lpadmin -p myprinter -i myfilter ( a exec file ) -v file:/path/to/my/file" but CUPS denied to give a output of a raw file to a file backend. In the second step, I created a stopped printer ( was not a fine solution , but I had some hurry ) but the filter doesn't work until the printer started - it isn't my goal, because a need to do some changes in the raw file before to send to the final printing. Please, at least I need a way to send a raw file to a file backend running a filter at the same time to get file informations. How can I do this ? Best Regards, Luiz Losekann Link: http://www.cups.org/str.php?L2499 Version: -feature From mike at easysw.com Sat Sep 1 06:25:56 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 01 Sep 2007 06:25:56 -0700 Subject: [cups.development] [RFE] STR #2499: Print a raw file to a file backend. Message-ID: <3673-cups.development@news.easysw.com> [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. The normal way to do this is to write your own backend. Link: http://www.cups.org/str.php?L2499 Version: -feature Fix Version: Will Not Fix From mike at easysw.com Sat Sep 1 06:32:31 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 01 Sep 2007 06:32:31 -0700 Subject: [cups.development] [RFE] STR #2155: Add functionality to the CUPS Web Interface Message-ID: <3674-cups.development@news.easysw.com> [STR Closed w/o Resolution] This is a bit more than we want to include in the web interface; in particular, we can't just support preview of plain text files when most jobs are submitted as PDF or PostScript, and changing options after job submission can have a lot of side-effects for page accounting and banner setup. Sorry. Link: http://www.cups.org/str.php?L2155 Version: -feature Fix Version: Will Not Fix From mike at easysw.com Sat Sep 1 10:44:05 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 01 Sep 2007 10:44:05 -0700 Subject: [SVN r6909 -- CUPS 1.4] "Set Printer Options" button doesn't showPPD options In-Reply-To: <5868-cups.bugs@news.easysw.com> References: <5868-cups.bugs@news.easysw.com> Message-ID: <5869-cups.bugs@news.easysw.com> Kurt Pfeifle wrote: > While the commandline "lpoptions -p printer -l" still shows PPD options, > the web interface only allows access to set banners and policies. All > options from the PPD are missing in the web interface. What do you see in the error_log file? What driver are you using to test with? > (Another thing I noticed: the testps.ppd used for "make test" has the > following line > > *ColorModel RGB/CMY Color: ... > > which looks a bit odd when comparing the "translation" with the actual > option value...) "RGB" is the standard Adobe name for a 3-component colorspace, but the translation string reflects the mode that is actually selected. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From r.mariotti at fdcx.net Tue Sep 4 09:48:49 2007 From: r.mariotti at fdcx.net (Bob M) Date: Tue, 04 Sep 2007 09:48:49 -0700 Subject: need help, developing driver for brother ql-550 label printer Message-ID: <3675-cups.development@news.easysw.com> > > Thanks and best regards, > Thomas Seiler > Thomas; Having read this post 1 1/2 years after it was placed on this forum I was wondering if you have ever made any progress with this driver for this printer? If so, of if ANYONE has, please post your results? Thanks, Bob M From mike at easysw.com Tue Sep 4 10:30:27 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 04 Sep 2007 10:30:27 -0700 Subject: [cups.bugs] [MOD] STR #2500: Build errors on CentOS4 Message-ID: <5870-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. You don't have php-devel installed. Link: http://www.cups.org/str.php?L2500 Version: 1.3.0 Fix Version: None From gentoo at herakles.homelinux.org Tue Sep 4 11:24:12 2007 From: gentoo at herakles.homelinux.org (John) Date: Tue, 04 Sep 2007 11:24:12 -0700 Subject: [cups.bugs] [MOD] STR #2500: Build errors on CentOS4 Message-ID: <5871-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] 1 Idownloaded the tarball: 18:09 [summer at numbat downloads]$ md5sum cups-1.3.0-source.tar.bz2 ae2855d5d1ab5b5fcbb8a2613cefec14 cups-1.3.0-source.tar.bz2 18:10 [summer at numbat downloads]$ I tried to build it: rpmbuild -ta downloads/cups-1.3.0-source.tar.bz2 Compiled okay, but then: Processing files: cups-zh-1.3.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cups = 1:1.3.0 Processing files: cups-php-1.3.0-1 error: File not found by glob: /tmp/cups-root/usr/lib*/php* Processing files: cups-debuginfo-1.3.0-1 Provides: libcups.so.2.debug libcupsimage.so.2.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 I have no ~/.rpmrc or ~.rpmmacros file Link: http://www.cups.org/str.php?L2500 Version: 1.3.0 From b.krumboeck at rewe-group.at Tue Sep 4 11:40:57 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 04 Sep 2007 11:40:57 -0700 Subject: need help, developing driver for brother ql-550 label printer Message-ID: <3676-cups.development@news.easysw.com> > > Having read this post 1 1/2 years after it was placed on this forum I was wondering if you have ever made any progress with this driver for this printer? If so, of if ANYONE has, please post your results? > > Thanks, > > Bob M driver for CUPS: http://etc.nkadesign.com/Printers/QL550LabelPrinterCUPS We use this driver since spring last year. regards! Bernd From gentoo at herakles.homelinux.org Tue Sep 4 18:08:36 2007 From: gentoo at herakles.homelinux.org (JS) Date: Tue, 04 Sep 2007 18:08:36 -0700 Subject: [cups.bugs] [MOD] STR #2500: Build errors on CentOS4 In-Reply-To: <20070904173025.90BFC3C68474@dns.easysw.com> References: <20070904173025.90BFC3C68474@dns.easysw.com> Message-ID: <5872-cups.bugs@news.easysw.com> Michael Sweet wrote: > [STR Closed w/o Resolution] > > General support is not available via the STR form. Please post to the CUPS > forums and/or mailing lists for general support. > > You don't have php-devel installed. then it should be a build-requires it's still a bug. > > Link: http://www.cups.org/str.php?L2500 > Version: 1.3.0 > Fix Version: None > > From gentoo at herakles.homelinux.org Tue Sep 4 19:15:08 2007 From: gentoo at herakles.homelinux.org (JS) Date: Tue, 04 Sep 2007 19:15:08 -0700 Subject: [cups.bugs] [MOD] STR #2500: Build errors on CentOS4 In-Reply-To: <20070904173025.90BFC3C68474@dns.easysw.com> References: <20070904173025.90BFC3C68474@dns.easysw.com> Message-ID: <5873-cups.bugs@news.easysw.com> Michael Sweet wrote: > [STR Closed w/o Resolution] > > General support is not available via the STR form. Please post to the CUPS > forums and/or mailing lists for general support. > > You don't have php-devel installed. > > Link: http://www.cups.org/str.php?L2500 > Version: 1.3.0 > Fix Version: None > > If you add a line like this to the spec file, then it will be immediately apparent to anyone that they need php-devel BuildRequires: php-devel Note that there can be more than that, one can specify a required level or a minimum (or maximum) level of the required software From msweet at apple.com Wed Sep 5 09:44:49 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 05 Sep 2007 09:44:49 -0700 Subject: [cups.bugs] [MOD] STR #2500: Build errors on CentOS4 In-Reply-To: <46DE1122.3000406@herakles.homelinux.org> References: <20070904173025.90BFC3C68474@dns.easysw.com> <46DE1122.3000406@herakles.homelinux.org> Message-ID: <5874-cups.bugs@news.easysw.com> JS wrote: > Michael Sweet wrote: >> [STR Closed w/o Resolution] >> >> General support is not available via the STR form. Please post to the CUPS >> forums and/or mailing lists for general support. >> >> You don't have php-devel installed. >> >> Link: http://www.cups.org/str.php?L2500 >> Version: 1.3.0 >> Fix Version: None >> >> > If you add a line like this to the spec file, then it will be > immediately apparent to anyone that they need php-devel > > BuildRequires: php-devel > > Note that there can be more than that, one can specify a required level > or a minimum (or maximum) level of the required software Thing is, we want to support non-PHP builds with the "standard" RPM spec file, so BuildRequires is not suitable. If you read the top of the spec file you'll notice the following: # Conditional build options (--with name/--without name): # # dbus - Enable/disable DBUS support (default = enable) # php - Enable/disable PHP support (default = enable) Thus, if you don't have php-devel installed and don't want/need PHP support, then you can just use the "--without php" option with rpmbuild. This is mentioned on the download page as well: The spec file supports two options, --without php and --without dbus, that control whether the PHP and DBUS support is compiled into the packages. For example, if you are compiling CUPS 1.2.4 or earlier on Red Hat Enterprise Linux, you will need to provide the --without dbus option since that distribution does not have a compatible version of the DBUS libraries available: rpmbuild -ta cups-version-source.tar.gz --without dbus Similarly, if you don't have the php-devel package installed, use the --without php option to omit the PHP support from the generated RPMs. So, this isn't a bug. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From alastair.mailer at gmail.com Fri Sep 7 08:38:31 2007 From: alastair.mailer at gmail.com (Alastair Mailer) Date: Fri, 07 Sep 2007 08:38:31 -0700 Subject: Problems with Brother printers and the usb:// uri Message-ID: <5875-cups.bugs@news.easysw.com> See this post at Gentoo Linux forums: http://forums.gentoo.org/viewtopic-p-4225198.html After following the instructions at Brother's linux support page: http://solutions.brother.com/linux/en_us/index.html I managed to get my Brother DCP-130C working fine, printing several documents. However, I came back to print today and CUPS throws an error stating that my printer is disconnected and that it'll retry in 30 seconds. I tried deleting the printer and using the CUPS wizard to set it up again, but although CUPS could detect my printer was connected and ran through the wizard fine, upon trying to print a test page I was still in the same situation. I eventually came upon the above post in the Gentoo forums, and the problem was fixed by changing the device URI from "usb://Brother/DCP-130C" to "file:/dev/usb/lp0". This is obviously not ideal, as I had to override the restriction on file uri's in the config file. Have I done something wrong or is this a bug? From mike at easysw.com Fri Sep 7 14:04:33 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 14:04:33 -0700 Subject: [cups.development] [RFE] STR #2436: Web Interface: If there is no PPD for a printer first PPD of the manufacturer is highlighted Message-ID: <3677-cups.development@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2436 Version: 1.4-feature Fix Version: 1.4-current (r6929) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2436.patch URL: From mike at easysw.com Fri Sep 7 17:28:32 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 17:28:32 -0700 Subject: [cups.development] [RFE] STR #2233: Better word than 'Unpublish' when shared printers not published Message-ID: <3678-cups.development@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2233 Version: 1.4-feature Fix Version: 1.4-current (r6930) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2233.patch URL: From mike at easysw.com Fri Sep 7 19:11:50 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 07 Sep 2007 19:11:50 -0700 Subject: Problems with Brother printers and the usb:// uri In-Reply-To: <5875-cups.bugs@news.easysw.com> References: <5875-cups.bugs@news.easysw.com> Message-ID: <5876-cups.bugs@news.easysw.com> Alastair Mailer wrote: > See this post at Gentoo Linux forums: > > http://forums.gentoo.org/viewtopic-p-4225198.html > > After following the instructions at Brother's linux support page: > > http://solutions.brother.com/linux/en_us/index.html > > I managed to get my Brother DCP-130C working fine, printing several documents. However, I came back to print today and CUPS throws an error stating that my printer is disconnected and that it'll retry in 30 seconds. I tried deleting the printer and using the CUPS wizard to set it up again, but although CUPS could detect my printer was connected and ran through the wizard fine, upon trying to print a test page I was still in the same situation. > > I eventually came upon the above post in the Gentoo forums, and the problem was fixed by changing the device URI from "usb://Brother/DCP-130C" to "file:/dev/usb/lp0". This is obviously not ideal, as I had to override the restriction on file uri's in the config file. Have I done something wrong or is this a bug? It is likely a Gentoo Linux bug - probably the HPLIP USB drivers are conflicting with the kernel USB driver. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com From b.krumboeck at rewe-group.at Sat Sep 8 03:33:26 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Sat, 08 Sep 2007 03:33:26 -0700 Subject: [cups.bugs] [MOD] STR #2501: CUPS doesn't compile on HP-UX with Kerberos enabled Message-ID: <5877-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Arch: IA64 System: HP-UX 11.31 Compiler: HP Ansi C/aC++ krb5_context and krb5_ccache are defined in krb5.h, but the header file is not included at the right position. Applied patch should solve this issue. regards! Link: http://www.cups.org/str.php?L2501 Version: 1.3.0 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-krb5-hpux.patch URL: From mike at easysw.com Mon Sep 10 09:46:49 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 10 Sep 2007 09:46:49 -0700 Subject: [cups.bugs] [MOD] STR #2501: CUPS doesn't compile on HP-UX with Kerberos enabled Message-ID: <5878-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2501 Version: 1.3.0 Fix Version: 1.4-current (r6933) From mike at easysw.com Mon Sep 10 10:28:48 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 10 Sep 2007 10:28:48 -0700 Subject: [cups.development] [RFE] STR #2496: Include a "status" option for the cups(stop/start) script for AIX/Solaris. Message-ID: <3679-cups.development@news.easysw.com> [STR Closed w/Resolution] Um, I looked and this is already in 1.3... Link: http://www.cups.org/str.php?L2496 Version: 1.4-feature Fix Version: 1.3.0 From till.kamppeter at gmail.com Mon Sep 10 12:46:52 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Mon, 10 Sep 2007 12:46:52 -0700 Subject: [cups.bugs] [MOD] STR #2502: images do not get automatically rotated to best fitting the paper any more Message-ID: <5879-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I am printing photos with an HP PhotoSmart A717 (portable 5x7-inch photo printer). This printer uses the HPIJS driver so that it comes to the following filter chain: JPG --> imagetops --> pstops --> foomatic-rip --> PCL I supply the options "scaling=100", aligning of the image to the top right, "fitplot", the correct paper size, and the printout mode "1200 dpi, full-bleed". The pictures have 3:2 aspect ratio (DSLR) and the paper, too (4x6 inch paper). Now I expect that the imagetops filter rotates the landscape image by 90 degrees to fill the portrait paper exactly. This was the case with CUPS 1.2.x and earlier, but in 1.3.0 I get the image filling the upper 2.67 inches of the paper on the full width. I have to supply also the option for landscape orientation to make the photo getting rotated correctly. This worked automatically before. Link: http://www.cups.org/str.php?L2502 Version: 1.3.0 From b.krumboeck at rewe-group.at Tue Sep 11 03:24:13 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 11 Sep 2007 03:24:13 -0700 Subject: [cups.bugs] [LOW] STR #2503: misstyped chgrp in Makefile (SSL directory) Message-ID: <5880-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Applied patch should fix the problem. Link: http://www.cups.org/str.php?L2503 Version: 1.3.0 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-chgrp.patch URL: From rajiv.kapur at alliancebernstein.com Tue Sep 11 03:53:56 2007 From: rajiv.kapur at alliancebernstein.com (Rajiv Kapur) Date: Tue, 11 Sep 2007 03:53:56 -0700 Subject: Issues with Cups crashing Samba Message-ID: <5881-cups.bugs@news.easysw.com> Hello Everybody, I was wondering if anyone could help me with the following issue. I have a Solaris 10 server that is running samba and has cups installed. What happens with is that users complain of loss of samba drives/connections so we try to stop and re-start samba, this will not work without killing cups first? Thanks, for your help in advance, Rajiv From b.krumboeck at rewe-group.at Tue Sep 11 04:26:57 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 11 Sep 2007 04:26:57 -0700 Subject: Issues with Cups crashing Samba Message-ID: <5882-cups.bugs@news.easysw.com> Did you check if cups server still responds? Otherwise it sounds like a samba problem to me. regards! Bernd > Hello Everybody, > > I was wondering if anyone could help me with the following issue. > I have a Solaris 10 server that is running samba and has cups installed. What happens with is that users complain of loss of samba drives/connections so we try to stop and re-start samba, this will not work without killing cups first? > > Thanks, for your help in advance, > > Rajiv From b.krumboeck at rewe-group.at Tue Sep 11 04:38:33 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 11 Sep 2007 04:38:33 -0700 Subject: [cups.bugs] [LOW] STR #2503: misstyped chgrp in Makefile (SSL directory) Message-ID: <5883-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Please close. It's a duplicate of STR 2483. Sorry, I try to avoid this next time. Link: http://www.cups.org/str.php?L2503 Version: 1.3.0 From rajiv.kapur at alliancebernstein.com Tue Sep 11 05:02:28 2007 From: rajiv.kapur at alliancebernstein.com (Rajiv Kapur) Date: Tue, 11 Sep 2007 05:02:28 -0700 Subject: Issues with Cups crashing Samba Message-ID: <5884-cups.bugs@news.easysw.com> Thanks! I was unable to check for this since I did a truss on samba then did a kill on the cups process without checking it. I will do this for next time tho. Is there any logs (samba or cups) that we could check to get any more information. Am i right in thinking that we cant use truss or dtrace to collect data as the processes involved that led to the issue have been killed? cheers Rajiv > Did you check if cups server still responds? > Otherwise it sounds like a samba problem to me. > > regards! > Bernd > > > > Hello Everybody, > > > > I was wondering if anyone could help me with the following issue. > > I have a Solaris 10 server that is running samba and has cups installed. What happens with is that users complain of loss of samba drives/connections so we try to stop and re-start samba, this will not work without killing cups first? > > > > Thanks, for your help in advance, > > > > Rajiv > From b.krumboeck at rewe-group.at Tue Sep 11 05:12:31 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 11 Sep 2007 05:12:31 -0700 Subject: [cups.bugs] [LOW] STR #2504: German translation: wrong button filename Message-ID: <5885-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Please rename the filename from button-find-new-printers.gif to button-list-available-printers.gif. The mistake happens in STR #2443: I thought the filename will also change, not only the label. regards! Bernd Link: http://www.cups.org/str.php?L2504 Version: 1.3.0 From sggraham at annaghvarn.plus.com Tue Sep 11 06:20:22 2007 From: sggraham at annaghvarn.plus.com (Steve Graham) Date: Tue, 11 Sep 2007 06:20:22 -0700 Subject: [cups.bugs] [MOD] STR #2505: Set Printer Options not working Message-ID: <5886-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] In the web interface, everything works except "Set Printer Options" which shows only a blank tab (headed "Administration"). The error file shows the following: ----------------------------------------------------------- E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/le: "%s" E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/tions... E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/ct.tmpl" - No such file or directory E [11/Sep/2007:13:46:04 +0100] Bad URI "ecipient-uri" in request! E [11/Sep/2007:13:46:04 +0100] [CGI] Unable to open template file "/usr/share/cups/templates/dmin/?OP=set-printer-options&PRINTER_NAME=%s" - No such file or directory ----------------------------------------------------------- This looks like faulty parsing of something. It occurs with all makes and models of printer that I've tried. My system is Debian. The CUPS release is from the 1.3.0-3 Debian packages. Link: http://www.cups.org/str.php?L2505 Version: 1.3.0 From mike at easysw.com Tue Sep 11 06:47:36 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 11 Sep 2007 06:47:36 -0700 Subject: [cups.bugs] [LOW] STR #2503: misstyped chgrp in Makefile (SSL directory) Message-ID: <5887-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L2503 Version: 1.3.0 Fix Version: 1.3-current From dsharov at mackiev.com Tue Sep 11 07:38:21 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Tue, 11 Sep 2007 07:38:21 -0700 Subject: [cups.bugs] [MOD] STR #2506: ppdc incorrectly handles #include <...> directive with spaces in filename Message-ID: <5888-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] #include will give the following ppdc error: ppdc: Unable to find include file " CUPS: /var/log/cups/error_log SAMBA: /var/log/samba/log.smbd I don't know the paths for solaris, maybe you have to search. Sadly I have no experience with truss and dtrace, so I can't answer your question. Normally you can only analyze with a core file or any other type of trace/dump/log file when you have killed the process. regards! Bernd > Thanks! > > I was unable to check for this since I did a truss on samba then did a kill on the cups process without checking it. I will do this for next time tho. > > Is there any logs (samba or cups) that we could check to get any more information. Am i right in thinking that we cant use truss or dtrace to collect data as the processes involved that led to the issue have been killed? > > cheers > > Rajiv > > > Did you check if cups server still responds? > > Otherwise it sounds like a samba problem to me. > > > > regards! > > Bernd > > > > > > > Hello Everybody, > > > > > > I was wondering if anyone could help me with the following issue. > > > I have a Solaris 10 server that is running samba and has cups installed. What happens with is that users complain of loss of samba drives/connections so we try to stop and re-start samba, this will not work without killing cups first? > > > > > > Thanks, for your help in advance, > > > > > > Rajiv > > > From dsharov at mackiev.com Tue Sep 11 08:32:49 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Tue, 11 Sep 2007 08:32:49 -0700 Subject: [cups.bugs] [LOW] STR #2507: APPrinterPreset attribute's text value does not participate in localization Message-ID: <5890-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] This is a followup to STR #2479. Fix provided for STR #2479 fixed issue with localization gathering, however there is still an issue with localizing/globalizing APPrinterPreset while building ppd file(s) with ppdc. Link: http://www.cups.org/str.php?L2507 Version: 1.2.0 From dsharov at mackiev.com Tue Sep 11 09:58:19 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Tue, 11 Sep 2007 09:58:19 -0700 Subject: #include handling limitations Message-ID: <308-cups.ddk@news.easysw.com> Greetings, I tried to group definitions (like Attribute, CustomMedia, some UI options, etc.) common to several .drv files (say A.drv and B.drv) into another file (say C.drv) replacing them with #include "C.drv" in both A.drv and B.drv (to include those definitions), but failed to create 'same' ppd files after this 'refactoring'. Definitions grouped this way just disappeared from generated ppd files. I looked at ppdc-source.cxx and found that #include is handled just like another {...} block, in other words contents is parsed into a temporary ppdcFile which is then deleted (unless contents included defines PCFileName, ModelName, Manufacturer, Version and at least one page size, if so, a separate ppd file is created). Is this an intended behavior of #include where it just throws away contents of included file, or is this just a bug? If this is intended behavior, is there any other way to share such definitions between .drv files? Thank you in advance. From msweet at apple.com Tue Sep 11 10:03:57 2007 From: msweet at apple.com (Michael R Sweet) Date: Tue, 11 Sep 2007 10:03:57 -0700 Subject: #include handling limitations In-Reply-To: <308-cups.ddk@news.easysw.com> References: <308-cups.ddk@news.easysw.com> Message-ID: <309-cups.ddk@news.easysw.com> Dmitry Sharov wrote: > Greetings, > > I tried to group definitions (like Attribute, CustomMedia, some UI options, etc.) common to several .drv files (say A.drv and B.drv) into another file (say C.drv) replacing them with #include "C.drv" in both A.drv and B.drv (to include those definitions), but failed to create 'same' ppd files after this 'refactoring'. > Definitions grouped this way just disappeared from generated ppd files. > > I looked at ppdc-source.cxx and found that #include is handled just like another {...} block, in other words contents is parsed into a temporary ppdcFile which is then deleted (unless contents included defines PCFileName, ModelName, Manufacturer, Version and at least one page size, if so, a separate ppd file is created). > > Is this an intended behavior of #include where it just throws away contents of included file, or is this just a bug? > If this is intended behavior, is there any other way to share such definitions between .drv files? That's how the feature was designed, but it could be refactored to support "insert here" type behavior. Go ahead and file a feature request - I'll see if we can update it for the next minor release. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From martin.pitt at canonical.com Tue Sep 11 13:20:29 2007 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Tue, 11 Sep 2007 13:20:29 -0700 Subject: [cups.bugs] [MOD] STR #2508: Makefile cleans edit-config.tmpl Message-ID: <5891-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The source tarball ships templates/edit-config.tmpl and templates//edit-config.tmpl, and from what I can see, those files are not regenerated from any other file (.tmpl.in-like). However, the Makefile removes those files on distclean. The effect of this is that a "build/install" sequence installs all the edit-config.tmpl files, but a "build/distclean/build/install" sequence does not. Is this rm'ing in the Makefile obsolete? Link: http://www.cups.org/str.php?L2508 Version: 1.3.0 From zqy2000zqy at 163.com Wed Sep 12 01:26:33 2007 From: zqy2000zqy at 163.com (zqy) Date: Wed, 12 Sep 2007 01:26:33 -0700 Subject: CUPS run on arm cpu Message-ID: <5892-cups.bugs@news.easysw.com> I cross compile CUPS, and run it on arm CPU. But when I started the cupsd,I got the error message "child exited with status 1", seems something is wrong. What's the problom... :) thanks. From johan at anykey.se Wed Sep 12 05:44:22 2007 From: johan at anykey.se (Johan Bernhardsson) Date: Wed, 12 Sep 2007 05:44:22 -0700 Subject: [cups.bugs] [HIGH] STR #2509: ipp backend stopped with status 1 Message-ID: <5893-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] [12/Sep/2007:14:40:27 -0100] PID 1177 (/usr/lib/cups/backend/ipp) stopped with status 1! On hp-ux 11.11 with cups compiled with aCC latest availible We get that the ipp backend is stopped with status 1 on all the jobs that are sent. The printout are ok. But seems a bit slow. When i enabled debug log i dont get any further information on why it is stopped by status1. (and debug2 on these machines generates LOADS of output. We ahve about 1000 queues on two linux servers that the client parses and builds into a class. I will try to investigate this further. /Johan "SmallOne" Bernhardsson Link: http://www.cups.org/str.php?L2509 Version: 1.3.0 From kssingvo at suse.de Wed Sep 12 06:35:49 2007 From: kssingvo at suse.de (kssingvo.suse) Date: Wed, 12 Sep 2007 06:35:49 -0700 Subject: [cups.bugs] [HIGH] STR #2510: cupstestppd fails with misleading message Message-ID: <5894-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Download this PPD file: http://www.linuxprinting.org/download/PPD/Infotec/PS/Infotec-ISC_2432_PS.ppd compress it: gzip -9 Infotec-ISC_2432_PS.ppd run cupstestppd: ----------------------------------------------------------------------- cupstestpppd Infotec-ISC_2432_PS.ppd.gz Infotec-ISC_2432_PS.ppd.gz: FAIL **FAIL** Unable to open PPD file - Missing value string on line 1869. REF: Page 20, section 3.4. ----------------------------------------------------------------------- Well, the issue is not that the file cannot be opened: a specific line number is given, so program is able to open it. I got the feeling that this depends on the size before/after compression and that not enough memory gets allocated for such a compressed file. But I'm not sure. Link: http://www.cups.org/str.php?L2510 Version: 1.3.0 From kssingvo at suse.de Wed Sep 12 06:39:36 2007 From: kssingvo at suse.de (kssingvo.suse) Date: Wed, 12 Sep 2007 06:39:36 -0700 Subject: [cups.bugs] [HIGH] STR #2510: cupstestppd fails with misleading message Message-ID: <5895-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Before I forget to mention: - using file uncompressed, cupstestppd doesn't fail (only a warning) - using files with similar size, produces same error - using files with larger/smaller size doesn't produce that error Link: http://www.cups.org/str.php?L2510 Version: 1.3.0 From kssingvo at suse.de Wed Sep 12 08:03:25 2007 From: kssingvo at suse.de (kssingvo.suse) Date: Wed, 12 Sep 2007 08:03:25 -0700 Subject: [cups.bugs] [HIGH] STR #2510: cupstestppd fails with misleading message Message-ID: <5896-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I noticed that this is 1.2.12 related, and in 1.3.0 fixed. Sorry. Link: http://www.cups.org/str.php?L2510 Version: 1.3.0 From kssingvo at suse.de Wed Sep 12 08:52:40 2007 From: kssingvo at suse.de (kssingvo.suse) Date: Wed, 12 Sep 2007 08:52:40 -0700 Subject: [cups.bugs] [HIGH] STR #2510: cupstestppd fails with misleading message Message-ID: <5897-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Umpf. Sorry. I noticed now, that I accidently overwrote my testfile. :( Issue is still present in 1.3.0. :( Link: http://www.cups.org/str.php?L2510 Version: 1.3.0 From mike at easysw.com Wed Sep 12 09:56:33 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 09:56:33 -0700 Subject: [cups.bugs] [LOW] STR #2509: ipp backend stopped with status 1 Message-ID: <5898-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. Please file bugs only after you have determined there is a bug! Link: http://www.cups.org/str.php?L2509 Version: 1.3.0 Fix Version: None From mike at easysw.com Wed Sep 12 10:01:15 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 10:01:15 -0700 Subject: [cups.bugs] [MOD] STR #2505: Set Printer Options not working Message-ID: <5899-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Dupe of STR #2477, already fixed for the upcoming 1.3.1 release. Link: http://www.cups.org/str.php?L2505 Version: 1.3.0 Fix Version: 1.4-current From mike at easysw.com Wed Sep 12 10:05:42 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 10:05:42 -0700 Subject: [cups.bugs] [LOW] STR #2504: German translation: wrong button filename Message-ID: <5900-cups.bugs@news.easysw.com> [STR Closed w/Resolution] The button image is already renamed to "button-find-new-printers.gif", and that was in 1.3rc1... Link: http://www.cups.org/str.php?L2504 Version: 1.3.0 Fix Version: None From mike at easysw.com Wed Sep 12 10:09:10 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 12 Sep 2007 10:09:10 -0700 Subject: [cups.bugs] [MOD] STR #2508: Makefile cleans edit-config.tmpl Message-ID: <5901-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Sorry, we shouldn't be removing the edit-config.tmpl files. Fixed for 1.3.1... Link: http://www.cups.org/str.php?L2508 Version: 1.3.0 Fix Version: 1.3-current (r6945) From b.krumboeck at rewe-group.at Wed Sep 12 10:50:31 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Wed, 12 Sep 2007 10:50:31 -0700 Subject: [LOW] STR #2504: German translation: wrong buttonfilename Message-ID: <5902-cups.bugs@news.easysw.com> > > [STR Closed w/Resolution] > > The button image is already renamed to "button-find-new-printers.gif", and > that was in 1.3rc1... > > Link: http://www.cups.org/str.php?L2504 > Version: 1.3.0 > Fix Version: None > Then we should change the german template file. ;) regards! Bernd From msweet at apple.com Wed Sep 12 11:04:29 2007 From: msweet at apple.com (Michael R Sweet) Date: Wed, 12 Sep 2007 11:04:29 -0700 Subject: [cups.bugs] [LOW] STR #2504: German translation: wrong buttonfilename In-Reply-To: <5902-cups.bugs@news.easysw.com> References: <5902-cups.bugs@news.easysw.com> Message-ID: <5903-cups.bugs@news.easysw.com> Bernd Krumböck wrote: >> [STR Closed w/Resolution] >> >> The button image is already renamed to "button-find-new-printers.gif", and >> that was in 1.3rc1... >> >> Link: http://www.cups.org/str.php?L2504 >> Version: 1.3.0 >> Fix Version: None >> > > Then we should change the german template file. ;) Already *is* changed - it uses button-find-available-printers.gif. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From k1pfeifle at gmx.net Wed Sep 12 15:04:42 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Wed, 12 Sep 2007 15:04:42 -0700 Subject: CUPS run on arm cpu In-Reply-To: <5892-cups.bugs@news.easysw.com> References: <5892-cups.bugs@news.easysw.com> Message-ID: <5904-cups.bugs@news.easysw.com> zqy wrote: > I cross compile CUPS, and run it on arm CPU. > > But when I started the cupsd,I got the error message "child exited > with status 1", seems something is wrong. > > What's the problom... :) The little amount of hard data about your system/environment/configu- ration that you show to us. -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From zqy2000zqy at 163.com Wed Sep 12 22:29:57 2007 From: zqy2000zqy at 163.com (zqy) Date: Wed, 12 Sep 2007 22:29:57 -0700 Subject: CUPS run on arm cpu Message-ID: <5905-cups.bugs@news.easysw.com> > zqy wrote: > > I cross compile CUPS, and run it on arm CPU. > > > > But when I started the cupsd,I got the error message "child exited > > with status 1", seems something is wrong. > > > > What's the problom... :) > > The little amount of hard data about your system/environment/configu- > ration that you show to us. > > > -- > Kurt Pfeifle > System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS > Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 > A RICOH Company ........................... D-70327 Stuttgart/Germany linux-2.6.8, arm platform. cross compile the CUPS-1.1.23, and put all the bin, lib , sbin, etc, share...directory into the filesystem. when I start the cups using /sbin/cupsd in shell. I got the error message "child exited with status 1", seems something is wrong. I compile it and run it on X86 and it's fine. But cross-compile and run on ARM, there is something wrong. From mike at easysw.com Thu Sep 13 11:28:38 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 13 Sep 2007 11:28:38 -0700 Subject: [cups.bugs] [MOD] STR #2502: images do not get automatically rotated to best fitting the paper any more Message-ID: <5906-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Job 65 has the option "orientation-requested=3", which is forcing portrait printing. Link: http://www.cups.org/str.php?L2502 Version: 1.3.0 Fix Version: None From lebedev at zhtw.org.ru Thu Sep 13 13:40:39 2007 From: lebedev at zhtw.org.ru (Alexey Lebedev) Date: Thu, 13 Sep 2007 13:40:39 -0700 Subject: [cups.bugs] [CRIT] STR #2511: Cups doesn't print with HP LasterJet 1012 on FreeBSD-6.2 amd64 Message-ID: <5907-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I am a freebsd-6.2 user. I installed latest (from ports) version of CUPS (1.2.12) and hplip package. When configuring printer I specified PPD-file /usr/local/share/ppd/HP/HP-LaserJet_1012-hpijs.ppd.gz (exactly my model). Even a test page can't be printed: printer is stopped everytime I try to print enything. I switeched loglevel to debug (as I was told in logfile) and that's what it says: D [14/Sep/2007:00:11:06 +0400] cupsdAcceptClient: 9 from localhost (Domain) D [14/Sep/2007:00:11:06 +0400] cupsdReadClient: 9 POST / HTTP/1.1 D [14/Sep/2007:00:11:06 +0400] cupsdAuthorize: No authentication data provided. D [14/Sep/2007:00:11:06 +0400] CUPS-Get-Printers D [14/Sep/2007:00:11:06 +0400] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [14/Sep/2007:00:11:06 +0400] cupsdReadClient: 9 POST / HTTP/1.1 D [14/Sep/2007:00:11:06 +0400] cupsdAuthorize: No authentication data provided. D [14/Sep/2007:00:11:06 +0400] CUPS-Get-Classes D [14/Sep/2007:00:11:06 +0400] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [14/Sep/2007:00:11:06 +0400] cupsdReadClient: 9 POST / HTTP/1.1 D [14/Sep/2007:00:11:06 +0400] cupsdAuthorize: No authentication data provided. D [14/Sep/2007:00:11:06 +0400] CUPS-Get-Default D [14/Sep/2007:00:11:06 +0400] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [14/Sep/2007:00:11:06 +0400] cupsdCloseClient: 9 D [14/Sep/2007:00:11:06 +0400] cupsdAcceptClient: 9 from localhost (Domain) D [14/Sep/2007:00:11:06 +0400] cupsdReadClient: 9 POST /printers/HPLaserJet1012 HTTP/1.1 D [14/Sep/2007:00:11:06 +0400] cupsdAuthorize: No authentication data provided. D [14/Sep/2007:00:11:07 +0400] Print-Job ipp://localhost/printers/HPLaserJet1012 D [14/Sep/2007:00:11:07 +0400] print_job: auto-typing file... D [14/Sep/2007:00:11:07 +0400] print_job: request file type is application/postscript. D [14/Sep/2007:00:11:07 +0400] add_job: requesting-user-name="avl" I [14/Sep/2007:00:11:07 +0400] Adding start banner page "none" to job 3. D [14/Sep/2007:00:11:07 +0400] Discarding unused job-created event... I [14/Sep/2007:00:11:07 +0400] Adding end banner page "none" to job 3. I [14/Sep/2007:00:11:07 +0400] Job 3 queued on "HPLaserJet1012" by "avl". D [14/Sep/2007:00:11:07 +0400] Job 3 hold_until = 0 D [14/Sep/2007:00:11:07 +0400] Discarding unused printer-state-changed event... D [14/Sep/2007:00:11:07 +0400] job-sheets=none,none D [14/Sep/2007:00:11:07 +0400] banner_page = 0 D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[0]="HPLaserJet1012" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[1]="3" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[2]="avl" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[3]="lena.ps" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[4]="1" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[5]="job-uuid=urn:uuid:902be999-23b1-34ab-470c-65469383dea6" D [14/Sep/2007:00:11:07 +0400] [Job 3] argv[6]="/var/spool/cups/d00003-001" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[1]="CUPS_DATADIR=/usr/local/share/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[7]="CUPS_STATEDIR=/var/run/cups" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[8]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[9]="SERVER_ADMIN=root at samanka.umc8.mai.ru" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[10]="SOFTWARE=CUPS/1.2.12" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[11]="TMPDIR=/var/spool/cups/tmp" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[12]="USER=root" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[13]="CUPS_SERVER=/var/run/cups.sock" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[14]="CUPS_ENCRYPTION=IfRequested" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[15]="IPP_PORT=631" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[16]="CHARSET=utf-8" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[17]="LANG=en_GB" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[18]="PPD=/usr/local/etc/cups/ppd/HPLaserJet1012.ppd" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[19]="RIP_MAX_CACHE=8m" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[20]="CONTENT_TYPE=application/postscript" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[21]="DEVICE_URI=usb:/dev/ulpt0" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[22]="PRINTER=HPLaserJet1012" D [14/Sep/2007:00:11:07 +0400] [Job 3] envp[23]="FINAL_CONTENT_TYPE=printer/HPLaserJet1012" I [14/Sep/2007:00:11:07 +0400] Started filter /usr/local/libexec/cups/filter/pstops (PID 99620) for job 3. I [14/Sep/2007:00:11:07 +0400] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 99621) for job 3. I [14/Sep/2007:00:11:07 +0400] Started backend /usr/local/libexec/cups/backend/usb (PID 99622) for job 3. D [14/Sep/2007:00:11:07 +0400] Discarding unused job-state event... D [14/Sep/2007:00:11:07 +0400] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) E [14/Sep/2007:00:11:07 +0400] PID 99622 (/usr/local/libexec/cups/backend/usb) stopped with status 1! D [14/Sep/2007:00:11:07 +0400] [Job 3] perl: warning: Setting locale failed. D [14/Sep/2007:00:11:07 +0400] [Job 3] perl: warning: Please check that your locale settings: D [14/Sep/2007:00:11:07 +0400] [Job 3] LC_ALL = (unset), D [14/Sep/2007:00:11:07 +0400] [Job 3] LANG = "en_GB" D [14/Sep/2007:00:11:07 +0400] [Job 3] are supported and installed on your system. D [14/Sep/2007:00:11:07 +0400] [Job 3] perl: warning: Falling back to the standard locale ("C"). D [14/Sep/2007:00:11:07 +0400] [Job 3] Page = 595x842; 18,14 to 577,828 D [14/Sep/2007:00:11:07 +0400] [Job 3] slow_collate=0, slow_duplex=0, slow_order=0 D [14/Sep/2007:00:11:07 +0400] [Job 3] Before copy_comments - %!PS-Adobe-3.0 D [14/Sep/2007:00:11:07 +0400] [Job 3] %!PS-Adobe-3.0 D [14/Sep/2007:00:11:07 +0400] [Job 3] %%Creator: cairo 1.4.10 (http://cairographics.org) D [14/Sep/2007:00:11:07 +0400] [Job 3] %%CreationDate: Thu Sep 13 10:57:52 2007 D [14/Sep/2007:00:11:07 +0400] [Job 3] %%Pages: 1 D [14/Sep/2007:00:11:07 +0400] [Job 3] %%BoundingBox: 0 0 420 596 D [14/Sep/2007:00:11:07 +0400] [Job 3] %%DocumentData: Clean7Bit D [14/Sep/2007:00:11:07 +0400] [Job 3] %%LanguageLevel: 2 D [14/Sep/2007:00:11:07 +0400] [Job 3] %%EndComments D [14/Sep/2007:00:11:07 +0400] [Job 3] Before copy_prolog - %%BeginProlog D [14/Sep/2007:00:11:07 +0400] [Job 3] Before copy_setup - % _cairo_ps_surface_emit_font_subsets D [14/Sep/2007:00:11:07 +0400] [Job 3] Before page loop - %%Page: 1 1 D [14/Sep/2007:00:11:07 +0400] [Job 3] Copying page 1... D [14/Sep/2007:00:11:07 +0400] [Job 3] pagew = 559.0, pagel = 813.2 D [14/Sep/2007:00:11:07 +0400] [Job 3] bboxw = 595, bboxl = 842 D [14/Sep/2007:00:11:07 +0400] [Job 3] PageLeft = 18.0, PageRight = 577.0 D [14/Sep/2007:00:11:07 +0400] [Job 3] PageTop = 827.6, PageBottom = 14.4 D [14/Sep/2007:00:11:07 +0400] [Job 3] PageWidth = 595.0, PageLength = 842.0 E [14/Sep/2007:00:11:07 +0400] [Job 3] Unable to open USB device "usb:/dev/ulpt0": Permission denied D [14/Sep/2007:00:11:07 +0400] Discarding unused printer-state-changed event... D [14/Sep/2007:00:11:07 +0400] cupsdCloseClient: 9 D [14/Sep/2007:00:11:07 +0400] [Job 3] foomatic-rip version $Revision$ running... D [14/Sep/2007:00:11:07 +0400] [Job 3] Parsing PPD file ... D [14/Sep/2007:00:11:07 +0400] [Job 3] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option ColorSpace D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option Resolution D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option PageSize D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option PageRegion D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option Model D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option PrintoutMode D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option InputSlot D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option ImageableArea D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option PaperDimension D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option Duplex D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option Quality D [14/Sep/2007:00:11:07 +0400] [Job 3] Added option Font D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] Parameter Summary D [14/Sep/2007:00:11:07 +0400] [Job 3] ----------------- D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] Spooler: cups D [14/Sep/2007:00:11:07 +0400] [Job 3] Printer: HPLaserJet1012 D [14/Sep/2007:00:11:07 +0400] [Job 3] Shell: D [14/Sep/2007:00:11:07 +0400] [Job 3] PPD file: /usr/local/etc/cups/ppd/HPLaserJet1012.ppd D [14/Sep/2007:00:11:07 +0400] [Job 3] ATTR file: D [14/Sep/2007:00:11:07 +0400] [Job 3] Printer model: HP LaserJet 1012 Foomatic/hpijs (recommended) D [14/Sep/2007:00:11:07 +0400] [Job 3] Job title: lena.ps D [14/Sep/2007:00:11:07 +0400] [Job 3] File(s) to be printed: D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] GhostScript extra search path ('GS_LIB'): /usr/local/share/cups/fonts D [14/Sep/2007:00:11:07 +0400] [Job 3] Pondering option 'job-uuid=urn:uuid:902be999-23b1-34ab-470c-65469383dea6' D [14/Sep/2007:00:11:07 +0400] [Job 3] Unknown option job-uuid=urn:uuid:902be999-23b1-34ab-470c-65469383dea6. D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] ================================================ D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] File: D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] ================================================ D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] Reading PostScript input ... D [14/Sep/2007:00:11:07 +0400] [Job 3] --> This document is DSC-conforming! D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] ----------- D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginProlog D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%EndProlog D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] ----------- D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginSetup D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginFeature: *PrintoutMode Normal D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: PrintoutMode=Normal --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: PrintoutMode=Normal --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginFeature: *InputSlot Default D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: InputSlot=Default --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %% FoomaticRIPOptionSetting: InputSlot=Default D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: InputSlot=Default --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginFeature: *Quality FromPrintoutMode D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: Quality=FromPrintoutMode --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: Quality=FromPrintoutMode --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginFeature: *PageRegion A4 D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: PageRegion=A4 --> Option will be set by PostScript interpreter D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %% FoomaticRIPOptionSetting: PageSize=A4 D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: PageSize=A4 --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginFeature: *Duplex None D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: Duplex=None --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %% FoomaticRIPOptionSetting: Duplex=None D [14/Sep/2007:00:11:07 +0400] [Job 3] Option: Duplex=None --> Setting option D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%EndSetup D [14/Sep/2007:00:11:07 +0400] [Job 3] Inserting PostScript code for CUPS' page accounting D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] ----------- D [14/Sep/2007:00:11:07 +0400] [Job 3] New page: 1 1 D [14/Sep/2007:00:11:07 +0400] [Job 3] Inserting option code into "PageSetup" section. D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%BeginPageSetup D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: %%EndPageSetup D [14/Sep/2007:00:11:07 +0400] [Job 3] End of page header D [14/Sep/2007:00:11:07 +0400] [Job 3] Stopping search for page header options D [14/Sep/2007:00:11:07 +0400] [Job 3] Found: Q1:a3uAQbJ-[S=%mKUD:mlf!'p4^\\#==i_-id'EF at ZE6H\),P%Sb.D'!!jqfT1XV=9D$P' D [14/Sep/2007:00:11:07 +0400] [Job 3] --> Output goes directly to the renderer now. D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] Starting renderer D [14/Sep/2007:00:11:07 +0400] [Job 3] renderer PID kid4=99629 D [14/Sep/2007:00:11:07 +0400] [Job 3] JCL: D [14/Sep/2007:00:11:07 +0400] [Job 3] D [14/Sep/2007:00:11:07 +0400] [Job 3] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="hp LaserJet 1012" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- - D [14/Sep/2007:00:11:08 +0400] [Job 3] Wrote 1 pages... D [14/Sep/2007:00:11:08 +0400] PID 99620 (/usr/local/libexec/cups/filter/pstops) exited with no errors. D [14/Sep/2007:00:11:08 +0400] [Job 3] Found: %%Trailer D [14/Sep/2007:00:11:08 +0400] [Job 3] --> Continue DSC parsing now. D [14/Sep/2007:00:11:08 +0400] [Job 3] D [14/Sep/2007:00:11:08 +0400] [Job 3] Found: %%Pages: 1 D [14/Sep/2007:00:11:08 +0400] [Job 3] --> Continue DSC parsing now. D [14/Sep/2007:00:11:08 +0400] [Job 3] D [14/Sep/2007:00:11:08 +0400] [Job 3] Found: %%BoundingBox: 0 0 420 596 D [14/Sep/2007:00:11:08 +0400] [Job 3] --> Continue DSC parsing now. D [14/Sep/2007:00:11:08 +0400] [Job 3] D [14/Sep/2007:00:11:08 +0400] [Job 3] Found: %%EOF D [14/Sep/2007:00:11:08 +0400] [Job 3] --> Continue DSC parsing now. D [14/Sep/2007:00:11:08 +0400] [Job 3] D [14/Sep/2007:00:11:08 +0400] [Job 3] D [14/Sep/2007:00:11:08 +0400] [Job 3] Closing renderer D [14/Sep/2007:00:11:09 +0400] Discarding unused job-progress event... D [14/Sep/2007:00:11:10 +0400] [Job 3] KID3 exited with status 0 D [14/Sep/2007:00:11:10 +0400] [Job 3] Process dying with "error closing *main::STDOUT", exit stat: 9 D [14/Sep/2007:00:11:10 +0400] [Job 3] error: Broken pipe (32) D [14/Sep/2007:00:11:10 +0400] [Job 3] error closing *main::STDOUT D [14/Sep/2007:00:11:10 +0400] [Job 3] KID4 exited with status 9 D [14/Sep/2007:00:11:10 +0400] [Job 3] Renderer exit stat: 9 D [14/Sep/2007:00:11:10 +0400] [Job 3] KID3 finished D [14/Sep/2007:00:11:10 +0400] [Job 3] Renderer process finished D [14/Sep/2007:00:11:10 +0400] [Job 3] Killing process 99628 (KID3) D [14/Sep/2007:00:11:10 +0400] [Job 3] Process dying with "Error closing renderer", exit stat: 9 D [14/Sep/2007:00:11:10 +0400] [Job 3] error: No such file or directory (2) D [14/Sep/2007:00:11:10 +0400] [Job 3] Error closing renderer E [14/Sep/2007:00:11:10 +0400] PID 99621 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 9! D [14/Sep/2007:00:11:10 +0400] [Job 3] File 0 is complete. I [14/Sep/2007:00:11:10 +0400] [Job 3] Backend returned status 1 (failed) D [14/Sep/2007:00:11:10 +0400] Discarding unused printer-state-changed event... D [14/Sep/2007:00:11:10 +0400] Discarding unused printer-state-changed event... I [14/Sep/2007:00:11:10 +0400] Saving printers.conf... D [14/Sep/2007:00:11:10 +0400] Discarding unused job-stopped event... D [14/Sep/2007:00:11:11 +0400] Unloading job 3... Link: http://www.cups.org/str.php?L2511 Version: 1.2.12 From mike at easysw.com Thu Sep 13 13:45:26 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 13 Sep 2007 13:45:26 -0700 Subject: [cups.bugs] [LOW] STR #2511: Cups doesn't print with HP LasterJet 1012 on FreeBSD-6.2 amd64 Message-ID: <5908-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Please contact the linuxprinting.org folks for assistance with Foomatic drivers. We do not support or recommend using Foomatic drivers with CUPS. Link: http://www.cups.org/str.php?L2511 Version: 1.2.12 Fix Version: None From k1pfeifle at gmx.net Fri Sep 14 03:28:41 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 14 Sep 2007 03:28:41 -0700 Subject: CUPS run on arm cpu In-Reply-To: <5905-cups.bugs@news.easysw.com> References: <5905-cups.bugs@news.easysw.com> Message-ID: <5909-cups.bugs@news.easysw.com> zqy wrote: > linux-2.6.8, arm platform. > cross compile the CUPS-1.1.23, and put all the bin, lib , sbin, etc, share...directory into the filesystem. > > when I start the cups using /sbin/cupsd in shell. > I got the error message "child exited with status 1", seems something is wrong. > > I compile it and run it on X86 and it's fine. But cross-compile and run on ARM, there is something wrong. I've no clue about cross-compiling and arm. But I'd set "LogLevel debug" in cupsd.conf and look for the exact error messages in the error_log file. If that doesn't help you, try "LogLevel debug2" -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From twaugh at redhat.com Fri Sep 14 07:58:21 2007 From: twaugh at redhat.com (twaugh.redhat) Date: Fri, 14 Sep 2007 07:58:21 -0700 Subject: [cups.bugs] [LOW] STR #2512: Write printcap every 30s; prevents disk spin-down Message-ID: <5910-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] In process_browse_data(), cupsdWritePrintcap() is called without checking whether it is necessary. In the common case, there is no need to call that function. The reason it is important is that the disk activity of updating the file prevents any power saving from spinning down idle disks. Link: http://www.cups.org/str.php?L2512 Version: 1.3.0 From till.kamppeter at gmail.com Fri Sep 14 07:59:55 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Fri, 14 Sep 2007 07:59:55 -0700 Subject: [cups.bugs] [MOD] STR #2513: New handling of CUPS option defaults in CUPS 1.3 broken Message-ID: <5911-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] See my bug report http://www.cups.org/str.php?L2502 There the imagetops filter did not auto-rotate my image to the landscape rotation because the option setting orientation-requested=3 was applied. But this setting was not applied by me. I checked the options in printers.conf, the PPD file, and in ~/.cups/lpoptions. Then I looked into the CUPS source code to find out whether the CUPS daemon or the CUPS library sets thios options. I have found the following having been added to the scheduler/printers.c file, in the add_printer_defaults() function beginning from CUPS 1.3.0: --------------------------------------------------------------------- if (!CommonDefaults) { CommonDefaults = cupsArrayNew((cups_array_func_t)strcmp, NULL); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("copies-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("document-format-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("finishings-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-hold-until-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-priority-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-sheets-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("media-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("number-up-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("orientation-requested-default")); cupsArrayAdd(CommonDefaults, _cupsStrAlloc("sides-default")); } --------------------------------------------------------------------- which looks like that all options get defaults now. including "orientation-requested". But "orientation-requested" has only the four values to force orientations, no fifth value for auto-selection. So setting one of the four with this default definition makes auto-rotation of images impossible. As a workaround I have commented out the line for "orientation-requested" in the code piece from above: --------------------------------------------------------------------- [...] cupsArrayAdd(CommonDefaults, _cupsStrAlloc("number-up-default")); /* cupsArrayAdd(CommonDefaults, _cupsStrAlloc("orientation-requested-default")); */ cupsArrayAdd(CommonDefaults, _cupsStrAlloc("sides-default")); } --------------------------------------------------------------------- and, recompiled the scheduler and replaced the system's scheduler by this one. Now auto-rotation works for me. Commenting out/removing the lines for options where forcing a default leads to unwished effects is a workaround, better would be to add an "auto" choice to such options and to make this the default. Please check this also with the other options. Link: http://www.cups.org/str.php?L2513 Version: 1.3.0 From dsharov at mackiev.com Sat Sep 15 05:40:45 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Sat, 15 Sep 2007 05:40:45 -0700 Subject: [cups.development] [RFE] STR #2514: CUPS DDK 1.2-current: refactor #include functionality to support "insert here" type behavior Message-ID: <3681-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] This feature request was suggested in the following forum post: http://www.cups.org/newsgroups.php?gcups.ddk+v:309 Link: http://www.cups.org/str.php?L2514 Version: 1.1-feature From richard.ketchersid at gmail.com Sat Sep 15 16:19:13 2007 From: richard.ketchersid at gmail.com (Richard Ketchersid) Date: Sat, 15 Sep 2007 16:19:13 -0700 Subject: Cups + Lexmark E312 = pages of junk Message-ID: <5913-cups.bugs@news.easysw.com> As soon as I start the printer I get pages of @EJL 1284.4 @ EJL .... Nothing I actually want to print will print. I have used cups for years without trouble so something has changed and broke recently. This is Linux/Mandriva Cooker/Cups 1.3/Gutenprint 5.0.1 Printers.conf # Printer configuration file for CUPS v1.3.0 # Written by cupsd on 2007-09-15 12:23 Info LEXMARK Optra E312 Location DeviceURI usb://Lexmark/Optra%20E312 State Idle StateTime 1189873398 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job From b.krumboeck at rewe-group.at Sun Sep 16 00:27:54 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Sun, 16 Sep 2007 00:27:54 -0700 Subject: [LOW] STR #2504: German translation:wrong buttonfilename Message-ID: <5914-cups.bugs@news.easysw.com> > > Already *is* changed - it uses button-find-available-printers.gif. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > Now I believe it. (Found STR #2478) Sorry that I annoyed you. From floeff at arcor.de Sun Sep 16 08:13:23 2007 From: floeff at arcor.de (floeff.arcor) Date: Sun, 16 Sep 2007 08:13:23 -0700 Subject: [cups.bugs] [MOD] STR #2515: /usr/bin/install: too few arguments Message-ID: <5915-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Beginning with 1.3.1 - 1.3.0 worked fine - I can't install CUPS anymore. It gives: # make install Installing in cups... Installing in backend... Installing in berkeley... Installing in cgi-bin... Installing in filter... Installing in locale... /usr/bin/install: too few arguments Try `/usr/bin/install --help' for more information. make[1]: *** [install-languages] Error 1 make: *** [install] Error 1 /usr/bin/install has the following version: # /usr/bin/install --version install (coreutils) 5.2.1 Written by David MacKenzie. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Link: http://www.cups.org/str.php?L2515 Version: 1.3.1 From jfock at abas-projektierung.de Mon Sep 17 03:03:49 2007 From: jfock at abas-projektierung.de (Abas Projektierung) Date: Mon, 17 Sep 2007 03:03:49 -0700 Subject: rpmbuild -ba cups-1.3.1 Message-ID: <5916-cups.bugs@news.easysw.com> + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: cups-1.3.1-1 Provides: LPRng config(cups) = 1:1.3.1-1 lpd lpr Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh config(cups) = 1:1.3.1-1 cups-libs = 1:1.3.1 libacl.so.1 libacl.so.1(ACL_1.0) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libcom_err.so.2 libcrypt.so.1 libcups.so.2 libcupsimage.so.2 libdbus-1.so.0 libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcrypt.so.11 libgnutls.so.11 libgnutls.so.11(GNUTLS_REL_1_0_9) libgpg-error.so.0 libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 libldap-2.2.so.7 libm.so.6 libm.so.6(GLIBC_2.0) libpam.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libresolv.so.2 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libz.so.1 Obsoletes: lpd lpr LPRng Processing files: cups-devel-1.3.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh cups-libs = 1:1.3.1 Processing files: cups-libs-1.3.1-1 Provides: libcups.so.2 libcups1 libcupsimage.so.2 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgnutls.so.11(GNUTLS_REL_1_0_9) libgpg-error.so.0 libgssapi_krb5.so.2 libjpeg.so.62 libk5crypto.so.3 libkrb5.so.3 libm.so.6 libm.so.6(GLIBC_2.0) libpng12.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libresolv.so.2 libtiff.so.3 libz.so.1 Processing files: cups-lpd-1.3.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cups = 1:1.3.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgpg-error.so.0 libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libz.so.1 xinetd Processing files: cups-da-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/da/cups_da.po Processing files: cups-de-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/de/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/de/* Fehler: File not found: /tmp/cups-root/usr/share/locale/de/cups_de.po Processing files: cups-es-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/es/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/es/* Fehler: File not found: /tmp/cups-root/usr/share/locale/es/cups_es.po Processing files: cups-et-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/et/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/et/* Fehler: File not found: /tmp/cups-root/usr/share/locale/et/cups_et.po Processing files: cups-fi-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/fi/cups_fi.po Processing files: cups-fr-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/fr/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/fr/* Fehler: File not found: /tmp/cups-root/usr/share/locale/fr/cups_fr.po Processing files: cups-he-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/he/index.html Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/he/cups.css Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/he/* Fehler: File not found: /tmp/cups-root/usr/share/locale/he/cups_he.po Processing files: cups-it-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/it/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/it/* Fehler: File not found: /tmp/cups-root/usr/share/locale/it/cups_it.po Processing files: cups-ja-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/ja/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/ja/* Fehler: File not found: /tmp/cups-root/usr/share/locale/ja/cups_ja.po Processing files: cups-ko-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/ko/cups_ko.po Processing files: cups-nl-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/nl/cups_nl.po Processing files: cups-no-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/no/cups_no.po Processing files: cups-pl-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/pl/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/pl/* Fehler: File not found: /tmp/cups-root/usr/share/locale/pl/cups_pl.po Processing files: cups-pt-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/pt/cups_pt.po Fehler: File not found: /tmp/cups-root/usr/share/locale/pt_BR/cups_pt_BR.po Fehler: File not found: /tmp/cups-root/usr/share/locale/pt_PT/cups_pt_PT.po Processing files: cups-ru-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/ru/cups_ru.po Processing files: cups-sv-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/sv/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/sv/* Fehler: File not found: /tmp/cups-root/usr/share/locale/sv/cups_sv.po Processing files: cups-zh-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/zh_TW/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/zh_TW/* Fehler: File not found: /tmp/cups-root/usr/share/locale/zh/cups_zh.po Fehler: File not found: /tmp/cups-root/usr/share/locale/zh_TW/cups_zh_TW.po Processing files: cups-php-1.3.1-1 Provides: phpcups.so Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cups-libs = 1:1.3.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgpg-error.so.0 libm.so.6 libpthread.so.0 libz.so.1 Processing files: cups-debuginfo-1.3.1-1 Provides: libcups.so.2.debug libcupsimage.so.2.debug phpcups.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 RPM build errors: File not found: /tmp/cups-root/usr/share/locale/da/cups_da.po File not found: /tmp/cups-root/usr/share/doc/cups/de/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/de/* File not found: /tmp/cups-root/usr/share/locale/de/cups_de.po File not found: /tmp/cups-root/usr/share/doc/cups/es/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/es/* File not found: /tmp/cups-root/usr/share/locale/es/cups_es.po File not found: /tmp/cups-root/usr/share/doc/cups/et/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/et/* File not found: /tmp/cups-root/usr/share/locale/et/cups_et.po File not found: /tmp/cups-root/usr/share/locale/fi/cups_fi.po File not found: /tmp/cups-root/usr/share/doc/cups/fr/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/fr/* File not found: /tmp/cups-root/usr/share/locale/fr/cups_fr.po File not found: /tmp/cups-root/usr/share/doc/cups/he/index.html File not found: /tmp/cups-root/usr/share/doc/cups/he/cups.css File not found by glob: /tmp/cups-root/usr/share/cups/templates/he/* File not found: /tmp/cups-root/usr/share/locale/he/cups_he.po File not found: /tmp/cups-root/usr/share/doc/cups/it/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/it/* File not found: /tmp/cups-root/usr/share/locale/it/cups_it.po File not found: /tmp/cups-root/usr/share/doc/cups/ja/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/ja/* File not found: /tmp/cups-root/usr/share/locale/ja/cups_ja.po File not found: /tmp/cups-root/usr/share/locale/ko/cups_ko.po File not found: /tmp/cups-root/usr/share/locale/nl/cups_nl.po File not found: /tmp/cups-root/usr/share/locale/no/cups_no.po File not found: /tmp/cups-root/usr/share/doc/cups/pl/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/pl/* File not found: /tmp/cups-root/usr/share/locale/pl/cups_pl.po File not found: /tmp/cups-root/usr/share/locale/pt/cups_pt.po File not found: /tmp/cups-root/usr/share/locale/pt_BR/cups_pt_BR.po File not found: /tmp/cups-root/usr/share/locale/pt_PT/cups_pt_PT.po File not found: /tmp/cups-root/usr/share/locale/ru/cups_ru.po File not found: /tmp/cups-root/usr/share/doc/cups/sv/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/sv/* File not found: /tmp/cups-root/usr/share/locale/sv/cups_sv.po File not found: /tmp/cups-root/usr/share/doc/cups/zh_TW/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/zh_TW/* File not found: /tmp/cups-root/usr/share/locale/zh/cups_zh.po File not found: /tmp/cups-root/usr/share/locale/zh_TW/cups_zh_TW.po [root at johann CUPS]# From jfock at abas-projektierung.de Mon Sep 17 03:29:32 2007 From: jfock at abas-projektierung.de (Abas Projektierung) Date: Mon, 17 Sep 2007 03:29:32 -0700 Subject: rpmbuild -ba cups-1.3.1 Message-ID: <5917-cups.bugs@news.easysw.com> + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: cups-1.3.1-1 Provides: LPRng config(cups) = 1:1.3.1-1 lpd lpr Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh config(cups) = 1:1.3.1-1 cups-libs = 1:1.3.1 libacl.so.1 libacl.so.1(ACL_1.0) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libcom_err.so.2 libcrypt.so.1 libcups.so.2 libcupsimage.so.2 libdbus-1.so.0 libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcrypt.so.11 libgnutls.so.11 libgnutls.so.11(GNUTLS_REL_1_0_9) libgpg-error.so.0 libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 libldap-2.2.so.7 libm.so.6 libm.so.6(GLIBC_2.0) libpam.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libresolv.so.2 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libz.so.1 Obsoletes: lpd lpr LPRng Processing files: cups-devel-1.3.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh cups-libs = 1:1.3.1 Processing files: cups-libs-1.3.1-1 Provides: libcups.so.2 libcups1 libcupsimage.so.2 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgnutls.so.11(GNUTLS_REL_1_0_9) libgpg-error.so.0 libgssapi_krb5.so.2 libjpeg.so.62 libk5crypto.so.3 libkrb5.so.3 libm.so.6 libm.so.6(GLIBC_2.0) libpng12.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libresolv.so.2 libtiff.so.3 libz.so.1 Processing files: cups-lpd-1.3.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cups = 1:1.3.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgpg-error.so.0 libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) libz.so.1 xinetd Processing files: cups-da-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/da/cups_da.po Processing files: cups-de-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/de/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/de/* Fehler: File not found: /tmp/cups-root/usr/share/locale/de/cups_de.po Processing files: cups-es-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/es/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/es/* Fehler: File not found: /tmp/cups-root/usr/share/locale/es/cups_es.po Processing files: cups-et-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/et/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/et/* Fehler: File not found: /tmp/cups-root/usr/share/locale/et/cups_et.po Processing files: cups-fi-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/fi/cups_fi.po Processing files: cups-fr-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/fr/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/fr/* Fehler: File not found: /tmp/cups-root/usr/share/locale/fr/cups_fr.po Processing files: cups-he-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/he/index.html Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/he/cups.css Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/he/* Fehler: File not found: /tmp/cups-root/usr/share/locale/he/cups_he.po Processing files: cups-it-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/it/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/it/* Fehler: File not found: /tmp/cups-root/usr/share/locale/it/cups_it.po Processing files: cups-ja-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/ja/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/ja/* Fehler: File not found: /tmp/cups-root/usr/share/locale/ja/cups_ja.po Processing files: cups-ko-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/ko/cups_ko.po Processing files: cups-nl-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/nl/cups_nl.po Processing files: cups-no-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/no/cups_no.po Processing files: cups-pl-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/pl/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/pl/* Fehler: File not found: /tmp/cups-root/usr/share/locale/pl/cups_pl.po Processing files: cups-pt-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/pt/cups_pt.po Fehler: File not found: /tmp/cups-root/usr/share/locale/pt_BR/cups_pt_BR.po Fehler: File not found: /tmp/cups-root/usr/share/locale/pt_PT/cups_pt_PT.po Processing files: cups-ru-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/locale/ru/cups_ru.po Processing files: cups-sv-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/sv/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/sv/* Fehler: File not found: /tmp/cups-root/usr/share/locale/sv/cups_sv.po Processing files: cups-zh-1.3.1-1 Fehler: File not found: /tmp/cups-root/usr/share/doc/cups/zh_TW/index.html Fehler: File not found by glob: /tmp/cups-root/usr/share/cups/templates/zh_TW/* Fehler: File not found: /tmp/cups-root/usr/share/locale/zh/cups_zh.po Fehler: File not found: /tmp/cups-root/usr/share/locale/zh_TW/cups_zh_TW.po Processing files: cups-php-1.3.1-1 Provides: phpcups.so Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cups-libs = 1:1.3.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libcrypt.so.1 libcups.so.2 libgcrypt.so.11 libgnutls.so.11 libgpg-error.so.0 libm.so.6 libpthread.so.0 libz.so.1 Processing files: cups-debuginfo-1.3.1-1 Provides: libcups.so.2.debug libcupsimage.so.2.debug phpcups.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 RPM build errors: File not found: /tmp/cups-root/usr/share/locale/da/cups_da.po File not found: /tmp/cups-root/usr/share/doc/cups/de/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/de/* File not found: /tmp/cups-root/usr/share/locale/de/cups_de.po File not found: /tmp/cups-root/usr/share/doc/cups/es/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/es/* File not found: /tmp/cups-root/usr/share/locale/es/cups_es.po File not found: /tmp/cups-root/usr/share/doc/cups/et/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/et/* File not found: /tmp/cups-root/usr/share/locale/et/cups_et.po File not found: /tmp/cups-root/usr/share/locale/fi/cups_fi.po File not found: /tmp/cups-root/usr/share/doc/cups/fr/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/fr/* File not found: /tmp/cups-root/usr/share/locale/fr/cups_fr.po File not found: /tmp/cups-root/usr/share/doc/cups/he/index.html File not found: /tmp/cups-root/usr/share/doc/cups/he/cups.css File not found by glob: /tmp/cups-root/usr/share/cups/templates/he/* File not found: /tmp/cups-root/usr/share/locale/he/cups_he.po File not found: /tmp/cups-root/usr/share/doc/cups/it/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/it/* File not found: /tmp/cups-root/usr/share/locale/it/cups_it.po File not found: /tmp/cups-root/usr/share/doc/cups/ja/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/ja/* File not found: /tmp/cups-root/usr/share/locale/ja/cups_ja.po File not found: /tmp/cups-root/usr/share/locale/ko/cups_ko.po File not found: /tmp/cups-root/usr/share/locale/nl/cups_nl.po File not found: /tmp/cups-root/usr/share/locale/no/cups_no.po File not found: /tmp/cups-root/usr/share/doc/cups/pl/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/pl/* File not found: /tmp/cups-root/usr/share/locale/pl/cups_pl.po File not found: /tmp/cups-root/usr/share/locale/pt/cups_pt.po File not found: /tmp/cups-root/usr/share/locale/pt_BR/cups_pt_BR.po File not found: /tmp/cups-root/usr/share/locale/pt_PT/cups_pt_PT.po File not found: /tmp/cups-root/usr/share/locale/ru/cups_ru.po File not found: /tmp/cups-root/usr/share/doc/cups/sv/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/sv/* File not found: /tmp/cups-root/usr/share/locale/sv/cups_sv.po File not found: /tmp/cups-root/usr/share/doc/cups/zh_TW/index.html File not found by glob: /tmp/cups-root/usr/share/cups/templates/zh_TW/* File not found: /tmp/cups-root/usr/share/locale/zh/cups_zh.po File not found: /tmp/cups-root/usr/share/locale/zh_TW/cups_zh_TW.po [root at johann CUPS]# System is RHEL4 ES Linux johann.abas-projektierung.de 2.6.9-55.0.6.EL #1 Thu Aug 23 10:59:21 EDT 2007 i686 i686 i386 GNU/Linux From jfock at abas-projektierung.de Mon Sep 17 03:43:17 2007 From: jfock at abas-projektierung.de (Abas Projektierung) Date: Mon, 17 Sep 2007 03:43:17 -0700 Subject: rpmbuild -ta cups-1.4svn-r6956-source.tar.gz Message-ID: <5918-cups.bugs@news.easysw.com> -rw-r--r-- mike/mike 6298 2007-07-11 23:46:42 cups-1.4svn-r6956/conf/mime.types -rw-r--r-- mike/mike 280 2004-02-26 17:59:02 cups-1.4svn-r6956/conf/pam.darwin -rw-r--r-- mike/mike 87 2002-08-30 22:58:22 cups-1.4svn-r6956/conf/pam.irix -rw-r--r-- mike/mike 4550 2007-08-02 19:58:59 cups-1.4svn-r6956/conf/mime.convs.in -rw-r--r-- mike/mike 191 2007-07-06 01:20:55 cups-1.4svn-r6956/conf/snmp.conf.in -rw-r--r-- mike/mike 63 2004-02-26 17:59:02 cups-1.4svn-r6956/conf/pam.std.in -rw-r--r-- mike/mike 2618 2007-07-25 02:40:03 cups-1.4svn-r6956/conf/cupsd.conf.in -rw-r--r-- mike/mike 2118 2007-07-11 23:46:42 cups-1.4svn-r6956/conf/Makefile -rw-r--r-- mike/mike 6672 2007-07-18 21:49:45 cups-1.4svn-r6956/Makedefs.indrwxr-xr-x mike/mike 0 2007-09-14 15:00:24 cups-1.4svn-r6956/driver/ -rw-r--r-- mike/mike 4911 2007-07-11 23:46:42 cups-1.4svn-r6956/driver/testdriver.c -rw-r--r-- mike/mike 5908 2007-08-13 22:09:45 cups-1.4svn-r6956/README.txt drwxr-xr-x mike/mike 0 2007-09-14 15:00:52 cups-1.4svn-r6956/monitor/ -rw-r--r-- mike/mike 5798 2007-08-16 20:28:44 cups-1.4svn-r6956/monitor/bcp.c -rw-r--r-- mike/mike 374 2007-07-13 07:08:07 cups-1.4svn-r6956/monitor/Dependencies -rw-r--r-- mike/mike 1767 2007-07-11 23:46:42 cups-1.4svn-r6956/monitor/Makefile -rw-r--r-- mike/mike 5401 2007-08-16 20:28:44 cups-1.4svn-r6956/monitor/tbcp.c drwxr-xr-x mike/mike 0 2007-09-14 15:00:54 cups-1.4svn-r6956/scheduler/ -rw-r--r-- mike/mike 7242 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/testdirsvc.c -rw-r--r-- mike/mike 1428 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/network.h -rw-r--r-- mike/mike 6866 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/testspeed.c -rw-r--r-- mike/mike 5289 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/env.c -rw-r--r-- mike/mike 4447 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/banners.c -rw-r--r-- mike/mike 5335 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/util.c -rw-r--r-- mike/mike 9950 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/cert.c -rw-r--r-- mike/mike 1416 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/util.h -rw-r--r-- mike/mike 4863 2007-08-01 21:02:47 cups-1.4svn-r6956/scheduler/job.h -rw-r--r-- mike/mike 68753 2007-09-12 23:09:49 cups-1.4svn-r6956/scheduler/auth.c -rw-r--r-- mike/mike 6635 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/statbuf.c -rw-r--r-- mike/mike 4608 2007-09-12 23:09:49 cups-1.4svn-r6956/scheduler/client.h -rw-r--r-- mike/mike 1345 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/classes.h -rw-r--r-- mike/mike 1364 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/statbuf.h -rw-r--r-- mike/mike 13952 2007-07-19 23:02:36 cups-1.4svn-r6956/scheduler/cups-deviced.c -rw-r--r-- mike/mike 4886 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/mime.h -rw-r--r-- mike/mike 98714 2007-08-29 23:25:06 cups-1.4svn-r6956/scheduler/job.c -rw-r--r-- mike/mike 20508 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/sysman.c -rw-r--r-- mike/mike 22551 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/classes.c -rw-r--r-- mike/mike 1093 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/banners.h -rw-r--r-- mike/mike 4639 2007-07-19 01:52:15 cups-1.4svn-r6956/scheduler/removefile.c -rw-r--r-- mike/mike 5946 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/subscriptions.h -rw-r--r-- mike/mike 7657 2007-08-10 21:48:57 cups-1.4svn-r6956/scheduler/process.c -rw-r--r-- mike/mike 7385 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/conf.h -rw-r--r-- mike/mike 273960 2007-09-12 23:29:56 cups-1.4svn-r6956/scheduler/ipp.c -rw-r--r-- mike/mike 28047 2007-08-29 22:26:50 cups-1.4svn-r6956/scheduler/cupsfilter.c -rw-r--r-- mike/mike 7987 2007-08-30 02:09:27 cups-1.4svn-r6956/scheduler/policy.c -rw-r--r-- mike/mike 40276 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/subscriptions.c -rw-r--r-- mike/mike 99209 2007-09-08 02:28:06 cups-1.4svn-r6956/scheduler/dirsvc.c -rw-r--r-- mike/mike 5056 2007-08-08 22:50:42 cups-1.4svn-r6956/scheduler/auth.h -rw-r--r-- mike/mike 5563 2007-08-28 01:25:06 cups-1.4svn-r6956/scheduler/cupsd.h -rw-r--r-- mike/mike 9411 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/filter.c -rw-r--r-- mike/mike 45156 2007-08-02 20:05:03 cups-1.4svn-r6956/scheduler/cups-driverd.c -rw-r--r-- mike/mike 9904 2007-08-13 19:20:14 cups-1.4svn-r6956/scheduler/listen.c -rw-r--r-- mike/mike 117893 2007-08-15 20:36:14 cups-1.4svn-r6956/scheduler/client.c -rw-r--r-- mike/mike 26558 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/select.c -rw-r--r-- mike/mike 3864 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/server.c -rw-r--r-- mike/mike 1085 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/sysman.h -rw-r--r-- mike/mike 1433 2007-08-30 02:09:27 cups-1.4svn-r6956/scheduler/policy.h -rw-r--r-- mike/mike 26917 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/type.c -rw-r--r-- mike/mike 1386 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/cert.h -rw-r--r-- mike/mike 14232 2007-07-13 07:08:07 cups-1.4svn-r6956/scheduler/Dependencies -rw-r--r-- mike/mike 11872 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/cups-polld.c -rw-r--r-- mike/mike 13991 2007-08-28 01:25:06 cups-1.4svn-r6956/scheduler/log.c -rw-r--r-- mike/mike 8161 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/testmime.c -rw-r--r-- mike/mike 6497 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/printers.h -rw-r--r-- mike/mike 40983 2007-08-08 23:09:31 cups-1.4svn-r6956/scheduler/cups-lpd.c -rw-r--r-- mike/mike 87899 2007-09-08 02:28:06 cups-1.4svn-r6956/scheduler/conf.c -rw-r--r-- mike/mike 5108 2007-09-08 02:28:06 cups-1.4svn-r6956/scheduler/dirsvc.h -rw-r--r-- mike/mike 12927 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/testsub.c -rw-r--r-- mike/mike 16702 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/mime.c -rw-r--r-- mike/mike 2680 2007-06-19 01:40:38 cups-1.4svn-r6956/scheduler/cupsd.order -rw-r--r-- mike/mike 98967 2007-09-08 02:28:06 cups-1.4svn-r6956/scheduler/printers.c -rw-r--r-- mike/mike 7394 2007-08-16 20:42:49 cups-1.4svn-r6956/scheduler/Makefile -rw-r--r-- mike/mike 7694 2007-07-11 23:46:42 cups-1.4svn-r6956/scheduler/network.c -rw-r--r-- mike/mike 6032 2007-09-12 23:09:49 cups-1.4svn-r6956/scheduler/quotas.c -rw-r--r-- mike/mike 12296 2007-08-13 21:52:43 cups-1.4svn-r6956/scheduler/testlpd.c -rw-r--r-- mike/mike 44508 2007-09-05 23:05:04 cups-1.4svn-r6956/scheduler/main.c -rw-r--r-- mike/mike 1237 2007-09-08 02:28:06 cups-1.4svn-r6956/CHANGES.txtdrwxr-xr-x mike/mike 0 2007-09-14 15:00:37 cups-1.4svn-r6956/cups/ -rw-r--r-- mike/mike 29943 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/http-support.c -rw-r--r-- mike/mike 2704 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testadmin.c -rw-r--r-- mike/mike 18468 2007-07-25 19:19:09 cups-1.4svn-r6956/cups/http.h-rw-r--r-- mike/mike 10196 2007-08-27 23:13:35 cups-1.4svn-r6956/cups/cups.h-rw-r--r-- mike/mike 3326 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/file.h-rw-r--r-- mike/mike 3878 2007-07-24 02:13:05 cups-1.4svn-r6956/cups/globals.h -rw-r--r-- mike/mike 23904 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/emit.c-rw-r--r-- mike/mike 3650 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/attr.c-rw-r--r-- mike/mike 12905 2007-08-29 22:26:50 cups-1.4svn-r6956/cups/request.c -rw-r--r-- mike/mike 17605 2007-09-10 23:18:02 cups-1.4svn-r6956/cups/mark.c-rw-r--r-- mike/mike 8369 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-filter.shtml -rw-r--r-- mike/mike 3291 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/sidechannel.h -rw-r--r-- mike/mike 5879 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/getifaddrs.c -rw-r--r-- mike/mike 14921 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testhttp.c -rw-r--r-- mike/mike 47586 2007-08-27 23:13:35 cups-1.4svn-r6956/cups/util.c-rw-r--r-- mike/mike 40760 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/file.c-rw-r--r-- mike/mike 13642 2007-08-29 23:05:10 cups-1.4svn-r6956/cups/localize.c -rw-r--r-- mike/mike 5347 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/notify.c -rw-r--r-- mike/mike 17906 2007-08-08 21:49:48 cups-1.4svn-r6956/cups/auth.c-rw-r--r-- mike/mike 36343 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/transcode.c -rw-r--r-- mike/mike 3476 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/string.h -rw-r--r-- mike/mike 16367 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/encode.c -rw-r--r-- mike/mike 71164 2007-07-25 22:39:33 cups-1.4svn-r6956/cups/http.c-rwxr-xr-x mike/mike 39 2007-06-19 01:40:38 cups-1.4svn-r6956/cups/libcups.order -rw-r--r-- mike/mike 549 2006-11-15 15:11:23 cups-1.4svn-r6956/cups/libcups_s.exp -rw-r--r-- mike/mike 13190 2007-08-20 22:09:25 cups-1.4svn-r6956/cups/http-addr.c -rw-r--r-- mike/mike 8677 2007-09-10 18:45:59 cups-1.4svn-r6956/cups/http-private.h -rw-r--r-- mike/mike 12566 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testi18n.c -rw-r--r-- mike/mike 5354 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/langprintf.c -rw-r--r-- mike/mike 1269 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/debug.h -rw-r--r-- mike/mike 3290 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/i18n.h-rw-r--r-- mike/mike 8371 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/dir.c -rw-r--r-- mike/mike 9852 2007-09-10 20:15:36 cups-1.4svn-r6956/cups/testppd.c -rw-r--r-- mike/mike 15760 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/ppd.h -rw-r--r-- mike/mike 69771 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/ipp.c -rw-r--r-- mike/mike 2319 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-filedir.shtml -rw-r--r-- mike/mike 3043 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testlang.c -rw-r--r-- mike/mike 2134 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/transcode.h -rw-r--r-- mike/mike 1543 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-ppd.shtml -rw-r--r-- mike/mike 13841 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/http-addrlist.c -rw-r--r-- mike/mike 9550 2007-07-25 02:40:03 cups-1.4svn-r6956/cups/getputfile.c -rw-r--r-- mike/mike 1524 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/ipp-private.h -rw-r--r-- mike/mike 7620 2007-08-15 20:02:26 cups-1.4svn-r6956/cups/test.ppd -rw-r--r-- mike/mike 20705 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/array.c -rw-r--r-- mike/mike 2607 2006-03-05 18:59:19 cups-1.4svn-r6956/cups/md5.h -rw-r--r-- mike/mike 1124 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/md5-apple.h -rw-r--r-- mike/mike 5366 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/tempfile.c -rw-r--r-- mike/mike 1687 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-cups.shtml -rw-r--r-- mike/mike 1366 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/backend.h -rw-r--r-- mike/mike 10135 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testarray.c -rw-r--r-- mike/mike 1431 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/dir.h -rw-r--r-- mike/mike 15967 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testipp.c -rw-r--r-- mike/mike 3121 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/custom.c -rw-r--r-- mike/mike 66767 2007-09-08 02:28:06 cups-1.4svn-r6956/cups/adminutil.c -rw-r--r-- mike/mike 33506 2007-09-05 23:14:08 cups-1.4svn-r6956/cups/language.c -rw-r--r-- mike/mike 2481 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/array.h -rw-r--r-- mike/mike 7566 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/snprintf.c -rw-r--r-- mike/mike 18530 2007-09-11 01:00:33 cups-1.4svn-r6956/cups/options.c -rw-r--r-- mike/mike 3832 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/md5passwd.c -rw-r--r-- mike/mike 9880 2007-08-29 22:26:50 cups-1.4svn-r6956/cups/ipp-support.c -rw-r--r-- mike/mike 9971 2006-03-05 18:59:19 cups-1.4svn-r6956/cups/md5.c -rw-r--r-- mike/mike 20363 2007-07-13 07:08:07 cups-1.4svn-r6956/cups/Dependencies -rw-r--r-- mike/mike 3144 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testcups.c -rw-r--r-- mike/mike 14589 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/string.c -rw-r--r-- mike/mike 4732 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/globals.c -rw-r--r-- mike/mike 4943 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/page.c-rw-r--r-- mike/mike 1542 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/backend.c -rw-r--r-- mike/mike 1562 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-httpipp.shtml -rw-r--r-- mike/mike 2193 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/adminutil.h -rw-r--r-- mike/mike 8707 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/testfile.c -rw-r--r-- mike/mike 75434 2007-09-10 23:13:31 cups-1.4svn-r6956/cups/ppd.c -rw-r--r-- mike/mike 11093 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/usersys.c -rw-r--r-- mike/mike 4431 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/backchannel.c -rw-r--r-- mike/mike 4678 2007-08-27 23:13:35 cups-1.4svn-r6956/cups/libcups.exp -rw-r--r-- mike/mike 1644 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/api-array.shtml -rw-r--r-- mike/mike 10072 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/Makefile -rw-r--r-- mike/mike 14037 2002-09-26 19:14:28 cups-1.4svn-r6956/cups/utf8demo.txt -rw-r--r-- mike/mike 32932 2007-09-11 01:00:33 cups-1.4svn-r6956/cups/dest.c-rw-r--r-- mike/mike 3576 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/language.h -rw-r--r-- mike/mike 8756 2007-07-11 23:46:42 cups-1.4svn-r6956/cups/sidechannel.c -rw-r--r-- mike/mike 20115 2007-08-29 22:26:50 cups-1.4svn-r6956/cups/ipp.h -rw-r--r-- mike/mike 5749 2007-08-13 22:09:45 cups-1.4svn-r6956/INSTALL.txtdrwxr-xr-x mike/mike 0 2007-09-14 15:00:16 cups-1.4svn-r6956/ppd/ -rw-r--r-- mike/mike 24761 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/dymo.ppd -rw-r--r-- mike/mike 36602 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/laserjet.ppd -rw-r--r-- mike/mike 20042 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/stcolor2.ppd -rw-r--r-- mike/mike 14929 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/epson9.ppd -rw-r--r-- mike/mike 35952 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/generpcl.ppd -rw-r--r-- mike/mike 70917 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/zebraep2.ppd -rw-r--r-- mike/mike 16375 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/epson24.ppd -rw-r--r-- mike/mike 65262 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/zebraep1.ppd -rw-r--r-- mike/mike 20043 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/stphoto2.ppd -rw-r--r-- mike/mike 34458 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/deskjet.ppd -rw-r--r-- mike/mike 14797 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/okidata9.ppd -rw-r--r-- mike/mike 16109 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/okidat24.ppd -rw-r--r-- mike/mike 41664 2007-08-20 19:31:47 cups-1.4svn-r6956/ppd/sample.drv -rw-r--r-- mike/mike 30315 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/generic.ppd -rw-r--r-- mike/mike 19832 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/stcolor.ppd -rw-r--r-- mike/mike 59892 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/intelbar.ppd -rw-r--r-- mike/mike 153876 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/zebra.ppd -rw-r--r-- mike/mike 1449 2007-08-20 19:35:06 cups-1.4svn-r6956/ppd/Makefile -rw-r--r-- mike/mike 75850 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/zebracpl.ppd -rw-r--r-- mike/mike 19833 2007-08-22 20:44:43 cups-1.4svn-r6956/ppd/stphoto.ppd -rw-r--r-- mike/mike 2565 2007-09-10 18:43:04 cups-1.4svn-r6956/CREDITS.txt-rw-r--r-- mike/mike 9394 2007-08-30 08:11:59 cups-1.4svn-r6956/Makefile -rw-r--r-- mike/mike 13302 2007-09-14 00:42:50 cups-1.4svn-r6956/CHANGES-1.3.txt drwxr-xr-x mike/mike 0 2007-09-14 15:00:24 cups-1.4svn-r6956/locale/ -rw-r--r-- mike/mike 89028 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_es.po -rw-r--r-- mike/mike 89202 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_fr.po -rw-r--r-- mike/mike 85024 2007-08-08 19:43:14 cups-1.4svn-r6956/locale/cups_fi.po -rw-r--r-- mike/mike 1007 1999-02-10 19:43:52 cups-1.4svn-r6956/locale/locale.txt -rw-r--r-- mike/mike 81771 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_no.po -rw-r--r-- mike/mike 111971 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_zh_TW.po -rw-r--r-- mike/mike 79731 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_et.po -rw-r--r-- mike/mike 104164 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_ja.po -rw-r--r-- mike/mike 85960 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_de.po -rw-r--r-- mike/mike 85086 2007-09-06 16:18:46 cups-1.4svn-r6956/locale/cups_pt.po -rw-r--r-- mike/mike 23 2006-01-07 16:42:49 cups-1.4svn-r6956/locale/cups.footer -rw-r--r-- mike/mike 89448 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_zh.po -rw-r--r-- mike/mike 85160 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_it.po -rw-r--r-- mike/mike 101526 2007-08-07 19:19:00 cups-1.4svn-r6956/locale/cups_ru.po -rw-r--r-- mike/mike 3555 2007-09-06 15:38:37 cups-1.4svn-r6956/locale/strings2po.c -rw-r--r-- mike/mike 538 2007-07-11 23:46:42 cups-1.4svn-r6956/locale/cups.header -rw-r--r-- mike/mike 346 2007-07-13 07:08:07 cups-1.4svn-r6956/locale/Dependencies -rw-r--r-- mike/mike 83150 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_da.po -rw-r--r-- mike/mike 84115 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_he.po -rw-r--r-- mike/mike 2766 2007-09-06 15:38:37 cups-1.4svn-r6956/locale/po2strings.c -rw-r--r-- mike/mike 7670 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/checkpo.c -rw-r--r-- mike/mike 81164 2007-07-27 23:55:31 cups-1.4svn-r6956/locale/cups.pot -rw-r--r-- mike/mike 96313 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_ko.po -rw-r--r-- mike/mike 83820 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_sv.po -rw-r--r-- mike/mike 85314 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_pl.po -rw-r--r-- mike/mike 86440 2007-09-06 16:18:02 cups-1.4svn-r6956/locale/cups_pt_BR.po -rw-r--r-- mike/mike 9575 2007-09-06 15:38:37 cups-1.4svn-r6956/locale/translate.c -rw-r--r-- mike/mike 3384 2007-09-06 02:17:01 cups-1.4svn-r6956/locale/Makefile -rw-r--r-- mike/mike 85603 2007-08-08 19:43:14 cups-1.4svn-r6956/locale/cups_nl.po -rw-r--r-- mike/mike 48877 2007-07-11 23:46:42 cups-1.4svn-r6956/LICENSE.txt-rw-r--r-- mike/mike 8131 2007-09-08 02:28:06 cups-1.4svn-r6956/config.h.indrwxr-xr-x mike/mike 0 2007-09-14 15:00:41 cups-1.4svn-r6956/test/ -rw-r--r-- mike/mike 512 2007-05-03 22:07:14 cups-1.4svn-r6956/test/get-ppds-psversion.test -rw-r--r-- mike/mike 504 2007-05-03 22:07:14 cups-1.4svn-r6956/test/get-ppds-product.test -rw-r--r-- mike/mike 520 2007-05-03 22:07:14 cups-1.4svn-r6956/test/get-ppds-language.test -rwxr-xr-x mike/mike 14027 2007-07-11 23:46:42 cups-1.4svn-r6956/test/run-stp-tests.sh -rw-r--r-- mike/mike 5914 2007-03-21 15:57:22 cups-1.4svn-r6956/test/4.2-cups-printer-ops.test -rw-r--r-- mike/mike 17352 2007-07-11 23:46:42 cups-1.4svn-r6956/test/testfile.ps -rw-r--r-- mike/mike 978 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.8-cancel.sh -rw-r--r-- mike/mike 492 2007-05-03 22:07:14 cups-1.4svn-r6956/test/get-ppds-make.test -rw-r--r-- mike/mike 774 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.3-lpq.sh -rw-r--r-- mike/mike 432 2007-06-07 03:19:07 cups-1.4svn-r6956/test/get-jobs.test -rw-r--r-- mike/mike 1167 2001-01-29 18:35:08 cups-1.4svn-r6956/test/create-job-sheets.test -rw-r--r-- mike/mike 571 2001-01-29 18:35:08 cups-1.4svn-r6956/test/get-job-attributes2.test -rw-r--r-- mike/mike 1117 2007-06-21 23:30:49 cups-1.4svn-r6956/test/create-job.test -rw-r--r-- mike/mike 2910 2001-03-01 21:40:17 cups-1.4svn-r6956/test/4.1-requests.test -rw-r--r-- mike/mike 733 2007-07-11 23:46:42 cups-1.4svn-r6956/test/str-header.html -rw-r--r-- mike/mike 1321 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.1-lpadmin.sh -rw-r--r-- mike/mike 446 2007-05-02 01:06:44 cups-1.4svn-r6956/test/get-ppd.test -rw-r--r-- mike/mike 422 2006-02-10 05:06:23 cups-1.4svn-r6956/test/get-printers.test -rw-r--r-- mike/mike 719 2001-01-29 18:35:08 cups-1.4svn-r6956/test/print-job-hold.test -rw-r--r-- mike/mike 1227 2007-06-21 23:30:49 cups-1.4svn-r6956/test/create-job-timeout.test -rw-r--r-- mike/mike 960 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.7-lprm.sh -rw-r--r-- mike/mike 21659 2007-07-11 23:46:42 cups-1.4svn-r6956/test/ipptest.c -rw-r--r-- mike/mike 9001 2007-07-11 23:46:42 cups-1.4svn-r6956/test/testps.ppd -rw-r--r-- mike/mike 454 2001-01-29 18:35:08 cups-1.4svn-r6956/test/get-devices.test -rw-r--r-- mike/mike 663 2001-01-29 18:35:08 cups-1.4svn-r6956/test/print-job.test -rw-r--r-- mike/mike 3568 2001-01-29 18:35:08 cups-1.4svn-r6956/test/set-attrs-hold.test -rw-r--r-- mike/mike 80513 2007-07-11 23:46:42 cups-1.4svn-r6956/test/testfile.pdf -rw-r--r-- mike/mike 241 2007-07-13 07:08:07 cups-1.4svn-r6956/test/Dependencies -rw-r--r-- mike/mike 449 2001-01-29 18:35:08 cups-1.4svn-r6956/test/get-ppds.test -rw-r--r-- mike/mike 3043 2007-07-09 22:34:48 cups-1.4svn-r6956/test/4.4-subscription-ops.test -rw-r--r-- mike/mike 3752 2001-02-23 02:15:17 cups-1.4svn-r6956/test/testfile.txt -rw-r--r-- mike/mike 1338 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.6-lpr.sh -rw-r--r-- mike/mike 1351 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.5-lp.sh -rw-r--r-- mike/mike 797 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.4-lpstat.sh -rw-r--r-- mike/mike 6606 2007-03-21 15:57:22 cups-1.4svn-r6956/test/4.3-job-ops.test -rw-r--r-- mike/mike 9100 2007-07-11 23:46:42 cups-1.4svn-r6956/test/testhp.ppd -rw-r--r-- mike/mike 655 2006-06-15 21:42:04 cups-1.4svn-r6956/test/get-job-attributes.test -rw-r--r-- mike/mike 1218 2001-01-29 18:35:08 cups-1.4svn-r6956/test/create-job-format.test -rw-r--r-- mike/mike 505 2007-05-03 22:07:14 cups-1.4svn-r6956/test/get-ppds-make-and-model.test -rw-r--r-- mike/mike 1241 2007-07-11 23:46:42 cups-1.4svn-r6956/test/Makefile -rw-r--r-- mike/mike 16 2006-02-08 19:39:56 cups-1.4svn-r6956/test/str-trailer.html -rw-r--r-- mike/mike 598930 2001-02-23 02:15:17 cups-1.4svn-r6956/test/testfile.jpg -rw-r--r-- mike/mike 1144 2001-03-05 22:37:41 cups-1.4svn-r6956/test/get-printer-attributes.test -rw-r--r-- mike/mike 972 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.9-lpinfo.sh -rw-r--r-- mike/mike 788 2007-07-11 23:46:42 cups-1.4svn-r6956/test/5.2-lpc.sh -rw-r--r-- mike/mike 454 2007-05-02 02:14:56 cups-1.4svn-r6956/test/get-ppd-printer.test + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-1.4svn /var/tmp/rpm-tmp.55554: line 33: cd: cups-1.4svn: No such file or directory Fehler: Bad exit status from /var/tmp/rpm-tmp.55554 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.55554 (%prep) [root at johann CUPS]# RHEL4 ES Linux johann.abas-projektierung.de 2.6.9-55.0.6.EL #1 Thu Aug 23 10:59:21 EDT 2007 i686 i686 i386 GNU/Linux rpmbuild -ta cups-1.4svn-r6956-source.tar.gz --without dbus --without php From martin.pitt at canonical.com Mon Sep 17 07:12:07 2007 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Mon, 17 Sep 2007 07:12:07 -0700 Subject: [cups.bugs] [MOD] STR #2516: CUPS_LOCALEDIR handling broken in 1.3.1 Message-ID: <5919-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] With the plain 1.3.1 tarball and a simple './configure', CUPS_LOCALEDIR now defaults to "" (in config.h). Specifying --localedir explicitly now does not work at all any more: $ ./configure --localedir=/usr/share/cups/locale configure: error: unrecognized option: --localedir=/usr/share/cups/locale autoconf'ing the source helps to bring back --localedir and the /usr/share/locale/ default. But even after this, I only get three or four strings in the UI which are actually translated (many of the page headers), most of the UI is in English. Also, the style of the pages changed dramatically, but I guess that's deliberate. Thank you in advance! Link: http://www.cups.org/str.php?L2516 Version: 1.3.1 From kurt.pfeifle at infotec.com Mon Sep 17 08:35:30 2007 From: kurt.pfeifle at infotec.com (Kurt Pfeifle) Date: Mon, 17 Sep 2007 08:35:30 -0700 Subject: [cups.bugs] [MOD] STR #2516: CUPS_LOCALEDIR handling broken in 1.3.1 Message-ID: <5920-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] AFAICS, the web page style changes should only be (and here are only) happening for trunk/1.4, not for 1.3.1. Hmm... need to check out the branch once more and see what it gives.... Link: http://www.cups.org/str.php?L2516 Version: 1.3.1 From mike at easysw.com Mon Sep 17 09:26:28 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 09:26:28 -0700 Subject: [cups.bugs] [MOD] STR #2516: CUPS_LOCALEDIR handling broken in 1.3.1 Message-ID: <5921-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Dupe of STR #2515... Link: http://www.cups.org/str.php?L2516 Version: 1.3.1 Fix Version: None From magnus at rissnekyrkan.org Mon Sep 17 12:08:06 2007 From: magnus at rissnekyrkan.org (Magnus Kronberg) Date: Mon, 17 Sep 2007 12:08:06 -0700 Subject: KOnica Minolta 7222 IP424 PS Message-ID: <5922-cups.bugs@news.easysw.com> I'm having a problem with my network printer. It's a Konica Minolta 7222 printer/copier. I have a ppd driver witch checks out fine doing the test at the printer driver testing page. I can install the printer and it sends the testpage. Problem is that the test page comes out as rubbish. It tries to print 12 pages, but there's only text on the first one. The text that comes out seems like an error message. It starts with the words PostScript 3.0. Where can I start to look for the problem? From mike at easysw.com Mon Sep 17 12:47:25 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 12:47:25 -0700 Subject: [cups.bugs] [LOW] STR #2517: Usr 5461 usb printer server do not work with all cups release Message-ID: <5923-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. Link: http://www.cups.org/str.php?L2517 Version: 1.3.0 Fix Version: None From mike at easysw.com Mon Sep 17 13:45:59 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 13:45:59 -0700 Subject: [cups.bugs] [LOW] STR #2510: cupstestppd fails with misleading message Message-ID: <5924-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2510 Version: 1.3.0 Fix Version: 1.4-current (r6962) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2510.patch URL: From mike at easysw.com Mon Sep 17 15:26:58 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 15:26:58 -0700 Subject: [cups.bugs] [MOD] STR #2515: /usr/bin/install: too few arguments Message-ID: <5925-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L2515 Version: 1.3.1 Fix Version: 1.4-current (r6965) From mike at easysw.com Mon Sep 17 15:48:25 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 15:48:25 -0700 Subject: [cups.bugs] [LOW] STR #2385: CSRF allows test page printing Message-ID: <5926-cups.bugs@news.easysw.com> [STR Closed w/Resolution] The new 1.4 web interface no longer uses or allows GET requests for the test page. Link: http://www.cups.org/str.php?L2385 Version: 1.2.8 Fix Version: 1.4-current (r6889) From mike at easysw.com Mon Sep 17 16:30:42 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 16:30:42 -0700 Subject: [cups.bugs] [MOD] STR #2518: IPP Backend will not print multiple copies of raw files Message-ID: <5927-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2518 Version: 1.2.12 Fix Version: 1.4-current (r6966) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2518.patch URL: From mike at easysw.com Mon Sep 17 16:51:15 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 16:51:15 -0700 Subject: [cups.bugs] [LOW] STR #2512: Write printcap every 30s; prevents disk spin-down Message-ID: <5928-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2512 Version: 1.3.0 Fix Version: 1.4-current (r6968) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2512.patch URL: From mike at easysw.com Mon Sep 17 16:58:52 2007 From: mike at easysw.com (Michael Sweet) Date: Mon, 17 Sep 2007 16:58:52 -0700 Subject: [cups.bugs] [MOD] STR #2513: New handling of CUPS option defaults in CUPS 1.3 different Message-ID: <5929-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2513 Version: 1.3.0 Fix Version: 1.4-current (r6970) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2513.patch URL: From martin.pitt at canonical.com Mon Sep 17 23:40:53 2007 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Mon, 17 Sep 2007 23:40:53 -0700 Subject: [cups.bugs] [MOD] STR #2519: 1.3.1 web UI has almost no translations Message-ID: <5930-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] 1.3.1 seems to have greatly simplified the i18n, i. e. it does not ship all the templates/ DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Ooh, I know what's wrong now: http://www.cups.org/software.php?VERSION=1.3.1&FILE=cups/1.3.1/cups-1.3.1-source.tar.gz The file downloaded by this actually seems to be a 1.4 snapshot. At least there is a CHANGES-1.3.txt and CHANGES.txt talks about "CHANGES IN CUPS V1.4b1". So this bug report about broken translations applies to 1.4beta. Can you please fix the download links so that we can actually get 1.3.1? Thanks! Link: http://www.cups.org/str.php?L2519 Version: 1.3.1 From b.krumboeck at rewe-group.at Tue Sep 18 01:15:32 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Tue, 18 Sep 2007 01:15:32 -0700 Subject: [cups.bugs] [LOW] STR #2520: HP-UX config fixes (32/64bit, directories, start/stop number) Message-ID: <5932-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] This patch will fix following issues: *) start/stop number for init script *) ARCHFLAGS for HP Ansi C/C++ compiler collection *) lib directory for IA64 Link: http://www.cups.org/str.php?L2520 Version: 1.3-current -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-1.3.0-config-hpux.patch URL: From desibros at libero.it Tue Sep 18 08:14:14 2007 From: desibros at libero.it (Max) Date: Tue, 18 Sep 2007 08:14:14 -0700 Subject: [cups.bugs] [CRIT] STR #2517: Usr 5461 usb printer server do not work with all cups release Message-ID: <5933-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] When I send a print to this device nothing happend. Link: http://www.cups.org/str.php?L2517 Version: 1.3.0 From mike at easysw.com Tue Sep 18 10:38:33 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 18 Sep 2007 10:38:33 -0700 Subject: [cups.bugs] [MOD] STR #2519: 1.3.1 web UI has almost no translations Message-ID: <5934-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Yeah, I looked and sure enough I goofed and did the makesrcdist from trunk instead of branch-1.3... I'm rolling 1.3.2 today to fix this and retiring 1.3.1... Link: http://www.cups.org/str.php?L2519 Version: 1.3.1 Fix Version: 1.3-current From mike at easysw.com Tue Sep 18 10:39:03 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 18 Sep 2007 10:39:03 -0700 Subject: [cups.bugs] [MOD] STR #2519: 1.3.1 web UI has almost no translations Message-ID: <5935-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L2519 Version: 1.3.1 Fix Version: 1.3.2 From mike at easysw.com Tue Sep 18 13:39:19 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 18 Sep 2007 13:39:19 -0700 Subject: [cups.bugs] [LOW] STR #2520: HP-UX config fixes (32/64bit, directories, start/stop number) Message-ID: <5936-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. FWIW, the patched cups-directories.m4 was missing a "fi"... Link: http://www.cups.org/str.php?L2520 Version: 1.3-current Fix Version: 1.4-current (r6975) From martin.pitt at canonical.com Tue Sep 18 23:23:51 2007 From: martin.pitt at canonical.com (martin.pitt.canonical) Date: Tue, 18 Sep 2007 23:23:51 -0700 Subject: [cups.bugs] [MOD] STR #2521: Does not support IPv6 ACLs Message-ID: <5937-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] >From http://bugs.debian.org/443132: Although cupsd supports binding to ipv6 addresses, it fails to either parse ipv6 addresses included in Allow directives or correctly resolve IPv6 addresses to hostnames, preventing me from giving IP-based printer access to IPv6 clients on my local network. Attempted with each of: Allow From *.dodds.net Allow From 2001:4830:1244::/64 Allow From 2001:4830:1244:0:219:d2ff:fe76:2acb The first option just gives me a 403 error in access.log: 2001:4830:1244:0:219:d2ff:fe76:2acb - - [18/Sep/2007:16:43:30 -0700] "POST /printers/PTAL_mlcusbPSC_750 HTTP/1.1" 403 0 - - (Correct forward and reverse resolution for this IPv6 address should be verifiable in public DNS) The other two give me parse errors in cupsd.conf, and cupsd fails to start: E [18/Sep/2007:16:23:17 -0700] Bad netmask value 2001:4830:1244::/64 on line 33. E [18/Sep/2007:16:23:17 -0700] Unknown Location directive Allow on line 33. E [18/Sep/2007:16:30:42 -0700] Bad netmask value 2001:4830:1244:0:219:d2ff:fe76:2acb on line 34. E [18/Sep/2007:16:30:42 -0700] Unknown Location directive Allow on line 34. This seems to be a regression relative to cupsys 1.2.2 (STR #1713)? Link: http://www.cups.org/str.php?L2521 Version: 1.3.2 From b.krumboeck at rewe-group.at Wed Sep 19 00:24:11 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Wed, 19 Sep 2007 00:24:11 -0700 Subject: [LOW] STR #2520: HP-UX config fixes (32/64bit,directories, start/stop number) Message-ID: <5938-cups.bugs@news.easysw.com> > > [STR Closed w/Resolution] > > Fixed in Subversion repository. > > FWIW, the patched cups-directories.m4 was missing a "fi"... > > Link: http://www.cups.org/str.php?L2520 > Version: 1.3-current > Fix Version: 1.4-current (r6975) > Thank you very much! regards! From timo.gurr at gmail.com Wed Sep 19 13:19:18 2007 From: timo.gurr at gmail.com (Timo Gurr) Date: Wed, 19 Sep 2007 13:19:18 -0700 Subject: [cups.bugs] [LOW] STR #2523: webinterface patch to fix translation of the german copyright footer Message-ID: <5939-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The copyright footer of the german localization was missing an "<" for the href tag, also updated the translation of trailer.tmpl, it still read Easy Software Products instead of Apple Inc. Link: http://www.cups.org/str.php?L2523 Version: 1.3.2 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-1.3.2-localization-de.patch URL: From mike at easysw.com Wed Sep 19 14:52:31 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 19 Sep 2007 14:52:31 -0700 Subject: [cups.bugs] [LOW] STR #2523: webinterface patch to fix translation of the german copyright footer Message-ID: <5940-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2523 Version: 1.3.2 Fix Version: 1.3-current (r6981) From mike at easysw.com Wed Sep 19 14:55:17 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 19 Sep 2007 14:55:17 -0700 Subject: [cups.bugs] [LOW] STR #2522: Swedish translation is seriously broken Message-ID: <5941-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2522 Version: 1.3-current Fix Version: 1.4-current (r6982) From dsharov at mackiev.com Thu Sep 20 03:28:01 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Thu, 20 Sep 2007 03:28:01 -0700 Subject: [cups.bugs] [MOD] STR #2524: PageSize does not get translated in globalized PPD files Message-ID: <5942-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] *.PageSize and *.Translation PageSize texts are not localized while creating globalized PPD files with ppdc. Proposed fix: Index: ppdc/ppdc-driver.cxx =================================================================== --- ppdc/ppdc-driver.cxx (revision 354) +++ ppdc/ppdc-driver.cxx (working copy) @@ -1098,14 +1098,14 @@ // Then the page sizes... cupsFilePrintf(fp, "*%s.Translation PageSize/%s: \"\"%s", locale->value, - catalog->find_message("Media Size"), lf); + locatalog->find_message("Media Size"), lf); for (m = (ppdcMediaSize *)sizes->first(); m; m = (ppdcMediaSize *)sizes->next()) { cupsFilePrintf(fp, "*%s.PageSize %s/%s: \"\"%s", locale->value, - m->name->value, catalog->find_message(m->text->value), + m->name->value, locatalog->find_message(m->text->value), lf); } Link: http://www.cups.org/str.php?L2524 Version: 1.2-current From po at danielnylander.se Thu Sep 20 06:17:15 2007 From: po at danielnylander.se (Daniel Nylander) Date: Thu, 20 Sep 2007 06:17:15 -0700 Subject: [cups.bugs] [HIGH] STR #2522: Swedish translation is seriously broken Message-ID: <5943-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The current Swedish translation, updated by Ulf Scherov, is broken. I don't understand what he did but it seems he is inexperienced with gettext. Here is an updated translation, synced with r6956. I spent 2 hours of fixed previous errors and mistranslations. Please commit. Link: http://www.cups.org/str.php?L2522 Version: 1.4-current Attachment: http://www.cups.org/strfiles/2522/cups_sv.po From rojon at altern.org Thu Sep 20 17:34:46 2007 From: rojon at altern.org (Roland) Date: Thu, 20 Sep 2007 17:34:46 -0700 Subject: [cups.development] [RFE] STR #2525: Policy CUPS-Add-Modify-Printer unlikly when using multiple policies Message-ID: <3682-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] It's useless for instance, to grant access for CUPS-Add-Modify-Printer or CUPS-Add-Modify-Class to a named policy. For example, to restrict groups to modify only printers which belongs to their group / assigned policy. Even changing printer-settings will need these rights granted to CUPS-Add-Modify-Printer/Classes in a global (default) policy. Would be nice to strip them down to the asigned policies. Link: http://www.cups.org/str.php?L2525 Version: -feature From kurt.pfeifle at infotec.com Fri Sep 21 04:48:01 2007 From: kurt.pfeifle at infotec.com (Kurt Pfeifle) Date: Fri, 21 Sep 2007 04:48:01 -0700 Subject: [cups.development] [RFE] STR #2525: Policy CUPS-Add-Modify-Printer unlikly when using multiple policies Message-ID: <3683-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] No, it's not useless. What you *can't* do is to use a single operation only, and define a policy on it with a section and expect the rest of operations to work like is defined in the "default" policy. What happens in reality is, that your single operation may silently amended by a section that works against your intentions. So when you define a custom policy, be sure to include one or more ... sections that describe exactly *all* the operations and their (different) limitations, and add another ... section, that describes exactly how the rest of operations should be affected by your custom policy. This works. Link: http://www.cups.org/str.php?L2525 Version: -feature From mike at easysw.com Fri Sep 21 09:33:41 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 21 Sep 2007 09:33:41 -0700 Subject: [cups.development] [RFE] STR #2525: Policy CUPS-Add-Modify-Printer unlikly when using multiple policies Message-ID: <3684-cups.development@news.easysw.com> [STR Closed w/o Resolution] And to add to what Kurt said, once you have added a printer or class, the CUPS-Add-Modify-Printer/Class operations use the printer's policy (not the default policy) to authorize the request. Thus it is possible to only allow one set of users to create a queue and another to maintain it. Link: http://www.cups.org/str.php?L2525 Version: -feature Fix Version: None From mike at easysw.com Fri Sep 21 13:01:56 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 21 Sep 2007 13:01:56 -0700 Subject: [cups.bugs] [LOW] STR #2526: Log garbage Message-ID: <5944-cups.bugs@news.easysw.com> [STR Closed w/Resolution] This is a dupe of STR #2023, which was fixed in CUPS 1.2.5. Link: http://www.cups.org/str.php?L2526 Version: 1.2.4 Fix Version: 1.2.5 From prazeres at impa.br Sat Sep 22 08:07:09 2007 From: prazeres at impa.br (Manoel Prazeres) Date: Sat, 22 Sep 2007 08:07:09 -0700 Subject: [cups.bugs] [MOD] STR #2526: Log garbage Message-ID: <5945-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The client name/IP on the page_log file shows a garbage that looks like an array overflow: # cat -v /var/log/cups/page_log | tail -1 lj104 clivre 23 [21/Sep/2007:11:43:15 -0300] 20 1 - M-^@M-&M-7M-^QM-^?^? # uname -a Linux picard.impa.br 2.6.18-8.1.10.el5xen #1 SMP Thu Sep 13 12:46:46 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux # rpm -qi cups Name : cups Relocations: (not relocatable) Version : 1.2.4 Vendor: CentOS Release : 11.5.3.el5 Build Date: Tue 31 Jul 2007 11:22:38 AM BRST Install Date: Thu 20 Sep 2007 12:47:57 PM BRST Build Host: builder6 Group : System Environment/Daemons Source RPM: cups-1.2.4-11.5.3.el5.src.rpm Size : 8457160 License: GPL Signature : DSA/SHA1, Tue 31 Jul 2007 12:37:20 PM BRST, Key ID a8a447dce8562897 Link: http://www.cups.org/str.php?L2526 Version: 1.2.4 From mike at easysw.com Sat Sep 22 14:08:29 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:08:29 -0700 Subject: [cups.development] [RFE] STR #596: Printer objects in the printer Class Message-ID: <3685-cups.development@news.easysw.com> [STR Closed w/Resolution] Link: http://www.cups.org/str.php?L596 Version: -feature Fix Version: 1.3.0 From mike at easysw.com Sat Sep 22 14:09:33 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:09:33 -0700 Subject: [cups.development] [RFE] STR #1877: May cups add hooks to run some other commands when printing? Message-ID: <3686-cups.development@news.easysw.com> [STR Closed w/o Resolution] Dupe of STR #1308... Link: http://www.cups.org/str.php?L1877 Version: -feature Fix Version: None From mike at easysw.com Sat Sep 22 14:19:13 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:19:13 -0700 Subject: [cups.development] [RFE] STR #1806: Selectively broadcast printers to networks/hosts Message-ID: <3687-cups.development@news.easysw.com> [STR Closed w/o Resolution] Closing this one out - we'd need to implement a lot more to make this usable (it isn't just selective broadcasting), and doing so would adversely affect performance and memory footprint on all systems, not just the servers with this configuration. You can implement this today by running multiple instances of cupsd... Link: http://www.cups.org/str.php?L1806 Version: -feature Fix Version: Will Not Fix From mike at easysw.com Sat Sep 22 14:22:58 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:22:58 -0700 Subject: [cups.development] [RFE] STR #2193: A bash library for parsing template files Message-ID: <3688-cups.development@news.easysw.com> [STR Closed w/o Resolution] Given that we can't use this on all of the CUPS-supported platforms, I'm closing this out. A Java implementation might be more useful, but there are plenty of existing Java, PHP, Perl, and Python template implementations already... Link: http://www.cups.org/str.php?L2193 Version: -feature Fix Version: Will Not Fix From mike at easysw.com Sat Sep 22 14:47:43 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:47:43 -0700 Subject: [cups.development] [RFE] STR #2452: Mapping usernames via external code Message-ID: <3689-cups.development@news.easysw.com> [STR Closed w/o Resolution] Hmm, I'm thinking that this really would be implemented on top of STR #1308. Ultimately we could extend the current authenticated username to be username at host for HTTP Basic and Digest authentication, similar to how Kerberos uses username at REALM. A cupsd plug-in could then do any mapping (the default mapping would be to strip the @foo part to do local user authorization), logging, and/or access control. Please follow-up with comments/requirements to STR #1308: http://www.cups.org/str.php?L1308 Link: http://www.cups.org/str.php?L2452 Version: -feature Fix Version: None From mike at easysw.com Sat Sep 22 14:50:48 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:50:48 -0700 Subject: [cups.development] [RFE] STR #2134: lppasswd enforces password policy Message-ID: <3690-cups.development@news.easysw.com> [STR Closed w/o Resolution] Given that we don't have access to the system-defined policies, and there has been no further information posted here, I'm closing this out. Please re-file your request if you can provide specific requirements, a patch, or pointers to ways of getting/using the system-defined password policies. Link: http://www.cups.org/str.php?L2134 Version: -feature Fix Version: None From mike at easysw.com Sat Sep 22 14:54:05 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 22 Sep 2007 14:54:05 -0700 Subject: [cups.development] [RFE] STR #1216: PDF to PS converter: handle the Acroform flag NeedAppearences Message-ID: <3691-cups.development@news.easysw.com> [STR Closed w/o Resolution] Since we're switching to poppler instead of using the Xpdf code directly, please file this feature request with the poppler folks (if they haven't already implemented it...) Link: http://www.cups.org/str.php?L1216 Version: -feature Fix Version: Will Not Fix From zqy2000zqy at 163.com Mon Sep 24 07:02:11 2007 From: zqy2000zqy at 163.com (zqy) Date: Mon, 24 Sep 2007 07:02:11 -0700 Subject: I got some error when print Message-ID: <5946-cups.bugs@news.easysw.com> I use a HP 2300 printer, and got the ppd file I added printer, enable it and run "lp /etc/inittab" I got these message in error log I [24/Sep/2007:21:33:39 +0000] Listening to 0:631 I [24/Sep/2007:21:33:39 +0000] Loaded configuration file "/opt/cups/etc/cups/cupsd.conf" I [24/Sep/2007:21:33:39 +0000] Configured for up to 100 clients. I [24/Sep/2007:21:33:39 +0000] Allowing up to 100 client connections per host. I [24/Sep/2007:21:33:39 +0000] Full reload is required. I [24/Sep/2007:21:33:40 +0000] LoadPPDs: Wrote "/opt/cups/etc/cups/ppds.dat", 23 PPDs... I [24/Sep/2007:21:33:40 +0000] Full reload complete. E [24/Sep/2007:21:33:40 +0000] StartListening: Unable to find IP address for server name "00602b0342 32" - Unknown host I [24/Sep/2007:21:35:29 +0000] Setting 2300 device-uri to "usb:/dev/usb/lp0" (was "file:/dev/null".) I [24/Sep/2007:21:35:29 +0000] Saving printers.conf... I [24/Sep/2007:21:35:29 +0000] New printer '2300' added by 'root'. I [24/Sep/2007:21:35:29 +0000] Saving printers.conf... I [24/Sep/2007:21:35:29 +0000] Printer '2300' modified by 'root'. I [24/Sep/2007:21:35:51 +0000] Saving printers.conf... I [24/Sep/2007:21:35:51 +0000] Printer '2300' started by 'root'. I [24/Sep/2007:21:35:58 +0000] Saving printers.conf... I [24/Sep/2007:21:35:58 +0000] Printer '2300' now accepting jobs ('root'). I [24/Sep/2007:21:36:08 +0000] Saving printers.conf... I [24/Sep/2007:21:36:08 +0000] Saving classes.conf... I [24/Sep/2007:21:36:08 +0000] Default destination set to '2300' by 'root'. I [24/Sep/2007:21:36:20 +0000] Adding start banner page "none" to job 1. I [24/Sep/2007:21:36:20 +0000] Adding end banner page "none" to job 1. I [24/Sep/2007:21:36:20 +0000] Job 1 queued on '2300' by 'root'. I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 1308) for job 1. I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 1309) for job 1. I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 1310) for job 1. I [24/Sep/2007:21:36:20 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 1311) for job 1. E [24/Sep/2007:21:36:20 +0000] PID 1308 stopped with status 13! I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. E [24/Sep/2007:21:36:20 +0000] PID 1309 stopped with status 13! I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. E [24/Sep/2007:21:36:20 +0000] PID 1310 stopped with status 13! I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. And I set the LogLevel to "debug" the message like this [24/Sep/2007:21:47:39 +0000] StartJob: argv = "2300","3","root","inittab","1","","/opt/cups/var/sp ool/cups/d00003-001" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[0]="PATH=/opt/cups/lib/cups/filter:/bin:/usr/bin" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[1]="SOFTWARE=CUPS/1.1" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[2]="USER=root" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[3]="CHARSET=iso-8859-1" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[4]="LANG=en" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[5]="PPD=/opt/cups/etc/cups/ppd/2300.ppd" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[6]="CUPS_SERVERROOT=/opt/cups/etc/cups" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[7]="RIP_MAX_CACHE=8m" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[8]="TMPDIR=/opt/cups/var/spool/cups/tmp" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[9]="CONTENT_TYPE=text/plain" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[10]="DEVICE_URI=usb:/dev/usb/lp0" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[11]="PRINTER=2300" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[12]="CUPS_DATADIR=/opt/cups/share/cups" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[13]="CUPS_FONTPATH=/opt/cups/share/cups/fonts" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[14]="CUPS_SERVER=localhost" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[15]="IPP_PORT=631" D [24/Sep/2007:21:47:39 +0000] StartJob: envp[16]="LD_LIBRARY_PATH=/opt/cups/lib/:" D [24/Sep/2007:21:47:39 +0000] StartJob: statusfds = [ 7 8 ] D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 -1 ] D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/texttops" D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ] D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/texttops", 0xbefeec94, 0xbef ee004, 9, 11, 8) I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 4701) for job 3. D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/pstops" D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 12 ] D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/pstops", 0xbefeec94, 0xbefee 004, 10, 12, 8) I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 4702) for job 3. D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/foomatic-rip" D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ] D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/foomatic-rip", 0xbefeec94, 0 xbefee004, 9, 11, 8) I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 4703) for job 3. D [24/Sep/2007:21:47:39 +0000] StartJob: backend = "/opt/cups/lib/cups/backend/usb" D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ -1 9 ] D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/backend/usb", 0xbefeec94, 0xbefee00 4, 10, 9, 8) I [24/Sep/2007:21:47:39 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 4704) for job 3. D [24/Sep/2007:21:47:39 +0000] ProcessIPPRequest: 5 status_code=0 E [24/Sep/2007:21:47:39 +0000] PID 4702 stopped with status 13! D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/pstops: Permission denied D [24/Sep/2007:21:47:39 +0000] CloseClient: 5 D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/texttops: Permission denied D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/foomatic-rip: Permission denied E [24/Sep/2007:21:47:39 +0000] PID 4701 stopped with status 13! E [24/Sep/2007:21:47:39 +0000] PID 4703 stopped with status 13! D [24/Sep/2007:21:47:39 +0000] [Job 3] LPGETSTATUS returned a port status of 18... D [24/Sep/2007:21:47:39 +0000] UpdateJob: job 3, file 0 is complete. D [24/Sep/2007:21:47:39 +0000] CancelJob: id = 3 D [24/Sep/2007:21:47:39 +0000] StopJob: id = 3, force = 0 D [24/Sep/2007:21:47:39 +0000] StopJob: printer state is 3 /opt/cups/lib/cups/filter # From zqy2000zqy at 163.com Mon Sep 24 07:36:16 2007 From: zqy2000zqy at 163.com (zqy) Date: Mon, 24 Sep 2007 07:36:16 -0700 Subject: I got some error when print Message-ID: <5947-cups.bugs@news.easysw.com> > I use a HP 2300 printer, and got the ppd file > > I added printer, enable it and run "lp /etc/inittab" > I got these message in error log > > I [24/Sep/2007:21:33:39 +0000] Listening to 0:631 > I [24/Sep/2007:21:33:39 +0000] Loaded configuration file "/opt/cups/etc/cups/cupsd.conf" > I [24/Sep/2007:21:33:39 +0000] Configured for up to 100 clients. > I [24/Sep/2007:21:33:39 +0000] Allowing up to 100 client connections per host. > I [24/Sep/2007:21:33:39 +0000] Full reload is required. > I [24/Sep/2007:21:33:40 +0000] LoadPPDs: Wrote "/opt/cups/etc/cups/ppds.dat", 23 PPDs... > I [24/Sep/2007:21:33:40 +0000] Full reload complete. > E [24/Sep/2007:21:33:40 +0000] StartListening: Unable to find IP address for server name "00602b0342 > 32" - Unknown host > I [24/Sep/2007:21:35:29 +0000] Setting 2300 device-uri to "usb:/dev/usb/lp0" (was "file:/dev/null".) > I [24/Sep/2007:21:35:29 +0000] Saving printers.conf... > I [24/Sep/2007:21:35:29 +0000] New printer '2300' added by 'root'. > I [24/Sep/2007:21:35:29 +0000] Saving printers.conf... > I [24/Sep/2007:21:35:29 +0000] Printer '2300' modified by 'root'. > I [24/Sep/2007:21:35:51 +0000] Saving printers.conf... > I [24/Sep/2007:21:35:51 +0000] Printer '2300' started by 'root'. > I [24/Sep/2007:21:35:58 +0000] Saving printers.conf... > I [24/Sep/2007:21:35:58 +0000] Printer '2300' now accepting jobs ('root'). > I [24/Sep/2007:21:36:08 +0000] Saving printers.conf... > I [24/Sep/2007:21:36:08 +0000] Saving classes.conf... > I [24/Sep/2007:21:36:08 +0000] Default destination set to '2300' by 'root'. > I [24/Sep/2007:21:36:20 +0000] Adding start banner page "none" to job 1. > I [24/Sep/2007:21:36:20 +0000] Adding end banner page "none" to job 1. > I [24/Sep/2007:21:36:20 +0000] Job 1 queued on '2300' by 'root'. > I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 1308) for job > 1. > I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 1309) for job 1. > I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 1310) for > job 1. > I [24/Sep/2007:21:36:20 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 1311) for job 1. > E [24/Sep/2007:21:36:20 +0000] PID 1308 stopped with status 13! > I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. > E [24/Sep/2007:21:36:20 +0000] PID 1309 stopped with status 13! > I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. > E [24/Sep/2007:21:36:20 +0000] PID 1310 stopped with status 13! > I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more. > > > > > > > And I set the LogLevel to "debug" > > the message like this > > > [24/Sep/2007:21:47:39 +0000] StartJob: argv = "2300","3","root","inittab","1","","/opt/cups/var/sp > ool/cups/d00003-001" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[0]="PATH=/opt/cups/lib/cups/filter:/bin:/usr/bin" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[1]="SOFTWARE=CUPS/1.1" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[2]="USER=root" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[3]="CHARSET=iso-8859-1" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[4]="LANG=en" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[5]="PPD=/opt/cups/etc/cups/ppd/2300.ppd" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[6]="CUPS_SERVERROOT=/opt/cups/etc/cups" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[7]="RIP_MAX_CACHE=8m" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[8]="TMPDIR=/opt/cups/var/spool/cups/tmp" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[9]="CONTENT_TYPE=text/plain" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[10]="DEVICE_URI=usb:/dev/usb/lp0" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[11]="PRINTER=2300" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[12]="CUPS_DATADIR=/opt/cups/share/cups" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[13]="CUPS_FONTPATH=/opt/cups/share/cups/fonts" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[14]="CUPS_SERVER=localhost" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[15]="IPP_PORT=631" > D [24/Sep/2007:21:47:39 +0000] StartJob: envp[16]="LD_LIBRARY_PATH=/opt/cups/lib/:" > D [24/Sep/2007:21:47:39 +0000] StartJob: statusfds = [ 7 8 ] > D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 -1 ] > D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/texttops" > D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ] > D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/texttops", 0xbefeec94, 0xbef > ee004, 9, 11, 8) > I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 4701) for job > 3. > D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/pstops" > D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 12 ] > D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/pstops", 0xbefeec94, 0xbefee > 004, 10, 12, 8) > I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 4702) for job 3. > D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/foomatic-rip" > D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ] > D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/foomatic-rip", 0xbefeec94, 0 > xbefee004, 9, 11, 8) > I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 4703) for > job 3. > D [24/Sep/2007:21:47:39 +0000] StartJob: backend = "/opt/cups/lib/cups/backend/usb" > D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ -1 9 ] > D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/backend/usb", 0xbefeec94, 0xbefee00 > 4, 10, 9, 8) > I [24/Sep/2007:21:47:39 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 4704) for job 3. > D [24/Sep/2007:21:47:39 +0000] ProcessIPPRequest: 5 status_code=0 > E [24/Sep/2007:21:47:39 +0000] PID 4702 stopped with status 13! > D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/pstops: Permission denied > D [24/Sep/2007:21:47:39 +0000] CloseClient: 5 > D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/texttops: Permission denied > D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/foomatic-rip: Permission denied > E [24/Sep/2007:21:47:39 +0000] PID 4701 stopped with status 13! > E [24/Sep/2007:21:47:39 +0000] PID 4703 stopped with status 13! > D [24/Sep/2007:21:47:39 +0000] [Job 3] LPGETSTATUS returned a port status of 18... > D [24/Sep/2007:21:47:39 +0000] UpdateJob: job 3, file 0 is complete. > D [24/Sep/2007:21:47:39 +0000] CancelJob: id = 3 > D [24/Sep/2007:21:47:39 +0000] StopJob: id = 3, force = 0 > D [24/Sep/2007:21:47:39 +0000] StopJob: printer state is 3 > /opt/cups/lib/cups/filter # PS: all the files have been chmod 777 ... From till.kamppeter at gmail.com Mon Sep 24 07:53:08 2007 From: till.kamppeter at gmail.com (Till Kamppeter) Date: Mon, 24 Sep 2007 07:53:08 -0700 Subject: [cups.development] [RFE] STR #2528: Introduce the Grand Unified Network Printer Searching Backend (or let cups-deviced merge duplicate discoveries) Message-ID: <3692-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Current CUPS comes with an "snmp" backend tofind network printers via SNMP. Mac OS X CUPS has an additional "mdns" backend for discovery via Bonjour and for Linux CUPS users I have written the "dnssd" backend for Bonjour disovery (http://www.openprinting.org/download/printing/dnssd). So the problem is the following now SNMP does not find some newer printers, Bonjour does not find more than around five years old printers. So a distro would need to run both backends to find backends (or evrn introduce more backends to support more network scanning methods). Now many printers are discovered by more than one method and so appear twice in the printer setup tools which confuses users. My suggestion is now to have a grand unified backend named "network" which applies all scanning methods and returns every found printer only once or let cups-driverd merge duplicate results. Link: http://www.cups.org/str.php?L2528 Version: -feature From rohitsingh.007 at gmail.com Mon Sep 24 10:25:06 2007 From: rohitsingh.007 at gmail.com (Rohit) Date: Mon, 24 Sep 2007 10:25:06 -0700 Subject: CUPS number-up limitation Message-ID: <3693-cups.development@news.easysw.com> Hi, We are using CUPS to print reports on the Linux. For few of the reports we need to print, multiple pages on one sheet. The number is taken as a input from the user. Later we are using number-up option to print as many pages per sheet as requested. However, CUPS limits the N-up option to take only limited set of values (1,2,4,6,9 and 16). Is there a way around to print any number of pages per sheet, or we can take this as a CUPS limitation? Please suggest. Thanks and Regards, Rohit From rojon at altern.org Mon Sep 24 14:24:12 2007 From: rojon at altern.org (rojon at altern.org) Date: Mon, 24 Sep 2007 14:24:12 -0700 Subject: [cups.development] [RFE] STR #2525: Policy CUPS-Add-Modify-Printer unlikly when using multiple policies In-Reply-To: <20070921163339.5A4ED3C68112@dns.easysw.com> References: <20070921163339.5A4ED3C68112@dns.easysw.com> Message-ID: <3694-cups.development@news.easysw.com> But that's exactly not the *case*: In ipp.c it's cleary check only against the DefaultPolicy and *not* against the printer's policy to authorize the request, thus not doing what you said beyond ... (at least not in version 1.3.3-r6985) Thanks. Anyhow, I've changed the code in ipp.c to ask to check against printer_op_ptr instead of DefaultPolicyPtr in cupsdCheckPolicy , if printer exist already .... > > [STR Closed w/o Resolution] > > And to add to what Kurt said, once you have added a printer or class, the > CUPS-Add-Modify-Printer/Class operations use the printer's policy (not the > default policy) to authorize the request. Thus it is possible to only > allow > one set of users to create a queue and another to maintain it. > > Link: http://www.cups.org/str.php?L2525 > Version: -feature > Fix Version: None > > From petrus_rossouw at yahoo.com Mon Sep 24 16:29:11 2007 From: petrus_rossouw at yahoo.com (Petrus Rossouw) Date: Mon, 24 Sep 2007 16:29:11 -0700 Subject: [cups.development] [RFE] STR #1764: Make handling of backend errors more configurable Message-ID: <3695-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi, I like the idea of being able to retry printing a job when there is a problem instead of stopping the print queue or stopping the job, but the current way how CUPS works causes printouts to get out of sequence, when I set the error policy of the printer to retry. It is absolutely crutial for us to be able to print jobs in the sequence it was submitted to CUPS. The only way currently for me to ensure the sequence is to set the error policy to stop the printer when there is a problem. This requires a lot of baby sitting of the queues as we don't control the users and their printers. Link: http://www.cups.org/str.php?L1764 Version: -feature From twaugh at redhat.com Tue Sep 25 01:59:12 2007 From: twaugh at redhat.com (twaugh.redhat) Date: Tue, 25 Sep 2007 01:59:12 -0700 Subject: [cups.development] [RFE] STR #2529: D-Bus notifier Message-ID: <3696-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Please include a D-Bus notifier. https://bugzilla.redhat.com/show_bug.cgi?id=237662 Link: http://www.cups.org/str.php?L2529 Version: -feature From kurt.pfeifle at infotec.com Tue Sep 25 10:54:17 2007 From: kurt.pfeifle at infotec.com (Kurt Pfeifle) Date: Tue, 25 Sep 2007 10:54:17 -0700 Subject: [cups.development] [RFE] STR #2530: Allow to modify admin.tmpl to view custom (log) files Message-ID: <3697-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'd like to be able to extend the ':631/admin' web interface by editing the 'templates/admin.tmpl' file. One of the things that should be possible for this kind of customization is adding one (or more) buttons to show custom log files. (My use case are log files for script-based CUPS filters or backends I might want to plug into the CUPS framework). Currently, CUPS 1.4 does return a "404 Not Found" error. Link: http://www.cups.org/str.php?L2530 Version: -feature From mike at easysw.com Tue Sep 25 12:46:29 2007 From: mike at easysw.com (Michael Sweet) Date: Tue, 25 Sep 2007 12:46:29 -0700 Subject: [cups.development] [RFE] STR #1645: Web Interface: printer wizard "device" page needs usability improvements Message-ID: <3698-cups.development@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L1645 Version: 1.4-feature Fix Version: 1.4-current (r6989) From olaf.meeuwissen at avasys.jp Tue Sep 25 18:02:48 2007 From: olaf.meeuwissen at avasys.jp (Olaf Meeuwissen) Date: Tue, 25 Sep 2007 18:02:48 -0700 Subject: [cups.development] rotating CUPS raster images Message-ID: <3699-cups.development@news.easysw.com> Dear all, I'm working on a CUPS filter that takes application/vnd.cups-raster as its input. Dependent on print conditions, I need to rotate the image 90, 180 or 270 degrees to "work around hardware limitations". I've read the CUPS raster API docs (http://localhost:631/help/) but I didn't really find what I was looking for. If somebody could provide a cluebat, I'd appreciate it. Just a pointer to extra documentation or some sample code would be fine. Note, still has to work with CUPS 1.1.x and later. Thanks in advance, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From mike at easysw.com Wed Sep 26 02:37:26 2007 From: mike at easysw.com (Michael Sweet) Date: Wed, 26 Sep 2007 02:37:26 -0700 Subject: [cups.development] rotating CUPS raster images In-Reply-To: <3699-cups.development@news.easysw.com> References: <3699-cups.development@news.easysw.com> Message-ID: <3700-cups.development@news.easysw.com> Olaf Meeuwissen wrote: > Dear all, > > I'm working on a CUPS filter that takes application/vnd.cups-raster as > its input. Dependent on print conditions, I need to rotate the image > 90, 180 or 270 degrees to "work around hardware limitations". > > I've read the CUPS raster API docs (http://localhost:631/help/) but I > didn't really find what I was looking for. If somebody could provide > a cluebat, I'd appreciate it. Just a pointer to extra documentation > or some sample code would be fine. > > Note, still has to work with CUPS 1.1.x and later. You'll have to rotate the image yourself or express the supported media size in landscape so CUPS rotates it for you. CUPS will normally handle the usual orientation requests from the user for you - why/when are you needing to do the rotation yourself? -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Document Software http://www.easysw.com From kurt.pfeifle at infotec.com Wed Sep 26 11:47:35 2007 From: kurt.pfeifle at infotec.com (Kurt Pfeifle) Date: Wed, 26 Sep 2007 11:47:35 -0700 Subject: [cups.development] [RFE] STR #2532: Web interface: better visual representation of printers enabled/disabled & stopped/started(idle) Message-ID: <3701-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] One of the things that could use visual improvement in the web interface is a clearer and more user-comprehensible indication of the differences for printer states disabled <--> enabled stopped <--> started/idle How about adding visual indicators to the printer symbols that clearly show the differences? Or different colors/printer-icons/whatever? In my experience it is very difficult to grasp (and after that, to remember) for users (especially ones with non-English native language) what the differences are between disabled/stopped and enabled/started. The way I often do explain it to customers is with a "tube" picture, having a flap on each end: /+------------------------------------+\ / (entrance) print queue (exit) \ / +------------------------------------+ \ ^ ^ | | | | 1a. closed : Reject Jobs 1b. closed : Printer stopped 2a. open : Accept Jobs 2b. open : Printer idle/started It would be nice if Apple usability engineers could come up with an easy to grasp visual representation for these 4 states (rather 6, if we take into account the different combinations). And one more indicator to show in the "pipe" or "tube" is if there are jobs queued currently. Link: http://www.cups.org/str.php?L2532 Version: -feature From alet at librelogiciel.com Wed Sep 26 14:50:35 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Wed, 26 Sep 2007 14:50:35 -0700 Subject: [cups.bugs] [HIGH] STR #2533: still charset encoding problems Message-ID: <5948-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Please consider the following charset encoding bug tested with CUPS v1.2.7. Here we parse the IPP file for job 1729. This file represents a print job which title contains an ISO-8859-15 encoded character (the é) displayed as \xe9 in Python's output. The attributes charset contained in the file is correctly set to ISO-8859-15, so the encoded character matches the defined charset : --- CUT --- jerome at nordine:~$ python pkipplib/pkipplib/pkipplib.py /var/spool/cups/c01729 Test OK : parsing original and parsing the output of the dump produce the same dump ! IPP version : 1.1 IPP operation Id : 0x0002 IPP request Id : 0x00000001 Operation attributes : attributes-charset : [('charset', 'iso-8859-15')] attributes-natural-language : [('naturalLanguage', 'fr-fr at euro')] Job attributes : printer-uri : [('uri', 'ipp://localhost/printers/HP2100')] job-originating-user-name : [('nameWithoutLanguage', 'jerome')] job-name : [('nameWithoutLanguage', "Paroles.net - Yves Montand - En sortant de l'\xe9cole k")] document-format : [('mimeMediaType', 'application/postscript')] job-sheets : [('nameWithoutLanguage', 'none'), ('nameWithoutLanguage', 'none')] job-priority : [('integer', 50L)] job-uuid : [('uri', 'urn:uuid:933c9279-afe2-3a69-57f0-8c1d335d5a93')] job-originating-host-name : [('nameWithoutLanguage', 'localhost')] time-at-creation : [('integer', 1190826863L)] time-at-processing : [('integer', 1190826863L)] time-at-completed : [('integer', 1190826915L)] job-id : [('integer', 1729L)] job-state : [('enum', 9L)] job-media-sheets-completed : [('integer', 0L)] job-printer-uri : [('uri', 'ipp://nordine.ateur:631/printers/HP2100')] job-name : [('nameWithoutLanguage', "Paroles.net - Yves Montand - En sortant de l'\xe9cole k")] job-k-octets : [('integer', 81L)] job-hold-until : [('keyword', 'no-hold')] --- CUT --- Now, we will use the very same Python library, but ask job 1729's attributes directly to CUPS through http://localhost:631. The attributes charset value in the request is by default set to "UTF-8", meaning we want all attributes in the result encoded in the "UTF-8" charset : --- CUT --- $ python >>> from pkipplib import pkipplib >>> cups=pkipplib.CUPS() >>> answer = cups.getJobAttributes(1729) >>> print answer IPP version : 1.1 IPP operation Id : 0x0000 IPP request Id : 0x00000001 Operation attributes : attributes-charset : [('charset', 'utf-8')] attributes-natural-language : [('naturalLanguage', 'en-us')] Job attributes : job-more-info : [('uri', 'ipp://localhost.localdomain:631/jobs/1729')] job-preserved : [('boolean', 0)] job-printer-up-time : [('integer', 1190842225L)] job-state-reasons : [('keyword', 'job-completed-successfully')] job-uri : [('uri', 'ipp://localhost.localdomain:631/jobs/1729')] printer-uri : [('uri', 'ipp://localhost/printers/HP2100')] job-originating-user-name : [('nameWithoutLanguage', 'jerome')] job-name : [('nameWithoutLanguage', "Paroles.net - Yves Montand - En sortant de l'\xe9cole k")] document-format : [('mimeMediaType', 'application/postscript')] job-sheets : [('nameWithoutLanguage', 'none'), ('nameWithoutLanguage', 'none')] job-priority : [('integer', 50L)] job-uuid : [('uri', 'urn:uuid:933c9279-afe2-3a69-57f0-8c1d335d5a93')] job-originating-host-name : [('nameWithoutLanguage', 'localhost')] time-at-creation : [('integer', 1190826863L)] time-at-processing : [('integer', 1190826863L)] time-at-completed : [('integer', 1190826915L)] job-id : [('integer', 1729L)] job-state : [('enum', 9L)] job-media-sheets-completed : [('integer', 0L)] job-printer-uri : [('uri', 'ipp://nordine.ateur:631/printers/HP2100')] job-name : [('nameWithoutLanguage', "Paroles.net - Yves Montand - En sortant de l'\xe9cole k")] job-k-octets : [('integer', 81L)] job-hold-until : [('keyword', 'no-hold')] --- CUT --- This means that despite CUPS answering with the same attributes-charset and attributes-natural-language values that my cups.getJobAttributes() method uses by default, the other attributes are not converted to the charset we want, i.e. UTF-8, but instead are returned as-is. Is this a bug ? Is there a fix planned ? Or is this me who don't understand something or is expecting too much ? Is this related to #2167 ? (I'm not sure I understand this report entirely) FYI the job was submitted from the Galeon web browser using a french locale and the ISO-8859-15 charset. The problem is that the charset of the job's title passed on a backend's command line is mostly unknown to that backend, and that when trying to retrieve the job-name attribute directly from CUPS and specifying the encoding we want, we don't get it anyway. This is highly problematic because job's titles (and other similar attributes) can't be saved reliably in a database for later reuse, since the charset can't be known in a sure way. Link: http://www.cups.org/str.php?L2533 Version: 1.2.7 From olaf.meeuwissen at avasys.jp Wed Sep 26 23:41:45 2007 From: olaf.meeuwissen at avasys.jp (Olaf Meeuwissen) Date: Wed, 26 Sep 2007 23:41:45 -0700 Subject: [cups.development] rotating CUPS raster images In-Reply-To: <3700-cups.development@news.easysw.com> (Michael Sweet's message of "Wed, 26 Sep 2007 02:37:26 -0700") References: <3699-cups.development@news.easysw.com> <3700-cups.development@news.easysw.com> Message-ID: <3702-cups.development@news.easysw.com> Michael Sweet writes: > Olaf Meeuwissen wrote: >> Dear all, >> >> I'm working on a CUPS filter that takes application/vnd.cups-raster as >> its input. Dependent on print conditions, I need to rotate the image >> 90, 180 or 270 degrees to "work around hardware limitations". >> >> I've read the CUPS raster API docs (http://localhost:631/help/) but I >> didn't really find what I was looking for. If somebody could provide >> a cluebat, I'd appreciate it. Just a pointer to extra documentation >> or some sample code would be fine. >> >> Note, still has to work with CUPS 1.1.x and later. > > You'll have to rotate the image yourself or express the supported > media size in landscape so CUPS rotates it for you. Thanks for the feedback. For the 90 and 270 degree cases your landscape suggestion may be useful. For 180 degrees I guess I'm stuck with doing the rotation myself. > CUPS will normally handle the usual orientation requests from the > user for you - why/when are you needing to do the rotation yourself? To "work around hardware limitations" for envelopes and for A5 media. These need to be fed in ways such that the normal application output does not end up where it should :-( Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From news at ademmler.com Thu Sep 27 02:56:46 2007 From: news at ademmler.com (Alexander Demmler) Date: Thu, 27 Sep 2007 02:56:46 -0700 Subject: CUPS universal for MAc Intel Message-ID: <3703-cups.development@news.easysw.com> Hi! How do I compile CUPS on MacINtel Plattform to provide a universal Framework. Ihave tried ./configure + make + make install for now. Printng is fine, but if I launch PPC Apps(Rosetta) than I get this: dyld: Library not loaded: /usr/lib/libcups.2.dylib Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore Reason: no suitable image found. Did find: /usr/lib/libcups.2.dylib: mach-o, but wrong architecture /usr/lib/libcups.2.dylib: mach-o, but wrong architecture Help needed, thanks to all. Alex From Rodolphe.Pinon at ujf-grenoble.fr Thu Sep 27 03:21:29 2007 From: Rodolphe.Pinon at ujf-grenoble.fr (Rodolphe Pinon) Date: Thu, 27 Sep 2007 03:21:29 -0700 Subject: Landscape with OS X and Cups 1.3.2 Message-ID: <5949-cups.bugs@news.easysw.com> Hello, Since version 1.2.10, my OS X clients can't print in landscape mode. All my printers are controlled by Debian Etch linux server with cups compiled with tar.gz My linux clients and Windows clients don't have any problems to print, only Macintosh ! This is debug traces for landscape OSX 10.3.9 printed in portrait: D [27/Sep/2007:10:07:51 +0200] [Job 11757] argv[6]="/var/spool/cups/d11757-001" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[1]="CUPS_DATADIR=/usr/share/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[6]="CUPS_SERVERROOT=/etc/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[7]="CUPS_STATEDIR=/var/run/cups" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[9]="SERVER_ADMIN=xxx at xxxxxxxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[10]="SOFTWARE=CUPS/1.3.2" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[11]="TMPDIR=/var/spool/cups/tmp" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[12]="USER=root" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[14]="CUPS_ENCRYPTION=IfRequested" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[15]="IPP_PORT=631" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[16]="CHARSET=utf-8" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[17]="LANG=fr" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[18]="PPD=/etc/cups/ppd/OCE.ppd" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[19]="RIP_MAX_CACHE=8m" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[20]="CONTENT_TYPE=application/pdf" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[21]="DEVICE_URI=lpd://xxxxxxxxxxx/raw" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[22]="PRINTER=OCE" D [27/Sep/2007:10:07:51 +0200] [Job 11757] envp[23]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript" I [27/Sep/2007:10:07:51 +0200] [Job 11757] Started filter /usr/lib/cups/filter/pdftops (PID 7356) I [27/Sep/2007:10:07:51 +0200] [Job 11757] Started filter /usr/lib/cups/filter/pstops (PID 7357) I [27/Sep/2007:10:07:51 +0200] [Job 11757] Started backend /usr/lib/cups/backend/lpd (PID 7358) D [27/Sep/2007:10:07:51 +0200] Discarding unused job-state event... D [27/Sep/2007:10:07:51 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok) D [27/Sep/2007:10:07:51 +0200] cupsdReadClient: 12 POST /printers/OCE HTTP/1.1 D [27/Sep/2007:10:07:51 +0200] cupsdAuthorize: No authentication data provided. D [27/Sep/2007:10:07:51 +0200] Get-Job-Attributes ipp://193.xx.xx.xx:631/printers/OCE D [27/Sep/2007:10:07:51 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok) D [27/Sep/2007:10:07:51 +0200] cupsdReadClient: 12 POST /printers/OCE HTTP/1.1 D [27/Sep/2007:10:07:51 +0200] cupsdAuthorize: No authentication data provided. D [27/Sep/2007:10:07:51 +0200] Get-Printer-Attributes ipp://xx.xx.xx.xx:631/printers/OCE D [27/Sep/2007:10:07:51 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok) D [27/Sep/2007:10:07:51 +0200] [Job 11757] pdftops - opened PPD file "/etc/cups/ppd/OCE.ppd"... D [27/Sep/2007:10:07:51 +0200] [Job 11757] pdftops - level = 2, width = 842, length = 595 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Page = 595x842; 13,14 to 582,828 D [27/Sep/2007:10:07:51 +0200] [Job 11757] slow_collate=0, slow_duplex=0, slow_order=0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Before copy_comments - %!PS-Adobe-3.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %!PS-Adobe-3.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %cupsRotation: 0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %Producer: xpdf/pdftops 3.01 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%Creator: Excel D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%LanguageLevel: 2 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%DocumentSuppliedResources: (atend) D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%DocumentMedia: plain 842 595 0 () () D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%BoundingBox: 0 0 842 595 D [27/Sep/2007:10:07:51 +0200] [Job 11D [27/Sep/2007:10:07:51 +0200] [Job 11757] Page rotate=0, width=842, height=595, imgWidth=813, imgHeight=569 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Before page loop - %%Page: 1 1 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Copying page 1... D [27/Sep/2007:10:07:51 +0200] Discarding unused job-progress event... D [27/Sep/2007:10:07:51 +0200] [Job 11757] pagew = 569.0, pagel = 813.2 D [27/Sep/2007:10:07:51 +0200] [Job 11757] bboxw = 595, bboxl = 842 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageLeft = 13.0, PageRight = 582.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageTop = 827.6, PageBottom = 14.4 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageWidth = 595.0, PageLength = 842.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Page rotate=0, width=842, height=595, imgWidth=813, imgHeight=569 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Copying page 2... D [27/Sep/2007:10:07:51 +0200] Discarding unused job-progress event... D [27/Sep/2007:10:07:51 +0200] [Job 11757] pagew = 569.0, pagel = 813.2 D [27/Sep/2007:10:07:51 +0200] [Job 11757] bboxw = 595, bboxl = 842 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageLeft = 13.0, PageRight = 582.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageTop = 827.6, PageBottom = 14.4 D [27/Sep/2007:10:07:51 +0200] [Job 11757] PageWidth = 595.0, PageLength = 842.0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Wrote 2 pages... D [27/Sep/2007:10:07:51 +0200] PID 7356 (/usr/lib/cups/filter/pdftops) exited with no errors. D [27/Sep/2007:10:07:51 +0200] PID 7357 (/usr/lib/cups/filter/pstops) exited with no errors. D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] [Job 11757] Connected to xx.xx.xx.xx:515 (IPv4) (local port 1023)... D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command 02 raw D [27/Sep/2007:10:07:51 +0200] [Job 11757] Sending command string (5 bytes)... D [27/Sep/2007:10:07:51 +0200] [Job 11757] Reading command status... D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command returning 0 D [27/Sep/2007:10:07:51 +0200] [Job 11757] Control file is: D [27/Sep/2007:10:07:51 +0200] [Job 11757] Hxxxxxxxxxxxxxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] Pxxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] JXXXXXXXX_xls D [27/Sep/2007:10:07:51 +0200] [Job 11757] ldfA358xxxxxxxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] UdfA358xxxxxxxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] NXXXXXXXX_xls D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command 02 145 cfA358xxxx D [27/Sep/2007:10:07:51 +0200] [Job 11757] Sending command string (27 bytes)... D [27/Sep/2007:10:07:51 +0200] [Job 11757] Reading command status... D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command returning 0 D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] Discarding unused printer-state-changed event... D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command 03 223400 dfA358Centaure.obs.uj D [27/Sep/2007:10:07:51 +0200] [Job 11757] Sending command string (30 bytes)... D [27/Sep/2007:10:07:51 +0200] [Job 11757] Reading command status... D [27/Sep/2007:10:07:51 +0200] [Job 11757] lpd_command returning 0 757] %%Pages: 2 D [27/Sep/2007:10:07:51 +0200] [Job 11757] %%EndComments D [27/Sep/2007:10:07:51 +0200] [Job 11757] Before copy_prolog - %%BeginDefaults D [27/Sep/2007:10:07:51 +0200] [Job 11757] Before copy_setup - %%BeginSetup any ideas ? From k1pfeifle at gmx.net Thu Sep 27 03:39:12 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 03:39:12 -0700 Subject: Corrections for SVN doc/help/spec-ppd.html Message-ID: <5950-cups.bugs@news.easysw.com> I noticed 2 bugs in SVN file doc/help/spec-ppd.html: * one occasion where tag around "MainKeyword" is not closed * the example code for cupsColorSpace misses a value The diffs below are not meant for you to apply -- just to find the spots more quickly in the file. Index: doc/help/spec-ppd.html =================================================================== --- doc/help/spec-ppd.html (revision 6992) +++ doc/help/spec-ppd.html (working copy) @@ -95,7 +95,7 @@ "
*End

-

The ?MainKeyword attribute defines PostScript code that +

The ?MainKeyword attribute defines PostScript code that determines the currently selected/enabled option keyword (choice) for the main keyword (option). It is typically used when communicating with USB, serial, Appletalk, and AppSocket (port 9100) printers.

@@ -152,7 +152,7 @@ Index: doc/help/spec-ppd.html =================================================================== --- doc/help/spec-ppd.html (revision 6992) +++ doc/help/spec-ppd.html (working copy) @@ -866,7 +866,7 @@ cupsColorSpace Integer Specifies the page image colorspace: 0 = W, 1 = RGB, 2 = RGBA, 3 = K, 4 = CMY, 5 = YMC, 6 = CMYK, 7 = YMCK, 8 = KCMY, 9 = KCMYcm, 10 = GMCK, 11 = GMCS, 12 = White, 13 = Gold, 14 = Silver, 15 = CIE XYZ, 16 = CIE Lab, 17 = RGBW, 32 to 46 = CIE Lab (1 to 15 inks) - <</cupsColorSpace >>setpagedevice + <</cupsColorSpace 2 >>setpagedevice cupsCompression -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From k1pfeifle at gmx.net Thu Sep 27 03:43:50 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Thu, 27 Sep 2007 03:43:50 -0700 Subject: 2 more questions about doc/help/spec-ppd.html Message-ID: <5951-cups.bugs@news.easysw.com> trunk SVN r6992, file "doc/help/spec-ppd.html": * line 152 (in source file) mentions ESP Ghostscript only. What about GPL Ghostscript 8.60? * is the "raster.png" image referenced in line 1031 really showing the correct pictures for the backsides? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From b.krumboeck at rewe-group.at Thu Sep 27 04:14:10 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Thu, 27 Sep 2007 04:14:10 -0700 Subject: I got some error when print Message-ID: <5952-cups.bugs@news.easysw.com> Please check the permissions for the directory /opt/cups/lib/cups/filter and all of its parent directories. regards! Bernd From b.krumboeck at rewe-group.at Thu Sep 27 04:25:52 2007 From: b.krumboeck at rewe-group.at (Bernd Krumböck) Date: Thu, 27 Sep 2007 04:25:52 -0700 Subject: [cups.bugs] [LOW] STR #2534: Typo in doc/de/index.html.in Message-ID: <5953-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Applied patch will fix the problem. Link: http://www.cups.org/str.php?L2534 Version: 1.3.2 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cups-1.3.2-copyright.patch URL: From mike at easysw.com Thu Sep 27 15:03:53 2007 From: mike at easysw.com (Michael Sweet) Date: Thu, 27 Sep 2007 15:03:53 -0700 Subject: [cups.bugs] [LOW] STR #2533: still charset encoding problems Message-ID: <5954-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] You are passing an unsupported charset to cupsd. You MUST use UTF-8 for all text strings. Link: http://www.cups.org/str.php?L2533 Version: 1.2.7 Fix Version: Will Not Fix From msweet at apple.com Thu Sep 27 15:07:29 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 27 Sep 2007 15:07:29 -0700 Subject: [cups.development] CUPS universal for MAc Intel In-Reply-To: <3703-cups.development@news.easysw.com> References: <3703-cups.development@news.easysw.com> Message-ID: <3704-cups.development@news.easysw.com> Alexander Demmler wrote: > Hi! > > How do I compile CUPS on MacINtel Plattform to provide a universal Framework. Ihave tried ./configure + make + make install for now. > Printng is fine, but if I launch PPC Apps(Rosetta) than I get this: > > dyld: Library not loaded: /usr/lib/libcups.2.dylib > Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore > Reason: no suitable image found. Did find: > /usr/lib/libcups.2.dylib: mach-o, but wrong architecture > /usr/lib/libcups.2.dylib: mach-o, but wrong architecture Use: ./configure --with-archflags="-arch i386 -arch ppc" when compiling on an Intel system. You can do something similar on PPC systems but you also need to specify the 10.4u SDK paths. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From msweet at apple.com Thu Sep 27 15:10:39 2007 From: msweet at apple.com (Michael R Sweet) Date: Thu, 27 Sep 2007 15:10:39 -0700 Subject: [cups.bugs] 2 more questions about doc/help/spec-ppd.html In-Reply-To: <5951-cups.bugs@news.easysw.com> References: <5951-cups.bugs@news.easysw.com> Message-ID: <5955-cups.bugs@news.easysw.com> Kurt Pfeifle wrote: > trunk SVN r6992, file "doc/help/spec-ppd.html": > > * line 152 (in source file) mentions ESP Ghostscript only. What about > GPL Ghostscript 8.60? I'll look - I thought I had updated all of the references. > * is the "raster.png" image referenced in line 1031 really showing the > correct pictures for the backsides? Yes. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From alet at librelogiciel.com Thu Sep 27 21:50:06 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Thu, 27 Sep 2007 21:50:06 -0700 Subject: [cups.bugs] [LOW] STR #2533: still charset encoding problems In-Reply-To: <20070927220350.CA31B3C68481@dns.easysw.com> References: <20070927220350.CA31B3C68481@dns.easysw.com> Message-ID: <5956-cups.bugs@news.easysw.com> On Thu, Sep 27, 2007 at 03:03:50PM -0700, Michael Sweet wrote: > > [STR Closed w/o Resolution] > > You are passing an unsupported charset to cupsd. You MUST use UTF-8 for all > text strings. Then CUPS should immediately reject the print job when it is submitted from a non-UTF-8 locale charset, this way we would know there's a problem. CUPS also accepts my print jobs sent with lp/lpr (the CUPS ones) without any problem, despite my locale using the ISO-8859-15 charset. Such print jobs should be rejected if CUPS doesn't support anything other than ascii and utf-8. bye Jerome Alet From news at ademmler.com Fri Sep 28 04:23:42 2007 From: news at ademmler.com (Alexander Demmler) Date: Fri, 28 Sep 2007 04:23:42 -0700 Subject: PAP broken Message-ID: <3705-cups.development@news.easysw.com> Hi CUPS team! I have restored my broken MacOS X MacIntel CUPS System manually from another machine copy. All is fine, the only thing which does not work ist PAP printing. I can add a printer, the print job starts to be spooled, but it does not come to the printer. Anny ideas what I have missed to copy or configure? My CUPS Version: cupsd.conf,v 1.47.2.1 2005/05/31 18:45:34 Thanks Alex From news at ademmler.com Fri Sep 28 07:27:02 2007 From: news at ademmler.com (Alexander Demmler) Date: Fri, 28 Sep 2007 07:27:02 -0700 Subject: CUPS universal for MAc Intel Message-ID: <3706-cups.development@news.easysw.com> Dear Michael! Ich have done so and I have got 1 error while make. May I am wrong, seems like JPEG and TIFF is not build for universal? Anny tips? Linking libcupsimage.2.dylib... ld: Undefined symbols: _jpeg_CreateDecompress _jpeg_calc_output_dimensions _jpeg_destroy_decompress _jpeg_finish_decompress _jpeg_read_header _jpeg_read_scanlines _jpeg_start_decompress _jpeg_std_error _jpeg_stdio_src _TIFFClose _TIFFFdOpen _TIFFGetField _TIFFReadScanline _TIFFScanlineSize __TIFFfree __TIFFmalloc /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccGkAHqV.out make[1]: *** [libcupsimage.2.dylib] Error 1 make: *** [all] Error 1 Alexander > Alexander Demmler wrote: > > Hi! > > > > How do I compile CUPS on MacINtel Plattform to provide a universal . . . shorten > > Use: > > ./configure --with-archflags="-arch i386 -arch ppc" > > when compiling on an Intel system. You can do something similar on > PPC systems but you also need to specify the 10.4u SDK paths. > > -- > ______________________________________________________________________ > Michael R Sweet Senior Printing System Engineer > From twaugh at redhat.com Fri Sep 28 08:01:57 2007 From: twaugh at redhat.com (twaugh.redhat) Date: Fri, 28 Sep 2007 08:01:57 -0700 Subject: [cups.development] [RFE] STR #2536: 'BindErrorFatal' cupsd.conf option Message-ID: <3707-cups.development@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I think that when cupsd fails to bind to a port it's been instructed by config to bind to, either TCP or UDP, it should be fatal. Currently it is non-fatal. If there are people who prefer the current behaviour of bind errors being non-fatal, how about adding a configuration option 'BindErrorFatal yes|no' to peace of mind to those of us wanting to know that cupsd is behaving as configured? ;-) Link: http://www.cups.org/str.php?L2536 Version: -feature From msweet at apple.com Fri Sep 28 10:32:03 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 28 Sep 2007 10:32:03 -0700 Subject: [cups.development] CUPS universal for MAc Intel In-Reply-To: <3706-cups.development@news.easysw.com> References: <3706-cups.development@news.easysw.com> Message-ID: <3708-cups.development@news.easysw.com> Alexander Demmler wrote: > Dear Michael! > > Ich have done so and I have got 1 error while make. > May I am wrong, seems like JPEG and TIFF is not build for universal? > Anny tips? Sounds like you have third-party JPEG and TIFF libraries installed - the standard Mac OS X install does not include linkable versions of those libraries, nor their header files. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From dick at mrns.nl Fri Sep 28 10:33:52 2007 From: dick at mrns.nl (Dick Marinus) Date: Fri, 28 Sep 2007 10:33:52 -0700 Subject: [cups.bugs] [HIGH] STR #2535: backendGetDeviceID doesn't work with parallel backend Message-ID: <5957-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] # lpinfo -l -v always gives: .... Device: uri = parallel:/dev/lp0 class = direct info = LPT #1 make-and-model = Unknown device-id = .... An unknown make-and-model. I suppose LPIOC_GET_DEVICE_ID only works for USB printing devices. Parallel devices should still be probed by the old code (as cups-1.1 did): /proc/sys/dev/parport/parport%d/autoprobe This is a strace on the parallel backend: .... open("/dev/lp0", O_RDWR|O_EXCL|O_LARGEFILE) = 3 ioctl(3, SNDCTL_DSP_SYNC, 0xbfc44e3a) = -1 EINVAL (Invalid argument) .... I'm using Fedora 7 on a i686, 2.6.22.5-76.fc7 An older version of cups (1.1) worked with Fedora Core 4. Link: http://www.cups.org/str.php?L2535 Version: 1.2-current From mike at easysw.com Fri Sep 28 10:42:19 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 10:42:19 -0700 Subject: [cups.bugs] [LOW] STR #2535: backendGetDeviceID doesn't work with parallel backend Message-ID: <5958-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] Link: http://www.cups.org/str.php?L2535 Version: 1.2-current Fix Version: Will Not Fix From alet at librelogiciel.com Fri Sep 28 10:47:47 2007 From: alet at librelogiciel.com (Jerome Alet) Date: Fri, 28 Sep 2007 10:47:47 -0700 Subject: [cups.bugs] [HIGH] STR #2537: followup of #2533 Message-ID: <5959-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] If CUPS only supports the ascii and utf-8 character encodings, as specified in your answer to #2533, then it should immediately reject all print jobs submitted from a locale with a different charset. This is not the case, so we end up with CUPS answering badly encoded datas to properly endoded IPP requests which explicitely request an answer encoded in the UTF-8 charset. If you let CUPS accept bad charsets in job submission queries, like it's done at least in 1.2.7, then there's no way to be able to reuse jobs' titles in any third party application or even in CUPS itself in a consitent way : their encoding is lost as demonstrated in #2533. Of course the correct solution would be for CUPS to immediately translate the client's input characters (e.g. title) from the client's charset to UTF-8 at job submission time. Then CUPS could only deal with UTF-8 for ALL other queries, and let lp* commands (or any other client software) translate UTF-8 back to the client's current locale if needed. Why is this not done this way ? Link: http://www.cups.org/str.php?L2537 Version: 1.2.7 From mike at easysw.com Fri Sep 28 10:52:46 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 10:52:46 -0700 Subject: [cups.bugs] [LOW] STR #2534: Typo in doc/de/index.html.in Message-ID: <5960-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Dupe of STR #2523, already fixed for 1.3.3... Link: http://www.cups.org/str.php?L2534 Version: 1.3.2 Fix Version: 1.3-current From mike at easysw.com Fri Sep 28 11:18:15 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 11:18:15 -0700 Subject: [cups.bugs] [MOD] STR #2525: Policy CUPS-Add-Modify-Printer unlikly when using multiple policies Message-ID: <5961-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2525 Version: 1.3-current Fix Version: 1.4-current (r6994) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2525.patch URL: From k1pfeifle at gmx.net Fri Sep 28 11:28:52 2007 From: k1pfeifle at gmx.net (Kurt Pfeifle) Date: Fri, 28 Sep 2007 11:28:52 -0700 Subject: Question about "cups-config --libs" Message-ID: <5962-cups.bugs@news.easysw.com> Current 1.4svn trunk shows this: kurt at lnx5000:~> cups-config --libs -lcups -L/usr/lib -Wl,-rpath -Wl,/usr/lib -lgssapi_krb5 -lkrb5 \ -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz \ -lpthread -lm -lcrypt Question: is this a "legal" thing to do? Shouldn't this return *only* the libs ("l","L") used, but *not" the warning settings ("W")? -- Kurt Pfeifle System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58 A RICOH Company ........................... D-70327 Stuttgart/Germany From msweet at apple.com Fri Sep 28 11:37:32 2007 From: msweet at apple.com (Michael R Sweet) Date: Fri, 28 Sep 2007 11:37:32 -0700 Subject: [cups.bugs] Question about "cups-config --libs" In-Reply-To: <5962-cups.bugs@news.easysw.com> References: <5962-cups.bugs@news.easysw.com> Message-ID: <5963-cups.bugs@news.easysw.com> Kurt Pfeifle wrote: > Current 1.4svn trunk shows this: > > kurt at lnx5000:~> cups-config --libs > -lcups -L/usr/lib -Wl,-rpath -Wl,/usr/lib -lgssapi_krb5 -lkrb5 \ > -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz \ > -lpthread -lm -lcrypt > > Question: is this a "legal" thing to do? Shouldn't this return *only* > the libs ("l","L") used, but *not" the warning settings ("W")? -Wl passes a linker option, it doesn't set a warning preference. -- ______________________________________________________________________ Michael R Sweet Senior Printing System Engineer From mike at easysw.com Fri Sep 28 15:27:52 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 15:27:52 -0700 Subject: [cups.bugs] [MOD] STR #2506: ppdc incorrectly handles #include <...> directive with spaces in filename Message-ID: <5964-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2506 Version: 1.2-current Fix Version: 1.2-current (r355) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2506.patch URL: From mike at easysw.com Fri Sep 28 15:30:10 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 15:30:10 -0700 Subject: [cups.bugs] [MOD] STR #2524: PageSize does not get translated in globalized PPD files Message-ID: <5965-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2524 Version: 1.2-current Fix Version: 1.2-current (r356) From mike at easysw.com Fri Sep 28 15:46:19 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 15:46:19 -0700 Subject: [cups.bugs] [LOW] STR #2507: APPrinterPreset attribute's text value does not participate in localization Message-ID: <5966-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2507 Version: 1.2.0 Fix Version: 1.2-current (r357) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2507.patch URL: From mike at easysw.com Fri Sep 28 15:56:18 2007 From: mike at easysw.com (Michael Sweet) Date: Fri, 28 Sep 2007 15:56:18 -0700 Subject: [cups.bugs] [LOW] STR #2514: CUPS DDK 1.2-current: refactor #include functionality to support "insert here" type behavior Message-ID: <5967-cups.bugs@news.easysw.com> [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L2514 Version: 1.2-current Fix Version: 1.2-current (r358) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: str2514.patch URL: From zqy2000zqy at 163.com Fri Sep 28 21:08:29 2007 From: zqy2000zqy at 163.com (zqy) Date: Fri, 28 Sep 2007 21:08:29 -0700 Subject: I got some error when print Message-ID: <5968-cups.bugs@news.easysw.com> all the files in /opt/cups is -rwxrwxrwx ...... > Please check the permissions for the directory /opt/cups/lib/cups/filter and all of its parent directories. > > regards! > Bernd From dick at mrns.nl Sat Sep 29 04:56:54 2007 From: dick at mrns.nl (Dick Marinus) Date: Sat, 29 Sep 2007 04:56:54 -0700 Subject: [cups.bugs] [HIGH] STR #2539: IOCNR_GET_DEVICE_ID ioctl isn't implemented for drivers/chap/lp.c Message-ID: <5969-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] I'm sorry to open a new bug request because I can't reply anymore in STR #2535 I've searched drivers/char/lp.c in the linux kernel tree but I can't find the implementation of the IOCNR_GET_DEVICE_ID ioctl. If you look at the ioctl function in: http://lxr.linux.no/source/drivers/char/lp.c#L560 You'll see only these ioctl's are handled: LPTIME LPCHAR LPABORT LPABORTOPEN LPCAREFUL LPWAIT LPSETIRQ LPGETIRQ LPGETSTATUS LPRESET LPGETSTATS LPGETFLAGS LPSETTIMEOUT And as far as I can see IOCNR_GET_DEVICE_ID is only implemented in drivers/usb/class/usblp.c, http://lxr.linux.no/source/drivers/usb/class/usblp.c#L491 So I suppose IOCNR_GET_DEVICE_ID is an usblp feature only. If IOCNR_GET_DEVICE_ID for parallel printers is implemented could you please point me the location at: http://lxr.linux.no/source/ Link: http://www.cups.org/str.php?L2539 Version: 1.2-current From cmt at burggraben.net Sat Sep 29 07:12:49 2007 From: cmt at burggraben.net (Christoph Moench-Tegeder) Date: Sat, 29 Sep 2007 07:12:49 -0700 Subject: [cups.bugs] [MOD] STR #2538: Compile of CUPS 1.3.x fails when upgrading from CUPS 1.2 Message-ID: <5970-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] When compiling CUPS 1.3.x as an upgrade (installed CUPS 1.2.x), compile fails in cgi-bin/ with undefined symbols (first one is CUPS_SERVER_REMOTE_ANY in cgi-bin/admin.c). This is caused by an error in the ordering of compiler arguments, the old headers in /usr/local/include get precedence over the current ones in cups' source directory. When assembling ALL_CFLAGS in Makedefs, $(CFLAGS) has to go before $(SSLFLAGS). See attached file for a patch. NOTE: this has been first discoverd on FreeBSD, see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116721 for reference. Link: http://www.cups.org/str.php?L2538 Version: 1.3.2 -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-Makedefs.in Type: application/octet-stream Size: 383 bytes Desc: not available URL: From mike at easysw.com Sat Sep 29 07:55:47 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 29 Sep 2007 07:55:47 -0700 Subject: [cups.bugs] [LOW] STR #2539: IOCNR_GET_DEVICE_ID ioctl isn't implemented for drivers/chap/lp.c Message-ID: <5971-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] File a bug with the kernel developers, then. This will not be fixed. Link: http://www.cups.org/str.php?L2539 Version: 1.2-current Fix Version: Will Not Fix From dick at mrns.nl Sat Sep 29 09:24:42 2007 From: dick at mrns.nl (Dick Marinus) Date: Sat, 29 Sep 2007 09:24:42 -0700 Subject: [LOW] STR #2539: IOCNR_GET_DEVICE_ID ioctl isn'timplemented for drivers/chap/lp.c Message-ID: <5972-cups.bugs@news.easysw.com> > File a bug with the kernel developers, then. This will not be fixed. This isn't a bug in the kernel, it was not intended to work this way. For as far as I can see IOCNR_GET_DEVICE_ID isn't an official ioctl (it isn't even exported to userland through an header file). Why remove a perfectly working implementation from cups and replace it by an implementation which might (or probably differently) work in future? Maybe it's even better to remove the whole backendGetDeviceID call from the parallel backend because it uses an invalid ioctl. Dick From desibros at libero.it Sat Sep 29 12:23:48 2007 From: desibros at libero.it (Max) Date: Sat, 29 Sep 2007 12:23:48 -0700 Subject: [cups.bugs] [HIGH] STR #2540: Cups refuse to print on maxg routher/printer server (usr robotics 5461) Message-ID: <5973-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Cups refuse to print on maxg routher/printer server (usr robotics 5461) no error prompted cups version from 1.1.23 to 1.4 Link: http://www.cups.org/str.php?L2540 Version: -feature From mike at easysw.com Sat Sep 29 15:11:55 2007 From: mike at easysw.com (Michael Sweet) Date: Sat, 29 Sep 2007 15:11:55 -0700 Subject: [cups.bugs] [LOW] STR #2540: Cups refuse to print on maxg routher/printer server (usr robotics 5461) Message-ID: <5974-cups.bugs@news.easysw.com> [STR Closed w/o Resolution] General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support. We've had other reports (STR #2517 at least) of problems. As far as I know, the USR doesn't support IPP, LPD, or AppSocket. Link: http://www.cups.org/str.php?L2540 Version: 1.2.0 Fix Version: None From dsharov at mackiev.com Sun Sep 30 08:04:24 2007 From: dsharov at mackiev.com (Dmitry Sharov) Date: Sun, 30 Sep 2007 08:04:24 -0700 Subject: [cups.bugs] [CRIT] STR #2541: CUPSDDK 1.2.0: ppdc freezes while generating globalized PPD files. Message-ID: <5975-cups.bugs@news.easysw.com> DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] ppdc freezes while generating globalized PPD files. Suggested fix (basing on revision 360): Index: ppdc/ppdc-driver.cxx =================================================================== --- ppdc/ppdc-driver.cxx (revision 360) +++ ppdc/ppdc-driver.cxx (working copy) @@ -1147,7 +1147,7 @@ } // Finally the localizable attributes... - for (a = (ppdcAttr *)attrs->first(); a; (ppdcAttr *)attrs->next()) + for (a = (ppdcAttr *)attrs->first(); a; a=(ppdcAttr *)attrs->next()) { if (!a->text || !a->text->value || !a->text->value[0]) continue; Link: http://www.cups.org/str.php?L2541 Version: 1.2-current From desibros at libero.it Sun Sep 30 09:32:25 2007 From: desibros at libero.it (Max) Date: Sun, 30 Sep 2007 09:32:25 -0700 Subject: [cups.bugs] [LOW] STR #2540: Cups refuse to print on maxg routher/printer server (usr robotics 5461) In-Reply-To: <20070929221153.ACFCB3C68111@dns.easysw.com> References: <20070929221153.ACFCB3C68111@dns.easysw.com> Message-ID: <5976-cups.bugs@news.easysw.com> Il Sunday 30 September 2007 00:11:53 Michael Sweet ha scritto: > [STR Closed w/o Resolution] > > General support is not available via the STR form. Please post to the CUPS > forums and/or mailing lists for general support. > > We've had other reports (STR #2517 at least) of problems. As far as I > know, the USR doesn't support IPP, LPD, or AppSocket. > > Link: http://www.cups.org/str.php?L2540 > Version: 1.2.0 > Fix Version: None Hello! Thank you for yours answer. The routher's documentation report that it support http printing under linux with cups at lest the very old version, before the 1.1 I suppose... With never version nothig works.. Why!? What are the changes in cups!? Thank you for your help and sorry for my poor english. Max