Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Printlib GB: Difference between revisions

From GameBrew
(Created page with "{{Infobox GB Homebrews |title=Printlib |image=printlibgb.png |description=DragonEagles GBDK printer library extended to work correctly. |author=DragonEagle, Shen Mansell |lastupdated=2000/12/06 |type=Samples |version=2000 |format=DMG (GBDK) |license=Mixed |download=https://dlhb.gamebrew.org/gbhomebrews/printlibgb.7z |website=http://shen.mansell.tripod.com |source=http://shen.mansell.tripod.com/games/gameboy/gameboy.html |donation= }} {{#seo: |title=GameBrew |title_mode=a...")
 
No edit summary
 
Line 7: Line 7:
|type=Samples
|type=Samples
|version=2000
|version=2000
|license=Mixed
|format=DMG (GBDK)
|format=DMG (GBDK)
|license=Mixed
|download=https://dlhb.gamebrew.org/gbhomebrews/printlib.zip
|download=https://dlhb.gamebrew.org/gbhomebrews/printlibgb.7z
|website=http://shen.mansell.tripod.com
|website=http://shen.mansell.tripod.com
|source=http://shen.mansell.tripod.com/games/gameboy/gameboy.html
|source=http://shen.mansell.tripod.com/games/gameboy/gameboy.html
|donation=
}}
}}
{{#seo:
{{#seo:

Latest revision as of 11:10, 30 July 2024

Printlib
Printlibgb.png
General
AuthorDragonEagle, Shen Mansell
TypeSamples
Version2000
LicenseMixed
SystemDMG (GBDK)
Last Updated2000/12/06
Links
Download
Website
Source

This is the GBDK printer library by DragonEagle, extended by Shen Mansell to work correctly.

Looking at the example code should allow you to get the program going, and for more help have a look on the net for GB Printer docs.

to print:

 SendPrinterCommand(PRINTER_INIT);

 do this 20x18 times
 {
   PrintTileData (p_data); // where p_data is 16 bytes representing a tile
 }

 SendPrinterCommand(PRINTER_EOF); 
 SendPrinterCommand(PRINTER_START);

Credits

Thanks to StarTreky for pointing out some errors.

External links

Advertising: