ILoveMadoka Posted June 21, 2011 Posted June 21, 2011 I've got a drawing with 30+ tabs all set to some non existent printer. Someone here once helped me piece the following code together but It bombing out when it gets to this piece of text, which is the paper size Tabloid (11 x 17") Yes that is exactly how it is written in the setup. I think it doesn't like the spaces and probably the double quote mark. Here is the code: (defun c:X1 () (Princ "\nXRX90PS Setup 11 x 17 - Landscape: ") (foreach tab (layoutlist) (setvar 'CTAB tab) (Command "-plot" "y" "" "\\\\sc1fs1\\XRX90PS" "Tabloid (11 x 17")" "i" "L" "n" "e" "f" "center" "y" "monochrome.ctb" "y" "n" "n" "n" "n" "y" "n") (COMMAND "Zoom" "e") ) (command "qsave") (princ)) Please help! Thx! Quote
MSasu Posted June 21, 2011 Posted June 21, 2011 To add a quotation mark (") in an AutoLISP string you should write it like: "Tabloid (11 x 17[color=red]\[/color]")" Regards, Mircea Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.