4902Gen

 

A .NET tool to generate a PDF file that is somehow compatible to the VDA4902 standard licensed under the GPL v3 or later.

USAGE: 4902Gen -IF=InputFile -OF=OutputFile [-LANGUAGE=EN/ES/FR/IT/PT]  [-Open] [-Info]

The –Open option opens the generated PDF file.

To generate the output you have to provide an input file that contains the data that should be shown on the label. Both kind of label (A5 and half sized (KLT) labels could be generated.

The format of the input file is this where ~ (tilde) is the column separator and comments are beginning with the pound sign (#) and every line in the file will represent one label.

A5 sized label:

L -> marker large label
label position ->  0=auto mode, 1= top of the page, 2=bottom of the page,
Receiver line one -> max 20 chars
receiver line two -> max 20 chars
dock gate -> max 5 chars
storage location -> max 7 chars
usage key -> max 1 char
advice note number -> max 8 chars
supplier address ->  max 29 chars
weight net -> max 4 chars
weight gross -> max 4 chars
number of boxes -> max 3 chars
part number customer-> max 22 chars
part number supplier ->  max 22 chars
quantity -> max 10 chars
quantity unit -> max 2 chars
description -> max 30 chars
package type -> max 10 chars
supplier code -> 9 chars
date Field Type -> max 1 char (D/P/U)
date filed Content -> max 6 chars
engineering change -> max 14  chars
serial number prefix -> 1 char (G/S/M)
serial number -> max 9 chars
batch number -> max 10 chars
weight unit -> max 2 chars
supplier address long -> max 45 chars



Half A5 sized label (KLT label):

S -> marker small label
page position -> 0=auto mode, 1=top, 2=top middle, 3=bottom middle, 4=bottom
receiver line one -> max 20 chars
receiver line Two -> max 20 chars
dock gate  -> max 5 chars
storage location -> max 7 chars
usage key -> max 1 char
advice note number -> max 8 chars
part number customer-> max 22 chars
quantity -> max 10 chars
quantity unit -> max 2 chars
description  -> max 30 chars
part number supplier ->  max 22 chars
package type ->  max 10 chars
supplier code -> 9 chars
date Field Type -> max 1 char (D/P/U)
date filed content -> max 6 chars
engineering change -> max 14  chars
serial number prefix -> 1 char (G/S/M)
serial number -> max 9 chars
batch number -> max 10 chars

The auto position mode takes care that as much labels as possible fit to the page(s).
Label sizes will be mixed when possible.

 

A sample input file could be found here: TestInput.txt

The generated output file is here: TestOutput.pdf

 

This is how the output looks like:

 

System requirements:

Any Windows edition that runs the .NET Framework in Version >= 3.5 should be able to execute 4902Gen.

 

Know limitations and bugs:
Currently the description text in the generated label fields are German.
Maybe I will add translation in the future. For now I want to get the thing running.
If you need a translation or find any bug, please use Sourceforges tracker and file it.
One tricky thing on the labels are the barcodes. I implemented them like they are described in the VDA guide. If you have problems reading them using a barcode reader, please file this error too.
I’ve checked two different reader models and used an online checker without any problem.

 

Cheers

Fiege

 

Version history:
20110826-v 1.00               initial release
20110829-v 1.01               language support EN,FR,IT,PT,ES added
                                               license version typo in source code corrected

 

 

4902Gen is based on PdfClown a  PDF library licensed under the LGPL by Stefano Chizzolini.
You can get the source at: http://clown.stefanochizzolini.it  or its repository URL
http://sourceforge.net/projects/clown .
PdfClown uses SharpZipLib (ICSharpCode.SharpZipLib.dll) which is covered by the GPL.
You can get SharpZipLib (source and binary version) at:  
http://sharpdevelop.net/OpenSource/SharpZipLib/

 

 

Adobe & PDF are TM of Adobe (http://www.adobe.com)

VDA is the short form of Verband der Automobilindustrie ( http://
www.vda.de) -> I am not sure if it’s trademarked or not. I’ve tried to find any information on their web site about the TM but had no luck. So if it’s trademarked, it’s acknowledged by this.

Windows, C# & .NET are registered trademarks of Microsoft Corporation in the United States and other countries.  (http://www.microsoft.com)