Home: Perl Programming Help: Win32 Programming Help:
Printing and Layout



lone_viper
New User

Mar 20, 2002, 3:31 AM


Views: 6433
Printing and Layout


In Reply To

Dear gurus,

I have a couple of problems that I havent been able to sort myself. I am a newbie programmer and findind Perl a wonderful language to learn. First project is a phonebook search engine for our intranet which works really well for searching and editing. Anyway - to the problems.
  1. Is it possible to columnise a HTML table so that if a flat-file is read line-by-line with associated 'split'. Currently that lists down the page in a nice neat table (4 fields per line). What I am after is to put the whole table in 2 columns down the page. Is this possible??
  2. After doing the above I would like there to be a print button that will print to the default printer is this possible?
  3. If I can't do number one and have it print to screen, is there a way I can send a preformatted table to the default printer direct??


I hope that this all makes sence to someone who might be able to help.

Kindest regards

Jason


PerlKid
stranger

Mar 28, 2002, 1:03 AM


Views: 6422
Re: [lone_viper] Printing and Layout

1... yes, assuming you know how many records you're going to display. just run a counter and when you reach the half marker start a new column...
2... not with Perl, but JavaScript is capable of this I believe.
3... don't think so.
--Philip
FuzzyLogic at PerlMad dot com