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


I am able to convert dwg to pdf files. "" The task force can be very large (example: 32 "x 42"), but I need the PDF output to include a 8.5 "x 11" page size. I use the VueBean object and the VueServlet to perform the conversion. I use the VectorConvertOptions to set the conversion options, but no matter what options I try I can't get the output to fit the page size 8.5 "x 11". I tried to vary the scale factor, but that doesn't seem to affect the release at all. Can someone tell me what options will get the output pdf file to fit the page size 8.5 "x 11"? It is perhaps a matter of scale, but I can't seem to understand. Help, please.

VectorConvertOptions opt = new VectorConvertOptions();

opts.setStepsPerInch (1);

PAN_CtlFileInfo fi = vueBean.getFileInfo ();

PAN_CtlRange ch = 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);

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

Tags: Oracle Applications

Similar Questions

  • NOTEBOOK: HOW TO STOP THE EMBEDDED "UNTITLED" WORD ON PAGE I USE

    HOW TO REMOVE THE EMBEDDED "UNTITLED" WORD OF THE PAGE WHICH SHOULD BE PRINTED...                                                                                                                                                                                      Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    HOW TO STOP THE EMBEDDED "UNTITLED" WORD ON PAGE I USE

    Go to file, Page Setup and remove header and footer text.

    "jimmcanany" wrote in the new message: * e-mail address is removed from the privacy... *

    HOW TO REMOVE THE EMBEDDED "UNTITLED" WORD OF THE PAGE WHICH SHOULD BE PRINTED... Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    * You have problems with programs
    * Error messages
    * These recent changes made to your computer
    * What you have already tried to solve the problem, HOW can I STOP THE WORD EMBEDDED 'UNTITLED' of BEING PRINTED on the PAGE that I USE

  • Convert to PDF from Slddrw on server (using VueBean without AutoVue)

    I'm having some trouble of a Solidworks drawing to PDF conversion. I am trying to accomplish the following:

    (1) download a Solidworks drawing using a servlet.  -Success

    (2) convert the file to PDF format on the server.        -Fails (specifically the line 167 - m_vueBean.convert (opts); in the attached code fails)

    I use AutoVue 20.2.2 (2D professional version) that comes bundled with Agile 9.3.3.

    The code that I use, which is a minor variation of the example code provided by oracle is attached.

    Please suggest if there is something wrong with this approach. Thanks in advance.

    It is not clear when diagnosing a problem without going through a newspaper and at least a pointer to where the bat hurt

    Thus, it would be preferable to you join a forum journal, so that we can help you.  Please also add deployment information (OS, app container, etc.)

    Note that LINUX does not support conversion to PDF, if you are in this situation.

  • How can I save a PDF document in A4 format and keep bookmarks.

    I have a big PDF document requiring to be resized to A4, but also keep the bookmarks. Any suggestions?

    As I wrote:

  • Acrobat Pro XI - How can you save a .pdf file to Word format SECURED

    Are there options to save a SECURED file to allow the addition of notes / comments / references?

    Only if you know the file password - change and can remove the security policy, assuming that it aims to prevent extraction of content.

  • How can I make a PDF file that is 9 drawings and make individual PDF?

    How many of the original PDF files?

    You use the extract Pages.

    It would be tools A11 > Pages > extract Pages

  • How to create component message layout, Standard region page header?

    Hi all

    Please help me on this

    How to create component message layout, header region page Standard using customization?

    Thanx

    Hello

    create the header area and component message page layout in your JDEV with VO required, AM a CO server migration.

    Go to the page you need and then create the stack layout using personalization and in her extends well provided that the path for the region you created in JDev.

    Hope this will help with customization, it is not possible to create the header region.

    Kind regards
    Out Sharma

  • How to convert .pdf to .epub

    Please see me step by step how to convert .pdf to .epub

    Hello PrasanW.

    Thank you for using communities Support from Apple. I see your message that you want to convert PDF files into ePub files.

    Read this article.

    Creating ePub with Pages files

    Have a great day.

  • How to convert pdf to word

    I was sent an application form which is in pdf format. I clicked on the "edit and response" button that is displayed, but it is said that it is not supported. How to convert the pdf file to a word document so that I can add information to the document?

    There are a number of free PDF converters on the Mac App store, which allows you to convert text files, but I'm not aware of any free programs convert to Word. Besides knowing what looks like an application and how PDF conversion programs work well, I doubt that the results would be good, even if you've spent the money to buy one.

    However, if the file is not protected by, using the forecasting of Apple program, you should be able to fill out the form. Open the file using the preview, select the Tools menu and select annotate. Select the text option. A text box appears with the word TEXT in there you can change it, change the size and color and then move it to the desired location. Once you have done all of the annotations that you fill out the form, you can save it.

  • How to convert a PDF into pages or keynote?

    How to convert a pdf file in preview pages or keynote?

    Download and install Adobe Acrobat Reader from Adobe.com site

    Open the document in Reader, then;   File > save as other > text

  • How to convert a microsoft office document doc, pdf or jpeg.

    I am trying to download a cover letter & their system will not let me in its current form. It was written in the microsoft office 2007 program. Thank you

    Microsoft Office 2007 uses the .docx format, which they should support. If they are not, here's how to convert the file to .doc or .pdf format:

    Click the office button
    Click on "Save as".
    Click on the menu "save as type".
    Select "Word 97-2003 Document" to convert it into .doc
    Choose 'PDF' to convert to PDF
    Click 'Save', and then upload it.

  • How to convert pdf jpg with Windows 2010 photos photos?

    I have an Epson V500 scanner with which I scanned several photos as pdf files because someone told me that the jpgs lose quality if they are to be opened several times. Now trying to print copies, I find that in the jpg photo printing little quality is superior to pdf photos. I have Paint Shop to use the jpg and Photo Shop 9 for the pdf files. I really do not have to buy new software to perform the conversion. Surely, there is something available through Microsoft to do this. Thank you. HD

    You probably mean that you have Microsoft Office 2010.

    You probably also have Adobe Photoshop elements 9 rather than Adobe Photoshop (which is much more expensive).  It's too bad, because Adobe Photoshop can do what you want.

    These two articles should help you get started in the right direction:
    How to extract Images from PDF files & keep it for other uses
    6 ways to convert a PDF to a JPG Image

  • How to convert chm to pdf

    How to convert chm to pdf

    Search Google gives me this

    http://www.chm-to-PDF.com/

    http://www.Theta-software.com/chmtopdf.htm

  • How to convert pdf files to word doc files

    I've converted several files to PDF by accident.  I do not know how to convert them to a readable word document that has been written since the word processor

    Hello

    You must use third-party converter to convert PDFs into Word documents. I suggest you to use your favorite search engine to check the converters.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    It will be useful.

  • How to convert pdf files to word in win 7?

    How to convert pdf files to word in win 7?

    Hello

    Welcome to the community of Microsoft and thanks for posting the question.

    This requires a third-party product. If you want to use the application software to convert PDF files to word, you can look at the same thing from your favorite search engine.

    Note: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope this information helps. Please feel free to post your queries to Windows in the Microsoft community forums.

Maybe you are looking for

  • FTP has the syndrome of 'follow the pot '.

    I know it sounds strange, but on my mac FTP transfer unless I look at it, so to speak. I start a ftp download, it starts to go. As long as my ftp client is the focus of the window, it passes very well. Then I slide on to a new space and start browsin

  • Firefox displays the weird texts

    I use Firefox 32.0.3 on my Windows 8 (. 1) PC. The problem I've always faced with Firefox on my Windows 8.1 machine is that Firefox displays the text incorrectly, see screenshots here: http://1drv.ms/1xCwgJ0. It happens more often in Favorites, menu,

  • cannot enable javascript after trying all the fixes listed for version 25

    After auto upgrade of worm to worm 25 24, javascript stopped working in firefox and will not allow. Have tried every fix I could find in the forum more deleting java and reload, removing all plugins except java, cleaning registry of all references to

  • Building a structure to deal with four Boolean (true or false) input.

    I currently have two Boolean inputs that I would use to select a structure of business cases. I would like to have the four cases, each depends on the two Boolean true/false question. If variable Boolean 1 = true, then case 1 must be used, if Boolean

  • Deleting snapshot and the functionality of vCenter

    HelloDeleting a snapshot of a VM large that could take a few days based on the current speed. And upgrade vCenter 5.1 to 5.5.Deleting capture instant impact upgrade deal with? Or it is a strictly local operation on the host?Thank you in advance!Arkad