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 :-(
Thu, 2015-08-20 09:38
#1
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.)
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
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! :-)