PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Printing in a Label printer
[WD20] Printing in a Label printer
Iniciado por guest, 17,sep. 2016 13:58 - 8 respuestas
Publicado el 17,septiembre 2016 - 13:58
Hello,

I need to print a report, which consists of barcode with few other data, from windev screen. The printer is a label printer, with no paper size to fix. It's a roll of labels.

When I print as a normal report, it skips 6-7 rows of labels, before it prints. Don't know a page skip will be performed in between when I print more than 200 labels.

Is there any way to print from Windev without skipping at start and in middle ?

Happiness Always
BKR Sivaprakash
Publicado el 17,septiembre 2016 - 14:03
Hi

so it seems that you have a margin problem, and that your report is not correctly set. Of course, without seeing all the details of the report, it's going to be hard to pinpoint the problem.

Another solution is of course to print directly (without reports) on your printer. Iprintxxxx functions are there for that

Best regards
Publicado el 17,septiembre 2016 - 14:43
Thanks Fabrice for your reply. Maybe I don't know how to set margings and paper size for labels.

Here is the screen shot of the report description.
[attachment 2160 LabelDesignscreenshot.PNG]

Output comes like this, after skipping 6-10 labels.
[attachment 2161 LABEL.png]
Publicado el 17,septiembre 2016 - 16:14
Hi, the best way for printing to label printers / labels is to use iPrint / i-functions. Reports do not really fit label printing. i-commands enable you to check whether the correct printer and label size (iPageHeight, iPageWidth) are used, you can define the number of copies to be printed, you can place bar codes and text wherever you want and move them if necessary. We even made a label editor for defining and placing text and all of the other items on labels of user defineable size according to the EC-directives for the food industry - all done with WINDEV. www.etikettensolo.info
Publicado el 17,septiembre 2016 - 16:56
Hi

I am using zebra printer 4x2 and 4x4 with windev QR/text with NO PROBLEM

If you're using zebra, you'd check the default settings of width/height and it should
work and I had the same problem you as before. The setting is tricky, pls
consult your printer manufacturer then.

HTH

King
Publicado el 17,septiembre 2016 - 22:13
Hi

I found it takes a while to get label printers behaving correctly. Here are some suggestions

Could be that the label printer has it's own internal settings overriding your label settings.

I first used a label design program that came with the printer to create a label and get it working correctly.

I then used iconfigure() to get the popup configuration screen and carefully checked what settings were displayed and changed them. Once this is printing ok, then can change programatically. ( PS see my recent post on label printing)

Good luck
Mark
Publicado el 19,septiembre 2016 - 21:47
Hello,

When the labelprinter is a Dymo then you can use the sdk from Dymo.
Works fine.
Publicado el 20,septiembre 2016 - 08:30
Hello Sivaprakash;

Can you describe me with which Printer you are using??

If you are using some ZEBRA Label Printers then in the printer there is some default option to adjust and automatically do label correction which means it check the label roll for correct feed by skipping some labels till it gets the exact tear off/label gaps. Try to print the report after turning off that option. And i need the Printer brand and model to explain further about adjusting label margin and print settings.
Publicado el 20,septiembre 2016 - 14:41
Hello,

My printer is Datamax.

I designed the label contents using bartender software, got it working. Generated those scripts and created an equivalent from Windev, and it's printing perfectly.

Trying to make it to work from Windev report.

Happiness Always
BKR Sivaprakash