I could not configure System V print subsystem easily. So gave up that option. Found following command somewhat useful but not always.
This command prints my portrait pdf a landscape.
Issue is when I generate landscape pdf ( so that I can have more data horizontally ) and try printing it as landscape...it comes as portrait.
Even if I remove -Z1 option from the above command ( which is for rotate )
then also I get it as landscape.
One more strange thing that I found with this command that its man page says that -z ( lowercase ) is the option for rotate and -Z (uppercase ) is for FormFeed, when specified -z it says that -z is not valid option. It works with -Z as treating it as option for rotate. Also man page says 4 different values for rotate....only 1 works as its value.
Please help.
I want to print landscape generated from my java app ( using iText ) as pure landscape.
Hi all
Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc.
Thanks
SS (1 Reply)
I have a number of post script files (*.ps) which I need to convert into Pdf.
I am using the ps2pdf command for this, but the trouble is that this commands takes only one input at a time. So the command
ps2pdf *.ps doesnt work.
how can I make a script which will take each .ps file from... (3 Replies)
Hi everybody! This is my first post. I am a student and I'm familiarizing myself with linux.
I have lots of directories each containing file called "zadaci.latex". I want to convert them to pdf's and rename them to <directory_name>.pdf.
I read alot on this forum and came up with this script:... (2 Replies)
Hi there,
is it possible to convert pdf files to Word with some free :p software or with some trick??? Now I'm working with LATEX and I can get pdf format but I would like to get .rtf or .doc files too:rolleyes:.
Lately I found something like that, but it wasn't free.
Thanks for any... (1 Reply)
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
Hello, excuse my English... I'm trying to do a nautilus-script to transform a normal A4 pdf to another pdf with book format, ready to be printed (double sided). I mean, the script put pages in order and also put 2 pages per horizontal A4 page (p.e.: a pdf with 8 pages would look like: 8-1, 2-7,... (2 Replies)
With reference to , the script posted by dokan fails via a Bash syntax error because my version of pdftk 1.41 has multiple lines matching to "Num", which are stored in the TOTAL variable. If we modify the first non-ignored line of the script from
# Original
TOTAL=$( pdftk "$1" dump_data output |... (1 Reply)
Hi,
I have been using Ghostscript to convert PDF to Postscript (PS) file.
GS version : 8.15.2. GS command used is :
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=output1.ps input1.pdf
File format conversion to PS is success in majority of the cases but some PDF files are... (0 Replies)
Hi!
On my Ubuntu I have thousands of files in a couple hundred directories. I'm trying to convert the pdf's to jpg's.
I used this command in terminal:
for fname in *.pdf; do convert $fname ${fname%.pdf}.jpg; doneIt works great but the problem is I have to run this in terminal for each... (2 Replies)
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
LEARN ABOUT SUNOS
postprint
postprint(1) User Commands postprint(1)NAME
postprint - PostScript translator for text files
SYNOPSIS
postprint [-c num] [-f name] [-l num] [-m num] [-n num] [-o list] [-p mode] [-r num] [-s num] [-t num] [-x num] [-y num] [file...]
/usr/lib/lp/postscript/postprint
DESCRIPTION
The postprint filter translates text files into PostScript and writes the results on the standard output. If no files are specified, or if
- is one of the input files, the standard input is read.
OPTIONS -c num Print num copies of each page. By default, only one copy is printed.
-f name Print files using font name. Any PostScript font can be used, although the best results will be obtained only with constant width
fonts. The default font is Courier.
-l num Set the length of a page to num lines. By default, num is
66. Setting num to 0 is allowed, and will cause postprint to guess a value, based on the point size that's being used.
-m num Magnify each logical page by the factor num. Pages are scaled uniformly about the origin, which is located near the upper left
corner of each page. The default magnification is 1.0.
-n num Print num logical pages on each piece of paper, where num can be any positive integer. By default, num is set to 1.
-o list Print pages whose numbers are given in the comma-separated list. The list contains single numbers N and ranges N1 - N2. A missing
N1 means the lowest numbered page, a missing N2 means the highest. The page range is an expression of logical pages rather than
physical sheets of paper. For example, if you are printing two logical pages to a sheet, and you specified a range of 4, then
two sheets of paper would print, containing four page layouts. If you specified a page range of 3-4, when requesting two logical
pages to a sheet; then only page 3 and page 4 layouts would print, and they would appear on one physical sheet of paper.
-p mode Print files in either portrait or landscape mode. Only the first character of mode is significant. The default mode is portrait.
-r num Selects carriage return behavior. Carriage returns are ignored if num is 0, cause a return to column 1 if num is 1, and generate
a newline if num is 2. The default num is 0.
-s num Print files using point size num. When printing in landscape mode num is scaled by a factor that depends on the imaging area of
the device. The default size for portrait mode is 10. Note that increasing point size increases virtual image size, so you either
need to load larger paper, or use the -l0 option to scale the number of lines per page.
-t num Assume tabs are set every num columns, starting with the first column. By default, tabs are set every 8 columns.
-x num Translate the origin num inches along the positive x axis. The default coordinate system has the origin fixed near the upper left
corner of the page, with positive x to the right and positive y down the page. Positive num moves everything to the right. The
default offset is 0.25 inches.
-y num Translate the origin num inches along the positive y axis. Positive num moves text up the page. The default offset is -0.25
inches.
A new logical page is started after 66 lines have been printed on the current page, or whenever an ASCII form feed character is read. The
number of lines per page can be changed using the -l option. Unprintable ASCII characters are ignored, and lines that are too long are
silently truncated by the printer.
EXAMPLES
Example 1: Examples of postprint.
To print file1 and file2 in landscape mode, issue the following command:
example% postprint -pland file1 file2
To print three logical pages on each physical page in portrait mode:
example% postprint -n3 file
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/usr/lib/lp/postscript/forms.ps
/usr/lib/lp/postscript/ps.requests
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpsf |
+-----------------------------+-----------------------------+
SEE ALSO download(1), dpost(1), postdaisy(1), postdmd(1), postio(1), postmd(1), postreverse(1), posttek(1), attributes(5)SunOS 5.10 9 Sep 1996 postprint(1)