nav-left cat-right
cat-right
Home » Blog » Archiv nach Kategorie 'Linux'

Multifunktionsdrucker unter Linux...

  1. Übersicht
  2. Xerox Phaser™ 6115MFP
  3. Samsung CLX-3175FW
  4. Brother DCP-9045CDN
  5. HP Color LaserJet CM1312nfi MFP (CC431A)
  6. HP Color LaserJet CM2320fxi MFP (CC435A)
  7. Lexmark X502n
  8. Lexmark X560n

alle Angaben ohne Gewähr!

Übersicht

Drucker Preis Sprache Treiber Duplex
Xerox Phaser 6115MFP 835 GDI foo2lava ja
Samsung CLX-3175FW 499 GDI Samung, (SpliX, foo2qpdl) nein
Brother DCP-9045CDN 799 PCL6 (emul), PS 3 (emul) ? ja
HP CM1312nfi MFP 449 PCL6, PS 3 (emul) hpijs nein
HP CM2320fxi MFP 799 PCL6, PS 3 (emul) ? ja
Lexmark X560n 999 PCL6 (emul), PS 3 Postscript ja
(weiterlesen…)

convert Images in batch process...

Converting images in a batch process is not difficult in general, but approaches like this fail at filenames/directories with spaces

#!/bin/sh 
for file in $(find -iname *.bmp); 
do 
mogrify -verbose -format png $file;
done

The solution is to use ‘read’ in the following way

#!/bin/sh 
find . -iname "*.bmp" | while read name; do  mogrify -verbose -format png "$name"; done

which converts all *bmp to *.png in the folder and all of its subfolders.

Mount a Samba Share from cheap NAS devices...

I recently bought a NAS device called “LANDISK” on ebay (search for SAMBA-FTP-USB-2-0-LAN on google).

This device includes a samba server which enables sharing of files on the network. The shared files can be accessed very simple via \\netdisk\\yourshare\. This works under Windows and under Linux in konqueror with smb://netdisk/yourshare.

It would however be nicer to have it mounted into the linux filesystem. Unfortunately at this step Linux fails miserably and leave many users totally frustrated! The problem is that the CIFS filesystem (smbfs was removed from the kernel) does not load the share.

(weiterlesen…)

ucase / lcase...

ucase

In Großbuchstaben umwandeln

#!/bin/sh 
#
for file in $(ls -A); do 
mv $file $(echo $file | tr [a-z] [A-z]); done

lcase

In Kleinbuchstaben umwandeln

#!/bin/sh 
 
for file in $(ls -A); do 
mv $file $(echo $file | tr [A-Z] [a-z]); done

m4a nach mp3...

Konvertiert m4a Musikdateien nach mp3

m4aTomp3

#!/bin/bash 
# 
# Convert m4a to mp3 
 
for i in $1/*.m4a 
do 
  mplayer -ao pcm "$i" -ao pcm:file="$i.wav" 
  dest=`echo "$i.wav"|sed -e 's/m4a.wav$/mp3/'` 
  lame -h -b 192 "$i.wav" "$dest" 
  rm "$i" "$i.wav" 
done
Page 1 of 512345»