Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Southern California
    Posts
    6

    Unanswered: FilePro: printing system files

    Ok...to make a long question short, I need to know one of two things.

    1) in Processing are you able to print a system file along with a current record file. Ex

    I have this
    @keyQ
    if
    then: printer "| lp -dlp02"; pushkey "Fbill[entr][draw]"

    I would like this
    @keyQ
    if
    then: system "/appl/fp/dreport - -f msg -s msg -p "| lp -d lp02""

    (problem here is that the system doesnt accept nested quote marks and single quote marks are used for glitches [as you may know])

    I could also deal with this
    @keyQ
    if:
    then: printer "| lp -dlp02"; lp "/u/filepro/rts/out.blank"

    So i suppose my question is...anyone know of a way to request a system file such as /u/filepro/rts/out.blank in a define processing format?

    Please ask questions that may be unclear. i will do my best to answer them. Also Time is of the essence please.

    Thanks

  2. #2
    Join Date
    Dec 2004
    Posts
    3
    Quote Originally Posted by Psilucent
    Ok...to make a long question short, I need to know one of two things.

    1) in Processing are you able to print a system file along with a current record file. Ex

    I have this
    @keyQ
    if
    then: printer "| lp -dlp02"; pushkey "Fbill[entr][draw]"

    I would like this
    @keyQ
    if
    then: system "/appl/fp/dreport - -f msg -s msg -p "| lp -d lp02""

    (problem here is that the system doesnt accept nested quote marks and single quote marks are used for glitches [as you may know])
    I know that this answer is a bit late, but I just found it....

    The solution is to do this:

    then: system "/appl/fp/dreport - -f msg -s msg -p \"| lp -d lp02\""

    Notice that I used the '\' character to escape the double quote characters.

    For other perls of filePro wisdom, send a blank e-mail to my autoresponder at "filepro-FAQ@hvcomputer.com" and you will get the current filePro FAQ.

    Happy programming.
    -------
    Laura Brody

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •