+ Reply to Thread
Results 1 to 4 of 4

Thread: UCC 128 Barcode generation

  1. #1
    Join Date
    Aug 2008
    Posts
    81
    Rep Power
    11

    Default UCC 128 Barcode generation

    I'm working on a report that needs to print out a code 128 barcode on it and haven't found much in the way of help for such a task. Can anyone point me in the right direction for finding this, some code examples perhaps?

  2. #2
    Join Date
    Jun 2009
    Location
    Mexico, DF
    Age
    50
    Posts
    42
    Rep Power
    6

    Default Re: UCC 128 Barcode generation

    Hi.

    I Use Fonts "Carolina barcode" (http://www.carolinabarcode.com/) since about 6 years ago. You have to buy the fonts, but they are very useful.

  3. #3
    Join Date
    Aug 2008
    Posts
    81
    Rep Power
    11

    Default Re: UCC 128 Barcode generation

    Ok, thats not really what I'm looking for though. I'm asking about the code 128.

    It seems like it should be as simple as assigning the font and putting to the stream but it doesn't seem to be working. Is the check digit required?

  4. #4
    Join Date
    Aug 2006
    Posts
    148
    Rep Power
    22

    Default Re: UCC 128 Barcode generation

    Does your printer have the code 128 barcode font installed? Is it a laser printer or... ? Generally for laser printers you need to send not only a font change, but also size etc.

    For example, here is the escape sequence for switching to barcode on a Dell laser with built-in code 39 followed by a reset to normal:
    Code:
        set-barcode = "\033(9Y" + "\033(s1p20.0v0s0b32774T"
        reset-norm = "\033(3@" + "\033(s0p12H" + "\033(s3T"
    
    put stream blah unformatted set-barcode field-to-barcode reset-norm.
    There are a number of sites on the web explaining the how-to's and format for PCL:

    e.g.
    http://pcl.to/reference/
    http://www.nefec.org/UPM/ccPCLfrm.htm
    Last edited by LarryD; 21 Sep 2009 at 02:07 PM.

+ Reply to Thread

Similar Threads

  1. WRX Generation
    By Mark_Barr in forum Development
    Replies: 4
    Last Post: 17 Nov 2008, 03:58 AM
  2. Procedure for Report Generation
    By Jupiter in forum Development
    Replies: 2
    Last Post: 31 Aug 2007, 02:48 AM
  3. primary key generation
    By thomashk in forum Development
    Replies: 9
    Last Post: 6 Jan 2005, 06:11 AM
  4. Automatic generation of incremental delta.df
    By Dirky in forum Database Admin
    Replies: 0
    Last Post: 26 Feb 2004, 05:02 AM
  5. PB with end of page with RTF FILE generation
    By BONO in forum Development
    Replies: 0
    Last Post: 1 Nov 2001, 06:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts