About 3 years ago I created an XML file from CorelDraw (I don't remember which version) that would describe the size of the page, the position of the text, the font, etc. We did it for an XML Macro coder. The Coder was trying to build a macro for iStamp software by Flesher that sends the stamping information to our foil stamping machine to stamp foil letters onto leather name tags. I'm using CorelDraw X8 now, but I can't remember how to create the XML file.
Any help is greatly appreciated.
Frank
Get the shapes information and write a xml file is pretty simple, but you will need understand the data structure from your stamping machine, visite the developer forum for code tips
Bonus630, I searched the Developer Forum but couldn't find any XML output threads. I have a sample XML file that iStamp can read, but it was manually coded. We're looking for a way to get a simple 2 lines of Arial text exported or printed to an XML file that defines each character and it's location on a 4" x 2" document.
Send me your xml file sample and a cdr file sample, i can code for you using c#. Use my public email in my profile
bonus630
Saw this thread from 3 years ago. We are looking at buying a program but it send the information in xml format but we want to get the stamp details into CorelDraw x8. A very basic xml file is attached. Is it possible to get the stamp details into Corel Draw X8. The stamp details starts where it says <Line Number>1<Line Number>
<?xml version="1.0" encoding="UTF-8"?> <Order> <OrderHeader> <SiteId>yourdomain.com</SiteId> <OrderId>8090</OrderId> <Time>24/05/2020 9:57:11 PM</Time> <Subtotal>$10.00</Subtotal> <Shipping>$0.00</Shipping> <Handling>$0.00</Handling> <SalesTax>$0.00</SalesTax> <Total>$10.00</Total> <PaymentMethod><![CDATA[Purchase Order 123456 $10.00]]></PaymentMethod> <SpecialInstructions><![CDATA[none]]></SpecialInstructions> <BillTo> <FirstName>Nev</FirstName> <LastName>KENT</LastName> <CompanyName>ALLSTAMPS</CompanyName> <Address1>SOEMWHERE ST</Address1> <Address2>3</Address2> <City>MALAGA</City> <State>Ontario</State> <Country>Canada</Country> <Zip>6000</Zip> <Phone>92492999</Phone> </BillTo> <ShipTo> <FirstName>Nev</FirstName> <LastName>KENT</LastName> <CompanyName>ALLSTAMPS</CompanyName> <Address1>SOEMWHERE ST</Address1> <Address2>3</Address2> <City>MALAGA</City> <State>Ontario</State> <Country>Canada</Country> <Zip>6000</Zip> <Phone>92492999</Phone> </ShipTo> </OrderHeader> <Items> <Item> <SKU>P40</SKU> <PROD_NAME><![CDATA[Printer 40]]></PROD_NAME> <Description><![CDATA[Printer 40 15/16in. x 2-3/8in. Self-Inking Stamp, Max 6 lines]]></Description> <Quantity>1</Quantity> <UnitPrice>$10.00</UnitPrice> <ShipMethod><![CDATA[New Ship Method]]></ShipMethod> <InkColor>Blue</InkColor> <Border>2 pt</Border> <Line> <LineNumber>1</LineNumber> <Text>ALLSTAMPS</Text> <FontName>A750-Sans</FontName> <FontStyle>Bold, Italic</FontStyle> <FontSize>12</FontSize> <Justification>Center</Justification> </Line> <Line> <LineNumber>2</LineNumber> <Text>UNIT 2, 20 EXCHANGE ROAD</Text> <FontName>A750-Sans</FontName> <FontStyle>Normal</FontStyle> <FontSize>10</FontSize> <Justification>Center</Justification> </Line> <Line> <LineNumber>3</LineNumber> <Text>MALAGA WA 6090</Text> <FontName>A750-Sans</FontName> <FontStyle>Normal</FontStyle> <FontSize>10</FontSize> <Justification>Center</Justification> </Line> <Line> <LineNumber>4</LineNumber> <Text></Text> <FontName>A750-Sans</FontName> <FontStyle>Normal</FontStyle> <FontSize>16</FontSize> <Justification>Center</Justification> </Line> <Line> <LineNumber>5</LineNumber> <Text></Text> <FontName>A750-Sans</FontName> <FontStyle>Normal</FontStyle> <FontSize>16</FontSize> <Justification>Center</Justification> </Line> <Line> <LineNumber>6</LineNumber> <Text></Text> <FontName>A750-Sans</FontName> <FontStyle>Normal</FontStyle> <FontSize>16</FontSize> <Justification>Center</Justification> </Line> </Item> </Items> </Order>