VDI: how to assign printers to pools? (Virtualbox)

In VDI 3.2x and 3.3 there are per-pool-settings by which you can define that certain printers should show up in the desktop VM's. However ... I am not really sure about a few things here. The only explanation given in the wiki and in the documentation is that the syntax is:
<printer>=[<driver>]
(URL here: http://wikis.sun.com/display/VDI3dot2/Desktop+Pool+Management+%28All+Topics%29 )
OK, but how exactly am I supposed to do this?
The print-server at customer's site is a Windows 2008 server, so printer queues have a SMB-style notation, e.g. \\Printer-Server\PR08, \\Printer-Server\PR09, and so on ... how can I tell pool A to use \\Printer-Server\PR09 and e.g. pool B to use \\Printer-Server\PR32 ...? (All desktop VM's are Windows 7, 32-bit). Do I need to configure those Windows printer queues locally on the VDI cores?
Or how exactly is this done? Can someone please post an example?

This redirection refers to local printer queues. So you would have to first set these up on the Ray or VDI server (printmgr is your friend here) and then you can use this to redirect into the guest machines.
Bjoern

Similar Messages

  • How to assign Function key in Module Pool Program

    Dear all,
             I have created the program in MPP.  I have to assign function key for this program.  How to assign it?
    With Regards,
    Baskaran

    HI
    Double Click on your Screen and then Elements Tab, give OK_CODE of OK_CODE.
    Now in Click on Flow Logic Tab , uncomment MODULE STATUS_YOUR_SCREEN_NUMBER. Create this.
    Here you find SET PF_STATUS Just Double click on this this will enable you to Assign Function Keys.
    If you want to Assign Function Key to the Push Buttons that you created Double Click on the Push Button then on the Attributes Screen you can enter the Funciton Code for this Push Button,
    Hope this is Very Clear to you.
    Cheers
    Ram

  • BUG in VDI 3.1 printer settings per pool?

    We make use of VDI 3.1
    Our users are directly connected to virtual Windows XP machines.
    For a number of users I want to make use of an USB printer connected to the SR.
    I'v created a queue:
    # /usr/sbin/lpadmin -p printer01 -v /tmp/SUNWut/units/IEEE802.<mac-address>/dev/printers/Prolific_Technology_Inc.2305-202
    # /usr/bin/enable printer01
    # /usr/sbin/accept printer01
    I opened a regular solaris session on the SR and tested if the printer with the "HP LaserJet 6P" gets installed in the VM with the following command:
    /opt/SUNWuttsc/bin/uttsc -r printer:printer01="HP LaserJet 6P" wxpvm
    That worked.
    So i opend the Sun VDI managment interface and went to Pools, selected a pool, tab settings, checked Use Customized settings
    Saved settings and opened the "Edit Sun Ray RDP Settings"
    I added a printer + driver combination like:
    printer01="HP LaserJet 6P"
    Because it is the only printer it becomes the default printer.
    I put my token in the SR and from the desktop selector screen I select a VM from the pool I've added the printer to.
    The SR tries to connect but after a few seconds the VDI login screen reappears..
    I tried again but the again after a few seconds the VDI login screen reappears..
    I did some reading and after some time i've found a solution.
    Because the printer i need is an default Windows printer the driver gets installed form c:\windows\inf\ntprint.inf
    For the "HP LaserJet 6P" printer this file has a line:
    "HP LaserJet 6P" = HPLJ6P.GPD ,Hewlett-PackardHP_La1EE3,HP_LaserJet_6P
    I modified this file by adding an extra line to it like
    "HPLaserJet6P" = HPLJ6P.GPD ,Hewlett-PackardHP_La1EE3,HP_LaserJet_6P
    Then I went to the VDI administrator interface removed the printer i added earlier an added a new one:
    printer01="HPLaserJet6P"
    This time when i tried to connect to the VM i got logged in and the printer was installed like it was supposed to.
    My conclusion is dat the VDI 3.1 scripts which reads the pool settings contain a bug.
    A printerdrive containing a space " " is not handled like it should be
    Has some one the same experience or has someone an updated script which I can use so that I can use the original printer driver description?

    I tried with 6 GB RAM in the machine instead, when the machine was using 1.97 GB (according to the VDI interface), and it still comes out with the same error messages.
    How about those iSCSI error messages I am getting? "Desktop Kubuntu 9.10 failed to start, probably due to failed iSCSI login, retrying..."
    There shouldn't be anything else I should do besides activating the iscsitgtd service, is there?
    I can see that the ZFS file system with the VM is shared through iSCSI:
    root@vdi:~# iscsitadm list target -v
    Target: rpool/8c09da3f-61f9-4250-b2b3-26a3308db734
        iSCSI Name: iqn.1986-03.com.sun:02:dc3528c9-ddef-caa6-feb6-e508feca093a
        Alias: rpool/8c09da3f-61f9-4250-b2b3-26a3308db734
        Connections: 0
        ACL list:
        TPGT list:
        LUN information:
            LUN: 0
                GUID: 600144f04b1698990000304892d5f800
                VID: SUN
                PID: SOLARIS
                Type: disk
                Size:   20G
                Backing store: /dev/zvol/rdsk/rpool/8c09da3f-61f9-4250-b2b3-26a3308db734
                Status: onlineShould I see it be mounted somewhere?
    Also, 'iscsiadm list discovery' shows me none of the discovery methods are enabled, but at least one of them should in order for the server to mount iSCSI, to my knowledge, shouldn't it?

  • How to create a class pool

    Hi how to create a class pool when i tried to create it has shown the following error
    <b>Unable to change program from or to type K
    Message no. DS165
    Diagnosis
    You tried to assign a type to a program that cannot be assigned in the program attributes, but can only be set internally by one of the tools in the ABAP Workbench.
    The following program types are reserved:
    F Reserved for Function Groups
    Function groups are adminstered by the Function Builder, and you can only create or delete them using the Function Builder or the Object Navigator (Transaction SE80).
    K Reserved for Class Defintions
    Class definitions are administered in the Class Builder. You can only create or delete them using the Clas Builder or the Object Navigator.
    J Reserved for Interface Definitions
    Interface definitions are administered in the Clas Builder. You can only create or delete them using the class Builder or the Object Navigator.</b>

    Hi,
    Though you get a popup for different options for different program types like Class pools, function groups etc in SE 38 Program attributes, you can't create them from Se38 transaction.
    They have to be created from different places.
    Class Pools are nothing but creating CLASSes and INTERFACEs using the T Code SE24.
    This needs little Java/OOPs concepts to create and use them.
    Hope this helps.
    Regards,
    Anji

  • How to create Union Time Pool using accruals ???

    Hi,
    My client has a unique requirement of creating a Union Time Pool i.e. at the begining of each year the client will have 'X' amount of hours assigned to the pool. Employees under Union Contract will then be eligible to take any leave hours from that time pool as long as they are approved by there supervisor. Now, if we create an element pertaining to the special leave based on Time Pool, then an entry can be made at timecard level and the number of hours remaining can be determined.
    But, this pool is not employee based hence the Hours remaining calculation for the Time Pool is irrespective of any assignment rather its organization/GRE based. How do we implement this using Accruals?
    The client wants to view the balances in the Time Pool within the system. How can that be achieved?
    I understand Accruals Caculation and balances is totally assignment based, how can that be made for GRE/Organization based?
    Any help or suggestions will be highly appreciated.
    Thanks,
    Ujjal

    Hi,
    This is a really interesting scenario.. what are you trying to do
    1. Find a place where the common pool details can be entered at the start of the year
    2. The accrual process should deduct from this pool
    3. On accrual balance for the union should be displayed.
    let us evaluate what are things that cannot be used
    1. Elements can be initialized as the leave pool is for a group of people whereas elements are for an assignment
    2. Balances cannot be used for same reason
    so what are the options that we have..
    1. Store the pool in a lookup that can be created based on a bg or gre (use dff) and use the date fields of the lookup to simulate date track feature in HRMS. This way you would be able to enter values for every year for every bg / gre. Also enable another dff segment to store the balance leave in the pool. This field can be hidden.
    2. You can refer lookup in the accrual rules and evaluate the pool for processing the leave
    3. Customize the form / page to display the remaining pool from based on the person's detail and the lookup. This customization could be complicated instead you can maintain a dff in person/ asg table and write a custom process that will populate the pool balance for all people.
    This one of the suggestion I can give you.. there could be other options that you can evaluate.. but its not going to be simple..
    I hope this helps you.
    Regards,
    Vikash

  • How to assign list of default value for select-option variable???

    Hi every one
    This is Deepak,
    I want to know how to assign list of default value to select-option variable ? please any body tel me solution
    for example
    select-option matnr for mara-matnr default ..............and here i want to give more than 1 values that will be default value and use can choose any one at the time of input .
    Thank you in advance
    Deepak

    Hi.
    Check the following sample code.
    REPORT ztn_test.
    " It is example for list populating.
    TABLES:knvp.
    data: BEGIN OF itab OCCURS 10,
          kunnr like knvp-kunnr,
          END OF itab.
    data: wa_itab like itab.
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    PARAMETERS: s_kunnr(20) type c  as LISTBOX VISIBLE LENGTH 40 .
    AT SELECTION-SCREEN OUTPUT.
    SELECT kunnr from knvp  into  CORRESPONDING FIELDS OF TABLE itab WHERE parvw = 'SP'. " SP for ur requirement
    " I have used loop to populate some values from table
    loop at itab into wa_itab.
      name = 'S_KUNNR'.
      value-key = sy-tabix.
      value-text = wa_itab-kunnr.
      append value to list.
      clear wa_itab.
    endloop.
    " If u want individaully assign the values change the code as
    name = 'S_KUNNR'." Select option name
      value-key = 1." Index
      value-text = 'VAL1'.
      append value to list.
    name = 'S_KUNNR'." Select option name
      value-key = 2." Index
      value-text = 'VAL2'.
      append value to list.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING id = name
    values = list.
    Edited by: tahir naqqash on Feb 21, 2009 4:38 PM

  • How to assign numbers in external number range?

    Dear experts,
    Since NUMBER_GET_NEXT can only be used to assign numbers in internal number range, how to assign numbers in external number range?
    So far, I only know the NUMBER_CHECK function module to deal with external number ranges and it only check a number whether it lies in any external number range or not, but it doesn't update any number range status. What I need is a function module like NUMBER_GET_NEXT that supports external number range.
    Thanks in advance.
    Regards,
    Haris
    Edited by: harissahlan on Oct 19, 2011 5:44 AM

    With external number range, there is no updating of the number range objectt. The only thing you need to know is whether the number you wish to assign is allowed according to the external number range. And also check if there isn't already an object/document with the same number in the database.

  • How to assign a task to Reuestor in OIM 11g

    How to assign a task to a requestor (who has raised a request for other user).
    I created a Task assignment adapter and mapped variable in Process definition as
    Map To: Request Info
    Qualifier: Requester User Login
    Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
    Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
    public class TaskAssignmentToUserAdapter {
         Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
         public String getTargetType(String targetType){
              return targetType;
         public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
              System.out.println("The user key value:" +userKey);
              return userKey;
         }

    Not sure what sample code I can give you, but you need to do a query in your adapter like:
    select REQUEST_KEY from OIU where ORC_KEY='?'
    Here ORC_KEY should be mapped to the process instance key.
    Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
    Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
    select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
    HTH,
    BB

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • How to assign an order to a GL account

    Hi all,
    Can anybody please let me know how to assign an order to the GL account?
    Thanks,
    S.Sumana.

    Hi,
    There is no such an assignment. When you post a document, you define your G/L accounts and cost objects. If you want to make a default internal order for certain cost element, you can go to KA02 or OKB9 and define the defaults there.
    Regards,
    Eli

  • How to Assign a Constant Value to a Dim. Member when pulling Master Data?

    BPC Gurus:
    I am trying load Vendor and Customer Master data into BPC dimension.  My Dimesnion has memebrs: ID, EVDESCRIPTION, PARENTH1, TYPE.  I have successfully pulled the ID and the description from 0CUSTOMER and 0VENDOR.  However, I
    need to have a ttext value for 'PARENTH1' and 'TYPE'.  For Customers, I want to add a FIXED value "'CUSTOMER' for every
    Customer ID pulled in and also for "TYPE", I want a value of "CUSTOMER".  When I maintainthe Dimension, I want to see
    th followingvalues:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000000001         WALMART                                            CUSTOMER                        CUSTOMER
    0000000002          TARGET                                               CUSTOMER                        CUSTOMER
    and so ON
    Since we have Vendor Numbers in the same Diemsnion, when I pull Vendors, I need to have similar values as:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000005050         ABC Supply Inc.                                   VENDOR                            VENDOR
    0000005051         BASF                                                    VENDOR                            VEDOR
    and so ON
    How can assign a Fixed value to the member Propert?  Can I achieve it in Conversion file....? 
    ( My atempts failed...).
    Any suggestion recommendation would be gretaly appreciated.
    Munna.

    Hi,
    For adding fixed values to the properties, you can use the transformation file. In the mapping section, you can specify a constant value. This value will be written to properties of all the members while importing master data. However, for parenth, its a bit different. First thing is that, you need to have a member called CUSTOMER, then only you can have CUSTOMER in the parenth column. Even if you add it and use the mapping section for this purpose, then it will write CUSTOMER to parenth for all the members (even to CUSTOMER member). And this will be wrong. So, you will need to write it manually.
    Hope you got the idea.

  • How to configure Application module pooling?

    I want to know wheather bc4j container itself manages Application module pooling if yes then please tell me is there any file to set parameters for congiguration like one which we have for apache web server.
    If no then please let me know how to create applicatiom module pooling.
    Thanks in advance.

    Application module pooling is configurable through an application module configuration. In order to edit an application module configuration you may right click an application module and select Configurations...
    The BC4J data web beans and the BC4J JSP datatags are both application pool clients. The BC4J documentation includes descriptions of the application pool properties. The documentation also includes a code sample which illustrates how to write your own pool client.

  • How to create a connection pooling in Netbeans 6.0 using the oracle driver

    hi all,
    I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
    I tried to create a connection pooling using tomcat web server.
    I have included the following code in context.xml and web.xml.
    CONTEXT.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/network1">
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    username="scott"
    password="tiger"
    factory="BasicDataSourceFactory"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
    maxActive="20"
    maxIdle="10"
    maxwait="-1"/>
    </Context>
    WEB.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
    classes 111.jar,
    classes 111_g.jar
    classes12.jar
    classes 12_g.jar
    classes12dms.jar
    classes12dms_g.jar
    nls_charset11.jar
    nls_charset12.jar
    ocrs12.jar
    ojdbc14.jar
    ojdbc14_g.jar
    Then i stop the tomcat web server and start it again.
    In jsp page i have included the following code:
    Context ctx=new InitialContext();
    Context envctx=(Context)ctx.lookup("java:comp:env");
    DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
    Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
    please help me how to create a connection pooling and rectify the error in conneciton.
    Thanks in advance

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • How to assigne multiple value in key of read table

    Hi gurus,
    I want read table xxxx with key field1 = ' xxx' or field1 = 'yyy'.
    how to assign multiple value as key for the same field while reading internal table.
    Regards
    sagar

    Hi ,
    You can loop the internal table like
    loop at  <table xxxx> where field1 = ' xxx' or field1 = 'yyy'
    or you can write two read statements to read the internal table in wrk area.
    read table   <table xxxx> with key field1 = ' xxx'.
    if sy-subrc <>0
    read table   <table xxxx> with key field1 = 'yyy'.
    if sy-subrc = 0
    endif.
    else.
    do your data processing.
    endif.
    Thans.

  • How to assign a variable value to crystal report viewer formula with CR2008

    Hi ,
    I am using crystal reports 2008 and i am not able to find how to assign  variable value  to crystal report viewer formula.
    In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
                                             crystalreport1.Formulas(1) = variable2
    but, i don't find similar kind  in crystal reports 2008.
    How can i achieve the same functionality using crystal reports 2008.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    Can i anyone help me out with this.
    I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
    CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
    CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
    CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
    Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
    Any code snippet would be of great Help.
    Thanks in Adnvance.
    Ramnath

Maybe you are looking for

  • Entries appearing in Service Tax Control Account due to Error in System

    Hello Experts,      I am facing a problem in one particular GL i.e.Service Tax Control a/c error-Entries appearing in Service Tax Control Account due to Error in System entries are- Service tax control   a/c   - Dr. 21,621.86                        

  • Error: security settings prevent acces to this property or method

    Hello everybody, I'm facing an error when i open up a portfolio which i've performed some javascript. This script has the function to position over a specific document contained in portfolio and  when i open up it through Adobe Reader, it shows me th

  • User-defined fields in customer data (ME22N / ME23N)

    I created a few new fields on the EKPO_CI-structure and I added them to the screen 0111 ... I also use the relevant user-exits to add the values to the screenfields (PBO) and to read the values (PAI) ... The only problem I have now is that I don't kn

  • JAXB Flags an Error in XML Doc Related to a Choice of Elements

    With a fairly complex DTD, an error results when JAXB unmarshalls a valid XML document. Here is the relevant DTD fragment: <!ELEMENT Declaration (Variable+, (typeList | Drelation))> The elements Variable and Drelation are complex, and contain other e

  • Me2n & me2m & me2l reports in service po

    Dear gurus, I am not getting the proper out put in me2n, me2m & me2l reports of service po. For materials PO I am getting the proper reports, but while executting the above T-code for service PO, it is not showimg me the proper output report. In serv