• About

    My name is Bayuadji, I am a plain and simple man, like good software and good code, crazy about weezer and big fans of liverpoool FC.

  • Pages

  • Categories

  • Recent Post

  • Archives

  • RSS Scrap Book

tcl and print

Quick post,

I got a lot of image file that has to be printed, of course I could fire my gimp and print it one by one, but since (again) I am in lazy mood, and beside that I am in linux, so I could use my command line power rigght? rigggght.

so I open my tcl (don’t ask why I choose tcl :P)
and do this

% set filelist [exec ls]
% foreach file $filelist { lpr $file }

sweet, no I just go browsing and wait for my file .

only use if you in linux, and already installed cups, and tcl heheh


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: