API Corner: List Spooled Files From an Application
August 3, 2005 Shannon O'Donnell
The code for this article is available for download. Please note: the code has been changed since this story first ran. [Modified 09/08/05]
In this article, I will show you how to use the QUSLSPL (List Spooled Files) Print API to display all the spooled files for the current user, from within an application. Why is this something you would want to do? The biggest reason I can think of is security. Most of the time, you would rather not have to grant your users access to a command line interface. However, to allow the users to view their