9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
For a given string that may contain any ASCII chars, i.e. that matches .*,
find and print only the chars that are in a given subset.
The string could also have numbers, uppercase, special chars such as ~!@#$%^&*(){}\", whatever a user could type in
without going esoteric
For simplicity take... (1 Reply)
Discussion started by: naderra
1 Replies
2. Shell Programming and Scripting
How to print the names with a highest value within a set and filter if it is the only unique group within the same set
input
sets names value groups
j007 shot1 0.6 a
j007 shot2 0.5 b
j007 shot3 0.4 bb
j007 shot4 0.3 bc
j007 shot5 0.2 ... (8 Replies)
Discussion started by: quincyjones
8 Replies
3. UNIX for Advanced & Expert Users
i have 2 installation on VirtualBox : centos & debian
the fonts look nice on debian.
i have provided 2 screenshots in the attachments.
please advise me how to achieve same in centos.
thanks. (4 Replies)
Discussion started by: coolatt
4 Replies
4. UNIX for Advanced & Expert Users
I want to differentiate the STDOUT and STDERR messages in my terminal .
If a script or command is printing a message in terminal I want to differentiate by colors,
Is it possible ?
Example:
$date
Wed Jul 27 12:36:50 IST 2011
$datee
bash: datee: command not found
$alias ls
alias... (2 Replies)
Discussion started by: ungalnanban
2 Replies
5. Shell Programming and Scripting
I need to print some mandatory instructions if something fails in the script. I am using set -e to check and exit the script if some scripts/commands return non zero exit code. Is there any way to print these instructions with set command?? (0 Replies)
Discussion started by: Shribigb
0 Replies
6. UNIX for Dummies Questions & Answers
can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies
7. AIX
I need to be able to change the font, pitch, and orientation when printing a text flat file. Any suggestions appreciated. (2 Replies)
Discussion started by: mad_dog
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I want to know about the characters that are available in the Symbol.pfa font file. I am using freetype library to render the fonts in Windows. What encoding should I provide to get all the symbols in the Symbol font file?
It would be very helpful if i get all the characters in this... (0 Replies)
Discussion started by: pushpagiri
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Now I am printing my ps file as follows:
lp -d n40prt0234 $i
where $i is the file name passed in a loop.
I need to change the file's print fonts to "Verdana and the Size = 10"
how to change? (2 Replies)
Discussion started by: redlotus72
2 Replies
UNIPRINT(1) LINUX COMMANDS UNIPRINT(1)
NAME
uniprint - produce postscript output from unicode text for printing
SYNOPSIS
uniprint [ -out output-file ] [ -in input-file ] [ -decode encoding ] [ -printer printer ] [ -L ] [ -media media ] [ -us ] [ -nus ] [
-break ] [ -wrap ] [ -left ] [ -right ] [ -size font-size ] [ -hsize header-font-size ] [ -font truetype-font-file ]
DESCRIPTION
uniprint is a program from the yudit distribution. It makes a formatted poscript output that can be saved or directly sent to the printer.
The program needs a TrueType font that has unicode table in order to operate.
If you are running Linux you most probably have unicode truetype fonts, because there are very few vendors, if any. who give discount if
you do not buy Windows. If you are running other Unices it is still possible to get a freely available font. I have made ciberbit.ttf a
default font for uniprint, mainly because it is freely downloadable from http://www.bitstream.com/.
The postcript output contains all drawing information. No extra fonts are needed, and it can be printed on any postscript printer. You may
encounter probkems with old ghostview or old printers. I used this program with ghostscript 5.10 because 2.6.2 gave me stack overflow
error.
OPTIONS
-out ouput-file
Do not sent the output to the printer, put it in the file instead. If the '-' character is specified, send the postscript data to
the standard output.
-in input-file
If specified read the document from a file. Read stdin otherwise.
-decode encoding
specifies the encoding of the input text. All encodings that are available for uniconv can be used. If not specified encoding is
set to utf-8.
-printer printer
Send the postscript output to printer through the 'lpr -P Printer' command.
-break option makes this program print a graphical representation of line breaking characters.
-us option turns on uniscribe emulation. For some scripts emulation is turned on by default.
-nus option turns off uniscribe emulation. For some scripts emulation is turned off by default.
-wrap option makes this program do a simplistic line breaking on word boundaries.
-left option sets the embedding of the document to Left.
-right option sets the embedding of the document to Right.
-L Selects landscape printing. The default is portrait.
-media media
Sets paper size. The default is A4. The following media values are accepted: A3, A4, A5, B4, B5, Executive, Folio, Ledger, Legal,
Letter, Quarto, Statement, Tabloid
-size font-size
sets the size of the font for the text body in points.
-hsize heder-font-size
sets the size of the font for the header in points. If zero size is specified, no header is printed.
-font truetype-font
specifies the font to be used for printing.
truetype-font is the full pathname of the font, like /somepath/myfonts/cyberbit.ttf or just the name of the file cyberbit.ttf. The
fonts are searched using yudit.fontpath property in ~/.yudit/yudit.properties or /usr/share/yudit/config/yudit.properties. direc-
tory where the font files are kept. By default /usr/share/yudit/fonts and ~/.yudit/fonts are searched. This option can be speci-
fied multiple times, to create a virtual font.
FILES
~/.yudit/yudit.properties or /usr/share/yudit/config/yudit.properties can have yudit.fontpath and yudit.datapath properties. The former is
where the font files, the latter is where the map files are kept. By default /usr/share/yudit/fonts is searched.
SEE ALSO
uniconv
AUTHOR
This program was written by gsinai@iname.com (Gaspar Sinai), using the code of ttf2pfa program that was written by Adrew Weeks. Last
Updated Tokyo, 2 November, 2001.
LINUX COMMANDS
Nov 25 1997 UNIPRINT(1)