Welcome, Guest. Please login or register.

Author Topic: Writing a Printer Driver for AmigaOS  (Read 1453 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TwinTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2003
  • Posts: 106
    • Show only replies by Twin
Writing a Printer Driver for AmigaOS
« on: May 24, 2004, 03:14:57 AM »
I have some experience in programming (C, C++, BASIC etc) and I also work for a company that manufactures printer cartridges and printer components. So I thought I might look into what would be needed to write drivers for AmigaOS 4 and maybe even 3.x I have access to pretty much all Canon and HP printer models.

I don't have OS4 yet but I plan to soonish, I've just bought an A1200 and I can use WINUAE. I have no experience writing drivers, what language are they written in? Are there any helpful guides available?
 

Offline mikrucio

  • Party Mix \'87
  • Sr. Member
  • ****
  • Join Date: Apr 2004
  • Posts: 375
    • Show only replies by mikrucio
Re: Writing a Printer Driver for AmigaOS
« Reply #1 on: May 24, 2004, 03:58:34 AM »
Sorry i cant help other than saying that writing
device drivers are very hard indeed.

but dont let that stop you do some research.

regards
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: Writing a Printer Driver for AmigaOS
« Reply #2 on: May 24, 2004, 04:07:51 AM »
You can get the source for several printer drivers here. I'm prety sure there's also a few on Aminet.
 

Offline Steady

Re: Writing a Printer Driver for AmigaOS
« Reply #3 on: May 24, 2004, 09:35:20 AM »
The Amiga RKM Devices manual has information on writing printer drivers for 2.x (which is pretty much the same as 3.x).

Not sure where to get information about writing OS4-specific printer drivers.

The printer drivers tend to be a mix of C and assembler.
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show only replies by Cymric
Re: Writing a Printer Driver for AmigaOS
« Reply #4 on: May 24, 2004, 10:57:27 AM »
The driver itself is probably not even the hardest thing, provided you stick to ordinary black and white printing. Some people have already indicated there are many examples out there. The real problem is finding out which codes to send to the printer: these are almost never documented in the printer manuals anymore. At one time I wanted to write a driver for my HP LaserJet 6MP, only to find out that the manuals I needed would set me back about 200 €. You open up a can of worms if you want to create a colour printer driver: colour calibration is an extremely tricky subject, definitely not for the unwary and uninitiated.
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline ncafferkey

  • Sr. Member
  • ****
  • Join Date: Feb 2003
  • Posts: 365
    • Show only replies by ncafferkey
Re: Writing a Printer Driver for AmigaOS
« Reply #5 on: May 25, 2004, 08:48:28 PM »
Be careful you don't end up reinventing the wheel! There are a number of drivers already for Canon and HP printers, although these are mostly for older models AFAIK.