<?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 Re: Using -publish and dsd files in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9613546#M72567</link>
    <description>&lt;P&gt;Have thought about changing the code to not ask for range but rather run from say Aeccoreconsole.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DWG1 (load "plotpdf")(plotpdf 1 56)&lt;/P&gt;&lt;P&gt;dwg2&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; (load "plotpdf")(plotpdf 1 100) ;&amp;nbsp; 1000 means all sheets&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;dwg3&amp;nbsp;&lt;SPAN style="background-color: #ffffff; box-sizing: border-box; color: #666666; cursor: text; display: inline; float: none; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; (load "plotpdf")(plotpdf 3 5)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 00:58:31 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2020-07-02T00:58:31Z</dc:date>
    <item>
      <title>Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611231#M72562</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a autolisp script to publish pdfs from a dsd file. When we load the dsd file with the PUBLISH command, publishing works just fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rleuba_0-1593557524969.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/790325i4EB6F81B1A215802/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rleuba_0-1593557524969.png" alt="rleuba_0-1593557524969.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I use -PUBLISH and load the same dsd file, it won't work and has the ERROR: device not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 22:55:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611231#M72562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T22:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611271#M72563</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What path are you putting into the "-PUBLISH" command to locate the dsd file?&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;- "//..file.dsd"&lt;/P&gt;&lt;P&gt;- "c:\\me\\desktop\\file.dsd"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;Also, Try this troubleshooting guide first:&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/device-not-found-when-publishing-in-autocad.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/device-not-found-when-publishing-in-autocad.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 23:38:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611271#M72563</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2020-06-30T23:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611479#M72564</link>
      <description>&lt;P&gt;Are you just trying to plot multiple layouts of a single drawing ? I have lisp for plot a range of layouts to pdf with option of join into single pdf. Just post if you want it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 03:10:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611479#M72564</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-07-01T03:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611721#M72565</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Which ERROR do you get?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Give a picture of the error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 07:29:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9611721#M72565</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2020-07-01T07:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9612860#M72566</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5680873"&gt;@CodeDing&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What path are you putting into the "-PUBLISH" command to locate the dsd file?&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;- "//..file.dsd"&lt;/P&gt;&lt;P&gt;- "c:\\me\\desktop\\file.dsd"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;Also, Try this troubleshooting guide first:&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/device-not-found-when-publishing-in-autocad.html" target="_blank" rel="noopener"&gt;https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/device-not-found-when-publishing-in-autocad.html&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is the line as I have it:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setvar "filedia" 0)
(command "-publish" "F:\\941-001Apartment\\Dwg\\M200.dsd")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Are you just trying to plot multiple layouts of a single drawing ? I have lisp for plot a range of layouts to pdf with option of join into single pdf. Just post if you want it.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The dsd file has multiple layouts from multiple drawings unfortunately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1622231"&gt;@maratovich&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Which ERROR do you get?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Give a picture of the error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The command line output looks like this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: DSDPUBLISH
-publish Enter name of sheet list &amp;lt;&amp;gt;: F:\941-001Apartment\Dwg\M200.dsd
'C:\Users\rleuba\Documents\M200.pdf': Errors found&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And the Plot and Publish Details Window Shows:&lt;/P&gt;&lt;LI-CODE lang="general"&gt; Job: - Error(s) Did Not Plot

Job ID: 2
Sheet set name: 
Date and time started: 7/1/2020 9:04:01 AM
Date and time completed: 7/1/2020 9:04:01 AM
UserID: rleuba
Profile ID: 2014Base
Total sheets: 1
Sheets plotted: 0
Number of errors: 1
Number of warnings: 0

 Sheet: M200-M201 - Error(s) Did Not Plot

File: F:\941-001Apartment\Dwg\M200.dwg
Category name: 
Page setup: 
Device name: 
Plot file path: 
Paper size: 

ERROR: Device not found  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 16:18:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9612860#M72566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-01T16:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9613546#M72567</link>
      <description>&lt;P&gt;Have thought about changing the code to not ask for range but rather run from say Aeccoreconsole.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DWG1 (load "plotpdf")(plotpdf 1 56)&lt;/P&gt;&lt;P&gt;dwg2&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; (load "plotpdf")(plotpdf 1 100) ;&amp;nbsp; 1000 means all sheets&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;dwg3&amp;nbsp;&lt;SPAN style="background-color: #ffffff; box-sizing: border-box; color: #666666; cursor: text; display: inline; float: none; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; (load "plotpdf")(plotpdf 3 5)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 00:58:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9613546#M72567</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-07-02T00:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9615031#M72568</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt; Job: - Error(s) Did Not Plot

Job ID: 2
Sheet set name: 
Date and time started: 7/1/2020 9:04:01 AM
Date and time completed: 7/1/2020 9:04:01 AM
UserID: rleuba
Profile ID: 2014Base
Total sheets: 1
Sheets plotted: 0
Number of errors: 1
Number of warnings: 0

 Sheet: M200-M201 - Error(s) Did Not Plot

File: F:\941-001Apartment\Dwg\M200.dwg
Category name: 
Page setup: 
Device name: 
Plot file path: 
Paper size: 

ERROR: Device not found  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Your drawings do not have print settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the drawing, the printer, sheet format and the rest should be selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Have you ever printed from your drawing?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 17:02:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9615031#M72568</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2020-07-02T17:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9620091#M72569</link>
      <description>&lt;P&gt;Thanks for the input folks. I figured out a way to make it work. When creating the dsd file in the "publish" window, you need to have have the "Publish to:" option set up as plotter named in page setup. It won't work if you use the DWG to PDF override.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rleuba_0-1594048330616.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/792278iE3EEEF7A63118100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rleuba_0-1594048330616.png" alt="rleuba_0-1594048330616.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, most of the drawings in my company do not have the plotter set up properly in each drawing. Does anyone know of a way to use the DWG to PDF override with the -publish command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rleuba_1-1594048665172.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/792283i1D6834228B327BEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rleuba_1-1594048665172.png" alt="rleuba_1-1594048665172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9620091#M72569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-06T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9620157#M72570</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Add an example of your file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:40:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/9620157#M72570</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2020-07-06T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using -publish and dsd files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/13416394#M72571</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Filedia&lt;/STRONG&gt; shoot be on zero (0)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:48:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-publish-and-dsd-files/m-p/13416394#M72571</guid>
      <dc:creator>gjvriend</dc:creator>
      <dc:date>2025-04-09T08:48:00Z</dc:date>
    </item>
  </channel>
</rss>

