PrintServiceLookup.lookupDefaultPrintService() returns null

PrintServiceLookup.lookupDefaultPrintService() returns NULL as I have a printer installed and set to default printer. If I am using this in a simple program it works fine, but when I try to use it...

Temporarily disable double buffering in Java graphics applet

is there an easy way to disable double buffering in a java applet if necessary? I have a java applet that displays and animates a musical score so I needed it double buffered. However for teaching...

jZebra applet testing without printer

Im trying to print a datamatrix with jZebra applet but my printer does not work with ZPL. Is there a way to test this without printer (to_PDF)? My concern is the commands that im sending.

Java Applet PDF printing

I am trying to build a java applet which prints a PDF file and sends it to a label printer rather than the default. I explored desktop.print but couldn't work out how to specify the printer. This...

Zebra LP2844 stopped responding to ZPL Commands or Files

I sent a couple zpl files to the printer to test it and it worked fine. After that I was receiving base64 encoded zpl data from UPS and creating a file and sending it to the printer via a Java...

Understanding the Linux oom-killer's logs

My app was killed by the oom-killer. It is Ubuntu 11.10 running on a live USB with no swap and the PC has 1 Gig of RAM. The only app running (other than all the built in Ubuntu stuff) is my...

Can HTML5 communicate with peripherals like scanners and credit card readers?

My company writes software that installs on client machines to perform point-of-sale transactions. The software interfaces with a variety of external peripherals (receipt printers, bar code...

Correct way to send escape codes (raw data) to printer

In the context of a bigger application, my applet needs to print some data to a Zebra or a Dymo (depending on what the user has installed) label printer. The data i receive is in an escaped form,...

Least invasive way to print force print HTML with Java?

I am working on an internal Java web application for my company where I have full access to every machine that will be using the application and can configure as needed. Part of the requirements...

JavaPOS printing text throws JposException

I had a lot trouble to setup a applet to work with an Epson TM-T88V pos printer. Now I can send the command for the cutter and it works. But printing any other text is not possible. The following...

git push heroku master takes forever

I'm using a VM based on Ubuntu 12.04 (ruby 1.9.2p290 and rails 3.1.0) and my app work perfectly on local. I'm using git and when I try to git push heroku master it doesn't work: git push heroku...

Printer ZebraZ4MPlus don't print Russian Cirillyc character

I try to print some text in Russian from JavaScript using applet "qz-print". My js code: if (qz !== null) { qz.append("^XA"); ...

Printing to POS printer from PHP

We are looking to print to a POS printer connected where apache is running. Due to design of the application, and deployment, printing should be done from Server (it should detect the order and...

Force a printer into an error state

I'm trying to reproduce a behaviour of a java applet when it sends a print job and a javax.print.PrintException: Printer is not accepting job exception is thrown. I'm trying to follow the steps in...

JS not working properly in firefox

I am using qzprint API for printing labels in my open cart extension. Everything was working fine but suddenly it stopped working on FF. In Internet explorer it works fine. If i add alerts in my...

Cannot generate JNLP dynamically from ADF (JSF) application

I have an application developed with Oracle ADF ( JSF ) that uses an applet to send PDFs directly to the printer without showing them to the user. Since modern browsers (such as the latest...

Javascript - Print on thermal printer on client (No applet)

First I want to know if is possible to such thing. I'm developing a web application where the user has to print receipts on their own thermal printer. I don't want to use Java applet or Flash on...

Fedora 25 Tigervnc displays Black screen

The system is Fedora 25. The issue is vncviewer is displaying a black screen. By comparison the vnc package list is the same as those in a Fedora 24 system where vnc viewer is displaying...

No Java support on firefox

Hey so I have this IP printer that uses some java-applet to get it's work done, yet as of a few days ago, firefox dropped all support for npapi plugins but flash, hence java is no longer...

Communication between browser (javascript) and java App

I'm working in a project where I need print documents from an html webpage, I made a JAVA app to Communicate with my printer and it works, but I need integrate that app with javascript to print...

Print generic text-only in Google Chrome

I'm trying to print text only from a web-application to a thermal printer. Ideally, this functionality will be in a SharePoint Online website for print receipts. I used window.print and tested in...

VNC on Ubuntu 14.04 LTS

I have a Mac running OS X 10.11.6 and Ubuntu EC2 instance running 14.04LTS. I'm trying to get VNC running KDE from my Mac. XQuartz launches but I have not keyboard, or mouse control over...

pcre2 conditional replacement regex

I'm trying to write some regex for inserting box drawing characters based on conditionals, but I keep getting the compilation error subpattern name expected. Here is my code: int...

Printing using client machine printers (not server where the app is deployed) in Java

I developing an app with Java 8 using Spring. The user story is that the client should select many document (PDF) to be printed and then press a button and print all of them to the default client...

Responsive layout in pure css

I'm struggling with CSS and HTML and encountered a big pitfall. My HTML code is: /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body,...

Trying to bind marker with pop up message using leaflet JS programmatically

I'm currently building an Interactive Map using leafletJS combined with geocoder and map cluster plugins. I'm trying to figure out how I can bind the pop up message programmatically. The element...

Insert Popup message programmatically using leaflet js

I'm having a difficult time trying to figure out how I can display the marker with a pop up message programmatically using leaftlet js. The class country-pop-up-message is the pop up message I...

Anchor ul-li blinks/flicker after click on a link problem

I decided to do a li hover effect. Cursor hovers on anchor li, li moves down to simulate a click effect. Every time after li click I see one blink of anchor li background. I googled Flash of...

How can I have a Pcomm session automatically log in to a specific connection..?

We have an AS400 DB2 v7r3m0 system, to which we connect with PComm v6 emulator sessions. For a certain high-throughput printer, there's a stand-alone PC acting as a print server, with a PComm...

How to Fix NonFunctional X11 Mouse on WSL2

UPDATE Oct 12, 2020: I created another Linux user and that user has no problem with the mouse ... for the first login. After that, the new user also did not show a mouse cursor in the X11 server...