CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

Mar 20, 2002, 3:31 AM

Post #1 of 2 (7432 views)
Printing and Layout Can't Post

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



Mar 28, 2002, 1:03 AM

Post #2 of 2 (7421 views)
Re: [lone_viper] Printing and Layout [In reply to] Can't Post

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.
FuzzyLogic at PerlMad dot com


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives