Results 1 to 3 of 3

Thread: printing simple graphics

  1. #1
    Guest
    If i wanted to draw a dot on the scren in QBasic, I would just use this syntax:

    PSET (20, 20), 15

    but how do I draw dots on my printer? I have a scatter graph that i would my program to be able to print on my laser printer.

  2. #2
    Lively Member TB's Avatar
    Join Date
    Feb 2001
    Location
    Austria
    Posts
    106

    Unhappy

    In my opinion that would be very difficult in Qbasic.
    You will need the driver of your printer to print dots or lines.
    In Qbasic you can use the port adress of your LPT port to send tha data to print, but i don't know how to use the driver nor what commands you need to print your picture.
    mojo

  3. #3
    Lively Member TB's Avatar
    Join Date
    Feb 2001
    Location
    Austria
    Posts
    106
    But those people knew the commands to print something on their printers, the built them.

    It is difficult in QBasic, because there are no devices to print.
    mojo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width