SOLUTION - Using lpoptions command in Leopard

I've been wrestling with the lpoptions command for 2 days trying to figure out CUPS printing in Leopard. A new feature in Leopard was overriding the command line request to switch printers and I thought I would post it here.
Simply check an option other than the Last Printer Used option for Default Printer in the Print & Fax, System Preference. Seems so simple in hindsight, but it was a pain to get there.
Don't forget to re-enable CUPS shared-printer listening as well if you're on a network.
Hope this helps

Thank you very much for your reply.
Upon changing the query to as you suggest, I am presented with the following:
Error In SQL Statement Expression. "SELECT *  FROM TESTLIMITS WHERE ModelNumber_Number = " + FileGlobals.ModelNumber
Specified value does not have the expected type.
The type of FileGlobals.ModelNumber is a numeric represented as a double precision 64 bit signed integer.
The database column is also of type int 64.
Can you suggest a solution?
Many thanks.

Similar Messages

  • How can i install snow leopard on my mac G5 using a command line and booting from an external usb rom, since my disk i have is not a bootable media

    How can i install snow leopard on my mac G5 using a command line and booting from an external usb rom, since my disk i have is not a bootable media

    Hi.
    You simply can't. Snow Leopard is compiled in Intel binary only.
    Good Luck.

  • Using Mac OS X Leopard

    We got a new iMac, naturally with OS 10.5 for Intel. My qustion is how do you use Mac OS X Leopard ?
    1) Photoshop does not work.
    Note: I mostly use ImageMagic as my photos (hobby/family) mostly need little correction, but once in a while you want to play with layers and selections!
    2)GIMPshop does not work
    Note: see 1.
    3)Printing to OS X 10.3 shared printer does not work
    Note: it works from 10.4 laptop and the command >cupsctl BrowseProtocols='"cups dnssd"'< does nothing to me.
    4)SogudiBeta does not work
    Note: I know it works for some other people with my setup - but not for everyone and not for me.
    5) NeoOffice does not work
    Note: I wanted to look at a file and grabbed PPC version from my laptop - it opens and stays at the Dock, but no windows/menues is shown. Is it so Rosetta supposed to work?
    6)MatLab cannot find java, so the interface and debugging are broken. Graphics works, but X11 has to be freshly started along with MatLab.
    Now, i am a power user, and I might solve at least some of this (and other) issues. But am I supposed to @#$% with or to use new computer? Now 10.5.4 looks more like a PublicBeta.
    My problem is that before, I had only PPCs, so I have no suitable 10.4 disks to downgrade. Any thoughts?

    Thank you for the interest.
    1) I use (in 10.4) exaclty the one which does NOT work (in 10.5) - 7. At least I did not find a solution in google. I once solved the same problem with v6 (classic) which did not work in Classical environment of OS X. I found and removed accelerating plugins incompatible with Classics.
    2)You see my needs - I am not a graphical designer! I just want to have convenient set of menus I am used to. So I want shop.app, and not just .app.
    3)http://support.apple.com/kb/HT2275 - they know about it, but there solution does not work.
    4) it is a luck of an obvious functionality AND the drop of support to the Input Managers in 10.5 which drives me crazy.
    5)When the same kind of problems appeared in OS9 -> OSX transition it was the extensions that were broken in Classics. Here I am confused as I do not understand what is broken under Rozetta and how to find it to disable.
    6)There is only one thing you should know about MatLab - every next version cost to the user 1000$. Matlab R14 works, I know, but I have to use a remote license and update every 24 hours. But why should I break with my local R13 install I do not understand. I mean once again, like with Photoshop - I need a limited set of features, i could go for Octave (free) but it is again just to spend (=waste) time.
    My point is, that the only added functionality is the video playback. It plainly works, and works better. The preserved functionality is Office (via Rosetta). The rest is either yet undeveloped or broken. Looks like we should first install Windows/Linux on a separate partition, then get used to it and then forget about OS X. One need no OS X to have Matlab/Firefox/GIMP.
    The 10.5 box I got looked more like a web-enabled TVset and electronic typewriter. The other functionalities are to be built from scratch. Or downgrade to 10.4.

  • Search box text used by command-F search - can this be changed?

    I started using Safari much more in Leopard than I previously did before. One annoying thing I have discovered is that if I use the search box to search the Internet, whatever I entered now becomes the search text when I use command-g (Find again) or command-f (Find).
    This is not the behavior I am accustomed to with Firefox. In Firefox using the search box has no affect on the text used by command-f (Find) and command-g (Find again).
    I have looked through the preferences and options but haven't found anyway to change Safari's behavior. Do you have a solution?

    Hi Duane,
    I must admit you have me stumped as well. I noticed that command-f also picks up what I last entered in Spotlight and the search text is retained across Safari restarts.
    For the life of me I can't see where it's picking this information from. I even searched all my user files via find/grep to see where it was storing it between starts - nothing found...
    The only good thing about the 'weirdness' is that the search text is selected by default so you can immediately overwrite it.
    Very odd...

  • Alert sound every time I use the command key

    Hi, I thought I'd try posting a new topic in case anyone's found the solution for this (I hope!).
    Ever since updating to Snow Leopard, everyone in my office is getting an alert sound (in my case, "funk") whenever we do a shortcut using the "command" key, eg. "command-n", "command-s", "command-w", "command-q", etc.
    It's very annoying, and no one can find a way to turn it off. We've simply had to turn our overall volume down to 0, but of course that doesn't work if you want to listen to music with headphones.
    It was never an issue with previous versions of OS X, but as soon as we all upgraded every one of us had this issue. Has anyone else?
    Thanks,
    Kevin

    Okay, so I came up with a workaround... not a solution to the root of the problem, but a workaround.
    I made an AIFF file that's one second of silence, saved it as Silence.aiff and placed it in my System > Library > Sounds folder.
    Then I went to the Sound System Preferences, and changed my main alert sound to "Silence".
    The only problem with that is any time you would normally want to hear the alert sound you won't hear anything, for example when a dialog box pops up asking you if you want to save before quitting. But any other sounds are still just fine.

  • Connecting to Exchange Server 2013 using IMAP command gives authenication error

    Hello All,
    My application (it is a C# code) connects to Microsoft exchange server 2013 using POP3 and IMAP, processes the emails, marks as read and move to particular folder if it is processed successfully else to an different folder.  In this sometimes,
    I am getting authentication failed error from IMAP however same mail is processed when it is executed next time. Few times it is processed with out error. I am not sure what is causing this issue.We are connecting to IMAP using tcpIMAP command.
    This is the same application which we used with exchange server 2010 now we are upgrading to exchange server 2013. I have verified that the setting of exchange 2010 and 2013 are the same.
    To verify the IMAP command I created a sample application using C# which will try to connect to IMAP service and log in to exchange server 2013; it fails to authenticate the user after connecting for few times and then it starts to authenticate
    successfully then again fails for few times and then authenticates. I am not sure why this is happening. 
    Please suggest how can I resolve this.
    Thank you, Santha

    Since I've upgraded to Snow Leopard I've also moved from Entourage 2008 to Mail, iCal & Addressbook with the new Exchange support.
    My company exchange server is Exchange 2007.
    Mail works fine except the occasional Mail crash.
    iCal worked fine the first two days and then it came with an error the it cannot connect to the Exchange server and asks me to type my email address again. Doesn't work so I need to put my exchange calendar in iCal in offline. But now there is no syncing with the Echange server.
    This only occurs when I add a meeting request in iCal.
    My Exchange administrator has reset my mailbox on the Exchange server.
    This helped for about 4 hours. Now it's the same problem.
    I have a feeling the when you setup your exchange account in Mail it uses different settings for Mail and iCal with the autoconfig.
    Anybody has a solution? My Exchange admin cannot find any problems on his side. Do I need to make changes on my iCal client or do we need to wait for OS 10.6.1 ?

  • Using USB drive between Leopard and Snow Leopard

    I have 2 USB drives that were formatted as Mac OS Extended (Journaled) on a Leopard Macbook Pro. I have had no troubles when using these drives between Leopard OS machines however when i try to copy files to them from a Snow Leopard machine an error message appears.
    Secondly when i tried to copy files from the USB onto the Snow Leopard (Macbook Pro) only the folders were visible and not their content. When I "Got Info" on the USB via Snow Leopard it showed that data space was being used.
    Can anyone tell me if Mac OS Extended is the standard Mac format type then why this might occur and hopefully a solution? I would like to upgrade to Snow Leopard but do not want to lose the data on my external drives formatted on Leopard.
    I appreciate the brains trust!!

    Was the computer that didn't work logged on to the "owner' of the images own account, or were you using a 'guest" log-in, kicks?
    If the different computers were set up in a different fashion for such things then it might explain the different behaviour.
    Another thing that could prevent a Mac writing to an external drive would be if the external drive itself is formatted with the NTFS file system (common on many windows drives). Unless the mac concerned has additional software installed then it can't write to an NTFS drive. Perhaps the ones that could write have the necessary patches installed?
    A final issue may be power. Was this a self powered drive or a bus powered drive? Computers that follow very closely the official USB specs often have trouble powering a "bus powered" drive effectively from a single port. In this case trying a "Y" cable, letting you connect to two USB ports on the same computer, will usually get things working. Some Macs seem better than others in this situation, and even the actual USB port used may make some difference.
    Cheers
    Rod
    Message was edited by: Rod Hagen

  • Have reformatted my Imac using original discs (installed leopard (10.5)) tried to do the software update but it cant download the itunes update and when it gets to the configure update screen after restart for main update, it just gets stuck. HELP!

    have reformatted my Imac using original discs (installed leopard (10.5)) tried to do the software update but it cant download the itunes update and when it gets to the configure update screen after restart for main update, it just gets stuck. HELP!
    The configure bar gets about an 1/8 full and then just does nothing. I think its lists the update as combo update? cant remember with out checking.
    I have tried to do the disk verify and repair but this has made no difference.
    Please let me know what i need to do, I have reformatted the mac just to start over as was clogged with a lot of useless data, I had installed lion (10.7) from the app store previously and now cant seem to find a way to re install lion. I hope I dont need to pay for it again?

    If you erased your hard drive, you'll need to reinstll OS X 10.6 Snow Leopard to access the App store. You won't have to pay for OS X 10.7 Lion again. Did you try booting to the recovery partition by holding the command and r keys down? If that's still there, you can reinstall OS X 10.7 from there.
    If you're looking to install the current iTunes, you need OS X 10.6.8 at a minimum.
    If you're still trying to update OS X 10.5 Leopard, you can download the combo update from here.  Download, use Disk Utility to repair permissions, apply the update, then repair permissions again. That will take you to OS X 10.5.8.

  • Getting Errors while using IMPDP command in UNIX

    Hi All,
    My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
    I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
    so please tell me what are the actual problems that might cause the IMPDP to be failed.
    with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
    But i feel that every time starting and stopping the listener is not the correct solution.
    so please help me in this regard.
    Regards
    Naveen R.

    The error i am getting is...
    UDI-03113: operation generated ORACLE error 3113
    ORA-03113: end-of-file on communication channel
    Process ID: 6208
    Session ID: 346 Serial number: 298
    UDI-03114: operation generated ORACLE error 3114
    ORA-03114: not connected to ORACLE
    [user1@node1 cpt]$
    DB version is 11.1.0.6.0
    os is.. Red Hat Linux

  • Problem in loading large data to SDE using Shp2sde command

    Hi,
    When we try load data to SDE (Oracle 8.1.5, Sun solaris 2.6)using shp2sde command, we get the following error message and the data is loaded partially:-
    " SDE: Shape #2560 is an invalid entity type for layer station.
    3337 features converted
    3337 features stored "
    The shape file had 4352 features of type point.
    If the same data is splitted into 2 (one having 1906 features and another having 2446 features), there is no problem in loading.
    The giomgr.log file had the following lines corresponding to this
    loading.
    Process 9512, R/T calls 14, features read 0, wrote 3337, locks 0,
    buffers 1, partial 0, buffered features 3337, buffered data 555K
    We suspect this is due some size specified somewhere which limits
    loading of all the data. So our DBA granted SDE user quota unlimited to SDE tablespace. After the granting, everything works fine, we can load the data. But when we restart the server, the same error appear again.
    We are encountering this error in production but not in the devt environment. We urgently need to solve this problem. Anyone has solution to this problem?
    Thanks.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gerjan Walrecht ([email protected]):
    What is your commit interval? (-c ...)<HR></BLOCKQUOTE>
    My commit interval is 1000. Even if I reduce the commit to 500, the result is still the same.
    I was wandering is there anywhere where Oracle limit the size of the loading? or Kernel.. etc
    null

  • Using iCloud in Snow Leopard

    I have spent the better part of a morning researching how to use iCloud with Snow Leopard.  I found that iCal Contacts and Mail can be synced with iCloud on Snow Leopard.  There are several posts on how to accomplish this.  I was sucessful in setting up my iCal to sync with other devices using iCloud on Snow Leopard. 
    I have tried at least a dozen times to get my Contacts to sync with iCloud and Snow Leopard after finding several posts with explicit instruction as to how to do it.  However, every atempt has failed.  Each of the instructions I followed were slightly diferent.  I have not found one that worked.  Blog posts are filled with success stories of how others have gotten it to work, but not me.  I can set up Address Book with an iCloud account but when I select iCloud as my list of addresses, all I get is a message saying "no Card Selected."
    I am very frustrated that I canot get this to work while others sing praise of their success.
    If anyone has a definitive answer as to how to get Contacs to sync through iCloud in OS 10.6 (Snow Leopard) please let me know.
    Thank you.

    There is no definitive answer, iCloud is not supported on Snow Leopard, so you are reduced to hacks which may or may not work.
    Google for Contacts solutions, there are some, some which work, some which don't. And some that do and then don't.
    If you want a supported solution then you must use Soho Organizer, it supports iCloud on Leopard through Mavericks. But it's $99

  • Using Xgrid in Snow Leopard - two issues/questions

    running snow leopard server on a mac mini.  set up as the controller.
    1) on my imac, i turn on xgrid sharing and it turns itself off
    2) with my laptop and the server running, i submit an applescript to the xgrid, and all it does is fail
    So, I would like to get the imac on the grid, and know how to run an applescript over the grid.  I am using a command like this:
    xgrid -h localhost -job submit /Users/chriswork/Documents/opticon3.scpt
    Any help or suggestions are appreciated.
    thanks.

    A bug exists to implement the feature - it is not yet done. Follow along at https://bugzilla.mozilla.org/show_bug.cgi?id=688990

  • Create WiFi Hotspot using the command promt

    I was trying to create WiFi Hotspot on my Windows 7-32bit running laptop using the command promt method after followinng the instructions from here >> http://www.techswatch.com/2014/11/create-wifi-hotspot-windows-87-command-prompt.html However, the problem is, after creating the hostpot, when I enter the password it does get connected but I cannot access the internet. I am sure that I have entered the correct password else it wouldn't have got connected. Any idea what could have gone wrong? Any help would be apprecited. 

     
    Hi ihtisham301, 
    Thank you for visiting Sony Community! 
    Try to connect any different device to your home network. If other device can't connect then you may contact your Internet Service Provided (ISP) for further assistance. 
    If other device can connect, then try to isolate the issue. You mentioned you cannot connect to the network but you were able to enter the credentials before connecting to the network. Try to ping any website, Start -> search cmd -> once in command prompt, enter ping googe.com and hit Enter. Check the Ping statistics. Try to ping your router as well. ping [router IP address] then hit Enter. Also boot the laptop in Safe Mode with Networking -> turn off the laptop, press the power button and immediately, tap the F8 key repeatedly. Once in Advanced Boot Options, select Safe Mode with Networking. 
    I'm not quite sure about the process that you did. I never tried that before. And another thing is, it seems that you are using a non-U.S. model of Vaio. We usually have Windows 7-64bit computer. We have limited information with non-U.S. model of laptops. 
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    Hope my suggestions help. 
    Thanks,
    Vincent 
    If my post answers your question, please mark it as "Accept as Solution"
     

  • How to use split command in upload program

    Thanks for all ...for their quick response for my previous query.
    Iam continuing with the same upload program,now i have transfered the data from internal table to application server,now iam trying to upload this to database,while doing this iam using split command for spliting the records,but its not at all spliting,can u give me a solution for this.

    OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      if sy-subrc <> 0.
        PERFORM messaging USING 'E' '001' text-e10 p_file space space.
      else.
        DO.
          READ DATASET P_file INTO WA .
          IF SY-SUBRC <> 0.
            EXIT.
          ENDIF.
          REPLACE ALL OCCURRENCES OF '"' IN WA WITH ''.
          CONDENSE WA NO-GAPS.
          SPLIT WA AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
          INTO wa_infile.
          append wa_infile to it_infile.
          clear wa_infile.
        ENDDO.
      endif.
    try this...
    vijay

  • Permissions will not set, even after using terminal commands?

    Hey,
    I found a thread on here for using the terminal to type in commands for the user permissions and for the PSIX permissions on Leopard (10.5) server.  These commands are supposed to clean the server of all underlying(hidden) permissions that you cant see and then you are supposed to be able to then set the permissions again and finally, to hit "Propagate Permissions" so that all the permissions set for the shared volume then get farmed out to all sub files/folders.  This did not work when I tried it in the terminal, it said "Command not found" even after I typed in the admin password.  Is there anyone out there who can tell me the actual way to fix the old permissions and get new ones set?
    The story is:  We had an old server on a G4 when i first took control of the server, I took the shared hard drive out of the G4 and inserted it into a G5 and started using it with the leopard server.  the permissions did not really need to be set on that volume because they had carried over from the last time they were shared.  But we recently just got a Drobo unit for our server and I recently transferred all the shared files and folders over to the new volume, but ever since I cant get the permissions to farm out to all the stations, it shows me that its done on the server.  But when I go to access the files I am able to delete faculty folders where I had set the permissions to "read only" so I am wondering if there is a streamlined way of going about this or if I should just start from scratch and use all brand new HDD's?
    Please Help!

    Hi ..
    Try the tips mentioned here > Mini-tutorial: Force-deleting stubborn or problematic files in Mac OS X

Maybe you are looking for

  • HELP ! NO DVCPRO HD 720p capture preset

    I'm about to start a job shot on DVCPRO HD 720p 25 PAL on Friday, but through research I thought I could capture at this rate, I've just found out that you can only do it of P2...... Any ideas? Matt Help...........

  • HT5634 boot camp 3.1 will not install

    I have upgraded my operating system to Windows 7 Ultimate from Windows Vista Ultimate.  When I use apple update on the windows operating system, it shows that there is an update for boot camp.  I have bootcamp 3.0 and the update is 3.1.  However, aft

  • How to extract war file

    how to extract war file? explain technoloby behind in war

  • How do I set view options for all playlists at once?

    Hello, I want to able to set the view options for all my playlists at once (to include BPM, category etc). Currently you can only do this individually for each playlist. Surely there is an easier way?

  • SortcompareFunction is not working properly for more than 1 column in advanced datagrid

    Hi Guys, I am using an advanced datagrid with groupingCollection. I have more than 1 grouped column. How ever I am using 2 sort compare function to sort date and time. The problem is when I am trying to sort date its workinf properly then when I jump