Pdf backup report

200 views
Skip to first unread message

martj...@gmail.com

unread,
May 22, 2017, 2:38:43 PM5/22/17
to pinnacle3-users
Hello to all,
we have the need to print in pdf format our periodic backup report: as by default Pinnacle proposes the configured printers for such task without a pdf printing option, we were wondering if someone of you could have a hint.

Thanks so much.

Best regards,
Martjin.

Bjørne Riis

unread,
May 22, 2017, 3:25:34 PM5/22/17
to pinnacl...@googlegroups.com
Hello Martjin,

You can use PS2PDF to generate a PDF from Pinnacle.

Put the skript into /home/p3rtp/bin
Add a Printer in Pinnacle
Typ Postscript
PrintCommand /home/p3rtp/bin/PDF_Printer

best regards
Bjørne

--
curavid
strahlentherapie | radiologie

Medizinische Physik
Paul-Ehrlich-Strasse 1-3
23562 Lübeck
0451/8891190 42
> --
> --
> You received this message because you are subscribed to the Google
> Groups "pinnacle3-users" group.
> To post to this group, send email to pinnacl...@googlegroups.com
> To subscribe to this group, send email to
> pinnacle3-us...@googlegroups.com
> To unsubscribe from this group, send email to
> pinnacle3-use...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/pinnacle3-users?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "pinnacle3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pinnacle3-use...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
PDF_Printer

Martijn Van Den Bos

unread,
May 30, 2017, 4:19:59 PM5/30/17
to pinnacl...@googlegroups.com
Thanks a lot Biorne.

Best,
Martjin.

> To post to this group, send email to pinnacle3-users@googlegroups.com

> To subscribe to this group, send email to

> To unsubscribe from this group, send email to

> For more options, visit this group at
> http://groups.google.com/group/pinnacle3-users?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "pinnacle3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pinnacle3-users+unsubscribe@googlegroups.com.

> For more options, visit https://groups.google.com/d/optout.
>

--
--
You received this message because you are subscribed to the Google
Groups "pinnacle3-users" group.
To post to this group, send email to pinnacle3-users@googlegroups.com

To subscribe to this group, send email to

To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/pinnacle3-users?hl=en

---
You received this message because you are subscribed to the Google Groups "pinnacle3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pinnacle3-users+unsubscribe@googlegroups.com.

martj...@gmail.com

unread,
May 31, 2017, 9:04:19 AM5/31/17
to pinnacle3-users, b.r...@curavid.de
Hello,
we have a question for a similar issue.
For normal plan reports PDF printing we use the PHILIPS p3pdf script: when displaying the pdf, our printer is not set as the default one.Have you any suggestion about how to set it as the default one for pdf printing? The strange fact is that the printer is the default system printer.

Thanks.
Regards,
Martjin.

Aled Parry

unread,
Feb 13, 2018, 12:02:35 PM2/13/18
to pinnacle3-users
Hi,

I have been trying to make this work, but it doesn't appear to generated any files. I have created the printer in Pinnacle and placed the script in /home/p3rtp/bin. I have made one adjustment to the script, which is to change the directory that the filename writes to. I have pasted the code below.

Thanks for any help

Aled



#!/bin/ksh
# generate PDF 
# Bj  05.2017
# Postscriptfile as $1


# Settings in Pinnacle 
# Printer Type "Postscript" 
# PrintCommand in Pinnacle PDF_Printer
 
# Variablen 
FileName="/home/p3rtp/bin/Pinnacle-`date '+%d.%m.%y.%HH.%MM.%SS'.pdf"


# generate single PDF

ps2pdf13 -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress -dAutoRotatePages=/PageByPage $1 $FileName


Bjørne Riis

unread,
Feb 14, 2018, 6:24:41 AM2/14/18
to pinnacl...@googlegroups.com
Hello Aled,

It seems korrekt.

Have you try it in a Terminal?

First generate a postcriptfile. Print into file.
When run the script with the postscript file as an argument. "ScriptName file.ps"

What is the output?


Best regards
Bjørne

--
--
You received this message because you are subscribed to the Google
Groups "pinnacle3-users" group.
To post to this group, send email to pinnacl...@googlegroups.com
To subscribe to this group, send email to
pinnacle3-us...@googlegroups.com
To unsubscribe from this group, send email to
pinnacle3-use...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pinnacle3-users?hl=en

---
You received this message because you are subscribed to the Google Groups "pinnacle3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pinnacle3-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
                                                                                                                                                                                   

Dipl.-Ing. Bjørne Riis
Medizinphysik-Experte


MGZ im Hochschulstadtteil
Paul Ehrlich Straße 1-3
23562 Lübeck
Tel +49 (451) 889 119 042
Fax +49 (451) 889 119 056
b.r...@curavid.de
www.curavid.de

Amtsgericht Kiel: PR 284 KI
Strahlentherapeutisch-radiologische Partnerschaft Curavid Lübeck
Sitz der Gesellschaft: Paul-Ehrlich-Strasse 1-3, 23562 Lübeck

Zweigstellen in Lübeck:
MGZ im Hochschulstadtteil
FAZ in den Sana Kliniken

Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen, kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen.Jede unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig oder teilweise, ist unzulässig.

Aled Parry

unread,
Feb 14, 2018, 12:18:40 PM2/14/18
to pinnacle3-users
Hi,

I did that, and I have got it working now. Looks like it didn't have execute permissions to run the script.

Thanks for your help

Aled
Reply all
Reply to author
Forward
0 new messages