Formula for printing balance on top and bottom

Post Author: something_stupid
CA Forum: Formula
Hi guys,
I'm fumbling around quite a while now and browsed the forum without any success (probably due to lack of knowledge of the right key-words in English). I want to print the balance of transactions at the top and at the end of each page. As there is some grouping (departmens, account group and accounts) and then in front of the transaction-lines (flag = 2) of each group first some summary lines show up (flag = 1) it's not that easy as I thought.
Here's a verbal description of what I did so far:
defined global nubmverars in a formular-field in the report-header-section
added a formular-field for summing up the required fields and increment a counter for the detail-lines in the detail-section (only 6 or 7 transactions each page should be printed depending on if there's a balance from the last page or not)
adding sub-sections in front and after the detail-section that show the balance of the last page respectively the balance of the current page
both balance-sub-sections are suppressed if the flag of the data-row is not 2. the balance-sub-section at the top is suppressed if there's no balance
summary of each account should be directly printed if there are no more detail-lines of after the top-balance
a formular-field in the page-header-section should set the counter back to 0.
the balance-detail-sub-section at the bottom is printed, if counter = 7 (incl. top balance-sub-section) and a pagebreak is forced.
The big problem I encountered was that the counter was not resetted to 0 at the beginning of each page and it was also not evaluated in the section-setting area (where you can turn pagebreak on/off etc). In the section-setting-area only "WhilePrintingRecords" is allowed, but that doesn't help.
So how can I achieve this kind of report? Best would be a special field like RecordNumber giving the number of records printed on a certain page so far. Any suggestions?
Regards,
Torsten
Now here comes a visual description with some comments. Hope this makes it a bit clearer.
Departement: 1
summary1: 100.00 A                   (flag = 1)
summary2: 400.00 A                   (flag = 1)
Summary of Group A: 500.00
.... [some more Groups]
Summary of all groups: 7500.00
[second part of report for Department 1]
Account 1
detail1: +50     (flag = 2)
detail2: -30     (flag = 2)
detail3: +10    (flag = 2)
balance: of this page: +30       [showing 3 detail-lines]
[pagebreak]
balance: of last page: +30
detail 3: +80   (flag = 2)
detail4: -10    (flag = 2)
balance: of this page: +100      [showing only 2 detail-lines as there's the balance of the last page]
====================
Summary of Account 1: 100
[pagebreak]
Account 2:
Department 2
[summaries]
Account 1:
[accounts]

I don't use You Tube but at least in Vimeo, their encoder sees something like this correctly.
Here is what I assume is what you did…
To change the aspect ratio of the image without changing the frame size (which is what you're showing) use the Trim function in the Transform>Crop options. You will lose some of the image in the re-framing.
Russ

Similar Messages

  • My HP 1005 laser printer cuts both top and bottom lines in half

    I have a 2nd hand HP 1005 laser printer and every time that I'm printing a full page it will cut on the first page the bottom paragraph in two and
    the other part will appear on the the other page. The page is set on US Letter and sometimes I have to scale to about 90% but the
    font will be small. So what can I do to fix this annoying problem?? I have a Canon printer too and it never printed this way even out of
    the box it always printed the last paragraph in full without any adjustments. Any help with this would be welcomed!!!
    THANKS!!!
    Serge

    Try downloading the latest HP driver from Apple.   Both the Laserjet P1005 and M1005 are listed on:
    OS X: Printer and scanner software available for download
    which suggests if having the latest HP driver, you may fix any issues on Snow Leopard through Mavericks.  Double check HP to find out if there is a more recent driver for your printer as well for Mountain Lion.

  • Column headings top and bottom

    In a report region, is there a way to have the column heading print at the top and bottom of the column?

    The only way I know how to do it is via the "Named Column (row template)" report template. This report template is for when you know the number of columns returned from the query and want complete control over how the report is displayed.
    If you'd like a good example of a Named Column report template, download the Aria sample application from the ApEx home page and view the report template which displays the profile of a person.
    Perhaps there are other methods, but I don't any easy way of doing them via the templates.
    Shane.

  • Get rid of the white space at the top and bottom of the report when Printing as PDF document

    Hello All,
    I have a wider tablix report which is 29 inches wide. I have given the paper size as custom and width as 29 and height as 11 in report properties.I have deployed it and saved it as PDF document. When I print preview the report I am using the paper size as
    tabloid (17 by 11) and selected the orientation as Landscape. I am getting the full report without any stripping but I am getting some extra space at the top and bottom when I print the report. Can anyone help me how to get rid of this space? . I checked the
    margins for the report and it was 0in. Please help.
    Thank You

    Hi There
    In Reporting Services (SSRS 2008), there are white spaces preserved in the report body by default. When the white space extends the body size beyond the width of the report, blank pages will be generated. To avoid the issue, you can set the “ConsumeContainerWhiteSpace”
    property of the report to “True”.
    Please try to adjust your margins (top + side) and hopefully this problem will get resolved
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    If you have any questions please ask.
    Many Thanks
    Syed Qazafi Anjum
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • How to remove web data from the top and bottom of my Ebay invoices so I can print them without it.

    When I create my Ebay invoices, (which are generated through the browser in a new window) data is also generated at the top and bottom that I don't want to show on the invoice. The data is the date and time at the bottom, together with the page number, and at the top it shows the web location. In Explorer, you can remove this before printing but I can't work out how to do it in Firefox. Help please!

    Hello!
    You can change that in Page Setup, choose the "Margins & Header/Footer" tab and chose "--blank--" instead of the data that you don't want it to appear.
    You can visit [https://support.mozilla.org/en-US/kb/how-print-websites#w_margins-and-header-footer How to print websites] for more details.
    I hope that helps,
    Have a nice day

  • Elements 8 [Mac IOS 10.9]:  4 X 6" borderless printing -- top and bottom 1" are cutoff in Portrait and right and left 1 " are cutoff in Landscape

    I am using Elements 8 [with a recently installed Mac IOS 10.9] and a new Epson Artisan 1430 printer .  When I print 4" X 6" borderless photos, the top and bottom 1" are now cutoff in Portrait orientation and the right and left 1" are cutoff in Landscape orientation.  I do not have the same problem printing from iPhoto.  Epson tech support says this is not an Epson problem.  Does anyone have any suggestions?  Maybe I should just install Elements 12 and see if this might solve the problem.  Any ideas?   

    When you have the problem, note the exact time: hour, minute, second.   
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above. Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • To remove the spacing in top and bottom of XML report while printing

    Hi,
    I have developed the RTF template having page size(Page Setup->Page Size) as Custom Size(Width:19" and height:9.01").When I try to run the report thorugh the APPS,there is lot of spacing included at top and bottom of the page.This is mainly due to printer page size as A4.
    Due to the report layout,I cannot change to A4 which will make the report layout clumsy.
    Is there any kind of apps page setup to be done which will relate pagesize CUSTOM to A4.
    Please advise
    Regards,

    Hi
    Are you saying that once the document is printed ou get the space? If you run to PDF and view it with Reader then the paper size is correct?
    If so then you need to set up a prt file to specify the custom paper size. I suspect you are pushing it thru a regular A4 driver and its being resized for the paper.
    Writing print files is a little bit of an art form but check out the 'SysAdmin guide and the pasta guide for some further help.
    Regards
    Tim

  • How do I remove top and bottom margins when printing using Adobe Acrobat XI Standard.

    How do I remove top and bottom margins when printing using Adobe Acrobat XI Standard. (I selected 'Fit to scale' and there's a huge gap on the top and bottom).

    Those margins are usually reported from the printer settings to Acrobat. Meansif you have, for example, an inkjet printer and that printer can not print seamlessly, then there will be a minimum margin.
    Check your printer's page settings.

  • How can I print the top and bottom halves of 11x17 PDF on 8.5x11?

    I have a multi-page 11x17 PDF of quiz cards designed to be printed double-sided so that a question appears on one side and the answer on the other side. (Page 1 has the questions; page 2 has the answers.)  My printer is 8.5x11 so I would like to print the top half of 11x17 page 1 onto 8.5x11 page 1 and the bottom half of 11x17 page 1 onto 8.5x11 page 2. Then I will flip the 8.5x11 pages over and repeat the process, this time printing 11x17 page 2.
    Is there a way to print the top and bottom halves of an 11x17 PDF onto two 8.5x11 pages?
    Thanks!

    The easiest solution I know of requires you to have a copy of Adobe InDesign. You can easily layout PDFs within InDesign in the configuration you want and create a new PDF.
    I don't know any way to print it directly in that layout, unfortunately.

  • Is it Possible to set Top and Bottom Margin for each section?

    I've been googling and haven't found an answer to this problem.
    I need to specify a different top and bottom margin for each section in my document. The "document margins" apply to the whole document, so I've set those to a low amount, and I can set the Layout Left and right margins - but the "Layout Margins" do not allow "top and bottom" only "before and after". This is a critical difference, because if you have 2 pages in a section, only the first page gets the "before" margin, and only the 2nd page gets the "after" margin. This is a little odd, and I'm frankly surprised we are in version 4 of this app - and you can't set top and bottom margins for each section.
    If you insert a "layout break" on each page, then you can get the margins to reset for each page inside a section, but this is not an acceptable workaround as I need to setup templates for staff to use that will "flow" like a normal word processor.
    Does any one have any suggestions?

    On page 49 in the English Guide version it tells you about Lay-out margins. This is the text
    *Defining Layout Margins*
    *In a word processing document, a layout margin is the space around columns in a*
    layout.
    *To change the layout margin in a word processing document:*
    *1 Click in a column.*
    *2 Click Inspector in the toolbar, click the Layout button, and then click Layout.*
    *3 To change the outside margins of the column(s), enter values in the Left and Right*
    *fields under Layout Margins.*
    *4 To specify the amount of space above and below the column(s), enter values in the*
    *Before and After fields under Layout Margins.*
    *The new margins can’t extend outside the page margins set for the document in the*
    *Document inspector.*
    I hope this helps.

  • Photos sent to Kodak iPhoto print services CROPPED on top and bottom

    What is the easiest way to avoid cropping of top and bottom of photos I send to Kodak print service? It is a 1019x2000 size jpeg photo, 320kb

    This is a long and skinny photo. You may need to actually put blank space in to get them to keep the entire length of the long side, i.e., If you are printing a 4 x 6, your picture will be 6" on the long side and 3.06" on the short side. If you add .47" of blank space at the top and bottom, you will fill out the entire 4 x 6 inch photo with your 2000 pixel dimension on the long side.
    (.47" is an extra 157 pixels top and bottom.)

  • For h.264 encoding, what size does the project need to be to avoid black bars on the top and bottom.

    For h.264 encoding, what size does the project need to be to avoid black bars on the top and bottom. I am exporting the mp4 to Brightcove.

    Hi there,
    Which version of Adobe Captivate (If it is Adobe Captivate) is it and which Operating System is it?
    Thanks.

  • Looking for Hp envy sleekbook 6 top and bottom casing in pakistan

    I am looking for Hp envy Sleekbook 6 top and bottom casing.. Plz tell me where can i find it in pakistan.

    I bought a new ENVY and spent more time troubleshooting 'NO INTERNET CONNECTION' 90% of the time. After spending HOURS on the phone with HP SUPPORT and resetting router and adapter over and over, the issue came back! Everyone elses laptops in the house connected just fine. I finally got so ticked I did a recovery...BIG MISTAKE since it deleted many apps however, I'm not getting the NO internet connection anymore. Now I have to do a backup of files and a reset. The HP tech wanted to sell me another warranty that "included cracked screen" coverage. He said the 2 yr warranty didn't cover it and the longer I waited the more it would cost. After reading your post I am confused...does the 2 yr warranty cover it or not? Sorry to hear about your issues as it must be extremely frustrating...I'd be upset!

  • HT204088 Using my ipad 3, with ios6, I can access the itunes store and the App store when I press the icons, but the viewing pages are blank. I can see the toolbars at the top and bottom. The pages are blank for every tab. Help. The ipad works fine, other

    Using my ipad 3, with ios 6.0, I can access the itunes store and app store by pressing the icons, but the screens are all blank pages, I have tool bars at the top and bottom of the viewing screen, but when I touch the individual tabs, the viewing screen is either white or dark grey...nothing else appears. Help.

    Having the same issue, can someone please enlighten us?

  • Set top and bottom inset spacing values in Text Frame Options via jsx script

    I am looking for a way to set the top and bottom inset spacing values only to 2 points in Text Frame Options via a .jsx scrpt.
    For years, I have used a script that sets Preferences, such as:
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    I would like to add the code to this same script that would make Top = 0p2 and Bottom 0p2 but leave Left and Right as 0p0.
    Any help would be greatly appreciated.

    Here is the full .jsx file that we now use to set preferences.
    Ideally, this could be modified to include setting any text frame created to have 0p2 inset Top and Bottom, but 0p0 Left and Right:
    //ApplicationTextDefaults
    //An InDesign CS2 JavaScript
    //Sets the application text defaults, which will become the text defaults for all
    //new documents. Existing documents will remain unchanged.
    with(app.textDefaults){
        alignToBaseline = false;        // align to baseline grid
        try {
    //        appliedFont = app.fonts.item("Times New Roman");
            appliedFont = app.fonts.item("Helvetica");
        catch (e) {}
        try {
            fontStyle = "Medium";
        catch (e) {}
        autoleading = 100;
        balanceRaggedLines = false;
        baselineShift = 0;
        capitalization = Capitalization.normal;
        composer = "Adobe Paragraph Composer";
        desiredGlyphScaling = 100;
        desiredLetterSpacing = 0;
        desiredWordSpacing = 100;
        dropCapCharacters = 0;
        if (dropCapCharacters != 0) {
            dropCapLines = 3;
            //Assumes that the application has a default character style named "myDropCap"
            //dropCapStyle = app.characterStyles.item("myDropCap");
        fillColor = app.colors.item("Black");
        fillTint = 100;
        firstLineIndent = "0pt";
    //    firstLineIndent = "14pt";
        gridAlignFirstLineOnly = false;
        horizontalScale = 100;
        hyphenateAfterFirst = 3;
        hyphenateBeforeLast = 4;
        hyphenateCapitalizedWords = false;
        hyphenateLadderLimit = 1;
        hyphenateWordsLongerThan = 5;
        hyphenation = true;
        hyphenationZone = "3p";
        hyphenWeight = 9;
        justification = Justification.leftAlign;
        keepAllLinesTogether = false;
        keepLinesTogether = true;
        keepFirstLines = 2;
        keepLastLines = 2;
        keepWithNext = 0;
        kerningMethod = "Optical";
        kerningValue = 0;
        leading = 6.3;
    //    leading = 14;
        leftIndent = 0;
        ligatures = true;
        maximumGlyphScaling = 100;
        maximumLetterSpacing = 0;
        maximumWordSpacing = 160;
        minimumGlyphScaling = 100;
        minimumLetterSpacing = 0;
        minimumWordSpacing = 80;
        noBreak = false;
        otfContextualAlternate = true;
        otfDiscretionaryLigature = true;
        otfFigureStyle = OTFFigureStyle.proportionalOldstyle;
        otfFraction = true;
        otfHistorical = true;
        otfOrdinal = false;
        otfSlashedZero = true;
        otfSwash = false;
        otfTitling = false;
        overprintFill = false;
        overprintStroke = false;
        pointSize = 6.3;
    //    pointSize = 11;
        position = Position.normal;
        rightIndent = 0;
        ruleAbove = false;
        if(ruleAbove == true){
            ruleAboveColor = app.colors.item("Black");
            ruleAboveGapColor = app.swatches.item("None");
            ruleAboveGapOverprint = false;
            ruleAboveGapTint = 100;
            ruleAboveLeftIndent = 0;
            ruleAboveLineWeight = .25;
            ruleAboveOffset = 14;
            ruleAboveOverprint = false;
            ruleAboveRightIndent = 0;
            ruleAboveTint = 100;
            ruleAboveType = app.strokeStyles.item("Solid");
            ruleAboveWidth = RuleWidth.columnWidth;
        ruleBelow = false;
        if(ruleBelow == true){
            ruleBelowColor = app.colors.item("Black");
            ruleBelowGapColor = app.swatches.item("None");
            ruleBelowGapOverprint = false;
            ruleBelowGapTint = 100;
            ruleBelowLeftIndent = 0;
            ruleBelowLineWeight = .25;
            ruleBelowOffset = 0;
            ruleBelowOverprint = false;
            ruleBelowRightIndent = 0;
            ruleBelowTint = 100;
            ruleBelowType = app.strokeStyles.item("Solid");
            ruleBelowWidth = RuleWidth.columnWidth;
        singleWordJustification = SingleWordJustification.leftAlign;
        skew = 0;
        spaceAfter = 0;
        spaceBefore = 0;
        startParagraph = StartParagraph.anywhere;
        strikeThru = false;
        if(strikeThru == true){
            strikeThroughColor = app.colors.item("Black");
            strikeThroughGapColor = app.swatches.item("None");
            strikeThroughGapOverprint = false;
            strikeThroughGapTint = 100;
            strikeThroughOffset = 3;
            strikeThroughOverprint = false;
            strikeThroughTint = 100;
            strikeThroughType = app.strokeStyles.item("Solid");
            strikeThroughWeight = .25;
        strokeColor = app.swatches.item("None");
        strokeTint = 100;
        strokeWeight = 0;
        tracking = 0;
        underline = false;
        if(underline == true){
            underlineColor = app.colors.item("Black");
            underlineGapColor = app.swatches.item("None");
            underlineGapOverprint = false;
            underlineGapTint = 100;
            underlineOffset = 3;
            underlineOverprint = false;
            underlineTint = 100;
            underlineType = app.strokeStyles.item("Solid");
            underlineWeight = .25
        verticalScale = 100;
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.points;        // Ruler Units, vertical
    //General preference panel
    with(app.generalPreferences){
        pageNumbering = PageNumberingOptions.section;    // Page Numbering, View
        toolTips = ToolTipOptions.normal;                    // Tool Tips
    // Not supported in CS4
    //    toolsPalette = ToolsPaletteOptions.doubleColumn;    // Floating Tool Palette
        completeFontDownloadGlyphLimit = 2000;                // Always Subset Fonts...
        try {
            //Wrapped in try/catch in case it is run with CS4 and earlier to avoid the error
            preventSelectingLockedItems = false;                // Needed for CS5+
        catch (e) {}
    //Type preference panel
    with (app.textEditingPreferences){
        tripleClickSelectsLine = true;    // Triple Click to Select a Line
        smartCutAndPaste = true;        // Adjust Spacing Automatically when Cutting and Pasting Words
        dragAndDropTextInLayout = false;    // Enable in Layout View
        allowDragAndDropTextInStory = true;    // Enable in Story Editor
    with(app.textPreferences){
        typographersQuotes = true;            // Use Typographer's Quotes
        useOpticalSize = true;                // Automatically Use Correct Optical Size
        scalingAdjustsText = true;            // Adjust Text Attributes when Scaling
        useParagraphLeading = false;    // Apply Leading to Entire Paragraphs
        linkTextFilesWhenImporting = false;    // Create Links when Placing Text and Spreadsheet Files
    // Missing following (Font Preview Size, Past All Information/Text Only)
    //Advanced Type preference panel
    with(app.textPreferences){
        superscriptSize = 58.3;                // Superscript, size
        superscriptPosition = 33.3;            // Superscript, position
        subscriptSize = 58.3;                // Subscript, size
        subscriptPosition = 33.3;            // Subscript, position
        smallCap = 70;                        // Smallcap
    with(app.imePreferences){
        inlineInput = false;                // Use Inline Input for Non-Latin Text
    //Composition preference panel
    with(app.textPreferences){
        highlightKeeps = false;                    // Keep Violations
        highlightHjViolations = false;            // H&J Violations
        highlightCustomSpacing = false;            // Custom Tracking/Kerning
        highlightSubstitutedFonts = true;    // Substituted Fonts
        highlightSubstitutedGlyphs = false;    // Substituted Glyphs
        justifyTextWraps = false;                // Justify Text Next to an Object
        abutTextToTextWrap = true;                // Skip by Leading
        zOrderTextWrap = false;                    // Text Wrap Only Affects Text Beneath
    //Units & Increments preference panel
    with(app.viewPreferences){
        rulerOrigin = RulerOrigin.spreadOrigin;                    // Ruler Units, origin
    //    These are set at the end of the script after all the changes have been made
    //    horizontalMeasurementUnits = MeasurementUnits.points;    // Ruler Units, horizontal
    //    verticalMeasurementUnits = MeasurementUnits.inches;        // Ruler Units, vertical
        pointsPerInch = 72;                    // Point/Pica Size, Points/Inch
        cursorKeyIncrement = 1;                // Keyboard Increment, Cursor Key
    with(app.textPreferences){
        baselineShiftKeyIncrement = 2;    // Keyboard Increment, Baseline Shift
        leadingKeyIncrement = 2;        // Keyboard Increment, Size/Leading
        kerningKeyIncrement = 20;            // Keyboard Increment, Kerning
    //Grids preference panel
    with(app.gridPreferences){
        baselineColor = UIColors.lightBlue;    // Baseline Grid, Color
        baselineStart = 48;                        // Baseline Grid, Start
        baselineDivision = 6;                    // Baseline Grid, Increment Every
        baselineViewThreshold = 50;                // Baseline Grid, View Threshold
        baselineGridRelativeOption = BaselineGridRelativeOption.topOfPageOfBaselineGridRelativeOption;    // Baseline Grid, Relative To
        gridColor = UIColors.lightGray;            // Document Grid, Color
        horizontalGridlineDivision = 12;    // Document Grid, Horizontal, Gridline Every
        horizontalGridSubdivision = 12;            // Document Grid, Horizontal, Subdivisions
        verticalGridlineDivision = 12;            // Document Gird, Vertical, Gridline Every
        verticalGridSubdivision = 12;            // Document Grid, Vertical, Subdivisions
        gridsInBack = true;                        // Grids in Back
        documentGridSnapto = false;                // snap to grid or not
        documentGridShown = false;                // show document grid
    //Guides & Pasteboard preference panel
    with(app.documentPreferences){
        marginGuideColor = UIColors.violet;                // Color, Margins
        columnGuideColor = UIColors.magenta;            // Color, Columns
    with(app.pasteboardPreferences){
        bleedGuideColor = UIColors.fiesta;                // Color, Bleed
        slugGuideColor = UIColors.gridBlue;                // Color, Slug
        previewBackgroundColor = UIColors.lightGray;    // Color, Preview Background
        minimumSpaceAboveAndBelow = 72;                    // Minimum Vertical Offset
    with(app.viewPreferences){
        guideSnaptoZone = 4;                            // Snap to Zone
    with(app.guidePreferences){
        guidesInBack = false;                            // Guides in Back
    //Dictionary preference panel
    with(app.dictionaryPreferences){
        composition = ComposeUsing.both;    // Hyphenatin Exceptions, Compose Using
        mergeUserDictionary = false;    // Merge User Dictionary into Document
        recomposeWhenChanged = true;    // Recompose All Stories When Modified
    // Missing (Lang, Hyph, Spelling, Double Quotes, Single Quotes)
    //Spelling preference panel
    with(app.spellPreferences){
        checkMisspelledWords = true;                    // Find, Misspelled Words
        checkRepeatedWords = true;                        // Find, Repeated Words
        checkCapitalizedWords = true;                    // Find, Uncapitalized Words
        checkCapitalizedSentences = true;                // Find, Uncapitalized Sentences
        dynamicSpellCheck = true;                        // Enable Dynamic Spelling
        misspelledWordColor = UIColors.red;                // Color, Misspelled Words
        repeatedWordColor = UIColors.green;                // Color, Repeated Words
        uncapitalizedWordColor = UIColors.green;    // Color, Uncapitalized Words
        uncapitalizedSentenceColor = UIColors.green;    // Color, Uncapitalized Sentences
    //Autocorrect preference panel
    with(app.autoCorrectPreferences){
        autoCorrect = true;                            // Enable Autocorrect
        autoCorrectCapitalizationErrors = false;    // Autocorrect Capitalization
    // Missing (Language, Misspelled word pairs)
    //Display Performance preference panel
    with(app.displayPerformancePreferences){
        defaultDisplaySettings = ViewDisplaySettings.typical;    // Preserve Object-Level
        persistLocalSettings = false;
    // Missing (antialiasiing, greek below
    //Story Editor Display preference panel
    with(app.galleyPreferences){
        textColor = InCopyUIColors.black;                // Text Color
        backgroundColor = InCopyUIColors.white;            // Background
        smoothText = true;                                // Enable Anti-Aliasing
        antiAliasType = AntiAliasType.grayAntialiasing;    // Type
        cursorType = CursorTypes.standardCursor;    // Cursor Type
        blinkCursor = true;                                // Blink
    // Missing (Font, Size, Line Spacing & Theme)
    //File Handling preference panel
    with(app.generalPreferences){
        includePreview = true;                        // Always Save Preview Images with Doc
        previewSize = PreviewSizeOptions.medium;    // Preview Size
    with(app.clipboardPreferences){
        preferPDFWhenPasting = false;                // Prefer PDF When Pasting
        copyPDFToClipboard = true;                    // Copy PDF to Clipboard
        preservePdfClipboardAtQuit = false;            // Preserve PDF Data at Quit
    // Missing (Enable Version Cue)
    //    Optical margin (hanging punctuation, outside margins)
    with(app.storyPreferences){
        opticalMarginAlignment = false;
        opticalMarginSize = 12;                // pts
    //Wrap Up (do at end of script)
    //Units & Increments preference panel
    //Must do this to make sure our units that we set are in points. The vert and horiz
    //units that get set default to the current measurement unit. We set it to points
    //so we can be sure of the value. We'll reset it later to the desired setting.
    with(app.viewPreferences){
        horizontalMeasurementUnits = MeasurementUnits.picas;    // Ruler Units, horizontal
        verticalMeasurementUnits = MeasurementUnits.inches;    // Ruler Units, vertical
    //    These two flags are turned off to avoid the error message about
    //    missing image links when InDesign opens an ad. This can especially
    //    be a problem when doing batch processes.
    with(app.linkingPreferences){
        checkLinksAtOpen = false;            // checkbox: true/false
        findMissingLinksAtOpen = false;        // checkbox: true/false

Maybe you are looking for

  • My laptop cannot find my printer

    Hello - my OS is Windows 7 Home Premium and my printer is HP Officejet 4630.  Both laptop and printer are connected to my wireless router, but my laptop cannot find my printer.  I have gone through all of the instructions given on both the CD setup t

  • Photo Slide Show Timings

    Have loaded both stills and video on the timeline. Used the Ken Burns effect on most photos. All the photos have reverted to 1 sec of playback even if I manually edit the timing. What gives? Is it not allowing the overall project time to increase? if

  • Migrating license from old machine to new machine.

    I have an old pc with an upgraded version of Lightroom, meaning I started with version 4 and upgraded to version 5. In the process my serial numbers were changed. Recently, I purchased a new mac and I would like to move my license over. I've installe

  • How select statement works

    i like to know the in depth details how oracle process the select query...how it reads from the data block

  • How to drop the multi columns?????

    how to drop the multi columns in oracle Like alter table drop column a,b; is it possible.