CentOS 5 :: Manipulating .ps/.pdf Files; Doubling Up On Pages?

Dec 19, 2009

I'd like to take a regular .pdf file (also converted it to .ps), and double the pages and switch it to landscape orientation. I've used the tools at the following website, but it doesn't exactly do what I want it to.[URL]... In particular, the left page is too far to the left, and both pages are too high up. Please see attached screenshot of one of the pages. I'd like to get this to work because then instead of printing 234-page coursenotes, it'll be half that. Does anyone have a good solution to do this?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Manipulating Data From Ntfs Filestream?

Jun 8, 2010

an operator saved a file with a ':' in it, creating a file stream (new concept to me). I'm wondering if anyone with wisdom can point me to know how to get the data from that file piped into another file.. i.e. he saved as "wrong file: rest of wrong file title.wmv"

so first, can this be salvaged in ubuntu? ..how? ..

I figure I'd need the orig. hdd, maybe..:

Code:
cat "wrong file: rest of wrong file title.wmv" | cat > rightFile.wmv

dunno.. Am I grasping, or am I on right track?

this is for work, so I'm not at liberty to tinker & possibly mess it up more than it is.. the encoder's log also lists ":$DATA" after the rest of the file after the colon

View 2 Replies View Related

General :: Manipulating Fonts From The Command Line?

Jul 30, 2010

I would like to manipulate font size of a text file, preferably from command line, before printing it.. Any Linux tool you can suggest?

View 1 Replies View Related

Programming :: Accessing File And Manipulating With With Folders?

Mar 12, 2010

I have a .csv file with a list of Drugs Name that i need to remove from the folder. The folder consist of files that stored as drugname.mol format.

What i need to do is to sieve out those mol files from the folder?

How do i

(1) access the drugs names from the .csv file line by line (variable x)

(2) how do i access the files in the folder one by one (variable y)

(3) how can i do a comparison whether $x.mol == $y

(4) and shift them to another folder if $x.mol == $y

View 11 Replies View Related

CentOS 5 :: .gif Images Do Not Display On Web Pages?

Aug 15, 2010

I recently migrated to a newer server running centos5 and cpanel

I have imagemagick installed

I installed freetype as well

Most images display fine on web pages for accounts on the server, however, .gif images do not display.All I get is an image placeholder.

.png are fine
.jpg are fine

I have not tested all the possible varieties of images, but .gif I know is not displaying.I am sure its some kind of RPM I am missing or a configuration problem.

View 1 Replies View Related

Ubuntu :: Printing Blank Pages Of PDF Files

May 29, 2011

I am having problems in printing 'complex' PDF files. Simple pages are no problem. Good examples is Royal Mail postage printing. Generated PDF displays correctly - and in Ubuntu 10.10 printed perfectly. Since I upgraded to 11.04 I get a blank page. No matter what I do. I have tried everything suggested when I googled the problem - but no solution works. I am printing across the network through my NAS box (no changes to that at all) to an HP Laserjet 1010. It all works correctly and as expected under Windows - so the setup is fine with printer and NAS. its a problem introduced by 11.04.

View 3 Replies View Related

Ubuntu :: Opening PDF Files - Getting Blank Pages

Jun 27, 2011

We just recently started using Linux Ubuntu. I've been having trouble opening PDF files. I can open and close just a few PDF files one at at time, but then suddenly when I click on the PDF link, it opens up to a blank page. After that, all I get are blank pages

View 4 Replies View Related

Software :: Manipulating Fixed-column Records In Bash?

Jul 20, 2011

I have a performance report that provides all the information I need to report the following: total transactions per day, average transactions per second, and peak transactions per second. It just doesn't provide any of it in a very accessible manner, so I want to parse on it and just capture the bits I care about. Ideally, I'd like the output to look something like this:

Code:
Date Total Avg Peak
07/11/11 12,328,033 24.05 64
07/12/11 9,328,429 21.98 56

The problem is the format of the input file, which is somewhat complicated. The report gives a summary of all transactions within any given second, and then totals at the end of each day, with page breaks in the middle, like so:

[Code]...

So first, the easy part that takes me to the daily summary, which gives me the date, the total transactions, and I can divide the total by 86400 to get the average per second, too. No problem. It's the last part that's got me stumped... the daily peak. I can't just do a while loop on the date, because it's missing from most of the records. And it also means I can't use positional parameters, because depending on the page break, the total will move between $2 or $3. And I need the date as a conditional to find the daily peak, because this output will have many days' worth of data.

Any ideas? Some kind of awk or sed command to insert the date wherever it's missing (I'm not particularly good at either utility)? Is there a method to parse these things based on column location that I'm not aware of?

View 12 Replies View Related

Programming :: Manipulating A Date In A Perl Bash Script?

Mar 11, 2010

I've recently inherited a bunch of files at a new job and am trying to figure out some of the problems that have constantly popped up. The one i'm getting a huge headache with results from a bash script that is supposed to change a date format from a client populated txt field to one we want defined a certain way. Everything in the script works fine, except that one function. Below is the line i'm trying to manipulate, with date examples.

sed -e 's/.0000 EA/ EA/' -e 's/ 01012010 / 01-JAN-2010 /' -e 's/ 12312011 / 31-DEC-2011 /'

The one caveat is that the first date is non-static and changes daily. It is, however, always the current date. If it helps, the second date will always be a year away from the first date.My idea was to pull the current date via perl's DATE function, but...how to do it, and calculate a year away without throwing the rest of the bash script off? Any help would be appreciated. I'm sure it's a simple solution but i know absolutely nothing about these scripts and how they were written.

View 10 Replies View Related

General :: Centos 5.6: How To Let Man Pages Remain After Exit

May 23, 2011

Running man, upon exit "erases" what man was displaying. I'd like to leave it up so I could scroll back through it. Is this a function of the PAGER or MANPAGER environment variables?

View 4 Replies View Related

CentOS 5 Server :: Some Pages Blank After Upgrading To PHP 5.3 / Fix It?

Jul 28, 2010

I installed PHP 5.3 from remi repository and now some PHP pages end up as blank pages. Joomla pages load with no problem but iDevAffiliate pages end up as blank pages. Could it be something in the php.ini file? I have no idea where to look. Any ideas?

P.S.: I run CentOS 5.5 and MySQL 5.1

View 4 Replies View Related

CentOS 5 :: Cryptical Output When Reading Man Pages?

Feb 10, 2011

There are some cryptical characters like the sentence: When a file with the attribute set is accessed, its atime record is not modified.

View 2 Replies View Related

General :: Join Different Pages From Different Pdf Files Into Single Pdf File?

Apr 13, 2010

i have started using linux for less than 6 months. now i have come across a problem with pdf files in linux. i want to join different pages from different pdf files into single pdf file.i have come across softwares that do this but they perform this using page numbers from pdf files.but i need to do this based on keywords in different pages .for eg there 3 pdf files

india.pdf
contents:languages
.........
........
places
......
......
achievments
......
[Code]....

now i have to create a pdf file langunage.pdf ,combining the topic languanges from three pdf files america.pdf,india.pdf,china.pdf how can i do it?? whether there is any open source software for doing this?.

View 3 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

General :: Grep - Manipulating Large Text File Full Of Records

Nov 26, 2010

I'm trying to manipulate a large text file full of records (metadata - one complete record per line). I need to delete every line on which certain words appear - there are five different words, all pretty simple all-caps strings with occasional whitespace. I tried using grep -v, which worked a treat, but only string-by-string. Ideally I'd like to run this as grep -v -f, where the file targeted by the -f contains the strings I need to match in order to delete the lines they're in.

i.e. grep -v -f filecontainingSTRINGS.txt targetfile.txt > outputfile.txt

When I try this, however, I don't get any matches - or more specifically, no changes are made in the output file. It works fine if there's only one string in filecontainingSTRINGS, but it doesn't work if there's more than one (I'm using newline as the delimiter). (Also my machine doesn't recognise /usr/xpg4/bin/grep - no idea what that's all about!)

View 5 Replies View Related

General :: Why Scanning 10 Pages Is Always Creating Huge >45Mb To 110Mb PDF Files

Jan 9, 2011

Please why my scanning is always creating huge 50Mb to 100Mb PDF files ?Each A4 Pnm file is of 6.5Mbytes by resolution of 150.If I decrease the resolution lower than 100, then it starts to be unreadable my text ...

View 11 Replies View Related

CentOS 5 Networking :: Use The VPSs IP At A Particular Port To Load The Servers Web Pages?

Mar 4, 2010

I am running OpenVZ.I wanted to use the VPSs IP at a particular port to load the Servers Web Pages e.g. The IP 88.88.88.88 is the VPS IP and 77.77.77.77 is the servers main ip.My files are on the main server at /usr/local/pages/

I want to load the page from the URL: https://88.88.88.88:8888

These should load the files from the main server at /usr/local/pages/ Virtuozzo a OpenVZ panel does it. So how is this going to be possible ? Will DNAT do the trick : iptables -t nat -A PREROUTING -p tcp -d 88.88.88.88 --dport 8888 -i eth0 -j DNAT --to-destination 192.168.0.1:8888

View 3 Replies View Related

Server :: Web Server Sees The Pages But Not The Folder That Has All The Images For The Pages

May 14, 2010

I'm very new to Linux, and I have ran a Windows XP server before, with a Apache2 Server software for Windows. and didn't have any problems with it, but I really want to set this server up with Linux.

The server is running, but the only thing that comes up in the browser, is the html pages, the pages call all the images from a folder /images/ but for some reason I can't get it to pull the folder up. None of the graphics show on any of the pages.

I also have a VirtualHost setup, and have another website set up in the DocumentRoot with the 2nd site, but it won't come up ether, even tho it is listed as the 2nd VirtualHost, and have that folder set up as the DocumentRoot.

I'm just using IP Addresses for now till I get this all sorted out.So if I enter the IP the main page comes up, just no graphics. if I enter the IP Address/2ndSiteFolder/ I get a directory listing with the 2nd site folder listed, so now if I click on the 2ndSiteFolderName, it comes up as IP/2ndSiteFolder/2ndSiteFolder/ Now the 2nd site comes up, and so does all the Graphics for that site, even if I go to some of the other subfolders site. So its just weird. I don't know what I need to do to get this to work right.

I know it has to do with setting up the folders for VirtualHost, I just don't know what it is. I have been working on this for a week, and I'm not getting anywhere..

View 9 Replies View Related

CentOS 5 :: The Centos-release-notes Package Simply Contains A Bunch Of Text/html Files That Nothing Else Relies Upon?

Apr 3, 2009

Why does centos-release-notes have any dependancies ?

I can see no reason why centos-relese-notes should depend on centos-release when I try "yum erase centos-release-notes" I am told there are 72 dependancies including completely irrelevant packages such as tar all because of this unnecessary dependancy.

The centos-release-notes package simply contains a bunch of text/html files that nothing else relies upon, so why the dependancies ?

View 4 Replies View Related

Software :: Php - Transferring Files From Redhat 9 Web Files To Centos 5.5

Mar 28, 2011

I have once tried transferring files from Redhat 9 web files to Centos 5.5 /var/www/html/ directory. Ok... LAMP is installed and working fine. httpd / apache is running and mysqld is installed without root password. Now I wan't to transfer it again to secure the database from Centos 5 to fedora 13. But when I tried browsing the web to check the web files I can only see these:

[Code]...

View 10 Replies View Related

CentOS 5 :: Moving Files From CentOS VPS > Windows Home PC?

Jun 11, 2011

I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?

View 2 Replies View Related

CentOS 5 :: Install Centos In HDD 2 And Now How To Open Files In Hdd 1

Nov 21, 2009

i had install my centos in HDD 2 and now how to open my files in hdd 1 (windows)

View 2 Replies View Related

CentOS 5 :: How Run .exe Files On CentOS 5

Jul 9, 2010

i have a big problem i can run .exe file on vps with linux centos ? if i can help me or give me a link with guide.

View 7 Replies View Related

CentOS 5 :: Split Files Using Rar / Zip?

Jun 17, 2009

I have a file of +1 1GB in size. I want to split it in either 100MB rar files or 100MB zip files.

Anybody know what command I need for this?

Please keep it simple, I'm very new to linux. So I'm hoping somebody can give me a command in the lines of "blabla "put file name here" "put file size here" "put folder to rar/zip" here.

View 4 Replies View Related

CentOS 5 :: How To Remove Files Under 2mb

Feb 18, 2010

I need to know how to remove all files under 2mb on directory: /usr/mymusic

View 3 Replies View Related

CentOS 5 :: Zip Files Bigger Than 2GB

Aug 7, 2011

I have uploaded a load of files and now found there a bug when i try to zip the file thats over 2gb in size. I am a quite a notice with this so need easy instructions on how i get it to work.

I followed this tutorial: [url]

And the error i get is Quote:zip warning: name not matched

View 2 Replies View Related

General :: CentOS ISO Creation From OS Files?

May 9, 2011

I have CentOS 5.5 Operating System files copied from the DVD, it's not a ISO image. My Centos dvd is not working so, I would like to make bootable image and burn it on a DVD from the files and install CentOS on other machine. I have tried creating ISO image using mkisofs command but, it is not booting.

View 6 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

CentOS 5 :: What Is Gpgcheck In .repo Files

Dec 8, 2009

what is gpgcheck in .repo files in the /etc/yum.repo.d directory

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved