I would like to be able to print my records. Pressing print will create a printer friendly overview.
…otherwise it seems I’m stuck with Podio…
I would like to be able to print my records. Pressing print will create a printer friendly overview.
…otherwise it seems I’m stuck with Podio…
Hi @jon and welcome to the Tape community.
Personally I prefer to use the Action · Create PDF · Workflow Automation to create a printable version of the record. This way I have full flexibility of the print layout.
The automation looks something like this:
Now every time you change anything on the record a new printable PDF will be attached. Simply open it from the record and print.
If you have questions feel free to reply.
Hej Luis
Thank you so much for reaching out and what a big help! I hope you want to help me a little more…?
I have been playing around with it and it works well, but not without a small issue:
When I have fields with multiple lines, the formatting only applies to the first line, do you know how to fix that?
I can send an image if my question I unclear…
Thank you again and best regards, Jon
@jon is possible that the “Source Code” of the PDF is overwriting the style of the multiline paragraph. To keep the formatting, the variable should be inside the <p></p
> tags. To find that, first, go to PDF action and open Fullscreen.
Then go to File > Source Code. It will look something like this:
Hi Luis. Thank you.
I tried looking into that, but I can’t make it work. It looks to me, as the variable is inside the tags. I’ll send the source code here, maybe you can see what the problem is…?
But after I tried it, my pdf’s now look like the attached with the text of the variables written instead of the content. It has happened before - I ended up writing a whole new automation.
Hope you can help me!
best, Jon
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong><span style="font-size:
18pt;"><var data-id="field-variable#field-SINGLE_TEXT-235384" class="value-def" data-
label="@Record / Bestiller-navn" data-
value="eyJmaWVsZF9pZCI6MjM1Mzg0LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaW
FibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Bestiller-navn</var> - <var data-
id="field-variable#field-MULTI_CATEGORY-235404" class="value-def" data-label="@Record /
Ugedag" data-
value="eyJmaWVsZF9pZCI6MjM1NDA0LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfQ0FURUdPUlkiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFy
aWFibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Ugedag</var> <var data-id="field-
variable#field-RANGE_DATE-235402" class="value-def" data-label="@Record / Dato" data-
value="eyJmaWVsZF9pZCI6MjM1NDAyLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiUkFOR0VfREFURSIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYW
JsZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Dato</var> </span></strong></
span></p>
<p style="line-height: 2;"><strong style="font-family: inherit; font-size: 14pt; font-style: inherit;
font-variant-caps: inherit; white-space: pre-wrap; color: var(--t5s-theme-color-darkest);">Hvor: </
strong><var data-id="field-variable#field-SINGLE_CATEGORY-235395" class="value-def" data-
label="@Record / Hvor" data-
value="eyJmaWVsZF9pZCI6MjM1Mzk1LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZh
bHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX0NBVEVHT1JZIiwidHJpZ2dlcmluZyI6ZmFsc2UsInZhcml
hYmxlX3R5cGUiOiJGSUVMRF9WQVJJQUJMRSJ9" style="font-size: 14pt;">@Record / Hvor</
var><span style="font-size: 14pt;"> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Lokale:</strong> <var data-
id="field-variable#field-MULTI_CATEGORY-235412" class="value-def" data-label="@Record /
Lokale" data-
value="eyJmaWVsZF9pZCI6MjM1NDEyLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfQ0FURUdPUlkiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFy
aWFibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Lokale</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Tidsrum:</strong> <var data-
id="field-variable#field-MULTI_TEXT-241449" class="value-def" data-label="@Record / Tidsrum"
data-
value="eyJmaWVsZF9pZCI6MjQxNDQ5LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Tidsrum</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Anledning:</strong> <var data-
id="field-variable#field-SINGLE_TEXT-235388" class="value-def" data-label="@Record /
Anledning / overskrift på menukortet" data-
value="eyJmaWVsZF9pZCI6MjM1Mzg4LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaW
FibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Anledning / overskrift på
menukortet</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Antal:</strong> <var data-
id="field-variable#field-SINGLE_TEXT-235385" class="value-def" data-label="@Record / Antal"
data-
value="eyJmaWVsZF9pZCI6MjM1Mzg1LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaW
FibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Antal</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Antal retter og anretning:</
strong> <var data-id="field-variable#field-SINGLE_TEXT-235391" class="value-def" data-
label="@Record / Antal retter og anretning" data-
value="eyJmaWVsZF9pZCI6MjM1MzkxLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZh
bHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaWFi
bGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Antal retter og anretning</var> </
span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Pris pr. kuvert:</strong> <var
data-id="field-variable#field-SINGLE_TEXT-235389" class="value-def" data-label="@Record /
Pris / kuvert" data-
value="eyJmaWVsZF9pZCI6MjM1Mzg5LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaW
FibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Pris / kuvert</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Kontakt:</strong> <var data-
id="field-variable#field-SINGLE_TEXT-235409" class="value-def" data-label="@Record /
Kontaktinfo" data-
value="eyJmaWVsZF9pZCI6MjM1NDA5LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiU0lOR0xFX1RFWFQiLCJ0cmlnZ2VyaW5nIjpmYWxzZSwidmFyaW
FibGVfdHlwZSI6IkZJRUxEX1ZBUklBQkxFIn0=">@Record / Kontaktinfo</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Praktisk:</strong> <var data-
id="field-variable#field-MULTI_TEXT-235414" class="value-def" data-label="@Record /
Afhentning/ levering/ sted/ koldt/ varmt" data-
value="eyJmaWVsZF9pZCI6MjM1NDE0LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Afhentning/ levering/ sted/ koldt/
varmt</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Allergier: </strong></
span><span style="text-decoration: underline; color: rgb(224, 62, 45);"><span style="font-size:
14pt;"><strong><var data-id="field-variable#field-MULTI_TEXT-241123" class="value-def" data-
label="@Record / Allergier" data-
value="eyJmaWVsZF9pZCI6MjQxMTIzLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZh
bHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJs
ZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Allergier</var> </strong></span></
span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Menu: </strong></span><span
style="font-size: 14pt;"><span style="color: rgb(0, 0, 0);"><var data-id="field-variable#field-
MULTI_TEXT-235410" class="value-def" data-label="@Record / Menu" data-
value="eyJmaWVsZF9pZCI6MjM1NDEwLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Menu</var> </span></span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Andet: </strong><var data-
id="field-variable#field-MULTI_TEXT-235415" class="value-def" data-label="@Record / Andet"
data-
value="eyJmaWVsZF9pZCI6MjM1NDE1LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Andet</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Drikkevarer:</strong> <var
data-id="field-variable#field-MULTI_TEXT-241450" class="value-def" data-label="@Record /
Drikkevarer" data-
value="eyJmaWVsZF9pZCI6MjQxNDUwLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Drikkevarer</var> </span></p>
<p></p>
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Bordopstilling: </strong><var
data-id="field-variable#field-MULTI_TEXT-235416" class="value-def" data-label="@Record /
Bordopstilling" data-
value="eyJmaWVsZF9pZCI6MjM1NDE2LCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZ
hbHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJ
sZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Bordo
Hi @jon
There is something wrong with the code you provided. It appears the variables are inside a style and is messing up the content and only showing the variable text.
The best way to fix it is to go to Open Full screen > Select All > Format > Clear Formatting. Then reapply the variables again. Is best to apply the variables first and then add the styles you want.
Also remember that multiline text fields need to be inside <p></p>
tags to retain the formatting you add on the record.
Hi Luis. Thanks so much again - and sorry to keep bothering you, but it is unfortunately a bit above my pay rate…
I fixed it with the variables via your tip, but the formatting is still off. And I don’t know what you mean with inside the tags. To me it looks all right, but I am not familiar with coding at all…
I’ll attach the code showning the two multiline text fields and how it looks on the pdf.
Hope it will make things clearer…
Best, Jon
The multi line variables are inside a <span style=""><var date-id="field-variable#field-MULTI_TEXT"></var></span>
. All you need to do is replace the <span></span>
with <p></p>
in the source code and it will fix it. It will look something like this:
<p style="line-height: 2;"><span style="font-size: 14pt;"><strong>Allergier: </strong></span></p>
<p><var data-id="field-variable#field-MULTI_TEXT-241123" class="value-def" data-
label="@Record / Allergier" data-
value="eyJmaWVsZF9pZCI6MjQxMTIzLCJwcmV2aW91cyI6ZmFsc2UsImNvbGxlY3Rpb24iOmZh
bHNlLCJmaWVsZF90eXBlIjoiTVVMVElfVEVYVCIsInRyaWdnZXJpbmciOmZhbHNlLCJ2YXJpYWJs
ZV90eXBlIjoiRklFTERfVkFSSUFCTEUifQ==">@Record / Allergier</var></p>
Hi Luis.
I can’t get the formatting to work, but I’ve managed to show the lines without formatting under the headline, so now all lines look the same at least - and that suits my need just fine.
Thank you again for all your support!
Best, Jon