Thread: Formatted output format suitable for printing

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    125

    Formatted output format suitable for printing

    This is a fairly open question so it may seem a bit odd, but it also means I have very little idea where to start.
    Basically, I've written a program (programmed in C++, runs under windows) to practice japanese kanji, and now I would like to make the program use the database I'm building along with it to produce printable documents to revise when I'm away from the PC, i.e. a sheet of paper with all the kanji of one lesson along with their translation+readings organised neatly. (an example of the kind of layout I'd like to print is attached)
    The problem is, I can't seem to find a suitable file format or markup language to write these files in.

    So far I've looked at
    1. LaTeX, which seems simple and very printable, but appears to have incredibly poor support for tables of any kind plus seems to be somewhat hard to get to work with unicode (necessary to get the kanji in)
    2. RTF, no support for tables whatsoever? Only real documentation I could find was the official 200+ page specification.
    3. HTML, very easy to get the layout to work on-screen but it seems unsuitable for printing (no clear control over the position of stuff on paper), plus I can't seem to change the font of any non-roman character (i.e. the kanji themselves look very ugly) even though I have several fonts with a full CJK character set installed.
    4. Any bitmap format: full control over the final print, but the files would end up being very large even for low DPI and I'd have to write code to do all of the rendering/rasterising myself.

    So far none of these options seem viable.
    Any suggestions for easily formatting something like in the attachment would be greatly appreciated!

    (edit: any way to not display attached images automatically? It's kind of... big. Especially considering it's only an example of what I want to do)
    Last edited by Boksha; 01-03-2007 at 03:17 PM.
    Typing stuff in Code::Blocks 8.02, compiling stuff with MinGW 3.4.5.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help fixing bugs in data parsing program
    By daluu in forum C Programming
    Replies: 8
    Last Post: 03-27-2003, 06:02 PM
  2. Control different DA output value!
    By Hunterhunter in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 03-13-2003, 12:11 PM
  3. File Input / Output Help?
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 05-18-2002, 10:20 AM
  4. formatted file output
    By ronin in forum C++ Programming
    Replies: 2
    Last Post: 02-09-2002, 10:38 AM
  5. To all who read last post formatted output
    By spliff in forum C Programming
    Replies: 8
    Last Post: 08-21-2001, 03:37 AM