<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic when i call plotToDevice ,autocad 2004 say &amp;quot;no enough memory...&amp;quot; in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/when-i-call-plottodevice-autocad-2004-say-quot-no-enough-memory/m-p/2443906#M17948</link>
    <description>Hi all&lt;BR /&gt;
  when i call iacadplot::plotToDevice(adobe pdf) ,it works fine.but i call iacadplot::plotToDevice(HP LaserJet 3050 Series PCL 5e) ,the autocad 2004 alway say"no enought memory...." &lt;BR /&gt;
&lt;BR /&gt;
void testPlot()&lt;BR /&gt;
{&lt;BR /&gt;
	CAcadApplication iAcadApp;&lt;BR /&gt;
	IDispatch *pDisp=acedGetAcadWinApp()-&amp;gt;GetIDispatch(TRUE); //Addref is called on the pointer&lt;BR /&gt;
	iAcadApp.AttachDispatch(pDisp);//does not call AddRef()&lt;BR /&gt;
	iAcadApp.put_Visible(true);&lt;BR /&gt;
	CAcadDocument iActiveDoc;&lt;BR /&gt;
	pDisp=iAcadApp.get_ActiveDocument();//AddRef is called&lt;BR /&gt;
	iActiveDoc.AttachDispatch(pDisp);&lt;BR /&gt;
	pDisp=iActiveDoc.get_Plot();&lt;BR /&gt;
	CAcadPlot iPlot;&lt;BR /&gt;
	iPlot.AttachDispatch(pDisp);&lt;BR /&gt;
	VARIANT plotConfig;&lt;BR /&gt;
	plotConfig.vt=VT_BSTR;&lt;BR /&gt;
	plotConfig.bstrVal=L"HP LaserJet 5000 Series PCL6";&lt;BR /&gt;
	iPlot.PlotToDevice(plotConfig);&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Thank's in advance.</description>
    <pubDate>Sat, 07 Mar 2009 18:09:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-03-07T18:09:43Z</dc:date>
    <item>
      <title>when i call plotToDevice ,autocad 2004 say "no enough memory..."</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/when-i-call-plottodevice-autocad-2004-say-quot-no-enough-memory/m-p/2443906#M17948</link>
      <description>Hi all&lt;BR /&gt;
  when i call iacadplot::plotToDevice(adobe pdf) ,it works fine.but i call iacadplot::plotToDevice(HP LaserJet 3050 Series PCL 5e) ,the autocad 2004 alway say"no enought memory...." &lt;BR /&gt;
&lt;BR /&gt;
void testPlot()&lt;BR /&gt;
{&lt;BR /&gt;
	CAcadApplication iAcadApp;&lt;BR /&gt;
	IDispatch *pDisp=acedGetAcadWinApp()-&amp;gt;GetIDispatch(TRUE); //Addref is called on the pointer&lt;BR /&gt;
	iAcadApp.AttachDispatch(pDisp);//does not call AddRef()&lt;BR /&gt;
	iAcadApp.put_Visible(true);&lt;BR /&gt;
	CAcadDocument iActiveDoc;&lt;BR /&gt;
	pDisp=iAcadApp.get_ActiveDocument();//AddRef is called&lt;BR /&gt;
	iActiveDoc.AttachDispatch(pDisp);&lt;BR /&gt;
	pDisp=iActiveDoc.get_Plot();&lt;BR /&gt;
	CAcadPlot iPlot;&lt;BR /&gt;
	iPlot.AttachDispatch(pDisp);&lt;BR /&gt;
	VARIANT plotConfig;&lt;BR /&gt;
	plotConfig.vt=VT_BSTR;&lt;BR /&gt;
	plotConfig.bstrVal=L"HP LaserJet 5000 Series PCL6";&lt;BR /&gt;
	iPlot.PlotToDevice(plotConfig);&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Thank's in advance.</description>
      <pubDate>Sat, 07 Mar 2009 18:09:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/when-i-call-plottodevice-autocad-2004-say-quot-no-enough-memory/m-p/2443906#M17948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-07T18:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: when i call plotToDevice ,autocad 2004 say "no enough memory..."</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/when-i-call-plottodevice-autocad-2004-say-quot-no-enough-memory/m-p/2443907#M17949</link>
      <description>i am sorry to waste you time ,3q .is all my fault,nothing about autocad:) HOHO  &lt;BR /&gt;
3q&lt;BR /&gt;
3q</description>
      <pubDate>Sun, 08 Mar 2009 03:38:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/when-i-call-plottodevice-autocad-2004-say-quot-no-enough-memory/m-p/2443907#M17949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-08T03:38:40Z</dc:date>
    </item>
  </channel>
</rss>

