-
Posts
964 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by LeightonJames
-
for those who are interested it is a Southern White-faced Owl found in Africa. I showed this video to a teacher at the school and they loved it.
-
OMG!! What owl is that?
-
I want one!!! Dread to think how much something like that is going to cost though
-
Installing HP Colour Laserjet c3525n using inf files
LeightonJames replied to LeightonJames's topic in Scripts
If anyone is interseted i have created a small application which can be used as a front end launcher for the batch files. It uses the following folder structure: Root . Printer Installer.exe + Scripts Batch files go in the scripts folder and the appliction reads the contents of that folder. Thanks for everyon'es help with this. -
Installing HP Colour Laserjet c3525n using inf files
LeightonJames replied to LeightonJames's topic in Scripts
Arthur Thanks for your script it works to a point unfortuantely though. It creates the port with no problems it even installs the driver!! but it won't actually create the printer in my Printers and Faxes folder. any ideas why?? Thanks again EDIT - NVM figured it out - changed the /ia to /if as /ia only installs the drivers not the printer. Thanks for all your help. -
Installing HP Colour Laserjet c3525n using inf files
LeightonJames replied to LeightonJames's topic in Scripts
Thanks for the posts. The batch file i am using contains the following commands Echo off cls Echo "*******************************************************" Echo "****************Installing Printer*********************" Echo "*******************************************************" Echo. Echo. Echo "Creating Printer Port" regedit /s "\\server\Installation Packages\Printer Installers\IT suite.reg" Echo. Echo. Echo Spooler Service Restarting net stop spooler net start spooler Echo Spooler Service Restarted Echo. Echo "Printer Port Created" Echo. Echo. Echo "Installing Drivers" rundll32 printui.dll,PrintUIEntry /if /b "HP Colour Laserjet 3525n" /f "\\server\Apps\Printer Drivers\HP Colour Laserjet 3525n\hpc3525c.inf" /r "IP_xxx.xxx.xxx.xxx" /m "HP Colour Laserjet 3525n" Echo. Echo "Drivers Installed" Echo. Echo Printer Installation Complete Echo. Echo. Echo. Pause I have used that rundll method with other printers before using a batch file. it's just this one that doesn't work. -
Installing HP Colour Laserjet c3525n using inf files
LeightonJames replied to LeightonJames's topic in Scripts
Thanks for responding, i'm able to install the port fine it's just that rundll32 and the printui.dll are not recognising any inf file from the drivers even though i am using the same files for the add printer wizard. -
Hi all I have a networked printer in one of my schools and i am trying to automate the installation of it through a batch file. I have to install it through it's IP Address (no print servers unfortunately). This is fine i have got a registry key which creates the port: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\] "Protocol"=dword:00000001 "Version"=dword:00000001 "HostName"="" "IPAddress"="" "HWAddress"="" "PortNumber"=dword:0000238c "SNMP Community"="public" "SNMP Enabled"=dword:00000001 "SNMP Index"=dword:00000001 (i have left the IP address out) the registry is silently imported through the batch file, spooler service is the stopped and restarted to refresh the ports. i then use printui.dll to install the printer. I specified the inf file i used in the add printer wizard and this is where it fails. When i run the batch file it tells me that it is unable to find a suitable driver. this is the only printer i cannot install through this method. Does anyone have any ideas?
-
Like that a lot. bookmarked!!!
-
VBS Script to send email using specified exchange account
LeightonJames replied to LeightonJames's topic in Scripts
stupid question i know but what does that do?? -
VBS Script to send email using specified exchange account
LeightonJames replied to LeightonJames's topic in Scripts
because i know zip about vbs coding and how to structure the server details. if anyone can help me then it would be greatly appreciated. EDIT: just a thought but using this method results in the email not actually being authenticated as such and going through a "back door" on the server. If i use this method for sending the emails in my Application i think my Bosses might have something to say about it. Thanks for all the help but i will stick with my having to need a profile method for now. -
VBS Script to send email using specified exchange account
LeightonJames replied to LeightonJames's topic in Scripts
i thought CDO only worked for smtp?? It needs to be sent using MAPI as it's going through an exchange server. If this works then great but how can i add an attachment using this method? -
Hello all I have a vbs script which sends an email using the default outlook account on the machine. The problem i have is that not everyone who uses the script will have an outlook profile setup beforehand, but they will have an exchange profile. I need a way to send the email by specifying the accound details to use. This is what i have so far: Dim ToAddress Dim MessageSubject Dim MessageBody Dim MessageAttachment Dim ol, ns, newMail ToAddress = [b]"Recipients Address"[/b] MessageSubject = [b]"Subject"[/b] MessageBody = [b]"Message Body"[/b] MessageAttachment = [b]"Attchment Path"[/b] Set ol = WScript.CreateObject("Outlook.Application") Set ns = ol.getNamespace("MAPI") ns.logon "","",true,false Set newMail = ol.CreateItem(olMailItem) newMail.Subject = MessageSubject newMail.Body = MessageBody & vbCrLf ' validate the recipient, just in case... Set myRecipient = ns.CreateRecipient(ToAddress) myRecipient.Resolve If Not myRecipient.Resolved Then MsgBox "unknown recipient" Else newMail.Recipients.Add(myRecipient) newMail.Send End If Set ol = Nothing I just need help specifying the exchange account (i am making the vbs script on the fly with another application so the username and password for the account can be written in if required) Does anyone know if this is possible?? Thanks
-
when winclone is used it is reporting that the image does not fit on the partition even though it is the same size as the original partition. we are just going to experiment with ghost via livexp as in theory it should work!
-
truecrypt, recuva, password reset tools, hdd diagnostic tools. All the tools we need to use are for the windows partition on the mac hence the need for WinPE. I apologise, maybe i should have mentioned previously about the windows partition. We are also wanting to try and use ghost through this method as winclone is not proving too succesful. i am using a copy of livexp that i have created using winbuilder.
-
even if you could pxe boot a mac, our network admins won't allow us access to the servers to setup the session. we are just lowly technicians!!!!
-
no firewire here unfortunately. standard 4gb USB Pen Drive
-
thanks, but deploy studio is not what i am after. I need a way to boot from usb so that we can use diagnostic tools through winpe without having to burn a new disc everytime we update it.
-
Hi all I am a complete Mac Noob and everything i have learnt has been in the last 4 days through extensive and mind numbing research on the Internet. I have finally succumbed to asking for help here!!! lol I have been able to create a usable version of WinPE on CD for use on a colleagues Mac. I know that Macs don't natively support USB Booting however i have managed to get my USB Deivce recognised at boot through the use of rEFIt. Couple this with a grub.efi loader and i should be able to boot a windows installation from my USB device (yes/no). Everything i have tried so far has failed miserably with the following error: cannot load image From this i can see that rEFIt and Grub are working together but i am unable to load my WinPE installation. does anyone have any ideas how i can get this working or if it is even possible. (I am not afraid to try complex things as long as they are written clearly!!!) Thanks Leighton
-
here you are. the software is on intel's website: Intel® Play™ QX3™ Computer Microscope - Microsoft Windows 2000* and Windows XP* Software Update [English only]
-
Thanks, i am aware of the the typing tutors but that's not what they want. sorry should have been more clear. They don't want to teach them to touch type or anything like that just to be able to recognise words and use a keyboard. Thanks
-
I have always just installed Scratch locally on the machine due to the way the software runs. I assume running it over the network will result in the software rather slowly if multiple are using it.
-
Hi all, i have just been asked to install some "Typing Practise Programs" on a laptop for a student with literacy problems. I know of Word Shark but i was wondering if anyone knew of any alternatives? Thanks
-
Admins please mark as solved if possible. It turns out that some versions of XP (not sure which) don't like the objPrinter.Put_ at the end of the script. putting a comment in at the end appears to resolve it.
-
Whoops, sorry think that's my fault. Deleted what i thought were uneeded blank lines: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer &"\root\cimv2") Set objNewPort = objWMIService.Get _ ("Win32_TCPIPPrinterPort").SpawnInstance_ objNewPort.Name = "IP_x.x.x.206" objNewPort.Protocol = 1 objNewPort.HostAddress = "x.x.x.206" objNewPort.PortNumber = "9100" objNewPort.SNMPEnabled = False objNewPort.Put_ objWMIService.Security_.Privileges.AddAsString "SeLoadDriverPrivilege", True Set objDriver = objWMIService.Get("Win32_PrinterDriver") objDriver.Name = "KONICA MINOLTA C360SeriesPCL" 'objDriver.SupportedPlatform = "Windows NT x86" 'objDriver.Version = "3" objInfname = "\\x.x.x.5\Apps\Printer Drivers\Konica Minolta BizHub C360\KOAZ8J__.inf" intResult = objDriver.AddPrinterDriver(objDriver) Set objPrinter = objWMIService.Get("Win32_Printer").SpawnInstance_ objPrinter.DriverName = "KONICA MINOLTA C360SeriesPCL" objPrinter.PortName = "IP_x.x.x.206" objPrinter.DeviceID = "KONICA MINOLTA C360SeriesPCL" objPrinter.Location = "Printer Location" objPrinter.Network = True objPrinter.Shared = False objPrinter.Put_ With regards to MYK-IT: I can't use that method as we don't use a print server (not my decision!!!) Thanks anyway.
