Printing on Mac

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Arislan
Posts: 4
Joined: Mon Apr 17, 2006 5:22 pm

Printing on Mac

Post by Arislan »

For some reason, I cannot seem to get anything to print out of Oxygen on my Mac. Using 10.4.6 and Oxygen 7.1. Print Preview, Print as PDF, Print, all print functions won't produce anything. I click the print button at the end of the print dialogs and the window goes away, but no print job of any kind is started.
Any suggestions? (Even if I am doing something stupid...)
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Printing works fine in <oXygen/> 7.1 on Mac OS X 10.4.6. I tested this with a Samsung printer using a printer driver from Samsung, not the default driver of Mac OS. I selected Print, not PDF and I pressed OK without changing other settings in the two dialogs invoked by File -> Print in <oXygen/>. What Java version is used to run <oXygen/> (go to Help -> About -> System properties -> java.vm.version) ? Do other Java applications print fine on the same Mac computer?

Regards,
Sorin
Arislan
Posts: 4
Joined: Mon Apr 17, 2006 5:22 pm

Post by Arislan »

java.version 1.5.0_05
java.vm.version 1.5.0_05-48
java.awt.printerjob apple.awt.CPrinterJob

Other Java apps, including some custom in-house ones and NeoOffice print just fine. It's almost like after the print dialogs finish in Oxygen, whatever data needs to be passed just gets dumped.
I've even reset the print system in the Printer Setup Utility. Nothing seems to have any effect. I'm trying to see if there's anything in log files, but not sure where to look in that jumble at the moment.
Arislan
Posts: 4
Joined: Mon Apr 17, 2006 5:22 pm

Post by Arislan »

Ok, I'm boiling it down to a problem specific to printing under the primary user account. I know this is beyond an Oxygen issue, but I'm curious to see if anyone has any suggestions.

So, if I log in under a different user account, Oxygen prints beautifully. Under the suspect account, I get nothing after hitting preview or final print button.
Here's an example of the cups access_log file when doing a print preview (this is what shows up right after hitting preview) out of another application:
localhost - - [18/Apr/2006:12:54:26 -0500] "POST / HTTP/1.1" 200 196

and, here is the result from doing the same thing from Oxygen:
localhost - - [18/Apr/2006:12:55:31 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:12:55:31 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0

Anybody have a clue on what settings may be messed up?
Arislan
Posts: 4
Joined: Mon Apr 17, 2006 5:22 pm

Post by Arislan »

Ok, after further messing around, something is definitely out of sequence.

I have 4 printers on my machine. They have the following IP addresses:
10.16.30.201
10.16.30.203 (default)
10.16.30.205
10.16.30.207

When I open the app and try to print/preview the first time, I see this error (regardless of what printer is selected in the page setup or print windows):
localhost - - [18/Apr/2006:15:05:39 -0500] "PUT /_10_16_30_203 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:15:05:39 -0500] "PUT /_10_16_30_203 HTTP/1.1" 403 0

Second print/preview attempt (no changes to print dialogs):
localhost - - [18/Apr/2006:15:06:22 -0500] "PUT /_10_16_30_201 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:15:06:22 -0500] "PUT /_10_16_30_201 HTTP/1.1" 403 0

Third attempt:
localhost - - [18/Apr/2006:15:07:24 -0500] "PUT /_10_16_30_205 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:15:07:24 -0500] "PUT /_10_16_30_205 HTTP/1.1" 403 0

Fourth attempt:
localhost - - [18/Apr/2006:15:07:45 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:15:07:45 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0

Fifth attempt:
localhost - - [18/Apr/2006:15:08:41 -0500] "POST / HTTP/1.1" 200 196
The preview/print works!

So, now every time I try to print I'm successful. After I close Oxygen and reopen, we have to go through the four failed prints before getting a functional one again.

App issue? Printer setup issue? Any clues/suggestions?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,
Arislan wrote:So, if I log in under a different user account, Oxygen prints beautifully. Under the suspect account, I get nothing after hitting preview or final print button.
Arislan wrote:Fourth attempt:
localhost - - [18/Apr/2006:15:07:45 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0
localhost - - [18/Apr/2006:15:07:45 -0500] "PUT /_10_16_30_207 HTTP/1.1" 403 0


It seems that when you log into the suspect account the printer driver does not provide (correctly) the user and password to authenticate with the printer or that user does not have permission to use the printer. In such a case the printer must be configured to allow that user to send print jobs to it.

Regards,
Sorin
Post Reply