Richtextbox and max pages
Posted on 1998-06-07
We are working on a project to print our own id cards. I believe we are going to write our own interface to the camera and printer, as we would like to link to our main database thru ODBC and not have to download files and maintain in two areas. Anyway, I was thinking a richtextbox control would be the best way to set up first a template
for the id card and also to print each specific id card once linked and created. The user would only be allowed to edit/create the template, not the actual end result. But, I would like to limit the max pages to 1. Set the paper size and margins, etc and I believe that the workspace would be the size I want. But I would prefer to limit the user to one page of the right size (and to put a border around that space that can't be deleted). I've tried to find some property or method that might allow this, but I can't seem to. I also looked in the RTF specification v. 1.3 to see if there was some way of imbedding the max pages in the file, but again no luck. Does anyone have a suggestion as to how to limit the richtext box to 1 page of text and graphics.