Modify Print Server Properties in Command Line

  • Thread starter Thread starter Danny
  • Start date Start date
D

Danny

Hi..

1. Is there any option to change the printer server
properties frm command line...
eg. to create a new form ( user defined paper size ) we
have to go to the Print Server Properties and click Create
New Form and follow the other instructions... Is there any
way to create it from the command line with RunDll32.exe
or any other commands...

2. Is it possible to hide an installed printer from the
printers window in the control pannel... ? or hide the
printer properties window from the users, even from the
Administrator ... But we need to use that printer from
the application program... ( this is just for hiding what
kind of printer drivers and printer settings we are used
for the application, from the end user )


Thanks in Advance...
Danny
 
1. Have a look at prnadmin. This is a tool that comes with the Resource Kit
(avaiable for download from the MS site)

2. Not really. You cannot hide anything from admins.

--
Felix Maxa
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Hi Felix Maxa
from where we get prnadmin for Windows 2000, i saw something in the downloads but its for windows 2003... can you please provide the link here..

Thanks.
Danny
 
PrnAdmin in the 2003 Resource Kit runs on W2k as well.

--
Felix Maxa
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Danny,
try this: cscript forms.vbs -a -n "My New Form" -u inches -h 8.5 -w 6 -t
0 -e 0 -b 8.5 -r 6

The coordinates are relative to the top left corner.

--
Felix Maxa
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Back
Top