Thanks, Cab.
In the meantime, I have added a dialog box for selecting the plotter, paper size and the ctb plotstyle pens and it seems to be working well.
In my lisp, I have chosen the plot scale to be 1 : 1 ,portrait orientation and plot in mm. HOWEVER, when I go to the pagesetup, the settings is for inches. It seems that the data is not updated. Please see the P3.PNG picture for better picture. By the way, I am using AutocadMap 4 with winXP pro.
I have also experienced a problem when plotting and I always have to click the papersize even though it is the same paper size. If not the plot offsets is diffferent when I center the plot. Is there some variable I have not set? Pls advise.
I have attached my lisp and other related files required and hope some gurus could help me out why the above is happening.
I have also tried this lisp in Autocad 2005 and it crash midway after the PLOT QT dialog> What is wrong anyway? It would be great if someone can advise me. Thanks.