Printer driver example source?

4 posts / 0 new
Last post
trixie
trixie's picture
Offline
Last seen: 5 months 13 hours ago
Joined: 2011-02-03 13:58
Printer driver example source?

Could any good soul provide me with a GNU-compilable C-only example/skeleton source code for an Amiga printer driver? I just can't make heads or tails of the assembler-ridden mumbo in the Dev Wiki :-(

gazelle
gazelle's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2011-04-13 12:52
Re: Printer driver example source?

There was an example printer driver source (pure C with gcc as compiler) in SDK 53.15:

SDK:Examples/Printer/HP_DeskJet_CMYK

Don't know why it was removed or if it still works.

(edit: I still have it, if you want it.)

trixie
trixie's picture
Offline
Last seen: 5 months 13 hours ago
Joined: 2011-02-03 13:58
Re: Printer driver example source?

Thanks for the tip, found the old SDK on Hyperion's website!

Hm, looks like the entire Printer drawer is now gone from the SDK examples. I wonder why this is the case? Has anything been changed in the OS4 printing infrastructure that renders these examples unusable?

AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2

hypex
hypex's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2011-09-09 16:20
Re: Printer driver example source?

AFAIK nothing has changed. Except the HP_Photosmart driver I compiled is based directly on those sources. And includes extra code to send job end commands. As well as having a less obscure name people can relate more too. I can't believe is was back in 2007 when I started that! :-)

Log in or register to post comments