The pst-barcode package is great to produce bar-codes in all flavors.
And it does 1d bar-codes like a charm. Also it is capable of generating 2d bar-codes with a command like this for a qrcode:
\begin{pspicture}(0.6cm,0.6cm)
\psbarcode{http://example.org}{eclevel=L}{qrcode}
\end{pspicture}
Which renders into something like this

But unfortunately all 2d codes are generated as bitmaps images. And depending on your viewer the end product gets fuzzy borders as the example shows.
Is there a way to create real vector graphics like the 1d bar-codes are generated?
UPDATE
It is true that the aliasing of the 2d codes is only a problem in some viewers and nevertheless it is printed correctly. The problem comes from the underlying postscript code which generates the 2d codes as an image in postscript. It should be possible to generate 2d codes also by using paths like the MaxiCode implementation. The underlying code is currently being updated.
UPDATE
Indeed, since Barcode Writer in Pure PostScript version 2014-01-06 the library generates 2D barcodes using filled paths as described in this answer.
UPDATE
This issue is resolved in pst-barcode 0.14.

xpdf. – egreg Jul 10 '12 at 10:04pst-barcodewas also updated. It always uses the same code – Nov 19 '12 at 11:46qrcode.stywhich uses TeX's \rule. – sgmoye Jun 25 '15 at 14:12