kprinter rm all *.ps and *.png files

Enno Bartels kde-print@mail.kde.org
Wed, 17 Apr 2002 19:04:28 +0200


Hi


configuration
-------------
Kde 3.0.0 

 ./configure --prefix=/opt/kde_3.0.0 
--with-qt-dir=/usr/src/programme/kde3.0.0/qt-copy-3.0.3
--enable-objprelink --enable-fast-malloc


kprinter did remove ps (and png [at a second try]) files

ls (before)
------------
Itg__ini.txt
TH-ref_altitude_msl.ps
TH-ref_height_agl.ps
TH-ref_latitude.ps
TH-ref_terrain_height.ps
ThMove01.png
ThMove02.png
brd_th_stark2.ini


Command:
------------
kprinter *.ps brd_th_stark2.ini Itg__ini.txt

Output:
--------
kprinter: kdeprint: registering 0xbfffee68, number of objects = 1
kprinter: kdeprint: registering 0x80ce344, number of objects = 2
kprinter: kdeprint: registering 0x80e8820, number of objects = 3
kio (KDirLister): +KDirLister
kio (KDirListerCache): +KDirListerCache
kio (KDirWatch): Can't use FAM (fam daemon not running?)
kio (KDirWatch): Available methods: Stat
kio (KTrader): KServiceTypeProfile::offers( ThumbCreator, )
kio (KTrader): No profile, using KServiceType::offers, result: 6 offers
kio (KTrader): KServiceTypeProfile::offers( ThumbCreator, )
kio (KTrader): No profile, using KServiceType::offers, result: 6 offers
kprinter: setSelection file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirLister): [bool KDirLister::openURL(const KURL &, bool = false, bool = false)] file:/home/bartels/P-Projekte/de/th/tmp/ keep=false reload=false
kio (KDirListerCache): [void KDirListerCache::listDir(KDirLister *, const KURL &, bool, bool)] 0x8100b40 url=file:/home/bartels/P-Projekte/de/th/tmp keep=false reload=false
kio (KDirListerCache): [void KDirListerCache::stop(KDirLister *)] lister: 0x8100b40
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister *)] 0x8100b40
kio (KDirListerCache): listDir: Entry not in cache or reloaded: file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirWatch): Added Dir /home/bartels/P-Projekte/de/th/tmp [KDirWatch-1]
kio (KDirWatch): Global Poll Freq is now 500 msec
kio (KDirWatch):  Started Polling Timer, freq 500
kio (KDirWatch):  Setup Stat (freq 500) for /home/bartels/P-Projekte/de/th/tmp
kprinter: kdeprint: registering 0x813fa08, number of objects = 4
kprinter: kdeprint: registering 0x81462d8, number of objects = 5
kprinter: WARNING: KLocale: trying to look up "" in catalogue. Fix the program
kprinter: WARNING: KLocale: trying to look up "" in catalogue. Fix the program
kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job *, const KIO::UDSEntryList &)] new entries for file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): [void KDirListerCache::slotResult(KIO::Job *)] finished listing file:/home/bartels/P-Projekte/de/th/tmp
kprinter: WARNING: KLocale: trying to look up "" in catalogue. Fix the program
kprinter: kdeprint: filter command: enscript -M %psu  -p %out %in
[ 1 pages * 1 copy ] left in /tmp/kde-bartels/kdeprint_jQhREss
kprinter: WARNING: KLocale: trying to look up "" in catalogue. Fix the program
kprinter: kdeprint: filter command: enscript -M %psu  -p %out %in
[ 1 pages * 1 copy ] left in /tmp/kde-bartels/kdeprint_CG37Ei6
kprinter: ********************
kprinter: SpotTag =
kprinter: copies = 1
kprinter: kde-collate = Collate
kprinter: kde-copies = 1
kprinter: kde-current = 0
kprinter: kde-docname = TH-ref_altitude_msl.ps
kprinter: kde-filelist = /home/bartels/P-Projekte/de/th/tmp/TH-ref_altitude_msl.ps,/home/bartels/P-Projekte/de/th/tmp/TH-ref_height_agl.ps,/home/bartels/P-Projekte/de/th/tmp/TH-ref_latitude.ps,/home/bartels/P-Projekte/de/th/tmp/TH-ref_terrain_height.ps,/home/bartels/P-Projekte/de/th/tmp/brd_th_stark2.ini,/home/bartels/P-Projekte/de/th/tmp/Itg__ini.txt
kprinter: kde-isspecial = 0
kprinter: kde-orientation = Portrait
kprinter: kde-outputtofile = 0
kprinter: kde-pageorder = Forward
kprinter: kde-pageset = 0
kprinter: kde-pagesize = 2
kprinter: kde-preview = 0
kprinter: kde-printcommand =
kprinter: kde-range =
kprinter: kde-special-command =
kprinter: multiple-document-handling = separate-documents-collated-copies
kprinter: page-bottom = 43
kprinter: page-left = 91
kprinter: page-right = 43
kprinter: page-top = 43
kprinter: kdeprint: print command: cupsdoprint -P 'ultralaser' -J 'TH-ref_altitude_msl.ps' -H 'localhost:631' -U 'bartels' -o ' SpotTag copies=1 multiple-document-handling=separate-documents-collated-copies page-bottom=43 page-left=91 page-right=43 page-top=43' '/home/bartels/P-Projekte/de/th/tmp/TH-ref_altitude_msl.ps' '/home/bartels/P-Projekte/de/th/tmp/TH-ref_height_agl.ps' '/home/bartels/P-Projekte/de/th/tmp/TH-ref_latitude.ps' '/home/bartels/P-Projekte/de/th/tmp/TH-ref_terrain_height.ps' '/tmp/kde-bartels/kdeprint_jQhREss' '/tmp/kde-bartels/kdeprint_CG37Ei6'
kio (KDirWatch): KDirWatch-1 emitting dirty /home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): [void KDirListerCache::updateDirectory(const KURL &)] file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): [void KDirListerCache::updateDirectory(const KURL &)] update started in file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): [void KDirListerCache::slotUpdateResult(KIO::Job *)] finished update file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): KDirListerCache::removeDirFromCache file:/home/bartels/P-Projekte/de/th/tmp/TH-ref_altitude_msl.ps
kio (KDirListerCache): KDirListerCache::removeDirFromCache file:/home/bartels/P-Projekte/de/th/tmp/TH-ref_height_agl.ps
kio (KDirListerCache): KDirListerCache::removeDirFromCache file:/home/bartels/P-Projekte/de/th/tmp/TH-ref_latitude.ps
kio (KDirListerCache): KDirListerCache::removeDirFromCache file:/home/bartels/P-Projekte/de/th/tmp/TH-ref_terrain_height.ps
kprinter: kdeprint: unregistering 0x80ce344, number of objects = 4
kio (KDirLister): -KDirLister
kio (KDirLister): [void KDirLister::stop()]
kio (KDirListerCache): [void KDirListerCache::stop(KDirLister *)] lister: 0x8100b40
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister *)] 0x8100b40
kio (KDirListerCache): [void KDirListerCache::forgetDirInternal(KDirLister *, const KURL &)] lister=0x8100b40 url=file:/home/bartels/P-Projekte/de/th/tmp
kio (KDirListerCache): [void KDirListerCache::forgetDirInternal(KDirLister *, const KURL &)] 0x8100b40 item moved into cache: file:/home/bartels/P-Projekte/de/th/tmp
kprinter: kdeprint: unregistering 0x81462d8, number of objects = 3
kprinter: kdeprint: unregistering 0x813fa08, number of objects = 2
kprinter: kdeprint: unregistering 0xbfffee68, number of objects = 1
kio (KDirListerCache): -KDirListerCache
kio (KDirWatch):  Stopped Polling Timer
kio (KDirWatch): Removed Dir /home/bartels/P-Projekte/de/th/tmp [KDirWatch-1]
kdecore (KLibLoader): The KLibLoader contains the library kdeprint_cups (0x80c18f8)



 ls (after)
----------
Itg__ini.txt  ThMove01.png  ThMove02.png  brd_th_stark2.ini

------------------------------------------------

I did that again with 

kprinter *

and the *.ps and *.png were deleted.

-------

by the way
thank you very much about a so nice printer control.


MfG
Enno Bartels