Hi all,
Have the following code(1) producing the results(2 & 3).
Would like to know if there is a way to format the two reports created in a similar fashion.
IE - The first is formatted nicely as a result of the echo "$xmpbdate $xavgs" >> $xmpbrpt
However when I attempt to do the same on... (7 Replies)
Hi All.
Using /usr/bin/ksh on a HP-UX B.11.23 ia64 system.
Executing the following ... ` bdf -t vfxs | grep "/" `
The output comes out like (in part) ...
/dev/vg00/lvol3 516096 229448 284480 45% /
/dev/vg00/lvol1 516096 211200 302560 41% /stand
/dev/vg00/lvol8 ... (5 Replies)
Ok, for a fun project, my goal is to replicate the style of "catalog" on an old apple ]
*A 002 SOMEAPPLESOFTFILE
B 004 SOMEFILE
T 006 SOMETEXT
I 002 SOMEINTEGERFILE
The first character is either " " or "*" depending on if the file is locked or not.
Next is the filetype, so in... (1 Reply)
Hi Guys
I need help removing some lines from output i am receiving from a shell script.
Here is the output:
http://i52.tinypic.com/10z0fut.png
I am trying to remove the output that i have circled.
. ${EDW}/extracts/bin/extracts_setup2.sh
. ${EDW}/extracts/extracts.conf
... (7 Replies)
Hi all,
Can anyone please suggest how best to handle output from running df where some of the information for a volume/filesystem spread over two lines?
Some of my volume/filesytem are NFS mounted and when I run a df, the information is spread over the two lines instead of the usual norm... (4 Replies)
Hello all,
First I have an old HP-UX box(11.21) for which I need to implement file-system utilization monitoring. I choosed to use bdf and a simple for loop. However sometimes the output of bdf is as this one(this is actually form linux but the idea is the same)
Filesystem ... (4 Replies)
I have the output like below:
DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance
SERIAL: 68173531021
==========================================================================
Path# Adapter/Path Name State Mode Select Errors
0 ... (4 Replies)
Hi,
I am trying to use printf command and format certain output in a specific format as under:
While the left side (upto |) of the above format is part of a fixed header function, the right side is where i am expecting data to be printed. However, as seen, Row1 value is reflecting on last... (5 Replies)
Discussion started by: EmbedUX
5 Replies
LEARN ABOUT OSF1
m2ps
m2ps(1) General Commands Manual m2ps(1)NAME
m2ps - Converts text in Mule internal code to PostScript format
SYNOPSIS
m2ps [options] <infile> outfile
OPTIONS
Uses the specified file as a header for PostScript output. The default header file is /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps. Spec-
ifies the resolution of the output device. The default value is 300. Specifies FontScale in points. The default value is 10. Specifies
LinePitch in points. The default value is 14. Specifies the number of lines on a page. The default value is 56. Specifies TopMargin in
points. The default value is 800. Specifies LeftMargin in points. The default value is 30. Indicates that your PostScript printer has
limited memory. Indicates that your PostScript printer has a large memory. This is the default. Indicates A4 paper size. This is the
default. Indicates US-LETTER paper size. Shows the version number of m2ps software. Uses the specified font server. Refer to the xfs(1X)
referent page for information about font servers. Uses the specified path to find the bdf.tbl file that maps leading codes to their asso-
ciated fonts. The default path is /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl.
OPERANDS
Specifies the file containing text in mule *internal* code. Specifies the file containing the output PostScript program.
DESCRIPTION
The m2ps command converts text encoded in Mule internal code (called *internal*) to a PostScript file that can be printed. To handle text
not coded in *internal* code, you first have to convert the code to *internal*. You can use the coco command to perform this code conver-
sion. Alternatively, you can run the any2ps program to do both jobs (convert the code to *internal* and also generate the PostScript
file).
Compaq's implementation of the m2ps command is derived from software supplied by the Free Software Foundation. However, the original code,
written by Ken'ichi Handa of the Electrotechnical Laboratory in Japan, uses BDF files that are available for public domain fonts. BDF files
are not available for fonts supplied with the Tru64 UNIX product. Therefore, the Compaq implementation of m2ps uses the X font server,
along with a table (bdf.tbl), to obtain printing information.
Each line of the bdf.tbl file maps a leading code value to a font name. A line contains 2 columns, separated by a colon (:), for the lead-
ing code value and font name, respectively. You can modify the file if you want m2ps to use different fonts for one or more of the leading
codes.
FILES
PostScript header file Sample PostScript file created by m2ps. The original file is in mule's documentation directory. Table that maps
leading codes to font names.
SEE ALSO
Commands: any2ps(1), coco(1), mule(1), xfs(1X)m2ps(1)