Mar 25 2009

Fix IE8 Styling and behavior

ie8_icon

IE8 is still in a premature version. For all the developers that need to re-insure that web pages will be displayed and work as before there is one quick tip. A single line of code to add to your pages.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />


This meta tag will make IE8 work as IE7 did.
Maybe there are still very few ppl that browse with IE8 (browser statistics) but i thought you should know this tip.


Mar 15 2009

Copy command to USB printer

roller_printer3
If you need to sent a dump text to your printer for testing purposes you can you this command

> copy test.txt lpt1:
(in case your printer is connected to that port)

What do you do when we want to use copy command to a usb connected printer ?
In the printer properties , Ports tab, as you can see the port name is usually as USB001 or USB002.

If you change the command to
> copy test.txt usb001
a new file named usb001 will be created as a copy of test.txt.
But we need to sent the test.txt content for printing..

Here is what we do to override this..

First Step
>net use lpt1: \\localhost\printername
(lpt1: will be useless after that, also printer must me shared)
Second Step
> copy test.txt lpt1:

try it…
it will do the job if you want to make your tests.