Hi, I need to chope the header and footer record from an input file and make a new output file, please let me know how i can do it in unix.thanks. (4 Replies)
I am trying to get a total number of tapes w/out headers or footers in a ERV file and append it to the file. For some reason I cannot get it to work. Any ideas?
#!/bin/sh
dat=`date +"%b%d_%Y"`
+ date +%b%d_%Y
dat=Nov16_2006
tapemgr="/export/home/legato/tapemgr/rpts"... (1 Reply)
I have one large file, after every 200 line i have to split the file and the add header and footer to each small file?
It is possible to add different header and footer to each file? (1 Reply)
How to append constant No of spaces suppose 52 at end of each line in a file (xyz) excluding first and last line.
Please Help me out for the same. (1 Reply)
I am having report file with header and footer . The details in between header and footer are separated by a pipe charater. I want to sort the file by considering multiple columns in between header and footer.
pls help (4 Replies)
This is my file(Target.txt)
name|age|locaction
abc|23|del
xyz|24|mum
jkl|25|kol
The file should be like this
1|03252012
1|name|age|location
2|abc|23|del
2|xyz|24|mum
2|jkl|25|kol
2|kkk|26|hyd
3|4
Column 1 is row indicator
for row 1 and 2, column indicator is 1,for data rows... (1 Reply)
Hi Every one,
what is the coomand to remove header or footer from a file.
Please help me by providing command/syntax to remove header/footer from unix.
Thanks in advance for all your support. (5 Replies)
What I'm trying to accomplish. I receive a Header and Detail file for daily processing. The detail file comes first which holds data, the header is a receipt of the detail file and has the detail files record count. Before processing the detail file I would like to put a wrapper around another... (4 Replies)
Is there any command to eliminate Header and footer from EBCDIC file (4 Replies)
Discussion started by: abhilashnair
4 Replies
LEARN ABOUT DEBIAN
xpgetpagedimensions
XpGetPageDimensions(3Xp) XPRINT FUNCTIONS XpGetPageDimensions(3Xp)NAME
XpGetPageDimensions - Gets the page dimensions for the current printer settings.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
Status XpGetPageDimensions ( display, print_context, width, height, reproducible_area )
Display *display;
XPContext print_context;
unsigned short *width;
unsigned short *height;
XRectangle *reproducible_area;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
print_context
A pre-existing print context.
width Returns the pixel width of the page currently selected in the print context.
height Returns the pixel height of the page currently selected in the print context.
reproducible_area
Returns the net reproducible area of the page currently selected in the print context, expressed in pixel offsets and dimensions.
DESCRIPTION
XpGetPageDimensions considers the medium currently selected in the print context (derived in part from default-medium, default-input-tray,
input-trays-medium, content-orientation, default-resolution), and returns the total width and height of the page in pixels, and the net
reproducible area within the total width and height. The net reproducible area is the portion of the page on which the printer is physi-
cally capable of placing ink.
XpGetPageDimensions returns a Status of 0 on failure, or 1 on success.
DIAGNOSTICS
XPBadContext A valid print context-id has not been set prior to making this call.
X Version 11 libXp 1.0.0 XpGetPageDimensions(3Xp)