LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2005, 04:47 PM   #1
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
Slack 10.2 / Java 1.5 / CUPS printing


Hi. I've tried to get this combination working. Regular printing from OpenOffice and other KDE applications works fine. The printer is a Samsung SCX4100 and I'm using the USB port interface. I use one Java program that I would like to print from...MoneyDance. Now I had this working with CUPS on Slack 10.1 and Java 1.5. I'm sorry but I do not recall the CUPs version. So far I've tried ensuring that every lp* in /usr/bin and /usr/sbin maps to lp*-cups. This did the trick in 10.2 but not now.

I also noticed that lpc was not available to a normal user so I added /usr/sbin to my path and this had no effect. This was probably a BAD idea as the FSH indicates /usr/sbin should not be in the normal users path.

Basically, the job never appears in the print queue. From what I've read this may be the fact that lpc status command format is not correct for Java but I'm uncertain of this. I do get a listing when at the lpc prompt and I execute the status command.

Any ideas? Thanks!
 
Old 11-22-2005, 05:24 PM   #2
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
It may be totally useless to you, but I used to have a similar problem with Mozilla and Mozilla Firefox --- print jobs just didn't get queued. Only accidentally I found out that it helps to specify the correct paper size for the printer. Setting page size to A4 made the Dino print.

Might be worth a try with Moneydance just as well.

If it doesn't work, I'd suggest that you try to print to a Postscript or PDF file and take a look at the result. Das KGhostview or KPDF or similar programs open the file without problems?

gargamel
 
Old 11-22-2005, 06:37 PM   #3
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Original Poster
Rep: Reputation: 30
It appears MoneyDance can create a *.ps file but KGhostView shows zip. I see absolutely nothing but the page count does increase for a larger report vs. a smaller one as does the file size. I have 'Letter' selected for the page size. No joy yet, but thanks for the response.
 
Old 11-29-2005, 10:51 AM   #4
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Original Poster
Rep: Reputation: 30
bump...

I'm still striggling with this issue. Any other takers? Is there a "low-level" method to debug java printing?
 
Old 11-30-2005, 08:28 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356

Rep: Reputation: 76
I am also unable to print from Slackware 10.2/CUPS/ Java 1.5 whether with my own software or java programs like jedit.

This is weird because I am able to print from 1.4 and was able to print from 9.1/CUPS/1.5. I cannot remember if I tried it with 10.1. So, unless you really need 1.5 you could try installing a 1.4 jre and running your program from there.

I am suspicious that there is something not quite right with 10.2
 
Old 04-18-2006, 04:36 AM   #6
mrkeef
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
I'm having the same problem with Debian, moneydance, Java 1.5, cups :-(

I haven't found a definitive answer.

I get the error message "No print service found"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 09:01 AM
CUPS printing drguitarum2005 Linux - General 17 02-17-2005 07:31 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Printing Probs with CUPS and Slack 9.1 Aman9090 Slackware 6 03-10-2004 04:21 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration