print an image file

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Malcolmx68
Newbie
Posts: 2
Joined: Sat May 06, 2006 8:39 am

print an image file

Post by Malcolmx68 » Mon May 08, 2006 6:00 am

It is possible to print an image files (.bmp, .jpg, .gif, etc.) with the quickbasic commands linked with LPRINT or similar?
Thank you.

Malcolmxx68

RayBritton
Veteran
Posts: 109
Joined: Thu Feb 10, 2005 12:38 pm

Post by RayBritton » Mon May 08, 2006 6:46 am

no but if you are in dos mode, you can display the picture on the screen and press Prt Scrn

Malcolmx68
Newbie
Posts: 2
Joined: Sat May 06, 2006 8:39 am

print an image file

Post by Malcolmx68 » Mon May 08, 2006 6:53 am

and how can I display the image on the screen?

Thanks.

bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm » Mon May 08, 2006 9:18 am

If you like to use QB for screen output, then http://www.petesqbsite.com/sections/tut ... cs.shtml#8 is place to start.

Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni » Mon May 08, 2006 1:16 pm

RayBritton wrote:no but if you are in dos mode, you can display the picture on the screen and press Prt Scrn
...and you have loaded the GRAPHICS driver at DOS start and have a printer compatible with the very old dot-matrix IBM Proprinter.....

PrintScreen by itself printed only text screens in DOS!

Post Reply