Re: [Gambas-user] New Printer example

2012-09-30 Thread Fabien Bodard
Public Sub GetPrinterResolution() Dim sResultPath, sResultRow As String Dim iPosition As Integer Shell "locate -b *.ppd | grep " & myPrinter.Name To sResultPath Shell "grep '*DefaultResolution:' " & sResultPath To sResultRow iPosition = InStr(sResultRow, Chr(58)) iPrinterDPI = Mid(sRe

Re: [Gambas-user] New Printer example

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 12:14, Tobias Boege a écrit : > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote

Re: [Gambas-user] New Printer example

2012-09-30 Thread Tobias Boege
On Sun, 30 Sep 2012, Tobias Boege wrote: > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote a

[Gambas-user] New Printer example

2012-09-30 Thread Tobias Boege
Hi Benoit and Printer people, Hans delved into the Printer class and concluded that there are actually three Printer examples needed: (1) Text (2) Pictures (3) Drawings Because printing those are somewhat different processes. He wrote a class to address (2) - it's attached - and would like to hea