Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Customizing your Prescriptions

Last post 10-16-2008, 9:08 PM by Jason. 52 replies.
Page 2 of 4 (53 items)   < Previous 1 2 3 4 Next >
Sort Posts: Previous Next
  •  12-12-2006, 4:03 PM 1833 in reply to 1832

    Re: Customizing your Prescriptions

    Try beta-8

    I was able to position the cat just on the signature line using this command, just before the showpage command.

    at 210x-450 eps %/c/texmf/demofig.eps

    Since the eps wants to position the image high on the page, I used a negative y offset to bring it down to where I wanted it.

     

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  12-13-2006, 4:22 PM 1834 in reply to 1832

    Re: Customizing your Prescriptions

    Getting different results with different .eps files.


    (#1) my image  rxheader.eps  - greyscale

    I can place it where I want it.  I have been trying it on the bottom.   

    Problem #1 - it prints two pages, no matter what I do.  regardless of where I put it on the page (end, middle).  I think it is printing "too far to the right" and the second page is created by the image being too wide, not too long.  It seems to mess up GSView as well.  When it prints two pages, I can move to the second page (which is blank) but when I am on the second page, I can't move back to the first.

    Problem #2 - a smaller image doesnt print smaller, something is resizing it to fit the entire page width.

     

    (#2)  with file: tiger.eps  ( a coloured tiger picture ) 

    GSview 4.8 2006-02-25
    GPL Ghostscript 8.54 (2006-05-17)
    Copyright (C) 2006 artofcode LLC, Benicia, CA.  All rights reserved.
    This software comes with NO WARRANTY: see the file PUBLIC for details.
    Displaying non DSC file C:/EMR/Client/www/script.ps
    Loading NimbusRomNo9L-MediItal font from C:\Program Files\gs\fonts/n021024l.pfb... 2398496 1043017 1908008 602065 2 done.
    Loading NimbusRomNo9L-Regu font from C:\Program Files\gs\fonts/n021003l.pfb... 2495568 1180005 1928104 610647 2 done.
    Loading NimbusRomNo9L-Medi font from C:\Program Files\gs\fonts/n021004l.pfb... 2632832 1315529 1928104 615342 2 done.
    Error: /syntaxerror in -file-
    Operand stack:

    Execution stack:
       %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
    Dictionary stack:
       --dict:1130/1686(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--
    Current allocation mode is local

    --- Begin offending input ---
    0 moveto (Generic Substitution Permitted) show

    0 40 moveto

    gsave

    0   40  translate 

    ‰PNG

    

       

    IHDR   ¿   Ç   Çùý   tRNS ÿ ÿ ÿ7X}   bKGD ÿ ÿ ÿ ½§“    IDATxœì}y@gþ÷33IfrgB h@ Rñ@Á «6Ô¶–V©ØËª»íb×j»Ýv+­=¶»Õ…nw{hÝÊÖ­Ö¶¶âjë]‰'E%T@„(H€pM¹óþñàrv»ÛÝ÷÷ù+yf2W>ó½Ÿïƒx½^ðÀÎíÛ>ûû'-͍”Åëv˜­³Õ)dãL hT÷Ô/—=úäâPGP«ÕZ­¶ìà¾æ›7¯6Üs.!-äóò„‘É‹–,ÍÈÈ Iò_K?¼ÿ‡[8|p߃³²Fˆ°™Cyt:NùbÁSÝÝÝ^¯·¬¬ìý÷ß_˜÷P¬Tò#ÿ”(±0wÎ=eeeÿéG2þ=ÞÃ÷Íž<.1V|gÿt’°Y?’.¡@°˜Ó²&ž?þ?ý‚ñþ¬¹~ÿÒ¯Kw~{]ßÞçô ºsª¯5؊ː‰X©R\&d j v½ÉÙltøí“õÇwÞYüË_ýpÇøÿ‘=:îÝ×V//¯m± eÿÌÎÊ¥”0ÛÜk6:ô&' @ornÑPðs(¤JqŽ)¥8ŸÀàH­Á)¸³*…Ÿ—.ÌLà  4MV½ÑYc°×l5Ü!^*.|íõåÏ¿8¬ûýéð¿Ïžo¿ýö›o¾‰Dö~çqÚ½êvPV§ÅæÖqR¥x^º0/]ä7^¸§E]×ã·§*™¯JæÉD!5ZÁ¦¾jQ×õÒH&b-™DªRø|…#»§²Ñªi´–ÕY,6wŒDøîûë-Z4¬ëµZ½õ%ÇËHHoÞú¥B¡úoÿ—ÙsìØ±ûï›c³ûkƒÌN¦œ³4³ßH2ÛÜ…{Z5MVøuÉ$r~ºÐb÷Ôlf›Çbs×ÜRvM•2!3UŠû²jg•1¨ X^ºp~º0N8À„¯5Ø¿¹`<tµ'=Mùý‘?Æ;Óét/\ Ñž§Gb¢[ C?Âÿ,{~óüŠ×}ü\•Ì[‘-‘‰X›5ÝëË;éñT)®7:-öA¬(?ád¶¹×•wîª2Ý9/]”—.L•⾃»ç‹³Ôþz×ëo¼ugŠL«ÕΘ‘!¹çž{®\¹ræÌ8ÞÐÐ0tñó¿
    --- End offending input ---
    file offset = 3072
    gsapi_run_string_continue returns -101

     

     

     

     

     

     


    Developer
  •  12-13-2006, 4:36 PM 1835 in reply to 1804

    Re: Customizing your Prescriptions

    I am using this program to make the .eps files. 

    http://www.pdflib.com/download/free-software/jpeg2ps/

     

    FYI, GSView doesn't open the tiger.eps.

    But my Graphics Converter Pro program does. 


    Developer
  •  12-13-2006, 4:38 PM 1836 in reply to 1835

    Re: Customizing your Prescriptions

    You know about the yellow box in the Preview Window ?


    Developer
  •  12-13-2006, 4:49 PM 1837 in reply to 1836

    Re: Customizing your Prescriptions

    The yellow box is supposed to indicate where the image is to go .. but really it depends on where the EPS file says it goes.

    Why don't you post the first few lines of the EPS file so we can look at the settings.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  12-13-2006, 5:26 PM 1838 in reply to 1837

    Re: Customizing your Prescriptions

    Try beta-9 which wraps some walls around the eps file.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  12-13-2006, 10:39 PM 1839 in reply to 1838

    Re: Customizing your Prescriptions

    Beta 9 worked well.

    GSview didnt print 2 pages, just the one :)

    Attached is a PDFsearchable scanned copy of it.

     


    Developer
    Filed under: ,
  •  12-13-2006, 11:17 PM 1840 in reply to 1839

    Re: Customizing your Prescriptions

    My Signature.  Early alpha version.


    Developer
  •  12-13-2006, 11:19 PM 1841 in reply to 1840

    Re: Customizing your Prescriptions

    %!PS-Adobe-3.0 EPSF-3.0
    %%Creator: jpeg2ps V1.9 by Thomas Merz
    %%Title: rxheader.jpg
    %%CreationDate: Wed Dec 13 16:39:44 2006
    %%BoundingBox: 20 20 592 115
    %%DocumentData: Clean7Bit
    %%LanguageLevel: 2
    %%EndComments
    %%BeginProlog
    %%EndProlog
    %%Page: 1 1
    /languagelevel where {pop languagelevel 2 lt}{true} ifelse {
      (JPEG file 'rxheader.jpg' needs PostScript Level 2!\n) dup print flush
      /Helvetica findfont 20 scalefont setfont 100 100 moveto show showpage stop
    } if
    save
    /RawData currentfile /ASCII85Decode filter def
    /Data RawData << >> /DCTDecode filter def
    20 20 translate
    572.00 94.41 scale
    /DeviceRGB setcolorspace
    { << /ImageType 1
         /Width 618
         /Height 102
         /ImageMatrix [ 618 0 0 -102 0 102 ]
         /DataSource Data
         /BitsPerComponent 8
         /Decode [0 1 0 1 0 1]
      >> image
      Data closefile
      RawData flushfile
      showpage
      restore
    } exec
    s4IA0!"_al8O`[\!<E1.!+5d,s4[N@!!ic5#6k>;#6tJ?#m^kH'FbHY$Odmc'+Yc
    t)BU"@)B9_>,VCGe+tOrY*%3`p/2/e81c-:%3B]>W4>&EH1B6)/6NIK"#n.1M(_$
    ok1*IV\1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,:U?1,
    :U?1,AmF!"fJ:Acc]L!?qLF&HMtG!WU(<*rl9A"T\W)!<E3$z!!!!"!WrQ/"pYD?
    $4HmP!4<@<!W`B*!X&T/"U"r.!!.KK!WrE*&Hrdj0gQ!W;.0\RE>10ZOeE%*6F"?
    A;UOtZ1LbBV#mqFa(`=5<-7:2j.Ps"@2`NfY6UX@47n?3D;cHat='/U/@q9._B4u
    !oF*)PJGBeCZK7nr5LPUeEP*;,qQC!u,R\HRQV5C/hWN*81['d?O\@K2f_o0O6a2
    lBFdaQ^rf%8R-g>V&OjQ5OekiqC&o(2MHp@n@XqZ"J6*ru?D!<E3%!<E3%!<<*"!
    !!!"!WrQ/"pYD?$4HmP!4<C=!W`?*"9Sc3"U"r.!<RHF!<N?8"9fr'"qj4!#@VTc
    +u4]T'LIqUZ,$_k1K*]W@WKj'(*k`q-1Mcg)&ahL-n-W'2E*TU3^Z;(7Rp!@8lJ\
    h<``C+>%;)SAnPdkC3+K>G'A1VH@gd&K

     

    -=-=-=-=-=-=-=-=-=-

    pagesize A4
    font Times-BoldItalic 22
    linewidth 1
    color (blue)
    at 190x750 "Dr. Imthe Demodoc, MD"
    color (black)
    font Times-Roman 12
    newpath at 75x725 line1
    at 75x715 line2
    at 75x705 line3
    at 440x725 "Ph: "
    at 460x725 ph
    at 440x710 "Fx: "
    at 460x710 fx
    at 75x680 "Date:"  font Times-Bold at 105x680 today
    font Times-Roman 14
    at 75x655 patient-table
    at 360x660 "Dob:" at 400x660 dob
    newpath at 75x740 line 530x740
    newpath at 75x700 line 530x700
    font Times-Roman 12
    at 75x580 prescription 30 60 250x600
    font Times-Roman 12
    at 140x150 "Signature:"
    at 210x150 line 380x150
    at 390x150 "Registration: "
    at 455x150 medical-registration
    at 400x190 "Generic Substitution Permitted"
    at 0x35 eps %/c/EMR/Client/rxheader.eps
    showpage

     


    Developer
  •  12-13-2006, 11:36 PM 1843 in reply to 1841

    Re: Customizing your Prescriptions

    Many years ago, I used to add seasonal themes ( images ) to my letters a la Google.

    Perhaps I can do that again!

    I'm going to now see if I can add a scaling command so that the eps can be rescaled on the fly. 


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  01-21-2007, 10:51 PM 2386 in reply to 1835

    Re: Customizing your Prescriptions

    Jason:

    I am using this program to make the .eps files. 

    http://www.pdflib.com/download/free-software/jpeg2ps/

    That's the one !

     


    Developer
  •  01-22-2007, 9:31 PM 2435 in reply to 2386

    Re: Customizing your Prescriptions

    I wonder if writing the prescription using a bar code font is allowable!

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  01-22-2007, 9:42 PM 2436 in reply to 2435

    Re: Customizing your Prescriptions

    I'm thinking NO Smile

     


    Developer
  •  08-05-2008, 7:08 PM 6413 in reply to 1803

    Re: Customizing your Prescriptions

    I am trying to add a line to my prescriptions:

    PharmacyName, City.

    I know the variable names are:

    at 330x680 (pharmanamefld/text) (pharmacityfld/text)

    Is it possible to add these fields as follows:

    [pharmacy name][comma][space][pharmacy city][period]

    ?

     

     


    Developer
  •  08-05-2008, 8:07 PM 6414 in reply to 6413

    Re: Customizing your Prescriptions

    Try

    at 330x680 ( rejoin [ trim pharmanamefld/text ", " trim pharmacityfld/text "." ])


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
Page 2 of 4 (53 items)   < Previous 1 2 3 4 Next >
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