Git Product home page Git Product logo

Comments (5)

ingfdoaguirre avatar ingfdoaguirre commented on August 11, 2024 6

Hi, I have an update.

I'm using pdfSharp to create PDFs based on ElementDrawers from viewer, with some modifications.

At this moment I had ported this classes to draw in a PDF page, instead a image (I created other classes adding Pdf before Element, like TextFieldPdfElementDrawer):

TextFieldElementDrawer
QrCodeElementDrawer
FieldBlockElementDrawer
Barcode128ElementDrawer
Barcode39ElementDrawer
BarcodeEAN13ElementDrawer

The text highlighted in pink, is text, not an image!

2022-06-10_17-25

This library can be a real competition for labelary for zpl to pdf conversion

=====UPDATE 10/06/22=====

Image from Labelary
labelary1

My Pdf drawer (is not an entire image, is text + images (barcodes, qrcodes, graphics)
labelary2

Font is Arial, because Zpl fonts are from Zebra, and Arial is a default one in Windows, linux etc.

Here is the PDF test file with the same ZPL code 16 times (Created with ZPL code repeated 16 times)
test.pdf

The major benefit to draw directly in a PDF instead an Image is the filesize, a PDF with images and 50 labels, was like 10mb, with this method, the filesize is reduced to only 436kb, with the same 50 labels.

Also processing time was cut from 30+ seconds to only ~8 seconds to process the same labels.

from binarykits.zpl.

oytunyuksel avatar oytunyuksel commented on August 11, 2024 4

Hi @ingfdoaguirre,

Will you plan to share these codes with us?

from binarykits.zpl.

YipingRuan avatar YipingRuan commented on August 11, 2024

@ingfdoaguirre Thank you!

Hi I recently made some PRs to fix some bugs.

Just to confirm the PDF support is to allow user download a PDF file, and has nothing to do with the web page rending?

from binarykits.zpl.

gurunathgopireddy avatar gurunathgopireddy commented on August 11, 2024

Hello @ingfdoaguirre

Is there any example I can use to create PDF files instead of images?
Thank you

from binarykits.zpl.

avan2s avatar avan2s commented on August 11, 2024

Hello @ingfdoaguirre ,
pdf conversion is something I am currently missing here. Could you please share the code with us? I think this will help many people out there which need to handle label requirements :)

Thanks a lot and best regards

from binarykits.zpl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.