<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>de.signe.us</title>
	
	<link>http://de.signe.us</link>
	<description>a bit of tech and design</description>
	<lastBuildDate>Mon, 10 May 2010 14:13:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/designeus" /><feedburner:info uri="designeus" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>printing an invisible iframe</title>
		<link>http://feedproxy.google.com/~r/designeus/~3/RvJArEkymSM/</link>
		<comments>http://de.signe.us/2010/05/printing-an-invisible-iframe/#comments</comments>
		<pubDate>Mon, 10 May 2010 14:11:17 +0000</pubDate>
		<dc:creator>allixsenos</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://de.signe.us/?p=29</guid>
		<description><![CDATA[When I want to let the user print something, and the situation calls for a completely different data layout, my usual solution is to have a print-specific page which I then load in an invisible IFRAME. The print-specific page has a body onload=&#8221;window.print();&#8221; and everyone&#8217;s happy, right?
Wrong. Enter IE to complicate things.
IE prints the entire [...]]]></description>
			<content:encoded><![CDATA[<p>When I want to let the user print something, and the situation calls for a completely different data layout, my usual solution is to have a print-specific page which I then load in an invisible IFRAME. The print-specific page has a <strong><em>body onload=&#8221;window.print();&#8221;</em></strong> and everyone&#8217;s happy, right?</p>
<p>Wrong. Enter IE to complicate things.</p>
<p>IE prints the entire containing page, instead of just the IFRAME.</p>
<p>After many failed attempts, I&#8217;ve discovered the following solution does exactly what I need:</p>
<pre class="brush: xml;">
&lt;head&gt;
    &lt;script&gt;
    function printself() {
        try {
            document.execCommand('print', false, null);
        } catch (ex) {
            window.print();
        }
    }
    &lt;/script&gt;
&lt;/head&gt;
&lt;body onload=&quot;printself();&quot;&gt;
    /print-specific content here/
&lt;/body&gt;
</pre>
<p>Hope this saves at least one poor soul.</p>
<p>credit: <a href="http://bytes.com/topic/misc/answers/629926-ie7-printing-iframe-solution">bytes.com/&#8230;/629926-ie7-printing-iframe-solution</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/designeus?i=RvJArEkymSM:zLEkdXEEk3E:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/designeus?i=RvJArEkymSM:zLEkdXEEk3E:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/designeus?i=RvJArEkymSM:zLEkdXEEk3E:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/designeus?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/designeus?i=RvJArEkymSM:zLEkdXEEk3E:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=RvJArEkymSM:zLEkdXEEk3E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/designeus?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/designeus/~4/RvJArEkymSM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://de.signe.us/2010/05/printing-an-invisible-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://de.signe.us/2010/05/printing-an-invisible-iframe/</feedburner:origLink></item>
		<item>
		<title>Windows 7 x64 Cisco VPN</title>
		<link>http://feedproxy.google.com/~r/designeus/~3/JJSL-b6LX6w/</link>
		<comments>http://de.signe.us/2009/10/windows-7-x64-cisco-vpn/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 13:10:22 +0000</pubDate>
		<dc:creator>allixsenos</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[shrew]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpnc]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://de.signe.us/?p=3</guid>
		<description><![CDATA[[UPDATE 2010-04-25: Cisco released a 64 bit version of their client - you can download it off their site. I have not tried it, so can't speak to whether it works or not]
The Cisco VPN client does NOT support 64 bit Windows. They have officially announced they will not be releasing a 64 bit version [...]]]></description>
			<content:encoded><![CDATA[<p>[<strong>UPDATE 2010-04-25</strong>: Cisco released a 64 bit version of their client - you can <a href="http://tools.cisco.com/support/downloads/pub/ImageList.x?relVer=5.0.07.0290&#038;mdfid=281940730&#038;sftType=VPN+Client+Software&#038;optPlat=Windows&#038;nodecount=2&#038;edesignator=null&#038;modelName=Cisco+VPN+Client+v5.x&#038;treeMdfId=268438162&#038;treeName=Security&#038;modifmdfid=&#038;imname=&#038;hybrid=&#038;imst=&#038;lr=Y">download it off their site</a>. I have not tried it, so can't speak to whether it works or not]</p>
<p>The Cisco VPN client does NOT support 64 bit Windows. They have officially announced they will not be releasing a 64 bit version of their client and people wishing to use Cisco VPN on 64 bit Windows should upgrade to something called AnyConnect which, as I understand it, requires a hardware/software upgrade at the VPN gateway end. No-go for a single person wanting to switch to x64.</p>
<p>An hour of Googling the topic later, this is my discovery: you&#8217;re screwed.</p>
<p>The options are:</p>
<ul>
<li>run Cisco VPN in a virtual machine</li>
<li>buy the <a href="http://www.ncp-e.com/en/solutions/vpn-products/secure-entry-client.html">NCP Secure Entry Client</a> at 120 Euro</li>
<li>get the free <a href="http://vpncfe.sourceforge.net/">vpnc</a> client</li>
<li>get the free <a href="http://www.shrew.net/software">Shrew Soft VPN client</a></li>
</ul>
<p>While the Shrew Soft client is a well known alternative (judging by the number of blog/forum posts mentioning it), it&#8217;s a pain to set up if you don&#8217;t have a .pcf profile for your VPN connection&#8230; After losing a good hour to find and set it up (and writing the first version of this post), I got a tip from Dinko Korunic to try vpnc&#8230; and it worked like a charm.</p>
<p>The configuration is dead simple &#8211; gateway, group name and password, username and password and you&#8217;re off&#8230;</p>
<p>I haven&#8217;t actually tested Shrew or vpnc enough to talk about how good/fast/stable they are, but as far as setup goes, vpnc wins.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/designeus?i=JJSL-b6LX6w:BOkGZ6NEnEM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/designeus?i=JJSL-b6LX6w:BOkGZ6NEnEM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/designeus?i=JJSL-b6LX6w:BOkGZ6NEnEM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/designeus?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/designeus?i=JJSL-b6LX6w:BOkGZ6NEnEM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/designeus?a=JJSL-b6LX6w:BOkGZ6NEnEM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/designeus?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/designeus/~4/JJSL-b6LX6w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://de.signe.us/2009/10/windows-7-x64-cisco-vpn/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://de.signe.us/2009/10/windows-7-x64-cisco-vpn/</feedburner:origLink></item>
	</channel>
</rss>

