Error message trying to preview/print odt files

Hi,

 

I am trying to get odt files to print such as vaccinations or desexing certificates - I have not tested this part before

 

However when I click on either vaccination or desexing certificate in the worklist screens rather than a print box I get the following error

 

Create Process: soffice.exe - headless - accept=socket, host=localhost, port 8100; urp; error=2.

rather than the print box coming up.

I notice in the templates the openoffice icon has a adobe pdf icon next to it. Is this correct, any particular vintage acrobat needed.

I started off with openofficeorg 2.1 by mistake but have changed to 2.4 (altered the path as well) but still get same error.

Any ideas.

 

(windows 2000 platform, now upgraded to 1.22b openvpms but problem before upgrade)

 

Thanks Geoff

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

RE: Error message trying to preview/print odt files

Hi Geoff,

Typically this error occurs when the application cannot start the open office application to do the merge and usualy this is due to one or both of the following reasons.

1. The openoffice program path is not setup in the path environmental variable so the application cannot find soffice.exe. Also remmeber to restart Tomcat if you should change the path.

2. The openoffice program will be started as the user who starts the Tomcat service. If the default "Local Service" user is not changed then soffice will try and start but in the background will be caught at the registration screen which you will not see. We typically create a special openvpms user with administrative priveleges and log in as this user and run open office up and complete the registration process. We then set the Tomcat service to start as this user.

As of version 1.2 Open Office 2.4 and all previous versions back to 2.1 are compatible.

Also the pdf in the templates is just to allow users to view the template in pdf format. It will use the background open office process to do the conversion.

Cheers Tony

RE: Error message trying to preview/print odt files

Hi Tony,

Sorry think we tried to reply at same moment. I have kind of figured it out kind of. Oddly by eventually logging off win 2000 itself and logging in as openvpms/openvpms it seems to have have sorted itself. I can now log into win 2000 as I normally do and it still works. I note that the whole way worklist behaved yesterday has changed and now under patient I end up with a list of forms that I can print. Still a little uncertain of where I can print forms from as not the same as appeared yesterday.

Perhaps I need to be careful of how I am logged into windows 2000 when updating or perhaps it was openofficeorg playing games.

1.22 B looks good lots of changes implemented.

Thanks Geoff

 

RE: Re: RE: Error message

Hi Geoff,

Glad you sorted out the issue.

There are a number of ways to attach and print forms.

As you have found already when you check-in a patient from a schedule you can select a form to print from a list. This form will be printed and can also be found in the patients document list in Medical Records.

If you bill a product with attached documents these documents will automatically be attached to the patient and can be found on the Documents tab in Medical Records. They are not automaticaly printed though.

You can also manually add as many other Forms or Letters as you want while editing the visit or on the Documents tab.

Now printing forms has some nice features. Of course you can print them directly from the Documents tab .. just select and hit print. The nice feature is when checking out a patient from a worklist or schedule it will automatically list any documents that have not been printed (each document has a printed flag so it knows if it has been printed yet or not) and allow you to print them all at once. This includes invoices, receipts, forms, letters etc. You also have an option to select the ones you want to print ...

Cheers Tony

is there any other way

Does there have to be a user named openvpms with admin provlieges for this to work? Even a small vet practice I am sure if they have any kind of IT dept, even if it is just one guy running the show isn't going to allow a user openvpms with admin prives on their servers?

Syndicate content