Thread: Borland c++ quick reports priting

  1. #1
    Unregistered
    Guest

    Borland c++ quick reports priting

    Hi, I'm currently making a db application in which i need to print out a whole bunch of quick reports. This is a database for my school so i need to be able to print out 200-300 time table (small school). Obviosly i would liek to do them as one printer item. How would i go about assigning the quick reprt canvas to the printer canvas? If i can't do this is there another solution?
    Currently when i assign it to the printer by going quickrep1->PaintTo(Printer->Handle(), 10, 10) ait prints the forms however they have none of the correct information (and are a lot smaller then they are supposed to be ) any solutions would be greatly appreciated

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    ofstream print("LPT1");
    print<<"whatever";//will print whatever if ur printer is connected to LPT1

  3. #3
    Unregistered
    Guest
    I know how to print a small bit of text. i want to print a quick report in borland c++. meaning a new page with databsase components taht are going to be changed before every new page. And i need them to be in the same thread meaning QuickRep1-.print is not an option (Unless i can somehow point this to the Printer() function so i can use Printer()->BeginDoc() and Printer()->EndDoc();

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. Do you know...
    By davejigsaw in forum C++ Programming
    Replies: 1
    Last Post: 05-10-2005, 10:33 AM
  3. recursive quick sort - stack overflow
    By Micko in forum C Programming
    Replies: 9
    Last Post: 01-01-2005, 05:51 PM
  4. Quick Sort Help
    By NavyBlue in forum C Programming
    Replies: 1
    Last Post: 03-02-2003, 10:34 PM
  5. Replies: 0
    Last Post: 04-30-2002, 07:24 PM