• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print MS Office documents using unix commands

 
Latha Sree
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic