PassThru Printing with Embedded Spaces

Kenneth Brody kenbrody at spamcop.net
Sat Apr 4 09:20:41 PDT 2015


On 4/4/2015 11:34 AM, Kenneth Brody wrote:
> On 4/4/2015 1:47 AM, Stanley - stanlyn.com wrote:
>> Hi,
>>
>> I'm having trouble passing a string with embedded spaces to Anzio's pass
>> thru printing.  I've talked with Bob and he says he isn't a filepro coder,
>> so I'm asking here.
> [...]
>> Actual path: "D:/AP_Images/AP/F/FILEP-01 - FilePro Mailing List/123456.pdf"
> [...]
>> show raw chr("28")&"printer " &pn &wz  &chr("29")
>>
>> Now pass this to Anzio.
> [...]
>
> What would be the exact string that Anzio needs in order to generate that path?
>
>  From there, we can tell you what filePro command you need.

Bob said:

> It needs:
>    chr(28)
> followed by
>    printer "pdf://D:/AP_Images/AP/F/FILEP-01 - FilePro Mailing List/123456.pdf"
> followed by
>    chr(29)
>
> The quotes are necessary. There should be no linefeeds or carriage returns.

So the answer is simple.  Just surround the filename with CHR("34"):

     show raw chr("28") & "printer " & chr("34") & filename &
          chr("34") & chr("29")


-- 
Kenneth Brody


More information about the Filepro-list mailing list