It's possible to use .Net framework to develop a C# Windows applications that will control printing from windows printing spool (like using quotas, adding custom messages on printed pages, etc)?
The approach I'm thinking (and started) to follow is to create a Windows Service and inside this service to monitor windows printing spool with a timer (looking for best approaches). Is that the right choice?
Any hints and advice to lighten my way will be very welcome and is the intent of this Question post.
.Net Framework 4.5.2
Some of the requirements I'm working on are:
- Checking in AD or LDAP if the user who requested printing is not over quota
- Blocking over-quota user's print
- Adding to every printed page in the footer or header of the page Companies Name.
- Save in printing server box a copy of the printing in PDF or some other format for future audit.
It's expected to use this app in different windows versions like XP/Vista/Win7,8,10
Haha, so, an application to prevent wasted paper; by adding a coversheet. Imagine this in the office; someone had to print a lot, then has to print the manual before the final meeting with the customer - and is over the quota. Next, I get sent to the local shop to BUY a printer that can be used locally because someone NEEDS that manual.
Maginot Junior wrote:
Save in printing server box a copy of the printing in PDF or some other format for future audit.
That would be illegal here. Do consult someone who specializes in legal advice.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
Hello everyone. I'm working on a school fees management system using VB 2010 Express and I would like to know how I can make my software create new files and save them localy whenever the user requires to. By this I mean, for example in MS access, you are asked if you want to create a new database and asked the location to save it as well as the name of the database. I also want my DB software to do so, so that users can create new database space at the beginning of each semester.
I'am using UHID board connected by USB.
Looking for CrossPlatform (Mono) Win64/Ubuntu64 solution to Read Buttons and Write I/O LEDs.
Iam using GLFW for Button Read which is work good, unfortunately couldent find the way to write
and Control the LED ?
Today i can read using "Joystick" method (from slimDX or pencil.Gaming-master) which do the Read job. i.e. encapsulation the USB Access for me.
Now i have also to Write LED Control to the that USB Device which the "Joystick" Doesn't expose.
So i need to access directly to the USB Device in order to Write Control and Set the LEDs state.
I have a problem with the SDK CR10M which allows to encode the information on the RFID card.
the sdk is done in vb6 when I try to migrate to vb.net it is imposible.
then I have a new project and the Dll (mi.dll) is not usable. so I found a trick that allowed me to use thisas a librairire.
now my project compiles but can not write the data and for caude:
ret = API_PCDWrite (hComm, devAddr, mode, blk_Addr, num_blk, asnr (0), aBuffer (0)) that returns this error: Additional information: Attempt to read or write protected memory. This often indicates that another memory is damaged.
I inherited and application that was initially built for Windows 7 OS. The application can display maps from Google Maps or Bing Maps. The error received is that the WebBrowser is being detected as an old browser that is no longer supported. I am trying to determine the best path for fixing this issue. What is the easiest way to upgrade the WebBrowser functionality so that it will work with Google and Bing maps, or any other mapping service that an end-user might want to implement. I need to find a temporary fix (band-aid) until all the code can be reworked to operate with the Windows 10.