tive29 Posted June 23, 2017 Share Posted June 23, 2017 I am using the below LISP to plot PDF. I use the same code for portrait ("P" instead of "L") the PDF comes out ok. The problem is for landscape, the PDF comes out in a smaller plot area such that all 4 side part of the drawing is not plotted. Why is that? (defun C:PL ( / cmd file ) (setq cmd (getvar 'CMDECHO)) (setvar 'CMDECHO 0) (command "_.-plot" "Y" "" "DWG To PDF.pc3" "ISO expand A4 (297.00 x 210.00 MM)" "M" "L" "N" "W" "" "" "1=1" "C" "Y" "PDF.ctb" "Y" "N" "N" "N" "" "N" "Y" ) (setvar 'CMDECHO cmd) (princ) ) Quote Link to comment Share on other sites More sharing options...
rlx Posted June 23, 2017 Share Posted June 23, 2017 Perhaps change "1=1" to "Fit" ? and your window coordinates , where do they come from , I only see "" "" (two enters). So perhaps use extends? gr.Rlx Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 23, 2017 Share Posted June 23, 2017 Hi, Try to reverse the Paper Size (W x L). Quote Link to comment Share on other sites More sharing options...
BIGAL Posted June 24, 2017 Share Posted June 24, 2017 My money is on RLX answer use hard coded pts these can be outside plot area then use the "C" option centre sometimes you need just a mm or two to get that last line to work. Also Tharwats landscape or portrait. "A3" "m" "LANDSCAPE" "N" "W" "-6,-6" "807,560" "1=2" "C" Quote Link to comment Share on other sites More sharing options...
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.