- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi there,
I would like to send a bitmap stored either in memory or on a file to a printer, i.e. I do NOT want to print the display using WINPRINT.
Before starting on the rather involved documentation on how to do this I would like to know if anyone already has worked this out.
Ideally I would be extremely happy to find a modified version of the much discussed "Fortran_WinPrint" sample, but for bitmaps rather than text files.
Hoping for the best
Lars
lars.engstrom@fysik.lu.se
I would like to send a bitmap stored either in memory or on a file to a printer, i.e. I do NOT want to print the display using WINPRINT.
Before starting on the rather involved documentation on how to do this I would like to know if anyone already has worked this out.
Ideally I would be extremely happy to find a modified version of the much discussed "Fortran_WinPrint" sample, but for bitmaps rather than text files.
Hoping for the best
Lars
lars.engstrom@fysik.lu.se
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Solved!
Since I started this thread I feel I should also end it.
I did manage to create a subroutine that works just like WINPRINT, but:
1. allows you to select a rectangular part of the screen.
2. changes a color image to monochrome, allowing you to select which color will be mapped to white (all other black), supporting 16-, 24 and 32-bit color settings of the computer.
3. prints the monochrome image significantly faster than WINPRINT.
If this could be of interest to anyone, please feel free to e-mail me
lars.engstrom@fysik.lu.se
Since I started this thread I feel I should also end it.
I did manage to create a subroutine that works just like WINPRINT, but:
1. allows you to select a rectangular part of the screen.
2. changes a color image to monochrome, allowing you to select which color will be mapped to white (all other black), supporting 16-, 24 and 32-bit color settings of the computer.
3. prints the monochrome image significantly faster than WINPRINT.
If this could be of interest to anyone, please feel free to e-mail me
lars.engstrom@fysik.lu.se

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable