Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Thanks Rolf. I didn't not nothing about that. :) 2015-11-25 11:35 GMT+01:00 Rolf-Werner Eilert : > I use KSnapshot, and it should be able to make a snapshot of an expanded > menu. > > You could choose "Window under mouse-pointer" and/or a delay of x > seconds which you use to expand the menu. >

Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Ok. Thanks I'll try it. 2015-11-25 11:58 GMT+01:00 Moviga Technologies : > > > KSnapShot is being deprecated. KScreenGenie is taking over as the > replacement. > > -- > Go from Idea to Many App Stores Faster with Intel(R)

Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Moviga Technologies
KSnapShot is being deprecated. KScreenGenie is taking over as the replacement. -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codeba

Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Rolf-Werner Eilert
I use KSnapshot, and it should be able to make a snapshot of an expanded menu. You could choose "Window under mouse-pointer" and/or a delay of x seconds which you use to expand the menu. Regards Rolf Am 25.11.2015 11:19, schrieb Jorge Carrión: > Hi everybody, > > I have to do a manual about a

[Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Hi everybody, I have to do a manual about a application of mine and it have a lot of print screen of diferent forms but I can't capture the menu when its expanded: the PrintScreen key doe'nt work. Is there a way to capture the Imgage of a form with the menu expanded? Thanks -

Re: [Gambas-user] Print preview

2015-08-18 Thread Benoît Minisini
Le 11/08/2015 05:24, Filippo Casati a écrit : > how to printer settings remain after viewing the print preview? I want this > because closing the preview automatically printing. Do you have a little project that reproduces the bug? And can you provide information on your system? Regards, -- Be

[Gambas-user] Print preview

2015-08-10 Thread Filippo Casati
how to printer settings remain after viewing the print preview? I want this because closing the preview automatically printing. -- ___ Gambas-user mailing list Gambas-user@lists.s

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread adamn...@gmail.com
On Wed, 29 Jul 2015 21:21:09 -0400 "nando" wrote: > Benoit, > Perhaps you could provide an example. I find nothing for the correct > syntax/use. > > For example... > > Private p As Pointer > > Public Struct EmployeeStruct > FirstName as String > Age as integer > End Struct > > Public AnE

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
Print p.Sizeof() 'run-time error -N -- Original Message --- From: "nando" To: mailing list for gambas users Sent: Wed, 29 Jul 2015 21:00:10 -0400 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > SWEET! > Thank you Benoit. >

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
SWEET! Thank you Benoit. -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Wed, 29 Jul 2015 21:37:29 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > Le 29/07/2015 21:15, nando

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread Benoît Minisini
Le 29/07/2015 21:15, nando a écrit : > Thanks guys, > I was in 'C' mode and needed the size of a structure. > > Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? > wishing out loud. > > Thanks! > DOH! > -Nando If you a pointer to the structure, just use Object.SizeOf() to know it

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
for gambas users Sent: Wed, 29 Jul 2015 20:14:32 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > Le 29/07/2015 20:00, nando a écrit : > > Dim t As String > > > > Print SizeOf(t) > > Type mismatch: wanted integer, got string instead > > >

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread Tobias Boege
On Wed, 29 Jul 2015, nando wrote: > Dim t As String > > Print SizeOf(t) > Type mismatch: wanted integer, got string instead > > 'Sizeof also errors on a Stucture > > Ubuntu 14.04LTS > Gambas 3.7.1 > Do you realise that you were replying to a totally unrelated thread from July 2013? Create a n

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread Benoît Minisini
Le 29/07/2015 20:00, nando a écrit : > Dim t As String > > Print SizeOf(t) > Type mismatch: wanted integer, got string instead > > 'Sizeof also errors on a Stucture > > Ubuntu 14.04LTS > Gambas 3.7.1 > > -Fernando > Have you read the documentation of SizeOf()? -- Benoît Minisini ---

[Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
Dim t As String Print SizeOf(t) Type mismatch: wanted integer, got string instead 'Sizeof also errors on a Stucture Ubuntu 14.04LTS Gambas 3.7.1 -Fernando -- ___ Gambas-user

Re: [Gambas-user] print resolution issues

2014-10-14 Thread Gian
Hi Paul, my little program QT_Graphics will work well? Have you tried to see if the proportions between video, pdf and printing on paper are correct? If the answers are yes, what prevents you to use 72 as resolution in your print Sub? You do not even convert millimeters into inches because th

Re: [Gambas-user] print resolution issues

2014-10-14 Thread Fabien Bodard
Correctly ...--- > well Le 14 oct. 2014 13:59, gambas...@gmail.com a écrit : Yes configure reset many properties For labels you can use gb.report too. It manage resolutions correctly. Le 13 oct. 2014 21:26, "Paul Horechuk" a écrit : It looks like the problem has been resolved. Keeping the same

Re: [Gambas-user] print resolution issues

2014-10-14 Thread Fabien Bodard
Yes configure reset many properties For labels you can use gb.report too. It manage resolutions correctly. Le 13 oct. 2014 21:26, "Paul Horechuk" a écrit : > It looks like the problem has been resolved. Keeping the same resolution > (100), I just moved the .resolution to just after the .configur

Re: [Gambas-user] print resolution issues

2014-10-13 Thread Paul Horechuk
It looks like the problem has been resolved. Keeping the same resolution (100), I just moved the .resolution to just after the .configure line, before the printer.begin. This at least fixes the pdf scaling issue and I'm sure it will fix other printer issues as well. Thanks to Gian and Benoit.

Re: [Gambas-user] print resolution issues

2014-10-13 Thread Paul Horechuk
Thank you for the examples. It appears we are doing a similar process. You use 72 as the resolution and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). I use 100 for the resolution and use the page dimensions of the page in inches to get 850 x 1100 for US letter size. If I change

Re: [Gambas-user] print resolution issues

2014-10-10 Thread Gian
Sorry but for my scarce English I did not understand how did you print to your HP. Anyway , I think that if you want to get the same proportions between what you see on the screen and what you print (with millimeter accuracy), have to look to compensation factors. For example with the componen

Re: [Gambas-user] print resolution issues

2014-10-10 Thread Paul Horechuk
Thanks. I'll check them out. On 14-10-10 05:04 AM, Gian wrote: > Hello Paul, > > attached two small demonstrations that might inspire you. > gianluigi > > > >> Le 08/10/2014 18:20, Paul Horechuk a écrit : >>> I have a successful project that formats a sheet of labels on an Avery >>> form and print

Re: [Gambas-user] print resolution issues

2014-10-10 Thread Paul Horechuk
Aparantly, I am trying to draw a the pixel level as I want to precisely position the contents of each label. I open the printer as a drawng area, as in: Public Sub MyPrinter_Begin() ' Only 1 page for now MyPrinter.Count = 1 MyPrinter.Resolution = 100 ' Set to 100 works great. 300 shrinks

Re: [Gambas-user] print resolution issues

2014-10-10 Thread Gian
Hello Paul, attached two small demonstrations that might inspire you. gianluigi Le 08/10/2014 18:20, Paul Horechuk a écrit : I have a successful project that formats a sheet of labels on an Avery form and prints directly to an HP OfficeJet 7500 E910. I set the printer width to 850 and lengt

Re: [Gambas-user] print resolution issues

2014-10-09 Thread Benoît Minisini
Le 08/10/2014 18:20, Paul Horechuk a écrit : > I have a successful project that formats a sheet of labels on an Avery > form and prints directly to an HP OfficeJet 7500 E910. > > I set the printer width to 850 and length to 1100 with a resolution of > 100. These may not be correct for all (PrinterW

[Gambas-user] print resolution issues

2014-10-08 Thread Paul Horechuk
I have a successful project that formats a sheet of labels on an Avery form and prints directly to an HP OfficeJet 7500 E910. I set the printer width to 850 and length to 1100 with a resolution of 100. These may not be correct for all (PrinterWidth and length are seen as 216 by 279mm), but by s

Re: [Gambas-user] print repot to pdf file

2014-02-04 Thread Shane
That's Great just what i needed too On 04/02/14 04:05, Fabien Bodard wrote: > As always you under estimates gb ? > > Just name the file with a .pdf as extention. > > Printer.filename="Toto.pdf" > > Will generate a pdf. > Le 3 févr. 2014 16:46, "PICCORO McKAY Lenz" a > écrit : > >> i note that g

Re: [Gambas-user] print repot to pdf file

2014-02-03 Thread Fabien Bodard
As always you under estimates gb ? Just name the file with a .pdf as extention. Printer.filename="Toto.pdf" Will generate a pdf. Le 3 févr. 2014 16:46, "PICCORO McKAY Lenz" a écrit : > i note that gambas does not have direct pdf printing support, so i plans to > use ps2pdf commnd to that! > >

[Gambas-user] print repot to pdf file

2014-02-03 Thread PICCORO McKAY Lenz
i note that gambas does not have direct pdf printing support, so i plans to use ps2pdf commnd to that! but my question HOW CAN I WRITE THE REPORT TO POSTSCRIPT? i i can write te gambas report class result render to a postscript print file, i can wirte a pdf file converting this with ps2pdf commnd

Re: [Gambas-user] Print html direct?

2010-11-24 Thread Jorge Carrión
Hi: Try wkhtmltopdf, in ubuntu repositories too... If you html code carry on the Utf-8 esecification it works... Goog Luck 2010/11/24 charlesg > > > Dimitris Anogiatis wrote: > > > > Hey guys, > > > > Does htmldoc have any UTF-8 support? > > > > Looking at www.htmldoc.org I don't think there is

Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg
Dimitris Anogiatis wrote: > > Hey guys, > > Does htmldoc have any UTF-8 support? > Looking at www.htmldoc.org I don't think there is UTF-8 support. I just use it for formatting tables. It is in the Ubuntu repository (sudo apt-get install htmldoc) but I don't know about other distros. rgds -

Re: [Gambas-user] Print html direct?

2010-11-24 Thread Dimitris Anogiatis
Hey guys, Does htmldoc have any UTF-8 support? Regards, Dimitrios On Wed, Nov 24, 2010 at 7:36 AM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > Am 24.11.2010 13:54, schrieb charlesg: > > > > Hi > > > > > > Gregor Burck wrote: > >> > >> Can I direct print html? > >> > > > > I shel

Re: [Gambas-user] Print html direct?

2010-11-24 Thread Rolf-Werner Eilert
Am 24.11.2010 13:54, schrieb charlesg: > > Hi > > > Gregor Burck wrote: >> >> Can I direct print html? >> > > I shell to htmldoc to turn the html to pdf. > e.g. > shll = "htmldoc --bodyfont Sans --fontsize 6.0 --outfile "& > Application.path& "/tfc.pdf --webpage "& Application.path& "/tfc.htm" >

Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg
Hi Gregor Burck wrote: > > Can I direct print html? > I shell to htmldoc to turn the html to pdf. e.g. shll = "htmldoc --bodyfont Sans --fontsize 6.0 --outfile " & Application.path & "/tfc.pdf --webpage " & Application.path & "/tfc.htm" SHELL shll WAIT then: shll = "lpr " & Application.pat

[Gambas-user] Print html direct?

2010-11-24 Thread Gregor Burck
Hi, I'm still experimenting with printing, the scale method was a good hint for me. But now a other question: Can I direct print html? The background: I try to improve a application, and I wonder if it is esyer to generate html instead of print direkt, cause there are elements for layout. In thi

Re: [Gambas-user] Print, Resolution, Units

2010-11-09 Thread Fabien Bodard
2010/11/9 Doriano Blengino : > Fabien Bodard ha scritto: >> 2010/11/9 Gregor Burck : >> >>> Hi, >>> >>> when I want to print the units for draw were dots, for the gui I want to >>> use milimeter. >>> So I create a function >>> >>> public function mmToDots(mm as integer, resolution as integer) as i

Re: [Gambas-user] Print, Resolution, Units

2010-11-09 Thread Benoît Minisini
> 2010/11/9 Gregor Burck : > > Hi, > > > > when I want to print the units for draw were dots, for the gui I want to > > use milimeter. So I create a function > > > > public function mmToDots(mm as integer, resolution as integer) as integer > > return Round(mm / 25.4 * resolution) > > end > > >

Re: [Gambas-user] Print, Resolution, Units

2010-11-09 Thread Fabien Bodard
2010/11/9 Gregor Burck : > Hi, > > when I want to print the units for draw were dots, for the gui I want to use > milimeter. > So I create a function > > public function mmToDots(mm as integer, resolution as integer) as integer >  return Round(mm / 25.4 * resolution) > end > > And draw e.g. a line

Re: [Gambas-user] Print, Resolution, Units

2010-11-09 Thread Doriano Blengino
Fabien Bodard ha scritto: > 2010/11/9 Gregor Burck : > >> Hi, >> >> when I want to print the units for draw were dots, for the gui I want to use >> milimeter. >> So I create a function >> >> public function mmToDots(mm as integer, resolution as integer) as integer >> return Round(mm / 25.4 * r

[Gambas-user] Print, Resolution, Units

2010-11-09 Thread Gregor Burck
Hi, when I want to print the units for draw were dots, for the gui I want to use milimeter. So I create a function public function mmToDots(mm as integer, resolution as integer) as integer return Round(mm / 25.4 * resolution) end And draw e.g. a line with draw(mmToDots(X,draw.resolution),mmT

Re: [Gambas-user] print

2009-10-01 Thread Steven James Drinnan
Nothing quite that simple but easy enough, try this SUB PrintForm() 'Prints a form DIM myformPic AS Picture DIM size AS INTEGER myformPic = ME.Grab() size = 5 '5 times the size otherwise picture is to small. myformPic = myformPic.Image.Stretch(ME.W * size, ME.H * size).

[Gambas-user] print

2009-10-01 Thread yuhej
Hello, Is there an easy way to print out an entire form? (Like in VB the Form1.Print). Thanks, Robi -- View this message in context: http://www.nabble.com/print-tp25709303p25709303.html Sent from the gambas-user mailing list archive at Nabble.com. ---

Re: [Gambas-user] Print gridview content

2009-04-04 Thread Jesus Guardon
I've changed the question, so it will be more understandable: How can I export the gridview content to a printable format preserving its structure, colors, etc? Thanks in advance Jesús Jesus Guardon escribió: > Hi all > > Is there a quick method to print out as plain formatted text the conten

[Gambas-user] Print gridview content

2009-04-03 Thread Jesus Guardon
Hi all Is there a quick method to print out as plain formatted text the content of a populated gridview? I've been thinking about iterate across all rows and cells, but I wonder if may have other ways to do that. Regards Jesús ---

Re: [Gambas-user] PRINT #process Example

2009-03-02 Thread Dimitris Anogiatis
Thanks for the quick reply Doriano, I got it working after experimenting a bit with your suggested solutions :) I tried using a timer but I soon found out that using the LINE INPUT from within the Process_Read works way better. Keep rockin :) Regards, Dimitris On Mon, Mar 2, 2009 at 1:48 AM, D

Re: [Gambas-user] PRINT #process Example

2009-03-02 Thread Doriano Blengino
Dimitris Anogiatis ha scritto: > hey guys > > I've read the documentation on Process_Read() but I can't find a way to > detect > when the process has stopped and it's waiting for an input; to my > understanding > I can provide that input with PRINT #Process, "input" but so far I haven't > found > a

[Gambas-user] PRINT #process Example

2009-03-01 Thread Dimitris Anogiatis
hey guys I've read the documentation on Process_Read() but I can't find a way to detect when the process has stopped and it's waiting for an input; to my understanding I can provide that input with PRINT #Process, "input" but so far I haven't found a full example of how that is done. can someone

Re: [Gambas-user] Print option for files in IDE

2008-08-19 Thread charlesg
oops! you'll have to change /home/charles/... as appropriate. -- View this message in context: http://www.nabble.com/Print-option-for-files-in-IDE-tp19044250p19046970.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Print option for files in IDE

2008-08-19 Thread charlesg
Hi, As usual, I cannot solve your problem but here is a simple program which prints FinePrint/Clickbook type A5 booklets from a Gambas Class file (or any text file I guess). It is W.I.P. and I am working on colour coding the words. It needs htmldoc, psutils and ps2pdf all of which are readily av

[Gambas-user] Print option for files in IDE

2008-08-18 Thread richard terry
Not that one does this very often, but I just wanted to print out one of the modules to paper, and found seemingly no print button. Yes, can open in external editor of course, but I thought perhaps a print option could come in handy. Regards Richard ---