RE: [gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
Well, obviously it does support jpegs out of the box, it just isn't doing quite what you were expecting it to do. Clear. Converting the image to a size of 72*8.5 results in an image that prints correctly. pnmtops does the scaling automatically as someone else pointed out. However I assume this down-scaling destroys a lot of detail from the original. So, I'd still like to know how I can reproduce a 300-dpi color scan on a 300- or 600 dpi printer. For if I understand you both correctly, with cups' lp or pnmtops I'm only printing 72dpi images Kind regards, Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
Hello, What I wanted to do was to scan a sheet of paper, and reproduce it on my printer, sort of a command-line copier. Since my printer is at 300 dpi, I thought it would be simple: scan the paper at 300 dpi, and enter: lpr scanned-paper. Hovever this gives the result of enlarging the image, so it now occupies 4 or 5 pages. So the question is, how do I estimate the resolution so that it will occupy only one page. or is there another commandline based solution? Thanks, Henk, -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
On Thu, Jul 31, 2003 at 07:55:55PM -0400, Bryan Feir wrote: Well, by default, pnmtops in the netpbm package will convert a Portable aNyMap to Postscript, and always reduce it to fit on one page. (You can do 'pnmtops -scale 0.25 input |lpr' to explicitly scale it down; by default it will enlarge the image four times to change a 72dpi image to a 300dpi image, then reduce the result if it's too big for the page.) Nice thing about the netpbm programs is they all take standard input and output, so they can be used as chained filters and easily used for batch jobs. Might be useful if you gave us a better idea of what you were doing now, what programs you were using (including which print filters) and what intermediate formats. Thanks for the detailed answer. I have cups 1.19 installed, a hp deskjet 990c, and use the driver for hpijs obtained from linuxprinting.org. In the configuration menu i have set the printer to use 300-dpi color draft mode. For scanning I use scanimage from the sane package. The output was converted through ppmtojpeg like this: scanimage --mode=color -r 300 |ppmtojpeg -q 85 output.jpg identify from imagemagick tp;d ,e O jad 2532X35XX pixels, so to be safe I entered; convert -scale 2390 output.jpg output2.jpg finally: lpr output2.jpg with the result described earlier. In the cups documentation it is stated that cups supports jpegs 'out of the box', so I thought the procedure described was the logical thing to do. I'll give pnmtops a try tomorrow. Thanks again, Henk. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: alsasound under kernel 2.6
On Tue, Jul 22, 2003 at 12:13:51AM +0200, Martin Gramatke wrote: Andy Arbon wrote: Did you remove the alsa-drivers? They seem to be deeply interweaved in my system, how did you do this? Do you use KDE/arts? Does your sound work more ore less with the kernel drivers? for me sound doesn't work with 2.6. I used to use the snd-cs46xx driver with gentoo 2.4.20-gentoo-r5, but when I compile the same module as shipped with 2.6, it complains about a 'waiting for fifo' error and dies. the alsasound script from gentoo also fails with this release, because it thinks alsa is already running, even if it isn't. As soon as I stress the kernel a little, it simply dies, which reminds me of some OS I use at work The last time it happeed I was able to capture the following message: Message from [EMAIL PROTECTED] at Sun Jul 20 17:08:32 2003 ... localhost kernel: CPU 0: Machine Check Exception: 0004 Message from [EMAIL PROTECTED] at Sun Jul 20 17:08:32 2003 ... localhost kernel: Bank 0: b6120135 at 02371f20 Message from [EMAIL PROTECTED] at Sun Jul 20 17:08:32 2003 ... localhost kernel: Kernel panic: CPU context corrupt I know it isn't supposed to be stable, so I won't complain about this... I'll take a second look when test2 arrives. Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] phoenix crashes possibly solved
Recently gdk-pixbuf 0.22.0 appeared in the list of masked packages. Because my Phoenix kept crashing at least five times a day with a gdk error, I decided to try this new gdk-pixbuf and Phoenix hasn't crashed for two days. So if I were gentoo, I'd mark this version stable Henk, -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] PHP installation problem
On Thu, Feb 20, 2003 at 12:57:21PM +0100, Arturo di Gioia wrote: On Thu, 2003-02-20 at 01:43, Meir Kriheli wrote: On Wednesday 19 February 2003 16:58, rafailow wrote: On 19 Feb 2003 17:38:28 +0100 Brave Cobra [EMAIL PROTECTED] wrote: On Wed, 2003-02-19 at 17:24, Arturo di Gioia wrote: On Wed, 2003-02-19 at 17:24, Brave Cobra wrote: emerge sun-jdk java-config --list-available-vms (to list the available ones) java-config --set-system-vm=sun-jdk-1.4.1.01 (or your corresponding version) 1) emerge php Do all you guys really need java support with php ? Whole idea of use flags is to customize the software to your needs. If not, why not set -java in USE flags (along with X and qt while at it) ? I was setting up a very basic server, with only mail, apache and php, but to my surprise php insisted on getting X even though * had -x as a use flag. That 4.3.1 fails to config because of blackdown helped me fined the -java use flag, although the reported is a little strange, about my platform not supporting fork(); Henk, -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] baselayout and xfree up/downgradegrade
On Tue, Feb 11, 2003 at 10:28:06AM -0800, Ajay Sharma wrote: On Mon, 10 Feb 2003, el lodger wrote: After syncing emerge -up world gives a slew of upgrades (mostly gnome related). I am using baselayout-1.8.6.2 and emerge wants to downgrade to 1.8.5.8. I read that 6.2 wasn't supposed to be released but no reason was given to downgrade. I thought/hoped that this baselayout would be the reason that my rcc-update added scripts don't run anymore. After updating to gnome 2.2 I discovered that on the next reboot, I had no lan, no cups, etc. I hope that this donwgrade fixes this Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] Mozilla/phoenix random crashes
Hello, I am having problems with both Mozilla and Phoenix (both through normal emerges). They crash at random moments. E.g. the last crash happend immediately after starting mozilla and pressing F11 to get to full-screen mode. It also sometimes happens after pressing 'enter' in the url entry box. I can't reproduce the problems. I'm using an athlon-1800XP+ and gcc with the athlon options. My graphics card is a hercules based on the ATI Radeon 9000-pro with the svga driver. Anyone having simular problems and/or suggetsiont? Opera and kde havn't crashed for weeks, so I don't think my system is unstable. Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] gnome 2.2 font size
I emerged gnome 2.2 lately, and although it looks very clear, fonts are very large, even at 1024X768. When I change -dpi to something like 50, the logon screen from kdm contains very small letters, but as soon as gnome 2.2 appears they get big again. Anyone the same problem? how did you solve it? Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] postfix 2.0.3 over 1.11
Hello, recently a sytem I had intended to run unattended forever has emerged postfix 2.0.3 over a perfectly working 1.11 installation and since than. The log says that the connection to postfix/private/proxymap is refused. What's the easiest way to return to a working version? Thanks, Henk. -- [EMAIL PROTECTED] mailing list