nanog mailing list archives

Re: interger to I P address


From: Beat Vontobel <b.vontobel () meteonews ch>
Date: Thu, 28 Aug 2008 11:53:59 +0200

"Anything concerning an "end network" is not relevant to this list. "

lol

I am however, very interested in the content/replies thus far. Very
entertaining.

Yes, while certainly off topic, also for me it's probably been one of the most entertaining threads of this kind.

So just one more solution, as there's so much unused processing power available on all your PostScript gear: Let your printer do the math!

##### BEGIN of ntoa.ps #####
%!
/ntoa {
    3 { dup 256 idiv exch 256 mod exch } repeat 256 mod
} def

/printa {
    3 string cvs show 3 { (.) show 3 string cvs show } repeat
} def

/Helvetica findfont 36 scalefont setfont 36 444 moveto

1089055123 ntoa printa

showpage
###### END of ntoa.ps ######




Current thread: