My goal is to develop an application that would be able to plot AutoCAD drawings to PDF using large sheets sizes - the maximum size would be about 841 mm x 15000 mm. I'm trying to accomplish this with Amyuni PDF Converter 1.5, but I have a couple of problems.
(1) I tried to print these large sizes, but I noticed, that the largest size I'm able to print, is 841 mm x 5080 mm. I was quite surprised because of this, and started to search something technical limits from the manual of PDF Converter. I didn't found anything related to them. I read through your technical notes and this forum, still nothing. Then I downloaded the PDF 1.6 specification, and it revealed me the implementation limits of Adobe Acrobat (which I really can not understand, but anyway, they exist). In the specification they tell that the maximum size you can have with PDF 1.5 and/or Acrobat 6 is the 5080 mm x 5080 mm. They also tell, that with PDF 1.6 and Acrobat 7, the user space units can be scaled with a factor between 1 - 75000. With a value of 3, the PDF user space units could be scaled enough to represent the maximum sheet size I need.
I noticed, that PDF Converter is not able to produce a sheet of even the size of 5080 mm x 5080 mm. As my first question I would like to know, which are the exact limits of the PDF Converter 1.5. I also want to know, if the newest version of PDF Converter is able to print larger sheet sizes by utilizing the scaling capability of PDF 1.6, and if so, does it affect to the accuracy of the plotted drawing or are the drawings still able to be presented with an accuracy that equals the one that is currently possible? And if this capability is not present in the newest version of the PDF Converter, do you have plans to implement it, and if so, how soon? I just quickly searched through the PDF specification, I didn't have time to start to read it.
(2) I'm testing the PDC Converter with Excel 2003 VBA. Is there something wrong with this code:
Code: Select all
Dim PDFPrinter As New CDIntf.CDIntf
With PDFPrinter
' this adds a new printer named MyPDFPrinter
.PDFDriverInit "KoeAmyuniPDFTulostin"
' set default configuration for all applications
.PaperWidth = 8413
.PaperLength = 18933
.HorizontalMargin = 0
.VerticalMargin = 0
.Resolution = 600
.Orientation = 1
.SetDefaultConfig
' set printer as default
.SetDefaultPrinter
' set default directory for PDF files
.DefaultDirectory = "d:\"
' set default file name
.DefaultFileName = "d:\testi.pdf"
' set options
.FileNameOptions = NoPrompt + UseFileName
' print (this line should be changed according to the target application)
' ActiveSheet.PageSetup.PaperSize = xlPaperUser
ActiveSheet.PrintOut Copies:=1, ActivePrinter:="KoeAmyuniPDFTulostin"
' reset all options before returning
.FileNameOptions = 0
.DriverEnd
End With
Set PDFPrinter = Nothing ' also removes the PDF printer
(3) Am I able to plot to custom-sized sheet with an application which requires an paper size to be defined? For example, AutoCAD plot functionality requires a paper size to be defined before plotting something, and because the PDF Converter doesn't display the custom option in the paper size list, I'm forced to select one of the default sizes. How can I get around of this?
I am in a great hurry with this project, so I need detailed information about these problems as soon as possible. How can I fix of bypass these problems, and does upgrading to the current version have any help for me, and if so, how (detailed information, please).
Thanks in advance!
Aleksi