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 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

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

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

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, --

[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

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

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 new thread

[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 -- ___

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

2015-07-29 Thread nando
, mailing list for gambas users gambas-user@lists.sourceforge.net 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 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 its size

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 gam...@users.sourceforge.net To: nand...@nothingsimple.com, mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wed, 29 Jul 2015 21:37:29 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't

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 nand...@nothingsimple.com 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

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 horec...@csolve.net a écrit : It looks like the problem has been resolved.

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 horec...@csolve.net a écrit : It looks like the problem has been resolved. Keeping the same resolution (100), I just moved the .resolution to just

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

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

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-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

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 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 prints directly to

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

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 (PrinterWidth

[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

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 mckaygerh...@gmail.com a écrit : i note

[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

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 mckaygerh...@gmail.com a écrit : i note that gambas does not have direct pdf printing support, so i plans to use ps2pdf

[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

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.path /tfc.pdf

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 SHELL shll WAIT then:

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 shell to htmldoc to turn the

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 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 char...@pearceshardware.co.uk Dimitris Anogiatis wrote: Hey guys, Does htmldoc have any UTF-8 support? Looking at www.htmldoc.org I don't

[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

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

2010-11-09 Thread Fabien Bodard
2010/11/9 Gregor Burck gre...@aeppelbroe.de: 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

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

2010-11-09 Thread Benoît Minisini
2010/11/9 Gregor Burck gre...@aeppelbroe.de: 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 Doriano Blengino
Fabien Bodard ha scritto: 2010/11/9 Gregor Burck gre...@aeppelbroe.de: 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

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

2010-11-09 Thread Fabien Bodard
2010/11/9 Doriano Blengino doriano.bleng...@fastwebnet.it: Fabien Bodard ha scritto: 2010/11/9 Gregor Burck gre...@aeppelbroe.de: 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,

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 *

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 content

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 full

[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
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

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.