<?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: Print Multiple page numbers without having to constantly open TEXTEDIT in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723551#M140085</link>
    <description>&lt;P&gt;Hi adrian.sorola,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;post a sample dwg, with a few &lt;EM&gt;'Travelers'&lt;/EM&gt;, with a &lt;SPAN class="hps"&gt;before and after&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;state&lt;/SPAN&gt;,&amp;nbsp;it&amp;nbsp;will be &lt;SPAN class="hps"&gt;easier to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;Henrique&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2015 17:42:53 GMT</pubDate>
    <dc:creator>hmsilva</dc:creator>
    <dc:date>2015-07-16T17:42:53Z</dc:date>
    <item>
      <title>Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5719370#M140080</link>
      <description>&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hey so I have always thought this was one of my duties i couldve made a lot more efficient. I create various sheets for jobs with multiple pallets called Travelers. First I find out how many pallets Travelers I will need to make and insert that number on to the drawing with TEXTEDIT. Then Based on How many pieces go per pallet I print out every sheet sequentially (ex. 01 of 10, 02 of 10, 03 of 10 and so on) using TEXTEDIT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;heres a picture&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/177494i599D172333BB2028/image-size/medium?v=mpbl-1&amp;amp;px=-1" alt="1.JPG" title="1.JPG" align="left" border="0" /&gt;&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;P&gt;&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;P&gt;&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;P&gt;&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Of course when I have over 20 Travelers it gets really tedious and time consuming to do the whole&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-double click&lt;/P&gt;&lt;P&gt;-change number&lt;/P&gt;&lt;P&gt;-enter&lt;/P&gt;&lt;P&gt;-ctrl+p&lt;/P&gt;&lt;P&gt;-enter&lt;/P&gt;&lt;P&gt;-repeat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Is there a macro or even a command that will do this for me?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jul 2015 19:04:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5719370#M140080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-14T19:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5719626#M140081</link>
      <description>&lt;P&gt;Sheet set manager has been doing this for &lt;STRIKE&gt;over&lt;/STRIKE&gt;&amp;nbsp;almost a decade.&lt;BR /&gt;Is there some reason you can't use that?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 19:54:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5719626#M140081</guid>
      <dc:creator>rkmcswain</dc:creator>
      <dc:date>2015-07-14T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5722575#M140082</link>
      <description>&lt;P&gt;I think there is such a reason.&lt;/P&gt;&lt;P&gt;It's called: "ONE SHEET PER ONE DRAWING AT A TIME"...&lt;/P&gt;&lt;P&gt;: ((&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's AWFUL!..&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 11:21:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5722575#M140082</guid>
      <dc:creator>alexKoshman</dc:creator>
      <dc:date>2015-07-16T11:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5722739#M140083</link>
      <description>&lt;P&gt;I looked into sheet set manager, I dont know how really to apply this in this situation since my program creates a single sheet at a time and thats all we print and it spits it out as XX of XX and i go into the file and add the numbers manually and eventually go through and print every single iteration '1 of 20, 2 of 20, 3 of 20'&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 13:34:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5722739#M140083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-16T13:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723478#M140084</link>
      <description>&lt;P&gt;I'm not sure what Travelers is - software add on? Never heard of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet Set Manager is the way to go for managing sheet numbers - but if you're getting sheets from some other software it likely won't work. Are the sheet numbers done as an attribute block at least? If so you could probably write a lisp to assist the editing.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 17:19:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723478#M140084</guid>
      <dc:creator>redtransitconsultants</dc:creator>
      <dc:date>2015-07-16T17:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723551#M140085</link>
      <description>&lt;P&gt;Hi adrian.sorola,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;post a sample dwg, with a few &lt;EM&gt;'Travelers'&lt;/EM&gt;, with a &lt;SPAN class="hps"&gt;before and after&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;state&lt;/SPAN&gt;,&amp;nbsp;it&amp;nbsp;will be &lt;SPAN class="hps"&gt;easier to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;Henrique&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 17:42:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723551#M140085</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-07-16T17:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723855#M140086</link>
      <description>&lt;P&gt;ok what I just posted is called a traveler, when we manufacture multiple pieces and we have to put them on multiple pallets so as they move around the shop&amp;nbsp; we need to be able to identify the pallet because the pieces dont all get finished at the same time. This is where travelers come in. We leave a traveler on the pallet that tells operators what order the pieces belongs to for tracking purposes. When I run my program that pulls the traveler .dxf file and populates it with the dimension it saves it and then I go in and manually change the XX of XX to say for example 01 of 10 then 02 of 10. I usually just click the 01 and then it lets me TEXTEDIT that&amp;nbsp; and i change it and then press print and then i repeat for every single page . The problem that has been getting to me lately is ive had to make 50, 60 or even 100 travelers because theres so many pieces and thus so many pallets.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 20:25:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723855#M140086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-16T20:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723909#M140087</link>
      <description>&lt;P&gt;Adrian,&lt;/P&gt;
&lt;P&gt;the reason why I asked&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;'post a sample dwg, with &lt;STRONG&gt;a few 'Travelers', with a before and after&lt;/STRONG&gt; state, it will be easier to help...'&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was to try to understand &lt;SPAN class="hps alt-edited"&gt;the relation &lt;SPAN class="hps"&gt;between the&lt;/SPAN&gt; 'Traveler' localization and the final number, to do this I need &lt;SPAN class="hps"&gt;more than one...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;Are &lt;SPAN class="hps"&gt;numbering&amp;nbsp;assigned&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from left to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;right, from top to bottom, ???&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Do you want to select the "XX" one by one, and from that selection order, the numbering&amp;nbsp;will be assigned?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;EDIT: if the order don't matter, maybe &lt;SPAN class="hps alt-edited"&gt;something like this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the trick...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:demo (/ ent i n ss1 ss2 str)
  (if (and (setq ss1 (ssget "_X" (list '(0 . "TEXT") '(8 . "TESTI") '(1 . "OF XX") (cons 410 (getvar 'CTAB)))))
           (setq ss2 (ssget "_X" (list '(0 . "TEXT") '(8 . "TESTI") '(1 . "XX") (cons 410 (getvar 'CTAB)))))
      )
    (progn
      (setq i   (sslength ss1)
            str (itoa i)
      )
      (if (= (strlen str) 1)
        (setq str (strcat "0" str))
      )
      (setq str (strcat "OF " str))
      (repeat i
        (setq ent (entget (ssname ss1 (setq i (1- i)))))
        (entmod (subst (cons 1 str) (assoc 1 ent) ent))
      )

      (setq n 0)
      (repeat (setq i (sslength ss2))
        (setq ent (entget (ssname ss2 (setq i (1- i))))
              n   (1+ n)
              str (itoa n)
        )
        (if (= (strlen str) 1)
          (setq str (strcat "0" str))
        )
        (entmod (subst (cons 1 str) (assoc 1 ent) ent))
      )
    )
  )
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Hope this helps, &lt;BR /&gt;Henrique&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 21:20:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5723909#M140087</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-07-16T21:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724028#M140088</link>
      <description>&lt;P&gt;the various travelers all come from the same xx of xx .dwg here is some extras. The final number stays the same. in this case 64 remains 64 the first number changes every time i print the traveler. The goal would be to be able to take the original .dwg and specify that i need say 50 travelers and then my printer would begin printing sequentially 1 of 50 , 2 of 50, 3 of 50, 4 of 50, 5 of 50.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 22:04:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724028#M140088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-16T22:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724061#M140089</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;the various travelers all come from the same xx of xx .dwg here is some extras. The final number stays the same. in this case 64 remains 64 the first number changes every time i print the traveler. The goal would be to be able to take the original .dwg and specify that i need say 50 travelers and then my printer would begin printing sequentially 1 of 50 , 2 of 50, 3 of 50, 4 of 50, 5 of 50.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Adrian,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;let's see&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;if I understood&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your&lt;/SPAN&gt; workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You only have one .dwg opened each time?&lt;/P&gt;
&lt;P&gt;Not all travelers in one dwg?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, it will be:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open one .dwg&lt;/LI&gt;
&lt;LI&gt;Change the numbers.&lt;/LI&gt;
&lt;LI&gt;Plot.&lt;/LI&gt;
&lt;LI&gt;Open &lt;SPAN class="hps alt-edited"&gt;another&lt;/SPAN&gt; .dwg&lt;/LI&gt;
&lt;LI&gt;Change the numbers.&lt;/LI&gt;
&lt;LI&gt;Plot.&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And you need to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open one .dwg&lt;/LI&gt;
&lt;LI&gt;Set the total travelers&lt;/LI&gt;
&lt;LI&gt;Change the numbers by code.&lt;/LI&gt;
&lt;LI&gt;Plot.&lt;/LI&gt;
&lt;LI&gt;Open &lt;SPAN class="hps alt-edited"&gt;another&lt;/SPAN&gt; .dwg&lt;/LI&gt;
&lt;LI&gt;Change the numbers &amp;nbsp;by code.&lt;/LI&gt;
&lt;LI&gt;Plot.&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 22:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724061#M140089</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-07-16T22:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724714#M140090</link>
      <description>&lt;P&gt;you are correct up until the point where I plot.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;open .dwg&lt;/LI&gt;&lt;LI&gt;change numbers&lt;/LI&gt;&lt;LI&gt;plot&lt;/LI&gt;&lt;LI&gt;change numbers in the same .dwg&lt;/LI&gt;&lt;LI&gt;plot&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;you can imagine that if i had to do this 100 times it would slow me down, even with my keystrokes memorized&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the goal is to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;open .dwg&lt;/LI&gt;&lt;LI&gt;set total number of travelers&lt;/LI&gt;&lt;LI&gt;autodesk begins to plot all individual travelers without me having to manually change the number each time i plot&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i dont know if this is wishful thinking but I just wanted to know how something like this is done that way in the future I can use what i learned and use it in different applications&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:18:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724714#M140090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724975#M140091</link>
      <description>&lt;P&gt;So... if the drawing you are printing is opened, what you would need is a prompt to pick the 2 pieces of text affected that will be changed, and then enter a number for the total number of copies. &amp;nbsp;The program would then change the 'total' text entity to the number of pages to be printed, and then begin iterating a loop, incrementing the other text entity and print it. Correct?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:22:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5724975#M140091</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2015-07-17T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725134#M140092</link>
      <description>&lt;P&gt;Yes correct!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thats pretty much exactly what I am envisioning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a prompt that would ask "total pages?" and begin the loop of printing each page incrementally.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:57:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725134#M140092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725142#M140093</link>
      <description>&lt;P&gt;This should get you started in the right direction:&lt;/P&gt;&lt;PRE&gt;(defun C:MPLOT ( / dxf ent1 ent2 total i fn)
  (defun dxf (code EnameOrElist / VarType)
    (setq VarType (type EnameOrElist))
    (if (= VarType (read "ENAME"))
      (cdr (assoc code (entget EnameOrElist)))
      (cdr (assoc code EnameOrElist))
    )
  )
  (cond
    ((not (setq ent1 (entsel "\nSelect the text that will be the counter...")))
     (princ "\nNothing selected")
    )
    ((not (= (dxf 0 (setq ent1 (car ent1))) "TEXT"))
     (princ "\nSelected entity is not text")
    )
    ((not (setq ent2 (entsel "\nSelect the text that will be the 'of total'...")))
     (princ "\nNothing selected")
    )
    ((not (= (dxf 0 (setq ent2 (car ent2))) "TEXT"))
     (princ "\nSelected entity is not text")
    )
    (T
      (initget 7)
      (if (setq total (getint "\nTotal number of pages to print:  "))
        (progn
          (setq ent1 (vlax-ename-&amp;gt;vla-object ent1)
                ent2 (vlax-ename-&amp;gt;vla-object ent2)
          )
          (vla-put-TextString ent2 (strcat "OF " (itoa total)))
          (setq i 1)
          (while (&amp;lt;= i total)
            (vla-put-TextString ent1 (itoa i))
            ;(setq fn (strcat "c:/temp/" (itoa i) ".plt"))
            ;(vla-PlotToFile (vla-get-plot (vla-get-ActiveDocument (vlax-get-acad-object))) fn )
            (vla-PlotToDevice (vla-get-plot (vla-get-ActiveDocument (vlax-get-acad-object))))
            (setq i (1+ i))
          )
        )
      )
    )
  )
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jul 2015 16:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725142#M140093</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2015-07-17T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725401#M140094</link>
      <description>Ill try this and give you some feedback</description>
      <pubDate>Fri, 17 Jul 2015 18:44:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5725401#M140094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T18:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737493#M140095</link>
      <description>&lt;P&gt;Hey guys sorry for the late reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was tinkering and applying the code in different ways whenever i had some free time and It works right&amp;nbsp; once i load it into autocad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it prompts me to choose the first text&lt;/P&gt;&lt;P&gt;then it prompts me to choose the second text&lt;/P&gt;&lt;P&gt;and then it asks me how many copies&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what Happens after however&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/179938i17622A70ADA5AA55/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2.jpg" title="2.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;there is the "error: no function definition: VLAX-ENAME-&amp;gt;VLA-OBJECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried looking through it and even defining it but I dont even know where to begin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are those user defined functions?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 13:51:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737493#M140095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-23T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737742#M140096</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I think you have to add a string&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;EM&gt;(vl-load-com)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;as the second string in this code!&lt;/P&gt;&lt;P&gt;Right after the&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;EM&gt;(defun C:MPLOT ( / dxf ent1 ent2 total i fn)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;The respected author just forgot to add this to his codde... because it's banality! ; ))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 14:48:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737742#M140096</guid>
      <dc:creator>alexKoshman</dc:creator>
      <dc:date>2015-07-23T14:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737937#M140097</link>
      <description>&lt;P&gt;vl-load-com.... ahhhh.... yes. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot about that....i'm so use to having that load right away as part of my acad.lsp file.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 16:32:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737937#M140097</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2015-07-23T16:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737941#M140098</link>
      <description>&lt;P&gt;; )) Understand you completely!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 16:35:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5737941#M140098</guid>
      <dc:creator>alexKoshman</dc:creator>
      <dc:date>2015-07-23T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Print Multiple page numbers without having to constantly open TEXTEDIT</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5739345#M140099</link>
      <description>&lt;P&gt;It works!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the only hang up is I need to know how to select a certain plot device. it runs the code but then i get the yellow bubble on the bottom right hand corner that says plot error. the error stems from not having a plot device selected. In my case i need to have my 4V plotter selected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you guys&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 14:35:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/print-multiple-page-numbers-without-having-to-constantly-open/m-p/5739345#M140099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-24T14:35:13Z</dc:date>
    </item>
  </channel>
</rss>

