[THIN] Re: Adding printer ports at login?

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 13 Oct 2005 13:00:00 +0100

 
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Angus Macdonald
> Sent: 13 October 2005 10:15
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Adding printer ports at login?
> 
> So, to the actual query! I can programmatically create 
> printers at login using RUNDLL32 PrintUI.Dll... but I can 
> only print to ports that already exist. Does anyone know of a 
> way to programatically create "Print to file"
> ports (like c:\users\user1\stdref.ps, 
> c:\users\user2\stdref.ps etc) from a script or an application 
> called from a script? Also, is it possible to change the 
> security on printers from a script, as the newly created 
> printers assign permissions to "everybody" by default.
> 
> All suggestions welcome.
> 
> Angus

I do this from a similar application to what you've wrote, to create
printable files (office documents).

Presumably at the moment do you use COM to automate an adobe application
to create the PS file?

Neil



*****************************************************************************
This email and its attachments are confidential and are intended for the above 
named recipient only. If this has come to you in error, please notify the 
sender immediately and delete this email from your system. You must take no 
action based on this, nor must you copy or disclose it or any part of its 
contents to any person or organisation. Statements and opinions contained in 
this email may not necessarily represent those of Littlewoods Shop Direct Group 
Limited or its subsidiaries. Please note that email communications may be 
monitored. The registered office of Littlewoods Shop Direct Group Limited is 
100 Old Hall Street Liverpool L70 1AB registered number 5059352
*****************************************************************************




This message has been scanned for viruses by BlackSpider MailControl - 
www.blackspider.com
********************************************************
This Weeks Sponsor: Cesura, Inc.
Know about Citrix end-user slowdowns before they know.
Know the probable cause, immediately.
Know it all now with this free white paper.
http://www.cesurasolutions.com/landing/WPBCForCitrix.htm?mc=WETBCC
********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: