[THIN] Re: Network Printing
- From: "Angus Macdonald" <Angus.Macdonald@xxxxxxxxxxxxxxxxxxx>
- To: <thin@xxxxxxxxxxxxx>
- Date: Thu, 27 Sep 2007 08:59:55 +0100
We use something similar for mapping NT queues. Here are the basics:
An MSSQL database holds a table containing client (machine) names and up to 5
NT print queue paths in \\server\share format. A tiny client app runs from the
login script, connects to the database and retrieves all the queues associated
with the client name. Early versions then ran con2prt.exe to make the
connections but the latest version hooks into printui.dll. This hooking allows
the client to retrieve the neccessary driver name and decide if it's already
installed or not - we don't want drivers installing automatically and have
specifically banned some. Once the driver is confirmed as present and safe,
another call to printui.dll maps the queue. The management UI (what there is of
it) is built into our in-house developed helpdesk system.
There are a few other bells and whistles but it's pretty simple and I can lend
you the Delphi source code if it would be useful.
Angus
-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of
Anthony Green
Sent: 26 September 2007 23:32
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Network Printing
I'm looking for a bit of advice with an app I'm developing. I got the idea
from the hateful way network printers are assigned to users in Citrix
(policies).
Basically, it's a printing app that will map printers for users based on their
name, group membership, computername.
This is all managed from a single console, with a command line tool that does
the mapping of printers at login time.
What features would be the most desireable?...like mapping printers based on
client IP / IP range?... or deleting any existing printers before mapping new
ones?
Thanks,
Ant.
PS Anyone using anything similar?
- Follow-Ups:
- [THIN] Re: Network Printing
- From: Anthony Green
- References:
- [THIN] Network Printing
- From: Anthony Green
Other related posts:
- » [THIN] Network Printing
- » [THIN] Re: Network Printing
- » [THIN] Re: Network Printing
- » [THIN] Re: Network Printing
- » [THIN] Re: Network Printing
- » [THIN] Re: Network Printing
- » [THIN] Re: Network Printing
- [THIN] Re: Network Printing
- From: Anthony Green
- [THIN] Network Printing
- From: Anthony Green