You are not logged in.

#1 2012-10-18 18:07:49

ebshankar
Member
Registered: 2012-02-18
Posts: 91

[SOLVED]Using cups-pdf in java applications

I have

jre7-openjdk 7.u7_2.3.3-1
jre7-openjdk-headless 7.u7_2.3.3-1
cups-pdf 2.6.1-1

I'm using arch x86_64 using linux kernel 3.6.2.
When I try to print a file to pdf in a java application it shows, "No print service found". How can I fix this?

Last edited by ebshankar (2012-10-19 08:36:19)

Offline

#2 2012-10-18 18:33:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: [SOLVED]Using cups-pdf in java applications

Is the cups daemon running?

edit: And as it relates to how to start the cups daemon, are you using systemd or initscripts?

Last edited by Trilby (2012-10-18 18:34:02)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-10-18 18:49:44

ebshankar
Member
Registered: 2012-02-18
Posts: 91

Re: [SOLVED]Using cups-pdf in java applications

cups daemon is running and I"m using systemd

 $ systemctl | grep cup
cups.path                 loaded active waiting       CUPS Printer Service Spool
cups.service              loaded active running       CUPS Printing Service
cups.socket               loaded active running       CUPS Printing Service Sockets

Last edited by ebshankar (2012-10-18 19:50:25)

Offline

#4 2012-10-19 08:36:03

ebshankar
Member
Registered: 2012-02-18
Posts: 91

Re: [SOLVED]Using cups-pdf in java applications

I figured this out. You have to create a virtual printer using 'manage printing' from the system menu.  non java applications didn't need this to be done. Marking as solved.

Offline

Board footer

Powered by FluxBB