[Cooker] Raw images from digital cameras can be read with Linux now

2003-09-29 Thread Till Kamppeter
If you have a higher end digital camera, you will probably be able to 
let the camera save the raw sensor output on your memory card. These 
files are usually camera-specific and the formats not published by the 
manufacturers.

In addition most cameras store some manufacturer-specific data fields in 
the EXIF header of JPEG files.

I have made two new RPM packages and put them into the contribs: dcraw 
for reading raw images on many cameras and metacam to read 
manufacturer-specific EXIF extensions. Here are the descriptions 
(ChangeLog list seems to be broken currently):

--
Name: dcrawRelocations: (not relocateable)
Version : 0.20030928Vendor: MandrakeSoft
Release : 2mdk  Build Date: Sun Sep 28 
20:38:28 2003
Install Date: (not installed)   Build Host: no.mandrakesoft.com
Group   : Graphics  Source RPM: (none)
Size: 74009License: Distributable
Signature   : (none)
Packager: Till Kamppeter [EMAIL PROTECTED]
URL : http://www.cybercom.net/~dcoffin/dcraw/
Summary : Reads the raw image formats of more than 70 digital cameras
Description :

Reads and processes raw images from more than 70 digital cameras.

Raw images are the data directly read from the CCD of the camera,
without in-camera processing, without lossy JPEG compression, and in
36 or 48 bits color depth (TIFF has 24 bits). Problem of the raw
images is that they are in proprietary, camera-specific formats as
once, there seems not to be a standard format for high-color-depth
images, and second, the raw images contain headers with information
about camera settings.
This is a collection of command line tools to read and convert the raw
image files and also to get camera setting information out of them.
Please read the /usr/share/doc/dcraw-0.20030928/dcraw.html file (all
programs mentioned in this file are included with this package and the
dcraw-gimp package) and the man page (man dcraw).
Install also dcraw-gimp if you want to be able to load raw image files
directly into the GIMP.
This program does not download the files from the camera, it only
processes the already downloaded files. Depending on your camera
model, mount your camera as a USB mass-storage device, use GPhoto2
(gtkam, flphoto, gphoto2), or a flash card reader for
downloading the files.
--
ame: metacam  Relocations: (not relocateable)
Version : 1.1   Vendor: MandrakeSoft
Release : 1mdk  Build Date: Sat Sep 27 
22:48:31 2003
Install Date: (not installed)   Build Host: no.mandrakesoft.com
Group   : Graphics  Source RPM: (none)
Size: 28392License: GPL
Signature   : (none)
Packager: Till Kamppeter [EMAIL PROTECTED]
URL : http://www.cheeseplant.org/~daniel/pages/metacam.html
Summary : Command line tool to read the EXIF extensions in JPEG files
Description :

Most digital cameras produce EXIF files, which are JPEG files with
extra tags that contain information about the image.
In contrary to the tools exif and gexif (and all other
libexif-based tools as gphoto2) this tool gives a much easier
readable summary of camera settings. But the speciality of this
program is that it knows many manufacturer-specific entries for Nikon,
Canon, and Olympus cameras.
The tool is very compact, the executable has only a size of around 87
kb.
--
No MandrakeSoft Advanced Photo Laboratory 9.2 should be complete.

   Till




Re: [Cooker] Re: [CHRPM] cups-1.1.19-10mdk

2003-09-19 Thread Till Kamppeter
[EMAIL PROTECTED] wrote:
-=-=-=-
Name: cups Relocations: (not
relocateable) Version : 1.1.19Vendor:
MandrakeSoft Release : 10mdk Build Date: Thu
18 Sep 2003 04:24:28 AM CEST Install Date: (not installed)
Build Host: no.mandrakesoft.com Group   : System/Servers
  Source RPM: (none)
Size: 3791412  License: GPL
Signature   : (none)
Packager: Till Kamppeter [EMAIL PROTECTED]
URL : http://www.cups.org
Summary : Common Unix Printing System - Server package
Description :


-=-=-=-
Till Kamppeter [EMAIL PROTECTED] 1.1.19-10mdk
- Fixed bug 5615 by means of the following two changes:
 o Make the CUPS daemon not sending broadcast packages with the host
name
   localhost. In this case the IP address of the appropriate
interface is used (patch 22).
 o Do not insert ServerName directives in /etc/cups/cupsd.conf any
more
   during the startup of CUPS (with the /usr/sbin/correctcupsconfig
script).


Hmm, it seems cups admits defeat to drakconnect ...

IMHO, drakconnect's job is to ensure:
1)The hostname is never set to localhost if there is any networking device
attached to the machine in question
2)Reverse lookups will always work. In the case of DHCP, drakconnect
should ensure that the hostname is sent as DHCP_HOSTNAME (in which case we
hope the DHCP administrator has working DDNS), and doesn't touch
tmdns.conf. In the case of no DHCP, tmdns.conf is not touched (and we hope
the other machines have working tmdns).
I didn´t know that this was a long-standing in drakconnect (or even in 
the former draknet). Otherwise I had perhaps tried to press the 
drakconnect guys to fix it (posting bug with blocker priority and more 
...). I thought it was a fault of CUPS and so I fixed CUPS. In addition, 
this fix also works when one uses other network config tools or does a 
faulty configuration manually. This makes CUPS in our default 
configuration more or less idiot-proof. But in general, it is better 
to fix the bugs at their origins instead of making workarounds.

   Till






Re: [Cooker] Re: [CHRPM] cups-1.1.19-10mdk

2003-09-19 Thread Till Kamppeter
In my opinion this is a show-stopper, report a blocker bug and inform 
Warly.

   Till

Buchan Milne wrote:
Till Kamppeter wrote:

[EMAIL PROTECTED] wrote:


Hmm, it seems cups admits defeat to drakconnect ...

IMHO, drakconnect's job is to ensure:
1)The hostname is never set to localhost if there is any networking
device
attached to the machine in question
2)Reverse lookups will always work. In the case of DHCP, drakconnect
should ensure that the hostname is sent as DHCP_HOSTNAME (in which
case we
hope the DHCP administrator has working DDNS), and doesn't touch
tmdns.conf. In the case of no DHCP, tmdns.conf is not touched (and we
hope
the other machines have working tmdns).
I didn´t know that this was a long-standing in drakconnect (or even in
the former draknet). Otherwise I had perhaps tried to press the
drakconnect guys to fix it (posting bug with blocker priority and more
...). I thought it was a fault of CUPS and so I fixed CUPS. In addition,
this fix also works when one uses other network config tools or does a
faulty configuration manually. This makes CUPS in our default
configuration more or less idiot-proof. But in general, it is better
to fix the bugs at their origins instead of making workarounds.


See Setting of name for 'localhost' is malfunctioning and Pathetic
that box is to be named 'localhost' when using DNS threads in cooker.
Someone needs to take action, and advice from the community, on this for
10 IMHO. I have to remember to use the advanced button twice in
drakconnect to get the behaviour I want (the default in Windows), and
enter the same hostname 3 times (instead of just once like in Windows).
Regards,
Buchan
--
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*






Re: [Cooker] Printerdrake fails to configure Kyocera FS1010

2003-09-11 Thread Till Kamppeter
Can you update the cups-drivers package from the Cooker to the newest 
version (and also drakxtools) and try to set up your printer again? I 
have done several fixes on printerdrake and I have also fixed the PPD 
for the Kyocera FS-1010.

   Till

Paul Dorman wrote:
On Monday 08 September 2003 07:10, Paul Dorman wrote:

Hi all,

I'll submit a proper bug report on Tuesday, but perhaps someone can fix
this before then without too much fuss.
I ran printerdrake, which correctly picks up my KyoceraFS1010 laser printer
(USB). It also allowed me to configure its settings (page size, etc), but
when I went to save the settings and exit the program it comes back with :
The PPD file /usr/share/cups/model/1 does not exist or is readable [sic]

Does anyone else on cooker have one of these printers? What happens when
you run the latest version of Printerdrake?
Cheers!
Paul.
Ooh, and just one more comment about this; when it fails as described above, 
the dialogue won't close and I have to resort to xkill to deal with it.

PD







Re: [Cooker] kdevelop and gimpprint bad requires on gimp?

2003-09-10 Thread Till Kamppeter
The gimpprint package is only the GIMP plugin for printing (the printing 
dialog for GIMP). The printer driver called GIMP-Print (mainly used for 
Epson and Canon inkjets) is in the libgimpprint package. The interface 
of this driver to GhostScript is ijsgimpprint, which is in the 
printer-filters package. printerdrake takes care that the ghostscript, 
printer-filters, and libgimpprint packages are installed.

So you do not need to have GIMP installed to use an Epson or Canon 
inkjet printer.

   Till

Crispin Boylan wrote:
Hi

is it necessary for gimpprint to require gimp?  I thought it would have 
been the other way around?

also, why does kdevelop require gimp?

Cheers
cris.





[Cooker] Re: printer-utils

2003-09-08 Thread Till Kamppeter
Crispin Boylan wrote:
Hi

Would it be possible to update z42tools in printer-utils to 0.3.4b - its 
currently at 0.2.0 which is very old.

The displaying of version 0.2.0 by z42tool is a bug, the installed 
version (already in 9.1) is in reality 0.3.4. In 9.2 it will be 0.3.4b, 
but it still displays 0.2.0. A fix of this bug does no functional 
improvement and therefore we will not do it before 9.2.

Also it seems wasteful to include the mtink gimp plugin here, could it 
not be added to the gimpprint package instead as this only contains a 
gimp 1.2 plug-in.  This way it makes it easier for people who do not 
have gimp-1.2 installed, as otherwise printer-utils requires 
libgimp1.2_1 as well, for no reason other than the plugin.
This is a good idea, but as it can easily break dependencies and also 
cause problems by the conflict between the current printer-utils and the 
future gimpprint packages I will not do this change before 9.2.

Thanks for your report.

   Till




[Cooker] Re: [gphoto-devel] Problem with Canon Powershot S45 and libgphoto2 2.1.2rc5

2003-08-30 Thread Till Kamppeter
I have patched the libgphoto2 on Mandrake's Cooker using Stephen's fixes 
from August 11. Marco, please install libgphoto2-2.1.2-5mdk and report 
whether your Canon PowerShot S45 works with it.

Everyone who reads this and has a Canon camera, please test whether all 
works fine.

   Till

Stephen H. Westin wrote:
From: Till Kamppeter [EMAIL PROTECTED]
X-Accept-Language: en-us, en
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Sender: [EMAIL PROTECTED]
Date: Sat, 09 Aug 2003 13:48:22 +0200
X-UIDL: 4aS!!JQUd92bF!!)[$!
Marco has tested the development version of the upcoming Mandrake Linux 
9.2 (the Cooker) and reported the following problem on the Cooker 
mailing list. See below. The debug log, which he has attached 
originally, is available at:

http://www.linuxprinting.org/till/tmp/gphoto2-canon-debug.txt.bz2

Everyone who replies to this mail, please use reply to all in your 
mail program, to assure that everyone stays informed. This is posted 
both on the Cooker list and the GPhoto2 developer list.

   Till


On Tue, 5 Aug 2003, Till Kamppeter wrote:
 Please test this version by updating the libgphoto2 package to the
 version 2.1.2-0.rc5.1mdk and then using gphoto2, gtkam, flphoto,
 and/or digikam.
What's happened to gphoto2?
My digital camera, a Canon Powershot S45, doesn't work anymore
if set in Normal Mode!
It worked well with all previous releases.
In attach with this message you can find some debug information.
 Especially test if you have a Canon camera. Use both auto-detection or
 manual selection of USB PTP camera (even if your camera is explicitly
In PTP Mode there is no problem.

TIA

 Marco


This was my fault; I revised the model list back on May 29 and messed it up.
Just committed code to fix this and to add 5 unknown models that I discovered
in a Mac OS X configuration file.
NB: I think this is a release-stopper, as support for a popular camera was
broken.
-Stephen H. Westin
Any information or opinions in this message are mine: they do not
represent the position of Cornell University or any of its sponsors.


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
Gphoto-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel






Re: [Cooker] OT: on current viruses

2003-08-24 Thread Till Kamppeter
Austin wrote:
Hey,
I keep getting these messages from virus scanners on various mail servers all 
over the world saying that I tried to send a virus infected email through 
their mail server.  It's the sobig.f virus, which is written in MSVC, and 
propogates through windows, so I don't see how I could have sent it to anyone, 
but they attach a copy of it with my return address.

This makes me very mad.  I don't have a single computer running Windows, and I 
highly doubt if Balsa can execute MS macros LOL.
I'm proud of the fact that I don't propogate viruses.

Happens with me, too. If a Windows box is infected, the virus searches 
nearly all files on the hard disk (not only the address book) for mail 
adresses and sends mails with each one having two randomly chosen but 
different addresses, one for the sender (From:) and one for the 
destination (To:). The virus runs its own SMTP implementation, so that 
there is no provider rejecting the mail with wrong From: addresses. At 
the destination it is not recognized that the From: address is wrong 
and the error message is simply sent to the address in the From: 
header. You probably got many more addresses from the virus itself than 
error messages from others who received the virus.

See

http://hq.mcafeeasap.com/dispVirus.asp?virus_k=100561

for more info about the virus.

Anyone knows a way how to find the box where the virus e-mails (not the 
error messages, the mails from the virus itself) come from? I would like 
to inform the users of the infected machines, as these mails are annoying.

   Till




Re: [Cooker] drakprinter epson printers

2003-08-24 Thread Till Kamppeter
guillaume.bedot wrote:
i have a little suggestion (tell me if it's wise:) :
i could be nice if drakprinter could detect when mtink/mtinkd are used 
and propose mtink:/ URIs.
Is the current mtink always reliably working?

   Till




[Cooker] Plug'n'Load for Digital Cameras

2003-08-20 Thread Till Kamppeter
Oi,

up to now, there was only Plug'n'Play: You plugged your digital camera 
to your PC, played around with the software for some time, and, finally, 
you got your photos downloaded.

Now there is Plug'n'Load: You plug in your digital camera and your PC 
loads your photos automagically.

To get this install the camdump package from the Contribs. Then 
connect your camera and your photos get automatically loaded into 
/var/spool/camdump or whatever you enter in /etc/camdump. Copy 
/etc/camdump to ~/.camdump and define a personal directory (you must 
create it) and from now on you can also automatically load your 
confidential images. You can also call camdump from the command line 
(also with a destination directory as argument) or from the menues. 
Duplicate photos will not be loaded.

Please test and report.

Works only with cameras supported by libgphoto2! See list on
http://n-dimensional.de/projects/digicam/software/snapshots/2003-08-10/SUPPORTED-CAMERAS
If your camera can be switched between PTP and USB storage, switch to PTP.

   Till




Re: [Cooker] kprinter

2003-08-19 Thread Till Kamppeter
This was a bug in GhostScript. Fixed in 7.07-0.4mdk.

Happy printing.

   Till

Rick Romero wrote:
One more thing I noticed from my Cooker install from Friday 8/15, I
wasn't able to print pdf's right off the bat.
I installed Cooker on a fresh partition, and mounted my home directory. 
Using krpinter, I couldn't use the PDF option without getting an error.

kprinter was setup to call gs with a -c .setpdffile (?? I forget the
filename), but it looks like gs doesn't use a '-c' so I removed the
reference to '-c .setpdffile' from the xml config file, and it works
like a charm.
Hope somebody understands that ;)

Rick







[Cooker] Re: Fwd: problem with ps2pdf

2003-08-19 Thread Till Kamppeter
I have fixed this one today. Update to GhostScript 7.07-0.4mdk.

   Till

Guillaume Rousse wrote:
The original one seems the have been lost in cyberspace...



Subject:
problem with ps2pdf
From:
Guillaume Rousse [EMAIL PROTECTED]
Date:
Mon, 18 Aug 2003 18:28:08 +0200
To:
[EMAIL PROTECTED]
[EMAIL PROTECTED] these]$ make these.pdf
ps2pdf these.ps these.pdf
Error: /undefinedfilename in (.setpdfwrite)
Operand stack:
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   --nostringval--   
--nostringval--
Dictionary stack:
   --dict:1053/1123(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
make: *** [these.pdf] Erreur 1

[EMAIL PROTECTED] these]$ rpm -qf /usr/bin/ps2pdf
ghostscript-7.07-0.3mdk





[Cooker] Problem with Canon Powershot S45 and libgphoto2 2.1.2rc5

2003-08-14 Thread Till Kamppeter
Marco has tested the development version of the upcoming Mandrake Linux 
9.2 (the Cooker) and reported the following problem on the Cooker 
mailing list. See below. The debug log, which he has attached 
originally, is available at:

http://www.linuxprinting.org/till/tmp/gphoto2-canon-debug.txt.bz2

Everyone who replies to this mail, please use reply to all in your 
mail program, to assure that everyone stays informed. This is posted 
both on the Cooker list and the GPhoto2 developer list.

   Till


On Tue, 5 Aug 2003, Till Kamppeter wrote:
 Please test this version by updating the libgphoto2 package to the
 version 2.1.2-0.rc5.1mdk and then using gphoto2, gtkam, flphoto,
 and/or digikam.
What's happened to gphoto2?
My digital camera, a Canon Powershot S45, doesn't work anymore
if set in Normal Mode!
It worked well with all previous releases.
In attach with this message you can find some debug information.
 Especially test if you have a Canon camera. Use both auto-detection or
 manual selection of USB PTP camera (even if your camera is explicitly
In PTP Mode there is no problem.

TIA

 Marco







[Cooker] libgphoto2: Last call for bugs in 2.1.2 release

2003-08-14 Thread Till Kamppeter
Oi,

I have uploaded libgphoto2 2.1.2rc5 to the Cooker. This is probably the 
last release candidate before the final release of 2.1.2.

Please test this version by updating the libgphoto2 package to the 
version 2.1.2-0.rc5.1mdk and then using gphoto2, gtkam, flphoto, 
and/or digikam.

Especially test if you have a Canon camera. Use both auto-detection or 
manual selection of USB PTP camera (even if your camera is explicitly 
listed). In somewhat older Canon cameras you have to select the protocol 
in the camera-internal menues.

AFAIR there is even an access mode for USB storage cameras (but probably 
without PC-controlled capturing).

I have tested on the Olympus C 3000Z and had no problems.

Please report all problems here on the Cooker list.

   Till




Re: [Cooker] USB Microtec Scanner Crashes System

2003-08-14 Thread Till Kamppeter
Which scanner model do you have? Which SANE backend does it use?

   Till

Joe Baker wrote:
Mandrake 9.2 beta2
model number: v6usl  

Using XSane I can acquire a preview, 
but when I try to acquire a real image, 
the scanner either freezes about 3/4 way down the page
the application asking for the scan freezes up and then 
I see my keyboard lights flash, and then the whole system
locks up.

-Joe Baker







Re: [Cooker] CUPS slow startup with no network

2003-08-14 Thread Till Kamppeter
Can you post this on one of the CUPS forums:

http://www.cups.org/newsgroups.php

There are many CUPS experts and probably someone will find a solution.

   Till

OS wrote:
Hello,

For a while I've been wondering why CUPS is so darned slow at startin up. The 
system boots just stops for about 11 seconds while the CUPS deamon is 
starting. I now believe that it is because it expects to find a network out 
there. Mine is a stadalone laptop with a PCMCIA network card which most of 
the time is out of the slots. Since there is not much output I cannot 
deterimine exactly why, when all the CUPS printers are declared as local and 
`Browsing' is `off' in /etc/cups/cupsd.conf, CUPS is trying to access the 
network any way. This is not a current Cooker problem. I have raised this 
before 9.0 went out ! Can anyone shed any light on what is going on here ? 
Does any one else see CUPS as slow to get started ? Is the fact that there is 
a network device configured at all enough to cause CUPS to try and access it 
? I don't want to remove / add any network configuration data every time I 
use the PCMCIA network card !

Thanks,
Owen






Re: [Cooker] libcups2 provides libcups1 but not versioned

2003-08-12 Thread Till Kamppeter
I have fixed this in libcups2-1.1.19-8mdk on the Cooker.

   Till

Christiaan Welvaart wrote:
libcups2 now provides: libcups1
but:
   libpng3 conflicts: libcups1  1.1.12-3mdk
I think the provides should be versioned. Somehow I got cups installed,
but rpm itself complains about it (when running rpm -Vav --nofiles):
  Unsatisfied dependencies for libpng3-1.2.5-6mdk: libcups1  1.1.12-3mdk
Christiaan






Re: [Cooker] libgphoto2: Last call for bugs in 2.1.2 release

2003-08-11 Thread Till Kamppeter
Unfortunately, attachments are not compatible with our mailing list/news 
system. Can you please send the attachment directly to my e-mail 
address? Thank you.

   Till

LUGGE wrote:
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to [EMAIL PROTECTED] for more info.
---1463809004-441834654-1060112378=:22102
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 5 Aug 2003, Till Kamppeter wrote:


Please test this version by updating the libgphoto2 package to the 
version 2.1.2-0.rc5.1mdk and then using gphoto2, gtkam, flphoto, 
and/or digikam.


What's happened to gphoto2?
My digital camera, a Canon Powershot S45, doesn't work anymore
if set in Normal Mode!
It worked well with all previous releases.
In attach with this message you can find some debug information.

Especially test if you have a Canon camera. Use both auto-detection or 
manual selection of USB PTP camera (even if your camera is explicitly 


In PTP Mode there is no problem.

TIA

 Marco

---1463809004-441834654-1060112378=:22102
Content-Type: APPLICATION/octet-stream; name=debug.bz2
Content-Transfer-Encoding: BASE64
Content-ID: [EMAIL PROTECTED]
Content-Description: 
Content-Disposition: attachment; filename=debug.bz2

QlpoOTFBWSZTWaKgEloADfBfgEgQVP//9//3zuGwYBIeNeX3te+h3Tzk
j5umUvYA+D49tXTVrSUlKvvk+pUBfbSUNsiqqqVUMkaJpGhPQan6U0aD1A00
[...]




Re: [Cooker] CUPS; missing headers patch

2003-07-27 Thread Till Kamppeter
I have applied your patch in CUPS 1.1.19-6mdk on the Cooker. Thank you 
for the report.

   Till

Oden Eriksson wrote:
onsdagen den 9 juli 2003 15.56 skrev Oden Eriksson:

Hi.

I'm working with a new php-cups package (from the cups source) but the
source needs two mising headers as of the patch below. Could you please fix
that thanks.


One more file was needed, sorry:

--- cups.spec   2003-06-26 18:55:29.0 +0200
+++ cups.spec.oden  2003-07-09 16:32:07.0 +0200
@@ -9,7 +9,7 @@
 Summary:   Common Unix Printing System - Server package
 Name:  cups
 Version:   1.1.19
-Release:   4mdk
+Release:   5mdk
 License:   GPL
 Group: System/Servers
 %define real_version %{version}
@@ -526,6 +526,10 @@
 # startup script by RPM. This automatic replacement is broken.
 #export DONT_GPRINTIFY=1
+# Install missing headers
+install -m644 cups/debug.h  $RPM_BUILD_ROOT%{_includedir}/cups/
+install -m644 cups/string.h $RPM_BUILD_ROOT%{_includedir}/cups/
+install -m644 config.h $RPM_BUILD_ROOT%{_includedir}/cups/
 # PRE/POST INSTALL SCRIPTS #

@@ -761,6 +765,9 @@
 # CHANGELOG #
 %changelog
+* Wed Jul 09 2003 Oden Eriksson [EMAIL PROTECTED] 1.1.19-5mdk
+- install missing headers
+
 * Thu Jun 26 2003 Till Kamppeter [EMAIL PROTECTED] 1.1.19-4mdk
 - Re-introduced SLP support.





[Cooker] GPhoto2 2.1.2RC4

2003-07-27 Thread Till Kamppeter
Oi,

GPhoto2 2.1.2 is planned to be released next weekend. So I ask all of 
you to test the RC4. Note that all photo-related packages are rebuilt 
due to a new libexif version. So to get all new software easily onto a 
Cooker box I recommend the use of urpmi (after the mirrors have caught up):

urpmi.update -a
urpmi gtkam flphoto libgphoto2 gphoto2 exif gexif
All non-mentioned packages will be installed automatically. Please 
report all problems, so that they can get fixed before the release of 2.1.2.

   Till




Re: [Cooker] Re: gphoto2 broken? Missing gphoto2_port files

2003-07-17 Thread Till Kamppeter
Oliver Lemke wrote:
Hi!

The following files are not packaged:

/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.so
/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.so
They are commented out in the spec file. After putting them back in,
it works.
Before:

-= gphoto2 --list-ports
Devices found: 0
Path Description
--
After:

-= gphoto2 --list-ports
Devices found: 3
Path Description
--
serial:/dev/tts/0Serial Port 0
serial:/dev/tts/1Serial Port 1
usb: Universal Serial Bus
The libgphoto2 package was rebuilt and broken by one of my co-workers. I 
have fixed in libgphoto2-2.1.2-0.rc3.3mdk.

   Till




Re: [Cooker] gphoto2 broken?

2003-07-17 Thread Till Kamppeter
Michael Reinsch wrote:
--4:w9uSo/GNpag'=.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi!

On Tue, 15 Jul 2003 17:09:29 +0200
Till Kamppeter [EMAIL PROTECTED] wrote:

Currently my digital camera (Kodak CX4230, USB) is no longer
detected by gphoto2. This used to work quite well, but stopped a few
days ago. Can someone confirm this? Or is this working for everybody
else?
Can you check with the lsmod command whether the dc240 (or similar
name) kernel module is loaded?


The only kernel module I found which has a similar name is
drivers/usb/dc2xx.o.gz - but this one is not loaded...
No kernel module is loaded when plugging in the camera - well, usb is
certainly loaded, but no additional module gets loaded (I used rmmod -a
several times before plugging it in).
Sorry, I didn´t see that the libgphoto2 package was rebuilt and broken 
by one of my co-workers. I have fixed it. Install 
libgphoto2-2.1.2-0.rc3.3mdk from the Cooker to get your camera detected 
again.

   Till




Re: [Cooker] gphoto2 broken?

2003-07-15 Thread Till Kamppeter
Can you check with the lsmod command whether the dc240 (or similar 
name) kernel module is loaded? If so, pleas unload it with rmmod 
dc240. This module blocks the USB access to the camera by gphoto2.

   Till

Michael Reinsch wrote:
--=.xvxl6NVM7XhC?a
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi!

Currently my digital camera (Kodak CX4230, USB) is no longer detected by
gphoto2. This used to work quite well, but stopped a few days ago. Can
someone confirm this? Or is this working for everybody else?




Re: [Cooker] Re: [CHRPM] kernel-2.4.21.3mdk-1-1mdk

2003-07-04 Thread Till Kamppeter
Adam Williamson wrote:
On Fri, 2003-07-04 at 22:28, Charles Shirley wrote:

On Friday 04 July 2003 17:01, Juan Quintela wrote:

- It should boot :p
My, that inspires confidence!  ;^


So which brave soul is going to test it first? :)
After Thomas Backlund has tested it successfully, I have tested, too. 
And it works on my Asus S8600 laptop with Pentium III 850 MHz and ext3 
file systems on IDE hard disk.

   Till




Re: [Cooker] Re: [CHRPM] kernel-2.4.21-0.0.1mdk-1-1mdk

2003-06-30 Thread Till Kamppeter
Stefan van der Eijk wrote:
Have people been able to boot this kernel? On which CPU? 


I guess it's not the CPU. Perhaps the filesystem?

I'm on ext3 (/boot and /)

On my Asus S8600 laptop I have four ext3 (including /, no extra 
partition for /boot) and one swap partition on a 40 GB IDE hard disk. No 
Windows partition at all.

   Till




Re: [Cooker] Re: [CHRPM] kernel-2.4.21-0.0.1mdk-1-1mdk

2003-06-30 Thread Till Kamppeter
For me it panics on 9.1, with the devfsd of 9.1.

   Till

[EMAIL PROTECTED] wrote:
On Sat, 28 Jun 2003, Götz Waschk wrote:

Haven´t updated in a while, but since devfsd seems also broken, doesn´t it 
panic because of a broken/nonexsistant initrd image (due to failed 
creation of it because of no loop dev entry?).

just a wild guess. What the panic message anyway?




Re: [Cooker] Re: [CHRPM] kernel-2.4.21-0.0.1mdk-1-1mdk

2003-06-28 Thread Till Kamppeter
Stefan van der Eijk wrote:
I guess everybody in this thread was trying to boot the kernel on an AMD 
based machine. Is this correct?
My Asus notebook (on which the kernel panics) has an Intel Pentium III 
(mobile) processor.

   Till




Re: [Cooker] cups depends on contribs

2003-06-26 Thread Till Kamppeter
Warly will move libopenslp to main.

I will upload CUPS 1.1.19-4mdk with corrected Requires and 
Buildrequires so that accidental moving of libopenslp to the contribs 
will be avoided in the future.

   Till

Quel Qun wrote:
--=-nfznvg9s9Deet/pL6TrF
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hello,

# rpm -U cups-1.1.19-1mdk.i586.rpm cups-common-1.1.19-1mdk.i586.rpm
libcups1-1.1.19-1mdk.i586.rpm
warning: cups-1.1.19-1mdk.i586.rpm: V3 DSA signature: NOKEY, key ID
70771ff3
error: Failed dependencies:
libslp.so.1 is needed by cups-common-1.1.19-1mdk
$ ls Mandrake/RPMS/libopenslp1*
ls: Mandrake/RPMS/libopenslp1*: No such file or directory
Peace,
--=20
 _   _ _   _
| |_| | |_/ |
| / / -_) | / / |
|_\_\___|_|_\_\_| @ sbcglobal.net
--=-nfznvg9s9Deet/pL6TrF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQA+1rr4qMXSp8VDtVARAsseAJ9++8bA+k6jRX8oPfc1OffS3UEvygCgjEmP
oUHwjHbdDpfREKryDkYrbU8=
=gPFR
-END PGP SIGNATURE-
--=-nfznvg9s9Deet/pL6TrF--






Re: [Cooker] Can anybody print pdf files in kde?

2003-06-26 Thread Till Kamppeter
John van Spaandonk wrote:
Hi,

It's been months since I've been able to print pfd files
from xpdf, kghostview or ghostview using cooker.
I seem to remember that it worked in 9.1.
Print job just disappears after a while, after job state 
in kjobviewer went to processing.
I cannot see anything relevant in cups log.
Switching to lpr/lpd does not help.

It is possible to print to file, and this produces a 
ps file that I can view with the mentioned programs.
Printing this file with lp however does not work.

Before I file a bug report, does anybody else have this
problem? There are no relevant cooker bug reports but
you never know...
Is this Mandrake related?
Or kde-related? (I do not have gnome installed atm)
Can you print PDFs directly on the command line:

lpr file.pdf

or with the printing functions of gv, xpdf, or acroread?

   Till




Re: [Cooker] libcups1 dependency

2003-06-26 Thread Till Kamppeter
This I have already fixed in CUPS 1.1.19-1mdk.

   Till

R.I.P. Deaddog wrote:
Stefan van der Eijk wrote:
| next one: libcups1?
|
| $ ~/test06.sh libcups1
| libcups1 Provides: libcups.so
| libcups1 Requires: libcrypto.so
| libcups1 Requires: libdl.so
| libcups1 Requires: libssl.so
[EMAIL PROTECTED] deaddog]$ rpm -q libcups1
libcups1-1.1.19-1mdk
[EMAIL PROTECTED] maddog]$ rpm -ql libcups1
/usr/lib/libcups.so.2
/usr/lib/libcupsimage.so.2
Where does the libcups.so come from? libcups1-devel?

Abel

|
| Stefan
|
|
--
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF




Re: [Cooker] CUPS afult

2003-06-26 Thread Till Kamppeter
Ron, can you file a bug directly to the CUPS authors, on

http://www.cups.org/str.php

   Till


On Mon, 2003-05-26 at 03:44, Ron Stodden wrote:
After many frustrating attempts to diagnose what is going on over years 
now, I have finally narrowed it down to CUPS in 9.1.  This machine 
does a great deal of printong.Printing leaves a large number of 
files in /var/log/cups and an even greater number (hundreds!) of files, 
each 0.5MB!) in /var/log/cups/tmp.   None of these are ever purged.

Please assure me that this major CUPS oversight has been corrected in 
Cooker. and that the fix is promptly made available in the 9.1 updates 
mirrors.




Re: [Cooker] Re: [CHRPM] kernel-2.4.21-0.0.1mdk-1-1mdk

2003-06-25 Thread Till Kamppeter
Same behaviour for the standard kernel on my Asus S8600 laptop (see some 
hardware info below).

   Till

--
[EMAIL PROTECTED] till]$ lspcidrake -v
unknown : Intel|82440MX CPU to I/O Controller [BRIDGE_HOST] 
(vendor:8086 device:7194)
unknown : Intel Corporation|82440 - 443MX AC97 Modem Controller 
(Winmodem) [COMMUNICATION_MODEM] (vendor:8086 device:7196 subv:1043 
subd:1436)
Card:Silicon Motion Lynx (generic): Silicon Motion, Inc.|SM720 Lynx3DM 
[DISPLAY_VGA] (vendor:126f device:0720 subv:1043 subd:1332)
maestro3: ESS Technology|ES1988 Allegro-1 [MULTIMEDIA_AUDIO] 
(vendor:125d device:1988 subv:1043 subd:1049)
unknown : Intel|82440MX PCI to ISA Bridge [BRIDGE_ISA] 
(vendor:8086 device:7198)
unknown : Intel|82440MX EIDE Controller [STORAGE_IDE] 
(vendor:8086 device:7199)
usb-uhci: Intel|82440MX USB Universal Host Controller 
[SERIAL_USB] (vendor:8086 device:719a)
unknown : Intel|82440MX Power Management Controller 
[BRIDGE_OTHER] (vendor:8086 device:719b)
8139too : Realtek|RTL-8139 [NETWORK_ETHERNET] (vendor:10ec 
device:8139 subv:1043 subd:1045)
yenta_socket: Texas Instruments|PCI1451 PC card Cardbus Controller 
[BRIDGE_CARDBUS] (vendor:104c device:ac52 subv:4000 subd:)
yenta_socket: Texas Instruments|PCI1451 PC card Cardbus Controller 
[BRIDGE_CARDBUS] (vendor:104c device:ac52 subv:4800 subd:)
unknown : Unknown|USB UHCI Root Hub [Hub|Root Hub] (vendor: 
device:)
[EMAIL PROTECTED] till]$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 10
cpu MHz : 846.869
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca 
cmov pat pse36 mmx fxsr sse
bogomips: 1690.82

[EMAIL PROTECTED] till]$
--
Stefan van der Eijk wrote:
This is a cryptographically signed message in MIME format.

--ms020601080104040002020201
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
This (enterprise-) kernel doesn't want to boot on my box (Asus NForce2, 
AMD althonXP, 1.5Gb). It panics before init message is shown on the screen.

Anybody else?

regards,

Stefan


--=-=-=

* Tue Jun 24 2003 Juan Quintela [EMAIL PROTECTED] 1-1mdk

- update cpufreq to 2.4.22-1 snapshot.
- update bootsplash to 3.0.7 (make warly happy).
- update andrea VM to rc8aa1.
- acpi 20030523.
- disabled several options 
- bcm4400 2.0.0 (thanks ronin).
- 2.4.21-final.




Re: [Cooker] Printerdrake surprise

2003-03-12 Thread Till Kamppeter
J.A. Magallon wrote:
I want to add a windows printer via samba. Auto detect did not work.
I tried to add the printer manually. All works fine until I try to print
a test page. Printerdrake tried to use something like 'smbprint', but
I only have samba3. So it is really named 'smbprint3'. I think that
autodetecting also fails because some like 'smblient' is not there,
because samba3 provides 'smbclient3'.
So, in short, samba3 and samba need a good amount of 'alternatives'
to get everything working. Or make them incompatible and add a few
symlinks in samba3 package.
Can somebody confirm this is really a bug, so I fill an entry in bugzilla ?
Or I'm forced to install both samba's ?
As the alternatives facility is there and it is really useful here, I 
think you should file a bug for this on bugzilla, either for the samba 
or the samba3 package.

   Till




[Cooker] Re: [DrakX] DrakX snapshot #1.806 uploaded

2003-03-11 Thread Till Kamppeter
David Walser wrote:
2003/03/11  Till Kamppeter  till at
mandrakesoft.com

- Do not configure OpenOffice.org any more,
only Star Office.

 OpenOffice.org is patched to have native
CUPS support now.

Does it still make sure the correct paper size (US
Letter) is selected for the proper locales?
printerdrake never set the default paper size of OpenOffice.org itself 
and it never wrote the paper size for the printers explicitly into a 
config file of OOo. It only assigned the PPD files to the printers in 
OOo. And as printerdrake sets up the CUPS print queues with the default 
paper size in the PPD files set correctly, the printers in OOo had the 
correct paper size. Now OOo gets the PPD files from the CUPS queues by 
itself. But as the queues are still made by printerdrake, they have the 
correct paper size and so OOo overtakes this. So no problem, you will 
not loose anything in OOo, but now you can even make print queues with 
the KDE Printing Manager or the CUPS web interface and you will also 
have full access to the printer capabilities in OOo and exacvtly the 
default settings as you have set for the CUPS queue.

   Till




[Cooker] Re: gv-3.5.8-27mdk : Unknown device: x11 Error: PostScript interpreter failed in main window

2002-10-30 Thread Till Kamppeter
The problem is GhostScript and I have already fixed. I will put the new 
GhostScript packages (-28mdk) onto the Cooker today.

   Till


Franco Silvestro wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On all my two current-cooker machine if I try open a ps/pdf file with gv I have a dialog with :

Unknown device: x11
Error: PostScript interpreter failed in main window.

...and nothing is viewable...(no previews in print also...)
cugood work...;o)
- -- 
Franco Silvestro
c/o CeSIA - Alma Mater Studiorum - Universita' di Bologna
'lynx -source http://www.reti.unibo.it/FrancoSilvestro.asc | gpg --import'
Key fingerprint = 3145 1309 C5D8 7B3F 2582  44D2 91BB ACAB E010 ABF9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9v/Y0kbusq+AQq/kRAm9KAKCMaVokWwzrJiaWwQBvmtZoun5RgwCgs9Us
VTWcfBV/6+FVXraKWi/KM70=
=cZ0X
-END PGP SIGNATURE-







[Cooker] Re: gv-3.5.8-27mdk : Unknown device: x11 Error: PostScript interpreter failed in main window

2002-10-30 Thread Till Kamppeter
The fixed GhostScript packages are uploaded now.

   Till


Franco Silvestro wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On all my two current-cooker machine if I try open a ps/pdf file with gv I have a dialog with :

Unknown device: x11
Error: PostScript interpreter failed in main window.

...and nothing is viewable...(no previews in print also...)
cugood work...;o)
- -- 
Franco Silvestro
c/o CeSIA - Alma Mater Studiorum - Universita' di Bologna
'lynx -source http://www.reti.unibo.it/FrancoSilvestro.asc | gpg --import'
Key fingerprint = 3145 1309 C5D8 7B3F 2582  44D2 91BB ACAB E010 ABF9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9v/Y0kbusq+AQq/kRAm9KAKCMaVokWwzrJiaWwQBvmtZoun5RgwCgs9Us
VTWcfBV/6+FVXraKWi/KM70=
=cZ0X
-END PGP SIGNATURE-







[Cooker] Re: NAISH backend integrated into SANE

2002-10-22 Thread Till Kamppeter
Will be no problem if the backend works with the upcoming SANE 1.0.9 
(pre2 available on SANE home page). I didn't test this backend. Can you 
send me your patches, thank you.

   Till


Curtis H wrote:
On Mon, 2002-10-21 at 09:00, Frederic Lepied wrote:


--=-=-=
Name: ldetect-lst  Relocations: (not relocateable)
Version : 0.1.4 Vendor: MandrakeSoft
Release : 19mdk Build Date: Mon Oct 21 17:43:42 2002


snip


o lst/ScannerDB: fix some Hewlett-Packard scanner from niash backend (Yves Duret)



Till,

Is it possible to get the NIASH backend integrated into the Mandrake
SANE rpm.  I've been using it for a while now (an HP3300C) on a local
machine and over the network.  It's worked without a problem.  I can
provide patches for ldetect-lst and the SANE rpm.  

With the patch to ldetect-lst, scannerdrake detects and configures it
correctly as well.
  





Re: [Cooker] 9.0 ghostscript bug

2002-10-18 Thread Till Kamppeter
Can you post some example text files?

   Till


Franco Silvestro wrote:

Also I noticed yesterday a problem in printing text files with programs as Kwrite,Kate or others... it seems I can preview but when I print some random portion of text disappears on paper
...it can be also that a ghostscript filter text to ps problem(xpdq text file printing has no  problem and all is printed...)
cu...;o)
 
On Friday 18 October 2002 17:16, Stéphane Teletchéa wrote:

I can confirm this bug.
I used latex to generate ps files with no errors (the files are 2 years old
now), and with 9.0, i cannot see it.


[...]


Le Vendredi 18 Octobre 2002 17:12, Norman Carver a écrit :


I transferred a bunch of Poscript figures from my older machines to a new
9.0 installation yesterday and found that all of the figures I have
created with GNU plotutils over the last couple of years produce errors
from the Ghostscript that is provided with MDK9.0 (and they cannot be
displayed, of course).



[...]






[Cooker] The bug of Canon-backends of SANE with Canocsan300by ISA SCSI

2002-10-14 Thread Till Kamppeter

I have made available debug-enabled Mandrake packages of SANE now:

sane-1.0.8-6mdk.src.rpm
libsane1-1.0.8-6mdk.i586.rpm
libsane1-devel-1.0.8-6mdk.i586.rpm
sane-backends-1.0.8-6mdk.i586.rpm
sane-frontends-1.0.8-2mdk.src.rpm
sane-frontends-1.0.8-2mdk.i586.rpm

Connor, and everyone else having a Canoscan connected with an ISA SCSI 
controller, please test doing the following steps:

Please download them from http://www.linuxprinting.org/till/tmp/ 
(immediately) or from a Cooker mirror (probably tomorrow) and put them 
all in one directory. Then upgrade with

rpm -Fvh *sane*1.0.8-[26]mdk.i586.rpm

After having done so, configure your scanner and do

scanimage -T

This will probably produce a file named core or core.XXX with XXX 
being an integer number (it must be the last entry of ls -ltr core*). 
Run the command

gdb -c core.XXX

where you replace core.XXX by the name of your core file. Now you will 
have a (gdb) prompt. Type backtrace and press Enter. Then type 
quit and press Enter.

If you don have gdb on your system, install it with urpmi gdb.

Send us all the screen output of both scanimage -T and gdb. Try also 
other things and send us screen output of the program called and of gdb.

If you have another RPMish distro than Mandrake, try to rebuild the RPMs 
for your distro:

rpm --rebuild sane-1.0.8-6mdk.src.rpm
rpm --rebuild sane-frontends-1.0.8-2mdk.src.rpm

Perhaps you must install a package named rpm-build or rpm-rebuild 
for that. You also need C compiler, Perl, and make on your machine. If 
more packages are needed you will get appropriate screen messages. Then 
proceed as shown above.

Please use Reply All in your mail program when replying to this, so 
that all people who got this mail also will get your answer.

Thank you in advance for your cooperation.

Till


abel deuring wrote:
 Till Kamppeter wrote:
 
That's no problem:

Uninstall the SANE backends with

   rpm -e --nodeps sane-backends

Install checkinstall:

   urpmi checkinstall

If this does not work, add a mirror carrying the contrib packages to
your rpmdrake/urpmi sources and try again.

Get sane-backends-1.0.9pre1 or better the current CVS when the CVS
server is back again (Use this version because I plan to package SANE
1.0.9 for Mandrake 9.0, especially because I made the Epson Perfection
1260 running together with the maintainer of the plustek backend). Add
your code which you havn't checked in yet and use checkinstall instead
of make install to make it easier to de-install this SANE version and
cleanly install anotherone.

Do not run scannerdrake any more now, and if you have a multi-function
device from HP also do not run printerdrake. These programs try to
install the old packages again (and will choke due to the conflicts with
the SANE RPM which checkinstall has installed).

The xsane provided by Mandrake Linux works also with SANE 1.0.9. If the
scanimage and xscanimage do not work, switch to
sane-frontends-1.0.9pre1 the same way as with the sane-backends-1.0.9pre1.
 
 
 Till,
 
 am I right that you are Mandrake's maintainer for Sane? 
 
 If you are, here are a few requests/comments:
 
 According to the backtrace information posted by Henning on the mailing
 list, the segfault occurs somewhere in the sanei_scsi library.
 Unfortunately, the debug symbols seem to be removed from the binaries in
 the Mandrake rpm files, so we don't get very precise information about
 the location of the segfault. WHat Mitsuru and I would like to know is
 where exactly the segfault happens. So it would be best, if we and the
 users who have the Canoscan 300 and the other hardware, for which the
 segfault occurs, could get the regular Sane files from Mandrake 8.0 --
 but _with_ debug symbols, and also the source files, if Mandrake applied
 some patches to them. Using the most recent sources from Sane's CVS
 server could result in different behaviour.
 
 Abel
 
 





Re: [Cooker] Printing setup and problems

2002-09-17 Thread Till Kamppeter

Thank you very much for your report, I only want to tell you that my 
name is Till, not Tim.

Till


SpamKill wrote:
 
 Tim... new news..
 
 I printed the Test Page from the Printer Administration panel in 
 OpenOffice.org..
 and guess what!! it printed great I also printed a document from 
 OOo, and it printed fine also!
 
 OOo is using this command:
 /usr/bin/perl -p -e s=/euro /unused=/Euro /unused= | /usr/bin/lpr-cups -P
 
 And this is with the 880.ppd file for this printer, set up in 
 Printerdrake. :)
 
 I tried printing from KWord, just to try KDE printing again, and it 
 blinks for a bit, then dies... no printing.
 
 So it seems this is a KDE problem only.
 
 Just thought you would want to know.
 
 --Bill
 
 ===
 
 Till Kamppeter wrote:
 
 Saving options in the Properties dialog of kprinter works for me. 
 They go into the ~/.lpoptions file in your home directory. Make sure 
 that the file is writable for you (not owned by root or so) and that 
 there is no directory named ~/.lpoptions. If the file does not exist, 
 it will be created the first time you save options. The settings in 
 the file are valid also for the lpr, lp, and xpp commands and 
 options saved with lpoptions or xpp go also into that file. These 
 settings are valid only for you.

 Option settings saved from one of the above mentioned programs running 
 as root go into /etc/cups/lpoptions and are system-wide when not 
 overridden by a personal ~/.lpoptions file. These settings are valid 
 for all users on the local machine.

 Driver options set with the KDE Printing Manager, Printerdrake, the 
 CUPS web interface (http://localhost:631/), or the lpadmin command 
 are saved in the printer's PPD file (/etc/cups/ppd/printer 
 name.ppd). These settings are also valid when printing from a remote 
 machine.

 When modifying something on your printer configuration, the tool you 
 use can ask you for login and password. Use root and the root password 
 then.

 Most applications produce PostScript level 2, so the printing system 
 must convert it to PostScript level 1. To do so, use the KDE Print 
 Manager or Printerdrake to set up your printer. Choose the Kyocera 
 FS-3800 as your printer and Foomatic + Postscript or GhostScript + 
 Postscript as your driver. Then set the GhostScript pre-filtering 
 option to Convert to PS level 1. Set the resolution to a value 
 supported by your printer's hardware. Duplex and Page Size should 
 be set how you need it for most of your print jobs.

 If printing works now but is too slow, try to use your printer in PCL 
 mode (model: HP LaserJet 4, driver: hpijs). This makes rendering to 
 be done by your computer and your computer has probably much more CPU 
 power than your printer.

 Please tell how you got it to work and what is the best solution.

 Till



 SpamKill wrote:

 FYI:
 The below printing problems are still not fixed. Although, if I use 
 my .ppd driver (that also worked perfectly in 8.2 BTW), I can get the 
 Alternate Test Page (Letter) to print. Nothing else will print, 
 either test pages, or from, let's say, Kword.

 It seems that Ghostscript is grabbing all output and converting to PS 
 Level 2 or 3. This happens even if I use the Apple Laserwriter IINTX 
 driver that has a Convert to Postscript Level 1 option. I can't get 
 Test Pages to print with this driver.

 The saving of the page size in Properties still fails at times.

 ===

 
  FYI:
 
  For the first time in months, I have finally gotten a printer to be
  removed, and a new one installed. Excellent!
 
  There are a few problems you may want to know about:
 
  Testing printer pages to my NewGen TurboPS/880 Postscript Level 1
  printer doesn't work. They are sent, but nothing prints. This is with
  either the Generic PS, or the Apple Laserwriter NTX, or the 880.PPD
  drivers. None of the three actually print a test page.
  It seems that they are all being sent as PS Level 2 or 3, and my 
 printer
  just will not accept anything above Level 1 PS.
 
  Also, if I try to print from let's say KWord, nothing will print 
 either.
  The job is sent, the lights blink, but just dies.
 
  Another problem with KDE printing is the setup or *Properties* don't
  save even if you click the Save button. Specifically the A4 paper size
  is default. I can change it to Letter and hit Save, but when I go back
  in, it has changed back to A4.
 
  The funny thing is that, the test pages have never actually printed,
  even back many distro levels. But at least with the proper .ppd file
  installed, I could get printing to work from the kprinting app. Now 
 not
  even that works.
 
  It seems that ALL printing may be sending in Level 2 or above PS, but
  this is just a guess as to what the problem is. Is it possible to 
 add a
  button to Printerdrake as to what Level of PS printing is to be 
 sent as?
 
  A separate problem within KDE Print Manager is that I can't remove or
  add a printer there directly.
 
  I have also

[Cooker] Re: Unable to print: /undefinedfilename in (/dev/fd/0)

2002-09-02 Thread Till Kamppeter

Can you send me the file which you wanted to print?

Can you also do

cd /usr/bin
mv foomatic-gswrapper foomatic-gswrapper.orig

and try to print again?

Till


Denis Pelletier wrote:
 Hello,
 
 I just found out that I'm unable to print to my local printer. The printer is 
 a Samsung Qwik-Laser 5100A attached to the parallel port (/dev/lp0). I'm 
 using CUPS on an up-to-date cooker machine. Note that I can print to this 
 printer from a remote win98 machine through samba.
 
 Changing the variable LogLevel to debug in /etc/cups/cupsd.conf I see the 
 following error in the file /var/log/cups/error_log after trying to print the 
 regular test page with printerdrake:
 
 D [02/Sep/2002:00:13:57 -0400] /usr/lib/cups/filter/cupsomatic: inserted 
 option PS code:
 D [02/Sep/2002:00:13:57 -0400] PJL: 12345X@PJL
 D [02/Sep/2002:00:13:57 -0400] job data
 D [02/Sep/2002:00:13:57 -0400] 12345X@PJL RESET
 D [02/Sep/2002:00:13:57 -0400] gs PID pid2=25144
 D [02/Sep/2002:00:13:57 -0400] gs command: gs -q -dBATCH -dSAFER -dNOPAUSE 
 -sDEVICE=ljet4 -sOutputFile=- - | perl -e while (\$line = ) { my \$b = 
 \\; \$match |= ( \$line =~ s/\x1bl\d+A/\$\$b/ ); \$line =~ 
 s/\x1bl0H/\$b/g; print \$line }
 D [02/Sep/2002:00:13:57 -0400] foomatic-gswrapper: gs '-dBATCH' '-dSAFER' 
 '-dNOPAUSE' '-sDEVICE=ljet4' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 31 12
 D [02/Sep/2002:00:13:57 -0400] ESP Ghostscript 7.05 (2002-07-08)
 D [02/Sep/2002:00:13:57 -0400] Copyright (C) 2002 artofcode LLC, Benicia, CA.  
 All rights reserved.
 D [02/Sep/2002:00:13:57 -0400] This software comes with NO WARRANTY: see the 
 file PUBLIC for details.
 D [02/Sep/2002:00:13:58 -0400] Error: /undefinedfilename in (/dev/fd/0)
 D [02/Sep/2002:00:13:58 -0400] Operand stack:
 D [02/Sep/2002:00:13:58 -0400] D [02/Sep/2002:00:13:58 -0400] Execution stack:
 D [02/Sep/2002:00:13:58 -0400] %interp_exit   .runexec2   --nostringval--   
 --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
 --nostringval--   --nostringval--   false   1   %stopped_push   
 --nostringval--   --nostringval--
 D [02/Sep/2002:00:13:58 -0400] Dictionary stack:
 D [02/Sep/2002:00:13:58 -0400] --dict:1048/1123(ro)(G)--   --dict:0/20(G)--   
 --dict:68/200(L)--
 D [02/Sep/2002:00:13:58 -0400] Current allocation mode is local
 D [02/Sep/2002:00:13:58 -0400] Last OS error: 2
 D [02/Sep/2002:00:13:58 -0400] ESP Ghostscript 7.05.4: Unrecoverable error, 
 exit code 1
 D [02/Sep/2002:00:13:58 -0400] tail process done writing data to *main::STDOUT
 D [02/Sep/2002:00:13:58 -0400] KID4 finished
 D [02/Sep/2002:00:13:58 -0400] KID3 finished
 D [02/Sep/2002:00:13:58 -0400] 0 %%PageTrailer
 D [02/Sep/2002:00:13:58 -0400] 0 %%Trailer
 D [02/Sep/2002:00:13:58 -0400] Saw Trailer!
 D [02/Sep/2002:00:13:58 -0400] Saw EOF!
 D [02/Sep/2002:00:13:58 -0400] error closing *main::KID3 at 
 /usr/lib/cups/filter/cupsomatic line 822, STDIN line 65063.
 E [02/Sep/2002:00:13:58 -0400] PID 25141 stopped with status 32!
 D [02/Sep/2002:00:13:58 -0400] UpdateJob: job 29, file 0 is complete.
 D [02/Sep/2002:00:13:58 -0400] CancelJob: id = 29
 D [02/Sep/2002:00:13:58 -0400] StopJob: id = 29, force = 0
 D [02/Sep/2002:00:13:58 -0400] StopJob: printer state is 3
 
 






[Cooker] Re: Unable to print: /undefinedfilename in (/dev/fd/0)

2002-09-02 Thread Till Kamppeter

Are you using devfs or did you turn it off?

Till


Denis Pelletier wrote:
 On Monday 02 September 2002 06:08, Till Kamppeter wrote:
 
Can you send me the file which you wanted to print?
 
 
 I'm unable to print any ps and pdf file. One file I can't print is the 
 standard test page of printerdrake (Modify printer configuration - print 
 test pages - standard test page).
 
 
Can you also do

cd /usr/bin
mv foomatic-gswrapper foomatic-gswrapper.orig

and try to print again?
 
 
 After doing this I can print again. Can you explain this one?
 
 Thanks.
 






Re: [Cooker] Re: [CHRPM] OpenOffice.org-1.0.1-5mdk

2002-08-29 Thread Till Kamppeter

At first, update the drakxtools packages from the Cooker as soon as they 
come out next time, then start Printerdrake and close it, then start the 
GIMP and print (please report your results, I need testers).

David Walser wrote:
 --- Gwenole Beauchesne [EMAIL PROTECTED]
 wrote:
 
Awesome!!!  Where can we get more info. on how


See the end of /usr/lib/libDrakX/printer.pm, especially after doing the 
update which I mentioned in the beginning.

this

works (both OO.o and printerdrake)?

LC_ALL=locale locale -k LC_PAPER returns the paper
dimensions for 
locale.
 
 
 and then it translates that info. to a paper size
 setting?  Cool.
 

I use simply the rule of whether LC_PAPER (if not set LANG, LANGUAGE, 
LC_ALL) is en_CA, fr_CA, or en_US. In this case the default paper 
size is Letter, otherwise A4 (search for LC_PAPER in 
/usr/lib/libDrakX/printerdrake.pm to see the code.

 
printerdrake generates correct psprint.conf if
either OOo or SO is 
found. But better ask Till for the internals. He is
printers master. ;-)
 

See above.

 
 Hehe, I was gonna try to implement that, he beat me to
 it.  I wonder if it'll configure the paper size for
 other things too now (like KDE and Mozilla).
 

Printerdrake does not adjust the default paper size of Mozilla, but KDE 
with its KDE Print infrastructure gets the paper size setting from the 
CUPS configuration of your system, and the CUPS configuration is 
correctly done by Printerdrake.

Happy printing.

Till





Re: [Cooker] Strange conflicts with new packages

2002-04-21 Thread Till Kamppeter



R.I.P. Deaddog wrote:
 On Sun, 21 Apr 2002, Han wrote:
This must be an error:
file /usr/share/vim/lang/fr from install of vim-common-6.1-5mdk conflicts with file 
from package libgimpprint1-4.2.1-0.pre5.1mdk
file /usr/share/vim/lang/pl from install of vim-common-6.1-5mdk conflicts with file 
from package libgimpprint1-4.2.1-0.pre5.1mdk
file /usr/share/vim/lang/sk from install of vim-common-6.1-5mdk conflicts with file 
from package libgimpprint1-4.2.1-0.pre5.1mdk

 
 Both vim-common and libgimpprint1 share the problem. Have been
 extensively discussed as well. For vim-common, please remove it
 and re-install. For libgimpprint, I have asked Till why it
 owns /usr/share/locale/*, but was denied. Till, here?

I will fix it, but not in the next two weeks because I am on travel.

Till






[Cooker] Re: CUPS owns /usr/share/locale/* [Was: vim-common-6.1-4mdk is dangerous]

2002-04-18 Thread Till Kamppeter

cups-common does not own /usr/share/locale. I have checked it.

   Till


R.I.P. Deaddog wrote:


That means the above packages try to own /usr/share/locale/*,
which should belong to locales-* packages instead. I'm not
sure if KDE people will fix it at all, but for cups-common
and libgimpprint1, perhaps Till will fix this soon?

PS Hence CC'ed to Till







Re: [Cooker] Printing with Canon S400

2002-03-26 Thread Till Kamppeter

GIMP-Print is not only for the GIMP, it is also the general-purpose 
printer driver for most Epson and Canon inkjets. It is automatically 
configured by printerdrake and will be used for all jobs, independent 
from which application they were sent, also for the test page. Your 
printer is one of the printers for which GIMP-Print is used.

Till


Marc Lijour wrote:
 However, I have to specify that my problem is not directly related to GIMP (I 
 have not tested that!).
 The problem appears as soon as I print a test page from the CUPS admin menu.
 
 Disregard if necessary, I just wanted to make myself clear.





Re: [Cooker] urpmi is scoring me?

2002-03-25 Thread Till Kamppeter

Hier ist die Übersetzung ins Englische (Here is the english translation):

François Pons wrote:
 Jochen Schoenfelder [EMAIL PROTECTED] writes:
root@excalibur:/home/jochen  urpmi --auto-select
erstenEines der folgenden Pakete wird benötigt:

One of the following packages is needed:

 1- libqt3-3.0.3-1mdk.i586
 2- libqt3-devel-3.0.3-1mdk.i586
Ihre Wahl? (1-2) 1

Your choice? (1-2) 1

Eine schlechte Wahl, versuchen Sie es erneut

Bad choice, try again.

Ihre Wahl? (1-2)

Your choice? (1-2)

 My understanding of german is quite limited, Till do you have any suggestions
 about that ?


Ich hoffe, das hilft Dir weiter (I hope this will help you).

Till





Re: [Cooker] urpmi is scoring me?

2002-03-25 Thread Till Kamppeter



François Pons wrote:
1- libqt3-3.0.3-1mdk.i586
2- libqt3-devel-3.0.3-1mdk.i586
Ihre Wahl? (1-2) 1

Your choice? (1-2) 1


Eine schlechte Wahl, versuchen Sie es erneut

Bad choice, try again.


Ihre Wahl? (1-2)

Your choice? (1-2)

[...]

 
 So everything is correct in urpmi in germain ?

The problem is that when the user chose 1, that his choice was 
rejected. 1 is a legal choice. If 1 would be not legal, urpmi should 
not ask, but simply install 2 automatically.

Till






Re: [Cooker] printerdrake and printer issues

2002-03-15 Thread Till Kamppeter

So localedrake did not change your locale settings, or you chose an 
existing queue, which always stays on the value set last time. So 
double-click on your printer's entry, choose Printer Options and then 
Letter as page size. The setting will be saved and stay valid as long 
as you do not change it again.

Till


SI Reasoning wrote:

 --- Till Kamppeter [EMAIL PROTECTED] wrote:
 
 I ran localedrake and chose US. I then retried
 printerdrake and continue to have it default to A4. 






[Cooker] Re: Updated cups package with fixed setcupsconfig

2002-01-19 Thread Till Kamppeter

I have now uploaded CUPS 1.1.12-3mdk which follows your suggestion of 
using the Listen directives instead of Port directives. The 
implementation is somewhat different to your patch so that the Listen 
lines get changed when the user changes his nework settings and restarts 
CUPS afterwards,

Thank you for your suggestion.

Till


David Walser wrote:

 Hi all,
 
 I modified setcupsconfig to do what I was talking
 about earlier.  I uploaded a new cups SRPM package
 with it to ftp.linux-mandrake.com/incoming
 
 I'd really appreciate it if people could test this,
 and if there are no complaints, I'd also appreciate it
 being accepted into Cooker.  Thanks you.
 
 If you don't want to DL the new SRRM, here's the diff
 I got for my changes to setcupsconfig (and the diff
 command I used):
 
 diff -u /usr/sbin/setcupsconfig setcupsconfig 
 --- /usr/sbin/setcupsconfig Sun Jan  6 18:19:47
 2002
 +++ setcupsconfig   Fri Jan 18 22:17:55 2002
 @@ -227,9 +227,17 @@
  # Insert the new Printcap line
  push @cups_conf_content, TempDir
 /var/spool/cups/tmp\n;
  
 -# Is there a Port line? If not, add Port 631
 -if (!(grep(m/^\s*Port\s+/, @cups_conf_content))) {
 -push @cups_conf_content, Port 631\n;
 +# Is there a Port or Listen line? If not, add a
 Listen line for each non-gatewaynet local interface
 +if (!(grep(m/^\s*(Port|Listen)\s+/,
 @cups_conf_content))) {
 +push @cups_conf_content, Listen
 127.0.0.1:631\n;
 +if (!defined($gatewaynet)) {
 +$gatewaynet = -1;
 +}
 +for ($i = 0; $i = $#local_ips; $i++) {
 +if ($i != $gatewaynet) {
 +   push @cups_conf_content, Listen ,
 $local_ips[$i], :631\n;
 +}
 +}
  }
 
  # Remove all valid ServerName lines
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 
 
 






[Cooker] Re: [CHRPM] cups-1.1.10-2mdk

2001-09-01 Thread Till Kamppeter

How do you start the network after booting? If you do

service network start

the hostname should be set correctly automatically. When you do

service cups start

after starting the network, CUPS gets automatically configured for the 
current network situation.

Till


Michael Reinsch wrote:

 Hi!
 
 On Sat, 01 Sep 2001 03:15:01 Till Kamppeter wrote:
 
 
 * Sat Sep 01 2001 Till Kamppeter [EMAIL PROTECTED] 1.1.10-2mdk
 - Added checks for system environment to the CUPS startup script,
   missing kernel modules and a missing loopback device are started
   automatically now.
 
 
 Thanks. But now I know why my hostname is reset to localhost: the cups
 startup script does it :-(
 
 I have a notebook and don't start the network during boot because sometimes
 I'm without network and I don't want to wait for the dhcpcd to timeout.
 
 I also have my hostname in the /etc/hosts, so the cups startup script
 should maybe only reset the hostname to localhost if it is not there. And
 print a warning: e.g. Network not up, hostname not found in /etc/hosts,
 resetting it to localhost. Or maybe even better: don't change the 
 hostname but refuse to load cupsd and tell the user why.






Re: [Cooker] printing problems under GNOME with CUPS

2001-04-16 Thread Till Kamppeter

Robin Cook wrote:
 
 I still have a printing problems under gnome with cups to HP laserjet
 printers (HP4, HP4Si, HP4050.)
 
 When I print a text file from the command line with lpr it print all the
 pages but the first letter
 of each line is cut off as it starts in the non-printable area of the
 page for the laserjet.
 

To fix this, start xpp, choose your printer and click on "Options". On
the "Text" tab adjust wider borders and then save your setting. The text
problem should be solved now. Do this as "root" to make the settings
system-wide.

 When I try printing under an application (Abiword, gedit, Evolution,
 etc) all the pages are printed
 on one page.


Can you try "gv -" or "gv" (one of the two will work) as printing
command and tell me whether "gv" displays the PostScript output
correctly. You can also print into a file and check the file with

   gv file 

in a terminal window. This way you can check whether the GNOME programs
(using the GNOME print library for generating PostScript) produce
correct PostScript. If you get correct PostScript files in "gv", try the
printing facility of "gv". Tell me your results.

   Till



 Robin Cook




Re: [Cooker] Cups using 95% CPU?!

2001-04-04 Thread Till Kamppeter

The problem is fixed, proceed as described on

   http://qa.mandrakesoft.com/cgi-bin/show_bug.cgi?id=2125

Download from the Cooker if you have a beta of 8.0.

   Till


"Bruce F. Press" wrote:
 
 This is a multi-part message in MIME format.
 --011136E15442C65459255807
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 I'm sorry, but I just can't buy that.  Those of you on desktops
 may not be able to tell, but if you're on a laptop the fan spins
 up when something is chewing the CPU cycles.  This happens when
 something slips into an infinite loop (like netscape!) or when
 compiling (fair enough).  But a daemon in a wait, or blocking
 on a select should never do this.
 
 Bruce
 
 Civileme wrote:
 
  On Friday 30 March 2001 16:05, you wrote:
   Just noticed that my CPU usage was saturating at 100% and gtop shows me
   that cupsd is using 960f it. Wow! I agree this is a powerful sw, but
   still...
  
   =-=
   kk1
  
   
   Get free email and a permanent address at http://www.netaddress.com/?N=1
  By what instrument are you measuring it?  I know of one that will show you
  99.9% CPU usage simultaneously on up to five processes!  "Wow," said my
  compatriates, "when can I have an SMP test machine?"
 
  And I see also the frequent report of "kapm-idled sucking up my CPU cycles"
 
  The truth is, SOME process is always waiting for an event or taking up CPU
  time.  Just until now the truth-in-reporting law has never been strictly
  enforced.  When you see an idle process hogging your CPU, look at its "nice"
  number.  If that is in the range of positive 16 to positive 20, it means you
  are letting your computer run without you, and whatever process is
  broadcasting a short message over the net or checking for a PIO event on a
  very low priority is being given all that idel time to do it.  Cups does
  broadcast its presence if you have a queue on your own machine, even if you
  have no network except 127.0.0.1.  If you leave the machine on overnight,
  what ELSE is going to take up time besides updatedb and makewhatis?
 
  Civileme
 --011136E15442C65459255807
 Content-Type: text/x-vcard; charset=us-ascii;
  name="brucefp.vcf"
 Content-Transfer-Encoding: 7bit
 Content-Description: Card for Bruce F. Press
 Content-Disposition: attachment;
  filename="brucefp.vcf"
 
 begin:vcard
 n:Press;Bruce
 tel;fax:410-715-9397
 tel;work:443-656-7304
 x-mozilla-html:TRUE
 url:http://www.capita.com
 org:Capita Technologies Inc.
 version:2.1
 email;internet:[EMAIL PROTECTED]
 title:Principal Consultant
 adr;quoted-printable:;;8830 Stanford Blvd=0D=0ASuite 205;Columbia;MD;;USA
 x-mozilla-cpt:;-7008
 fn:Bruce Press
 end:vcard
 
 --011136E15442C65459255807--




Re: [Cooker] CUPS problems, KUPS problems, and well done

2001-04-02 Thread Till Kamppeter

Vincent Meyer wrote:
 
 KUPS works great, but has a SMALL bug.  When adding a SMB
 printer who's share has a space in it, it's not seen by the "scan network"
 function.  Clicking on the computer says that there is no printer.  If you
 add the printer anyway, it works fine.  Adding printers who have a share
 name without a space works great.
 

Fixed. Download KUPS 1.1-5mdk from the Cooker and scan your network
again.

   Till




Re: [Cooker] Lexmark Z11 printer and LM7.2 -Fixed in LM8.0???

2001-03-28 Thread Till Kamppeter

Can you try the newest versions of cups-drivers and ghostscript from the
Cooker?

   Till


Alaric Ravenhall wrote:
 
 PLEASE PLEASE,
 Let's get some research and patches/fixes done on this printer driver for
 cups. The one included in LM 7.2 simply doesn't work. period. This is really
 frustrating, and of course due to Lexmark's building this as a windows
 proprietary printer, but I know we can overcome, because others have. I just
 pray that the 8.0 release will have a CUPS setup for this printer that
 works.
 But, to steal a quote from Reading Rainbow's Lavar Burton, "You don't have
 to take MY word for it."
 Go look at the posting forum on this subject at this link:
 http://f23.parsimony.net/forum51677/index.htm
 Ravenhall
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: [Cooker] Turn off Browsing by default for CUPS

2001-03-28 Thread Till Kamppeter

In Mandrake 8.0 we do not broadcast any more to 255.255.255.255. The
broadcasting is automatically configured to only the local network.

   Till



Nicolas Pomarede wrote:
 
 Hello all,
 
 I used MDK 7.2, and since I had a little "problem" with it, I thought it
 might be usefull to change the behaviour of CUPS for MDK 8.0
 
 In fact, by default, cupds.conf braodcast on port 631 UDP to find other
 machines using the same protocol to shared printers.
 
 Unfortunately, we have a firewall (and I think that many company have this
 nowadays) on the same LAN (which is quite normal...) ; the problem is that
 this firewall runs some program to prevent/detect intrusion or DOS attack.
 So, after a few minutes, since the firewall machine received many
 unsollicited UDP packets on port 631, he decided my machine was trying to
 attack it and add a "route reject" to block outgoing packet.
 I was then unable to reach the firewall (or in fact, he was unable to
 reach me), and I couldn't acces internet anymore.
 
 Hopefully, I'm rather familiar with admin. and this kind of things, so I
 was able to track the faulty application (cups) and change its config file
 to top this behaviour.
 
 in cupsd.conf, I simply replaced
 #Browsing On
 by
 Browsing Off
 
 Could it be possible to include this in the MDK 8 Cups config file by
 default ?
 
 On a more general thought, many firewall don't really like broadcast on
 their ports, and I think having some packages which by default use
 broadcasting on 255.255.255.255 without warning the user is not a good
 thing. I don't think a beginner user would have been able to solve this
 problem easily.
 
 Moreover, the most commons case today when you want to print are :
  - you have your own printer on parallel port - browsing not required
  - you use a LAN printer with its own IP addr - browsing not required
 
 In a heterogeous company's environment, with many Windows PC and
 (unfortunately for now) not many Linuxes, I don't think the possibility to
 share printer by UDP port 631 is often used, so turning Browsing OFF by
 default shouldn't harm many users (novice or not). Once the printer works
 with LAN or parallel port, it should always be possible for the user to
 read cups doc and to turn browsing ON on his LAN.
 
 Any thought ?
 
 bye
 
 
 Nicolas Pomarede   e-mail:   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
 "It said uses Windows 95 or better, so I loaded Linux!"
 "In a world without walls and fences, who needs windows and gates ?"




Re: [Cooker] printer share

2001-02-17 Thread Till Kamppeter

I assume that your Linux clients use LPD as printing system (with CUPS
all goes automatically). So you must set up an LPD emulation (the
so-called CUPS-LPD mini daemon) on your CUPS server. Proceed as shown in

   http://mandrakeuser.org/hardware/hcups4.html#lpdcl

Happy printing.

   Till


Georgi Mikhailov wrote:
 
 Hi there,
 I tried to configure LAN with linux and windows machines, using linux print
 server. SAMBA is working fine, so all win. computers can print, but linux
 clients do not have "line printer access on the server". All the machines have
 entries into /etc/hosts file.
  My question is what file should I edit to solve the problem. Thanks.





[Cooker] Improving the GNU/Linux printing support

2001-02-12 Thread Till Kamppeter

Oi,

now I have entered the execution data of all printer drivers listed on
www.linuxprinting.org (except the Seiko label printer driver "slap"
which does not support PostScript or graphics input), which means that
when you update to the newest packages of GhostScript and CUPS-Drivers
from the Cooker (backport for 7.2 comes later) all printers listed on
www.linuxprinting.org will work as described there.

But many printers (especially laser printers) do not simply print the
document as generated by the printer driver, they accept also some extra
commands (so-called PJL commands), sent before the job is sent, to
access special printing modes as toner saving mode, smoothing of edges
(REt), input tray selection, usage of finishers, ... This works for both
PostSctipt and non-PostScript printers.

Unfortunately, the database of www.linuxprinting.org does not contain
many PJL commands, and I have found out how to read the available ones
out of the printer. So I ask you to read out the PJL options of your
printer and send them to me (to me, not onto the lists, to prevent them
from being flooded). Read the attached file or surf to 

   http://www.linuxtag.org/2001/deutsch/showitem.php3?item=194lang=en

to see a call written by Kurt Pfeifle who is the author of many printing
articles in the german "Linux Magazin". It contains all info which you
need to do the check.

Thank you in advance for your PJL option files.

   Till
Title: Call for Support: Collection of valid PJL commands for
all printers by "Linuxprinting.org"





Call For Support: 
Collection Of Valid PJL Commands For
All Printers By "Linuxprinting.org"

Every user with a printer can help to achieve a better Linux print 
support. Wanna help out?

PJL And The Linuxprinting Database



You are asked to help fill the Linuxprinting.org Database with valid pieces of info concerning the PJL commands understood by your printer. Every user with a printer connected to a parallel or USB port can help to achieve a better Linux support for his printer (if not working perfectly already).

The Database has been built and accumulated by Grant Taylor, the well-known author of the Linux Printing 
HOWTO for quite some time. It is a key for the achievement of one (or some?) hi class Free printing system(s) for Linux. For quite a few printers the data about working PJL commands are still very incomplete. The quicker and the more precise this gap is filled the more profound and rapid the Linux support for modern printers in a Linux environment (and, in fact, amongst other Free Unix-like operating systems as well as non-Free ones) will develop in the months ahead. The database is not just of a huge advantage for CUPS -- other printing and spooling systems will also benefit a lot, like BSD-LPD, 
LPRng or PDQ.



On the backgrounds and workings of this database you might want to read a bit in my (so far German-only) "CUPS-FAQ". If there is comcern, I could do a translation of a more detailed explanation of this action also comprehensible for newbies. (Hello, you editors of printed magazines: isn't this a good story for you as well? The author's fee I'll donate to a free software project... ;-)

 This here is just a short shot.



A Shell Script To Read The PJL Capabilities Off The Printer

Keying in the PJL info for thousands of printers off the vendor's documentation is very tiring and error-prone.  Is this docu available at all? Is it complete? Is it correct? -- There's a better way to find out, with your help: ask you printer directly, what it supports... 
Till Kamppeter, architect and maintainer of the new Mandrake 7.2 printing system which chose CUPS to be the premium install (Till is also author 
of the free GUI Tool for CUPS, XPP), has presented a small shell script to help you do the job. Every Linux (and maybe, BSD) supporter can use it to ask his printer(s) about their level of PJL support. The results will go into the database which is designed to become the repository of automatic driver and printer configuration files for the major spooling systems CUPS, LPD, LPRng and PDQ.


Just copy the 6 line shell script beneath, save it with an easy to remember name of your joice and mak it executable:

   #!/bin/sh
   echo &quo

Re: [Cooker] Why hasn't cups been updated to version 1.15 in cooker?

2001-01-05 Thread Till Kamppeter

Done,

   Till


Khawar Zia wrote:
 
 hey,
 Why hasn't cups been updated to version 1.15 in cooker?
 
 Thank You
 --Khawar "quitedown" Zia





Re: [Cooker] kword printing through cups?

2000-12-03 Thread Till Kamppeter

Do the following:

RTFM on http://www.mandrakeuser.org/hardware/#4th

Make sure that your /etc/cups/cupsd.conf has the line

   Printcap /etc/printcap

without an hash mark ("#") in the beginning and restart the daemon with

   service cups restart

Now you must have a printer list in the printing dialog of kword.
Unfortunately, one cannot set the printer's options from within kword
because its printing dialog is made for LPD. To set the options, start
"qtcups" or "xpp", change the options as you want to have them and SAVE
them. Then they are used by any program, also by kword, and so you can
print your kword documents in up to "1440x720 dpi, Highest Quality"
(Slow!) and "Adaptive Hybrid", as "Image Type" you should choose what is
best for you (I assume that you have a chosen a "GIMP-Print" driver when
you have set up the printer).

   Till



Ed Wilts wrote:
 
 I'm trying to print some kword documents with embedded photographs.  When
 printing in kword, the print request menu does not show any printers,
 although the file does print.
 
 The bad news is the documents prints like it's got 8-but color on an Epson
 Stylus Photo 870.  The photographs look like crap.
 
 I tried to print to file and then telling qtcups to print at 720dpi, and the
 printout is a wee bit better (since kword defaults through cups at 360dpi)
 but still not with enough color depth.
 
 Can anything be done about this in the short term?  Is it something I'm doing
 wrong?  If I can't get this resolved in the next day or so, I'll be forced to
 use MS Word to do my Christmas letters, and that ain't right :-(





Re: [Cooker] CUPS deficiencies.

2000-12-03 Thread Till Kamppeter

Ron Stodden wrote:
 
 To Till Kamppeter,
 
 Re CUPS.
 
 I have two machines on a LAN, say called 'one' and 'two'.   One has a
 deskjet 970cxi attached to the parallel port.  Two is a gateway
 machine to the internet with two NICs.
 
 One may be running either Mandrake 7.2, fully updated, or Windows 98
 SE.
 
 Two runs either 7.2, fully updated, or today's Cooker and has no
 local printer.
 
 Two therefore has Kups set up with two printers, a remote CUPS
 printer, and an SMB remote printer.  Properly, kups on two comes up
 with one printer disabled, which one depending which OS is running on
 one.
 
 Kups Bug: On two, running Cooker, with the SMB printer disabled in
 kups, kups keeps producing a modal dialog box every few seconds
 stating that the printer (does not say which printer) is
 inacessible.  When this modal box is up, kups itself is inaccesible.
 Surely when a printer is marked as disabled, kups should not be
 trying to access it?  Also, the dbox should not be modal, so that
 other printers can be used.
 

This bug is known, shows up sometimes, and when one restart kups the
dialogs disappear in most cases.

 Xpp Bug: On two, running 7.2, xpp seems to be keeping its own
 independent history of all printers that have ever been connected to
 this machine, and dutifully produces all these printers listed in its
 window with no right click option to remove a printer.  Surely, like
 kups, it should only use the printers broadcast to it by the printer
 servers?


XPP is a printing frontend, it has no administration options (as
removing printers). The issue you have seen applies to the printer lists
of all frontends (XPP, QtCUPS, KUPS, lpstat), the list is generated by
the CUPS library. Unfortunately, it contains disabled, but existing
printer queues, and also entries which are only in ~/.lpoptions or
/etc/cups/lpoptions but do not exist on any server any more. Edit this
files and remove all obsolete entries from them. Start the frontend
again and you will have only two queues (one active depending on the
server's OS) left.
 
 Further, xpp makes an incorrect default printer selection (the
 bullet).  Surely it should NEVER select an inaccessible printer as
 the default printer?

The problem is that you can define a default printer by clicking on
"Options" and then "This printer as default", but this is static and
does not follow the OS change on the server. I think the CUPS authors
thought only about corporate networks and there are normally no
dual-boot machines. A solution would be the following:

Define a class containing the two queues (remote CUPS, SMB). Define this
class as your default printer. A print job sent to a class is treated by
the first printer responding. And because in your case there is only one
printer queue which can respond, the correct queue is chosen
automatically. The class you define with kups or the web interface, you
make it the default with XPP ("Options", "This printer as default").

   Till




[Cooker] Additional support for printing with CUPS

2000-11-18 Thread Till Kamppeter

Oi,

many questions appeared on the mailing lists about problems with CUPS,
the new printing system in Linux Mandrake 7.2. I have set up some places
for getting additional help in case of questions and problems with CUPS:

1. A large article covering all about CUPS, beginning from what CUPS is
over the configuration of printers and network connections, the usage,
up to special tips and tricks you get a lot of info. Go to

   http://www.mandrakeuser.org/hardware/#4th

Note that not all is available as web pages yet, but the text version is
complete.

2. Every week new tips and discussion about printing with CUPS on

   http://www.mandrakeforum.org/

Issues already available:

   http://www.mandrakeforum.com/article.php3?sid=20001116101952
   http://www.mandrakeforum.com/article.php3?sid=20001109145914
   http://www.mandrakeforum.com/article.php3?sid=20001102140711

Posting your questions here makes them easier available for other users,
because they are not mixed ub with discussions about other problems.

3. New versions of the packages concerning printing for installation
under Linux Mandrake 7.2 you will find on

   http://www.mandrakesoft.com/~tkamppeter/packages/

Download and install the most recent version. If problems appear with
the most recent, take an older one and tell me exactly what problems
appeared with the newest version. I only do a short test of these
packages before I put them there. They are not official updates, use
them on your own risk. They should help you to get rid of problems due
to bugs in the released packages. To install the packages enter

   rpm -Uvh package name

You do not need to install the ".src.rpm" packages, they contain the
source code of the programs and are there for interested users.

4. The web site where our printer driver and support information comes
from:

   http://linuxprinting.org/

There you get information whether printers are supported and how, which
drivers are available, you will be informed about new drivers and you
can discuss in the discussion forums. Bugs in the printer database you
can also report to me, because I am participating in the maintenance of
this database.

The best is, before you ask a question or report a bug, that you check
out these points. I hope they will solve most of the problems.

   Till




Re: [Cooker] Cups HP 970Cxi

2000-11-18 Thread Till Kamppeter

Unfortunately, GIMP-Print does not support this model, but "Foomatic +
cdj970" supports at least double-sided printing. It seems that the
GIMP-Print team is mainly concerned about Epson. One should suggest them
to support this printer, because it is an excellent piece of hardware,
as I know the only inkjet with duplex and it needs not more space than a
usual inkjet.

It seems that GIMP-Print does not support CRET III, CRET II support was
recently added to the CVS of GIMP-Print.

Removing printers:

The removal must be done on the machine where the queue for the printer
was created, usually on the machine where the printer is connected to.

Check the /etc/cups/printers.conf file. It has an entry for every
printer. When one removes a printer, the appropriate entry is deleted.
Check the permissions of /etc/cups/printers.conf, remove the undesired
entry manually and restart the CUPS daemon.

On clients the printer disappears only after a timeout of five minutes.
Restart the daemon there to let the entry appear immediately.

   Till



Armisis Aieoln wrote:
 
 I have the 970Cxi also, and need full support.
 I print alot and the 970Cxi supports 2 sided printing, but needs the software
 to tell it to. (plus other features the software needs to tell it to do, IE:
 turn on and off the ink drying light)
 
 Dave
 
 On Saturday 18 November 2000 07:04, you wrote:
  Till,
 
  Do you know if anyone is working on a GIMP-Print Driver for the HP
  Deskjet 970Cxi?
 
  Background:
 
  The standard CUPS driver (Foobar + cdj970) is max 600 x 600 dpi.
  The Windows HP latest-downloaded software will only print 2400 x 1200
  in Portrait, crashes in Landscape.  All 2400 x 1200 is stated to need
  400MB of hard disk space, which it has on C:\.
 
  Bug:
 
  An attempt to remove this printer using menu-item Kups CUPS Admin
  failed - removed it from the display only.  Rebooting and reloading
  the display shows it is still there.





Re: [Cooker] CUPS: Back in Cooker again!

2000-11-16 Thread Till Kamppeter

Ron Stodden wrote:
 
 However, none of these, or Acrobat itself, will print with CUPS.
 
 To understate things, this results in a bit of a problem ...


Did you try already the following things:

- Send a PDF file directly to CUPS:

 lpr -P printer file.pdf
 xpp file.pdf

- In Acrobat Reader try to use all the three PostScript levels offered
(this could surround a bug in PostScript generation by Acrobat or in
PostScript rendering by GhostScript).

- In Acrobat reader used either

 lpr -P printer

  or

 xpp

  as printing command

- Printed to a file with the Acrobat Reader and checked the PostScript
file by displaying it with "gv".

   Till




[Cooker] Dell Notebooks and Mandrake 7.2

2000-11-15 Thread Till Kamppeter

Someone knows whether and how these notebooks (or other recent Dells)
work with Mandrake 7.2 (especially graphics and sound):

  
http://www.euro.dell.com/countries/fr/fra/dhs/products/series_inspn_notebooks.htm

   Till




Re: [Cooker] Help

2000-11-15 Thread Till Kamppeter

Robert L Martin wrote:
 
 my printer (Cannon BJC 1000): Cups folks any comments???

This printer is very well supported under Mandrake 7.2, either with the
good old GhostScript bjc600 and bj200 drivers, but also by GIMP-Print
(choose "CANON BJC 1000, CUPS + GIMP-Print" in printerdrake, then you
can do a colour-calibration with "calibrate-gimpprint").

   Till




[Cooker] WARNING: CUPS on Cooker

2000-11-14 Thread Till Kamppeter

Oi,

PLEASE DO NOT INSTALL THE CURRENT COOKER AS YOUR ONLY OPERATING SYSTEM
WHEN YOU WANT TO PRINT!!!

As most of you already know, the current Cooker uses gcc 2.96 and new
standard libraries, so it is not binary-compatible to Linux Mandrake
7.2.

Unfortunately, CUPS does not compile in the new environment, and due to
some configuration issues which I have to fix for 7.2, I cannot fix the
compiling of CUPS soon.

Note that Cooker is intended to be a development and testing version of
Linux Mandrake and that it is not suitable as a production environment.

WE HAVE A LOT OF PROBLEMS WITH GCC 2.96.

If you want to help us in the development of printing, please use
Mandrake 7.2. Naturally every hint to get CUPS compiled with gcc 2.96 is
welcome.

   Till




[Cooker] CUPS: Back in Cooker again!

2000-11-14 Thread Till Kamppeter

Oi,

with the help of Chmouel I got the CUPS package compiled under the new
GCC 2.96. The problem was a "-O2 -O3" (both at the same time!) defined
as compiler optimization options by the CUPS authors. This worked with
all former gcc's and the compilers of all commercial Unixes, gcc 2.96 is
the first having problems with this senseless setting. Because the
Makefiles of CUPS hide the compiler command line I didn't see it.

Now you can print out of the Cooker version again, and I hope that you
will comment on any problem and give many contributions to make the
printing system even better in the next release of Mandrake.

   Till




Re: [Cooker] How can I get rid of cups ? (my way)

2000-11-14 Thread Till Kamppeter

Once, you can find the printtool under the contribs, and second, I
cannot imagine why you get bad printing quality with your HP LaserJet
6L. All drivers which were available for LPD in 7.1 are also available
for CUPS under 7.2. And under CUPS you can even do a lot of fine-tuning
to raise the printing quality.

The drivers available for your printer are

   HP LaserJet 6 series, CUPS+GIMP-Print
   HP LaserJet 6, Foomatic + ljet4
   HP LaserJet 6, Foomatic + stp-4.0 (GIMP-Print)
   HP LaserJet 6L, Foomatic + ljet4

The "Foomatic + ljet4" entries are exactly the same driver as in
Mandrake 7.1. They should give exactly the same quality. Make sure that
you set the default options correctly to get a high quality. Either got
to http://localhost:631/printers/, click the "Configure Printer" button
at the entry of your HP LaserJet 6L or start "kups" and click with the
right button on your printer in the printer list of the main window. In
the pop-up menu choose "Configure Printer". Now you can put the
resolution to 600x600 dpi, try different dithering methods, and so on.
You can even set up options for every individual printout ("Options" in
"xpp", "Properties" in "qtcups".

   Till

P. S.: I have a LaserJet 1100 here and it works perfectly with CUPS.



Nora Etukudo wrote:
 
 Hello.
 
 Since I couldn't get good print quality with Cups and HP LaserJet 6L, I
 had to get rid of Cups too, today.
 
 I've removed
 
 cups-1.1.4-3mdk.i586.rpm
 cups-drivers-0.3.6-30mdk.i586.rpm
 
 and then installed
 
 control-panel-3.11-17mdk.i586.rpm
 lpr-0.50-7mdk.i586.rpm
 rhs-printfilters-1.76-3mdk.i586.rpm
 printtool-3.44-3mdk.noarch.rpm
 
 The 'printtool' rpm is stolen from Mandrake 7.1
 Now my printing is ok and in good quality as before on Mandrake 6.1.
 
 Liebe Grüße, Nora.




Re: [Cooker] CUPS: Back in Cooker again!

2000-11-14 Thread Till Kamppeter

"Godin, Paul" wrote:
 
 Great news.
 Should I go to the Mandrake site to download this version? Where would it
 be.

This is only important for people who have downloaded the complete
Cooker and installed it. This Cooker is not binary-compatible to
Mandrake 7.2. So Cooker needs this new CUPS package and this package
does not work on 7.2 unless you do an "rpm --rebuild" on the source RPM.

 One item I notice, if I cancel a job with CUPS WEB manager, the job will go
 away but the printer, like the energiser bunny, keeps on going and going...
 

The printer has a certain amount of memory and it makes it empty.CUPS
does not send a reset signal to the printer.

   Till




Re: [Cooker] How can I get rid of cups ?

2000-11-13 Thread Till Kamppeter

Try one of the following things (I do not know whether all points really
work exactly as described here):

- Run CUPS and LPD in parallel by letting CUPS as is and installing the
lpr and rhs-printfilters packages. Use "printerdrake -expert" or
"printerdrake -lpr". In this case the LPD printing commands are
"lpr-lpd", "lpq-lpd", "lprm-lpd", and "lpc-lpd".

- CUPS can emulate LPD, see http://localhost:631/sam.html or
http://www.cups.org/sam.html (CUPS-LPD mini-daemon).

- Run only LPD by removing CUPS, installing lpr and rhs-printfilters and
using "printerdrake -expert" or "printerdrake -lpr".

- If you want to use the "printtool", it is in the contribs.

   Till


"W.Kasberg" wrote:
 
 Mandrake7.2 came up with cups printing system. Under linux it is ok an works
 fine.
 But I am using WinNT via vmware (version 2.03) on an existing partition and I
 cannot print from WInNt to my locally connected printer (lpt1,
 HPLaserjet1100) neither directly to /dev/lp0 resp. /dev/parport0 or via
 lpr/lpd printing system.
 
 Therefore I want to remove cups from my system and go back to lpr system.
 But I cannot manage this. Even when I have removed cups from my
 system, on installing new printer I am asked for cups.
 
 How can I manage this?
 
 Thanks for any hint.
 
 W. Kasberg




Re: [Cooker] CUPS Failure

2000-11-12 Thread Till Kamppeter

I have posted your problem on the Canon forum of linuxprinting.org. Here
is the answer of Grant Taylor:

Hmm.  I've observe thee exact effects with my
4200, but the problem
then was a bad wire.

I'd suggest that he fiddle with tunelp first -
change to
interrupt-driven, or shorten the poll time, or
something like that.
This printer really should not suffer from any
load or cups-related
host problems like this seems to describe.


"Godin, Paul" wrote:
 
 Bonjour all,
 
 CUPS on Mandrake 7.2 is giving me serious printing problems.
 I have a CANON BJC-4200 printer.
 It initially starts printing OK, then stall for a few seconds followed by
 weird ASCII characters, form feed, more stalling and so on.
 Essentially I can't print anymore.
 Never had this problems before with LPR.
 
 Is it timing problem, the printer works fine on the other OS.
 
 If you recommend replacing  CUPS with LPR then how do I do that?.
 
 Thanks
 
 Paul Godin





Re: [Cooker] GIMP-Print 4.0.0 final is out

2000-11-01 Thread Till Kamppeter

For me it seems that the dot size is as with 300 dpi, but the printer
prints interlaced. For 600x300 dpi it moves the printhead by only half a
dot width between printing two dots. For 600x600 dpi it sweeps over one
line twice, moving the paper by half a dot height between the two
sweeps. This leads to a rather high intensity for 600x600 dpi. So it is
recommanded to use the "CUPS + GIMP-Print v4.0" driver and adjust the
colours with "calibrate-gimpprint". If you want to use the result of my
calibration, enter

   lpoptions -P your printer -o
profile=750,1400,1000,0,0,-150,1000,0,278,-131,1333

   Till


Vadim Plessky wrote:
 
 Re: CRET II (and PhotoRET II)
 HP 810/812/840/842/895C (as well as 890C, 720c, 715c) be definition have
 300x300 dpi in Color and 600x600 dpi in Black.
 It's printhead, you can't change it.




[Cooker] GIMP-Print 4.0.0 final is out

2000-10-31 Thread Till Kamppeter

Oi,

On the weekend GIMP-Print 4.0.0 final came out, I have compiled it into
the GhostScript and CUPS-Drivers packages. Download
ghostscript-5.50-36mdk and cups-drivers-0.3.6-31mdk, and reinstall your
ptinter queues which use GIMP-Print drivers. In addition to the usual
stuff, the GIMP-Print 4.0.0 final in the Mandrake packages supports
600x600 dpi with CRET II on the HP DeskJet 810/812/840/842/895C
printers.

   Till




Re: [Cooker] xcdroast in 7.2 is bad

2000-10-29 Thread Till Kamppeter

The error message is really bad, but the author didn't take much care
about the multi-user concepts for CD-burning of the different distros
yet, the original package had even some check that only "root" can start
it. I have removed this check when I made an RPM for Mandrake out of it.
So the original author never came into your situation, because it seems
that he tested the program only logged in as "root". Recently he sent me
an e-mail that he is working on his own concept for secure burning in
multi-user environments, so there will be a new version soon which
perhaps has even a better concept then Linux Mandrake with its
"cdwriter" group. But the "cdwriter" group concept in Mandrake is valid
for cdrecord itself and all frontends, so trying GNOME Toaster when one
is not in "cdwriter" will not work, too, but it will perhaps give a
better error message.

Not bundling cdrecord with X-CD-Roast is a concept which started with
X-CD-Roast 0.98. And I think it is a good concept, many distros ship
both cdrecord and X-CD-Roast 0.96(ex2) and so they waste disk space with
two copies of cdrecord. In addition, the user is confused by having two
different versions of cdrecord (separate 1.9 and x-CD-Roast with 1.6).

   Till


Steve Fox wrote:
 
 Ok, I knew I had to be a member of the cdwriters group, but that's an
 poor error message none the less. Thanks for helping to find the
 problem. Anyone know why xcdroast is no longer bundled with its own
 cdrecord? Need new features that the crusty version doesn't have?





[Cooker] SECURITY FIX: CUPS showed SMB password

2000-10-21 Thread Till Kamppeter

CUPS was showing the SMB password (in lpstat, KUPS, web interface, ...)
when one configures access to a printer on a Windows or Samba server
through a regular account where the password starts with a number (see
bug report below). This bug is now fixed, the new release 1.1.4-3mdk
should be on the Cooker now.

   Till

-Bug report--

From: Jeroen Janssen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

hmm... this is the situation:

W2K professional with a shared printer called
HPLaserJ

Linux Mandrake 7.2 RC1 with cups-1.1.3-13mdk (no
cups printers installed
yet)

Linux:  I login as user 'japj', start KUPS (0.8.0)
and add a printer.
select SMB backend
user identification : "user" with password
"2p" (guest account checkbox
unchecked)
select SMB printer from W2K system
select PPD file (Apollo p-1200)
printer name "printer", OK

Now when I look at the printer info from KUPS or
from the webview I see:

Device URI:
smb://user:2p@PC1-JAPJ/HPLaserJ 

which contains both username  password.

If I follow this same procedure with a user
"administrator", password
"bla" then I see 

Device URI: smb://PC1-JAPJ/HPLaserJ 


If you need any other information to reproduce
this then please let me
know!
 
Best regards,

Jeroen Janssen




Re: [Cooker] cups and 4019 printing

2000-10-18 Thread Till Kamppeter

Did you choose the appropriate driver for the 4019 printer? If yes, try
also to print with

   lpr -P printer -o raw file

If this works, your server already provides a driver and there is no
driver needed on the client. Choose "Generic PostScript Printer" in
printerdrake or do

   cp /etc/cups/printers.conf /etc/cups/printers.conf.orig
   lpadmin -x printer
   lpadmin -p printer -E -v smb://...

Replace ... by the appropriate entry which you see in
/etc/cups/printers.conf.orig.

   Till

Bob Kuc wrote:
 
 I have a 4019 printer attached to an NT print server.  Using cups and SMB I
 am able to print to the printer, however, the print is garbage, probably
 postscript format.   Can someone help me resolve this?
 
 Thanks
 
 Bob




Re: [Cooker] Gimp CUPS

2000-10-16 Thread Till Kamppeter

Update the all CUPS- and GIMP-related packages to the current versions,
then printing should work.

   Till


Aurelien Jarno wrote:
 
 Hi all,
 
 I am using a Mandrake 7.2 beta. Since I use CUPS intead of lpd, the print
 option has disappeared from Gimp menu.
 
 Any idea ?




Re: [Cooker] cups segfault

2000-10-16 Thread Till Kamppeter

Unfortunately I cannot reproduce this problem. For me and all the others
here at Mandrake CUPS runs perfectly.

What platform are you using? How much memory do you have? What version
of Mandrake Linux?

   Till



Eugenio Diaz wrote:
 
 The web interface stalls when I go to configure a printer. I can create
 it and modify it, but I can't configure it. When this happens the
 processes "cups" and "admin.cgi" take most of the cpu time for about 20
 seconds.
 
 After checking the error log I get something like this:
 -
 I [14/Oct/2000:08:14:39 -0500] New printer 'Main' added by 'root'.
 E [14/Oct/2000:08:15:14 -0500] PID 20913 crashed on signal 9!
 -
 
 When I tried to run the cgi's from "/usr/lib/cups/cgi-bin/", manually on
 a shell, I get mixed results:
 
 1. "admin.cgi" and "jobs.cgi" *always* run fine and spit out the
 expected HTML code.
 
 2. "printers.cgi" and "classes.cgi" core dump with a segfault after
 spiting some HTML code, but only if a printer exists; if I delete all
 printers, they do not segfault, and spit out HTML code.
 
 I have tried doing ltrace and strace of it, but I did not got to far.
 Only found out that it dies after/on a strcasecmp() call for the
 hostname. The  results are attached.
 
 I have tried by removing the cups packages completely, and any files
 left after package removal, but had no luck.
 
 The problem started after I upgraded to a later version (don't remember
 which), but here it what I have now:
 -
 [root@fulgore:~]# rpm -qa|egrep '^cups|^ghost'|sort
 cups-1.1.3-13mdk
 cups-devel-1.1.3-13mdk
 cups-drivers-0.3.6-25mdk
 ghostscript-5.50-31mdk
 ghostscript-fonts-5.50-5mdk
 ghostscript-module-SVGALIB-5.50-31mdk
 ghostscript-module-X-5.50-31mdk
 ghostscript-utils-5.50-31mdk
 [root@fulgore:~]#
 -
 [root@fulgore:~]# for i in `rpm -qa|egrep '^cups|^ghost'|sort`;do rpm
 -Vv $i;done
 S.5T c /etc/cups/printers.conf
 ..G.   /var/spool/cups
 [root@fulgore:~]#
 -
 
 Anybody has any ideas on how to debug this?
 
 Thanks.
 
 --
 Eugenio Diaz, BSEE/BSCE
 Linux Engineer
 [EMAIL PROTECTED]




Re: [Cooker] Which driver to choose for CUPS?

2000-10-11 Thread Till Kamppeter

At first you should try the GIMP-Print one. It has much more options and
probably supports the maximum resolution of your printer. It also allows
colour adjustment. But Canon support in the GIMP-Print driver is still
experimental (not all models tested). So it is possible that you get
only poor results. The other entry is an old driver (probably the bjc600
driver of GhostScript) it has not so many options, especially no
colour-calibration. It is even possible, that one driver is better for
text and the other better for image printing. In this case the best is
to install two queues for the printer.

See also C't 21/2000 for a review of Linux printer drivers.

   Till


Alexander Skwar wrote:
 
 I have a Canon BJC 4300.  This printer is supported by CUPS, but (?) it has
 two drivers.  One "normal" and one with "GIMP-Print" suffixed.  Where are
 the differences?  Which one should I use?





Re: [Cooker] Kups crashes...

2000-10-10 Thread Till Kamppeter

Which driver did you choose when you have set up your printer? The best
is, you send me /etc/cups/ppd/printer name.ppd, so that I can check
the problem here.

   Till


Claudio wrote:
 
 Hi!
 I've a problem with kups. When I try "Configure Printer" I have a seg. fault
 for an "unresolved symbol etc. etc."... Someone noticed this feature? ;(




Re: [Cooker] Kups crashes...

2000-10-10 Thread Till Kamppeter

Claudio wrote:
 
 I used the driver for Epson-Stylus Color 600 (gimp, it's written)
 By the way, that printer reach 1440 dpi on photo-paper, but the driver sets 720
 dpi... Do you know how to set higher resolution?


For me configuring this driver works perfectly, no segfault. You should
update to the most recent Mandrake package of KUPS. I cannot test
printing because I don't have this printer model.

   Till




Re: [Cooker] cups and epson photo 700

2000-10-09 Thread Till Kamppeter

The driver is provided by GIMP-Print. Please report the bug to the
GIMP-Print team:

   http://gimp-print.sourceforge.net/

   Till


Burkhard Zombronner wrote:
 
 Hello there,
 
 the driver for the Epson Stylus Photo 700 seems to be broken. When I print
 anything with that driver it will also print the printer-commands. Using
 other epson colour driver printing is o.k. although colors do not fit (which
 I did not expect)





Re: [Cooker] printing and a2ps

2000-10-09 Thread Till Kamppeter

I have installed a2ps 4.13 from the contribs of Mandrake and I have
entered the following command lines:

   a2ps -1 -MA4 ~/.Xdefaults

and

   a2ps -MA4 ~/.Xdefaults

In both cases I got a printout with correct borders on my HP LaserJet
1100 (uses the "ljet4" driver of GhostScript). The default page size I
have set to A4 before sending the commands (I am using A4 paper).

For letter paper "-MLetter" should be used and letter as default paper
size in CUPS.

I have tried also the GIMP-Print "stp" driver of GhostScript (entry "HP
Laserjet 6 (GIMP-Print)" in CUPS installation frontends). Here indeed
some part at the lower end of the paper was cut away. They had some
problems with the paper size settings. So report the bug to

   http://gimp-print.sourceforge.net/

the GIMP-Print version is 4.0b2 from Mandrake 7.2. Use a driver entry in
the CUPS installation programs without the "(GIMP-Print)" mark.

   Till


grs wrote:
 
 while trying to figure out what is going on I found an .ps file that I
 generated previously on 7.1 with a2ps.  This file had previously printed
 fine ie the boundaries were correct.  I just tried printing the file
 under 7.2 and it will not print properly.  The boundaries have changed.
 
 You have said ps files are printed as is well something has scaled a
 previously okay image so that it does not fit on a page.
 
 Now I don't know what to check.
 
 grs





Re: [Cooker] printing and a2ps

2000-10-08 Thread Till Kamppeter

Did you configure the default page size? Start "kups", right click on
your printer, choose "Configure printer" and set up all default settings
for it. Or use the web interface of CUPS (http://localhost:631/): Click
on "Printers" and search for your printer in the list. Click on the
appropriate "Configure Printer" button and set the defaults. Click the
"Apply" button of the appropriate group.

For user specific option settings use the facilities of "xpp" and
"qtcups".

If you do not use a2ps you can also set up individual border widths,
column numbers, and font sizes for simple text files. PostScript is
always printed "as is". Adjustments always have to be done in the
program generating the PostScript (here a2ps).

   Till


grs wrote:
 
 Just downloaded the latest cooker yesterday and tried upgrading a
 working 7.1.  Well it lock every time when it came to the NFS Locking.
 So backed up and installed from scratch.
 
 Okay I'm using cups and have found a couple of interesting things if I
 pick my local printer from the list, hp lj4l the test page is not sized
 correctly.  Half the page is not shown.  Okay now to pick the cups
 package, tried both versions for lj and the test pages worked.
 
 When I had a2ps set up under 7.1 all I had to modify was the page size
 .. a2ps-site.conf.  It was set to a4 and not letter and voila everything
 would work.  Now I'm noticing when trying to print with a2ps, landscape,
 that margins are not correct.  My left and right side of the page, or
 top and bottom in portrait mode, are not all visible.
 
 Any ideas ... suppose I could go back to lpr
 
 Greg




Re: [Cooker] qtcups won't exit

2000-10-06 Thread Till Kamppeter

QTCUPS is printing frontend, not a configuration frontend, to make it
compatible to lpr (to use it as printing command in applications) it
reads the data to print from standard input and when there is no data,
it hangs. So use it only with a filename or with the output of another
program piped in when you use it on the command line. In applications
you can simply enter "qtcups" as printing command. All applications
supply the printer data either through standard input or by adding a
file name at the end of the entered command line.

The qtcups in the menu under Configuration/Printing is called by the
following command line:

   echo '%!' | /usr/bin/qtcups -j none

This supplies an empty PostScript file as data to print (so the printer
does nothing) and the "-j none" avoids the "Job sent" window popping up
after clicking OK. So the program does not freeze when one calls it from
the menu and clicks OK. The sense of calling qtcups from the menu is
that the user can set up and save his personal default options for the
printers.

XPP allows also printing from standard input so that one can use it in
applications. So it freezes, too, when there is no information for being
printed. But XPP has a facility to choose a file to print inside its
main dialog.

   Till

junfan wrote:
 
 qtcups won't exit after I hit ok it just sticks around
   F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTYTIME
 COMMAND
 000   501 11002 10974   0   0 12220 6876 read_c Spts/2  0:00
 qtcups





[Cooker] Re: cups,kups,xpp et. al

2000-10-06 Thread Till Kamppeter

If you have enough money (2000$+?) buy a colour laser. They are all
PostScript and have excellent quality and the expenses for one page are
cheaper than for an inkjet (see below if you prefer an inkjet).

ALL PostScript printers are supported PERFECTLY when you use CUPS.
Simply copy the PPD file coming on the CDs/floppies coming with the
printer into /usr/share/cups/model, restart the CUPS daemon:

   /etc/rc.d/init.d/cups restart

and choose your printer (it's there now due to the PPD file you have
copied) in the installer (kups, printerdrake, web interface). Now you
will have EXACTLY the same options as you have when you use the printer
under Windows/MacOS. Usage of the PPD files is ONLY supported by CUPS
(the printing system of Mandrake 7.2

For colour calibration look into the manual of the printer, one usually
does the calibration by the panel of the printer or by its web interface
(most printers inthis price regions have an ethernet connector).

If you do not have the money, search for a "PERFECTLY" supported colour
inkjet (150$+?) on

   http://www.linuxprinting.org

The best is taking a model supported by the "stp" driver (GhostScript
driver of GIMP-Print), this driver allows a lot of adjustments for
enhancing the printout quality, including the highest resolutions and
colour adjustment.

See also

   http://www.linuxprinting.org/suggested.html

Have a nice printing ...

   Till


William H Bouterse wrote:
 
 xpp-0.6-16mdk
 cups-1.1.3-13mdk
 kups-0.8-21mdk
 cups-drivers-0.3.6-23mdk
 
 Awesome Job Till and All
 On a very "dirty" LM-7.1/Cooker
 These seem to be working extremely well
 so far for me and my ancient HP855c, 660c.
 Will try the new rpms on my troublesome LM7.2b3 next.
 Will be adding HIRes, Lo Cost Better Color Printer soon.
 Any Suggestions?
 This will be for business cards, pamphlets
 and ocassional Photo via xsane,gimp etc.
 No high volume but would like better quality than
 the 855 is giving me.
 
 William Bouterse
 Talkeetna




Re: [Cooker] new version of cups is out!!!!!

2000-10-06 Thread Till Kamppeter

I got this notice from Michael Sweet yesterday. But it was to late for
7.2. When 7.2 is in press I will try the 1.1.4 version.

   Till


Khawar Zia wrote:
 
 hey,
 
 here is a list of changes
 
 CUPS v1.1.4 is now available for download!
 
 The following changes were made in v1.1.4 (since 1.1.3):
 
 Makefile and configure script fixes.
 
 Changed the default Printcap setting to /etc/printcap. There are just too
 many people asking why application XYZ doesn't see their printers!
 
 The web admin interface now displays an error if it can't get the list of
 printer drivers from cupsd.
 
 The IPP backend was putting the copies option before the other job options
 were set. This caused the IPP request to contain attribute groups in the
 wrong order,
 which prevented remote printing.
 
 Added checks in scheduler to free memory used for IPP requests and language
 information when closing a client connection.
 
 Fixed the duplex option in the HP LaserJet driver. It should now work with
 all LaserJet printers (and compatibles)
 
 The add-printer web interface didn't initialize the "old info" data pointer,
 which caused random crashes on many OS's.
 
 Fixed many page sizes defined in the Level 1 compatibility file
 "gs_statd.ps" to match reality.
 
 Fixed another bug in the setpagedevice "code" in Ghostscript. It should now
 accept all standard Adobe attributes on all platforms.
 
 Fixed pstoraster so that it reallocates memory for color depth changes as
 well as size/resolution changes. This removes an ordering constraint on the
 color, page
 size, and resolution options in PPD files.
 
 The IPP backend didn't use the job's character set when the destination
 printer supported it. This caused problems when printing text files to other
 CUPS servers.
 
 Updated the logic used to determine when to rebuild the PPD file database.
 The scheduler now checks the dates and the number of PPD files (was just
 checking
 the dates.)
 
 Updated the ippSetCGIVars() function (used by the web interfaces) to only
 filter valid string values.
 
 The PostScript filter was scaling 2-up pages incorrectly. This caused the
 edges of some pages to be clipped.




Re: [Cooker] cooker úÁÇÁÄËÁ!

2000-10-06 Thread Till Kamppeter

ENGLISH PLEASE!!

Andrei wrote:
 
 This is a multi-part message in MIME format.
 
 --=_NextPart_000_0014_01C02F5D.F6EF0F20
 Content-Type: text/plain;
 charset="koi8-r"
 Content-Transfer-Encoding: quoted-printable
 
 =F0=CF=C4=D3=CB=C1=D6=C9=D4=C5 =D7=CF=D4 =D4=C1=CB=D5=C0 =D7=C5=DD=D8!!=20
 =F7=DE=C5=D2=C1 =DC=CB=D3=D0=C5=D2=C5=CD=C5=CE=D4=C9=D2=CF=D7=C1=CC =CE=C1=
 =C4 =C6=C1=CA=CC=C1=CD=C9 =DA=C1=C7=D2=D5=DA=C7=C9 =CD=C1=CE=C4=D2=D1=C7=C9=
  =C9 =DE=D4=CF =D4=CF =D0=CF=D0=D2=C1=D7=C9=CC, =D7=CF=D4 =CE=C5=D0=CF=CD=
 =CE=C0 =DE=D4=CF =C9=CD=C5=CE=CE=CF .=C1 =D3=D4=C1=CC=CF =D7=CF=D4 =DE=D4=
 =CF =D7=D9=D4=D7=CF=D2=D1=D4=D8.!
 =FA=C1=C7=D2=D5=D6=C1=C5=D4 =CD=C1=CE=C4=D2=D1=C7=D5, =D7=C8=CF=C4=C5=D4 =
 =D7 =E9=CB=D3=D9..=DC=D4=CF =D0=CF=CE=D1=D4=CE=CF..=CE=CF =D4=D5=D4=D6=C5 =
 =CD=CF=CE=D4=C9=D2=D5=C5=D4 =C4=D7=C5 =CD=CF=C9 =C6=C1=CA=CC=CF=D7=D9=C5 =
 =D3=C9=D3=D4=C5=CD=D9 =CE=C1 =CF=C4=CE=CF=CA =C9=DA =CB=CF=D4=CF=D2=D9=C8 9=
 8 =CE=C1 =C4=D2=D5=C7=CF=CA NT  =C9 =C7=D2=D5=DA=C9=D4 =C9=C8!! =F7 =D0=D2=
 =D1=CD=CF=CD =D3=CD=D9=D3=CC=C5 =D3=CC=CF=D7=C1! =C2=C5=D2=C9 =C9 =D2=C1=C2=
 =CF=D4=C1=CA =D7 =CF=C2=C5=C9=C8 =D3=C9=D3=D4=C5=CD=C1=C8! =F7=CF =CB=D2=D5=
 =D4=CF..=D4=CF=CC=D8=CB=CF =DE=D4=CF =D3=CF=D4=D7=CF=D2=C9=CC ...=D5=D7=D9 =
 =CE=C5 =D0=CF=CD=C0=D5=C2=C5=CA =CE=C5 =D0=CF=CD=CE=C0!
 
 --=_NextPart_000_0014_01C02F5D.F6EF0F20
 Content-Type: text/html;
 charset="koi8-r"
 Content-Transfer-Encoding: quoted-printable
 
 !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 HTMLHEAD
 META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type
 META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR
 STYLE/STYLE
 /HEAD
 BODY bgColor=3D#ff
 DIVFONT face=3D"Arial Cyr" size=3D2
 DIVFONT face=3D"Arial Cyr" size=3D2=F0=CF=C4=D3=CB=C1=D6=C9=D4=C5 =D7=
 =CF=D4 =D4=C1=CB=D5=C0 =D7=C5=DD=D8!! /FONT/DIV
 DIVFONT face=3D"Arial Cyr" size=3D2=F7=DE=C5=D2=C1 =DC=CB=D3=D0=C5=D2=
 =C5=CD=C5=CE=D4=C9=D2=CF=D7=C1=CC =CE=C1=C4 =C6=C1=CA=CC=C1=CD=C9 =DA=C1=C7=
 =D2=D5=DA=C7=C9=20
 =CD=C1=CE=C4=D2=D1=C7=C9 =C9 =DE=D4=CF =D4=CF =D0=CF=D0=D2=C1=D7=C9=CC, =D7=
 =CF=D4 =CE=C5=D0=CF=CD=CE=C0 =DE=D4=CF =C9=CD=C5=CE=CE=CF .=C1 =D3=D4=C1=CC=
 =CF =D7=CF=D4 =DE=D4=CF=20
 =D7=D9=D4=D7=CF=D2=D1=D4=D8.!/FONT/DIV
 DIVFONT face=3D"Arial Cyr" size=3D2=FA=C1=C7=D2=D5=D6=C1=C5=D4 =CD=C1=
 =CE=C4=D2=D1=C7=D5, =D7=C8=CF=C4=C5=D4 =D7 =E9=CB=D3=D9..=DC=D4=CF=20
 =D0=CF=CE=D1=D4=CE=CF..=CE=CF =D4=D5=D4=D6=C5 =CD=CF=CE=D4=C9=D2=D5=C5=D4 =
 =C4=D7=C5 =CD=CF=C9 =C6=C1=CA=CC=CF=D7=D9=C5 =D3=C9=D3=D4=C5=CD=D9 =CE=C1 =
 =CF=C4=CE=CF=CA =C9=DA =CB=CF=D4=CF=D2=D9=C8 98 =CE=C1=20
 =C4=D2=D5=C7=CF=CA NTnbsp; =C9 =C7=D2=D5=DA=C9=D4 =C9=C8!! =F7 =D0=D2=D1=
 =CD=CF=CD =D3=CD=D9=D3=CC=C5 =D3=CC=CF=D7=C1! =C2=C5=D2=C9 =C9 =D2=C1=C2=CF=
 =D4=C1=CA =D7 =CF=C2=C5=C9=C8=20
 =D3=C9=D3=D4=C5=CD=C1=C8! =F7=CF =CB=D2=D5=D4=CF..=D4=CF=CC=D8=CB=CF =DE=D4=
 =CF =D3=CF=D4=D7=CF=D2=C9=CC ...=D5=D7=D9 =CE=C5 =D0=CF=CD=C0=D5=C2=
 =C5=CA =CE=C5=20
 =D0=CF=CD=CE=C0!/FONT/DIV/FONT/DIV/BODY/HTML
 
 --=_NextPart_000_0014_01C02F5D.F6EF0F20--




Re: [Cooker] Canon BJC 5100

2000-10-05 Thread Till Kamppeter

Meir Faraj wrote:
 
 I've wrote them about this and tell them to make it avaible.;-)

to whom did you write to make what available?

   Till




[Cooker] Canon BJC 5100

2000-10-04 Thread Till Kamppeter

root wrote:
 
   - One of my computers have a Canon BJC5100 printer (that doesn't have
 filter for it) I've
 tryed all 5000 6000 6100 600 ... filter but no one enable me to print
 ;-(


See http://www.linuxprinting.org/show_printer.cgi?recnum=21536

This printer seems to have a completely different protocol than all the
other Canon ink jets. Perhaps it is a so-called host-based printer (also
called winprinter, a printer without memory, ROM, processor, with very
primitive electronics where the Windows driver creates a bitmap and
sends it to the printer). Was it much cheaper than the other Canon
models at the time when you have bought it?

   Till




Re: [Cooker] 10 Desktop features request

2000-10-04 Thread Till Kamppeter

Ron Stodden wrote:
 
 Till Kamppeter wrote:
 
  I didn't need to change any "host" files. Which "host" files did you
  modify and how. What happened when you didn't do it. Which versions of
  the packages are you using (update from the Cooker and try again
  perhaps). Which security level are you using.
 
 /etc/hosts.lpd must contain a list of clients permitted to use this
 local printer.  Without this set up you cannot remote print.  The
 installer makes no attempt to set this up, or even to create the
 file.   (Smack!).
 
 I suspect the above may apply to lpd remote printing only.  How does
 CUPS manage remote client authentication?  Surely there is an
 equivalent file, which can only be set up manually, since only the
 system administrator knows who is permitted access to each remote
 printer?


Se the file /etc/cups/cupsd.conf or better start "kupsdconf" as root and
look especially into the security section. There you can restrict the
access permission to the whole server, the server administration, all
printers, all classes, or every individual printer or class to the
desired machines, or exclude machines from being allowed. For user
restrictions you can create a group and make all permitted users member
of it then give a group permission to the printer with "kupsdconf".
Password protection based on the Unix accounts of the users (or on a
special user account on the server) is possible by "basic
authentication" password protection by special CUPS accounts with
"digested authentification". "Basic authentication" as root of the
server is default for the server administration.

   Till




Re: [Cooker] CUPS minor problem

2000-10-04 Thread Till Kamppeter

"Povl H. Pedersen" wrote:
 
 I have found a minor problem with CUPS. In the default config,
 it does a network broadcast (255.255.255.255) on UDP port 631
 every minute or so.
 
 Isn't it bad that the default config file will shout to the
 world by default and generate network noise as well ?


The broadcasted stuff only propagates in the local network (I do not see
your printers in my printer list) and it is very short (I think only the
server's name and the printer's name). So you should not perceive any
load on your network.
 
 I am also missing
 
 ipp 631/udp # Internet Printing Protocol
 
 in my /etc/services (from a fresh 7.2b3)

It's not necessary, for me CUPS worked without it.

   Till




Re: [Cooker] cups and samba error in Beta 3

2000-10-03 Thread Till Kamppeter

Another problem: You can have passed the printing data through a driver
twice:

You can either use a printer driver on the server side. Then let Samba
as it is and configure you printer as generic PostScript printer on your
Windows clients. The PostScript is arriving at Samba and passed to CUPS.
CUPS passes the PostScriopt through its printer driver. 

Or you use a driver on the client side (Windows driver) and set

   print command = lpr-cups -P 0 -o raw 

instead of

   print command = lpr-cups -P 0 

in the [printers] section of your /etc/smb.conf and restart the SMB
daemon.

PostScript -- PCL -- PCL does not work.

   Till



jdrash wrote:
 
 I got this working with one minor issue.  My printer uses ghostscript
 and I see "%[ LastPage ]%" on a print outs sent via samba or IPP. The
 fix for this is to modify pstogstoraster such that "-sOutputFile='"
 becomes "-sOutputFile='|cat 3' and last part of gs_options changes
 from "-" to "- 31 2"
 
 the question I have is how to do it
 
 jim drash
 [EMAIL PROTECTED]





Re: [Cooker] 10 Desktop features request

2000-10-03 Thread Till Kamppeter

 LINK WORLD [EMAIL PROTECTED] writes:
 
  4. Remote printing needed changes in several 'host' files to get it of
  the ground.

How do you want to do remote printing. For me it is no problem. When I
have the CUPS daemon running on all printer servers and on all clients
which should use the printers on the server (tested in case of all
machines being Mandrake 7.1, 7.2beta) I nedd to do nothing more than
configuring every printer on only one server. The CUPS daemon broadcasts
the information from the server to all the clients. So on the clients
nothing has to be configured. It is enough when the CUPS daemon is
running. Alternatively you can set the name of one of the servers into
the /etc/cups/cupsd.conf (see comments inside) and you do not need a
CUPS daemon running on that client, but CUPS must be installed.

If the server uses LPD, set up a remote LPD printer on one of your
machines running the CUPS daemon (LPD backend in KUPS or "lpadmin -p
remlpd -E -v lpd://machine/queue -m PPD file" where machine is
the name of the server, queue is the name of the LPD queue on the
server). 

If the server runs Windows NT or 2000, install the samba and
samba-client packages (the SMB daemon does not need to be started) and
restart the CUPS daemon afterwards. Start kups and choose SMB as
backend. The rest is click and play.

I didn't need to change any "host" files. Which "host" files did you
modify and how. What happened when you didn't do it. Which versions of
the packages are you using (update from the Cooker and try again
perhaps). Which security level are you using.

   Till




Re: [Cooker] cups and samba error in Beta 3

2000-10-02 Thread Till Kamppeter

I could not reproduce this bug. I could print without problems on an HP
Laserjet 4050 PostScript printer which is on a Mandrake 7.2 machine with
Samba 2.07-9mdk. The only bug was that I have to change the entry
"printcap name" from "lpstats" to "lpstat" and for testing without
having a Samba account I had also to say "guest ok = yes" in the
"[printers]" section.

   Till 

jdrash wrote:
 
 I have decided to go with cups vs. lpr  I set my printing = cups line in
 my /etc/smb.conf and until I created a set of symbolic links to lpr-cups
 as lpr, etc.  nothing worked.  I have my Windows boxes configured as a
 HP III with postscript (I have an HP III) and when I did a print test
 from my windows box I got the raw postscript.  The cups test page prints
 correctly.
 
 What am i doing wrong?
 
 Jim Drash
 [EMAIL PROTECTED]




Re: [Cooker] cups and samba error in Beta 3

2000-10-02 Thread Till Kamppeter

I could not reproduce this bug. I could print without problems on an HP
Laserjet 4050 PostScript printer which is on a Mandrake 7.2 machine with
Samba 2.07-9mdk. The only bug was that I have to change the entry
"printcap name" from "lpstats" to "lpstat" and for testing without
having a Samba account I had also to say "guest ok = yes" in the
"[printers]" section.

   Till 

jdrash wrote:
 
 I have decided to go with cups vs. lpr  I set my printing = cups line in
 my /etc/smb.conf and until I created a set of symbolic links to lpr-cups
 as lpr, etc.  nothing worked.  I have my Windows boxes configured as a
 HP III with postscript (I have an HP III) and when I did a print test
 from my windows box I got the raw postscript.  The cups test page prints
 correctly.
 
 What am i doing wrong?
 
 Jim Drash
 [EMAIL PROTECTED]




Re: [Cooker] cups and samba error in Beta 3

2000-10-02 Thread Till Kamppeter

I could not reproduce this bug. I could print without problems on an HP
Laserjet 4050 PostScript printer which is on a Mandrake 7.2 machine with
Samba 2.07-9mdk. The only bug was that I have to change the entry
"printcap name" from "lpstats" to "lpstat" and for testing without
having a Samba account I had also to say "guest ok = yes" in the
"[printers]" section.

   Till 

jdrash wrote:
 
 I have decided to go with cups vs. lpr  I set my printing = cups line in
 my /etc/smb.conf and until I created a set of symbolic links to lpr-cups
 as lpr, etc.  nothing worked.  I have my Windows boxes configured as a
 HP III with postscript (I have an HP III) and when I did a print test
 from my windows box I got the raw postscript.  The cups test page prints
 correctly.
 
 What am i doing wrong?
 
 Jim Drash
 [EMAIL PROTECTED]




Re: [Cooker] Switching from lpr to cups

2000-09-30 Thread Till Kamppeter

At first update to the newest versions of all CUPS-related packages
(always do this at first before complaining about a bug):

   drakxtools-1.1.5-22mdk
   cups-1.1.3-10mdk
   cups-drivers-0.3.6-22mdk
   ghostscript-*-5.50-29mdk
   xpp-0.6-14mdk
   qtcups-1.0-12mdk
   kups-0.8-19mdk

Then you will have a LOT of bugs fixed and a much bigger printer list.
The OkiLaser 800 is listed as OKIDATA OL 800 and for printers of the HP
LaserJet II series there are more or less 6 entries under HP. Note that
there is written '2' instead of 'II'. in addition there is an "HP
LaserJet Series" entry (in some configuration programs under "ESP")
which should work for the HP LaserJet and compatible printers, too. The
best driver for HP LaserJet II and compatibles you find as "LaserJet 2
(GIMP-Print)" under HP. It has a lot of adjustable options to improve
the image quality.

The cups-drivers package contains the PPD files (printer description
files, every file gives one entry in the printer list) of two databases.
The main database is the database of Grant Taylor
(http://www.linuxprinting.org) and a smaller one is cups-drivers-0.3.6
from http://sourceforge.net/projects/cups/. In Grant Taylors database
the PPD files for the Oki printers have the manufacturer entry
"OKIDATA", in the other database "OKI". This leads to these two entries.
I could not edit all PPD files individually so that they fit to each
other because they are more than 1000. I also cannot check whether the
model names are really the most commonly used ones.

If you want to have a really comfortable printer administration program,
use kups and not printerdrake. printerdrake is a simple tool for getting
started during the installation. For printing type "xpp file" or
"qtcups file" instead of "lpr file" at the command line or use "xpp"
or "qtcups" instead of "lpr" as printing command in your applications.

Go also to

   http://www.mandrakeforum.com/article.php3?sid=2812035247

for getting more tips for using CUPS.

   Till


Ron Stodden wrote:
 
 Till,
 
 Cups is progress?   Nothing works, local or remote printing test
 during my installs.
 
 Also why is my OkiLaser 800 not in your lists of printers?
 
 Also why is the HP Laserjet II not in your lists of printers?
 
 Also why do you show separate lists for Oki and Okidata printers?
 Surely there is only one Oki Crporation?





Re: [Cooker] Switching from lpr to cups

2000-09-30 Thread Till Kamppeter

Guillaume Rousse wrote:
 
 It worked ! I can't believe it !
 After having spent many time trying to do it myself, just upgrading
 drakxtools was sufficient !!
 
 And result is impressive, nothing to do with old system. Great work, man
 !
 
 Just a question : what is the use of
 Apple-StyleWriter-printer-driver__lpstyl-0.9.9-1mdk.i586.rpm, as some
 files in it conflict with Ghostscript ?

Uninstall it, I have moved it into the GhostScript package. It is
already removed from the Cooker (I hope from the mirrors, too).

 And can i use directly Apple writers with TCP, or is it still mandatory
 to install appletalk fir this ?

I never tested it, I have simply compiled it (no Apple printers here at
Mandrake).

   Till




  1   2   3   >