- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a Lisp CH-A.LSP with different pagesetup command.
;;
(defun C:CH-A0-L()
(command "_-PAGESETUP" "DWG To PDF_font_to_geometry.pc3" "ISO full bleed A0 (841.00 x 1189.00 MM)" "" "L" "N" "L" "1:1" "0.00,0.00" "Y" "KGC_PLOT_STYLE" "Y" "Y" "N" "N")
(princ)
)
;;
(defun C:CH-A0-P()
(command "_-PAGESETUP" "DWG To PDF_font_to_geometry.pc3" "ISO full bleed A0 (841.00 x 1189.00 MM)" "" "P" "N" "L" "1:1" "0.00,0.00" "Y" "KGC_PLOT_STYLE" "Y" "Y" "N" "N")
(princ)
)
;;
The Lisp works fine, but by using the macro in my Ribbon, the command line contains a text that I didn't call up.
I think my lisp isn't written properly.
Macro example: ^C^C(load "CH-A.lsp");CH-A2-P;
Command: (LOAD "CH-A.LSP")
C:CH-A4-P this text is strange because I don't call it
Command: CH-A2-P _-PAGESETUP Enter an output device name or .......
Thank you in advance for your help
Solved! Go to Solution.