search for: addprinterconnection

Displaying 4 results from an estimated 4 matches for "addprinterconnection".

2008 Mar 19
2
AddPrinterConnection returns ERROR_INVALID_PARAMETER
I set up a Point-n-Print printer server with Samba3.0.28 and it works fine from XP, but when I try to connect and install the printer driver from Vista machines, it gives me 0x57 error, does anybody know why this is happening? I later found out it's AddPrinterConnection call failing, but I don't know how to go any further beyond that. Thanks
2004 Nov 04
6
installing printer in a logon script
Hello, I have Samba 3 PDC and win2k sp4 client. I would like to install printer on a machine globally, for all users. To do this, I use: net use X: \\server\unattended /user:domain\unattended password rundll32 printui.dll,PrintUIEntry /q /y /ga /in /n \\server\HP2000C First line is mounting share (Administrator is not logged to the domain), and the second line is to install printer.
2008 Aug 04
0
Help needed: strange issue with share mapping at logon
...j: /delete Use w: /delete EndIf ; Open delivered Applications folder Run "explorer x:" ? "Step 2" ; Add printers according to location ? "Installing your printers ..." ? $wksta = @WKSTA $loc = SubStr($wksta, 1, 3) ; NetAdmin machines If $loc = "NET" AddPrinterConnection("\\GSERVER\lab1prn1") AddPrinterConnection("\\GSERVER\aficio01") AddPrinterConnection("\\GSERVER\Aficio02") AddPrinterConnection("\\ADMSEC01\frontoffice") AddPrinterConnection("\\ADMACAD01\hp laserjet 2100") EndIf ; Labs If $loc = &q...
2003 Jul 23
2
Logoff script?
Is there such a thing as a Samba logoff script? I am currently using [NETLOGON] for logon scripts, but for the adding and removing of printers via WSH, I'd prefer to also remove these printers after I log off. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/