Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 6 Monaten
Letzter Beitrag:
vor 1 Jahr, 6 Monaten
Beteiligte Autoren:
Sivaprakash, Frans, Amal Murali, Mark Crichton, kingdr, Fabrice Harari, GuenterP

[WD20] Printing in a Label printer

Startbeitrag von Sivaprakash am 17.09.2016 11:58


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



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

von Fabrice Harari - am 17.09.2016 12:03
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]

von Sivaprakash - am 17.09.2016 12:43
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

von GuenterP - am 17.09.2016 14:14

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.



von kingdr - am 17.09.2016 14:56

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

von Mark Crichton - am 17.09.2016 20:13

When the labelprinter is a Dymo then you can use the sdk from Dymo.
Works fine.

von Frans - am 19.09.2016 19:47
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.

von Amal Murali - am 20.09.2016 06:30

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

von Sivaprakash - am 20.09.2016 12:41
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.