Autor Beitrag
IHops
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

Vista
Delphi 7, Delphi 2007
BeitragVerfasst: Mo 15.02.10 18:21 
Hi, ich möchte ein Programm erstellen, mit dem ich auf einem Server den Usern Druckkontigente zuweisen kann. Bei uns ist dies leider notwendig geworden :(, da einige extrem über die Stränge schlagen ... und keiner wills bezahlen :( :(

Hat jemand mit so etwas Erfahrung?

Als Idealfall würde ich eine komplette Delphivariante ansehen. Ich denke, man müsste die User zuerst auslesen und deren Kontingent erkennen. Danach iwie auf das PrintLog zugreifen und mit den bisher gedruckten Daten abgleichen. Sollte das Budget leer sein, wird der User entweder aus der Liste entfernt, oder in eine Negativliste gesetzt.

Kann ich von Delphi direkt Konsolenbefehle aufrufen?

Ich habe im Internet auch schon reine Konsolenlösungen gefunden - nur kenne ich mich da überhaupt nicht aus ...

Hat jemand ne Idee...
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 15.02.10 18:36 
Konsolenbefehle aufrufen -> ShellExecute

Nebenbei: Was sind das für Drucker? Ich kenn das z.B. von unseren Laserdruckern, dass die schon mit führen, von wem ein Druckjob kommt, und man somit relativ schnell sieht, wer am meisten druckt.

_________________
PROGRAMMER: A device for converting coffee into software.
IHops Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

Vista
Delphi 7, Delphi 2007
BeitragVerfasst: Mo 15.02.10 18:46 
Hm, dass unsere das Mitzählen, kann sein, aber wir haben etwa 100 Rechner in verschiedenen Räumen, 5 Drucker und etwa 100 zu überwachende User ... eine servergesteuerte Variante ist hier sinnvoller ...

trotzdem danke ... ShellExecute - merk ich mir schon mal.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 15.02.10 18:57 
Also hier an der Uni macht das direkt der Printserver.
Das noch verfügbare Kontingent wird im LDAP mitgespeichert, damit hängt das eindeutig an einem bestimmten Nutzer. Wenn man dann druckt, wird entweder die entsprechende Punktzahl abgezogen (Seitenformat, Farbe etc) oder direkt dem User gemeldet "geht nicht mehr".

Kann dir allederdings wenig sagen, was die Software da angeht... da lassen die sich nicht in die Karten gucken...

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10184
Erhaltene Danke: 1259

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 16.02.10 00:44 
Moin!

Wenn eure Drucker das nicht direkt selbst können oder zumindest eine Schnittstelle (z.B. per Webinterface) anbieten, dann kann das schon ganz schön schwer werden (hängt ja sonst auch davon ab, wie die Drucker angesteuert werden und ob/wie dabei eine Identifikation/Authentifikation möglich ist). :?

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.