I've got Postscript code/data (?) in memory (in a Java Tomcat webapp) that I'd like to send directly to a networked PS printer. Is there an easy way (i.e. just ... |
We are currently using JOD Converter to send a word document to an open office service running in a different machine. The open office service is being hosted ... |
I've been using the solution detailed in this question (including jLpr) to print PDF documents to a network printer. However, I've run into some problems with PDF version ... |
How to print a PDF on an unmapped network printer in java?
Printer name given LIKE ( \\PSCPARKP01\CP_P1_OKI20_4 )
|
You can't control a printer queue from Java; of course you can print or make another application print something. Read the API documentation for the "Desktop" class and the API documentation ... |
|
Trying to print to a barcode printer on the network from a WebSphere Server app running on Unix. Following is my print method: private final void sendToNetworkPrinter(String ipaddress, String port, String printerCommands) throws JSpaException { URL printerUrl; URLConnection printerConnection; try { printerConnection = new URL("http://" + ipaddress + ":" + port).openConnection(); printerConnection.setDoOutput(true); Writer out = new BufferedWriter(new OutputStreamWriter(printerConnection.getOutputStream())); out.write(printerCommands); out.close(); } ... |
|
I have a program which develops a set of weekly schedule data and displays it to the user. I would like to print that same data to the PC printer as a report (once the user clicked an appropriate button). Is there an example anywhere that shows how to set up the Java necessary to point to the PC printer and ... |
Hi, I am trying to print to find a network printer and print a PDF document to it. I only know the printers IPAddress and that the printer is avaliable in the network, but not the printer name. Can any one suggest me on how to find a printer using IPAddress?? Thanks, |
|
First, let me admit I may be missing something.... I'm developing a web application. I want the authenticated user to be able to submit a form that triggers a printout to a printer that is stored in the database and associated with the user. The printer wont be installed as a printer on the server, so it would be a direct ... |
|
Hi, I am making a small application that connects to one or more printers present in network location in one go, esp in Windows as I am working on it. The reason behind making this application is to get the whole list of printers from shared location in the word processing application while printing a job. Can someone please help me ... |
Hello, me and mine friend are developing a project on network print spooler. We have many questions in mind which is stated below. 1) Is there one printer or more than one printer in this proj. 2) From where we should start coding. i.e., by reading content on network print spooler we got nowhere to start. So plz give some initital ... |
I'm very curious to all this, my original question was going to be about the methods print and println. I've been using PrintWriter with my Sockets to do all of my networking functions, but now that I look at the API for PrintStream and OutputStream I see that they look sufficient enough to work for my purposes. Whats the difference between ... |
I doubt that Javascript will work, the best it can do for printing is to bring up the browser's print dialog. That isn't going to get anything to LPT1, and it doesn't allow you to control the format of what you print, either. Perhaps an applet would work better; at least it's Java and it runs on the client system. |
Hi, I have a question that I have been unable to find an answer to and I am beginning to wonder if it is even possible to do. I have been asked to create a utility for our help desk to use that will enable them the option to remotely add a printer to a users workstation. What I would like ... |
|
You didn't specify the printer, but for an HP 3600 networked printer: - Install the printer, turn it on, set its IP address. - on each workstation run the program that came on the CD If you don't have that, you will need to download it from HP. For some others you will run the setup in windows and specify the ... |
Hi, i want to print a pdf on a network printer. I opened TCP socket to the printer and i am trying to write pdf bytes on the ByteArrayOutputStream but it does not work. If i use a txt file instead, it prints. FileInputStream inputStream = new FileInputStream("C:\\Workspace\\Test-NWPrinting test.pdf"); //String inputStreamToString = inputStream.toString(); String inputStreamToString = inputStream.toString(); byteArray = inputStreamToString.getBytes(); ByteArrayOutputStream ... |