iReport Issues
I am having two issues with i-Reports. I am guessing they are a simple resolve; however, I cannot seem to be able to.
1) Most critical to me: getting prescription labels to print on my Dymo 330 labelwriter on Win 7 platform. Yes, I updated the drivers and made sure that the "test" mode worked so it does not seem to be a windows problem. I tried updating the template to the OpenVPMS software to no avail. And yes, I set the printer to the correct pointer in the VPMS software... Suggestions??? When I print out a label... it prints; however, the label is blank if that helps.
2) Granted the generic templates are fine; however, I would like to place my addy and phone # on them at the very least. I cannot seem to get a new text box to stick; however. The old text boxes I can overwrite with my local data; however, cannot input and upload the new data.
3) A minor issue is I would like to implement archetype fields into iReports... First thing is to get the first two issues resolved. I managed to link the database so I can see the archetypes available; however, implementing them seems to be another matter.
Best wishes,
Dr. Champlin
Re: iReport Issues
Closed: Issue #1 not being able to print labels via Dymo 330 was resolved by hooking it up to a network device.
Issue #2 and 3 still open.
Re: iReport Issues
Hi,
Re #2, I've had a similar problem in the past. For me, it was that iReport was not saving the .jrxml. You can check this using a diff utility (windiff perhaps). You would save a copy of the old .jrxml file, and then compare it to the one that you've edited to make sure that there are some meaningful changes in the .jrxml code. Also, are you updating the template in the Administration area of OVPMS?
Re #3, not all archetypes are available. There is some information here: http://www.openvpms.org/document-merging-with-open-office-writer... but you need to be sure that the field you're interested in is actually passed through to the report type in question. Can you state which fields and which report you're interested in producing?
Cheers, Paul
Re: iReport Issues
Thank you for the advice, I'll give that a try later on today:)
As far as the archetypes, just the practice name, address, and phone mainly (kind of simple) but not sure of the field names atm. You gave me an epiphany is I could copy the archetypes from the labels which are thankfully printing correctly. That would be a good start although the font would have to be adjusted.
Getting a rabies tag number in the field would be good and noticed that that was an archetype. I dunno if that is implemented yet. I would guess yes. Perhaps an "investigations" field. It is similar to microchipping so as another epiphany from your comment is I could see how that is implemented.
Thank you for the sounding board. Sometimes simple suggestions can help get the brain juices going.
I have been updating the templates... hard to tell which ones I have and haven't... I'll try reloading it.
Best wishes,
Don
Re: iReport Issues
Also BTW, there are basically three different types of reports here, OpenOffice, iReport with data pushed to it, and iReport with raw SQL queries. What I stated re #3 above really applies to the first and second ones. If you're doing an "on-demand' report (don't know the right name, but one run from the reports area in OVPMS), then you can write arbitrary SQL and get whatever you need from the DB.
The way that we handled address and phone information is to create a medium resolution .png file that would be the header for all documents. I placed this in the root of the server and refer to it in all the reports. This way if I need to change it, I just swap out the image file, and don't have to edit the reports (Not that we expect it to change frequently). This also allowed us to get a little fancy with it.
Cheers, Paul
Re: iReport Issues
ooooo. that is a clever idea to get a logo and some graphics into the reports! After all everyone is and likes to feel special and oatmeal reports look to businessy. Great start tho since every veterinary practice has their own style and feel about it and people like those special touches. Like for All Hallows Eve we put up cutouts (Tim Burton like) in the windows, people loved them, but a lot of odd fellows here and not a city practice at all.
Anyways, did a little research and found "Jasper Studio" which is made by Jasper iReports and is very user friendly unlike simply iReports. It is made by the same company and open source. It actually will do the little boxes etc lol so more of my cup of tea since I paint as well and am well versed in Corel products. I would highly recommend it for anyone installing or tweaking their reports. I'll post a sticky in the Implementation documentation. I know, I know, another program to download, but well worth it.
Another issue was that the reports were read / write only thanks to Windows 7 security setting (why the primary user doesn't get admin rights seems rather strange, but I suppose if cell phones worked here etc and mobility then it might be useful to prevent tampering.... although I could think of better things to do but c'est la vie. So something to check if you are having problems.
Thanks again,
Don
cc:// implementation documentation Paragraph 2-3