<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
tt
        {font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>Hi all</span></font></tt><font size=2
color=black face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><br>
<br>
<tt><font face="Courier New">I have developed a custom backend and backend.conf
and a global .ppd file. I have associated it with CUPS and installed it with a
new printer name. It is working fine when I print any MS Office file by opening
it or by right click option. But when I try to print MS office files using
command line i.e. using the following command<o:p></o:p></font></tt></span></font></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'> lp -d <PRINTER> msword.doc <o:p></o:p></span></font></tt></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>it gives me a 0KB ps file. When I saw cups
error-log it shows content type = “application/octet-stream” <o:p></o:p></span></font></tt></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'><o:p> </o:p></span></font></tt></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>but when I print same file on same printer
using drag-drop its content type is “application/pdf” <o:p></o:p></span></font></tt></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'><o:p> </o:p></span></font></tt></p>

<p class=MsoNormal><tt><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>I am using MAC OS X machine. Please let me
know if somebody has an idea.</span></font></tt><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><br>
<br>
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Naveen...</span></font><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>




Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no
responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable.