BASHing Visual Basic Out of the Picture
Jun 28, 2010, 16:04 (0 Talkback[s])
(Other stories by Jacob Barkdull)
[ Thanks to
Jacob Barkdull for this link. ]
"When they first started working on it, I already had
the code layout to accomplish such a task in my head as PHP, but I
wasn't quite sure how I would run the PHP code locally on a Windows
system let alone print to a local printer using PHP.
"That's when it hit me, BASH!
"No, nothing bashed me in the head, I am referring to GNU BASH.
I knew that it would be an easy task in BASH, a couple variables, a
simple "while loop", an "if", and the print command "lpr". Here's
what I got:"
Complete Story
Related Stories: