Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@radoslavius
Created February 9, 2022 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radoslavius/87455273050d08a08d0c4e782663683b to your computer and use it in GitHub Desktop.
Save radoslavius/87455273050d08a08d0c4e782663683b to your computer and use it in GitHub Desktop.
example.btxml with ExportPrintPreviewToImage
<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0" Name="expedice_test" ID="1">
<Command Name="_preview">
<ExportPrintPreviewToImage ReturnImageInResponse="false">
<Format>example.btw</Format>
<PrintSetup>
<IdenticalCopiesOfLabel>1</IdenticalCopiesOfLabel>
<RecordRange>1</RecordRange>
</PrintSetup>
<RecordSet Type="btTextFile">
<Delimitation>btDelimCustom</Delimitation>
<FieldDelimiter>~</FieldDelimiter>
<TextData><![CDATA[
31.01.2022~desc1~8595179231338~~BSL9-SK-23~Cats~100~2
31.01.2022~desc2~8595179231338~~BSL9-SK-23~Cats~20~2
]]>
</TextData>
</RecordSet>
<Folder>C:\STITKY\export\</Folder>
<FileNameTemplate>00000010_.jpg</FileNameTemplate>
<ImageFormatType>JPG</ImageFormatType>
<Colors>btColors24Bit</Colors>
<DPI>300</DPI>
<Overwrite>true</Overwrite>
<IncludeMargins>true</IncludeMargins>
<IncludeBorder>true</IncludeBorder>
<BackgroundColor>16777215</BackgroundColor>
</ExportPrintPreviewToImage>
</Command>
</XMLScript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment