Hello<br>    <br>    Many, many thanks for the change. I reportet this already at 2005-10-15 in bug #<a rel="nofollow" name="b3599" target="_blank" href="http://bugs.winehq.org/show_bug.cgi?id=3599">3599.</a><br>    But nobody seemd to take care about this problem. I think this brings the whole thing much furter.<br>    <br>    Roland Kaeser<br><br><b><i>Charles Morrison &lt;eplurib@earthlink.net&gt;</i></b> schrieb:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  10/10/2007<br><br>After consulting with some local Linux consultants, we have concluded <br>that Corel Draw does not print under WINE because it detects the printer <br>as Postscript, converts the file to Postscript, and sends the file to <br>CUPS, which then converts the file to Postscript, again, and sends it to <br>the printer which prints garbage.<br><br>The consultant found a way to make a couple changes to WINE files and <br>force CUPS to pass
 it through and it prints beautifully on a color printer.<br><br>Here are his changes:<br><br>&gt; in ps.c<br>&gt;<br>&gt; Changed<br>&gt;<br>&gt; static const char psendpage[] =<br>&gt; "pgsave restore\n"<br>&gt; "showpage\n";<br>&gt;<br>&gt; to<br>&gt;<br>&gt; static const char psendpage[] =<br>&gt; "showpage\n";<br>&gt;<br>&gt; (deleting pgsave restore\n)<br>&gt;<br>&gt;<br>&gt; at the begining of PSDRV_WriteNewPage<br>&gt; added return 1; to essentially bypass the code.<br>&gt;<br>&gt; INT PSDRV_WriteNewPage( PSDRV_PDEVICE *physDev )<br>&gt; {<br>&gt;     char *buf;<br>&gt;     char name[100];<br>&gt;     signed int xtrans, ytrans, rotation;<br>&gt;<br>&gt;     return 1;<br>&gt;<br>&gt; ============================================<br>&gt;<br>&gt; in escape.c  in the function PSDRV_ExtEscape<br>&gt;<br>&gt; commented out all of the code for the POSTSCRIPT_PASSTHROUGH case<br>&gt; and replaced with a call to PSDRV_WriteSpool<br>&gt;<br>&gt;     case
 POSTSCRIPT_DATA:<br>&gt;     case PASSTHROUGH:<br>&gt;     case POSTSCRIPT_PASSTHROUGH:<br>&gt;     {<br>&gt;         /* Write directly to spool file, bypassing normal PS driver<br>&gt;          * processing that is done along with writing PostScript code<br>&gt;          * to the spool.<br>&gt;          * We have a WORD before the data counting the size, but<br>&gt;          * cbInput is just this +2.<br>&gt;          * However Photoshop 7 has a bug that sets cbInput to 2 less <br>&gt; than the<br>&gt;          * length of the string, rather than 2 more.  So we'll use the <br>&gt; WORD at<br>&gt;          * in_data[0] instead.<br>&gt;          */<br>&gt;         // if (!physDev-&gt;job.in_passthrough) {<br>&gt;             // WriteSpool16(physDev-&gt;job.hJob, (LPSTR)psbegindocument, <br>&gt; sizeof(psbegindocument)-1);<br>&gt;             // physDev-&gt;job.in_passthrough = TRUE;<br>&gt;         // }<br>&gt;         // return <br>&gt;
 WriteSpool16(physDev-&gt;job.hJob,((char*)in_data)+2,*(const WORD*)in_data);<br>&gt;<br>&gt;         return PSDRV_WriteSpool(physDev, ((char*)in_data) + 2, cbInput);<br>&gt;     }<br>&gt;<br>My question; Is there a way to force CUPS to pass through a Postscript <br>file from Corel Draw and allowing other programs running under WINE to <br>use the CUPS drivers as normal? (The consultants changes force the pass <br>through on all programs running under WINE).<br><br>Possible other solution; Is there a way to force Corel Draw to send a <br>format which can be converted or pass through CUPS to the printer?<br><br>Charlie Morrison<br><br><br>_______________________________________________<br>wine-users mailing list<br>wine-users@winehq.org<br>http://www.winehq.org/mailman/listinfo/wine-users<br></blockquote><br><p>&#32;
      <hr size=1><a href=" http://de.rd.yahoo.com/evt=48210/*http://de.answers.yahoo.com/;_ylc=X3oDMTEyYTEwYzVhBF9TAzIxMTQ3MTgxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU-" target=_new >Yahoo! Clever</a> - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen.