Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 04:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Lexmark X2350 and CUPS.
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Sat 16 Nov 2013, 17:24    Post_subject:  Lexmark X2350 and CUPS.
Sub_title: Tried downgrading to CUPS 1.2.X and using a driver I made unsuccessfully. Need help.
 

I am trying to uninstall CUPS but it refuses to be uninstalled with the error no user package with the name cups-1.4.8-w5c exists. I have compiled another version on a different PC and would like to replace the preinstalled version with it. Any ideas, maybe add a line to the user installed packages list? This is very important, because I am going to test a custom driver for a printer that I have kindof hacked up because Linux has to support fopr it since it was released in 2005. Also my driver only works with cups 1.2.X (so far) and no higher, so im basically downgrading its version first. I done part of the driver on puppy 5.2.8 which had a older version of CUPS that was not developed b Apple, and they changed some things, making all my work useless Sad I have nothing against Apple developing CUPS, as most printers work with it, besides the one I am making a driver for. If the driver works reproducibally across computers, I will release it as a .PET incase anyone else has a Lexmark 23XX series printer.
Edited_times_total
Back to top
View user's profile Send_private_message 
tallboy


Joined: 21 Sep 2010
Posts: 449
Location: Oslo, Norway

PostPosted: Sat 16 Nov 2013, 22:20    Post_subject:  

Have you done it this way?

Also check out /root/.packages/builtin_files.

(careful with the Remove builtin packages application, it is too easy to remove something from the list...)

Pics are from my slightly modified LupuPlus_5.2.8.005-1

tallboy
pupcontrol.jpg
 Description   
 Filesize   29.75 KB
 Viewed   642 Time(s)

pupcontrol.jpg

removebuiltin-help.jpg
 Description   
 Filesize   38.44 KB
 Viewed   425 Time(s)

removebuiltin-help.jpg

inst-cups.jpg
 Description   
 Filesize   94.46 KB
 Viewed   508 Time(s)

inst-cups.jpg


_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send_private_message 
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Sun 17 Nov 2013, 15:52    Post_subject:  

Didnt know you could do that, thank you very much. I know a bit about Puppy Linux, but not too much. Great, I just remastered it last night and burned a CD. I dont have too many left, but thats mostly because I dont go to the store too often and only buy when a 250 pack when they are $10. It did work though, but sadly the driver did nothing, printing worked, but not scanning which is the main reason I was writing the driver because I use my DeskJet or the family networked laser printer. *SIGH* I guess I will try to uncompile the MAC OS version and try to... wait CUPS is made by Apple, so the driver must have some resources in that DMG file that are already CPUS compatable! Maybe some hacking is in order LOL. I think you just helped me get this working. Thanks for the help. I am actually suprised how fast I got replys on here, I was expecting a long wait on something so uncommon.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9260
Location: Stratford, Ontario

PostPosted: Sun 17 Nov 2013, 16:02    Post_subject:  

What model is this unit - a Z23xx or an X23xx?
Back to top
View user's profile Send_private_message 
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Sun 17 Nov 2013, 19:02    Post_subject: Type Of Printer:  

It is a X2350.
Hmmmm. that DMG archive might have a PPD file in it, but with the confusing folder structure, itl be a while to find it. I have heard the X2350 works with a driver for a completely different model/series *sometimes*, but iv forgotten what it is. It didnt work for me last time though, but that was on Ubuntu, maybe it would work on Puppy.
Back to top
View user's profile Send_private_message 
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Sun 17 Nov 2013, 19:30    Post_subject: Progress... Slow  

Ok, I figured out that the dmg can be extracted with PeaZip.
I mounted the hfs file from inside it, and extracted the largest file called ScanIMg.pkg
I renamed the PGK to .xar and extracted it. Inside were a bunch of xml files with the license agreement in different languages.
I found a file called Payload which I opened with PeaZip to see if it was binary or not.
It is apparantly a GZIP archive of the files to be installed.
EDIT: It has a larger file called Payload in it, assuming tar archive and extracting it.
EDIT2:
YES A FOLDER CALLED LIBRARY THE MAC OS APPLICATIONS FOLDER!!!!!
Im getting closer.
EDIT3:
I changed the topic name to something more revelant.
The driver appears to be a Java Class or JAR file!!!!!!!!!!!!!!!
I would never had thought that. Lexmark is writing drivers in Java and saying none is available for Linux LOL.
EDIT4:
Its not a java file, it has a Java icon though, which means Puppy Linux thinks its a java class file. The file structure is very similar, and has lots of readable text, very wierd. Im assuming they are some kind of proprietary executable format from Apple. I guess I tried! Now since you asked what model, Im assuming you might have a solution.
EDIT5:
If it helps the package has some ICC profiles, and lots of XML files containing file links and version info. Im keeping the Color Profiles, Im installing them on my Windows to get the color of prints more accurate as the driver for Windows installed no profiles. Hmmm.... I wonder if those wierd binary files could be reverse engineered theres one called ScannerDriver, ScannerDriverGUI, DriverBackendUSBIO, PrintDriver and PrintdriverGUI. Their names tell me exactly what they do!
Back to top
View user's profile Send_private_message 
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Sun 17 Nov 2013, 20:31    Post_subject: Take at using drivers from another OS.  

I downloaded Lexmark's universal driver that works with all their printers and found one file with a .pp_ extension which is a CAB compressed PPD file. I will see if it works before waiting for a reply.
EDIT:
That PPD files does not work, even though it specifies paper sizes and options in itself. I guess Il check the forum tomorrow to see if I got a reply, have a nice day everyone.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0575s ][ Queries: 12 (0.0038s) ][ GZIP on ]