jiweigert at gmail.com
Thu Nov 24 03:07:26 PST 2016
Hi Alok, > I belive you need a printer server & client setup. Try CUPS. Thats why i am asking here, ;) i need a independent way to hook up on any print job a customer sends to a printer from any application (like Firefox, Libreoffice, etc.) on a client pc. The reason for this is to provide a printPreview with additional infos, like price per Page, etc. and give the customer to change amount of copies, way of printing (b/w, double sided ...). As at moment I only found that CUPS offer a page-log where i can see what a customer have printed, but cant hook on it to provide a customized print preview. And additionally these happends only for some postscript- / raster-printing printers not for any printer. Thats why i am asking if its possible too create a kind of simple virtual "fake" printer, which accepts printjobs and where i can hook into to access the printjob details, provide my custom Print Preview for accounting (adding printing costs to customers session bill). Internally I could then redirect the printjob to a existing printer provided by the server. Do I think to complicated, because there is already a existing solution by CUPS (please advise me)? Kind regards, Jörn-Ingo Weigert 2016-11-24 2:34 GMT+01:00 Alok Padey <alok.padey at gmail.com>: > I belive you need a printer server & client setup. Try CUPS. > Cups is modular printing system which allows a computer to act as a printer > server. It can accept print jobs from clients, process them, and send them > to the appropriate printer. > More details can be accessed over net. > > On Nov 24, 2016 6:29 AM, "Jörn-Ingo Weigert" <jiweigert at gmail.com> wrote: > > > Dear list, > > > > I am in the process of writing a client / server program for managing a > > cyber cafe using Qt 5.7 framework. > > Now I am stuck on managing the printing accounting, especially there are > > some basic questions, I hope someone could give me the right directions: > > > > 1. Can I create a fake / virtual printer on the client pc, but redirect > the > > print internally to an existing network printer which are served by the > > server? The server could be based on Windows or Linux OS. > > If yes, what is the easiest way to do so? > > > > 2. If a "virtual printer" is not possible, how can I hook on an existing > > printer on client pc to be able to a) show a custom print preview dialog > > with showing up printing costs/ sum to pay etc. Is this possible for any > > printer type served by the server? > > > > I just want to be sure that a customer on a client pc are not able to > > bypass the (ac-)counting of printjobs as required by my client. > > > > I hope I can describe my problem, if not please ask. > > > > Kind regards, > > > > Jörn-Ingo Weigert > > _______________________________________________ > > cups-devel mailing list > > cups-devel at cups.org > > https://lists.cups.org/mailman/listinfo/cups-devel > > > _______________________________________________ > cups-devel mailing list > cups-devel at cups.org > https://lists.cups.org/mailman/listinfo/cups-devel >