Auto install printerdriver from CUPS with info from dns record

I have a Linux server with CUPS serving our printers. Authentication is needed to print. For easy installation on our Macs, I added my printerinfo to our DNS so that the printers are browseable in OS X Lion and Mountain Lion. This setup only partly works on Mac (it works from airprint capable clients).
When I limit the list of printers to 5 or so, I can install those printers by clicking the "+" button in the printer configuration screen, and choosing the printer from the list. The printqueue is created and the correct driver is installed. I can use the printer without problems.
When I add more printers to DNS I don't get the list of printers directly when clicking on the "+" sign (the list is too big I guess). I get the "add printer" screen, with a list of all my printers. When I select a printer, the "location" field is taken from the DNS record (that's fine), but the driver falls back to "generic PS driver" instead of the driver I have set in the DNS record.
What's the difference  between the "shortcut" when only a few printers are browseable, and the "add printer" wizard that list more of them? They seem to get the driver info  differently.
As a workaround: anyone knows how to add a printer via commandline with auto configuration, the same way as clicking the "+" sign and choosing a printer ?

Hi Eze-Oracle and Pascal Kreyer
Thank you for your reply.
Your advice was very helpful.
I have completed the zone installation like the following the  after the repository is updated.
testserver# zoneadm -z kudotest01 install
The following ZFS file system(s) have been created:
    rpool/zones/kudotest01
Progress being logged to /var/log/zones/zoneadm.20141217T021103Z.kudotest01.install
       Image: Preparing at /zones/kudotest01/root.
AI Manifest: /tmp/manifest.xml.OSaiXo
  SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
    Zonename: kudotest01
Installation: Starting ...
              Creating IPS image
開始 linked: 1/1 done
              Installing packages from:
                  solaris
                      origin:  http://localhost:80/
ダウンロード                 パッケージ  ファイル  転送 (MB)  速度
完了                               187/187   34347/34347  248.9/248.9  2.4M/s
フェーズ                                  項目
新しいアクションをインストールしています 48240/48240
パッケージ状態データベースを更新しています      完了
イメージ状態を更新しています      完了
スピード検索データベースを作成しています      完了
Installation: Succeeded
        Note: Man pages can be obtained by installing pkg:/system/manual
done.
        Done: Installation completed in 223.473 seconds.
  Next Steps: Boot the zone, then log into the zone console (zlogin -C)
              to complete the configuration process.
Log saved in non-global zone as /zones/kudotest01/root/var/log/zones/zoneadm.20141217T021103Z.kudotest01.install
testserver#
Best regards
ken

Similar Messages

  • Problems with Binding and DNS records

    I haver an issue where a DNS A record is only created when binding machines to the top of the forest. If I bind a machine to any other domain within the forest an (A) record is not created. IN other words xyz.com works but if I put the machine in region.xyz.com an (A) record is never created. Any help would be greatly appreciated.

    The data is filled when the list source or target iterator is executed during bindingContainer.refreshControl() call.
    The method that performs list population is 'JUCtrlListBinding.setupListItems'.

  • I have a htc wildfire, and if i try to install firefox from android market place it says that my device is not compatible with firefox. how can i install it ?

    i have a htc wildfire, and if i try to install firefox from android market place it says that my device is not compatible with firefox. how can i install it ?

    According to a random website... the HTC Wildfire S uses a Qualcomm MSM7225 processor. This processor unfortunately does not support the full ARM version 7 instruction set, so Firefox cannot run on it.

  • HT3546 I can't figure out how to install bonjour from the CD that came with my airport express.  Can anyone help?

    I can't figure out how to install bonjour from the CD that came with my airport.  Can anyone help?

    If you are having difficulties installing Bonjour from the Installation CD, you can download the latest version of Bonjour from here.

  • Launching xcode from nfs share (Ensure that Xcode.app is installed on a volume with ownership enabled)

    Hi!
    We have mac mini (Yosemite) and NFS server under Ubnuntu 14.04.
    Also we have xcode resides on NFS share that mounted to mac.
    Problem: When I try launch xcode from nfs share I got error message:
    NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled
    You can see full error here:
    https://gist.github.com/keferoff/fcfd3ea6c13f6ba481fa
    The question is:
    How I can launch xcode from nfs share? For some reasons I can't use xcode-select or store several xcodes locally.
    Thanks in advance!

    It's cool answer but I need solution how to accomplish my task. Maybe I can use iSCSI device or NBD device ot maybe there we have some NFS mount options?

  • I installed lion from the internet, i wanted all the stuff on it erased but it didnt do it, how do i get my computer to factory settings so it is like it was new just with a fresh copy of lion on it

    i installed lion from the internet, i wanted all the stuff on it erased but it didnt do it, how do i get my computer to factory settings so it is like it was new just with a fresh copy of lion on it

    Music is not included in the backup (and nor are films or tv shows), only the contents of third-party apps are included. Did you not do File > Transfer Purchases when connected to your computer's iTunes to copy your iTunes purchases over, and/or have you not got a backup copy of your music somewhere e.g. on an external drive ?

  • I have a table with info and would like to select an item from that table

    Hi
    I have a table with info (course info that I searched for) and would like to select an item from that table to use for further use in my application.
    It must work more or less like the tree structure where I can use an On Action select.
    In other words; let say I am looking for all courses with "Advisor" it its descriptin / name, I want to click on one of the names and use it lets say to book people on.
    Could some please assist me with this.
    Regards
    Debbie

    Hi
    The datasource for my table is the node searchcatalog.  Under this node there is an attribute calles description where the items found are displayed.
    I changed my code as follow:
    data: ls_table type wd_This->Elements_searchcatalog,
          lr_element type ref to if_wd_context_element.
      DATA lo_nd_searchcatalog TYPE REF TO if_wd_context_node.
      DATA lo_el_searchcatalog TYPE REF TO if_wd_context_element.
      DATA ls_searchcatalog TYPE wd_this->element_searchcatalog.
    navigate from <CONTEXT> to <SEARCHCATALOG> via lead selection
      lo_nd_searchcatalog = wd_context->get_child_node( name = wd_this->wdctx_searchcatalog ).
    @TODO handle not set lead selection
      IF lo_nd_searchcatalog IS INITIAL.
      ENDIF.
    get element via lead selection
      lo_el_searchcatalog = lo_nd_searchcatalog->get_element(  ).
    @TODO handle not set lead selection
      IF lo_el_searchcatalog IS INITIAL.
      ENDIF.
    get all declared attributes
      lo_el_searchcatalog->get_static_attributes(
        IMPORTING
          static_attributes = ls_searchcatalog ).
    lo_nd_searchcatalog->get_lead_selection->( exporting index = wdevent->index importing
    element = lr_element ).
    lr_element->get_static_attributes->( importing static_attributes = ls_table ).
    wd_context->set_attribute( exporting name = 'SELECTED' value = ls_table-description ).
    When I try to activate it errors with: List elements that take up more than one line is not allowed.  This error at the sentence: lo_el_searchcatalog->get_static_attributes(
    If you cannot assist me further I will understand.  Thank you.

  • Cant install software from disk. Terminal window opens with a logon and bash message?

    I cannot install software from disk & in some cases download.
    If any software disk is inserted the terminal window appears.
    The Disk has to be clicked to open the contents but install files or package files show as a blank doc and not the usual yellow package icon.
    All that shows is a log on message in the terminal window, but nothing about install.
    I thought Drive issues but the drive plays audio and DVD perfect
    I cannot install:-
    Office for mac updates
    Live Interior 3D (managed to install from download)
    ION Audio Converter
    This has only come to my attention in the last couple of weeks.
    The machine is a late 2011 with Lion installed

    Contact Apple Service, iMac Service or Apple's Express Lane. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine.

  • Update Rows with info from other Rows in Same Table.

    I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". So what am I doing wrong here??? How can I update only the rows that where also in last months run???
    Thanks in advance for any help!
    Update OpenIssues OI1
    Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
    (Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
    From OpenIssues OI2
    Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    SQLMe

    Hi,
    Welcome to the forum!
    SQLMe wrote:
    I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". If the aliases c1 and c2 aren't defined anywhere, then you can't use them anywhere.
    The WHERE clause of the UPDATE statement can only reference the table being updated, ot1 in this case.
    So what am I doing wrong here??? How can I update only the rows that where also in last months run???
    Thanks in advance for any help!
    Update OpenIssues OI1
    Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
    (Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
    From OpenIssues OI2
    Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    ------------There's a syntax error in the last line. Either something got lost when you posted the code, or you just don't want the keyword AND. You certainly don't want AND immediately after WHERE.
    In general, if it's not obvious how to do an UPDATE, then UPDATE is the wrong tool: you want MERGE instead.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Simplify the problem as much as possible. Remove all tables and columns that play no role in this problem.
    If you're asking about a DML statement, such as UPDATE, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Cannot install lion from mac appstore. i have a macbook pro early 2011 model with 10.6.8 and i keep getting a wierd error NSInternalInconsistencyException i have no idea what to do.

    I cannot install lion from mac appstore. i have a macbook pro early 2011 model with 10.6.8 and i keep getting a wierd error NSInternalInconsistencyException i have no idea what to do.

    I changed my wireless broadband to a landline-base DSL wifi and it works like a charm. Sun was the culprit even you fiddle with its router and disable firewall, it won't work.
    try changing yours too and let me know how it goes.

  • I have Snow Leopard ver.10.6.8 and I have uninstalled iwork, because I don't have the equation writer on pages. So I re install it from the iwork's disk and when I tried to open any of the Apps, the system told me "  check with the developer  to make sure

    I have Snow Leopard ver.10.6.8 and I have uninstalled iwork, because I don't have the equation writer on pages. So I re install it from the iwork's disk and when I tried to open any of the Apps, the system told me "  check with the developer  to make sure Keynote (for example) works with this version of Mac OS X "
    iwork was running in my computer just a few moment ago !
    Can anyone tell me what can I do? thanks

    So I re install it from the iwork's disk
    Did you repair permissions and restarted your computer after the installation?  Check SU? 

  • Flash Player 11.6.602.180 installed on Win 7 with IE and can never play videos from

    Hi, I installed Flash Player 11.6.602.180 installed on Win 7 with IE and can never play videos from this site http://w3.newsmax.com/newsletters/uwr/video_hyman.cfm?s=al&promo_code=12CF6-1
    any idea what this site is looking for ? thanks bill m

    What do you see instead of the expected Flash content?

  • Trying to install PSE13 from DVD.  Stops when ask to sign in with Adobe ID

    Trying to install PSE13 from DVD.  Stops when ask to sign in with Adobe ID. How do I get by this?

    I am having the same issue. I have contacted Adobe multiple times and keep getting the same answers."We are working on it and should have a answer in 1-2 days." I've been doing this for almost 2 weeks now. Have you gotten any answers yet?

  • How do download and install firefox from redhat command prompt step by step with commands

    How do download and install firefox from redhat 6 command prompt
    Im new to Linux so would appreciate step by step details with commands

    Is your Windows Vista 32 or 64 bit?
    To find out if your computer is running 32-bit or 64-bit Windows, do the following:
    Open System by clicking the Start button, clicking Control Panel, clicking System and Maintenance, and then clicking System.
    Under System, you can view the system type.

  • 10.5 DVD won't Install. Problem with Driver. Can I instal it from ext. HD

    My old iMac driver is e=getting older, after 6 years.
    I wanted to re-install OSX 10.5 to make a clean install but the driver doesn't read the DVD (original one).
    I heard I could install OSX from an external HD but not sure about the procedure.
    Thanks!!!

    No big deal, but it still is open. When posting questions on  Discussions, one should select if a question has been answered, so it is easier for others to find the solution, too. For this reason you can select Helpful and Solved.
    See this short introduction for more info: http://discussions.apple.com/help.jspa#answers

Maybe you are looking for

  • Mini DisplayPort to DVI-D Dual Cable/Adapter for mid-2010 iMac?

    Hi . . . Sorry to pester with a question that's been covered from various angles before, but I'm new to the Mac world. Am a musician in BC, Canada doing a project remotely with people in Ontario. Decided to ditch my PC-based recording rig and went wi

  • I changed more than 5 Macs and forgot to deauthorize them

    How can I deauhorize my computers if they have been sold? I cannot sync my iPhone anymore because I cannot authorize my new Mac. It says I'll have to wait until September 2012 to remove all my computers. I need help with this! Thanks

  • SQL REPORT LIST ITEM DEPEND OTHER ITEM

    i have report sql depend other item list values, but not funtion. Select column_a, -- (countr) null column_b -- (city) from table_name_a I have list_values lov_city select codigo d, id r from table_city where country = ????? --(column_a ) in Report A

  • Connection keynote remote - keynote freezes... help!

    Hi there! I am using keynote for a couple of years for business presentation, the last year using keynote remote on an iPod touch, which works fine, connects via Wifi with the main computer and so it goes! Then came iOS 4.0... and: without any chance

  • Regarding  Oracle BIEE AutoRefreshing

    Hi I have created BI dashboard. It is showing Historical data. but suppose some data have been changed then it is not showing that changed data until I refresh that page. then is one button given to refresh data. That we have to used for refresh. but