Home > Archive > PERL Beginners > June 2007 > Formats for invoices.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Formats for invoices.
|
|
| Francisco Valladolid 2007-06-28, 9:58 pm |
| Hi Folks
I'm doing a single perl script to get data from a database (SQLlite), and
want put some data in a format
The output format is record in a simple temporary .txt file and send to
lpr.
the format is for a invoice displaying most important data.
I have the next questions.
1.- How can put lines containing products descriptions ?
2.- Ho can justify or align a variable into format ?
if any people can help me, it will be appreciated.
Regards.
--
Francisco Valladolid H.
-- http://bsdguy.net - Perl, [Open-Net] BSD fan. --
| |
| Tom Phoenix 2007-06-28, 9:58 pm |
| On 6/28/07, Francisco Valladolid <ficovh@gmail.com> wrote:
> 1.- How can put lines containing products descriptions ?
> 2.- Ho can justify or align a variable into format ?
Have you seen the perlform manpage?
http://perldoc.perl.org/perlform.html
Hope this helps!
--Tom Phoenix
Stonehenge Perl Training
| |
|
|
| Daniel Kasak 2007-06-28, 9:58 pm |
| On Thu, 2007-06-28 at 17:24 -0700, Tom Phoenix wrote:
> On 6/28/07, Francisco Valladolid <ficovh@gmail.com> wrote:
>
>
> Have you seen the perlform manpage?
>
> http://perldoc.perl.org/perlform.html
>
> Hope this helps!
Also check out PDF::ReportWriter:
http://entropy.homelinux.org/axis
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak@nusconsulting.com.au
website: http://www.nusconsulting.com.au
|
|
|
|
|