Simple label designer/manager

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
mol
Posts: 3219
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 224 times
Been thanked: 125 times
Contact:

Simple label designer/manager

Post by mol » Wed Dec 24, 2014 8:02 am

Finding few time, I've decided to build standalone label manager :)
It's only first preview, so be patient. I'm attaching source code, dbf file and .exe.
Nice testing!
You can download it from my ftp:
http://www.molsystemy.pl/hmg/label_manager.zip

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Wed Dec 24, 2014 8:34 am

Thank you, Marek
BPD
Convert Dream into Reality through HMG

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Wed Dec 24, 2014 10:52 am

Very nice Marek !

Thank you for your sharing ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
quartz565
Posts: 562
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 174 times
Been thanked: 20 times
Contact:

Post by quartz565 » Wed Dec 24, 2014 1:04 pm

Marek i tried to print a label with the label manager but the label that comes out is blank.
I am attaching 3 screenshots with the printers' settings, the label's settings and the preview screen.

Also the printing is not direct, its a bit slow, it takes about 6-7 seconds before it starts printing after we give the command.And the label comes out blank.Weird thing is that the preview page shows the paper size much bigger than it was supposed to be.Especially the height, you can see it in the screenshot below.

Maybe i am doing something wrong?Thanks for your help.

Printer Settings
Image

Label Settings
Image

Preview Screen
Image
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Wed Dec 24, 2014 1:08 pm

Is very good.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
mol
Posts: 3219
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 224 times
Been thanked: 125 times
Contact:

Post by mol » Wed Dec 24, 2014 10:02 pm

I'll try to describe solition tomorrow,
Now, I have guests from Mexico (really!) - very nice two students - friends of my daughter.

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Wed Dec 24, 2014 10:15 pm

Nice Marek !

Have you a good time ! :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 2342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 588 times
Been thanked: 124 times
Contact:

Post by serge_girard » Thu Dec 25, 2014 8:18 am

Thanks Marek !

Serge

User avatar
mol
Posts: 3219
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 224 times
Been thanked: 125 times
Contact:

Post by mol » Thu Dec 25, 2014 12:43 pm

Marek i tried to print a label with the label manager but the label that comes out is blank.
I am attaching 3 screenshots with the printers' settings, the label's settings and the preview screen.
When printing on tlp 2844, you should set paper size (at the bottom of window) to size of labels that are loaded into printer.

User avatar
quartz565
Posts: 562
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 174 times
Been thanked: 20 times
Contact:

Post by quartz565 » Mon Dec 29, 2014 5:10 pm

Hello Marek,
The label prints out just fine!!

Your program is really good!! for creating and printing labels through the windows drivers.

There is just a small problem with the barcode printing when the barcode size is small ( for really small labels). The barcode lines are printed with dots and not very clear. This probably happens because the barcode is being printed as an image, so when we try to scan it with the barcode reader it cannot read it. When we print through the EPL language(for example: B265,75,0,3,2,4,101,b,V00) the barcode lines are being printed much more clearer.
Do you think that there might be a solution for this matter?

Also a question:
How can we change the fonts used when printing through your program?

Considering my previous example, using EPL to print helps with the compatibility for applications who want to print on DOS and on Windows also(printing in row mode).

The ideal scenario would be to have a mixture of the two ways of printing. Imagine printing the label through the windows drivers except the barcode part , for which we send directly the EPL command to the printer. Although it seems difficult, i am trying to find a solution and if anyone had an idea it would be great.
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

Post Reply