Re: [Gambas-user] Barcode.... Here ya go Hamilton...
Brought to you by:
gambas
From: sbungay <sb...@cs...> - 2007-04-27 18:54:55
|
I think you're right about that... never noticed the other part of his post... does anyone know if the single number would work? Somehow me thinks now. Paul Horechuk wrote: > 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... > > |