Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-30-2005, 01:00 PM   #1
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Rep: Reputation: 30
Writing a print driver

As I'm sure some of you have seen in the Hardware forum, I'm having trouble with my printer. As it seems that there are no drivers that work with it and Tally Genicom haven't replied to my e-mail asking if they have a solution, I am left with 2 options:

1. Get a really long USB/Parallel cable
2. Write my own driver

Option 1 isn't possible so I'm going to have to go with 2.
My question is, how can I go about working out how the printer works? I have got SnoopyPro installed on Windows now and I can get USB data dumps from the printer. Where should I go from here? I am quite experienced and C and C++ so the actual driver shouldn't be a problem (with a bit if playing around first) but I have no idea where to start on the protocol/data format.

EDIT: They have now replied:
"The 9316 printer is a windows GDI printer only and so will not be able
to run under linux."

Not really a lot of help but still, at least they took the time to respond.

Last edited by Orkie; 03-30-2005 at 01:31 PM.
Old 03-31-2005, 10:03 AM   #2
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
just visited these links,might of some interest to you :

How to Write a Linux USB Device Driver

Simple example(not printer but mentioned snoopy)

look at other's source
Lexmark Linux Printer/AIO Driver Developer's Kit

just for the general

i never and don't know how to write driver ,but seems interesting
good luck
Old 04-04-2005, 03:46 AM   #3
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Original Poster
Rep: Reputation: 30
Thanks for the links, I'll take a look at them as soon as I get my computer working again (Windows XP managed to break the entire thing ).


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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 05:15 PM
writing driver alice95089 Linux - Software 0 04-06-2005 04:55 AM
Setting up a print to file print driver Bill Fox Linux - General 0 02-26-2005 02:22 PM
Need help in writing device driver eshwar_ind Programming 1 02-07-2004 04:46 PM
writing driver modules unicorn21 Programming 1 12-15-2003 02:01 PM > Forums > Non-*NIX Forums > Programming

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

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