June 2006

Sending raw data to a printer in C#

Recently I needed to send raw data containing printer-specific control characters to a serial printer. At first I started looking into a solution through direct serial communication. But since .NET 1.1 does not come with serial communication support, and I needed to access printers over a network, it seemed logical to send the data through the native Win32 Spooler API.

After some googling and surfing I ended up finding this article in the Microsoft Knowledge Base. It exactly addresses the problem I had and contains full source code for a RawPrinterHelper class.

SOA and Agile, the perfect pair?

In a recent talk, Gregor Hohpe (software architect at Google) stated that Agile and SOA might prove to be a great combination in future software development projects. He states that big design upfront will most likely not be the best way to go, since SOA projects in general will be rather complex, and architects and developers will only be able completely understand them when they are finished.

Read the complete article here.

Resharper 2.0#251

The people over at JetBrains released the latest bugfix version of Resharper 2.0 earlier today. It has been labeled build 251.

It fixes an important bug (at least to me) causing the editor to respond very slow to keystrokes on some systems when a popup was showing. This is the only bug that kept me from using all features of Resharper.

It is really the greatest addon you’ll find for VS, in fact: without it VS feels like notepad to me :)

Get the latest official release here, or go for the latest bugfix version.

Next »