• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: remotely print PDF files from WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remotely print PDF files from WO


  • Subject: Re: remotely print PDF files from WO
  • From: Jean-François Veillette <email@hidden>
  • Date: Thu, 18 Nov 2004 15:38:42 -0500

I have the same problem to solve.
I tried the javax.print api and realised it's a no-go. javax.print will talk directly to your printer. Not what I'm looking for. Like you I want to be able to print to the print spooler, on OS-X I would like to pass by CUPS.


I just did a quick search and found jipsi
About:
jipsi is an implementation of the Java Print Service API for Common Unix Printing System (CUPS). This allows printing from Java application on virtually all printers connected to a Unix network.


http://www.lohndirekt.de/software/jipsi.html

I'm not sure it will really help, it may be enough to get you going.

It's also on my todo list, but on a relatively low priority, so I don't know when I'll be back to this for r&d. But going with cups was to be my next step of evaluation.

- jfv



Le 04-11-18, à 15:24, Nathan Dumar a écrit :

I'm guessing the printserver will accept postscript files ... you could try using pdf2ps (ghostscript) to convert PDF to PS.

Not that I've ever done it before.

Take care,
Nathan


On Nov 18, 2004, at 2:09 PM, Kimball, Melissa L - Raleigh, NC - Contractor wrote:


Hello everyone,

I've got an issue here. I've got a PDF file that is generated by JavaPDFGenerator though a Java web application. I need to send this PDF file to a print server without opening the file up in a browser, clicking the print icon, waiting for the PDF print dialogbox to come up, and having the user send the job to a printer. Instead, I know who the IP address of the print server, and hopefully the driver as well (installed on the deployment box). The print server will then farm out the print job to one of the printers in its cluster. Sounds easy......

So far I've heard that javax.print does not support the PDF "flavor." Is this correct? If it did support PDF, then the solution would be simple, because javax.print can spool my job to a remote printer! It's the PDF file format that is the problem.

I was also thinking about the Runtime class and executing an OS command to spool the job to the printer through a shell script. Has anyone gotten this to work?

Thanks for all your help!
Melissa

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: remotely print PDF files from WO
      • From: Greg <email@hidden>
References: 
 >remotely print PDF files from WO (From: "Kimball, Melissa L - Raleigh, NC - Contractor" <email@hidden>)
 >Re: remotely print PDF files from WO (From: Nathan Dumar <email@hidden>)

  • Prev by Date: Re: remotely print PDF files from WO
  • Next by Date: Re: remotely print PDF files from WO
  • Previous by thread: Re: remotely print PDF files from WO
  • Next by thread: Re: remotely print PDF files from WO
  • Index(es):
    • Date
    • Thread