Hi
i have a sony df 550 printer and im using tcpprt
i have two problems
1. I can only print with annotations using customs annotations in the cfg file.
2. The annotations comes up really small and they are not readable.
How can i change the font and increase the font size.
P.S
printing with other software like eFilm, the annotations are fine .
Thank you
Printing Annotations
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1511
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
You cannot - at least not on the client side. The print client only sends a single string to the server called the "Annotation Display Format ID". The print server selects the number, location and size of the annotations based on that string, which is totally proprietary and typically documented in the printer's DICOM conformance statement.How can i change the font and increase the font size
Most applications like eFilm do not use the DICOM Basic Annotation Box SOP Class at all - they render all text into the image bitmap on client side and send the pre-formatted bitmap to the printer.
While DCMPRINT will allow you to send such pre-formatted images to the printer, it does not contain any code to do the text rendering into a bitmap. You would have to use a library such as the Freetype library to do this, and it will involve some application programming, i.e. it will not work with the default "tcpprt" binary, which is mostly a demonstrator of the underlying library functionality.
How can i change the Annotation Display Format ID
How can i change the Annotation Display Format ID?
this is the dicom conformance
Annotation
Display Format ID
(2010,0030) U/U CS “FORMAT6L”
“FORMAT6M”
“FORMAT6S”
“FORMAT4L”
“FORMAT4M”
“FORMAT4S”
“FORMAT2L”
“FORMAT2M”
“FORMAT2S”
this is the dicom conformance
Annotation
Display Format ID
(2010,0030) U/U CS “FORMAT6L”
“FORMAT6M”
“FORMAT6S”
“FORMAT4L”
“FORMAT4M”
“FORMAT4S”
“FORMAT2L”
“FORMAT2M”
“FORMAT2S”
-
- OFFIS DICOM Team
- Posts: 1511
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Annotation Display Format IDs can be defined in the configuration file with which tcpprt is run. See the example tcpprt.cfg provided with DCMPRINT.
There is a section named [[[ANNOTATIONS]]] where you have to define a subsection for each annotation layout (of the printer) you want to support. You can then define a default text for each annotation box for that format.
Furthermore, if you are using tcpprt with the --auto or -a command line option, for each --auto layout you can define the annotation display format ID to be used in the [[[CLIENT]]] section of the configuration file, in the [Page] subsection. Look for "Annotation =" in the sample configuration file.
There is a section named [[[ANNOTATIONS]]] where you have to define a subsection for each annotation layout (of the printer) you want to support. You can then define a default text for each annotation box for that format.
Furthermore, if you are using tcpprt with the --auto or -a command line option, for each --auto layout you can define the annotation display format ID to be used in the [[[CLIENT]]] section of the configuration file, in the [Page] subsection. Look for "Annotation =" in the sample configuration file.
Who is online
Users browsing this forum: No registered users and 0 guests