11-15-2000
Sounds like your original report/file is too wide and you need to format the original report to be smaller. Changing the font size usually will not not help because the font information is not part of the flat ASCII report file.
Here are some possibilites:
(1) You must format the original report to be around 80 chars vs. the large 134 chars (maybe not what you want);
(2) You could convert the ASCII report file to another format that has formatting information, i.e. RTF, PDF, PS or some other format that has font size information and other formatting embedded in the file.
BTW: There are many kinds of freeware UNIX utilities to do this conversion. The conversion process has flags to add the formatting you need. I've even seen/used an crude ASCII to .DOC converter, but I think it was just a beta kludge.
This is an interesting question and I'm very interested to see the different approaches from other forum members. PxT, any ideas?
10 More Discussions You Might Find Interesting
1. How do I send email?
I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is:
(note that subject & cur_address are set in the script prior to this line)
cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
Discussion started by: slivi
3 Replies
2. UNIX for Dummies Questions & Answers
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Discussion started by: cowgilm
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I have searched the FAQ and find that there is some threads related to this subject.
But can you please give an examples on how to send attachment to Lotus Notes email through UNIX?
Since i have gone through the RFC and the URL. But i still have no idea on it.
Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
4. Shell Programming and Scripting
Hello All,
This is a common question that I found lot of results in the forums.
I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail.
Is uuencode part of sendmail or does 'uuencode' utility need to be... (1 Reply)
Discussion started by: chiru_h
1 Replies
5. Shell Programming and Scripting
Hi,
I have a shell script which send email with an attachment in the form of an email. However, the when I open the attachment, all the data comes in one column. How do I format the data in the excel sheet while sending the email?
Thanks (8 Replies)
Discussion started by: bdebroy
8 Replies
6. AIX
I am using the following command to send PDF attachment with a mail.
uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>
This one send the message with attachment. I would like send PDF attachment with the mail
Can any one help with this issue ?
... (0 Replies)
Discussion started by: sunjup
0 Replies
7. Shell Programming and Scripting
Hi,
I have a syntax for mail attachment as
$EMAIL "Wrapper $wrapper_script_name has failed" " $wrapper_script_name has Failed " $failed_email_address
and $EMAIL is as below
MSGSub=${1}
MSGText=${2}
RMAIL=${3}
#set LANG=''
export LANG=''
echo "${MSGSub}" | mailx -s "${MSGText}" ... (1 Reply)
Discussion started by: satgur
1 Replies
8. Shell Programming and Scripting
Team,
I have the below code, which is working fine and it sends the html report using sendmail command.
I want to attach one more file ( which goes as attachment ) in that email. How to achieve it.
i tried with uuencode. But no luck :mad:
outputFile="/tmp/out.html"
(
echo... (2 Replies)
Discussion started by: itkamaraj
2 Replies
9. Shell Programming and Scripting
Hello everyone,
So, here is my requirement.
I want to run an SQL query and export the result in an excel file and send that as an attachement in an email to the intended receipients.
Please help me understand how to do that.
How to connect to database, how to export the output in an excel... (3 Replies)
Discussion started by: Mohdrafi12
3 Replies
10. UNIX for Advanced & Expert Users
Hi - How would you read in the attachment from your unix mail account? The attachment is in BASE64 so I need to isolate those lines so I can convert them. The number of lines varies from a few to a few hundred. To complicate matters, the mail box gets non related emails I want to ignore. The lines... (3 Replies)
Discussion started by: Oliver Burns
3 Replies
LEARN ABOUT PHP
pbmtextps
pbmtextps(1) General Commands Manual pbmtextps(1)
NAME
pbmtextps - render text into a bitmap via postscript
SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text]
DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image.
The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela-
tive to the origin. You can use pnmcrop to crop it all the way.
OPTIONS
-font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post-
script font which is installed on your system.
-fontsize
Size of font in points. See the -resolution option for information on how to interpret this size.
Default is 24 points.
-resolution
Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso-
lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about.
That's what this option does.
In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is
150 dpi, then the font size is 50 pixels.
Default is 150 dpi.
-stroke
Width of line to use for stroke font. There is no default stroke width because the letters are solid by default.
USAGE
See pbmtext for usage examples.
SEE ALSO
pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5)
AUTHOR
Copyright (C) 2002 by James McCann
02 January 2003 pbmtextps(1)