<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Choose file name &#8211; LVBPrint Homepage</title>
	<atom:link href="https://www.lvbprint.de/en/tag/choose-file-name/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lvbprint.de/en</link>
	<description>Software für Druckerlösungen</description>
	<lastbuilddate>Wed, 21 Aug 2024 13:29:16 +0000</lastbuilddate>
	<language>en-GB</language>
	<sy:updateperiod>
	hourly	</sy:updateperiod>
	<sy:updatefrequency>
	1	</sy:updatefrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.lvbprint.de/wp-content/uploads/2021/05/LVBCropTrans.png</url>
	<title>Choose file name &#8211; LVBPrint Homepage</title>
	<link>https://www.lvbprint.de/en</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Example of automatic PDF generation when printing with the selection of the file name</title>
		<link>https://www.lvbprint.de/en/2024/08/20/pdf-generation-file-dialog/</link>
		
		<dc:creator><![CDATA[dieter]]></dc:creator>
		<pubdate>Tue, 20 Aug 2024 15:41:31 +0000</pubdate>
				<category><![CDATA[PrintMulti Examples]]></category>
		<category><![CDATA[PrintMulti]]></category>
		<category><![CDATA[Choose file name]]></category>
		<category><![CDATA[PDF Drucken speichern]]></category>
		<category><![CDATA[PDF print save]]></category>
		<guid ispermalink="false">https://www.lvbprint.de/?p=1537</guid>

					<description><![CDATA[Ermöglicht die Auswahl eines Dateinames für die PDF Datei]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">Introduction</h2>



<p class="has-medium-font-size translation-block">Automatic PDF generation is easily possible in PrintMulti, as described <a href="https://www.lvbprint.de/en/2023/10/16/pdf-creation/" data-type="link" data-id="https://www.lvbprint.de/en/2023/10/16/pdf-creation/" target="_self">here</a>. One wish was for the user to be able to choose the name of the PDF to be generated when printing.</p>



<h2 class="wp-block-heading">Solution using ‘File:’ port</h2>



<p class="has-medium-font-size">PrintMulti itself does not offer the possibility to show a dialogue, but with a little trick it still works. </p>



<p class="has-medium-font-size">You simply select ‘FILE:’ as the port for the PrintMulti printer and the application or Windows displays a file save dialogue to select a prn file when printing.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="463" height="528" src="https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileE.png" alt="ChoosePrnFileD" class="wp-image-1538" title="Beispiel für eine automatische PDF Erzeugung beim Drucken mit der Auswahl des Dateinamens 1" srcset="https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileE.png 463w, https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileE-272x300.png 272w, https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileE-11x12.png 11w" sizes="(max-width: 463px) 100vw, 463px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="822" height="445" src="https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileDialogE.png" alt="ChoosePrnFileDialogD" class="wp-image-1541" title="Beispiel für eine automatische PDF Erzeugung beim Drucken mit der Auswahl des Dateinamens 2" srcset="https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileDialogE.png 669w, https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileDialogE-300x207.png 300w, https://www.lvbprint.de/wp-content/uploads/2024/08/ChoosePrnFileDialogE-18x12.png 18w" sizes="(max-width: 822px) 100vw, 822px" /></figure>



<p class="has-medium-font-size translation-block">The trick now is to let the user select a prn file whose name is available with the new macro ‘#O’ within PrintMulti. There, ‘.prn’ is then simply replaced by ‘.pdf’ and the PDF is created as in the other example.</p>



<p class="has-medium-font-size translation-block">The PrintMulti.ini could look like this if the PrintMulti printer is called <em>‘PrintMulti Colour File’</em>.</p>



<pre class="wp-block-preformatted has-very-light-gray-to-cyan-bluish-gray-gradient-background has-background has-medium-font-size"><em>[MicrosoftPrintToPDF]</em><br>Printer=Microsoft Print To PDF<br>Save2File=$(#O;.prn;.pdf;replace)<br>Color=1<br>Execute=yes<br>ExecuteAsUser=true<br>ExecuteFlags=0x08000000<br>ExecuteTimeout=INF<br>ExecuteCmd=cmd /c del @"#O"<br><br><em>[TestPrinter]</em><br>Printer=Testprinter<br><br><em>[PrintMulti Color File]</em><br>Active=1<br>ActionCreatePDF=Print;MicrosoftPrintToPDF<br>ActionPrint=Print;TestPrinter<br>PrintSelf=0<br></pre>



<p></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>