[Gambas-user] Barcode.... Here ya go Hamilton...

ron ronstk at ...239...
Fri Apr 27 19:04:06 CEST 2007


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


Nice weekend

Ron




More information about the User mailing list