Error with calculations and printing output

Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. It gives me an error with rentalCost when it goes to printout the value, does not seem calculate the values, and does not print any of the things I call for at the end. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
import java.util.Scanner;
public class Test
     public static void main (String [] args)
          String season, cabinGrade;
          double rentalCost, days, finalCost;
          Scanner input = new Scanner(System.in);
          System.out.print("What season will you be staying during? ");
          season = input.nextLine();
          System.out.print("What kind of cabin? ");
          cabinGrade = input.nextLine();
          System.out.print("How many days are you staying? ");
          days = input.nextDouble();
          input.close();
          if (season == "pre-season" && cabinGrade == "regular" && (days < 7))
               rentalCost = ((days * 55) * .9) * 1.0925;
          else if(season == "pre-season" && cabinGrade == "regular" && (days >= 7))
               { days = days - 7;
                 rentalCost = ((300 + (days * 55)) * .9) * 1.0925;
          else if(season == "out-of-season" && cabinGrade == "regular" && (days < 7))
               rentalCost = ((days * 55) * .75) * 1.0925;
          else if(season == "out-of-season" && cabinGrade == "regular" && (days >= 7))
               { days = days - 7;
                 rentalCost = ((300 + (days * 55)) * .75) * 1.0925;
          else if(season == "pre-season" && cabinGrade == "luxury" && (days < 7))
               rentalCost = ((days * 100) * .85) * 1.0925;
          else if(season == "pre-season" && cabinGrade == "luxury" && (days >= 7))
               { days = days -7;
                 rentalCost = ((600 + (days * 100)) * .85) * 1.0925;
          else if(season == "out-of-season" && cabinGrade == "luxury" && (days < 7))
                    rentalCost = ((days * 100) * .75) * 1.0925;
          else if(season == "out-of-season" && cabinGrade == "luxury" && (days >= 7))
               { days = days -7;
                 rentalCost = ((600 + (days * 100)) * .75) * 1.0925;
          else if(season == "prime" && cabinGrade == "regular" && (days < 7))
               rentalCost = (days * 55) * 1.0925;
          else if(season == "prime" && cabinGrade == "regular" && (days >= 7))
               { days = days - 7;
                 rentalCost = (300 + (days * 55)) * 1.0925;
          else if(season == "prime" && cabinGrade == "luxury" && (days < 7))
               rentalCost = (days * 100) * 1.0925;
          else if(season == "prime" && cabinGrade == "luxury" && (days >= 7))
               { days = days - 7;
                 rentalCost = (600 + (days * 100)) * 1.0925;
          System.out.println("Season : " + season);
          System.out.println("Cabin grade: " + cabinGrade);
          System.out.println("No. of days: " + days);
          System.out.println("Rental cost: " + rentalCost);
}

Lgndryhr wrote:
Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
At the very least you need to tell us what you expected this code to do and what it actually did...

Similar Messages

  • Is there a way to create a year at a glance with detail and print?

    Is there a way to create a year at a glance with detail and print?

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • Issues with connection and Printer

    Hi guys,
    I have two issues going on, but one of them is not related to security but I want to through out there to see if anybody can answer it or suggest me an appropriate thread.
    First question:
    Can anybody tell me how set up a printer in ECC 6.0, Please tell me step by step. It’s related with iw32 and printing. Please explain over all I never setup printer through SAP.
    My another question is more of a Basis question since I can’t find a basis thread I’m posting here, 
    The developer trying to connect to courion but some how the Courion connector did not work so we added sap_all, sap_new to the courion ID but it worked once and then it’s not working again.
    I was wondering if anybody has any idea about this.  Please give me some thought or recommendation.  (Courion is some other software)
    Thank you so much for any help in advance

    Replacing your wireless router now try.
    http://www.hp.com/global/au/en/wireless/reconfiguring-system-help3.html
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Bug in PDF and print output with gradients?

    I've got a document that makes use of a gradient fill in a table, and I find that (at least for the < 2pt border widths) the border has a thin white line to either side. It shows up readily in both the print and PDF outputs. Is this a known issue? Where can I file a bug for it? I'm using iWork 6.0 with the latest patches applied. This all worked and looked fine under iWork 5.0. :-(
    <br>
    PowerMac G5   Mac OS X (10.4.7)  

    What are you using to view/print the pdf's?
    Make sure you have the latest Adobe Reader, found
    here:
    Adobe - Adobe Reader - Download
    I'm using Preview. I did check it using Acrobat reader on Windows, and the problem still exists. I suspect there was an error made (by Pages) computing the edge of the rectangle for the gradient. It renders correctly in iWork '05.
    -John

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [root@arch_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

  • Error in Preview and Print in Crystal Report Viewer 2.0.0.7 in Workstation

    Hi Guys,
    I am encountering a problem when clicking preview and print in Crystal Report Viewer 2.0.0.7. It returns an error
    Unhandled exception has occurred in your application. If you click Continue the application will ignore and attempt to continue. If you click quit, the application will close immediately. Load report failed.
    I already install the runtime crruntime_120_mlb, . net framework 3.5 sp1 and the add-on itself. The viewer is working properly in SAP Server. My version of SAP is SBO 2007 A SP00 PL10.
    Regards,
    Michael

    here's the detailed error
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text
    CrystalDecisions.Shared.CrystalReportsException Load report failed. --- System.Runtime.InteropServices.COMException (0x80004005) The device is not ready.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()
       at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()
       at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies
    mscorlib
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3620 (GDR.050727-3600)
        CodeBase fileCWINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll
    SAP_CR
        Assembly Version 2.0.0.7
        Win32 Version 2.0.0.7
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRSAP_CR.exe
    Interop.SAPbouiCOM
        Assembly Version 8.0.0.0
        Win32 Version 8.0.0.0
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.SAPbouiCOM.DLL
    System.Windows.Forms
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll
    System
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3614 (GDR.050727-3600)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll
    System.Drawing
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll
    CustomMarshalers
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll
    Interop.CR_Crypto
        Assembly Version 6.0.0.0
        Win32 Version 6.0.0.0
        CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.CR_Crypto.DLL
    System.Data
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll
    System.Configuration
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll
    System.Xml
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3082 (QFE.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll
    System.Transactions
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.Transactions2.0.0.0__b77a5c561934e089System.Transactions.dll
    System.EnterpriseServices
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase fileCWINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll
    CrystalDecisions.Windows.Forms
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Windows.Forms12.0.2000.0__692fbea5521e1304CrystalDecisions.Windows.Forms.dll
    CrystalDecisions.Shared
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Shared12.0.2000.0__692fbea5521e1304CrystalDecisions.Shared.dll
    CrystalDecisions.ReportSource
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportSource12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportSource.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.CrystalReports.Engine12.0.2000.0__692fbea5521e1304CrystalDecisions.CrystalReports.Engine.dll
    System.Web
        Assembly Version 2.0.0.0
        Win32 Version 2.0.50727.3618 (GDR.050727-3600)
        CodeBase fileCWINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CommLayer12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CommLayer.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ClientDoc12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ClientDoc.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version 12.0.2000.0
        Win32 Version 12.0.2000.840
        CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportAppServer.DataSetConversion12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.DataDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.Controllers12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CubeDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.1100.840
        CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ReportDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ReportDefModel.dll
    BusinessObjects.Licensing.KeycodeDecoder
        Assembly Version 12.0.1100.0
        Win32 Version 12.0.0.840
        CodeBase fileCWINDOWSassemblyGACBusinessObjects.Licensing.KeycodeDecoder12.0.1100.0__692fbea5521e1304BusinessObjects.Licensing.KeycodeDecoder.dll
    JIT Debugging
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example
    configuration
        system.windows.forms jitDebugging=true
    configuration
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  • CP5 and Print output

    I'm packaging some PPTs used for ILT using Captivate.  The package is going to include an .exe version and two handout versions.  One for students and one for instructors.  Has anyone attempted to add or modify the templates for the print output?
    I've just tried to use the Handout Template and it has everything scrunched in the center of the page. 
    When I use this as a handout for students I'd like the graphic more over on the left and more room for longer lines on the right for student notes.
    I'd also like to use the handout format with the slide notes for an Instructor's Handout.
    Any help would be appreciated.
    Thank you,
    Susan

    Susan then asked, "Since I've not written macros do you have a good source for learning how?" and I sent the following reply:
    "Try this link as a starting point: http://msdn.microsoft.com/en-us/library/dd721892(v=office.12).aspx
    However, I must forewarn you, to customize your Captivate documentation your macros will probably need to manipulate images, resizing and/or repositioning them. For that, you will need to learn how to use Visual Basic for Applications (VBA) to manipulate Microsoft Word's "Shapes" and "InlineShapes" collections. Initially, all the slide images in the Word document that Captivate produces are inline shapes, attached to the Word paragraph in which they occur. You can resize an inline shape, but you can't reposition it directly. You can either adjust the position and alignment of the paragraph to which it is attached, or you can convert it to a regular Shape whose position can be controlled independently of nearby text. The following procedure is one I use to position the first slide by itself on the first page of the Word document:
    Sub FloatPicture1()
        Dim iSlideCount As Integer
        Dim oILS As InlineShape
        Dim oFloatingShape As Shape
        iSlideCount = ActiveDocument.InlineShapes.Count ' this line just shows you how to find total number of pics in the document
        Set oILS = ActiveDocument.InlineShapes(1) ' this line sets up a convenient reference to the first picture in the InlineShapes collection
        With oILS ' the "With" to "End With" block lets us do multiple actions on the referenced object
            .Select ' If we hadn't done the "Set oILS" and "With oILS" steps, we would have had to type this line in full as:
                        ' ActiveDocument.InlineShapes(1).Select
                        ' and the following line as Set oFloatingShape = ActiveDocument.InlineShapes(1).ConvertToShape
            Set oFloatingShape = .ConvertToShape
        End With
        With oFloatingShape ' Now that we have floated the shape, we can set its position
            .RelativeVerticalPosition = wdRelativeVerticalPositionPage           ' these settings control how word will interpret
            .RelativeHorizontalPosition = wdRelativeHorizontalPositionPage    ' the .Left and .Top values that follow.
            .Left = CentimetersToPoints(2)
            .Top = CentimetersToPoints(6.5)
        End With
        Set oILS = Nothing ' just some VBA housekeeping here, now that we have finished with these objects
        Set oFloatingShape = Nothing
    End Sub ' FloatPicture1"
    By the way, note that when we converted InlineShape #1 to a floating shape, that would have reduced the count of InlineShapes by 1, and what was previously InlineShape #2 is the new #1. Your code may sometimes need to take that change of numbering into account.
    Trevor

  • Communication error with Epson R2880 printer using Snow Leopard 10.6.4

    I am having trouble printing with my Epson R2880 printer on my Mac Pro running OS X 10.6.4 with the most recent software updates. The printer prints about a quarter of the print and then quits giving a "Communication error" message. I have tried uninstalling and then reinstalling the printer and downloading the latest driver form Epson. My other printer, a cheap Canon printer, works fine on the computer with 10.6.4 and the R2880 printer works fine with my old G5 running 10.4.11. Any ideas?

    Thanks John. I tried deleting the Epson printer folder from the library like you said and then checked for Software Updates. But Apple did not indicate that there were any for my OS (probably because I had installed the latest OS update this morning). So I installed the driver from the Epson site with the printer folder removed. But this did not work because when I tried to print the computer indicated that there were missing files. So, I reinstalled the Epson folder that I had just moved to trash, deleted the new Epson folder, then tried reinstalling the Epson driver with the original folder in place. THIS WORKED! Finally, I am off and printing but with little knowledge gained about the inner workings of my computer.

  • Audio error with garageband and external usb audio interface

    I am using Garageband 2.0.3. under ios 8.0.2 on my iPad 3 and via camera adapter a USB audio interface Focusrite Scarlett 2i4 or a Presonus iTwo.
    When I start Garageband, it works well, the audio interfaces are recognized and I can record a track.
    As soon as I switch from instrumtent to track view, the audio path is completely disturbed and all I can hear is some noise from the speaker.
    Then I have to unplug the usb cable and plug it in again. Then audio works until I switch back to the instrument menu.
    When I use the headphone output only there is no problem with Garageband and everything works fine.
    Other applications audio applications don't show any error with each of the two audio interfaces.
    Any feedback is very much appreciated, thanks.
    Harald

    I have this exact issue.  However, I tried the Loopy app after after GB crashed and received an error message saying that core audio is not available.  Rebooting resolves but the problem repeats.  Any suggestions as to fixes?  Btw; I have no such problem with Ipad 2 and ios 7.

  • Problem with file and printer sharing

    I just installed a Linksys WRT54G to replace a D-Link wireless router and cannot reestablish my file and printer sharing since replacing the router.  I had file and printer sharing working fine before installing the WRT54G.   All of the computers are running either XP Pro or 2000 Pro.  I have two printers attached to one of my computers that I was previously sharing with all of the other computers on our home network.  One is attached via a parallel port, the other via a USB port.  
    Here's what I've tried so far without success.
    1.  The IP of the WRT54G is 192.168.1.1, and the IP's it assigns to my LAN computers begin 192.168.1.XXX.  The old IP of the D-Link was 192.168.0.1 and its LAN IPs were 192.168.0.XXX, so I've gone into my firewall and changed the settings for the range of trusted computers to correspond to the WRT54G's IP addresses.
    2.   I've tried uninstalling the printers and reinstalling them, including reinitializing printer sharing.
    3.  When I try to use the Windows  "Add printer" wizard to add a networked printer, it can see the computer that has the printers attached, but it does not see the printers.
    4.  I haven't fooled around with the file sharing settings, but they've all be lost too, so I suspect there is a common problem for both printer and file sharing.
    Any suggestions would be most welcome.  I don't know what would be different about the WRT54G that would cause this problem.

    Try this to Enable File and Printer Sharing...Turn Off the Router Firewall...Make sure the Windows Firewall is also Off...

  • Problem with exporting and printing from pages to PDF

    I have a problem with my Pages
    My font will not be embeded in my pdf files.
    I have saved as a ps file and in to the destiller and my fonts are missing.
    I need to send my file to the print shop but they will not accept my file and i now understand why.
    fonts are missing...
    Is there a workaround.
    I have no problem in Indesign or quark but pages.....
    I need help
    thanks a zillion

    The font is coming from a notation software Sibelius 4 and is namned opus
    Hmmm ... Sibelius is a music notation software and notations are marked up in MusicXML. Presumably the font file is an SFNT with TrueType splines, but it is probably not installed in OS X system folders - rather in an internal Sibelius application font folder. So presumably you do not see the font in FontBook and OS X font auditing does not apply to the font.
    Sibelius exports EPS files, right? If memory serves, an EPS is still legal even if the font resource is not embedded. And in any case, we know from the behaviour that the font resource is not embedded for some reason. So how do you get Sibelius to put the font resource inside the graphic ... normally there is a button in the EPS export procedure that gives you the option to Embed All Fonts.
    You do not seem to get this button, though. Or why else would you not have checked it already and the problem would have gone away already.
    The next point in troubleshooting this is that you are not following the path that would let OS X detect that an external font resource is not embedded.
    I go from pages-print-printer- acrobat Pro 8-save as Pdf-x
    What you are doing here is telling Pages to tell OS X to generate a PostScript program within which is nested your Encapsulated PostScript program with the call to an unresolved external font resource.
    So why does Acrobat Pro not detect the unresolved external font resource? Hmm ... did you try the Preflight option in Acrobat 8 Pro? It should provide information on unresolved embeddings.
    I have also tried pages-print-printer- acrobat Pro 8 and save pdf as postscript and put the postscript file in destiller 8 pro with defalt setting high quality print
    The whole problem with EPS and PS is that this sort of situation is possible in the first place (plus, what is worse, the PS program can include custom additions to the graphics model that then fail in the PS interpreter whence Apple GX normalizing, Adobe Distiller normalizing, and Apple Quartz normalizing). You want to get as far away from EPS and PS as possible, believe me.
    So, you have not done what I posted that you should do in the first place. If I were you, I would first get rid of the problem that the EPS is making a call to an external font and then get rid of the problem that the PostScript is preserving the external call.
    To get rid of the problem that the EPS is preserving an external call, simply open the EPS in Apple Preview which includes a NORMALIZER for EPS/PS, and then save out the graphic as PDF. Alternatively, if you don't trust Quartz for some reason, set up a hotfolder for Distiller, make sure the option to embed all fonts is enabled, and convert the EPS to PDF.
    Now replace your EPS in Pages with PDF in Pages, and don't save PostScript to disk but save PDF to disk through the proper procedure which is File > Print > PDF > Save as PDF/X [for your custom configuration of the PDF/X-3 filter considering that no sane person in North Europe prints lowend US SWOP, we use ISO].
    If you begin by telling OS X that you want PDF within which fonts are supposed to be embedded ALWAYS, then you have started the right way. Otherwise, you have not told the operating system what you want to do, and this then leads you into places where you are unlikely to have the expertise to troubleshoot problems.
    So, forget placing EPS in the first place, place PDF. And forget saving PostScript to disk, save PDF to disk. If that does not sort your problem, here is the dirty solution for professional prepress.
    Adobe Photoshop has an EPS rasterizer that has wide tolerances for poor PostScript programming (so does Adobe Illustrator 6 and higher by the way).
    Therefore, if an EPS is posing problems, one workaround is to rasterize the EPS at high resolution in Photoshop and place that high resolution PDF in your layout.
    Take care that you rasterize as 1 bit at the required resolution of the print provider, probably 2450 dpi. When you save the 1 bit as PDF, Photoshop automatically compresses to a very, very small file (don't be surprised if 15Mb compresses to something like 0.5Mb).
    Rasterizing in Photoshop should not be necessary if you simply start by telling the operating system what it is you are trying to do. Then the operating system should be able to take the right decisions for you, and tell if you if finds problems it cannot resolve without turning to you.
    Good luck,
    Henrik
    would-be technical writer

  • Dynamically generating and printing output from user input on pdf form

    Hi Everyone,
    I am consider the purchase of of Designer with the hopes of doing something really simple (and hopefully in a simple way)
    I would like to present the user with a form which they will fill out. On clicking a "submit button", I would like to generate a letter and have it print out based on the information provided in this form (note, the user doesn't ever really even need to see the letter).
    Would Designer be able to do something like this? I have been messing around with the trial version, so I am somewhat familiar with the scrip language. For instance, I am at the point where I would be able to get all the information, and generate the letter in HTML stored in a string object. But I wouldn't know what to do with this string to render and print it.
    Thanks!
    - Dave

    I have just downloaded the trial version of Acrobat 7. It appears that if you want to create a new form, it pretty much brings you to Designer... which is really fine by me.
    I appreciate everyone telling me that it is doable, I'm still left with the problem of what I should actually do to do it! =)
    - Dave

  • [Partially Solved] Error with bsdtar and symbolic links

    I'm trying to install a package (asymptote) from AUR but am running into an odd error.  During the extract phase I get errors like
    asymptote-1.70/base/asy-keywords.el: Can't update time for asymptote-1.70/base/asy-keywords.el: Function not implemented
    bsdtar: Error exit delayed from previous errors.
    I found a post that may help: http://bbs.archlinux.org/viewtopic.php?id=50750.  Do I really have to do this?
    By the way, I too am running on a Linode (Xen virtualization).
    Thanks,
    Luis
    Last edited by banbh (2009-05-24 00:22:13)

    I have not got to the bottom of my problems with bsdtar and symlinks.  I suspect it must have something to do with either my configuration (derived from the Arch image provided by Linode) or running under virtualisation.
    However, others might find my work-around useful, so I document it below.
    I downloaded asymptote from AUR using wget ("wget http://aur.archlinux.org/packages/asymptote/asymptote.tar.gz"), unpacked it, then patched the PKGBUILD
    $ diff -u PKGBUILD.orig PKGBUILD
    --- PKGBUILD.orig 2009-05-23 17:58:47.000000000 -0400
    +++ PKGBUILD 2009-05-23 18:00:49.000000000 -0400
    @@ -11,9 +11,12 @@
    'used if present at compile time: freeglut, gsl, fftw')
    source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
    md5sums=('1ded335bc63b662a6eb920a4c065706c')
    +noextract=($pkgname-$pkgver.src.tgz)
    build() {
    - cd $srcdir/$pkgname-$pkgver
    + cd $srcdir
    + tar xzf $pkgname-$pkgver.src.tgz
    + cd $pkgname-$pkgver
    ./configure --enable-gc=/usr --prefix=/usr \
    --with-latex=/usr/share/texmf/tex/latex || return 1
    make asy || return 1
    After that I simply did a "makepkg" followed by "sudo pacman -U asymptote-1.73-1-i686.pkg.tar.gz"

  • Challenge for all of you with SL and printer issues

    I have an iMac with an Epson Stylus C-88+. Let's try an experiment. Pick a sample web page, in the Title Bar, go to File/Print, or Command-P. Go to the lower left hand corner, you have the purple question, then"PDF"/ Click/ "Save as PDF"/ Click. You should be able to find a copy of that website where you save documents in pdf. Because this is all within the machine, there are NO connectivity issues. I failed both in printing and pdf. Anybody out there have better luck?

    John Blanchard: Sir, try it for yourself and come to your own conclusion. Each situation is different. I am beginning to think the problem is not just be the printer / print driver, but just may be 'Snow Leopard'. Apple needs to become more involved, not just the printer companies. You write, "Are you saying that saving to PDF doesn't work?" All I'm saying is this, "For me, it did not work. You must explore the situation to determine the functionality of your own individual system. For me, earlier on Saturday, I was printing through the printer AND printing to disk (PDF). I later did a "Software Update" including Epson Printer Update. Later in the morning, I went back online and was going to print a disk or PDF, but it would not function. I called AppleCare and explained the situation. The Tech told me to try my printer, I ask him "Well, what are we going to do?" This is the first time I discovered the problem was also with the printer. The Tech said, "YOU are going to call the printer manufacturer and inform THEM of THEIR problem." I said, I didn't get this update from Epson. I got it from AppleCare!" AppleCare wants us to keep our systems up to date. Well, I've got an updated system that is also (REDACTED). Terms not acceptable for a discussion board!

Maybe you are looking for

  • Can I use my apple Id on my iPhone and iPad 3

    Can I use my apple id on my iPhone 4 a d my iPad 3

  • OBJECT_OBJREF_NOT_ASSIGNED for Text editor

    We tried to use Text editor on a Screen which is RF enabled. It is working fine when we work in SAP. When this is being connected from LM01 the below error message is coming. Runtime error: OBJECT_OBJREF_NOT_ASSIGNED Exception: CX_SY_REF_INITIAL The

  • Remove border in list box

    Hi, Is there any way to remove the frame around the active row of list box in  CVI 5? J Attachments: lstbxctl.gif ‏3 KB

  • .bundle files...can I change them?

    Hi, I have a file that is a .bundle file...I would like to change its contents...is this possible and how do I change it? Thank you in advance...

  • 6.0 form auth and auto logout

    Hi, I have recently started using 6.0 and have configured security to force form auth. I start the server and then I open a browser and login via the form. I have noticed that after around 1.5 hours of inactivity, I get logged out. The current user i