Cannot print on the label Zebra printer when it is deployed to WLS

With the help of Jdev 12.1.3 on Windows Pro

My WebApp needs to print labels on a Zebra label printer. The printer is a Windows printer with the name \\print1\Zebra-2. We tried printing from the Web application deployed to WLS in cluster and does not have any exceptions, but no label not printed. A colleague suggested the running on WLS integrated application and see if the symptoms has changed. It was a good idea as the label printed the first time that we have tried.

Question is, why? Is there some configuration item that grouped WLS needs? Tried some searching on google but no luck at the moment.

The name of the printer is stored in a database table and appears as installed on the server, but it does not appear on the local computer either so I excluded as a printer driver problem.

The app is secure ADF when it is deployed. I tested when he worked in the library of the ADF, isolated from the trusted application.

Is there some security or devices of WLS which must be open?

Thanks in advance,

Dave

it work under Linux:

        AttributeSet aset = new HashAttributeSet();
        ASET. Add (new PrinterName (name, null));
        PrintService [] printers = PrintServiceLookup.lookupPrintServices (null, aset);
       
        DocPrintJob job printers [0] = .createPrintJob ();
        Flavor DocFlavor is DocFlavor.BYTE_ARRAY. AUTOMATIC DETECTION;
        Byte [] labelarray = labeltext.getBytes ();
        Doc doc = new SimpleDoc (labelarray, flavor, null);
        Job.Print (doc, null);

Tags: Java

Similar Questions

  • My creative cloud cannot happen on the adobe servers and when I tried to repair the host file using the creative cloud cleaning tool, it displays Error occurred while setting entries HF: 5

    My creative cloud cannot happen on the adobe servers and when I tried to repair the host file using the creative cloud cleaning tool, it displays Error occurred while setting entries HF: 5

    Please let us know your operating system.

    Concerning

    Megha Rawat

  • Cannot ping via the VPN client host when static NAT translations are used

    Hello, I have a SRI 3825 configured for Cisco VPN client access.

    There are also several hosts on the internal network of the static NAT translations have a services facing outwards.

    Everything works as expected with the exception that I cannot ping hosts on the internal network once connected via VPN client that is internal IP addresses have the static NAT translations in external public addresses, I ping any host that does not have static NAT translation.

    For example, in the example below, I cannot ping 192.168.1.1 and 192.168.1.2, but I can ping to the internal interface of the router, and any other host on the LAN, I can ping all hosts in the router itself.

    Any help would be appreciated.

    Concerning

    !

    session of crypto consignment

    !

    crypto ISAKMP policy 10

    BA 3des

    preshared authentication

    Group 2

    !

    ISAKMP crypto client configuration group vpnclient

    key S3Cu4Ke!

    DNS 192.168.1.1 192.168.1.2

    domain domain.com

    pool dhcppool

    ACL 198

    Save-password

    PFS

    netmask 255.255.255.0

    !

    !

    Crypto ipsec transform-set-SECURE 3DES esp-3des esp-sha-hmac

    !

    Crypto-map dynamic dynmap 10

    86400 seconds, life of security association set

    game of transformation-3DES-SECURE

    market arriere-route

    !

    card crypto client cryptomap of authentication list drauthen

    card crypto isakmp authorization list drauthor cryptomap

    client configuration address card crypto cryptomap answer

    map cryptomap 65535-isakmp ipsec crypto dynamic dynmap

    !

    interface GigabitEthernet0/0

    NAT outside IP

    IP 1.2.3.4 255.255.255.240

    cryptomap card crypto

    !

    interface GigabitEthernet0/1

    IP 192.168.1.254 255.255.255.0

    IP nat inside

    !

    IP local pool dhcppool 192.168.2.50 192.168.2.100

    !

    Note access-list 198 * Split Tunnel encrypted traffic *.
    access-list 198 allow ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

    !
    Note access-list 199 * NAT0 ACL *.
    access-list 199 deny ip 192.168.0.0 0.0.255.255 192.168.0.0 0.0.255.255
    access-list 199 permit ip 192.168.1.0 0.0.0.255 any

    !

    Sheep allowed 10 route map
    corresponds to the IP 199

    !
    IP nat inside source map route sheep interface GigabitEthernet0/0 overload

    !

    IP nat inside source static 192.168.1.1 1.2.3.5
    IP nat inside source static 192.168.1.2 1.2.3.6

    The problem seems to be that static NAT take your nat exemption.

    The solution would be:

    IP nat inside source static 192.168.1.1 1.2.3.5 sheep map route
    IP nat inside source static 192.168.1.2 1.2.3.6 sheep map route

    HTH

    Herbert

  • Applications cannot write to the users directory

    Applications have lost administrative privileges. They were OK but now windows live mail cannot create a message, acrobat cannot create temporary files and quark is not yet open. All the same problem, cannot write to the folder "users". When I turn off UAC, all right. I don't want to disable it permanently. I want to diagnose the problem and difficulty so I can restore UAC

    This smells like a folder authorization number. I would check the permissions for the temp and the WLM, using Windows Explorer folder. Here's how you can find their names:

    For the Temp folder:
    1. click on the globe to start, and then type the three letters cmd in the search box and press ENTER.
    2. Enter the following command and press ENTER:
    Set temp
    For the WLM folder:
    1. open WLM
    2. click on Tools / Options / Advanced / Maintenance / Shop folder
    Windows updates or AVG updates are extremely likely to be behind this problem, if this is because you would have heard about it a long time ago. I suspect that malware error or a user.
  • Cannot create document empty when you open the label printer software

    I installed the software to store 8 labels intermec for my label INTERMEC PF8t printer, when I try to open the message cannot create an empty document when you open the printer software labels appear. Help, please

    Hi Phaphama,

    ·         Did you do changes on the computer before the show?

    ·         He has already worked on the computer?

    Follow these methods.

    Method 1: Uninstall and reinstall the software and check if it works very well.

    How to change or remove a program in Windows XP

    http://support.Microsoft.com/kb/307895

    Method 2: Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Startand then click run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    If the problem still persists, contact the manufacturer for more help and information.

    http://community.Intermec.com/Intr/

    http://www.Intermec.com/support/index.aspx

    http://www.Intermec.com/products/pswlblshop/index.aspx

  • Whenever I try to print I get a window 'Print to file' and cannot print the label.

    I print labels on the site of the courier to the United States.  Now whenever I try to print one I get a window 'Print to file' and cannot print the label. So, how can I undo this command?

    Check your default printer, start-> settings-> printer and faxes-> right click on your printer and click "Set as default". I hope this helps.

  • When I print USPS shipping on USPS web site labels, the date printed on the label, but I don't want it.

    When I print USPS labels shipping on USPS web site, the date will be printed on the label. Did not do that when I used W2000, started when I went to XP. How can I stop it?

    original title: Date printing on labels

    Hello

    What browser you use on the computer?

    I suggest you to test the issue on another computer.

    I suggest you to check if you are able to display the date in the preview before printing. If you get the date in the preview, then the Web site itself might be including the date. I suggest you to check with the seller for more precision.

  • Cannot print on my local printer when you use remote desktop to access the server (Server 2008).

    We are struggling to print on my local printer when you use remote desktop to access the server (Server 2008).  Cannot make it work.  Any suggestions?

    Hi EverettBurton,

    The issue of Windows XP, you have posted is related to Windows XP in a domain environment. It is better suited for the IT Pro TechNet public. Please ask your question in the TechNet forums for assistance.

    Hope the helps of information.

  • I use Windows 7 on a computer to which a printer is connected directly by a USB cable. I am able to print, but cannot find the printer when I run control/devices and printers Control Panel

    I use Windows 7 on a computer to which a printer is connected directly by a USB cable.  I am able to print, but cannot find the printer when I run control/devices and printers Control Panel. In fact, no devices appear at all.

    Can someone help me with this?

    Thank you.

    See http://www.winhelponline.com/blog/fix-devices-and-printers-completely-empty-windows-7/

    If this does not help, there is a very long thread here, which may include other suggestions--> http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/devices-and-printers-dialog-box-empty/353707a4-bcb0-4334-98bc-aab84747fecd?page=1

  • Cannot connect to the local file and print when the domain controller is not available because the network connection

    Hi all
    Having problems for local users, connection to a file and print server in one of my satellite offices.
    When my t1 connection is disrupted (problem of local carrier) my users when the connection is down to connect to the file room and print and always have access to their files and the local printer.
    The domain controller is off site in my main office.
    Environment:
    All local desktop clients are windows machines 7.
    Printing and local file is a windows 2003 server.
    DC is window 2008
    Note that we recently changed all 2003 to all domain controllers the PDC 2008, suspect that it may cause the problem, but just cannot know where it track.
    Any help or thoughts would be appreciated.
    Thank you

    Hello trj'hwma,

    Thank you for the question!

    It's discouraging to know that have problems you with the local file and print. As I understand well you cannot connect to the local file and print when the domain controller is not available because the network connection.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    Windows 7 IT Pro category

    Answer to us if you have problems with the local files and print or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • Cannot print pdf.  indicates the pages are not selected when everything is selected or 1-12 is selected.  Why not print it and what has changed since he has always worked in the past?

    Cannot print pdf.  Message says pages are not selected when "all" is selected or when the "pages 1-12" is selected.  Why will it not print what is always in the past?

    Hi donw50735963,

    Please try the steps in the following article: Acrobat and Reader help / troubleshooting PDF printing | Adobe Acrobat, Adobe Reader

    Thank you

    Abhishek

  • Error message when printing - Communication not available, cannot communicate with the computer

    Original title: for some reason, my computer and printer communicate is no longer... I spent every day toubleshooting... always get this box: Communication not available, cannot communicate with the computer

    I have a Dell Inspiron E1505 laptop and Dell AIO 924 printer if that helps! all cables are correctly connected, unplugged, replugged, shut down rebooted, uninstalled / printer driver, always even reinstalled!

    uuggghhhhh!

    flustered2,

    You recently reinstall the operating system? If so, have you installed the drivers in the order?
    How to download and install drivers in the correct order

    First run delete print jobs to remove all print jobs stuck in the queue.

    Unplug the printer.

    Download and run the patch (cleaning printer utility) until it prompts you to restart your computer.

    Restart your computer.

    Now you can install the printer using the Dell Printer 924 disc.

    Link to the patch/drivers(if needed) is to...

    Dell 924 Photo-All - In - One Printer owners thread (W7)

    Don't forget the programs anti-virus and firewall will block communications.

    Also try this tweak...

    Go into Device Manager (right click on my computer, left click Properties, material of the left click, left click Device Manager)

    Go to the section USB controller, and then click the plus sign +.

    Go to each USB hub root and right-click on it, on the left, click Properties, on the left, click power management. Uncheck the allow the computer to turn off this device to save power.

    Restart your computer.

    Rick

  • printer labels ZEBRA GX420T and Windows 7

    Need serious help!

    We have a Zebra GX420T label printer that runs on a computer running Windows XP with IE8, installed a printer GX420t printer with the latest drivers from the Zebra EPL and shared on the same USB port of the printer generic/text printer, this example displays the barcode labels.

    Then when connect us everything on a new Windows 7, with IE9, computer the same installer does not work, try the generic/text only, unique zebra GX420t printer and the credits and the combination pilot EPL and combined with generic/text and GX420T installation, still can't make it work. It prints a bit of code to bars and text but completely false and partial.

    Printed the barcode on a regular printer to two computers, and it shows that all the command line the exactly the same for both computers.

    Anyone any suggestions?

    Hi Falcontech,

    I see that you have problems with the printer when connected to a windows computer 7. I'll help you with this problem.

    1. What is the brand and model of the computer windows 7?

    2. what security software is installed on the computer?

    3. have you made changes on the computer recently?

    4 is the printer connected to a domain network?

    I suggest you try to run the printer Troubleshooter and check.
    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    Please see these articles also.

    Install a printer: http://windows.microsoft.com/is-IS/windows7/Install-a-printer

    Printing to the correct printer: http://windows.microsoft.com/en-US/windows7/Printing-to-the-correct-printer

    Printer in Windows problems: http://windows.microsoft.com/en-us/windows/help/printer-problems-in-windows

    Print a test page: http://windows.microsoft.com/en-US/windows7/Print-a-test-page

    Let us know if you need assistance with any windows problem. We will be happy to help you.

  • Firefox 34.0.5 cannot print correctly. I checked all the pages on firefox problems and still can not solve the problem.

    I use 34.0.5 with Windows 7 and that you cannot print correctly. In print preview, it appears in a label size. I double checked all my settings in firefox and my preferences from the printer, I checked all the pages on firefox problems and still can not solve the problem.

    I was able to finally solve the problem, but I had to do a complete reset of firefox. Thank you for your time.

  • HP Envy 4500: Cannot print the error message

    I just replaced the black cartridge of the moment on my 4500 and the printer will not print. I get the error message is - cannot print. Visit www.hpinstantink. Com for info. I did that but it's impossible to find useful info! Help, please!

    Hi @clairerobinson6.

    Welcome to the Forums of HP's Support. I understand that your printer does not print and directs you to instant ink site. I would like to help.

    The printer is in the instant the ink program. He receives this error for two reasons. The printer has not been able to connect to the servers of HP ink level controls or the number of pages in a long time, or there is a bill pending. Normally when you sign in to your instant account of ink there is an opinion on the matter. If you do not see a notification, try to reach out to the instant the ink Department.

    You can send them a tweet directly from your instant ink account, or use this link to find the appropriate phone number.

    If you have any questions, or if this does not resolve the problem, let me know.
    If it solves your problem, please click acceptable Solution. This will allow other people with the same problem the solution easily. If you want to say thank you, feel free to click on the laurels.

Maybe you are looking for

  • How to enable web services and search for printer email address

    I am trying to sign up for the monthly INK from HP.  As part of the application, they ask me a CODE.  However, I can't CODE because I am advised that my Web services are not enabled.  How to enable Web services so that I can complete my application? 

  • iCloud on

    I have an iphone 6 I have buyed en Ebay of America with his broken lcd screen. When I started the new lcd .surprise the Icloud is on. What can I do guys

  • Calendar not synchronized since the upgrade to El Capitan

    Hi all I have problems with syncing my calendar with my iCloud because I upgraded my Mac OS to El Capitan. I tried to uncheck the calendar in iCloud and wait a while before reconnect you. Restart my iMac. Disconnect from my iMac and insert it again.

  • Lenovo y510p using a lot of RAM when it should not

    I just had the y510p the other day, installed windows 7 64 bit and it has loaded with pilots and after installing all the car windows updates (which is almost a day of the tool) and now it seems he uses around 35% of the 8 GB RAM and comes with SLI d

  • 12 security update and still in pending with 80242014 error code

    I'm running a vista 32 nome. I noticed that my windows update will always try to updated. some things get updtaed however more security updates are not. they all have an error code 80242014. the last update for vista (kb981332) worked and updated but