How to convert DWG to PDF 8.5x11 page size? using VueBean.convert()

I am able to convert dwg files to pdf files. The dwg can be very large in size (example: 32" x 42"), but I need the pdf output to fit an 8.5" x 11" page size. I am using the VueBean object and the VueServlet to perform the conversion. I am using the  VectorConvertOptions to set the conversion options but no matter which options I try I can't get the output to fit 8.5" x 11" page size. I have tried varying the scale factor but that doesn't seem to affect the ouput at all. Can anyone tell me which options will get the pdf output to fit 8.5" x 11" page size? Maybe its a matter of scaling but I can't seem to figure it out. Please help.
   VectorConvertOptions opts = new VectorConvertOptions();
            opts.setStepsPerInch(1);
            PAN_CtlFileInfo fi = vueBean.getFileInfo();
            PAN_CtlRange ps = vueBean.getPageSizeEx();
            if (fi.getType() == PAN_CtlFileInfo.PAN_DocumentFile) {
            ps = fi.getPageSize();
            opts.setInputRange(ps);
            opts.setArea(ConvertOptions2D.AREA_EXTENTS);
            opts.setPageSize(1);
            opts.setScaleType(ConvertOptions2D.TYPE_SCALE);
            opts.setScaleFactor(200);
            opts.setWidth(Math.abs(ps.width()));
            opts.setHeight(Math.abs(ps.height()));
            opts.setUnits(Constants.UNITS_FILE);
            opts.setPages(ConvertOptions2D.AUTO);
            opts.setFromPage(1);
            opts.setToPage(fi.getPagesNumber());
            opts.setFormat("PCVC_PDF");
            opts.setModes(PAN.CTLMODE_MONOCHROME);
            opts.setSubFormatID(0);
            opts.setFileName(fi.getDocName().toLowerCase().replace(".dwg",".pdf"));
            vueBean.convert(opts);

This is not possible using the convert option. This is a product limitation. Another possibility would be to use the print options instead of the convert option.

Similar Messages

  • Convert .dwg to .pdf in Acrobat X Standard

    I have Acrobat X Standard running on Windows 7.  Can I convert .dwg files to .pdf files without having AutoCAD installed?

    With Acrobat X Standard, you cannot convert .dwg to .pdf without installing AutoCAD but with Acrobat X or XI Professional, you can.
    Please see more info at below link:
    Adobe Acrobat X Pro * Convert AutoCAD files to PDF (Windows)
    Regards,
    Anoop

  • When converting word to PDF and reducing the size, the formatting changes how can i keep the format but reduce the size?

    When converting word to PDF and reducing the size, the formatting changes how can i keep the format but reduce the size?

    The original file is 32 MB:
    15 MB is images
    15 MB is Content stream
    2 MB is everything else
    After the PDF/A-1B save as:
    The file is 182 MB
    Almost 100% is Images
    It is an architecture portfolio with many complex images.  Is there a setting when I change to PDF/A that can limit the growth of the image files?

  • When converting word to pdf the cover page of my documet gets page number 1.On the original the numb

    When converting word to pdf the cover page of my documet gets page number 1.On the original the number pages start from the second page.How to keep the original format?

    Michael's reponse is correct. However, as far as I knew, OFFICE 2007 came with printer metrics turned off, meaning it is not supposed to be sensitive to the printer selection. The setting is buried in the options list for compatibility. If it is turned off and a change in printer does affect the result, it would appear just one more of the many things in OFFICE 2007 that MS messed up. The latest one for me has been helping students with the messed up equation editor when you want to add equation numbers in a "standard" way. One of the MS employees even wrote a workaround macro for that problem.

  • So how long does it take to load a 160GB iPod using the Convert Higher ...

    I have a 160GB Gen 5 that I bought when first released back in the day when they were $400. Through a number of changes, the most recent being the advent of the Convert Higher Bitrate Songs to 128bit AAC feature, I decided to look at what more music I could store. After all was said and done, I ended up with a bit of a disaster with cover art not being properly applied to the music being played. I decided to *restore the ipod* based on suggestions in the discussion boards, and equally important was following the hints and tips here.
    http://www.samsoft.org.uk/iTunes/grouping.asp
    The advice is especially important in very large library situations to ensure you have uniqueness in the albums you want to display. Hadn't really given it much thought until I had the ability to see the individual albums for the 40K songs on the iPod via the cover art view.
    Finally the point of the post...
    *So how long does it take to load a 160GB iPod using the Convert Higher Bitrate option now available in iTunes 9.1?* The specs on my computer are not highend by any stretch, but it's no slouch, and neither of the CPUs are ever pegged. At this point I've lost count of how much time it's taken, but the load is going on 3-4 days. With some breaks in between because I need to check each incremental load to verify there is no cover art corruption, correct bad tags and such, but for the most part the loading is visibly slow, and I'm sure the conversion is the cause. I'm not really complaining at this point, but there is clearly room for improvement. And of course unless there is a redo involved in which case I will get quite cranky.
    *I would like to hear the experiences of others.*
    Finally to lend a bit more credence to the performance concern, my 32GB iPhone 3GS for only about say 28GB of music takes about 24 hrs to load from a 2.2GHz dual core intel laptop, again using the convert higher bitrate option.

    With AC power adapter it takes 3-4 hours for a full charge. With the USB charger it takes 9-0 hours for a full charge. I am not happy with them removing the AC charger and other accessoreis at all. It's business but it still stinks.
    I know I would rethink my purchase but would most likely end up buying the Micro anyway

  • How can I print a pdf in the actual size with a page border?

    How can I print a pdf in the actual size with a page border? (2 pages per sheet preferred)
    I usually print pdfs of books at a copy shop and they turn out fine.
    The problem comes when I try to print the same books at home.
    I use Adobe Acrobat X with the same settings: "multiple pages per sheet" (2x1) and page border. But the pages are slightly shrunken when printed. I think this is because my printer can't print as closely to the margins. Still, two pages should be able to fit on one sheet in actual size. Are there any layout settings that I can play with to find a better fit, besides portrait and landscape?
    If I select page scaling "none," I'm able to print the pdf in actual size, one page per sheet. But there's no option to add a page border.

    I have a test with some questions (multiple choice, FIB, matching, etc). I have just one button to submit all the answers, and after submiting the student can see his score and review the test to know where he failed. He can't answer again. However, he can change the answer multiple times before submiting.
    "if i turn on success/failure captions the student will see them while answering" - before submitting
    "if i turn them off he wont know what's the right answer" - after submitting
    My results page is the default. I didn't use any variable. When i go to the results page after reviewing the test all the entry boxes are "wrong".

  • How do I make a PDF file smaller in size?

    How do I make a PDF file smaller in size?

    Do you have images on your PDF? You might want to use smaller images (smaller in file size and not in necessarely in image dimension).
    I'm not sure what else could be done to make your PDF form smaller. How big is your form?
    Gen

  • How to open a pdf from pdf target with page no using javascript

    Hi
    How to open a pdf from pdf target with page no using javascript
    Thanks in Advance.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • Once printed how do you fold a pdf so that pages are in reading order?

    Once printed how do you fold a pdf so that pages are in reading order?

    I think I'm not following you. In my opinion, PDFs can't be folded; and whether pages are in reading order or not cannot be changed by the free Reader.

  • How can I split a pdf file into smaller files using Acrobat XI

    How can I split a pdf file into smaller files using Acrobat XI?

    Hi laforcej
    Open the PDF In Acrobat ...
    Go to Tools -> Pages -> Extract
    Now Select the Page Number you Want to Extract and Save them

  • Cannot create PDF w/ custom page size in FM 9

    I just upgraded to the new Technical Communication Suite and cannot create a PDF from FrameMaker with a custom page size anymore. I need to create a PDF with a page size of 8.125" by 10.875", and have tried both Save As PDF and Print to the PDF driver. I followed all of the instructions on how to do so via the PDF printer driver's "Printing Preferences", Adobe PDF page size, etc. When that didn't work, I also tried Save As PDF with a custom page size ... still won't print to the custom size no matter how many places I specify it.
    My only way to get my custom page size at this point is to create the PDF and then go in and modify Document > Crop Pages > Change Page Size to Custom, and specify my size. This is clearly less than desirable.
    I am using FM version 9.0p 196. Any help/advice/suggestions welcome!

    Cindy,
    You should get the FM updates. There have been 3 patches released since the 9.0p196 version. Install them in order.
    Before creating PDFs, make certain that your default printer is set to the AdobePDF printer instance. The SetPrint utility from Sundorne helps ensure that this is always the case for FM, see http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm
    In the Save As PDF dialogue, set the "Page Size" for the output on the Settings tab, as shown here:
    Set your PDF joboptions for the appropriate press requirements.
    Set your registration if required.
    Make sure the "Convert CMYK Colors to RGB" is set (the PDF CMYK generation is still buggy).
    Hit the "Set" button and you should get the correctly sized output.
    When you were creating the ouptut via the printer route, if you had set the "Generate Acrobat Data" option, then FM sets the document so that it is always cropped to the FM page size, rather than the printer specified output sheet size, in the final PDF. Omit setting this option and it should work via this route as well.

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files?
    Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
    Running 10.8.5 on an iMac i5.
    I did search through a couple of communities but came up empty.
    Thank you,
    Craig

    C-squared,
    There is no View Option to allow display of a column of sample size. 
    For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know).  For MP3 and AAC it is not available at all.
    You can roughly infer it from the files that are larger than expected for their time.
    99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority.  However, if you want to make a suggestion to Apple, use this link:
    http://www.apple.com/feedback/itunesapp.html

  • How to display horizontal line in top-of-page by using object oriented ALV?

    How to display horizontal line in top-of-page by using object oriented ALV.
    I am created top-of-page in object oriented alv.
    But not be successes in showing horizontal line in it.
    Can any one pls give solution for this..
    Thanks and regards..

    Hi
    Try like this
    data: gt_list_top_of_page type slis_t_listheader. " Top of page text. 
    Initialization. 
    perform comment_build using gt_list_top_of_page[]. 
    form top_of_page. 
    * Note to self: the gif must be loaded into transaction OAOR with 
    * classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions. 
    * I Loaded NOVALOGO2 into system. 
    call function 'REUSE_ALV_COMMENTARY_WRITE' 
         exporting 
    * I_LOGO = 'NOVALOGO2' 
    * i_logo = 'ENJOYSAP_LOGO' 
             it_list_commentary = gt_list_top_of_page. 
    endform. " TOP_OF_PAGE 
    form comment_build using e04_lt_top_of_page type slis_t_listheader. 
    data: ls_line type slis_listheader. 
          clear ls_line. 
          ls_line-typ = 'A'. 
          ls_line-info = 'Special'(001). 
          fgrant = xgrant. 
          concatenate ls_line-info fgrant 
          'Stock Option Report to the board'(002) 
                 into ls_line-info separated by space. 
                        condense ls_line-info. 
          append ls_line to e04_lt_top_of_page. 
    endform. " COMMENT_BUILD
    Use following syntex for footer print in alv:
    * For End of Page
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *  For End of Report
    form END_OF_LIST.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    check this link
    http://abapprogramming.blogspot.com/
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5dc3e690-0201-0010-1ebf-b85b3bed962d
    Changing width of a custom container dynamically
    Display Page numbers in ALV
    Insert picture in selection screen.
    Logo in OO ALV Grid
    Reward all helpfull answers
    Regards
    Pavan

  • PDF custom landscape page size - - content squashed portrait

    I'm trying to create a PDF for an MS PowerPoint file with a very large page size, 46" x 36" (landscape). I'm using Acrobat 7.0 on Windows XP.
    In keeping with guidelines at www.adobeforums.com/webx/.3bbad46c/0 I selected the printer properties and created a new form with the desired values, entering the dimensions as if it were portrait, 46" height and 36" width. I also created a custom Adobe page size using the same dimensions. Under "Layout" I chose "landscape."
    The output file has the correct dimensions with a landscape orientation. However, the content is squashed onto the left side of the page with a very wide left margin, as if Acrobat were trying to fit the content into portrait-oriented dimensions. Words are overwritten on top of one another and it looks horrible.
    Just to check, I went back into the form preferences and the page size and individually changed first one and then the other to have the correct landscape height and width. Neither approach worked.
    Any thoughts?

    Oops, sorry, looks like I'm in the wrong forum.

  • Convert DWG to PDF

    Hi,
    I need to convert a DWG file in my C# application to PDF. I can't afford more than 100 $ on a third party library. Anyone has any idéa? I have google:d for weeks without any luck..
    Best regards
    Robert

    See discussion here:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/fa1d3409-4af5-4646-8d62-45ffd8c90c12/convert-dwg-format-to-pdf?forum=vbgeneral
    Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies.

Maybe you are looking for