Print preview command

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

A print preview command would be a welcome feature.

Ideal for my programs which has guitar chords.

And maybe for others on the forum.

So let's hear what do you think!!!

Using Windows 98 SE
Registered PB version : 3.1 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

This is one of the most wanted feature for VB.NET and it is in VB.NET.
But you can do it yourself also in Pure.
Draw everything inside a Image, (You can resize this Image too) and later everything to the printer.
Use

If Preview=1
StartDrawing(PreviewImage)
else
StartDrawing(PrinterOutput())
endif

for the output.

Edited by - Rings on 18 May 2002 07:26:52
Post Reply