<?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: custom .pc3 not supported in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13742129#M165448</link>
    <description>&lt;P&gt;Actually looking closely the Dwg To Pdf.pc3 PDF darkness completely fills the area.&lt;/P&gt;&lt;P&gt;But FoxIt 's PDF filled darkness is incomplete with lots of white lines.&lt;/P&gt;&lt;P&gt;So my preference is still Dwg To Pdf.pc3.&amp;nbsp; But this is looking more and more like a subjective exercise.&lt;/P&gt;&lt;P&gt;In conclusion, you can continue to use your paid version of FoxIt.&lt;/P&gt;&lt;P&gt;But as I stated over and over again you won't be able to use lisp code to automate the pdf generation process.&lt;/P&gt;&lt;P&gt;So the choice in the end is yours.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jul 2025 05:36:41 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2025-07-28T05:36:41Z</dc:date>
    <item>
      <title>custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13710861#M165009</link>
      <description>&lt;P&gt;Hi Everyone, Good day to all, Im a beginner with lisp knowledge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to customize a LISP routine to create PDFs using my own .pc3 and ctb file — specifically, I'm using "Foxit PDF Editor Printer.pc3". I tried replacing the default printer and setting a custom paper size, but the code isn’t working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:PDF ( / cm )

&amp;nbsp; &amp;nbsp;(setq cm (getvar 'CMDECHO))

&amp;nbsp; &amp;nbsp;(setvar 'CMDECHO 0)

&amp;nbsp; &amp;nbsp;(command "_.-plot" "_y"

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(if (= 1 (getvar 'TILEMODE)) "Model" (getvar 'CTAB))

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"AutoCAD PDF (High Quality Print).pc3" "ARCH D (24.00 x 36.00 Inches)"

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"_M" "_L" "_N" "_E" "_F" "_C" "_Y" "monochrome.ctb" "_Y"

&amp;nbsp; &amp;nbsp;)

&amp;nbsp; &amp;nbsp;(if (= 1 (getvar 'TILEMODE))

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(command "_A")

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(command "_N" "_Y")

&amp;nbsp; &amp;nbsp;)

&amp;nbsp; &amp;nbsp;(command "_N" (strcat (getvar 'DWGPREFIX) (vl-filename-base (getvar 'DWGNAME))) "_Y" "_Y")

&amp;nbsp; &amp;nbsp;(setvar 'CMDECHO cm)

&amp;nbsp; &amp;nbsp;(princ)

)

(vl-load-com) (princ)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I replace the default .pc3 file in the LISP code with my own (Foxit PDF Editor Printer.pc3), instead of plotting automatically, it starts asking for every input again — like paper size, plot area, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As below &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: PDF&lt;/P&gt;&lt;P&gt;Yes or No, please.&lt;/P&gt;&lt;P&gt;Don't use Esc while using a Lisp commandWrite the plot to a file [Yes/No] &amp;lt;N&amp;gt;: y&lt;/P&gt;&lt;P&gt;Command: MOPRINT&lt;/P&gt;&lt;P&gt;Yes or No, please.&lt;/P&gt;&lt;P&gt;Don't use Esc while using a Lisp commandWrite the plot to a file [Yes/No] &amp;lt;N&amp;gt;:&lt;/P&gt;&lt;P&gt;Save changes to page setup [Yes/No]? &amp;lt;N&amp;gt;&lt;/P&gt;&lt;P&gt;Proceed with plot [Yes/No] &amp;lt;Y&amp;gt;:&lt;/P&gt;&lt;P&gt;Effective plotting area: 903.11 wide by 603.25 high&lt;/P&gt;&lt;P&gt;Plotting viewport 1.&lt;/P&gt;&lt;P&gt;Effective plotting area: 792.73 wide by 577.98 high&lt;/P&gt;&lt;P&gt;Plotting viewport 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, it would be awesome if we could add a feature where each layout gets plotted using a name format and save location pulled from an Excel file. That would seriously save a ton of time and effort. Thanks in advance, friends!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 08:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13710861#M165009</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-04T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711176#M165011</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17622272"&gt;@harimadhavan66&lt;/a&gt;&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do not have Foxit printer driver&amp;nbsp; installed so could not really check&lt;/P&gt;&lt;P&gt;make some correction so use my version and&amp;nbsp;on line# 5 make sure you replace the printer name to Foxit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;enjoy&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:PDF ()
  (setvar 'CMDECHO 1)

 (command "_.-plot" "_Y" (getvar "ctab")
  "AutoCAD PDF (High Quality Print).pc3" ; replace this with: "Foxit PDF Editor Printer.pc3"
  "ARCH D (24.00 x 36.00 Inches)"
  "_M" "_L" "_N" "_E" "_F" "_C" "_Y"
  "monochrome.ctb" "_Y"
 )
  
 (if (= 1 (getvar 'TILEMODE))
  (command "_A")
  (command "_N" "_Y")
 )

 (command (strcat (getvar 'DWGPREFIX) (vl-filename-base (getvar 'DWGNAME))) "_Y" "_Y")
 
 (setvar 'CMDECHO 1)
 (princ)
)&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;</description>
      <pubDate>Fri, 04 Jul 2025 13:47:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711176#M165011</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2025-07-04T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711184#M165012</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp; Hi, I have been tried that. But it shows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: MOPRINT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes or No, please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't use Esc while using a Lisp commandWrite the plot to a file [Yes/No] &amp;lt;N&amp;gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save changes to page setup [Yes/No]? &amp;lt;N&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proceed with plot [Yes/No] &amp;lt;Y&amp;gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Effective plotting area: 903.11 wide by 603.25 high&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plotting viewport 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Effective plotting area: 792.73 wide by 577.98 high&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plotting viewport 2.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 13:53:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711184#M165012</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-04T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711408#M165014</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17622272"&gt;@harimadhavan66&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe Foxit printer driver has its own &lt;SPAN&gt;unique prompts, so to fix this run -PLOT manually&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and record each prompt and your reply than fix your lisp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moshe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 16:24:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711408#M165014</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2025-07-04T16:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711551#M165020</link>
      <description>&lt;P&gt;With custom pc3 files I’ve always encountered a problem even after getting all the prompts correctly that a plot file naming entry window would always popup interrupting the lisp. This even occurs after setting filedia to 0&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 20:10:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711551#M165020</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-04T20:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711592#M165021</link>
      <description>&lt;P&gt;First of all, I added comments to the code and called the lisp command:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;PltPdfH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; PltPdfH generates pdf with AutoCAD PDF (High Quality Print).pc3
; OP: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/td-p/13710861
(defun c:PltPdfH (/ cmdecho ctab filedia pdfname pltare pltctb pltdev pltlwt pltoff pltori pltppr pltscl pltsty pltuni pltupd)
  (vl-load-com)
  (setq cmdecho (getvar "cmdecho") ; save current settings
        filedia (getvar "filedia")
        ctab (getvar "ctab")
        pdfname (strcat (getvar "dwgprefix") (vl-filename-base (getvar "dwgname")) "-" ctab ".PDF") ; pdf with layout name appended 
  )
  (setvar "cmdecho" 0) ; suppress command echo
  (setvar "filedia" 0) ; suppress file selection window
  ; begin command line plot sequence
  (command "_.-PLOT"
    "_Yes" ; Detailed plot configuration? [Yes/No]
    ctab ; Enter a layout name or [?] ; or just return "" to accept current layout      
    "AutoCAD PDF (High Quality Print).pc3"; Enter an output device name or [?] ; "DWG To PDF.pc3" "AutoCAD PDF (General Documentation).pc3" "AutoCAD PDF (High Quality Print).pc3" "AutoCAD PDF (Smallest File).pc3" "AutoCAD PDF (Web and Mobile).pc3"
    "ARCH D (24.00 x 36.00 Inches)" ; Enter paper size or [?] ; unique for selected printer device
    "_Millimeters" ; Enter paper units [Inches/Millimeters] ; "_Inches"
    "_Landscape" ; Enter drawing orientation [Portrait/Landscape] ; "_Portrait"
    "_No" ; Plot upside down? [Yes/No]
    "_E" ; Enter plot area [Display/Extents/Layout/View/Window] "_D" "_L" "_W" "_V"
    "_F" ; Enter plot scale (Plotted Inches=Drawing Units) or [Fit] ; "1:1"
    "_C" ; Enter plot offset (x,y) &amp;lt;0.00,0.00&amp;gt;: ; "0,0" 
    "_Yes" ; Plot with plot styles? [Yes/No]
    "monochrome.ctb" ; Enter plot style table name or [?] (enter . for none)
    "_Yes" ; Plot with lineweights? [Yes/No]
  )
  (if (= 1 (getvar "tilemode")) ; chk space
   (command  ; then model
     "_A" ; Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] &amp;lt;As displayed&amp;gt;:
   )
   (command  ; else layout
    "_No" ; Scale lineweights with plot scale? [Yes/No]
    "_Yes" ; Plot paper space first? [Yes/No]
    "_No" ; Hide paperspace objects? [Yes/No]     
   )
  )    
  (command
    pdfname
    "_Yes" ; Save changes to page setup [Yes/No]
    "_Yes" ; Proceed with plot [Yes/No]
  )
  (setvar "filedia" filedia) ; restore original settings
  (setvar "cmdecho" cmdecho) 
  (princ) ; clean exit
)&lt;/LI-CODE&gt;&lt;P&gt;I made the following changes:&lt;/P&gt;&lt;P&gt;1a) saved the current sys vars: cmdecho &amp;amp; filedia so can restore them back at end&lt;/P&gt;&lt;P&gt;1b) saved variable for current layout as ctab&lt;/P&gt;&lt;P&gt;1c) save pdf filename with current layout added at end:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  (setq cmdecho (getvar "cmdecho") ; save current settings
        filedia (getvar "filedia")
        ctab (getvar "ctab")
        pdfname (strcat (getvar "dwgprefix") (vl-filename-base (getvar "dwgname")) "-" ctab ".PDF") ; pdf with layout name appended 
  )&lt;/LI-CODE&gt;&lt;P&gt;2) During initial plot sequence instead of checking tilemode to enter current layout:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(if (= 1 (getvar 'TILEMODE)) "Model" (getvar 'CTAB))&lt;/LI-CODE&gt;&lt;P&gt;I just enter the current layout name using the save ctab variable:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;    ctab ; Enter a layout name or [?] &lt;/LI-CODE&gt;&lt;P&gt;Or just go ahead and use enter to accept the current layout tab which is always returned as default:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; or just return "" to accept current layout  &lt;/LI-CODE&gt;&lt;P&gt;3) This is a bit confusing as to what happens when running PLOT sequence in Model vs Layout:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;   (if (= 1 (getvar 'TILEMODE))
       (command "_A")
       (command "_N" "_Y")
   )
   (command "_N" (strcat (getvar 'DWGPREFIX) (vl-filename-base (getvar 'DWGNAME))) "_Y" "_Y")&lt;/LI-CODE&gt;&lt;P&gt;This should clarify the differences:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  (if (= 1 (getvar "tilemode")) ; chk space
   (command  ; then model
     "_A" ; Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] &amp;lt;As displayed&amp;gt;:
   )
   (command  ; else layout
    "_No" ; Scale lineweights with plot scale? [Yes/No]
    "_Yes" ; Plot paper space first? [Yes/No]
    "_No" ; Hide paperspace objects? [Yes/No]     
   )
  )    
  (command
    pdfname
    "_Yes" ; Save changes to page setup [Yes/No]
    "_Yes" ; Proceed with plot [Yes/No]
  )&lt;/LI-CODE&gt;&lt;P&gt;These are the revisions I made for &lt;STRONG&gt;FoxIt &lt;/STRONG&gt;with lisp command:&amp;nbsp;&lt;STRONG&gt;PltFox&lt;/STRONG&gt;:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; PltFox generates pdf with Foxit.pc3
; OP: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/td-p/13710861
(defun c:PltFox (/ cmdecho ctab filedia pdfname pltare pltctb pltdev pltlwt pltoff pltori pltppr pltscl pltsty pltuni pltupd)
  (vl-load-com)
  (setq cmdecho (getvar "cmdecho") ; save current settings
        filedia (getvar "filedia")
        ctab (getvar "ctab")
        pdfname (strcat (getvar "dwgprefix") (vl-filename-base (getvar "dwgname")) "-" ctab ".PDF") ; pdf with layout name appended 
  )
  (setvar "cmdecho" 0) ; suppress command echo
  (setvar "filedia" 0) ; suppress file selection window
  ; begin command line plot sequence
  (command "_.-PLOT"
    "_Yes" ; Detailed plot configuration? [Yes/No]
    ctab ; Enter a layout name or [?] ; or just return "" to accept current layout      
    "Foxit PDF Editor Printer.pc3"  ; Enter an output device name or [?] ; "DWG To PDF.pc3" "Adobe PDF.pc3"
    "ARCH D" ; Enter paper size or [?] ; unique for selected printer device
    "_Millimeters" ; Enter paper units [Inches/Millimeters] ; "_Inches"
    "_Landscape" ; Enter drawing orientation [Portrait/Landscape] ; "_Portrait"
    "_No" ; Plot upside down? [Yes/No]
    "_E" ; Enter plot area [Display/Extents/Layout/View/Window] "_D" "_L" "_W" "_V"
    "_F" ; Enter plot scale (Plotted Inches=Drawing Units) or [Fit] ; "1:1"
    "_C" ; Enter plot offset (x,y) &amp;lt;0.00,0.00&amp;gt;: ; "0,0" 
    "_Yes" ; Plot with plot styles? [Yes/No]
    "monochrome.ctb" ; Enter plot style table name or [?] (enter . for none)
    "_Yes" ; Plot with lineweights? [Yes/No]
  )
  (if (= 1 (getvar "tilemode")) ; chk space
   (command  ; then model
     "_A" ; Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] &amp;lt;As displayed&amp;gt;:
   )
   (command  ; else layout
    "_No" ; Scale lineweights with plot scale? [Yes/No]
    "_Yes" ; Plot paper space first? [Yes/No]
    "_No" ; Hide paperspace objects? [Yes/No]     
   )
  )    
  (command
    "_Yes" ; Write the plot to a file [Yes/No] ; extra prompt may occur for custom pc3
    pdfname
    "_Yes" ; Save changes to page setup [Yes/No]
    "_Yes" ; Proceed with plot [Yes/No]
  )
  (setvar "filedia" filedia) ; restore original settings
  (setvar "cmdecho" cmdecho) 
  (princ) ; clean exit
)&lt;/LI-CODE&gt;&lt;P&gt;1) The line with the printer name entry as you are already aware should now be:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;    "Foxit PDF Editor Printer.pc3"  ; Enter an output device name or [?] ; "DWG To PDF.pc3" "Adobe PDF.pc3"&lt;/LI-CODE&gt;&lt;P&gt;2) Since this is a different printer there are different named paper sizes so for D size it needs to be entered as:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;    "ARCH D" ; Enter paper size or [?] ; unique for selected printer device&lt;/LI-CODE&gt;&lt;P&gt;3) As &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;mentioned, when using a custom pc3 like FoxIt there is an extra prompt right before entering the plot file name:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  (command
    "_Yes" ; Write the plot to a file [Yes/No] ; extra prompt may occur for custom pc3
    pdfname
    "_Yes" ; Save changes to page setup [Yes/No]
    "_Yes" ; Proceed with plot [Yes/No]
  )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;But as I also mentioned in my previous reply to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;when running lisp code using a custom pc3 like Foxit, though the pdf file name is given in the code, it will still get interrupted with a plot file name selection window making it not possible to run automatically:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1751664331194.png" style="width: 682px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1549540i74C60E7071A866F6/image-dimensions/682x498?v=v2" width="682" height="498" role="button" title="paullimapa_0-1751664331194.png" alt="paullimapa_0-1751664331194.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>Fri, 04 Jul 2025 21:28:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711592#M165021</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-04T21:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711653#M165023</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;Hi Sir, Thanks for the effort and time you have spend for it,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it works really &lt;STRONG&gt;super good&lt;/STRONG&gt;, and now I can understand how things get worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Also, it would be awesome if we could add a feature where for every induvial DWG's each layout gets plotted using a name format and save location pulled from an Excel file. That would seriously save a ton of time and effort. Thanks in advance, friends!"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible to made via Lisp sir?...&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 00:06:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711653#M165023</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T00:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711659#M165024</link>
      <description>&lt;P&gt;Before I switched to using a LISP solution, I was actually relying on the Publish command in AutoCAD. It worked well for the most part — but the main issue was that under the "PDF Preset: " option, it wouldn't show my custom PC3 file (Foxit PDF Editor Printer.pc3) (See snap-1). If that had worked properly, I wouldn't have needed to explore external options or scripting. Just wanted to say thanks to everyone who helped me along the way!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Snap-1&lt;/STRONG&gt;&lt;/U&gt;&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="harimadhavan66_0-1751674301876.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1549547i778AB70F6687052A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="harimadhavan66_0-1751674301876.png" alt="harimadhavan66_0-1751674301876.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 00:16:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711659#M165024</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T00:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711699#M165026</link>
      <description>&lt;P&gt;You can plot layouts by range using a lisp, say All or 2-5. this could be used in a script situation plotting all dwgs that you want you can send the resulting files to a single directory. See your post at Cadtutor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have the working lisp Plot command now by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;so can add open a dwg and load the lisp file and auto run via a script. Maybe even OBDX for other dwg's.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 01:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711699#M165026</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-07-05T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711716#M165028</link>
      <description>&lt;P&gt;I haven't try that yet. Is it need any hard coding knowledge?... And one more doubt is plot layout by range means?...&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 02:13:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711716#M165028</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T02:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711722#M165029</link>
      <description>&lt;P&gt;Any reason for switching to using FoxIt when there are built-in AutoCAD PDF printers?&lt;/P&gt;&lt;P&gt;Also how were you able to accomplish this goal using PUBLISH command:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"...add a feature where for every induvial DWG's each layout gets plotted using a name format and save location pulled from an Excel file."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 02:16:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711722#M165029</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-05T02:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711728#M165031</link>
      <description>&lt;P&gt;"Plot range" for a dwg with multiple layouts, you can plot ALL of them or plot layouts 2,3,4,5 only ie 2-5. My code uses a number not a layout name as that is to complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes could read a Excel as well but that is complicated.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 02:27:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711728#M165031</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-07-05T02:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711738#M165032</link>
      <description>&lt;P&gt;I was originally using the Publish command to create individual PDF files from each layout — and it works fine in general.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the issue is, Publish won’t let me use my custom .pc3 file (Foxit PDF Editor Printer.pc3). It only accepts default ones like DWG To PDF.pc3. That means I can't apply my customized settings for line thickness and other properties, which I’ve set up using my own .ctb file linked to that Foxit PC3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since Publish won’t cooperate with custom PC3s, I’m now looking for an AutoLISP solution instead. The goal is to automate PDF creation for each layout, using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Foxit PDF.pc3&lt;/P&gt;&lt;P&gt;My custom .ctb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And have each layout saved as a separate PDF, named something like JobNo_LayoutName.pdf&lt;/P&gt;&lt;P&gt;That’s why I’m moving away from Publish and exploring Lisp to get this done properly.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 02:49:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711738#M165032</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T02:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711757#M165033</link>
      <description>&lt;P&gt;Using saved Page Settings should allow you to specify custom ctb with any of the builtin AutoCAD pdf devices for publishing&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 03:21:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711757#M165033</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-05T03:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711759#M165034</link>
      <description>&lt;P&gt;Yeah but in case of .pc3 file it didn't get custom one sir. That's the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 03:23:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711759#M165034</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T03:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711765#M165036</link>
      <description>&lt;P&gt;but as I mentioned the custom pc3 will popup the window to enter pdf filename interrupting the lisp automation&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 03:34:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711765#M165036</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-05T03:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711766#M165037</link>
      <description>&lt;P&gt;In plot lisp above&amp;nbsp; you set the printer and which ctb to use so that is not a problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;"monochrome.ctb" ; Enter plot style table name or [?] (enter . for none)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can explain more where you want the pdf's to be saved to then that can be added to the pdf name to be used. This code adds a pdf directory if not exist under the current dwg location. You can use it as an example or starting point of this task. If all the dwg';s are in one directory then it should be easy to make the pdf's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part 2 is you can via lisp rejoin all the pdfs into a single pdf.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 03:39:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711766#M165037</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-07-05T03:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711772#M165039</link>
      <description>&lt;P&gt;I’ve set the default save location in my .pc3 file, so it doesn’t ask me where to save the PDF — that part works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the problem is, the PDF file name comes out random&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Publish could use my custom .pc3 file, it would make the whole process a lot easier and more flexible for making PDFs.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 03:45:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711772#M165039</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T03:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711795#M165040</link>
      <description>&lt;P&gt;PDF filename when using &lt;STRONG&gt;Publish&lt;/STRONG&gt; should not come out random.&lt;/P&gt;&lt;P&gt;When &lt;STRONG&gt;PDF Publish Options Multi-sheet file&lt;/STRONG&gt; toggle is unchecked the PDF file names are always the &lt;STRONG&gt;Drawing Name Followed by The Layout Name.pdf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1751688653814.png" style="width: 512px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1549578i0224E3AD6435B087/image-dimensions/512x292?v=v2" width="512" height="292" role="button" title="paullimapa_0-1751688653814.png" alt="paullimapa_0-1751688653814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1751688805628.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1549579i656C7C119AC90B65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1751688805628.png" alt="paullimapa_1-1751688805628.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When &lt;STRONG&gt;PDF Publish Options Multi-sheet file&lt;/STRONG&gt; toggle is checked the PDF file name = Drawing name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 04:19:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711795#M165040</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-07-05T04:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: custom .pc3 not supported</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711870#M165045</link>
      <description>&lt;P&gt;It seems great and I'm already working with that but in publish command PDF preset option doesn't allow custom.pc3 file. I want to change with my own that what I'm trying sir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With lisp I'm aim to achieve more similar behaviour like publish command. Or if possible to change the .pc3 file then I'll stick with 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="harimadhavan66_0-1751700572408.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1549592iF9DA28239CEFA06E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="harimadhavan66_0-1751700572408.png" alt="harimadhavan66_0-1751700572408.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 13:07:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-pc3-not-supported/m-p/13711870#M165045</guid>
      <dc:creator>harimadhavan66</dc:creator>
      <dc:date>2025-07-05T13:07:48Z</dc:date>
    </item>
  </channel>
</rss>

