- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page