[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

printing

How to print PDF, EXCEL, WORD files in Linux?
0
glogin
Asked:
glogin
  • 2
  • 2
1 Solution
 
wesly_chenCommented:
Hi,

You need to have the following packages installed on your Linux:
pdf:   Adobe acrobat-reader or xpdf
excel: open office or kde office (koffice)
word: open office, kde office or abiword

Wesly
0
 
gloginAuthor Commented:
does it mean that after installing these packages, I can print these document using 'lp -d <print queue> <file name>' ??

coz I want to trigger printing via shell mode

pls suggest
0
 
paranoidcookieCommented:
What printing package are you using?  CUPS has built in PDF processing support so that lp -d yourprinter sample.pdf or lpr -P yourprinter sample.pdf will work.  LPRng has file recognition support so that you have to hack the filter config file to point it to a program that will convert your pdf to a printer-friendly file.
0
 
gloginAuthor Commented:
Thanks paranoidcookie, how about Excel file printing in linux? Does CUPS supports MS Excel?
0
 
paranoidcookieCommented:
Im not sure on command line printing of excel I had a look round but most people use openoffice, I guess you could do some OO scripting to to the conversion and print from the command line.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now