• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Producing Barcodes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Producing Barcodes


  • Subject: Re: Producing Barcodes
  • From: Simon Topliss <email@hidden>
  • Date: Fri, 17 Sep 2004 17:36:45 +0100

Without knowing exactly what error you get, here's the code I use to create barcodes with Barcode...

<x-tad-bigger>make</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>barcode</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>with properties</x-tad-bigger><x-tad-bigger> {</x-tad-bigger><x-tad-bigger>barcodeType</x-tad-bigger><x-tad-bigger>, </x-tad-bigger><x-tad-bigger>barcodeMag</x-tad-bigger><x-tad-bigger>, </x-tad-bigger><x-tad-bigger>barcodeTrunc</x-tad-bigger><x-tad-bigger>, </x-tad-bigger><x-tad-bigger>barcodeBWR</x-tad-bigger><x-tad-bigger>, </x-tad-bigger><x-tad-bigger>barcodeNumber</x-tad-bigger><x-tad-bigger>, </x-tad-bigger><x-tad-bigger>options</x-tad-bigger><x-tad-bigger>:"", </x-tad-bigger><x-tad-bigger>0 0 0 100</x-tad-bigger><x-tad-bigger>", </x-tad-bigger><x-tad-bigger>eps</x-tad-bigger><x-tad-bigger>", </x-tad-bigger><x-tad-bigger>barcodePath</x-tad-bigger><x-tad-bigger>}

Note: also specify 'saveto'. I've never had a problem with creating barcodes.

Where do you get the error?

Simon

</x-tad-bigger>
On 17 Sep 2004, at 5:15 pm, Simon Manning wrote:

<x-tad-smaller>Hi All,</x-tad-smaller>

<x-tad-smaller>I have a filemaker db which generates barcodes using applescript the code is as follows:</x-tad-smaller>

        tell application "FileMaker 6"
                activate
                set nik to cell "SKU 9 digit" of current record
        end tell
       
        tell application "Barcode"
                activate
                make barcode with properties {type:"ISBN-OCRB", Size:"100", height:"26", bwr:"0", data:nik, colour:"0 0 0 100", saved:"text"} ¬
                       
        end tell

<x-tad-smaller>This works fine on OS9 but not always on OSX - can anyone see anything 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" or something on the end of a line. (I dont know as I have little to no experience with AS but these things have cropped up in the past when migrating filemaker dbs to OSX from OS9)</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> _______________________________________________
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

  • Follow-Ups:
    • Re: Producing Barcodes
      • From: Simon Manning <email@hidden>
References: 
 >Producing Barcodes (From: Simon Manning <email@hidden>)

  • Prev by Date: Mail...changing sender accounts
  • Next by Date: Re: Producing Barcodes
  • Previous by thread: Producing Barcodes
  • Next by thread: Re: Producing Barcodes
  • Index(es):
    • Date
    • Thread