Sponsored Content
Operating Systems Solaris How to use text Fonts while sending emails from mailx? Post 302663441 by Mukharam Khan on Thursday 28th of June 2012 06:17:13 AM
Old 06-28-2012
How to use text Fonts while sending emails from mailx?

Hi Team,

I want to use "Courier New" fonts while sending emails using mailx command from solaris command prompt.
Because my SQL output is not printing in correct format in the email.

Please assist. Let me know for any details.

Thanks,
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending Emails to a unix process

Hi , I need to have a unix process which is setup to read all incoming mail for some user and process the same. How tough it is to code the same.Is there any way that we can download some shell scripts for the same from some internet site Kindly help. (2 Replies)
Discussion started by: xsriniva
2 Replies

2. Shell Programming and Scripting

Sending email with text & attachment using mailx

I spent some time working this out, with a little help from various forums, and thought the community would like to know : Here is how you can send an email from a single Unix command line : /usr/bin/echo "Email text\nNew line\nAnother new line" >x | uuencode sourcefile.txt sourcefile.txt |... (3 Replies)
Discussion started by: haryadoon
3 Replies

3. Shell Programming and Scripting

uuencode mailx - send multiple emails

The following is an extract from one of my Shell Scripts which uses uuencode and mailx to send an email with multiple attachements: uuencode $LOG_REPORT $(basename $LOG_REPORT) uuencode $HTML_FILE $(basename $HTML_FILE ) ) | if then mailx -b "$COPY_TO" -s "$SUBJECT" -r "$MAIL_FROM"... (2 Replies)
Discussion started by: suthera
2 Replies

4. Shell Programming and Scripting

mailx script to do multiple emails

I am looking for a script that I can use with mailx to do the following: 1. Grab usernames from a flat file (one at a time) 2. Attach a file to the email and mail out. Thanks. Cubefeed (3 Replies)
Discussion started by: CubeFeed
3 Replies

5. Shell Programming and Scripting

Mailx Emails are going to Junk, How to stop them?

I wrote a shell script, the result to be Emailed. So I used mailx command in my Script. But the mail was going to Junk folder. Is there any troubleshoot for this? the mail was coming as username@hostname.com (3 Replies)
Discussion started by: karumudi7
3 Replies

6. Shell Programming and Scripting

Hide from adress while sending emails

I have a shell script that sends email alerts to all the teams if there's any issue identified . This is the command that I use to send email alerts to others cat out.out | mail -s "Alerts on $date" $EMAILID Above code sends emails to all the users by default it sends emails to... (2 Replies)
Discussion started by: lazydev
2 Replies

7. Shell Programming and Scripting

Sending files to multiple emails

Hi All, I want to send each file to each email id as below. Instead of writing saparate 10 mail commands can we do it in a simple step. file1.csv to raghu.s@hps.com file2.csv to kiran.m@hps.com file3.csv to kenni.d@hps.com file4.csv to rani.d@hps.com file5.csv to sandya.s@hps.com... (2 Replies)
Discussion started by: ROCK_PLSQL
2 Replies

8. Debian

Logcheck sending emails everywhere

Hi, I just recently installed logcheck running it at defaults. I don't have a /home/logcheck, even though the logcheck.conf MAILTO variable says "logcheck". Now I have a .forward in my regular home /home/awayand which gets an hourly report from logcheck but I have no clue how to turn that off. I... (0 Replies)
Discussion started by: awayand
0 Replies

9. Debian

Problem sending out emails

Hi, Our email relay server is a debian server. The application team in our company regularly receives email alerts from one hpux server (which is routed through the email relay server). Today we had problems whereby our company's email recipients are not receiving email alerts from the hpux... (2 Replies)
Discussion started by: anaigini45
2 Replies
OGONKIFY(1)						      General Commands Manual						       OGONKIFY(1)

NAME
ogonkify - international support for PostScript SYNOPSIS
ogonkify [-p procset] [-e encoding] [-r Old=New] [-a] [-c] [-h] [-t] [-A] [-C] [-H] [-T] [-AT] [-CT] [-ATH] [-CTH] [-E] [-N] [-M] [-mp] [-SO] [-AX] [-F] [-RS] [--] file ... DESCRIPTION
ogonkify does various munging of PostScript files related to printing in different languages. Its main use is to filter the output of Net- scape, Mosaic and other programs in order to print in languages that don't use the standard Western-European encoding (ISO 8859-1). SUMMARY USAGE
Installation instructions are provided in the file INSTALL. Assuming the installation has been correctly completed, save the PostScript output of Netscape or Mosaic to a file, say output.ps. Then print it using % ogonkify -AT -N output.ps | lpr in the case of Netscape, or % ogonkify -AT -M output.ps | lpr in the case of Mosaic. You may want to change the -AT option to -CT in order to use a high quality Courier font from IBM (at the price of slower printing). An alternative way to print from Netscape is to set the printing command in the printing dialog box to: ogonkify -AT -N | lpr For more details, see the USAGE section below. OPTIONS
-p Includes the specified procset in the output file. -e Set the encoding of the output. Defaults to L2 (ISO 8859-2, a.k.a. ISO Latin-2). Other possible values are L1 (ISO 8859-1, a.k.a. ISO Latin-1), L3 (ISO 8859-3, a.k.a. ISO Latin-3), L4 (ISO 8859-4, a.k.a. ISO Latin-4), L5 (ISO 8859-9, a.k.a. ISO Latin-5), L6 (ISO 8859-10, a.k.a. ISO Latin-6), L7 (ISO 8859-13, a.k.a. ISO Latin-7), L9 (ISO 8859-15, a.k.a. ISO Latin-9), CP1250 (Microsoft Code Page 1250, a.k.a. CeP), ibmpc (Original IBM-PC encoding), mac (Apple Macintosh encoding) and hp (HP Roman Encoding). -r Use the font New in place of Old. Will lead to ugly or unreadable output when the metrics mismatch. -a Do the right font remappings for using Courier-Ogonki in place of Courier (the a stands for Adobe Courier). This avoids downloading any fonts to the printer. -c Do the right font remappings for using IBM Courier in place of Adobe Courier. -t Do the right font remappings for using Times-Roman-Ogonki in place of Times-Roman. -h Do the right font remappings for using Helvetica-Ogonki in place of Helvetica. -A Like -a but also downloads the Courier-Ogonki fonts. -C Like -c, but also downloads the IBM Courier fonts. -H Like -h, but also downloads the Helvetica-xxx-Ogonki fonts. -T Like -t, but also downloads the Times-xxx-Ogonki fonts. -CT Equivalent to -C -T. -CTH Equivalent to -C -T -H. -E Add the Euro currency sign to all standard fonts (use with -e L9). -N Do Netscape processing. -M Do Mosaic processing. -mp Do mp processing. Will not work with the -A option (use -C instead). -SO Do StarOffice processing. -AX Do ApplixWare processing. -F Do XFig processing. -RS Recode standard fonts. This is likely to work with applications that leave fonts in AdobeStandardEncoding, typically applications that do not even support printing even of characters. -- End options. USAGE
Let us assume that you want to print a WWW page encoded in ISO Latin-2. Netscape stubbornly insists on printing it as ISO Latin-1. By using the File->Print command, have Netscape send the output to a file, say alamakota.ps. As ogonkify is configured for ISO Latin-2 by default, passing it the PostScript generated by Netscape will correct the encoding of the fonts. It is enough to do: % ogonkify -N <alamakota.ps | lpr However, most printers do not have fonts with the needed characters installed; synthesized fonts will be downloaded and used instead of Courier and Times-Roman with -AT, and a very good Courier font from IBM will be used with: -CT. The command will therefore typically be: % ogonkify -N -AT <alamakota.ps | lpr or eventually % ogonkify -N -CT <alamakota.ps | lpr Typical usage with other programs is: % ogonkify -M -AT <alamakota.ps | lpr % ogonkify -mp -AT <alamakota.ps | lpr % ogonkify -SO -AT <alamakota.ps | lpr % ogonkify -AX -ATH <alamakota.ps | lpr % ogonkify -XF -ATH <alamakota.ps | lpr BUGS
Characters with an `ogonek' should be constructed differently (for instance, the `ogonek' used with an `a' should be differently shaped than the one used with an `e'.) It would be better to patch the programs we have the sources to than to post-process the produced PostScript. The program is written in Perl. NOTES
In order to view the output PostScript with Ghostscript, you might need to run gs with the flag -dNOPLATFONTS, and ghostview with the flag -arguments -dNOPLATFONTS. Netscape, IBM, Adobe, PostScript, StarOffice, ApplixWare and possibly others are registered trademarks. THANKS
Much of the composite character data have been provided by Primoz Peterlin, H. Turgut Uyar, Ricardas Cepas, Kristof Petrovay and Jan Prikryl. Jacek Pliszka provided the support for StarOffice. Andrzej Baginski provided the support for ApplixWare. Markku Rossi wrote genscript and provided many useful encoding vectors with the distribution. Throughout writing the Postscript code, I used the ghostscript interpreter, by Peter Deutsch. Larry Wall wrote perl, the syntax and semantics of which are a never ending source of puzzlement. AUTHOR
Juliusz Chroboczek <jec@dcs.ed.ac.uk>, with help from loads of people. McKornik Jr. 14 May 1999 OGONKIFY(1)
All times are GMT -4. The time now is 02:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy