Jump to content

Recommended Posts

Posted

Attached is a routine I use in conjunction with PDFCreator to batch print pdf drawings. The problem is I use Bricscad V12 and the latest changes they made have made this routine shut down because "qprint" is no longer using "previous" plot variable. I was wondering if any of you gurus out there might know how to adapt it to the "plot" command?

 

I figure using a script might be the way but don't know how to insert it. Any ideas?

Thanks ahead for any input! Below is the routine.

 

Code bprint:

(defun C:BPRINT (/ )

(if (not dos_dir) (arxload "DOSLib11.brx"))

(setq files (dos_getfilem "Select files to print.." "C:\\""Drawing Files (*.dwg)|*.dwg"))

(setq dwgpath (car files))

(if (/= files nil)

(progn

(foreach dwgfile (acad_strlsort (cdr files))

(command ".open" (strcat dwgpath dwgfile))

(command ".qprint")

(command ".qsave")

(command ".close")

)

)

)

)

Posted

Instead of qprint use the normal print and add all the settings required to plot a window and it should work.

 

Search for some of the PDF plot routines for the code examples. Look under BIGAL

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...