Template scaling for A4 and Letter

Post Author: jennm
CA Forum: Crystal Reports
Hello all,
Just a quick little question regarding the paper size for a crystal report template.  I have created a template that is letter sized but I also want it to scale down for A4.  In my VB code I have
crOrderPrintout.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperLetter
or
crOrderPrintout.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4
based on the country selected.
Now my A4 report gets chopped off.  I can certainly take my current template, save it as someting else, change the paper size and based on country use that template but I'm wondering if there's something I can do in my code to make the letter report fit on the A4 paper.  If I save it to a PDF and open up in Adobe and print from there, it gives me to option of page scaling but the user won't be opening up the report, it will get sent to the printer automatically.
Thanks for any suggestions!
<Edit>
I did some more playing around and I found something that seemed to work.  In the designer if I check out the Page Settings, I clicked the "Adjust Automatically".  And voila!  It works.

Use this code, in intialization
data: lx_sf_header(31) type   c,
field-symbols: <fs_header> type SSFFORMHD.
if company_code = 'XXXX'.
CONCATENATE '(' sy-repid ')%HEADER' into lx_sf_header.
assign (lx_sf_header) to <fs_header>.
<fs_header>-PAGEFORMAT = 'LETTER'.
endif.
Edited by: Nehal Fonseca on Apr 2, 2008 9:46 AM

Similar Messages

  • Technical Monitoring one template used for production and non-production system.

    Dear All,
    Is there a way to have one template in Solman Technical Monitoring for production system and non-production system with different alerts ? For example if it exceeds a threshold for production system it will trigger red alert or set automatically an incident and if it's non prod system it will go to yellow warning alert ?
    Regards
    Lukasz Goral 

    Hi Likasz,
    You first create and customize the template, and then assign to a system.
    If it was selecting a system and then customizing a template, then may be such functionality makes sense.
    So, I don't think that is possible.
    Better would be copy the template used for production to non-production and make the adjustment to it.
    Regards,
    Divyanshu

  • Where can i find new colors for background and letter fonts??

    Where can i find new color background and letter fonts??

    These are only in US sizes, not metric, but offer exactly what you want and are high quality:
    http://www.stocklayout.com
    Peter

  • Template Option for Vendor and Customer

    Hi All,
    MDG Version EHP 7
    I am working on Vendor Like UI , Is there any option where i can use a already created Vendor or Customer as a Template and create a similar record ???
    Currently when i use the search UI or Create UI i do not see any options for using a Template.
    Regards,
    Vag Vignesh Shenoy

    Dear Vignesh,
    I am not sure about the template.   But SAP provided the Reference option to copy the existing vendor detail to creating the new Vendor/Customer master record.  With this field you can create the vendor/customer easily.  No need of any template.  Thanks.
    Regards,
    Inthiyaz
    Message was edited by: Inthiyaz Ahemmed

  • How to setup a document for tabloid and letter printing?

    Hello,
    I need to make a brochure. It is 4 pages. We need it for two different end products:
    1) Printed onto double-sided 11 x 17 tabloid in a landscape orientation. It will then be folded in the middle (so a 4 page brochure).
    2) A 4-page 8.5 x 11 PDF, for clients to print out themselves.
    I originally had a 2 page tabloid document (no facing pages). It worked great when I sent it to our printers, but I couldn't PDF it properly to 8.5 x 11. What I ended up doing was making a brand new 8.5 x 11 document, then laying out each individual letter-sized page.
    When changes are required, I have to make changes to both documents, which is annoying and open to error/mistakes from me (e.g. change in one document not in the other).
    Is there any way I can have a single document setup so that I only need to change output/export/print settings when making my two different end products?
    My skill level in InDesign is beginner, so alot of terminology is beyond me.

    Did you know that you can place an InDesign document into another InDesign document?
    Start with your letter-size version, and make sure it's up-to-date. Save it, close it, then start a new empty tabloid document. Go to File -> Place and place the four pages of your letter-size document into your tabloid document.
    When you need to update both docs, then make the text changes in the lettersize doc. Save and close, then open up the tabloid doc and update the links. In fact, unless you've changed the way your install of ID is set up, then the moment you open the tabloid doc, it should ask you if you want to update your out-of-date links.

  • Captivate 5.5 Template -- Settings for Demo and Training modes

    Hi
    I am trying to create a Captivate 5.5 template for our simulations which will be captured in both Demonstration and Training modes.
    In the template file, I go to Edit > Preferences > Modes, select the both the modes (from the drop-down list) and make required settings, and save the template.
    Now, when I try to record a new project based on this template, I am asked to select any one of the modes. As a result, I get only one type of output. How to get both modes in one go? Is there a workaround?
    Thanks for your help.

    You'll need to add your simulation capture slides to the template AFTER capturing the two outputs.  The template can only really be used as a shell to add introduction and conclusions, as well as quizzing etc.
    Since (as Lieve points out) you end up with separate files for each different output, you'll also need to use the templates to create a shell project for each different output, and then paste the slides from the captures into the shell as it were.
    Quite frankly, you're better off doing things this way anyway (capturing first and then pasting the capture slides into another shell project) because in any capture project you need to do quite a bit of editing and culling of duplicates or redundant captures.  It's quicker and easier to do this editing when the project file is smaller.  So what I do is clean up my captures first to get down to the minimum number of slides required for the simulation, and then paste those slides into my project file generated from the template.  I do the copy/paste after culling out the unnecessary slides, but before saving the capture file. That way, I always have all of the original captures as a backup in case I went too far in the culling.  Only after the project has been finalised to I go back and delete the original captures.

  • Template Blueprint for management and legal consolidation for BPC 7.0 NW

    Hi Gurus,
    Does anyone have a template buleprint document for starting with management and legal consolidation in BPC 7.0NW
    If you have request you to share me the documents
    appreciate your help and many thanks in advance
    Deepak

    Hi,
    please find big volume of information from these threads
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40b25a12-7082-2b10-5c86-c227b9397fb3?overridelayout=truehttps://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b09d5f42-36a4-2b10-cb82-fa58febeb7c2?overridelayout=true
    Re: Consolidation for SAP BPC
    also you can get latest information from
    http;//service.sap.com/pam
    regards
    nag

  • Template Installer for BI and EP integration

    Dear Friends,
    I am trying to Configure my BI 7 system to EP.
    and according to SAP Note - 917950 template installer is standard procedure
    to configure it.
    i access this tool through http://<host>:<port>/nwa.
    when i run the template after entering required values in given fields.
    i got error message on step one.
    Element 'SAPConfigLib.IDS.Unclassified.createRfcDestination':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!157-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.96
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41
    Element 'SAPConfigLib.IDS.Unclassified.createRfcDestination':Error during executing Java Reflection:JCO.Client not connected in repository call
    Any help highly Appricated,
    Regards,
    Malik

    Hi Malik,
    Did you create RFC destinations properly....
    here is the document...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/be/6e0f41218ff023e10000000a155106/content.htm
    the same problem what you are facing is.. http://sap.ittoolbox.com/groups/technical-functional/sap-basis/error-in-bi-post-install-2053496
    regards,
    Pradeep

  • Template implemntation for oil and gas business with business line of aviat

    “While standardizing processes across country for a oil and gas business which has implemented SAP ,do a standard template for a fuel business should be used or specific templates for  lubes, aviation business lines be used

    Hi Vinay,
    This entirely a business and consulting decision. In general its good to have different templates for bulk fuels, Crudes, Packed lubes/Gas, and aviation. This still depends on the volume of business in a particular line.
    Regards,
    Ashutosh

  • HT204053 What is best way to use a corp apple ID for icloud and let users use their Apple ID in itunes store?

    What is the best setup for us to maintain ownership of our corp issued iPhones and iPads yet allow users their personal apps from their iTunes accounts? I have gone out and created a corp apple ID that we are using in the iCloud setup on all our corp owned devices. This keeps the end user from using their apple ID in iCloud and hence when employee's are unexpectedly discharged we still maintain ownership and don't have to ask them for their Apple ID & password when resetting the devices. It also does not allow them to do backups to the cloud or locally either way. We are very careful to turn EVERY thing off inside the iCloud set up area. Even turning off iMessage and share my location. We do keep the find my iphone or ipad on however. So how can I lock these settings to keep users from changing them? Or is there a better way to manage corp devices without having to buy into anything to manage them, we are a non profit.

    iPhone in Business and Education
    That would be the proper thread to post, cause obviously just cause you setup the way above it will not stop users from turning off or on iCloud features like contact and then problems with entering incorrect passwords. You can also try restrictions to account changes, but that is not guaranteed to work either.
    Guys on that thread may be able to point to different professional solutions, but those are unlikely to be free.

  • How to insert a Chart using Template Builder for Word 2007

    Hello,
    I am trying to insert a chart in my report, but the OK button in the Chart dialog box is disabled. I am able to move the data but OK button would never become available.
    Does anybody knows what happend?
    I' using BI Publisher 10.1.3.4 and Word 2007
    Any help would be really appreciated :)
    Regards,
    Blanca

    Hi,
    Probably this will help you.
    Uninstall the template builder for word and restart you system and re-install it.
    Because this is add in component in MS Word.So some times this installation is not perfect.Try it once.
    I hope this will work

  • Two graphic cards - 1x GTX680 4GB and 1x GTX680 2GB for Premiere and Resolve

    Hi,
    i use 2 Nvidia GTX680 cards. 1 with 4 and the other with 2 GB V-RAM
    For Resolve i want put the displays in the 2GB card for GUI and let the 4 GB card for GPU use only.
    How does this setup work in Premiere. Is Premiere usinh the card where the displays are pluged in? Or does it use the other or maybe both?
    I cant find any informations about that
    Maybe someone can help
    Thans
    Armin

    this should be moved here Hardware Forum
    i believe premiere will try to use both video cards, you can check with GPU-Z while working/rendering in premiere.

  • Which Web Templates for printing and broadcasting

    Hello,
    we are running NW2004S SP10 with the Portal. We are using the web template 0AnalysisPattern and within this Web Template is a button called Send (for Broadcasting) and another called Print Version (for generating a PDF-Document which can be saved and or printed). This all works from a technical point of view good.
    My question is now how I can change the layout of the PDF-File of the broadcasting PDF and also for the Print Version PDF? I do not know which Web Templates has to be changed. Could anybody please help me and give me this two Web Template names. Normally it should be possible to change within this templates the layout of the generated PDF-File, or am I wrong? I am very confused at the moment and need urgent help.
    Thanks in advance for all help and
    kind regards
    Boris

    The big answer is one you wont like, I suspect, which is that it takes TIME to get to understand the way 0ANALYSIS_PATTERN works, and then to progress to understand how to change it. That process took me several weeks, I started by documenting how the different parts work, I can let you have this document if you like, that will save you about a week.
    Moving on from that, specifically you need to understand how to access the EXPORT command from the Exel and PDF buttons, then you can see the Web TEmplate that is used to control the output. You know, I could tell you in detail (and if you search SDN you will find more detailed answers to your question) but there really is no short cut to understanding how it all works.
    Good luck!
    Patrick

  • Hi I have purchaed 7500 T- Coins for tetris and every time i play i have no poer coins i don't understand why this keeps happening Please let me know if maybe im not doing something right otherwise i would like a refund as these T- coins are doingnothing

    As i said i purchased 7500 T-coins for tetris and i run out of ower coin in seconds the T-coins seem to NOT be doing anything to help my game if that is the case i want to cancel my orders for a refund .Maybe i am using them wrong or they didnot kick in please let me know  Thank You Laura

    There is no configuration of a MBP that will satisfy the needs of all users.  The variables are too many for the tasks that are required for the MBP to perform.
    If cost is no object, the fastest CPU is a given as well as RAM.  Needs for same may be few and not often if ever used, but certainly will do no harm,
    Storage is an issue of a HDD with greater capacity compared with the speed offered by SSD with lesser capacity.
    Size can be important.  The convenience of portability of a 13" MBP with the larger and heavier 15" and 17' MBPs.
    In the final analysis, you have to make these decisions.
    Ciao.
    (I'm not an expert)

  • My itunes wont let me download podcast to my ipod, and i have a podcast account for bob and tom,  i have them download to itunes but cannot get them to the ipod.

    My itunes wont let me download podcast to my ipod, and i have a podcast account for bob and tom,  i have them download to itunes but cannot get them to the ipod. I dont know if its my my computer or my ipod.

    From a Kappy  post
    The Three Best Alternatives for Security Questions and Rescue Mail
       1. Use Apple's Express Lane.
    Go to https://expresslane.apple.com ; click 'See all products and services' at the
    bottom of the page. In the next page click 'More Products and Services, then
    'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
    ID security questions' and click 'Continue'. Please be patient waiting for the return
    phone call. It will come in time depending on how heavily the servers are being hit.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

Maybe you are looking for

  • Can 2 users on one computer share 1 itunes music folder?

    There must be a way to do this, I just can't seem to find the answer. The reason I need to do this is my ancient PowerBook only recognizes my new iPhone on one userid, not the one where all my music is loaded. Thanks in advance for any help you can p

  • Securing LDAP on Meetingplace Express

    Hello, I'm looking to harden the security of a MeetingPlace Express (V2.0.1.15). SSL has been implemented successfully resulting in https browsing only. The next step is to integrate with AD for user authentication over a secure link. The Bind reques

  • Iphoto Library re-linking source files.

    I downloaded some photos from a friend, and imported them directly into iphoto. iphoto Library created a new temporary folder for each photo. I created a new roll in iphoto Library, and put each photo from that event into one Roll. Now the photo thum

  • Some text appears in cyrillic

    I know this is an apple font conflict since it only occurs in Mail and TextEdit. If I receive an email, it looks fine. When I reply and then the original person replies, quoted text from SENDER appears in cyrillic. All my quoted emails appear fine. T

  • What is the best way to morph one circle into two, with fluidity?

    Hello I'm creating a small animation, I have a good working knowledge of After Effects CS6, but this is the first time really delving into animation. So I'm kind of unsure of the best method to do this, I've tried masking a solid and keyframing the s