Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Client 210 betas

Last post 09-12-2007, 1:44 PM by Graham. 41 replies.
Page 3 of 3 (42 items)   < Previous 1 2 3
Sort Posts: Previous Next
  •  09-07-2007, 10:05 AM 4114 in reply to 4033

    Re: Client 210 betas

    Tried server based PDF creation, it worked.  However, the generated PDF does not include any heading.  Can I asign the letter template to the PDF and create the same results as PS viewer?
    Contributing
  •  09-07-2007, 2:20 PM 4115 in reply to 4114

    Re: Client 210 betas

    The client uses the template, composes the PS and sends that to the server to create the PDF.  It should be the same ... unless you're including an external resource such as a graphic.

    If that is the case, you need to make sure that the server has the same path to the graphic as the client ( eps file ).

    If that is not the case, would you post your letter template here so we can see what the problem is.

     

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-10-2007, 10:20 AM 4138 in reply to 4115

    Re: Client 210 betas

    Here is my template - the generated PDF starts at the consult part, missing all the headings:

    pagesize Letter
    font Times-Bold 14
    linewidth 1
    at 72x738 "Neurologist1, M.D."
    at 72x724 "Neurologist2, M.D."
    font Times-RomanItalic 10
    at 72x702 "Board Certified Neurologists"

    font Times-RomanItalic 9
    newpath at 72x684 "office 1 address"
    at 72x674 "office 2 address"
    at 72x664 "office 3 address"
    newpath at 75x698 line 540x698

    font Times-Roman 12
    at 72x630 Provider-Template

    font Times-Roman 12
    at 72x582 "Date of Visit:"  font Times-Bold at 145x582 consult-date-usa
    font Times-Roman 12
    at 72x570 "Re:" font Times-Bold at 100x570 Patient-Template

    font Times-Roman 11
    at 72x545 "Dear "
    at 97x545 Provider

    font Times-Roman 11 at 400x550 ""
    flow-translate 0x0
    flowbox 72x150 540x700 float 20
    flow-translate 0x0
    flowbox 72x150 540x720
    gonzo
    flow consult gonzo
    flow-translate 0x0
    flowbox 72x150 540x700 float 20

    showpage


    Contributing
  •  09-10-2007, 2:35 PM 4139 in reply to 4138

    Re: Client 210 betas

    There's a problem with your template .. if you look at the fax preview, you can see that the consult overwrites the header.

    Despite this, I did manage to get it to create the correct pdf.

    Try this version, which includes the diagnoses and medications:

    pagesize Letter
    font Times-Bold 14
    linewidth 1
    at 72x738 "Neurologist1, M.D."
    at 72x724 "Neurologist2, M.D."
    font Times-RomanItalic 10
    at 72x702 "Board Certified Neurologists"

    font Times-RomanItalic 9
    newpath at 72x684 "office 1 address"
    at 72x674 "office 2 address"
    at 72x664 "office 3 address"
    newpath at 75x698 line 540x698

    font Times-Roman 12
    at 72x630 Provider-Template

    font Times-Roman 12
    at 72x582 "Date of Visit:"  font Times-Bold at 145x582 consult-date-usa
    font Times-Roman 12
    at 72x570 "Re:" font Times-Bold at 100x570 Patient-Template

    font Times-Roman 11
    at 72x545 "Dear "
    at 97x545 Provider
    at 100x530 font Times-Bold "Diagnoses"
    at 300x530 "Medications"
    font Times-Roman 11 at 400x550 ""
    textbox 100x0 280x530
    flow diagnoses-table only
    textbox 300x0 570x530
    flow meds-table only

    font Times-Roman 11 at 400x550 ""
    flow-translate 0x0
    flowbox 72x150 540x700 float 20
    flow-translate 0x0
    flowbox 72x150 540x720
    gonzo
    flow consult gonzo
    flow-translate 0x0
    flowbox 72x150 540x700 float 20

    showpage

    or, try this one without the diagnoses/medications:

     

    pagesize Letter
    font Times-Bold 14
    linewidth 1
    at 72x738 "Neurologist1, M.D."
    at 72x724 "Neurologist2, M.D."
    font Times-RomanItalic 10
    at 72x702 "Board Certified Neurologists"

    font Times-RomanItalic 9
    newpath at 72x684 "office 1 address"
    at 72x674 "office 2 address"
    at 72x664 "office 3 address"
    newpath at 75x698 line 540x698

    font Times-Roman 12
    at 72x630 Provider-Template

    font Times-Roman 12
    at 72x582 "Date of Visit:"  font Times-Bold at 145x582 consult-date-usa
    font Times-Roman 12
    at 72x570 "Re:" font Times-Bold at 100x570 Patient-Template

    font Times-Roman 11
    at 72x545 "Dear "
    at 97x545 Provider
    font Times-Roman 11 at 400x550 ""
    flow-translate 0x0
    flowbox 72x150 540x500
    flow-translate 0x0
    flowbox 72x150 540x720
    gonzo
    flow consult gonzo
    flow-translate 0x0
    flowbox 72x150 540x700 float 20

    showpage

    Now, this is the offending line flowbox 72x150 540x700 float 20

    It says, to put the text in a text box which will flow in to the next text box.  Make the size of the text box 72,150 bottom left to 540,700 top right but reize the top margin to 20 points below the previous text box.  But there is no previous text box, and so, the consult starts near the top of the page ie. at 700 points from the bottom.

    In the first example, I have the diagnoses and medications text boxes, and so the consult resizes itself to below these.

    To fix your problem, I removed the float 20 so that the box is a fixed size, and changed the y offset.

     flowbox 72x150 540x500


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
    Filed under: ,
  •  09-11-2007, 12:07 PM 4146 in reply to 4139

    Re: Client 210 betas

    Graham:
    There's a problem with your template .. if you look at the fax preview, you can see that the consult overwrites the header.

    I see the overwrite  but PS viewer can still display and print correctly.

    Now, this is the offending line flowbox 72x150 540x700 float 20

    It says, to put the text in a text box which will flow in to the next text box.  Make the size of the text box 72,150 bottom left to 540,700 top right but reize the top margin to 20 points below the previous text box.  But there is no previous text box, and so, the consult starts near the top of the page ie. at 700 points from the bottom.

    In the first example, I have the diagnoses and medications text boxes, and so the consult resizes itself to below these.

    To fix your problem, I removed the float 20 so that the box is a fixed size, and changed the y offset.

     flowbox 72x150 540x500

    Is this the only line you changed?  I tried the fix, but still got the same result: fax/PS viewer printed out correctly but server PDF does not show the heading part. 


    Contributing
  •  09-11-2007, 1:31 PM 4147 in reply to 4146

    Re: Client 210 betas

    Hmm.  Very odd.

    Perhaps the gonzo.ps file on the server is corrupt?  Try deleting that.

    Does the default letter template print ok? 


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-11-2007, 3:56 PM 4148 in reply to 4147

    Re: Client 210 betas

    Did you try the second template I posted above which works for me?

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-11-2007, 3:56 PM 4149 in reply to 4147

    Re: Client 210 betas

    Graham:

    Perhaps the gonzo.ps file on the server is corrupt?  Try deleting that.

    This fixed the problem, thanks


    Contributing
  •  09-11-2007, 6:11 PM 4150 in reply to 4149

    Re: Client 210 betas

    Did you need to restart the synapse server, or did it just notice the file was missing and download it again?

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-12-2007, 8:52 AM 4153 in reply to 4150

    Re: Client 210 betas

    Graham:

    Did you need to restart the synapse server, or did it just notice the file was missing and download it again?

    I had to restart the server for it to download it again.

    Another thought: is it possible to select a template on the print dialog window?  If I am using postcript template and Fax or Server PDF, most options in print dialog window are not used.  But it would be nice to be able to use more than one template, for example, one addressed to the referring physician, one for other purposes (insurance use, etc).


    Contributing
  •  09-12-2007, 12:27 PM 4156 in reply to 4153

    Re: Client 210 betas

    Good idea.

    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  09-12-2007, 1:44 PM 4158 in reply to 4156

    Re: Client 210 betas

    The orginal idea was to create the options on the print dialog, and have them applied to the LaTeX template.  And this worked well.

    But now that I've moved away from using LaTeX as the formatting engine, as you say, a lot of the print dialog settings are no longer relevant. 

    I'll have a think on whether it is easier or not to change the print template on the fly or not. 


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
Page 3 of 3 (42 items)   < Previous 1 2 3
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer