Jump to content


Yevez

Member Since 04 Dec 2010
Offline Last Active Jun 11 2013 07:22 AM

Posts I've Made

In Topic: 2D Platformer Ai

23 May 2013 - 07:04 AM

THANK U :)


In Topic: Image Conversion (dll) [bmp,gif,jpg,png,ico]

11 August 2012 - 01:16 PM

LOL.You can convert photos without using DLL like this..GML is all u need.Believe ME....

In Topic: Printing From Gm

17 June 2012 - 06:22 AM

need a way or a dll to print a file direclty from gm, so when you press print it then brings up the a print preview and allows you to set printer settings before pressing ok as in a normal paint package.


basically when user presses PRINT button, GM takes a snapshot of the screen ( a section of it) it SHOULD then print it (LANDSCAPE) directly from the program.

At present after the screenshot is taken my GM program then exports the bmp to an external paint package for printing (using execute_shell()), which is not very professional.


help appreciated.


It's Easy

Just put this code on any event that will print the screen

pr_begin_document()
pr_set_font_size(32);
pr_print_screen_stretch(0,0,3200,3900)
pr_end_document()

To print a specific text,try this code

pr_begin_document()
pr_set_font_size(32);
pr_print_text(x,y,"Specific Text")
pr_end_document()

try this code too(It will ask you to write a text before you print it.The text you have written will be printed)

pr_begin_document()
pr_set_font_size(32);
pr_print_text(x,y,get_string("Write the text you want to be printed",""))
pr_end_document()

"pr_end_document" is the most important thing here because it does the printing process

In Topic: GM Printing

17 June 2012 - 05:38 AM

Good day (sorry, but it is a translation of my question by using Google)
Can you show me an example how to print using the expansion pack "GM Printing" in the script appeared window select the printer for printing.
Thanks in advance


I know how to print a specific text.Make sure you have the GM Print extension(It's installed)

First is to create an object.

Object_Print_Button

Left Click Event:Execute a Piece Of code

code:

pr_begin_document()
pr_set_font_size(32);
pr_print_text(x,y,"Specific Text");
pr_end_document()


or you could try this code(It will ask what string/text you want to print)

pr_begin_document()
pr_set_font_size(32);
pr_print_text(x,y,get_string("Write the text you want to print",""));
pr_end_document()


In Topic: Does Anyone Have The Kid Kakashi Sheet?

04 May 2012 - 02:14 AM

I really can't find it




http://img381.imageshack.us/img381/5842/kakashiinfanciait6.png


here it is