flat assembler
Message board for the users of flat assembler.

Index > Windows > Printer

Author
Thread Post new topic Reply to topic
rever0lf



Joined: 04 May 2011
Posts: 15
rever0lf 12 May 2011, 08:22
can any give me a code that the output of the program is print into the printer. . . thnx
Post 12 May 2011, 08:22
View user's profile Send private message Yahoo Messenger Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 12 May 2011, 15:05
You can have a look at this (executable included), the meat of what you want to do is in the 'WndProc -> WM_CREATE section'


Description: Printer Example:
Download
Filename: SimplePrintExample.zip
Filesize: 4.26 KB
Downloaded: 267 Time(s)


_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 12 May 2011, 15:05
View user's profile Send private message Reply with quote
ctl3d32



Joined: 30 Dec 2009
Posts: 206
Location: Brazil
ctl3d32 12 May 2011, 20:20
Nice, didn't know that. Thanks for sharing.
Post 12 May 2011, 20:20
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 13 May 2011, 02:11
Offtopic:

@madmatt, how are you doing my fellow Michigander..? Very Happy
Post 13 May 2011, 02:11
View user's profile Send private message Reply with quote
rever0lf



Joined: 04 May 2011
Posts: 15
rever0lf 13 May 2011, 08:08
thnx.. but i mean code that when u run it, (F9) the output is print in the printer,, example: codes of Hello World, and u run, the Hello World is print into the printer,, thnx. . . . .
Post 13 May 2011, 08:08
View user's profile Send private message Yahoo Messenger Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 13 May 2011, 18:38
typedef wrote:
Offtopic:

@madmatt, how are you doing my fellow Michigander..? Very Happy


Just fine!, and you? You live in the UP of Mich. don't ya?

rever0lf wrote:
thnx.. but i mean code that when u run it, (F9) the output is print in the printer,, example: codes of Hello World, and u run, the Hello World is print into the printer,, thnx. . . . .


You mean printing the assembly code itself to the printer? I don't think fasmw has an option for that. Maybe use another IDE that supports printing of color coded assembly output?

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 13 May 2011, 18:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.