• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Print MS Office documents using unix commands

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,

Can anyone please help me how to print MS Office documents using unix commands.
With lp and lpr commands, it is giving the following error
lp: unable to print file: client-error-document-format-not-supported

Please suggest me how to print doc files in unix
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think there are *any* printers that support direct printing of MS Office documents. Using OpenOffice in server mode through its Java API is one way of doing this.

You seem to have lots of different questions about printing of documents - maybe if you told us what the overall problem is you're trying to address we can point to solutions that address it in full, instead of piecemeal for each question.
 
Latha Sree
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:I don't think there are *any* printers that support direct printing of MS Office documents. Using OpenOffice in server mode through its Java API is one way of doing this.

You seem to have lots of different questions about printing of documents - maybe if you told us what the overall problem is you're trying to address we can point to solutions that address it in full, instead of piecemeal for each question.




Hello,

Sorry for late reply..
I found that best solution to print files is by using unix command,lp..It is very simple to do..
But..it too has some limitations.
it doesnt support some formats.
Now..I want MS Office documents to be printed..By any way..
i.e. unix or java program or convert docs to PDF and then print.
Please suggest any way to achieve it.

Thanks
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Using OpenOffice in server mode through its Java API is one way of doing this.

 
Latha Sree
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:

Ulf Dittmer wrote:Using OpenOffice in server mode through its Java API is one way of doing this.



Hiii

Thanks for your response..
Could you please help me out with some sample examples.

Thanks
 
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic