[haiku-bugs] Re: [Haiku] #5994: Printer is not added for BeOS R5 driver.

  • From: "ithamar" <trac@xxxxxxxxxxxx>
  • Date: Sat, 15 May 2010 21:56:32 -0000

#5994: Printer is not added for BeOS R5 driver.
-------------------------------------------+--------------------------------
 Reporter:  dru_ed                         |       Owner:  ithamar    
     Type:  bug                            |      Status:  in-progress
 Priority:  normal                         |   Milestone:  R1         
Component:  Printing                       |     Version:  R1/alpha2  
 Keywords:  R5, HP PCL3, LaserJet, driver  |   Blockedby:             
 Platform:  x86                            |    Blocking:             
-------------------------------------------+--------------------------------
Changes (by ithamar):

  * status:  assigned => in-progress


Comment:

 Found the problem! The add-on does a find_directory call with
 B_COMMON_SETTINGS_DIRECTORY as the parameter to find the settings
 directory with....

 In BeOS, the COMMON dirs were the same as the USER ones, but in Haiku they
 aren't. Therefore, the add-on can't find the printer's  directory, and
 returns NULL as a result.

 Not sure how to fix this one though (besides patching the binary to use
 B_USER_SETTINGS_DIRECTORY :P)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5994#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: