Re: Producing Barcodes
Re: Producing Barcodes
- Subject: Re: Producing Barcodes
- From: Simon Topliss <email@hidden>
- Date: Fri, 17 Sep 2004 20:27:37 +0100
Hmm. Can't find a reference for that error code. Have you tried contacting the developers of Barcode?
Simon
On 17 Sep 2004, at 6:06 pm, Simon Manning wrote:
<x-tad-smaller>the error I get is:</x-tad-smaller>
<x-tad-smaller>barcode got an error: cant make a barcode (Error -2710)</x-tad-smaller>
<x-tad-smaller>Best regards,</x-tad-smaller>
<x-tad-smaller> Simon Manning</x-tad-smaller>
<x-tad-smaller> Systems Developer</x-tad-smaller>
<x-tad-smaller> IPS Web & Data Services</x-tad-smaller>
<x-tad-smaller> Cambridge University Press</x-tad-smaller>
<x-tad-smaller> University Printing House</x-tad-smaller>
<x-tad-smaller> Cambridge CB2 2RU</x-tad-smaller>
<x-tad-smaller> Tel: + 44 (0)1223 325132 (direct)</x-tad-smaller>
<x-tad-smaller> Email: email@hidden</x-tad-smaller>
<x-tad-smaller>Simon Topliss <email@hidden></x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller>Sent by: applescript-users-bounces+smanning=email@hidden</x-tad-smaller>
<x-tad-smaller>17/09/04 17:36</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>Applescript Mailing List <email@hidden></x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>Re: Producing Barcodes</x-tad-smaller>
<x-tad-smaller>Without knowing exactly what error you get, here's the code I use to </x-tad-smaller>
<x-tad-smaller> create barcodes with Barcode...</x-tad-smaller>
<x-tad-smaller> make barcode with properties {type:barcodeType, Size:barcodeMag, </x-tad-smaller>
<x-tad-smaller> height:barcodeTrunc, bwr:barcodeBWR, data:barcodeNumber, options:"", </x-tad-smaller>
<x-tad-smaller> colour:"0 0 0 100", saved:"eps", saveto:barcodePath}</x-tad-smaller>
<x-tad-smaller> Note: also specify 'saveto'. I've never had a problem with creating </x-tad-smaller>
<x-tad-smaller> barcodes.</x-tad-smaller>
<x-tad-smaller> Where do you get the error?</x-tad-smaller>
<x-tad-smaller> Simon</x-tad-smaller>
<x-tad-smaller> On 17 Sep 2004, at 5:15 pm, Simon Manning wrote:</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Hi All,</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > I have a filemaker db which generates barcodes using applescript the </x-tad-smaller>
<x-tad-smaller> > code is as follows:</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > tell application "FileMaker 6"</x-tad-smaller>
<x-tad-smaller> > activate</x-tad-smaller>
<x-tad-smaller> > set nik to cell "SKU 9 digit" of current record</x-tad-smaller>
<x-tad-smaller> > end tell</x-tad-smaller>
<x-tad-smaller> > </x-tad-smaller>
<x-tad-smaller> > tell application "Barcode"</x-tad-smaller>
<x-tad-smaller> > activate</x-tad-smaller>
<x-tad-smaller> > make barcode with properties {type:"ISBN-OCRB", </x-tad-smaller>
<x-tad-smaller> > Size:"100", height:"26", bwr:"0", data:nik, colour:"0 0 0 100", </x-tad-smaller>
<x-tad-smaller> > saved:"text"} ¬</x-tad-smaller>
<x-tad-smaller> > </x-tad-smaller>
<x-tad-smaller> > end tell</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > This works fine on OS9 but not always on OSX - can anyone see anything </x-tad-smaller>
<x-tad-smaller> > obvious that will make it fail on OSX???</x-tad-smaller>
<x-tad-smaller> > ???? Its probably a casting issue thats needs something like "as text" </x-tad-smaller>
<x-tad-smaller> > or something on the end of a line. (I dont know as I have little to no </x-tad-smaller>
<x-tad-smaller> > experience with AS but these things have cropped up in the past when </x-tad-smaller>
<x-tad-smaller> > migrating filemaker dbs to OSX from OS9)</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Best regards,</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Simon Manning</x-tad-smaller>
<x-tad-smaller> > Systems Developer</x-tad-smaller>
<x-tad-smaller> > IPS Web & Data Services</x-tad-smaller>
<x-tad-smaller> > Cambridge University Press</x-tad-smaller>
<x-tad-smaller> > University Printing House</x-tad-smaller>
<x-tad-smaller> > Cambridge CB2 2RU</x-tad-smaller>
<x-tad-smaller> > Tel: + 44 (0)1223 325132 (direct)</x-tad-smaller>
<x-tad-smaller> > Email: email@hidden </x-tad-smaller>
<x-tad-smaller> > _______________________________________________</x-tad-smaller>
<x-tad-smaller> > Do not post admin requests to the list. They will be ignored.</x-tad-smaller>
<x-tad-smaller> > Applescript-users mailing list (email@hidden)</x-tad-smaller>
<x-tad-smaller> > Help/Unsubscribe/Update your Subscription:</x-tad-smaller>
<x-tad-smaller> > email@hidden</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > This email sent to email@hidden _______________________________________________</x-tad-smaller>
<x-tad-smaller> Do not post admin requests to the list. They will be ignored.</x-tad-smaller>
<x-tad-smaller> Applescript-users mailing list (email@hidden)</x-tad-smaller>
<x-tad-smaller> Help/Unsubscribe/Update your Subscription:</x-tad-smaller>
<x-tad-smaller> This email sent to email@hidden</x-tad-smaller>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden