DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-04-25, 11:41

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Printing Annotations
PostPosted: Wed, 2008-07-23, 21:53 
Offline

Joined: Wed, 2008-07-23, 17:26
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2008-07-24, 08:42 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
Location: Oldenburg, Germany
Quote:
How can i change the font and increase the font size
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.

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.


Top
 Profile  
 
PostPosted: Thu, 2008-07-24, 09:35 
Offline

Joined: Wed, 2008-07-23, 17:26
Posts: 2
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”


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2008-07-24, 13:43 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
Location: Oldenburg, Germany
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group