[Gambas-user] Barcode.... Here ya go Hamilton...
Paul Horechuk
horechuk at ...981...
Fri Apr 27 20:55:36 CEST 2007
On April 27, 2007, sbungay wrote:
> Forgot to change that piece.. good call... thanks.
>
> ron wrote:
> > On Friday 27 April 2007 17:58, Stephen Bungay wrote:
> >> ' This command creates a 128b barcode...
> >> ShellString = BarCodePathString & "barcode -b " & pEncodeString & "
> >> -e 128b -o " & "~/Barcode-" & pEncodeString & ".ps"
> >
> > BarCodePathString is used and Dim but never set with path
> >
> >> SHELL ShellString
> >>
> >> WHILE NOT Exist("~/Barcode-" & pEncodeString & ".ps")
> >> WAIT 0.4
> >> WEND
> >>
> >> ShellString = "convert " & "~/Barcode-" & pEncodeString & ".ps -crop
> >>205x80+7+703 " & "~/Barcode-" & pEncodeString & ".png"
> >
> > must be ?
> >
> >> ShellString = "convert " & "~/Barcode-" & pEncodeString & ".ps -crop
> >> " 205x80+7+703 " & "~/Barcode-" & pEncodeString & ".png"
> >
> > ----^--------------^
> > -crop need dimensions and 205x80+7+703=17110 :) :)
Isn't 205x80 (dimensions - width x height) and +7+703 (offsets - left down)
the geometry required? I'm not sure if just supplying a single number
(17110) would give the right crop location :)
snip...
--
Paul Horechuk
Think Free
Use Open Source Software
More information about the User
mailing list