• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Printing PDF document over a network v. need to do it in java

KevySaysBeNice

[H]ard|Gawd
Joined
Dec 7, 2001
Messages
1,452
I'm working on a system at work (I'm a newb IT intern) that requires importing a bunch of documents from an Oracle database to IBM Content Manager. Part of the process includes printing documents on a networked printer (it's outside of our office in a different building but is accessible via IP address/user/password - it's all on the same larger intranet).

Anybody know of the best way to do this w/o spending any money? Are there Java libraries for this type of thing, or any common free third party type options?

Thanks for any help <3
 
Java has a Print API, of course, it tends to have everything and the kitchen sink. However if you don't have much Java experience the learning curve may be a little steep.
 
Java has a Print API, of course, it tends to have everything and the kitchen sink. However if you don't have much Java experience the learning curve may be a little steep.


Thanks for the link :)

I have to admit that I'm blown away by how complex those APIs really are... I might end up learning them, but to be honest I really wish there was some wrapper class that let made things more straight forward. I know the printer name, the printer IP address, and I'll be printing PDF documents everytime.

Anyway, thanks again for the link :)

cheers,
kev

p.s. anybody have any other ideas?
 
If the printer is already setup on the system couldn't you just print the documents using the standard method?

If you have a ton of documents and a copy of acrobat you could combine them into one large PDF file and then do batch printing so to speak.

Also you might be able to find some more ideas here: http://forum.planetpdf.com/wb/default.asp

Enjoy
AMDbuilder
 
If the printer is already setup on the system couldn't you just print the documents using the standard method?

If you have a ton of documents and a copy of acrobat you could combine them into one large PDF file and then do batch printing so to speak.

Also you might be able to find some more ideas here: http://forum.planetpdf.com/wb/default.asp

Enjoy
AMDbuilder

Thanks for the help :)

That said, this application I'm writing has to check a folder/database every 5 minutes for files, and when/if it finds them (which it will), they need to be printed directly. I believe there is an "active x" control for adobe acrobat (whatever that means) which i hear people use to send jobs to the printer, however I'd like something more direct, using java methods.
 
Q: Acording to the documentation on the javax.print API,

The base set of printers returned from the lookupPrintServices method are the same as the set of printers returned by the platform. For example, when using Windows NT, the set of returned printers is the same as the set of printers visible in the Windows Printer Control Panel. Likewise, when using Solaris, the returned printers are the same as those enumerated by the System V Unix "lpstat" command. However, since third parties can augment these sets, additional printers, such as JINI printers, can be retu rned.

Anybody here feel like explaining more about this? I mean, when i'm on the computer at work and I go to the printer control panel, there are a TON of printers that show up. hundreds. However when I run some basic simple code none of them show up..
 
Back
Top