- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
HI,
i'm trying to change the font type in forprint example with no result.
If i try to change font size instead it works.
Have you any idea?
The example set the font type to Courier New, and i try with Verdana, Courier, Symbol etc...
thanks
- Marcas:
- Intel® Fortran Compiler
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I am not familiar with "forprint", but the general idea in printing is that you re-write (re-paint, to be precise) your window or region,using thedevice context of a selected printer rather than the screen. The code is precisely the same codeyou used to create the output (presumably to the screen) in the first place. F90 codeillustrating Win32 API calls for selecting a font has been posted in another thread: http://softwareforums.intel.com/attachments/ids/5/13411/1/textscrolling%20example.F90
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
The forprint sample sends a file to a printer, and does not use screen painting, as such. The font argument has always worked for me. What I suggest you do is build a debug configuration and step through the code that selects the font, seeing if there are any errors.
It may be that the printer you're using does not support bitmapped fonts?
It may be that the printer you're using does not support bitmapped fonts?

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora