Author Topic: How to close PDF file created after plotting  (Read 2100 times)

0 Members and 1 Guest are viewing this topic.

GDF

  • Water Moccasin
  • Posts: 2081
How to close PDF file created after plotting
« on: July 17, 2009, 03:08:38 PM »

I have a batch plot routine that reads a directory and plots all drawings within. How do I close the PDF files once made so that I don't exceed the maximun number open?

Here is the routine call by the batch plot routine:
Code: [Select]
;DESCRIPTION:PDFPlot
;***************************


(vla-put-DefaultPlotToFilePath (vla-get-output (vla-get-preferences (vlax-get-acad-object))) (getvar "dwgprefix"))
(command ".qsave")
(command ".zoom" "e" "limits" "off")
(command ".plot" "y" "fullsize" "GDF_Adobe PDF.pc3" "Arch D" "i" "l" "n" "w" "0,0" "36,24" "f" "center" "y" "aia standard.ctb" "y" "y" "n" "n" "n" "n" "y")
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: How to close PDF file created after plotting
« Reply #1 on: July 17, 2009, 03:10:49 PM »
perhaps you could use ghostscript PDF instead .. that is one thing that has always annoyed me about adobe is that when you plot something using its drivers, then adobe opens.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How to close PDF file created after plotting
« Reply #2 on: July 17, 2009, 03:20:16 PM »
If it's a pc3 file, then you can uncheck the box ' view adobe pdf results ', and it won't show up after.  At least I think that is the one I unchecked to stop it.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: How to close PDF file created after plotting
« Reply #3 on: July 17, 2009, 03:35:38 PM »
If it's a pc3 file, then you can uncheck the box ' view adobe pdf results ', and it won't show up after.  At least I think that is the one I unchecked to stop it.

Yes, I just found it on the adobe website ... you can get it under the printer preferences in the printers and faxes in the control panel.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

deegeecees

  • Guest
Re: How to close PDF file created after plotting
« Reply #4 on: July 17, 2009, 04:03:29 PM »
If it's a pc3 file, then you can uncheck the box ' view adobe pdf results ', and it won't show up after.  At least I think that is the one I unchecked to stop it.

S'wut I do.

GDF

  • Water Moccasin
  • Posts: 2081
Re: How to close PDF file created after plotting
« Reply #5 on: July 17, 2009, 04:31:49 PM »
If it's a pc3 file, then you can uncheck the box ' view adobe pdf results ', and it won't show up after.  At least I think that is the one I unchecked to stop it.

Ok, so far it seems to be working...closing...closing...sweet. You just made my day. I'm no longer stuck between "life and death" of batch processing PDF files. Thank you Tim!!!

woo hoo
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

GDF

  • Water Moccasin
  • Posts: 2081
Re: How to close PDF file created after plotting
« Reply #6 on: July 17, 2009, 04:48:48 PM »
I made the changes...
Oops, spoke too soon. The PDF's closed, but it did not plot any PDF's.

Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

GDF

  • Water Moccasin
  • Posts: 2081
Re: How to close PDF file created after plotting
« Reply #7 on: July 17, 2009, 04:58:10 PM »
I made the changes...
Oops, spoke too soon. The PDF's closed, but it did not plot any PDF's.



Never mind...I had to fix the QUE problem from the previous error plotting. Now they be plotting.
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How to close PDF file created after plotting
« Reply #8 on: July 17, 2009, 06:11:28 PM »
Good to hear Gary.  You're welcome.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.