How to scale on iPad3 and iPad1

I'm using Air 3.4 and 3.5 and I trying understand how to get the same app to be the same scale as the iPad 1 on the iPad 3. The tried using stage.stageScale = StageScaleMode.SHOW_ALL, it's not scaling.
Is there something else I need to do to get this working?

In my root mxml file (ViewNavigatorApplication) I put:-
     creationComplete="stage.scaleMode = StageScaleMode.NO_SCALE;width=stage.width;height=stage.height"
and it still didn't scale. I tried all combinations of StageScaleMode's and each time the result was identical.
I poked around in the app descriptor xml file and I noticed that I had resquestedDisplayResolution set to "high". When I removed it (effectively setting to "standard"), the application scaled correctly. And since setting scale mode didn't do anything, I've removed it to use the default.

Similar Messages

  • How To Scale the Rulers and Object Dimensions

    Hello. I've been using Corel Xara for a long time - like, since '98 - and recently started using Illustrator CS3.
    In Xara, one can set the scale for rulers and objects. For example, I can set up the rulers for inches and then define a scale of, say, 1-in equals 300-ft. Once done, the ruler no longer displays inches; it displays the scale feet. And, when entering dimensions for objects or grid locations, I can use, for example, 650-ft and it will understand that I mean 2.1667-in.
    Is there any way to do the same sort of thing in Illustrator? I saw how to change the rulers to inches, millimeters, points, etc., but I have been unable to find how to scale the ruler to X:Y.
    Any info?
    Thanx!

    Short answer: No.
    Longer answer: To change the ruler measurments to a different predetermined system, simly control-click (Mac) or right-click (PC) on the rulers themselves. You can not set the application to auto-scale dimension like you describe. You can use math functions in dialog boxes though. So you could enter 600'*.125 for 600 ft times 1/8

  • I have 2 Ipads (ipad2 and Ipad3) and 2 Iphones (4 and 4s) all under 1 account in itunes.  How would I split these into 2 accounts and still be able to share itunes music?

    I have 2 Ipads (Ipad2 and Ipad3) and 2 Iphones (4 and 4S) that are currently  sharing 1 username for itunes.  How can I split 1 ipad and 1 iphone to another username and still use my music library in itunes?

    Sign out of the iTunes, store, iMessage, and iCloud on the devices, then sign in with the account you want.
    This simply changes the account the device is pulling content from.
    Content can not be moved from one account to another.  Content is permanently tied to the account it was acquired with.
    What are you really trying to accomplish?

  • HT202297 I just bought an ipad3 and I was wondering if anyone knows how to have my reminders displayed in my calendar? If it not possible on the iPad , is it possible on the iphone4s? if not, than does anyone know of any apps that make it convenient to do

    I just bought an ipad3 and I was wondering if anyone knows how to have my reminders displayed in my calendar? If it not possible on the iPad , is it possible on the iphone4s? if not, than does anyone know of any apps that make it convenient to do so?

    That's only for the iPhone 5. On the 4 and 4S, they can repair the back glass in store for $30. They will not replace the display on a 4 or 4S. They must replace the entire phone. Replacing the display on them requires disassembling the entire phone, which they will not do in store.

  • In InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to

    This may be a basic question... but in InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to determine what word count we can fit in, and c) how to do it in a table? Thanks!

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • HT4623 I have a new iphone5 and about 5 meters wifi signal is reduced to one scale, and finally cut off my connection with routerom.I also  have  iphone 4s and  ipad3 and on those I have full signal everywhere. I installed the latest softwer iso 6.0.2 and

    I have a new iphone5 and  about 5 meters wifi signal is reduced to one scale, and finally cut off my connection with routerom. I also have  iphone 4s and  ipad3 and on those two I have full signal everywhere. I installed the latest softwer iso 6.0.2 and I still have a problem!

    Just get into "General" -> last option is "RESET" -> Opt for "RESET NETWORK SETTINGS"
    Your phone will reeboot in a couple of minutes n then get fine on with full signal on the wifi scale.
    Worked perfect for me. Do try n let me know.
    ATB

  • Updated my 4s and ipad3 and now both are basically useless. Cant access itunes store, app store, weather app wont work and multiple bugs with facebook. How am I supposed to fix all these problems????

    Updated my 4s and ipad3 and now both are basically useless. Cant access itunes store, app store, weather app wont work and multiple bugs with facebook. How am I supposed to fix all these problems????

    Hi Doomtrooper,
    When you updated your iPhone 4S and iPad3 to iOS6, what exactly do you mean when you can't access the iTunes store? Have you checked your connection to the network?
    Please be a little more specific

  • HT1386 After last syncing between iPad3 and iMac, many books I have purchased have cloud symbol and won't open. Afraid to resync as one very large book didn't sync to iMac and afraid of losing it. How do I get these books back?

    1. After my last synching between iPad3 and iMac, most of my downloaded books have a cloud/arrow symbol and won't open. Most PDF files in iBook just disappeared. I am afraid to resync as a book I recently downloaded, which took up a big chunk of my 5GB download limit, doesn't appear on my computer and when I try to sync, I get the message that all my books will be replaced.
    2. Is there any way to read the books downloaded to my iPad on my iMac? Can I download an Ap for that?
    I am really disappointed in the interface between my iPad and iMac and the fact that I can't selectively delete items (music and photos) that I have synched to the iPad. It seems like Apple if going toward the Microsoft method of trying to do everything for you, rather than allowing the user to manually do things.

    In iBooks on the iPad every book you purchased will be on the Purchased Book collection. Those books that you have purchased in the past but for some reason are not actually on your iPad are still available in the bookstore. They will have the cloud symbol on the corner. You can tap on that book to download it again. You will not be charged for doing this.

  • How to scale image, and not scale corner radius

    Working on a catalog with image in a .075" corner radius shape. The page are generated by a CMS system so the images are needing to be recropped and scaled. Cannot find a way to scale the image and keeping the rounded corner radius at .075".
    CS5 Mac

    Thanks for your reply and desire to help. I realize that but found that you can only adjust width or height and not even scale to get this to work,and other problems with this method.
    I am only interested in being able to scale both frame and image simulataneously and holding the corner shape.
    For a program called InDesign, the lack of this essential basic feature is NOT DESIGN friendly. Anyone designing a catalog would be wise to avoid using anything else but square corners on images.

  • How do I zoom in and out on my iPad videos

    How do I zoom in and out using my ipad video?

    Double click the clip in the Timeline, to place it in the viewer.
    In the Viewer window click the Motion tab. Adjust the "Scale" control and set keyframes as needed.

  • How to print from Ipad3 on HP Envy 110 mobile out in the field?

    I have bought an Ipad3 and a HP Envy 110, in order to be able to print PDF document mobile, having the printer in my car,  so I don't want to use a WiFi network. How do I get it working? If I just put power on the printer, the IPad doesn't "see" the printer. Who knows what to do? Thanks in avance, Peter

    If the ad hoc printer mode is not available for the envy, there are some reasonably cheap ways to get a wifi network in your car.   A cheap router from best but will generate the wifi network.  Does not matter if you have Internet or not.  A ifi device will also work, and most/ all of them run on batteries.  Lastly, if you have a smart phone or I phone that generates a wifi hotspot, that may be enough to support the printing function.  ( I need to test my I phone later today to see if that works.)

  • Scale in pricing and free goods.

    Hi All,
    Can anyone plz tell me ,What is the role and how to use the scale in pricing and free goods determination.
    Regards,
    Ashima

    hi,
    . Create a condition by copying a a standard condition like BO03 in V/06
    2. Assign this condition in the std pricing procedure with acct key as ERB and accural key as ERU - V/08
    3.Create a  Rebate Agreement in VBO1 (It is O = Owl and not zero). No will be generated
    choose 003 - Customer rebates, enter the customer code, the validity and check for the status shld be in Open, click on the conditions enter the percentage and accrual amount. You also can have scales in this. Also you need to maintain the material for the settlement
    4. Create a sales order for that customer and check the rebate agreement.
    5. You can see the rebate condition in the invoice only.
    6. Once you have posted the invoices, then go to rebate agrrement no. clicl on verfication and it will show the order details.
    7. For settlement change the status of the rebate to B - release for the settlement.
    8. Credit memo request will b generated copy the no. and go to VA02, remove the blocks if any and create an invoice (credit memo).this will show u the accrual amount.
    9. In both the invoice and the credit memo check the posting - accounting document it will show u the accrual as negative.
    10. Again go to rebate aggreement and check the status it will show you D - Final settlement of agreement already carried out
    Regards,,
    JP

  • I need help,,upgraded to ipad2, laptop had to be restored b4 I backed up iPad or saved iTunes library. How do I back up and sync my ipad2 without losing content on my iPad.

    I need help,,upgraded to ipad2, my HP laptop had major issues and had to be restored b4 I could back up and save any content on the hard disc. So i havent backed up my iPad2 or saved my iTunes library.
    How do I back up and sync my ipad2 without losing content on my iPad.???
    I need really simple instructions as I've had a bad run with my laptop the last month.
    I have re-installed iTunes,it currently has no content in it
    all my music, photos etc had been saved to a an external Hardrive (phew)so I'm not concerned about losing them during a sync, but how do I sync my Ipad without losing the applications... The last back up saved was in June when I still had an ipad1
    I tried to back it up last night but kept getting the prompts something to the effect of "iPad can only be synced to 1 iTunes library, syncing will erase all content and replace with content on this iTunes library".  
    Help please,, I've already lost endless hours fixing my PC issues,so I'm not game to attempt this issue without guarantee I won't lose everything,need a simple solution that anyone can follow as my brain has information overload!!! Lol
    Thanks

    This should help you out. I copied this from another discussion a while back. Here is the original discussion link.
    https://discussions.apple.com/message/11527071#11527071
    This is what is in the discussion. It really doesn't get any easier than this.
    1) Without connecting your iPad to your laptop, start iTunes. Click on Edit. Click on Preferences. Click on Devices. Check the box next to "Prevent your iPod etc. from automatically syncing." Click OK.
    2) Now connect your iPad to your laptop and start iTunes.
    3) When iTunes starts, right click on your iPad under Devices in the left column. Select Transfer purchases etc.
    4) After it finishes transferring all your apps to your new laptop, right click on your iPad and select Backup your iPad.
    5) After it finishes backing up your iPad, right click on your iPad and select Restore etc.
    6) After it finishes restoring, left click on your iPad , then click on the Apps tab on top, and check the box next to Sync Apps, then click on Apply below.
    If everything on your iPad looks good after the sync, go back and click on Edit / Preferences / Devices and UN-check the box next to Prevent your iPod etc. The only other thing you may want to check is if your contacts, bookmarks, etc. are syncing correctly now. If not, go to the Info tab after connecting and make sure you indicate which features you want to sync with what sources.

  • How to scale down number of pages in ps files

    I am having ps files that are havings 4 to 8  pages per file. Each page may contain just 5-6 lines and therefore though the content in total is not too much but there is unnecessay paper wastage.
    Is it possible to make some changes in code inside ps files throgh notepad so that the content may be restricted to lesser number of pages. I am having programing skill in vfp,need guidance that what changes i need to do in ps script and where.
    my sample ps file can be downloaded from
    https://www.dropbox.com/s/l9n3juzltlajki2/1010568351.ps
    Code is also replicated here
    %!PS-Adobe-3.0
    %Creator: iECCM
    %Version: 0.1
    %%Pages: 4
    /d{def}bind def/b{bind d}bind d/X1 0 d/Y1 0 d/SG{setgray}b/g{gsave}b/l1{rlineto}b/m{moveto}b/n{newpath}b/o{closepath}b/r{lineto}b/s{s how}b/c{clip}b/z{stroke}b
    /A{n arc}b/B{0 SG}b/C1{n m curveto}b/D 0 d/E{0.78 SG}b/F{findfont exch scalefont setfont}b/G{grestore}b/H1{n 0 5 Y1 {0 exch m X1 0 l1} for z}b
    /J{rectclip}b/K{0.79 SG}b/L{n m r z}b/M{0 0 m}b/N{0.80 SG}b/O{rotate}b/P{setlinecap}b/Q{setrgbcolor}b/R{n 4 -2 roll m dup 0 exch l1 exch 0 l1 neg 0 exch l1 o}b
    /S{[] 0 h}b/T{translate}b/U1{showpage}b/V1{n 0 5 X1 {0 m 0 Y1 l1} for z}b/W1{1 SG}b/w{m s}b
    /a{stringwidth}b/v{rmoveto}b/w1{setlinewidth}b/h{setdash}b/wc{w1 Q}b
    /t{D arct}b
    /u{a exch currentpoint 3 -1 roll dup neg I 10 div neg v 0 l1 I 20 div w1 z m}b
    /st{a exch currentpoint 3 -1 roll dup neg I 3 div v 0 l1 I 20 div w1 z m}b
    /us{a exch currentpoint 2 copy 5 -1 roll dup dup neg I 3 div v 0 l1 3 1 roll m dup neg I 10 div neg v 0 l1 I 20 div w1 z m}b
    /u1{dup a pop exch s currentpoint 3 -1 roll dup neg I 10 div neg v 0 l1 I 20 div w1 z m}b
    /st1{dup a pop exch s currentpoint 3 -1 roll dup neg I 3 div v 0 l1 I 20 div w1 z m}b
    /us1{dup a pop exch s currentpoint 2 copy 5 -1 roll dup dup neg I 3 div v 0 l1 3 1 roll m dup neg I 10 div neg v 0 l1 I 20 div w1 z m}b
    /x{m dup a exch neg exch v s}b/y{m dup a exch 2 div neg exch v s}b/e{wc z}b/f{g fill G}b
    /wu{m dup s}b/xu{m dup dup a exch neg exch v s}b/yu{m dup dup a exch 2 div neg exch v s}b
    /i{n rectfill}b/j{2 setlinejoin}b/k{n rectstroke}b
    /ML{m l1}b/U{/H H V sub d}b/V 0 d/W{H w}b/X{H x}b/Y{H y}b/RMS11{T O M s O T}b
    /BC{Q a pop currentpoint I 4 div sub 2 index I i G pop s}b%%EndProlog
    %%Page: 1 1
    <</Duplex false /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
    /Fn1{d I/Arial-Bold F}b/F1{/I 8.0 Fn1}b
    F1 (229.00)513 612 w
    1 w1 2 P 385 601 188 -406 k
    g n
    G
    g n
    /Fn2{d I/Arial F}b/F2{/I 8.0 Fn2}b
    F2 B (One Time Charges)387 547 w
    G
    0 P 427 152 161 -50 k
    24 601 360 -406 k
    7 152 141 -50 k
    183.16 135.36 1.44 -19.67 i
    185.31 135.36 0.72 -19.67 i
    187.47 135.36 2.15 -19.67 i
    191.06 135.36 1.44 -19.67 i
    193.93 135.36 0.72 -19.67 i
    196.81 135.36 0.72 -19.67 i
    198.96 135.36 1.44 -19.67 i
    201.84 135.36 0.72 -19.67 i
    204.71 135.36 0.72 -19.67 i
    206.86 135.36 2.15 -19.67 i
    211.17 135.36 0.72 -19.67 i
    212.61 135.36 1.44 -19.67 i
    214.76 135.36 0.72 -19.67 i
    216.20 135.36 2.87 -19.67 i
    220.51 135.36 0.72 -19.67 i
    222.67 135.36 1.44 -19.67 i
    224.82 135.36 2.15 -19.67 i
    227.69 135.36 0.72 -19.67 i
    230.57 135.36 0.72 -19.67 i
    232.72 135.36 0.72 -19.67 i
    236.31 135.36 1.44 -19.67 i
    238.47 135.36 1.44 -19.67 i
    242.06 135.36 2.15 -19.67 i
    244.93 135.36 0.72 -19.67 i
    246.37 135.36 1.44 -19.67 i
    g n
    F2 B (+)307 625 y
    G
    g n
    F2 B (-)108 625 y
    G
    g n
    /F3{/I 12.0 Fn1}b
    F3 B (BHARAT SANCHAR NIGAM LTD)284 140 y
    G
    2 P 497 648 72 -43 k
    g n
    F1 B (Amount Payable  )533 640 y
    F1 B (\(Rounded Up\))533 631 y
    G
    0 P 7 102 581 -83 k
    g n
    F2 B (Name & Address of the Customer)27 760 w
    G
    g n
    F1 B (Counter Foil)494 174 w
    G
    [3 1] 0 h 594 184 0 184 L S
    574 76 502 76 L
    446 76 374 76 L
    g n
    /F4{/I 7.0 Fn2}b
    F4 B (Diners)513 60 w
    G
    g n
    F4 B (Masters)460 60 w
    G
    g n
    F4 B (Visa)420 60 w
    G
    355 45 228 45 L
    575 45 459 45 L
    394 59 254 59 L
    g n
    F4 B (Card Holder's Name)367 45 w
    G
    181 59 91 59 L
    g n
    F4 B (Signature)184 45 w
    G
    g n
    F4 B (Please make crossed Cheque/DD/Pay order for Amount Payable \(Rounded Up\) in favour of AO \(Cash\),BSNL, INDORE )13 32 w
    G
    g n
    F4 B (Expiry Date)16 45 w
    G
    g n
    F4 B (Against Card no.)186 61 w
    G
    g n
    F4 B (Please Charge Rs.)16 60 w
    G
    192 76 86 76 L
    g n
    F4 B (Branch)474 76 w
    G
    g n
    F4 B (Bank)350 76 w
    G
    418 101 12 -9 k
    g n
    F4 B (Cheque/DD)228 93 w
    G
    g n
    F4 B (E-payment)437 93 w
    G
    g n
    F4 B (Credit / Debit Card)323 93 w
    G
    g n
    F4 B (Dated)224 76 w
    G
    g n
    F4 B (Cheque/DD No.)16 76 w
    G
    g n
    F4 B (Cash)154 93 y
    G
    g n
    F4 B (Mode of payment)16 93 w
    G
    401 68 12 -9 k
    124 101 12 -9 k
    208 101 12 -9 k
    302 101 12 -9 k
    441 68 12 -9 k
    496 68 12 -9 k
    82 52 8 -8 k
    105 52 8 -8 k
    113 52 8 -8 k
    89 52 8 -8 k
    121 52 8 -8 k
    129 52 8 -8 k
    316 83 8 -8 k
    309 83 8 -8 k
    301 83 8 -8 k
    293 83 8 -8 k
    280 83 8 -8 k
    272 83 8 -8 k
    260 83 8 -8 k
    252 83 8 -8 k
    2 P 26 648 72 -43 k
    g n
    F2 B (Previous Balance)62 640 y
    G
    g n
    F2 B (=)488 625 y
    G
    g n
    F2 B (+)208 625 y
    G
    126 649 72 -43 k
    g n
    F2 B (Last Payment)162 641 y
    G
    317 648 72 -43 k
    g n
    F2 B (Current Charges)353 640 y
    G
    g n
    F2 B (Usage Charges)387 530 w
    G
    g n
    F2 B (Tax)387 499 w
    G
    g n
    F2 B (Discount)387 515 w
    G
    g n
    /F5{/I 9.0 Fn1}b
    F5 B (Summary of )389 589 w
    F5 B (Current Charges)389 579 w
    G
    g n
    F5 B (Amount \(Rs.\))558 589 x
    G
    g n
    F5 B (Total Charges)390 478 w
    G
    0 P 21 188 9 181 L
    9 188 21 181 L
    2 P 220 648 72 -43 k
    g n
    F2 B (Adjustments)256 640 y
    G
    0 P 97 623 25 623 L
    198 623 126 623 L
    292 623 220 623 L
    389 623 316 623 L
    569 623 497 623 L
    (ANNIE BESANT SCHOOL NARAYANDAS)28 748 w
    (SHIKSHA PRASAR SAMITI)28 739 w
    (ANNIE BESANT SCHOOL PRECA ANNAPURNNA MANDIR ROAD INDORE)28 730 w
    (MADHYA PRADESH)28 721 w
    (452009.0)28 712 w
    (India)28 703 w
    F5 (229.67)562 477 x
    F2 (160.00)144 611 w
    (0.00)246 611 w
    (229.67)340 611 w
    (0.00)561 547 x
    (149.00)562 562 x
    (441.40)562 530 x
    (25.27)562 498 x
    (159.20)39 611 w
    g n
    F2 B (Deposit              3010.00)28 670 w
    G
    g n
    F4 B (Amex)559 60 w
    G
    542 68 12 -9 k
    g n
    F1 B (Telephone Bill)281 773 y
    G
    g n
    F4 B (Note: Post Offices / Banks to accept Bills against Account Number on or before Due Date only)14 20 w
    G
    g n
    /F6{/I 6.0 Fn1}b
    F6 B (E & OE)328 188 w
    G
    459 152 135 152 L
    /F7{/I 10.0 Fn2}b
    F7 (Indore  Telecom  District)283 155 y
    g n
    F5 B (Account Summary)28 656 w
    G
    E 386 454 181 -9 i
    /F8{/I 7.3 Fn1}b
    F8 B (Tax Details)389 446 w
    (Description)389 437 w
    (Tax Rate)483 437 w
    (Amount \(Rs.\))565 437 x
    /F9{/I 7.3 Fn2}b
    F9 (Service Tax)389 427 w
    (12.00%)483 427 w
    (24.53)565 427 x
    (Education Cess)389 417 w
    (0.24%)483 417 w
    (0.49)565 417 x
    (Higher Edu. Cess)389 407 w
    (0.12%)483 407 w
    (0.25)565 407 x
    570 463 382 463 L
    433.12 44.86 1.44 -25.97 i
    435.27 44.86 0.72 -25.97 i
    437.43 44.86 2.15 -25.97 i
    441.02 44.86 1.44 -25.97 i
    443.89 44.86 1.44 -25.97 i
    446.05 44.86 1.44 -25.97 i
    448.92 44.86 1.44 -25.97 i
    451.79 44.86 1.44 -25.97 i
    453.95 44.86 1.44 -25.97 i
    456.82 44.86 0.72 -25.97 i
    459.70 44.86 0.72 -25.97 i
    461.85 44.86 1.44 -25.97 i
    464.72 44.86 0.72 -25.97 i
    468.32 44.86 0.72 -25.97 i
    470.47 44.86 1.44 -25.97 i
    472.62 44.86 0.72 -25.97 i
    475.50 44.86 0.72 -25.97 i
    478.37 44.86 1.44 -25.97 i
    480.53 44.86 1.44 -25.97 i
    483.40 44.86 0.72 -25.97 i
    486.27 44.86 0.72 -25.97 i
    488.43 44.86 1.44 -25.97 i
    492.02 44.86 0.72 -25.97 i
    493.45 44.86 2.15 -25.97 i
    496.33 44.86 0.72 -25.97 i
    497.76 44.86 0.72 -25.97 i
    499.20 44.86 2.87 -25.97 i
    504.23 44.86 1.44 -25.97 i
    507.10 44.86 1.44 -25.97 i
    509.26 44.86 1.44 -25.97 i
    512.13 44.86 1.44 -25.97 i
    515 44.86 2.15 -25.97 i
    517.88 44.86 0.72 -25.97 i
    520.03 44.86 2.15 -25.97 i
    523.62 44.86 1.44 -25.97 i
    526.50 44.86 0.72 -25.97 i
    527.93 44.86 2.15 -25.97 i
    530.81 44.86 0.72 -25.97 i
    532.24 44.86 2.87 -25.97 i
    535.83 44.86 1.44 -25.97 i
    539.42 44.86 2.15 -25.97 i
    542.30 44.86 0.72 -25.97 i
    543.73 44.86 1.44 -25.97 i
    g n
    F9 B (For bank use only)415 13 w
    G
    493 101 12 -9 k
    g n
    F9 B (EFT)512 93 w
    G
    g n
    F2 B (Customer ID                1010404461)392 759 w
    G
    g n
    F1 B (Account Number        1010568351)392 744 w
    G
    g n
    F2 B (Invoice Number          10105683510030)392 730 w
    G
    g n
    F2 B (Invoice Date               05/09/2012)392 715 w
    G
    g n
    F2 B (Invoice Period             01/08/2012 to 31/08/2012)392 701 w
    G
    g n
    F1 B (Due Date                     27/09/2012)392 687 w
    G
    g n
    F2 B (Customer Type            INDIVIDUAL)392 672 w
    G
    g n
    F4 B (This is a Computer generated Bill and hence )476 209 y
    F4 B (does not require any Signature.)476 201 y
    G
    g n
    F1 B (Due Date:       27/09/2012)14 109 w
    G
    g n
    F2 B (Invoice No.:  10105683510030)14 140 w
    G
    g n
    F1 B (Amount Due :  229.00)435 109 w
    G
    g n
    F2 B (Account No.:  1010568351)435 140 w
    G
    g n
    F2 B (Invoice Date:  05/09/2012)14 124 w
    G
    g n
    F5 B (Accounts Officer \(TR\))478 221 y
    G
    g n
    F2 B (Recurring Charges)387 562 w
    G
    577 432 T  M 270 O g n
    M -270 O  -577 -432 T
    577 432 T  M 270 O F2 B (PAN Number    AABCB5576G)-68 -3 w
    G
    M -270 O  -577 -432 T
    F2 (-386.00)562 515 x
    2 P 408 650 72 -43 k
    g n
    F2 B (Account Balance)445 641 y
    G
    0 P 480 625 408 625 L
    g n
    F2 B (=)398 624 y
    G
    (228.87)429 614 w
    g n
    /F10{/I 7.0 Fn1}b
    F10 B (Dear Customer,)394 382 w
    F10 B (      Henceforth, the invoices \(Bills\) shall not be )394 374 w
    F10 B (printed / dispatched if the total dues are less )394 366 w
    F10 B (than Rs. 100/- and the amount due shall be )394 358 w
    F10 B (included in the next bill.)394 350 w
    F10 B (      Kindly pay bill amount in whole rupee and )394 342 w
    F10 B (not in fraction of a rupee.)394 334 w
    G
    g g n
    /F15{/I 7.5 Fn2}b
    F15 B (of 4)525 13 w
    G
    G
    g n
    /F11{/I 7.2 Fn2}b
    F11 B (Page 1)495 13 w
    G
    N 26 586 353 -8 i
    F8 B (Payment Details)28 578 w
    (Description)28 571 w
    (Date)146 571 w
    (Amount\(Rs.\))377 571 x
    F9 (Payments)28 562 w
    (23/08/12)146 562 w
    (160.00)377 562 x
    F2 (0731-2484034)475 659 w
    g n
    F2 B (Phone Number)392 660 w
    G
    (0731-2484034)484 125 w
    g n
    F2 B (Phone No.:)435 124 w
    G
    13 403 T  M 90 O g n
    M -90 O  -13 -403 T
    13 403 T  M 90 O F2 B ( SERVICE TAX REG. NUMBER : AABCB5576GSD733)-141 -2 w
    G
    M -90 O  -13 -403 T
    U1
    %%Page: 2 2
    <</Duplex true /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
    g n
    /Fn3{d I/ArialBlack F}b/F12{/I 15.0 Fn3}b
    F12 B (BHARAT SANCHAR NIGAM LIMITED)301 805 y
    G
    1 w1 594 774 2 774 L
    g n
    F2 B (Account Number    1010568351)13 789 w
    G
    g n
    F2 B (Invoice Number    10105683510030)580 789 x
    G
    g n
    F2 B (Invoice Date    05/09/2012)229 789 w
    G
    g n
    /F13{/I 7.4 Fn2}b
    F13 B (Page 2)496 16 w
    G
    g g n
    /F15{/I 7.5 Fn2}b
    F15 B (of 4)532 16 w
    G
    G
    N 36 766 534 -8 i
    F8 B (Recurring Charges)38 759 w
    (Product)38 749 w
    (Plan)195 749 w
    (Period)352 749 w
    (Qty)442 749 x
    (Rate)481 749 x
    (Charges)568 749 x
    F9 (DISCOUNT)38 737 w
    (LO-KAR-LO-BAAT-OTHER)195 737 w
    (01/08/12 to 31/08/12)352 737 w
    (NA)442 737 x
    (NA)481 737 x
    (149.00)568 737 x
    F8 (Total Charges \(Rs.\))38 726 w
    (149.00)568 726 x
    N 36 715 534 -8 i
    B (Usage Charges)38 708 w
    (Phone Calls)38 699 w
    (Units)258 699 w
    (Duration/Volume)321 699 w
    (Gross Amt)443 699 x
    (Discount)505 699 x
    (Net Amt)568 699 x
    F9 (Local Cellular)38 688 w
    (361)258 687 w
    (04:35:40)321 687 w
    (361.00)443 687 x
    (21.00)505 687 x
    (340.000)568 687 x
    (Local LL BSNL)38 676 w
    (13)258 675 w
    (00:10:39)321 675 w
    (13.00)443 675 x
    (13.00)505 675 x
    (0.000)568 675 x
    (Local LL Other Operator)38 664 w
    (23)258 663 w
    (00:17:55)321 663 w
    (23.00)443 663 x
    (0.00)505 663 x
    (23.000)568 663 x
    (Special Number Band 8)38 652 w
    (3)258 652 w
    (00:02:06)321 652 w
    (0.00)443 652 x
    (0.00)505 652 x
    (0.000)568 652 x
    (STD Cellular)38 640 w
    (40)258 640 w
    (00:35:09)321 640 w
    (40.00)443 640 x
    (0.00)505 640 x
    (40.000)568 640 x
    (STD Intra Circle GT50 BSNL)38 629 w
    (1)258 628 w
    (00:01:49)321 628 w
    (1.00)443 628 x
    (1.00)505 628 x
    (0.000)568 628 x
    (STD Intra Circle LT50 BSNL)38 617 w
    (1)258 616 w
    (00:00:24)321 616 w
    (1.00)443 616 x
    (1.00)505 616 x
    (0.000)568 616 x
    F8 (Total Charges \(Rs.\))38 604 w
    (439.00)443 604 x
    (36.00)505 604 x
    (403.00)568 604 x
    /Fn4{d I/Arial-Italic F}b/F14{/I 6.3 Fn4}b
    F14 (For BB 1 Unit = 1 KB)38 595 w
    N 36 586 534 -8 i
    F8 B (Discounts)38 579 w
    (Discount Type)38 570 w
    (Period)258 570 w
    (Discounts)568 570 x
    F9 (LL-FREE-CALLS-350-1)38 558 w
    (01/08/12 to 31/08/12)258 558 w
    (-350.00)568 558 x
    (LO-KAR-LO-BAAT)38 546 w
    (01/08/12 to 31/08/12)258 546 w
    (0.00 - 36.00 [email protected]%)38 534 w
    (-36.00)568 534 x
    F8 (Total Discounts \(Rs.\))38 523 w
    (-386.00)568 523 x
    g n
    F2 B (Plan    LO-KAR-LO-BAAT-OTHER)13 775 w
    G
    g n
    F2 B (Phone Number / UserName    0731-2484034)580 775 x
    G
    U1
    %%Page: 3 3
    g n
    F12 B (BHARAT SANCHAR NIGAM LIMITED)301 805 y
    G
    1 w1 594 774 2 774 L
    g n
    F2 B (Account Number    1010568351)13 789 w
    G
    g n
    F2 B (Invoice Number    10105683510030)580 789 x
    G
    g n
    F2 B (Invoice Date    05/09/2012)229 789 w
    G
    g n
    F13 B (Page 3)496 16 w
    G
    g g n
    /F15{/I 7.5 Fn2}b
    F15 B (of 4)532 16 w
    G
    G
    N 36 766 534 -8 i
    F8 B (Usage Charges)38 759 w
    (Phone Calls)38 749 w
    (Units)258 749 w
    (Duration/Volume)321 749 w
    (Gross Amt)443 749 x
    (Discount)505 749 x
    (Net Amt)568 749 x
    F9 (Local LL Other Operator)38 738 w
    (2)258 737 w
    (00:00:14)321 737 w
    (2.40)443 737 x
    (0.00)505 737 x
    (2.400)568 737 x
    F8 (Total Charges \(Rs.\))38 726 w
    (2.40)443 726 x
    (0.00)505 726 x
    (2.40)568 726 x
    F14 (For BB 1 Unit = 1 KB)38 716 w
    g n
    F2 B (Plan    RENT-FREE-SECOND-PHONE)13 775 w
    G
    g n
    F2 B (Phone Number / UserName    0731-2484033)580 775 x
    G
    U1
    %%Page: 4 4
    g n
    F12 B (BHARAT SANCHAR NIGAM LIMITED)301 805 y
    G
    1 w1 594 774 2 774 L
    g n
    F2 B (Account Number    1010568351)13 789 w
    G
    g n
    F2 B (Invoice Number    10105683510030)580 789 x
    G
    g n
    F2 B (Invoice Date    05/09/2012)229 789 w
    G
    g n
    F13 B (Page 4)496 16 w
    G
    g g n
    /F15{/I 7.5 Fn2}b
    F15 B (of 4)532 16 w
    G
    G
    N 36 766 534 -8 i
    F8 B (Usage Charges)38 759 w
    (Phone Calls)38 749 w
    (Units)258 749 w
    (Duration/Volume)321 749 w
    (Gross Amt)443 749 x
    (Discount)505 749 x
    (Net Amt)568 749 x
    F9 (BSNL Broadband)38 738 w
    (15026372)258 737 w
    (15026372)321 737 w
    (0.00)443 737 x
    (0.00)505 737 x
    (0.000)568 737 x
    F8 (Total Charges \(Rs.\))38 726 w
    (0.00)443 726 x
    (0.00)505 726 x
    (0.00)568 726 x
    F14 (For BB 1 Unit = 1 KB)38 716 w
    g n
    F2 B (Plan    BBG-COMBO-ULD-850-ANNUAL-COMMIT)13 775 w
    G
    g n
    F2 B (Phone Number / UserName    an7312484034_wcdr)580 775 x
    G
    U1

    thanks, i am trying to do that. in case I will need your help i will contact u again.
    one more doubt.
    F8 B (Recurring Charges)38 759 w
    what does F8 B 38 759 & w denotes in the above string
    what does y & z denote
    and what means
    /F15{/I 7.5 Fn2}b
    On Wed, 12 Dec 2012 23:29:23 +0530  wrote
        Re: How to scale down number of pages in ps files
        created by abeddie in PostScript Programming - View the full discussion
    Remember this is just a sample of what you could do and when your jobs changewhat you do would have to change. The edits are:1) find the %%Page 3 32) change the line above from: U1 to %U13) add the line: 0 792 ypos 72 sub sub neg translate4) Find the line with the smallest y position: F8 (Total Discounts \(Rs.\))38 523 w5) Add this line below: currentpoint /ypos exch def pop %added repeat steps 1-5 for but use for step 1:%%Page 4 4 and step 4: F14 (For BB 1 Unit = 1 KB)38 716 w       old before page 3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%F8 (Total Discounts \(Rs.\))38 523 w(-386.00)568 523 xg nF2 B (Plan    LO-KAR-LO-BAAT-OTHER)13 775 wGg nF2 B (Phone Number / UserName    0731-2484034)580 775 xGU1%%Page: 3 3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     old before page 4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%F14 (For BB 1 Unit = 1 KB)38 716 wg nF2 B (Plan    RENT-FREE-SECOND-PHONE)13 775 wGg nF2 B (Phone Number / UserName    0731-2484033)580 775 xGU1%%Page: 4 4%%%%%%%%%%%%%
    %%%%%%%%%%%%%%%%%%%     new before page 3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%F8 (Total Discounts \(Rs.\))38 523 wcurrentpoint /ypos exch def pop %added(-386.00)568 523 xg nF2 B (Plan    LO-KAR-LO-BAAT-OTHER)13 775 wGg nF2 B (Phone Number / UserName    0731-2484034)580 775 xG%U1 %commented out0 792 ypos 72 sub sub neg translate % added%%Page: 3 3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     new before page 4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%currentpoint /ypos exch def pop %addedg nF2 B (Plan    RENT-FREE-SECOND-PHONE)13 775 wGg nF2 B (Phone Number / UserName    0731-2484033)580 775 xG 0 792 ypos 72 sub sub neg translate%U1 %commented out%%Page: 4 4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4915986#4915986
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4915986#4915986
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4915986#4915986. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in PostScript Programming by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Gantt chart: Don't know how to use the tooltipkeys and toolkeylabel

    I have a problem. Don't know how to use the tooltipkeys and toolkeylabel. I used jquery to select the gantt bars and on mouse over i was getting the task id "tid" then passing it to adf bean with serverlistener and showing a popup that is adf component with javascript. For positioning of the popup I used a button that has width and height 0 and has position absolute and gets the coordinates of the mouse.
    "div[et]" is a jquery selector that selects all the elements that have attribute et. I noticed that all the bars have that attribute as a few other attributes as well "part"...
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
            xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
        <af:document title="untitled1.jsf" id="d1">
            <af:resource type="javascript" source="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"/>
            <af:resource type="javascript" source="resources/js/home.js"/>
            <af:messages id="m1"/>
            <af:form id="f1">
               <af:commandButton text="commandButton 1" id="cb1" inlineStyle="visibility:hidden; width:0; height:0" />
                <af:popup id="noteWindow" contentDelivery="lazyUncached" binding="#{homeBean.popup}">
                    <af:noteWindow id="popupWindow">
                        <af:panelFormLayout id="pfl2">
                            <af:panelLabelAndMessage label="Task id" id="plam5">
                                <af:outputText value="#{homeBean.taskId1}" id="ot64"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="Start Location Name" id="plam6">
                                <af:outputText value="#{homeBean.startLocation}" id="ot7"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="Stop Location Name" id="plam7">
                                <af:outputText value="#{homeBean.stopLocation}" id="ot8"/>
                            </af:panelLabelAndMessage>
                            <af:panelLabelAndMessage label="tasktype" id="pla2m7">
                                <af:outputText value="#{homeBean.taskType}" id="ot9"/>
                            </af:panelLabelAndMessage>
                        </af:panelFormLayout>
                    </af:noteWindow>
                </af:popup>
                <af:serverListener type="jsServerListener" method="#{homeBean.serverEventHandler}"/>
                <dvt:schedulingGantt id="gantt1" value="#{bindings.PersonView1.schedulingGanttModel}" var="row"
                                     startTime="2011-07-04 00:00:00" endTime="2011-07-04 23:00:00" summary="gsg"
                                     showMenuBar="false" showToolbar="false" iconPlacement="left"
                                     showTasksAsDailyBar="false">
                    <f:facet name="major">
                        <dvt:timeAxis scale="days" id="ta1"/>
                    </f:facet>
                    <f:facet name="minor">
                        <dvt:timeAxis scale="hours" id="ta2"/>
                    </f:facet>
                    <f:facet name="nodeStamp">
                        <af:column sortProperty="#{bindings.PersonView1.hints.PersonId.name}" sortable="false"
                                   headerText="#{bindings.PersonView1.hints.PersonId.label}" id="c1">
                            <af:outputText value="#{row.PersonId}" id="ot1">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.PersonView1.hints.PersonId.format}"/>
                            </af:outputText>
                        </af:column>
                    </f:facet>
                </dvt:schedulingGantt>            
            </af:form>
        </af:document>
    </f:view>javascript:
    $(document).ready(bindEvents());
    function bindEvents() {
        $("div[et]").live('mouseover', function (e) {
             $('#cb1').css("position", 'absolute');
             $('#cb1').css("top", e.pageY-4);
             $('#cb1').css("left", e.pageX);
            var popup = AdfPage.PAGE.findComponentByAbsoluteId("noteWindow");
            var element = AdfPage.PAGE.findComponent("f1");
            var taskIdToPass = null;
            if ($(this).attr("tid") !=undefined) {
                 taskIdToPass = $(this).attr('tid').toString();
            } else {
                taskIdToPass = $(this).parent().attr('tid').toString();
            var param = {            taskId : taskIdToPass        };
            AdfCustomEvent.queue(element, "jsServerListener", param, true);
            if (!popup.isPopupVisible()) {
                var hints = {};
                hints[AdfRichPopup.HINT_LAUNCH_ID] = "cb1";
                hints[AdfRichPopup.HINT_ALIGN_ID] =  "cb1";
                hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_START;
                popup.show(hints);
        }).live("mouseout", function () {
            var popup = AdfPage.PAGE.findComponentByAbsoluteId("noteWindow");
            popup.hide();
    };My bean that is session bean:
    package view;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCDataControl;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import oracle.adf.view.rich.render.ClientEvent;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Key;
    import oracle.jbo.Row;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.ViewObject;
    public class HomeBean {
        private RichPopup popup;
        private String taskId1;
        private String startLocation;
        private String stopLocation;
        private long taskId;
        private String taskType;
        public HomeBean() {
            super();
        public void serverEventHandler(ClientEvent clientEvent) {    
            String taskIdString = clientEvent.getParameters().get("taskId").toString();
            this.taskId = Long.parseLong(taskIdString);
            DCDataControl dc1 = BindingContext.getCurrent().findDataControl("AppModuleDataControl");
            ApplicationModule am = dc1.getApplicationModule();
            ViewObject vo = am.findViewObject("PdTrfDayView1");  
            RowSetIterator rowSetIterator = vo.createRowSetIterator(null);
            Row[] rows = rowSetIterator.findByKey(new Key(new Object[] {taskId}), 1);
            Row row = rows[0];
           this.taskId1 =  row.getAttribute("PdTrfDayId").toString();
           this.startLocation = row.getAttribute("StartLocation").toString();
           this.stopLocation = row.getAttribute("StopLocation").toString();
           this.taskType = row.getAttribute ("PdTrfTypeId").toString();
            RichPopup.PopupHints ph = new RichPopup.PopupHints();
            vo.closeRowSetIterator();
        public long getTaskId() {
            return taskId;
        public void setPopup(RichPopup popup) {
            this.popup = popup;
        public RichPopup getPopup() {
            return popup;
        public String getTaskId1() {
            return taskId1;
        public String getStartLocation() {
            return startLocation;
        public String getStopLocation() {
            return stopLocation;
        public String getTaskType() {
            return taskType;
    }I am wondering If i can use setCurrentRow on the iterator that i create and use it for displaying on the popup instead of binding startLocation and stopLocation to the bean and if there is any benefit of that at all...
    Edited by: 897833 on Nov 24, 2011 11:37 AM

    Hi,
    To use tooltipkeys and tooltiplabel in gantt, you can add following code in managed bean
    public String[] getTooltipKeys()
    return new String[]{"columnA", "columnB", "StartDate", "EndDate"};
    public String[] getTooltipLabels()
    return new String[]{"A", "B", "Start Date", "End Date"};
    where , the string array in the ToolTipKeys represents the columns, of the table you have in the gantt component , and the string array in TooltipLabels displays the label you want to display for the table columns.
    In the jsff, you could call the bean methods as follows:
    tooltipKeys="#{GanttBean.tooltipKeys}"
    tooltipKeyLabels="#{GanttBean.tooltipLabels}"

Maybe you are looking for