Am 14.10.2015 16:35, schrieb Benoît Minisini:
> Le 14/10/2015 10:39, Rolf-Werner Eilert a écrit :
>> I found it! The shell or the kprinter or lp or whatever need a complete
>> path, like /home/mydir/thefile.pdf. But I had a "~" instead.
>>
>> So now it's running like expected, at least.
>>
>> Rolf
Le 14/10/2015 10:39, Rolf-Werner Eilert a écrit :
> I found it! The shell or the kprinter or lp or whatever need a complete
> path, like /home/mydir/thefile.pdf. But I had a "~" instead.
>
> So now it's running like expected, at least.
>
> Rolf
>
Beware : When you use "EXEC", you run your program
sorry my bad I think I forgot the ignore property
On 14/10/15 16:17, Fabien Bodard wrote:
> Le 13 oct. 2015 23:16, "Shane" a écrit :
>> Is there a way to stop ReportImage from scaling up to fill the page
>>
> Hum. Change the height and width. If they are 0 then autoresize is used.
>
>>
>> On 14/
I found it! The shell or the kprinter or lp or whatever need a complete
path, like /home/mydir/thefile.pdf. But I had a "~" instead.
So now it's running like expected, at least.
Rolf
Am 14.10.2015 10:09, schrieb Fabien Bodard:
> Gambas it's able to generate a pdf file itself by setting the prin
Yes, that's exactly what I do, Fabien.
And when I have a PDF then, what would be the easiest way to send it to
the printer? I tried
drucker.OutputFile = feld[1]
drucker.Print
but nothing happened.
Rolf
Am 14.10.2015 10:09, schrieb Fabien Bodard:
> Gambas it's able to generate a
Gambas it's able to generate a pdf file itself by setting the printer file
property.
Le 14 oct. 2015 09:11, "Rolf-Werner Eilert" a
écrit :
> Maybe somewhat silly, but I got stuck here:
>
> From a Gambas program I try to print a PDF file. Up to now (old version
> in Gambas2), with PS files, I do
Maybe somewhat silly, but I got stuck here:
From a Gambas program I try to print a PDF file. Up to now (old version
in Gambas2), with PS files, I do
Exec ["kprinter", "--nodialog", "-d", drucker.Name, feld[1]] Wait
where feld[1] holds the path to the ps-file to be printed.
Now when I want a P
Le 13 oct. 2015 23:16, "Shane" a écrit :
>
> Is there a way to stop ReportImage from scaling up to fill the page
>
Hum. Change the height and width. If they are 0 then autoresize is used.
>
>
> On 14/10/15 08:02, Shane wrote:
> > Thanks Fabien I had a quick look at setting ignore to true and I ca
Is there a way to stop ReportImage from scaling up to fill the page
On 14/10/15 08:02, Shane wrote:
> Thanks Fabien I had a quick look at setting ignore to true and I can now
> move things where i want
> so it might work for me after all Thanks.
>
>
> On 14/10/15 03:47, Fabien Bodard wrote:
>> W
Thanks Fabien I had a quick look at setting ignore to true and I can now
move things where i want
so it might work for me after all Thanks.
On 14/10/15 03:47, Fabien Bodard wrote:
> Well gb.report is based on a similar arrangement routine than the forms.
>
> To center a picture on the page you h
Well gb.report is based on a similar arrangement routine than the forms.
To center a picture on the page you have 2 way.
- playing with the containers to center it
- set the ignore property of the image to true and setup the left and
top properties (or X and Y)
To setup a text just add a reportl
Hi Fabien I had a look at gb.report and once again I can not make head
or tails of it I got stuck
at the very first thing all I wanted to to was display an image in the
center of the page and some text
either side but when i finally got an image to display it would only
display in the top left a
The fact that Paint.Scale scales the fonts made it a no-go to me. Had
the same problem with it. It's a shame actually, as one would expect a
function that makes it possible to simply convert mm (or inch, or
whatever) into the internal sizes. But font sizes are always the same
and would need to
Normally the size is the same... The scaling is done by the paint class.
Be carefull as a point have not the same size between screen and printer.
Have you try to use gb. report ?
Le 12 oct. 2015 09:19, "Shane" a écrit :
> What am I doing wrong here I'm trying to print something the same size on
What am I doing wrong here I'm trying to print something the same size
on the printer as on the screen
but when it goes to the printer it huge ?
I'm using Paint.Scale and from what the doc's say this should scale the
fonts ?
InvoicePrint-0.0.1.tar.gz
Description: application/gzip
---
Hi all,
I can print directly to pdf using priner component without any problem using
somethink like:
printer.Paper = Printer.A4
printer.OutputFile = "~/print.pdf"
p1.Print()
Now I've made some report using report component but I can't understand how to
obtain the same, I can made pdf using :
On Fri, 2014-01-17 at 21:50 +0100, Fabien Bodard wrote:
> 2014/1/16 Willy Raets :
> >
> > I added some screenshots of how it is implemented at the moment in MS
> > Access. As you can see the report designer of MS Access allows for
> > labels to be placed vertically on the design (there is a propert
2014/1/16 Willy Raets :
> On Thu, 2014-01-16 at 11:30 +0100, Rolf-Werner Eilert wrote:
>>
>> Am 16.01.2014 10:55, schrieb Willy Raets:
>> > On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote:
>> >>
>> >> Am 16.01.2014 10:30, schrieb Willy Raets:
>> >>> On Tue, 2014-01-14 at 10:04 +0100, Wi
Am 16.01.2014 10:55, schrieb Willy Raets:
> On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote:
>>
>> Am 16.01.2014 10:30, schrieb Willy Raets:
>>> On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote:
Hi all,
I have a Dymo Label writer at work and need to print address la
On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote:
>
> Am 16.01.2014 10:30, schrieb Willy Raets:
> > On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote:
> >> Hi all,
> >>
> >> I have a Dymo Label writer at work and need to print address labels.
> >> Thing is that the labels are in port
Am 16.01.2014 10:30, schrieb Willy Raets:
> On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote:
>> Hi all,
>>
>> I have a Dymo Label writer at work and need to print address labels.
>> Thing is that the labels are in portrait and the text needs to be
>> printed vertically instead of horizontall
On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote:
> Hi all,
>
> I have a Dymo Label writer at work and need to print address labels.
> Thing is that the labels are in portrait and the text needs to be
> printed vertically instead of horizontally as it happens now.
>
> I have tried with both p
Hi all,
I have a Dymo Label writer at work and need to print address labels.
Thing is that the labels are in portrait and the text needs to be
printed vertically instead of horizontally as it happens now.
I have tried with both printing and reports but don't manage to get the
job done. Text aways
Le 07/01/2014 16:29, Rolf-Werner Eilert a écrit :
> Hi,
>
> Guess I found a feature :)
>
> When running a program with printing into PDF, gb.gui and NOT on a Qt4
> system (like Lxde or KDE3), the positions on the page aren't delivered
> correctly. When reducing myPrinter.Resolution to 75, it is ok
Hi,
Guess I found a feature :)
When running a program with printing into PDF, gb.gui and NOT on a Qt4
system (like Lxde or KDE3), the positions on the page aren't delivered
correctly. When reducing myPrinter.Resolution to 75, it is ok in X
direction, but Font.Height keeps being measured too bi
Somehow I remember that you already pointed me to the solution - was it
you Benoit? I lost part of my mails from holidays, so no chance to look
it up.
When I have a command line program and want it to produce a PDF - how
can I do without having the X server?
From the IDE, there is no problem,
Am 19.07.2013 20:51, schrieb Benoît Minisini:
> Le 19/07/2013 20:47, Benoît Minisini a écrit :
>> Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit :
>>> Just stumbled over this one: When I make a Gambas2 script for a
>>> webserver, it refuses to execute because I have to use gb.qt and
>>> gb.qt.ex
Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit :
> Just stumbled over this one: When I make a Gambas2 script for a
> webserver, it refuses to execute because I have to use gb.qt and
> gb.qt.ext, and it doesn't find the X server (cannot connect to X server)
> when started by Apache.
>
> Is there a
Le 19/07/2013 20:47, Benoît Minisini a écrit :
> Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit :
>> Just stumbled over this one: When I make a Gambas2 script for a
>> webserver, it refuses to execute because I have to use gb.qt and
>> gb.qt.ext, and it doesn't find the X server (cannot connect to
Just stumbled over this one: When I make a Gambas2 script for a
webserver, it refuses to execute because I have to use gb.qt and
gb.qt.ext, and it doesn't find the X server (cannot connect to X server)
when started by Apache.
Is there a workaround for this?
Rolf
--
OK, I'm getting somwhere now.
I was getting "symbol not recognised" when trying to set PaperWidth but the
printer object was not Instantiated
So, one step forward!
--
View this message in context:
http://gambas.8142.n7.nabble.com/printer-how-to-set-custom-page-size-tp41684p41685.html
Sent fro
maybe i can help you
2012/11/20 Rolf-Werner Eilert
>
>
> Am 20.11.2012 11:45, schrieb Charlie Reinl:
> > Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert:
> >> Hi,
> >>
> >> just to make sure I haven't overseen anything... In GB2 I could use Draw
> >> to draw into a DrawingAr
Am 20.11.2012 11:45, schrieb Charlie Reinl:
> Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert:
>> Hi,
>>
>> just to make sure I haven't overseen anything... In GB2 I could use Draw
>> to draw into a DrawingArea or Picture or Printer object. In GB3 for a
>> Printer, I have to u
Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert:
> Hi,
>
> just to make sure I haven't overseen anything... In GB2 I could use Draw
> to draw into a DrawingArea or Picture or Printer object. In GB3 for a
> Printer, I have to use Paint instead, and Printer is completely event
Hi,
just to make sure I haven't overseen anything... In GB2 I could use Draw
to draw into a DrawingArea or Picture or Printer object. In GB3 for a
Printer, I have to use Paint instead, and Printer is completely event
driven (_Begin, _Draw, _End)?
This would mean re-writing my printer-preview a
Am 15.11.2012 14:38, schrieb Tobias Boege:
> On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote:
>> Hi folks, I have a question:
>>
>> In FMain I have a Printer object (Printer icon) and a Button to click on
>> for printing.
>>
>> The whole printing procedure should take place in a separate module to
I've got it running, I found Paint.DrawText instead of Paint.Text would
do it...
Am 15.11.2012 15:30, schrieb Fabien Bodard:
> Why the printer is on your form ?
>
>
> In your module declare a new printer
>
> Drucker = new printer() as "Drucker"
>
> You must declare the printer where you use it.
>
Am 15.11.2012 14:38, schrieb Tobias Boege:
> On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote:
>> Hi folks, I have a question:
>>
>> In FMain I have a Printer object (Printer icon) and a Button to click on
>> for printing.
>>
>> The whole printing procedure should take place in a separate module to
Am 15.11.2012 15:30, schrieb Fabien Bodard:
> Why the printer is on your form ?
Because I saw this in the printer example :-) And it kinda works.
>
>
> In your module declare a new printer
>
> Drucker = new printer() as "Drucker"
It complaints about the (), i. e. it says ") too early". So I left
Why the printer is on your form ?
In your module declare a new printer
Drucker = new printer() as "Drucker"
You must declare the printer where you use it.
There is another way but i think this one is the most simpler. Andif i
understand well you don't need the printer object on the form
201
On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote:
> Hi folks, I have a question:
>
> In FMain I have a Printer object (Printer icon) and a Button to click on
> for printing.
>
> The whole printing procedure should take place in a separate module to
> keep the lengthy code apart from FMain code.
>
Hi folks, I have a question:
In FMain I have a Printer object (Printer icon) and a Button to click on
for printing.
The whole printing procedure should take place in a separate module to
keep the lengthy code apart from FMain code.
The Button_Click event calls druck.start in the module "druck"
Hi,
forgott it, the problem lay on OSI Layer 8,...
In my own settings menu I set the wrong settings,...
Bye
Gregor
--
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-dep
They have different barcodes on (different source numbers). Are you
sure you're using **the same** code? Are you sure you don't have one pc
set to A4 and the other to Letter or so?
Can you share the project? Can't really see how anyone can help you
further with so little information.
Kind r
2012/10/25 Gregor Burck :
> Hi,
>
> I don't understand how to print in gambas3. Even when I look at the example I
> don't find my mistake, I got always a blank page:
>
> Public Sub AnsichtDrucken()
>
> If prt.Configure() Then Return
>
> Me.Enabled = False
> Inc Application.Busy
> prt.Print
>
Hi,
I don't understand how to print in gambas3. Even when I look at the example I
don't find my mistake, I got always a blank page:
Public Sub AnsichtDrucken()
If prt.Configure() Then Return
Me.Enabled = False
Inc Application.Busy
prt.Print
Dec Application.Busy
Me.Enabled = True
End
The first 40 lines of text do not print.
Running the "Printing" example this still happens.
In ModulePrintText.PrintText, if I change 'pagePosition = 0' to
'pagePosition = 3608' then all the text is printed.
Any ideas where I'm going wrong
Bill Lancaster
Ubuntu 11.04, Gambas 2.21
--
View thi
2011/5/22 Shane Powell :
> On 22/05/11 00:27, Fabien Bodard wrote:
>> 2011/5/21 Shane Powell:
>>> On 21/05/11 00:53, Fabien Bodard wrote:
2011/5/20 Shane Powell:
> trying to print in gambas 3 using drawtext but the letters are huge
> what gives ?
on gambas3 you need to use the pai
On 22/05/11 00:27, Fabien Bodard wrote:
> 2011/5/21 Shane Powell:
>> On 21/05/11 00:53, Fabien Bodard wrote:
>>> 2011/5/20 Shane Powell:
trying to print in gambas 3 using drawtext but the letters are huge
what gives ?
>>> on gambas3 you need to use the paint class
>>>
>>> paint.text...
>>
On 22/05/11 00:27, Fabien Bodard wrote:
> 2011/5/21 Shane Powell:
>> On 21/05/11 00:53, Fabien Bodard wrote:
>>> 2011/5/20 Shane Powell:
trying to print in gambas 3 using drawtext but the letters are huge
what gives ?
>>> on gambas3 you need to use the paint class
>>>
>>> paint.text...
>>
2011/5/21 Shane Powell :
> On 21/05/11 00:53, Fabien Bodard wrote:
>> 2011/5/20 Shane Powell:
>>> trying to print in gambas 3 using drawtext but the letters are huge
>>> what gives ?
>> on gambas3 you need to use the paint class
>>
>> paint.text...
>>
>> paint generate vectorial and antialiased dra
On 21/05/11 00:53, Fabien Bodard wrote:
> 2011/5/20 Shane Powell:
>> trying to print in gambas 3 using drawtext but the letters are huge
>> what gives ?
> on gambas3 you need to use the paint class
>
> paint.text...
>
> paint generate vectorial and antialiased draw.
>
> you can use gb.report too
>
2011/5/20 Shane Powell :
> trying to print in gambas 3 using drawtext but the letters are huge
> what gives ?
on gambas3 you need to use the paint class
paint.text...
paint generate vectorial and antialiased draw.
you can use gb.report too
but what did you want to draw ?
>
>
> --
trying to print in gambas 3 using drawtext but the letters are huge
what gives ?
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation
hi
In gambas 2 I could set the scale of printing to mm by doing
Draw.Scale(Draw.Resolution / 25.4, Draw.Resolution 25.4)
How do I do The Same Thing in Gambas 3
thanks Shane
--
What Every C/C++ and Fortran developer
2010/6/19 Fabien Bodard :
> the doc is not up to date
>
>
> Le 19 juin 2010 20:49, Benoît Minisini a écrit
> :
>>> draw.begin(MyForm)
>>>
>>> draw.text("mytext",x,y)
>>>
>>>
>>> draw.end
>>>
>>
>> This works only in Gambas 2. You can't draw directly on a control anymore in
>> Gambas 3, except dur
the doc is not up to date
Le 19 juin 2010 20:49, Benoît Minisini a écrit :
>> draw.begin(MyForm)
>>
>> draw.text("mytext",x,y)
>>
>>
>> draw.end
>>
>
> This works only in Gambas 2. You can't draw directly on a control anymore in
> Gambas 3, except during the Draw event of a DrawingArea.
>
> Rega
> draw.begin(MyForm)
>
> draw.text("mytext",x,y)
>
>
> draw.end
>
This works only in Gambas 2. You can't draw directly on a control anymore in
Gambas 3, except during the Draw event of a DrawingArea.
Regards,
--
Benoît Minisini
-
draw.begin(MyForm)
draw.text("mytext",x,y)
draw.end
2010/6/19 Ru Vuott :
> Hello,
>
> how do I can print a simple character (ex. letter: "a") in a Form at x , y
> position ?
> The character have not to be shown in a Label or in other text-Tools.
>
> Thanks
>
>
>
>
> --
Hello,
how do I can print a simple character (ex. letter: "a") in a Form at x , y
position ?
The character have not to be shown in a Label or in other text-Tools.
Thanks
--
ThinkGeek and WIRED's GeekDad team u
Hey Robi,
As an alternative you could also get a list of the install printers by doing
Dim prnList as String
SHELL (lpstat -a) to prnList
Hope this helps
Regards,
Dimitris
On Thu, Mar 4, 2010 at 4:39 AM, Doriano Blengino <
doriano.bleng...@fastwebnet.it> wrote:
> Robert JUHASZ ha scritto:
> >
Robert JUHASZ ha scritto:
> Hello List,
>
> I have a small issue with the printer handling of my application: when I try
> to print, the list of printers is empty and consequently the OK button is
> disabled (there are printers installed on the computers). If I click on
> cancel, the default printe
Hello List,
I have a small issue with the printer handling of my application: when I try
to print, the list of printers is empty and consequently the OK button is
disabled (there are printers installed on the computers). If I click on
cancel, the default printer prints out the document. If I print
> I wondered if anyone knew how to print from this control - it dosn't seem
> to have a print function like the old konqueror webrowser.
>
> Regards
>
> Richard
>
Yes, I must add it...
--
Benoît Minisini
--
Return o
I wondered if anyone knew how to print from this control - it dosn't seem to
have a print function like the old konqueror webrowser.
Regards
Richard
--
Return on Information:
Google Enterprise Search pays you back
Get
in fact you need to do it by yourself :/
as pdf return a picture ... you can do
draw(printer)
draw.image(pdf.image, x,y,w,h)
draw.end
or i've maybe another idea...
2009/4/29 richard terry :
> There seems no property to print from a pdf, no example of printing code in
> the pdf example.
>
There seems no property to print from a pdf, no example of printing code in
the pdf example.
I wondered if this was possible.
Thanks.
richard
--
Register Now & Save for Velocity, the Web Performance & Operations
Confe
Home use the draw cmd.
Each object has it's own x,y position. see the example below
IF Printer.Setup() THEN RETURN 'You need to set up your printer first.
Draw.Begin(Printer) ' Initializes the draw
Draw.Text(TextArea1.Text, 200, 200) ' Prints the contents of a TextArea in the
upper left hand co
I wondered if anyone could show me how to print direct to a printer at
co-ordinates x-y
I have to a sheet divided into four sections (not quarters), the top two are
2/3 of the page height, and I need to print to exactly specifica locations on
an A4 page.
Any help appreciated.
Richard
---
69 matches
Mail list logo