Re: [Gambas-user] Barcode.... Here ya go Hamilton...
Brought to you by:
gambas
From: ron <ro...@ti...> - 2007-04-27 17:04:13
|
On Friday 27 April 2007 17:58, Stephen Bungay wrote: > =A0' This command creates a 128b barcode... > =A0 ShellString =3D BarCodePathString & "barcode -b " & pEncodeString & "= -e=20 > 128b -o " & =A0"~/Barcode-" & pEncodeString & ".ps" BarCodePathString is used and Dim but never set with path > =A0=20 > =A0 SHELL ShellString =A0 > =A0=20 > =A0 WHILE NOT Exist("~/Barcode-" & pEncodeString & ".ps") > =A0 =A0 =A0 =A0 WAIT 0.4 > =A0 WEND=20 > =A0=20 > =A0 ShellString =3D "convert " & "~/Barcode-" & pEncodeString & ".ps -cro= p=20 > 205x80+7+703 " & =A0"~/Barcode-" & pEncodeString & ".png" >=20 must be ? > ShellString =3D "convert " & "~/Barcode-" & pEncodeString & ".ps -crop= =20 > " 205x80+7+703 " & "~/Barcode-" & pEncodeString & ".png" =2D---^--------------^ =2Dcrop need dimensions and 205x80+7+703=3D17110 :) :) Nice weekend Ron |