We are trying to automate Printing the word document directly from the Server level to a Printer.
We have printer registered and command I use is
Even though the program completes fine, a print does not reach to the printer for word document. In order to make sure, I passed a PDF file and it got Printed fine.
After extensive checks I found I need to convert DOC into PDF and then print.
Can we print a Word document directly from server instead of converting it?
If We need to convert to PDF is there a way to do it without any installation. (Libreoffice is one option, but it needs installation)
Kindly advice.
Regards,
Prashant
Moderator's Comments:
Please use code tags as required by forum rules!
Last edited by rbatte1; 08-03-2016 at 06:43 AM..
Reason: RudiC Added code tags. rbatte1 converted text-numbered list to formatted numbered list with LIST=1 tags
hi all
i have file_1 which contains 66 pages and i want to print only page 1 to 3
i try to write like this
lp -d name_of_printer file_1 -P 1-7
this command does not work
any ideas ? (4 Replies)
Hello,
I'm trying to grab all lines in a file that match the extension using the following command:
awk '/.doc/' Input.csv > WordFiles.dat
This works, but if a line contains "doc" it still prints the line. I want to print only the lines with ".doc"
Can someone show how to pick up only... (1 Reply)
My source is on each line
98.194.245.255 - - "GET /disp0201.php?poc=4060&roc=1&ps=R&ooc=13&mjv=6&mov=5&rel=5&bod=155&oxi=2&omj=5&ozn=1&dav=20&cd=&daz=&drc=&mo=&sid=&lang=EN&loc=JPN HTTP/1.1" 302 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR... (5 Replies)
Hi, i am new to unix shell scripting and i need a script which would search for a particular word in all the files present in a directory. The output should have the word and file path name. For example: "word" "path name".
Thanks for the reply in adv,:) (3 Replies)
Hi,
I need to search a word in the java file.
Assume the line in the java file is, (the line was splitted into 3 lines)
1.operationContext.sendFeedback(2.FeedbackType.ERROR, null, "Input is empty.", "Input Details: pr
3.ovide Valid pair(s): "+pairType);
When i grep for the word... (6 Replies)
Hi All,
Is it possible to creation a word document (.doc) in unix solaris which includes an attachment (i.e similar to insert -> object add attachment in windows)
Requirement is to add files into .doc and the files is present in unix servers.
Is it possible to do this within unix instead... (5 Replies)
I am trying to find a way to convert a Word doc saved in the XML format to a PDF file (that looks like the original Word doc). Yes, there are all kinds of ways to do this interactively. What I need is something that can be run as a background process so that when XML files are placed in a... (0 Replies)
hi all, I'm new there, I'm just playing with perl and lwp and I just successfully created a script for log in to a web site with post. I have a response but I would like to have something like this:
I have in my response lines like:
<div class="sender">mimi020</div>
<some html code.....>... (3 Replies)
Hi! How we are?
I have an A4 PDF in my server, and i must send it to phisically printer.
I use the comand:
lpr -P printername -o media=A4 archive.pdf
And the printer prints it in letter format, i don't know why.
¿Have ideas or solution?
Thanks, my best regards. (6 Replies)
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
LEARN ABOUT REDHAT
pdf2dsc
PDF2DSC(1) Ghostscript Tools PDF2DSC(1)NAME
pdf2dsc - generate a PostScript page list of a PDF document
SYNOPSIS
pdf2dsc input.pdf [ output.dsc ]
DESCRIPTION
pdf2dsc uses gs(1) to read an Adobe Portable Document Format (PDF) document "input.pdf" and create a PostScript(tm) document "output.dsc"
that conforms to Adobe's Document Structuring Conventions (DSC) requirements.
This new document simply tells Ghostscript to read the PDF file and to display pages one at a time. The generated document can then be
viewed with any PostScript viewer based on Ghostscript, like ghostview(1) on Unix or GSview on Windows, with which the user can browse
through the pages of the PDF document in any order.
If no output file is named on the command line, the name of the output file is that of the input file with any extension removed, followed
by the extension ".dsc".
CAVEATS
The DSC document uses Ghostscript-specific procedures. In addition, the original PDF document must be accessible when the DSC document is
processed.
You need the file "pdf2dsc.ps" (originally by Russell Lang) supplied with Ghostscript since release 3.53.
SEE ALSO gs(1), ghostview(1)VERSION
This document was last revised for Ghostscript version 7.05.
AUTHOR
Yves Arrouye <yves.arrouye@usa.net> and Russell Lang <rjl@aladdin.com>
7.05 22 April 2002 PDF2DSC(1)