How to select tray using PJL command language

Hello, I am printing directly on the TCP port 9100 of my HP Laserjet printer with a script and would like to know what is the PJL command in order to set the tray on this specific printer. For example when I would like to print using the tray number I tried the following command: @PJL SET MEDIASOURCE=TRAY2 but it does not work, my printer still uses tray 1... Any ideas? RegardsJohn

Hi All,
I have created a cube using Translations(Spanish and English)! Now the cube is ready for browsing, I browsed the cube and see the Spanish measures by changing the Language to Spanish in the toolbar. Now I am integrating this cube with C#.net, the cube browsed
by English language successfully, OK.
Now My problem is I want to browse the cube in Spanish also, How can we change the Language(in tool bar) dynamically from Application to SSAS server? I have one flag came for language, when the user select the language in my application. Is there any way to
change the Language dynamically in SSAS server? 
Please send suggestions/Answers to here or [email protected] 
Thanks in advance!
NAGA RAJ

Similar Messages

  • Appending a creation date/time stamp to a filename using MS Command Language

    I need to access the creation date and time of an existing file and then append that date/time to the filename using MS command language in a .bat file.  The code executes on a Windows server.   I'm looking at different options for doing
    this.  I know it can be done using MS Powershell scripting.  Any other suggestions appreciated.  Thanks

    I tested the answer you supplied here:
    http://social.technet.microsoft.com/Forums/en-US/38873a13-f3f2-40f2-bb96-c1c63722caab/adding-a-datetime-stamp-to-a-file-using-ms-command-language?forum=winserverpowershell
    and it worked.
    Richard Mueller - MVP Directory Services

  • Adobe Form - Selection Tray using xdc file

    Hi experts,
    I read some forums/articles on SDN and I found that I must change xdc files in order to select tray number on my sap device.
    I used the xdc editor to copy the standard file hppcl5c.xdc and insert the trays of my printer.
    I used report RSPO0022 to create a record for my device type.
    I put my xdc file into the directory <instance>\SYS\global\AdobeDocumentServices\lib\.
    Now I try to print my adobe but it doesn't work, it doesn't create the spool number and the FM FP_JOB_CLOSE return with error usage_error.
    I've SapNetweaver 7.0 Support packages 13.
    Could you help me?
    Thanks in advance

    I solved the problem by reading this document.
    XDC and Job Profile Scenarios
    Scenarios provide you with examples of how you can make specific settings for
    your printer or print job. You can download the document Customizing Printing Workflows from the SAP Service Marketplace at http://service.sap.com/adobe u2192
    Media Library u2192 Documentation.
    I used the application Eclipse to edit XDC files.
    Visit http://www.eclipse.org/platform.
    If it doesn'n work, use the trace of Adobe because  It can be helpful.
    Regards.
    Daniele

  • How to build VI using XML commands

    I would like to build vi's using XML commands. Can someone point towards tutorials, other info.
    Thanks,
    Kevin

    You might wish to check out object oriented programming or plugins.
    In your case, OOP should let you design several types of tests and choose between them at run-time. The basic idea in this case is that each class (type) will have some configurable options (which will be coded beforehand) and the users will select the type of the class and then its options. If you want an example, think of the properties page you can get by right clicking a control. Depending on the control type you get different tab pages and options.
    Full native OOP is available in 8.2 or later, but there are some implementation for earlier versions as well (you can try searching for GOOP).
    Plugins allow you to define a basic interface for something and then use different versions which use this interface at run-time. Again, a search should yield some examples.
    Try to take over the world!

  • How to create backup using sql commands

    can i create a backup using sql/sqlplus commands

    I would actually advice you to use RMAN, instead of backup using sql commands, but if you want or have a requirment to do so..
    First off all you should ensire that your databasse is in archilog mode.. (ALL PRODUCTION DATABASES should be in archivelog mode)
    you can do it using sql*plus
    archive log list
    Then if you would like to make a cold backup (the only one posible in noarchivelog mode)
    ypu have to
    shutdown immediate
    copy all database files (you don't need to copy redo logs) to another device
    startup - to startup database
    Actually I will suggest that your read User manager Recovery guide from oracle documentation
    tahiti.oracle.com
    Best Regards
    Krystian Zieja / mob

  • How to make Weather use my system language

    Hi all,
    My situation is kind of uncommon, but I would like to try to post here to see if anyone happens to know a solution. If I should not post this question (which is about sync between iPhone and Macbook) here, please let me know.
    Background:
    iPhone 6 plus (language is Chinese)
    Macbook Pro (language is English)
    The problem:
    If I add a new city in Weather on my iPhone in Chinese ( I had to add it using Chinese, btw), it shows as it is on my Mac. See picture below.
    I also noticed that I can add that city again on my Mac again, in English of course. See picture below.
    This happens in the other direction too. Adding a city on my mac in English, then it shows in English on my iPhone, and I can still add a Chinese version of that city.
    This is weird to me, because usually this should be designed as the same model with two different views (same thing in different languages), not two separated models.
    Please let me know if you know how Weather syncs data and/or how to solve this issue.
    === more: ===
    The behavior becomes even weirder if I add a city in one language on one device and then add the same city in another language on another device. Take the capital of France for example, I added '巴黎' (Paris in Chinese) on my iPhone (and it is synced to Mac), then I added 'Paris' on my Mac. To my surprise, the second entry shows as '巴黎' on my iPhone, not as 'Paris' (I now have two exactly same entries on my iPhone).
    And after I add another city on my iPhone, the second capital-of-France entry on my Mac becomes '巴黎' too. ( I think this is normal, as things are synced to another device when updated on one device).
    notes:
    - This also happens on the other direction.
    - This is not happening every time. Sometimes this bug shows up, sometimes not.
    - I found this behavior long ago. I'm pretty sure this is not only for the latest versions of iOS and Mac OS.

    Move the entire iTunes folder from <User's Music> to the root of the other drive. Press and hold down shift as you launch iTunes and keep holding until asked to choose or create a library. Click choose and browse to X:\iTunes\iTunes Library.itl where X:\ is the drive letter.
    You should also consider making a backup of your library to an external drive.
    iTunes will still want to store iOS backup data on the system drive unless you use the following process to relocate it.
    Moving the iOS device backup location
    Open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, or with Start > Run on older Windows.
    To move the current backup folder from C: to X: (for example) type in this command and press <Enter>
    Move "C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup" "X:\Backup"
    Where <User> is your Windows user name.
    To make iTunes look for the data in the new location type in this command and press <Enter>
    MkLink /J "C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup" "X:\Backup"
    If your preferred drive has a different letter or you already have a folder called "Backup" then edit "X:\Backup" accordingly in both commands.
    If you have Windows XP then you'll need a third-party tool such as Junction to link the two locations together instead of the MkLink command. The source folder is C:\Documents and Settings\<User>\Application Data\Apple Computer\MobileSync\Backup
    tt2

  • How to Select data using same column name from 3 remote database

    Hi,
    Can anyone help me on how to get data with same column names from 3 remote database and a single alias.
    Ex.
    SELECT *
    a.name, b.status, SUM(b.qty) qantity, MAX(b.date) date_as_of
    FROM
    *((table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)a,*
    *(table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)b)*
    WHERE b.dept = 'finance'
    AND a.position = 'admin'
    AND a.latest = 'Y' AND (b.status <> 'TRM') AND b.qty > 0;
    GROUP BY a.name, b.status ;
    NOTE: the bold statements is just an example of what I want to do but I always gets an error beacause of ambiguous columns.
    Thanks in advnce. :)
    Edited by: user12994685 on Jan 4, 2011 9:42 PM

    user12994685 wrote:
    Can anyone help me on how to get data with same column names from 3 remote database and a single alias.Invalid. This does not make sense and breaks all scope resolution rules. And whether this is in a single database, or uses tables across databases, is irrelevant.
    Each object must be uniquely identified. So you cannot do this:
    select * from (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) a3 objects cannot share the same alias. Example:
    SQL> select * from (dual, dual) d;
    select * from (dual, dual) d
    ERROR at line 1:
    ORA-00907: missing right parenthesisYou need to combine the objects - using a join or union or similar. So it will need to be done as follows:
    SQL> select * from (select * from dual d1, dual d2) d;
    select * from (select * from dual d1, dual d2) d
    ERROR at line 1:
    ORA-00918: column ambiguously definedHowever, we need to have unique column names in a SQL projection - so the join of the tables need to project a unique set of columns. Thus:
    SQL> select * from (select d1.dummy as dummy1, d2.dummy as dummy2 from dual d1, dual d2) d;
    DUM DUM
    X   X
    SQL> I suggest that you look closely at what scope is and how it applies in the SQL language - and ignore whether the objects referenced are local or remote as it has no impact to fundamentals of scope resolution.

  • How to select column used in parameter in sql

    Hi,
    I have one View in which I am calling Function,
    Below is the part of that Function. I am passing @Column_Name as parameter. I have total 3 Columns which I am using in my view form this function.
    Now I have one issue in this SQL Query, instead of taking values from 'Alle' (or 'MeAlle', 'CurrentMe')column, my select statement is taking 'Alle' as value. I tried with Dynamic SQL but didn't work out for me.
    Please help me on this below Query. Thanks in advance. 
    DECLARE @Column_Name varchar(max)
    SET @Column_Name = 'Alle' -- Alle, MeAlle, CurrentMe
    DECLARE @TempAlleMes TABLE 
    ( PId int NOT NULL,
      Id nvarchar(max) NULL,
      Name nvarchar(max) NULL
    INSERT INTO @TempAlleMes(PId,Id,Name)
    SELECT p.PId,  
    NullIf(SubString(',' + @Column_Name + ',' , t.ID , CharIndex(',' , ',' + @Column_Name + ',' , t.ID) - t.ID) , '') , ''  
    FROM dbo.[Tally] t,[P_PsVs].dbo.[PInfo] p
    WHERE t.ID <= Len(',' + @Column_Name + ',')
    AND SubString(',' + @Column_Name + ',' , t.ID - 1, 1) = ','  
    AND CharIndex(',' , ',' + @Column_Name + ',' , t.ID) - t.ID > 0 
    and p.Pid = 302074
    select * from @TempAlleMes
    Vicky

    This is a terrible table design.
    Anyway, assuming you need to work with such design, you need to create fnSplit function in your database first. You can get any kind of implementation for such function, say, there is a blog by Jeff Moden that still has lots of discussion (I subscribed to
    that discussion and get emails - too bad they only say there is a new reply instead of giving the reply):
    http://www.sqlservercentral.com/articles/Tally+Table/72993/
    So, once you have that splitting function in your database you can normalize your table using the following:
    select T.*, F.Value, F.Id from myTable T CROSS APPLY dbo.fnSplit(T.Alle, ',') F
    If you need to split several columns, then it will be a bit more complex as you would need to split each individual column separately using the above code and cte and then use the FULL JOIN based on main table PK and function's ID column to join the results.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How to open files using cmd command?

    Hello... First:
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe ?????");
    catch(Exception e){ }well... I'm trying to open files using a cmd command. It's working only oppening files on my own pc, but i need to know if i can open files using a localweb's pc, with the follow address, for example:
    "\\172.21.0.4\firstdir\seconddir\thirddir..."
    Thanks :D

    Gamboua wrote:
    normaly, i type \\172.21.0.4\dir\dir\dir... directly directly in my cmd.This only works because you are already running cmd.exe
    Try getting it to work with cmd.exe at the start of the line.

  • How create a sub_menu using the command line.

    Hi,
    I want to create a new menu and forms in runtime mode .
    please gives me the commands details.

    Hi,
    I think I am having a similar question here. I am using Oracle 10g on Windows xp.
    I logged in to Oracle from command prompt. I used command “create directory myFunDir as 'd:/funDir';”. Oracle returns: “Directory created”. But I couldn’t find the directory “myFunDir”! Where is it?
    Thanks.
    Newbie.

  • How to select songs using the search bar in iTunes for Windows 8.1

    Just today (8th May, 14) I couldn't select songs when using the search bar in the top right hand side of iTunes. I patched it but it didn't solve the problem, however once I ran as administrator it did fix the problem. Is there a way to not have to run as administrator every time I want to open iTunes and/or is there a way to fix this problem? I have iTunes pinned on my taskbar so by default it does not open iTues as administrator. Thanks

    Hi,
    This should be compatible issue.
    Please try to install the driver in Windows 8.1 compatible mode:
    Make older programs compatible with this version of Windows
    http://windows.microsoft.com/en-in/windows-8/older-programs-compatible-version-windows
    If you still find unknown device in your Device manager, right click to update the driver to see what's going on.
    For further troubleshooting, please post back the C:\WINDOWS\INF\setupapi.dev.log
    here for our research.
    You can update it onto OneDrive or the similar network device and share the link here.
    Kate Li
    TechNet Community Support

  • How to create db using sql commands?

    Had logged in to default database with the default login nmae and password. Under this default database, am i able to create another database in it? If so, what is the sql command to create/delete the new db?

    Chapter 2
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96521.pdf
    Joel P�rez

  • Preserve a single space at the end of line using spool command

    Hi,
    Can you please help me to write the result of an sql query into a file with the last column of the row ending with a single space?
    For example:
    COL1DATA|COL2DATA|COL3DATA<space1>
    As mentioned in the example the col3 value in the file should end with a single space. And there should not be any delimiters at the end of the row.
    I tried with set trimspool on/off. But, it didn't work. When I say trimspool on - it is trimming all the trailing spaces.
    When I say trimspool off - it is retaining all the trailing spaces to the size of the line.
    But, I do not wish to modify the file through shell commands once it is written thru spool. I mean I do not wish to append spaces to the end of a line using shell script or any other method.
    I do not wish to use other methods like UTL_FILE also.
    Please help me how to do it using spool command?
    Thank you.
    Ramana

    My requirement is that all the trailing spaces should be truncated except the last one in the row.Why?
    As you have discovered a single column in sqlplus, is always a fixed length regardless of the size of the data, if the length of the data varies the output is padded to the maximum or line size with spaces. The trim and trimpsool commands are there to remove all the spaces from the end of a line if there are any. There are no commands to trim all the spaces except one, or even to trim all the spaces except two, or three even.
    If you want such custom processing you should post process the file in the OS using sed, awk or perl or something designed for such things.

  • How to sync Photo using iTunes

    Hi All,
    I would like to know is there any way/method to enable the "Selected folders" option in iTunes under Photos section?
    I was trying to sync come wallpaper that into my phone, but after syncing, i will get another folder call "Photo Library".
    Q: How can i remove "Photo Library" on the iPhone? and How to selected photos using iTunes and upon syncing i don't want to see"Photo Library" folder in my iPhone?
    Please share the knowlege whoever facing similiar issue.
    Thanks.

    Following are instructions: iTunes: Syncing photos
    Note that in order to see the Photos tab you first must connect the phone and select it.
    If you still don't see it, it is possible that it is off the edge of your screen to the right and you many need to use a scroll bar at the bottom.

  • How to select which language version of Windows to use?

    In Finland Toshiba Satellite L670-128 comes with pre-installed Windows 7 Home Premium and the user should be able to choose between English, Swedish, Finnish, Norwegian and Danish versions of Windows. However, when I started the computer for the very first time, it started to make some final installations and setups in Swedish. It newer asked me what language version of Windows I would like to use, so now I am having Swedish Windows in my computer. It is however English version of Windows that I would like to use, so how can I change the operation system language?

    " Has the system really lost all the other language options from the harddrive while the first installation?". To the best of my knowledge when you first start a "pre-installed win 7" system there is a scroll box that sets the language and certainly for Home Premium it states that this choice cannot be changed.
    I'm confused as to the solution you are looking for. As far as I can see your options are the free software that claims it can change the installed language or go for a re-install and hope that fixes it. I'd ensure I was ready to do a reinstall and try Vistalizator first to see if it worked.

Maybe you are looking for

  • How to open a file with the same name?

    Hi, now I practicing making web pages where I put sample codes in one directory and I copy them to edit. The probrem is, I couldn't open one file while I'm opening another file with the same name. Is it possible to open  a file with the same name in

  • My safari search bar isnt there!

    I am running 10.8 (mountain Lion) and have safari 6.0.   The first 3 days of using 10.8 were fine. Now, today, I turned my computer on and it was gone! Please I need help asap on how to get it back. I cant type web addresses in, I only got to apple.c

  • Wish Item for 1.0.x - support for PS plugins

    I don't think of Aperture as a PS replacement but it would be really cool to be able to use stuff like Convert to BW Pro from within Aperture. Some kind of plugin API would do it. Obviously some things would not fly like PhotoKit as it uses layers et

  • Webi division

    Hi All I have a variable object in Webi XI 3.1 SP2 FP 2.4 which has been converted from Full Client 651. The object works fine in full client, however the column is blank (no data or error displayed) in Webi and I would have expected date to be retur

  • Attaching line to a rectangle & repeating lines

    Hi, In the attached image, how would you attached the two orange lines to the orange rectangle? Using Pathfinder/Unite doesn't work not does try to add a point from the corner. Also, what is the tool and how do you use it to create the repeating blue