Thread: Printing EAN barcodes in C

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    2

    Printing EAN barcodes in C

    Has anyone done it so far? Please help me, I'm in trouble......
    Is there something like the VB's Printer.Line in C??

    Thanks a lot,

    Andrea

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    522
    Try this
    Code:
    printf(" Thin line, Fat line, Thin line, Fat line");
    heh heh
    Do you mean you want to load a barcode and print the actual lines? or just to represent a barcode?

    DOH I didnt read your question properly, i thought you meant print to screen(kicks himself).
    Last edited by C_Coder; 12-11-2001 at 04:26 PM.
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    2
    I have to print the barcode on my printer (not on my screen...)...
    I know that ean8 & ean13 barcodes are made of 8 and 13 numeric characters represented by 7 lines (black or white) for each one. So i need a function which prints identic lines black or white, but one next to the other... How can I print lines with c? Have you ever printed barcodes?

    Thanks a lot,
    Marco

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 01:13 AM
  2. generic printing preferences dialog box
    By stanlvw in forum Windows Programming
    Replies: 8
    Last Post: 06-27-2008, 02:20 AM
  3. printing data to a file
    By coralreef in forum C Programming
    Replies: 3
    Last Post: 11-02-2006, 08:10 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 04:46 AM
  5. Printing using DrawText() or TextOut()
    By Eversman in forum Windows Programming
    Replies: 1
    Last Post: 05-24-2004, 12:12 PM