![]() ![]() ![]() So you need to send receipts in PDF format by law. Some tools does not support them or they support it but costs a fortune. I know there are lots of PDF Creation tools but we need some specific features. There is no way to solve that without using third party tools. So we need to convert Flow Document format to PDF. The other method to print the flow document does not have “File Name” property like the PrintDocument class. Unfortunately using PrintDocument class method just solves file naming issue however it only provides functions to draw / type stuff into a blank canvas. Other method is great for printing images, etc… One of them is good at printing flow documents. There are multiple ways to create & print a document in Microsoft world. Flow Document is a Microsoft format (like pdf) to prepare rich text documents and you can easily print them or save to xps file without using a xps printer. We’re using flow documents to format document prints. The good thing would be not so “3rd party PDF writer”, the bad thing would be writing Document thank you very much for sharing the tip. It is just a question, it might be stupid question because I don’t know the windows environment, nor SambaPOS inside I was wondering if it would be possible to do the same for Ms Print to PDF, soĬustom Printer > Save PDF to File Printer (setting) xps when PrinterName = "Microsoft XPS Document Writer", Save Document to File Printer (with filename setting) for Custom Printer Use the same PrintDocument object (and Both can assign the filename using the same method)Īs Ms Print to PDF is now standard on windows 10, I saw on StackOverflow that both printers: Microsoft XPS Document Writer So I have been spending the day to find a solution, CuteFTP, bulldog/BioPDF, Adobe, etc … I can make it work with Ms print to PDF but the Save As popup kills the automation: I need by law to send an email with attached PDF to some customers: 20503152170-01-F001-123.pdf ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |