PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : CUPS Druckaufträge löschen!!!



Paji
12.10.05, 15:31
Hi,

Wir verwenden Red Hat Linux 3.2 mit Cups v.1.1

Es funktionieren alle Drucker einwandfrei.
Doch er behält sich immer einige Druckaufträge in der Warteschlange(obwohl er Sie gedruckt hat)
Man sieht sie aber nur unter Windows nicht unter Cups da sind sie eh weg.

2.Problem :
Im Cups sehe ich immer noch Druckaufträge die aber mit Jänner datiert sind,
Stehen unter:
"Show completed Jobs"
und ich kann sie nicht löschen, es gibt nur den "Restart-Job" Button, jedoch gibt es dann eine Fehlermeldung

<client-error-not-possible>

Hoffe ich hab die notwendigen Infos gegeben!

Danke mal im Vorraus.

Ciao Paji


hier die cupsd.conf:

<Location /admin>
AuthType None
AuthClass System
Order Deny,Allow
Deny From None
Allow From 127.0.0.1
Allow From 192.168.4.102/16
</Location>

<Location /printers/test>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>

Samsara
12.10.05, 17:09
Das sind Dateien in /var/cache/cups oder so aehnlich, such einfach cups in /var, dann findest Du die. Dateien loeschen, Druckauftraege verschwinden.

Samsara
.

Paji
13.10.05, 07:55
Danke einmal!!!
Die D-Aufträge von Jänner hab ich mal alle löschen können. :p

Nur unter Windows bleiben die Aufträge bis zu einen Tag zurück immer noch sichtbar.
Geb noch eine Configuration von der Cupsd.conf hinzu und ein Bsp. von einen Drucker.


Danke mal......

ciao Paji


<Location /printers/hp4050n>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
Listen 127.0.0.1:631

xstevex22
13.10.05, 09:38
Hi!
Kann man auch deaktivieren (cups.conf):

#
# PreserveJobHistory: whether or not to preserve the job history after a
# job is completed, cancelled, or stopped. Default is Yes.
#

PreserveJobHistory No

Paji
13.10.05, 19:50
Hi,

Danke....!
aber leider war es das auch nicht! (Dienst wurde eh restartet)
:(

Hat sonst noch irgendwer eine Idee....?????

ciao ciao Paji

xstevex22
14.10.05, 17:56
Hi!
Das liegt ganz sicher an deiner cupsd.conf:

PreserveJobFiles
Examples

PreserveJobFiles On
PreserveJobFiles Off

Description

The PreserveJobFiles directive controls whether the document files of completed, cancelled, or aborted print jobs are stored on disk.

A value of On preserves job files until the administrator purges them with the cancel command. Jobs can be restarted (and reprinted) as desired until they are purged.

A value of Off (the default) removes the job files as soon as each job is completed, cancelled, or aborted.
PreserveJobHistory
Examples

PreserveJobHistory On
PreserveJobHistory Off

Description

The PreserveJobHistory directive controls whether the history of completed, cancelled, or aborted print jobs is stored on disk.

A value of On (the default) preserves job information until the administrator purges it with the cancel command.

A value of Off removes the job information as soon as each job is completed, cancelled, or aborted.

Lies' dir halt mal in Ruhe die Doku durch (http://www.cups.org/doc-1.1/sam.html)