ByteScout PDF SDK - VBScript and VB6 - Create ZUGFeRD Invoice - ByteScout

ByteScout PDF SDK – VBScript and VB6 – Create ZUGFeRD Invoice

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – VBScript and VB6 – Create ZUGFeRD Invoice

How to create zugferd invoice in VBScript and VB6 using ByteScout PDF SDK

The tutorial below will demonstrate how to create zugferd invoice in VBScript and VB6

Create zugferd invoice is easy to implement in VBScript and VB6 if you use these source codes below. ByteScout PDF SDK is the library for pdf documents generation, modification and updates. Can also generate and fill PDF forms. Provides support for text (fonts, style, size, font family), layers, pdf form fields, vector and raster drawings and you can use it to create zugferd invoice with VBScript and VB6.

VBScript and VB6 code samples for VBScript and VB6 developers help to speed up coding of your application when using ByteScout PDF SDK. Just copy and paste the code into your VBScript and VB6 application’s code and follow the instruction. Enjoy writing a code with ready-to-use sample codes in VBScript and VB6.

You can download free trial version of ByteScout PDF SDK from our website to see and try many others source code samples for VBScript and VB6.

Try ByteScout PDF SDK today: Get 60 Day Free Trial or sign up for Web API

FileAttachmentAnnotations.vbs
      
' This example demonstrates how to attach a file to PDF document. ' Open pdf document Set pdfDocument = CreateObject("Bytescout.PDF.Document") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Load existing document pdfDocument.Load("Invoice.pdf") Set comHelpers = pdfDocument.ComHelpers ' Attach ZUGFeRD XML file Set fileAttachment = comHelpers.CreateFileAttachmentAnnotation("ZUGFeRD-invoice.xml", 0, 0, 0, 0) pdfDocument.Pages.Item(0).Annotations.Add(fileAttachment) ' Instruct PDF viewer applications to show attachments pane on startup (optional) pdfDocument.PageMode = comHelpers.PAGEMODE_ATTACHMENT ' Save document to file pdfDocument.Save("result.pdf") ' Open document in default PDF viewer app Set shell = CreateObject("WScript.Shell") shell.Run "result.pdf", 1, false

Try ByteScout PDF SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout PDF SDK page

Explore ByteScout PDF SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next