jvue more than one print to the network printer

When I try to print from jvue get more than one print to another printer.
When I PC connected with 2 printers, a printer is my default printer .if giving printing on printer (default printer not), this file impression in both printers.

Code of the applet:

< html > < head > < script >
Function myFunction()
{
myApp var = window.document.applets ["JVue"]; window.document.applets ["JVue"] .getActiveVueBean () .getProfile () .addString ("PRINTOPTIONS", "PRINTERNAME", "HP LaserJet P1008 on 192.168.3.1");
var pPropsClass = myApp.getClass ("com.cimmetry.common.PrintProperties"); var pProps = pPropsClass.newInstance (); pProps.setProfile (myApp.getActiveVueBean () .getProfile ());
printop var = myApp.getClass ("com.cimmetry.common.PrintOptions");
var printoperation = printop.newInstance ();
printoperation.setPaperSize (printoperation. PAPER_A3);
pProps.setOptions (printoperation);
var vectorClass = myApp.getClass ("java.util.Vector");
List of files of the var = vectorClass.newInstance ();
vList var = "05 12 12 30 55 749\\654744\\42600_1600x1200-wallpaper-cb1320062937.jpg server://ADMIN03";
var SplitResult = vList.split(',');
for (i = 0; i < SplitResult.length; i ++)
{
var filepathe = SplitResult. toString();
fileList.addElement (filepathe);
myApp.batchPrint (fileList, pProps, true, true);
vcomp var = myApp.waitForLastMethod ();
BatchPrint();
}
}
< /Script > printing...
< / head >
< body onload = "window.focus (); ">
< form id = "form1" runat = "server" >
< APPLET
NAME = "JVue".
CODE = "com. Cimmetry.jvue.JVue.Class ".
CODEBASE = "http://192.168.3.1/jVue."
ARCHIVES = ' jvue.jar, jogl.jar and gluegen - rt.jar.
HSPACE = "0" HSPACE = "0".
WIDTH = "0%" HEIGHT = "0%" MAYSCRIPT > < param name = "USERNAME" = VALUE "ADMIN03 05 12 12 30 55 749" >
< PARAM NAME = "ONINIT" VALUE = "myFunction (); ">
< PARAM NAME = "EMBEDDED" VALUE = "true" >
< PARAM NAME = "VERBOSE" VALUE = "false" >
< PARAM NAME = "CACHEUI" VALUE = "false" >
< PARAM NAME = "ENABLEEMF" VALUE = "true" >
< PARAM NAME = 'NOCOOKIES"VALUE ="true">
< param name = "failure_url" value = "failure.html" >
< PARAM NAME = "PDFCACHELEVEL" VALUE = "High" >
< PARAM NAME = "USEMESHCACHE" VALUE = "0" >
< PARAM NAME = "GUIFILE" VALUE = "ENABLE_PRINT.gui" > "
< PARAM NAME = "JVUESERVER" VALUE = "http://192.168.3.1:5098/servlet/VueServlet" >


JRE 6.0 or higher is required
You do not have Java Plug-ins installed
< / APPLET > < / form > < body / > < / html >

Published by: Chio on 3 may 2012 12:17

Hi Serge,

Please change these lines:
var printoperation = printop.newInstance ();
printoperation.setPaperSize (printoperation. PAPER_A3);
pProps.setOptions (printoperation);

to the following:
pProps.getOptions () .setPaperSize (pProps.getOptions (). PAPER_A3);

and see if that solves your problem.

The problem is that pProps.setOptions () overrides the printer that you set two or three statements earlier in the code.

Thank you
Artash.

Tags: Oracle Applications

Similar Questions

  • Rename more than one printer on the same network wireless

    I use a HP Officejet Pro 8500 a Premium. We have more than one printer in our office who will use the same WiFi.

    However, it is difficult for the end user to understand on which printer to use as they both are the same except for a random string at the end. We cannot find any rename them so that they can appear with a location. Is this possible?

    Note: I use Mac OS X (Lion) (Hello). I found the 'active' name, but this does not seem to post anywhere. I am limited to the web browser interface, because there is no full software for OS X Lion still.

    Thanks for the reply. This solution renames ONLY for the current user as this information is stored on the local computer.

    However, I found the solution!

    Via the Web Interface, go to the network and then select Hello in the menu on the right. You can then rename the printer to everything you love.

    While you're there, go to Internet Printing Protocol and change these settings for windows machines. Also, click the host name and change the host name so that it might be better in a windows workgroup.

  • Why am getting started on the internet with the message saying that more than one computer using the same ip address

    am is started from the internet for 3 days pass with the message saying that more than one computer using the same ip address

    am is started from the internet for 3 days pass with the message saying that more than one computer using the same ip address

    Thatmessage normally means a another computer on your local network has the same IP as the computer you are on.

    You control your Local network?

  • Having more than one user affect the speed of my MacBook Pro?

    I have a MacBook Pro, which is now painfully slow 2011.

    I have three users each journal entry/exit in the required form.

    Having more than one user affect the speed of the Mac or not?

    Thank you

    If you open a session there should be no impact.

    You can view a report of etrecheck for more Analytisis

    www.etrecheck.com

  • I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time.

    I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time. How can I select multiple files at the same time so I can just delete them. I used to be able to do this in previous versions of Media Player, but this function seems now blocked or unavailable. The problem is this: through previous use of media player, it plays all my multimedia files several times whenever a device support has been added. He would try to save the files on my main drive, but since there is not enough room this would save the files somewhere else. This happened several times, I suppose, because when I upgraded my computer and a media scan was conducted he found duplicates of all my media various times of at least 6-8. I've consolidated since my plates on 3-disc multi to, but have now records duplicated hundreds and thousands of duplicate media files. Previous versions of Media Player would allow me to select all files and then delete them both of the reader, but also from my hard drive. So now I'm stuck with more than 300 GB of duplicate media I have to search line by line through all my hard drives to find each duplicate both, unless I can get media player to do what it can. Any help in this area would be appreciated.

    Hello

    1. did you of recent changes on the computer?

    2. is Windows media player files in double creation during playback of music files?

    To delete duplicate entries, click on another feature tab in the drive (for example the current playback), and then click library.

    If this does not remove duplicates from your library, you can use the Add to library dialog box to search computer to analyze a file on your computer the duplicate entries not valid-pointing. The player will remove invalid entries in your library that point to files that no longer exist in the folder.

    Complete the steps above for files that are stored in the hard disks.

    Method 1: Use the add to Library dialog box search for computers

    (a) start Windows Media Player.

    (b) press F3 on your keyboard to open Add to the library of the find computers dialog box.

    (c) click the Browse button to locate the folder on your computer so that your library contains invalid entries. Specify the location of the folder in the box look in.

    If you are not sure what duplicate in your library entry is not valid, you can add a path column to display in your library. Specify the folder on your computer that corresponds to the path not valid file displayed in your library.

    (d) click on the Search button.

    The player will search for digital media files and playlists in the folder that you specify and remove invalid entries in your library that point to files that no longer exist in the folder. If not valid in double entries point to other folders on your computer, repeat this procedure, specify a different folder every time.

    If only a small number of duplicate entries exist, you can delete those invalid manually by right-clicking on the invalid entry, and then clicking Delete .

    For large double-number of entries in your library (or if all your library is duplicated), it might be better to create a new library and delete the files.

    Method 2:

    After you remove the duplicate entries, run the troubleshooting of Windows Media Library settings to solve this problem.

    Open the troubleshooter in Windows Media Library

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter

    Let us know the results.

    I hope this helps.

  • Is it possible to have more than one person in the role of signatory of widget in a widget e-sign?

    I'm creating a widget that will require more than one signatory if a condition is met.  This form will be accessible from the outside of our Organization.  Is it possible to create a form that has more than one person in the role of credits of the signatory widget?

    Hello RiversidePaulD,

    From now on, you can have a single (unique) signer who can esign Widgets online. If your second signatory is fixed, then counter signer is the best option. Apart from that, it is not possible to have two different esigners who continue to change. I took this as a feedback however.

    -Usman

  • How do I avoid the accumulation of color / opacity where two brush strokes overlap?  In other words, I want to use more than one path with the Paintbrush tool, but see no additive effect where strokes overlap.  What Miss me?

    How do I avoid the accumulation of color / opacity where two brush strokes overlap?  In other words, I want to use more than one path with the Paintbrush tool, but see no additive effect where strokes overlap. 5 Lightroom

    I use it all the time. Turn your opacity, density and traffic all 100%.

    Benjamin

  • Is it possible to have more than one location in the Google Maps widget?

    Hey people,


    Lets say, you design a website for a client with multiple banks, you just want to tell them everything, no?

    I just want to know if it is possible to have more than one location in the Google Maps widget. I guess it shouldn't be that hard, but I can't understand it...


    any help would be much appreciated!


    Thank you

    Thom

    It seems that you can only use one address for this widget.

    To do this you will need create map in Google Maps with all your points, and then copy the Google embed .html into Muse.

    Example of a google map embed with several points imported into the Muse:

    (Object/Insert HTML)

  • Drag more than one MC at the same time

    Hi Eo,

    I need to drag more than one Mc at the time:

    n.b.: emc2 is an mc on the main timeline. This code is in a nested MC.

    Prnt: MovieClip = this.parent as Movieclip;

    function drag(e:MouseEvent):void {}
    If ((e.type == "mouseDown") & & (GlobalVar.stat == 'clicked')) {}
    this.startDrag ();
    Prnt.EMC2.StartDrag ();
    }
    If ((e.type == "mouseUp") & & (GlobalVar.stat == 'clicked')) {}
    this.stopDrag ();

    Prnt.EMC2.stopDrag ();
    GlobalVar.drag = false;
    }
    }

    This.startDrag () stop to work when I add prnt.emc2.startDrag ()...

    Why?

    The documents help explain it as follows: "the sprite remains draggable until the Decree of way explicit through a call to the.

    Sprite.stopDrag()method, or until another sprite made draggable. What a sprite is draggable at the time. "

  • Cannot have more than one item at the same time

    Hello

    I have a WRT110. I have two laptops wireless and a wireless on a network printer. Whenever I turn on more than one thing, it's my connection drop. Example, I have my laptop and if I want to print something, I turn on the printer and bam, I lost my wireless connection. What I am doing wrong? Its to the point where if my husband is online and I turn on my Ipod it connect to internet and my husband ends. We continue to have to reset the router and the modem. Any help would be greatly appreciated!

    On all the computers in Win 7 disable IPv6 under properties cable adapters and wireless LAN.  Restart the computers.

    In the router, turn off UPnP, under settings wireless Beacon interval 75, RTS and Fragmentation threshold to 2304.  Save the settings.  Now connect again and test it.

  • More than one unit performs (NAT network address translation

    Trying to help someone: tried to implement a "Wired home network private.  Connected a laptop VISTA and Win7 desktop Ethernet Netgear struggling
    NR 2000 wireless router. Restart both computers with a wireless switch on laptop OUT to connect with a wired connection through a Verizon DSL modem router. Two internet access computers.
    Computer laptop (VISTA) is able to see and access files on the desktop (Win7) (part);
    Desktop computer (WIN7) is able to SEE, but is NOT able to access the files on the laptop. Test results received two:

    More than one device performs network address translation (NAT...) Reconfigure your network of
    -------------------------------------------------------------------------------------------------------------------------------------------------------------


    ---------------------------------------------------------------------------------------------------------------------------------------------------------------
    Have seen many requests for help on this topic and no seems to have no idea how to fix it.
    Anyone know what to do?

    If I switch the wireless on the laptop, a wireless connection is established and the network functions are now OK (access, two ways of sharing files)

    Well guess what;  I found the problem.  The above result "devices (PC) is not configured to accept the file and printer sharing (SMB) port connections.
    I checked the properties for adapter WIRED on Win7 and VISTA and found files and printers sharing DISABLED on the VISTA laptop.  Checked the box, clicked on install (I guess that was not necessary, was probably installed but not selected), and then the re-verification properties, it has now been verified.  SO I tried to access the computers on both sides (dsktop > laptop, laptop > dsktop) and everything worked fine.

    Trouble had apparently NOTHING to do with performing NAT network address translation

  • I can't select more than one object with the SHIFT key, selected in the last Muse app

    Someone who uses the worm. last Muse CC 2014 with Mac OS 10.10.2 and had a problem of selection of several objects by using the Shift key and hold the method has a work around. It's frustrating to try to select several objects and this simple technique does not. This same shift-SELECT approach works fine on the same calculation with other products Adobe such as PS, AI, Id etc.

    I tried your suggestion to select multiple layers but no joy and no floating above the ones I had to choose. I discuss with a representative of Adobe this morning and discovered that it is possible to select more than one by dragging on the elements with the selection arrow. This forces me to block these unwanted layers selected in this shotgun approach first. It's my best work around so far. Shift-click works in the old Muse vs7.4.30 app on the same computer. I enjoyed your suggestion and hope there is a fix for the simple approach shift-click.

  • How to use more than one address at the same time?

    The Adobe server page that allows entry of a recipients address should not inform users how to add another address?  We separate them by semicolons? Commas?  Or is it still possible to use more than one address?

    Hi orison123,

    You talk about Adobe send? If Yes, you are absolutely right. Who should be written somewhere I had to double check and was able to send to multiple email addresses separated by commas or semicolons.

    Best,

    Sara

  • How one properly installed more than one printer all-in-one (different) on the same pcr?

    Once installed 1 All in one printer, how one installs another printer all-in-one (different model) on the same computer without altering the first installation because all software are the same for each all-in-one printer, with the exception of different drivers linked to each different model all-in-one printer?

    Hello Boothkp,

    From what I can understand in your post, you are looking for a solution install several all in printers on one system, without causing problems during the first installation. This can be easy.

    Lets say you have 2 printer that both use the version 14 of the HP Solution Center software. Then, you install the first complete printer with all the software you want to use. The second installation, you just select the option 'Add printer' or 'Add features', this will add then the second printer in the current center solution without a conflict.

    In case this does not work, then please give more information on the model and the operating system you are working on.

    Kind regards

    Van Baardewijk

  • In Windows 7 Professional, Firefox has suddenly started using more than one symbol in the taskbar... Why?

    After you install Firefox it placed a symbol in the toolbar to launch. When you move the mouse over this symbol it would display then also the tabs that were open in the browser. Then, the program was launched and operating within this Firefox ONE symbol on the task bar... it was never (to a point), more of a symbol.

    Now suddenly he started to open a second Firefox symbol in the toolbar in which the browser really runs and displays the open tabs. In other words, I now have a Firefox symbol in the taskbar to launch the browser and the other, the second symbol in which the browser is running. I don't want because it takes too much space on the taskbar. How can I return to keep Firefox limited to a single symbol in the taskbar at all times?

    The first icon is "pinned" to the Windows 7 taskbar in an earlier version? Could you try unpinning and repinning Firefox and see if that helps?

    (I think someone has posted this same question yesterday, but I can't find the thread at the moment).

Maybe you are looking for

  • is not activate the iphone 4S after to

    iPhone ios 4 s 8 former owner does not seem to disconnect from the icloud account. I have the unit and the box in my hand. what I supposed to do? I can't use my apple ID in the activation screen? I can give you the imei, meid and identity by email an

  • Firefox blocks the entire computer

    Firefox beta 11.6 is having my computer freezes constantly and I don't know how to get to an older version of beta?

  • I'm looking for drivers for Satellite L300D-10 XP has

    Hello!I'm really having a hard time looking for drivers for xp for my laptop. I demoted it from Vista and can't find anywhere I looked. I have found that the Ethernet driver. Cannot find the drivers on the official website. (at least the I can't)Anyo

  • Games not working not

    All of the games that came with my computer is not running. Kindly help!

  • Why have I not duplicate program files

    I've updated my Windows 7 from 32 to 64-bit. I did a clean install and has first a quick format of the drive. It went well, but I have two copies of "Program Files". It is the usual program files and the second program (x 86). I want to get rid of th