9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to search a keyword in a list of pdf files and when i find a match i want to write the title and author of that pdf file to another file. How will I do this using linux shell script? (7 Replies)
Discussion started by: SK33
7 Replies
2. Shell Programming and Scripting
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
Discussion started by: Soham
4 Replies
3. Shell Programming and Scripting
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Discussion started by: danielldf
1 Replies
4. UNIX for Advanced & Expert Users
I have some code in fortran90, example stored in scode.f90 and I want to create a pdf containing the code. I would like to have four pages of code put into each page in the pdf. I was thinking of creating a ps file using mpage and then using ps2pdf after. However, I noticed that ps2pdf shift the... (4 Replies)
Discussion started by: kristinu
4 Replies
5. UNIX and Linux Applications
Hello to all,
I have a *.ps file, which needs to be converted to a pdf file. The file is huge & i would like it to have bookmarked according to main titles (already provided).
What is the option used in ps2pdf command, that will generate bookmarks from a *.ps file ? Kindly help. Thanks.
... (0 Replies)
Discussion started by: frozensmilz
0 Replies
6. Shell Programming and Scripting
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Discussion started by: DILEEP410
2 Replies
7. Shell Programming and Scripting
I have 2 files pipe delimted and want to merge them based on a key
e.g file 1
123|xxx|yyy|zzz
345|xab|yzy|zyz
456|sss|ttt|foo
file 2
123|hhh|ggg|xxx
345|ddd|www|ddd|fff
456|ddd|sss|sss|eee
so if the key is the first field, and the result should be file 1 with field 2 from file 2... (24 Replies)
Discussion started by: klut
24 Replies
8. Shell Programming and Scripting
Hi,
Could you pls guide me a reference materials or PDF or Tutorials link for Shell Scripting.I'm new to Unix Shell Scripting.want to explore as much as possible in Shell Scripting....
Thanks
Sollins (2 Replies)
Discussion started by: sollins
2 Replies
9. Shell Programming and Scripting
I'm trying to merge multiple CSV (comma separated value) files into one large master file. All files have a field that is unique to act as the key for entry/merging into the master file & and all files have the same number of fields that are in the master file.
I'll give an example here:
... (2 Replies)
Discussion started by: jjinca
2 Replies
HTTP_SEND_FILE(3) 1 HTTP_SEND_FILE(3)
http_send_file - Send file
SYNOPSIS
bool http_send_file (string $file)
DESCRIPTION
Sends a file with support for (multiple) range requests.
This functions behaviour and further action is dependent on the following INI settings: http.send.not_found_404 and http.log.not_found.
If the INI settinghttp.send.not_found_404 is enabled and the INI settinghttp.log.not_found points to a writable file, a log message is
written when the $file was not found.
PARAMETERS
o $file
- the file to send
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
A http_send_file(3) example
<?php
http_send_content_disposition("document.pdf", true);
http_send_content_type("application/pdf");
http_throttle(0.1, 2048);
http_send_file("../report.pdf");
?>
The above example will output:
HTTP/1.1 206 Partial Content
X-Powered-By: PHP/5.2.2
Accept-Ranges: bytes
Content-Length: 12345
Content-Range: bytes 0-12344
Content-Type: application/pdf
Content-Disposition: inline; filename="document.pdf"
%PDF...
SEE ALSO
http_send_data(3), http_send_stream(3), http_throttle(3), http_send_content_type(3), http_send_content_disposition(3), the HttpResponse
class if you are using PHP 5.1.0 and above.
PHP Documentation Group HTTP_SEND_FILE(3)