Join the Layer8.VI mailing list

Email Address :
Preferred format: HTML   Text   Mobile
 
Sunday, 20 May 2012

Layer 8

Layer8 Network

twitter
facebook
youtube
flickr

RSS Syndicator

Page:     Home
CL tip #1 - Windows XP Adding a TCP/IP Printer PDF Print E-mail
Written by Stanford Mings   
Friday, 27 April 2012 20:59

Here is how to add a Printer to a Windows XP System from the Command Line.

Here is what is needed

 

  • IP address of the Printer
  • Printer Name (your choice)
  • Port Name (Your choice)
  • Driver Location (can be a mapped drive)
  • Name of the Printer, based on the manufacturer(This must be exact)

 

For this example, I use the following values

 

  • 192.168.1.25
  • "LJ_4200"
  • IP_ 192.168.1.25
  • "\\fs1\Public\IT_Stuff\Drivers\Printers\HP 4200 Driver\hpc4200c.INF"
  • "HP LaserJet 4200 PCL 6"

 

 

Now here is the magic.

cscript "c:\windows\system32\prnport.vbs" -a -r VIP_ 192.168.1.25 -h 192.168.1.25 -o raw -n 9100

rundll32 printui.dll,PrintUIEntry /if /b "LJ_4200" /f "\\fs1\Public\IT_Stuff\Drivers\Printers\HP 4200 Driver\hpc4200c.INF" /r "VIP_172.16.170.21" /m "HP LaserJet 4200 PCL 6"

 

The first line creates a local TCP/IP Port. The second Line creates the actual printer

 

If everything goes fine, the printer should appear in the "Printer Control Panel"

 

Last Updated on Wednesday, 02 May 2012 11:44
 
Techlab Physical Security system PDF Print E-mail
Written by Stanford Mings   
Friday, 27 April 2012 20:18

I have gotten version 0.1 of the VITech Techlab Physical Security system, known as Voncia.  Right now it simply takes a picture of any motion at my front door.  As you can see from the below pic, it is not too bad.  What's really crazy is that it is night vision !  There was almost no light !

More to come !!

 

Last Updated on Friday, 27 April 2012 21:41
 
29 ways to be Creative ! PDF Print E-mail
Written by Stanford Mings   
Tuesday, 25 October 2011 03:22

I love this !!!

http://vimeo.com/24302498

Last Updated on Tuesday, 25 October 2011 04:14
 
Apple Mac Air in the Techlab PDF Print E-mail
Written by Stanford Mings   
Saturday, 15 October 2011 19:07

On the day that Steve Jobs left this existince, a part of him entered the Techlab.

For the first time ever, I own an Apple Macbook.  It is not a matter that I am an Apple Hater. I just was not crazy about Apple's almost draconian control over their systems.  But that was the past.  Ever since they moved to the Intel x86 architecture, based the new OS on BSD(I am die heard FreeBSD fan) and last but not least allowed for the dual booting with Windows 7, I had no excuse not to have one in my Techlab.

My take on the system is that it is very impressive and I now see why the Mac die-hards by this system.  As I am currently traveling(home in Antigua for Mom's B-Day and some R&R), I must say that many of the features of the Mac have been a big plus.  The ability to 'snap back on' after you open it is almost a shock to me.  My Lenovo Win7 netbook creeps back on, even with an SSD drive.  Applicaiton installations is  very smooth. The terminal is a treat since I am command line junkie(I am at heart a developer after-all)

There is much more to explore in this new world that Steve has created and I hope to do justice by learning it and using it to innovate even more.

If you have any suggestions on things to do with the Mac Air, leave a comment.

 
Time for reboot PDF Print E-mail
Written by Stanford Mings   
Monday, 26 September 2011 18:30

One of my FreeBSD Boxes was showing some crazy activity.  This is what I found.

noc# uptime
6:32PM  up 203 days, 19 mins, 2 users, load averages: 47.84, 46.16, 45.26

 

Time for a reboot !!!

 
<< Start < Prev 1 2 3 4 5 Next > End >>

Page 1 of 5