Print to PDF

Richmond Mathewson richmondmathewson at gmail.com
Wed Jan 3 16:25:41 EST 2018


Dunno where all the spaces have gone: I copy-pasted from the 8.1.8 
scriptEditor om Mac OS 10.7.5

Richmond.

On 3/1/2018 11:00 pm, Tom Glod via use-livecode wrote:
> let me look up my pdf printing code.....why are all the spaces gone from
> your code?
>
> On Wed, Jan 3, 2018 at 3:10 PM, Richmond Mathewson via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> I wonder why this doesn't work:
>>
>> onmouseUp
>>
>> setthelockScreentotrue
>>
>> settheformatForPrintingofthis stack totrue
>>
>> openprinting topdf "./sampleOutput"
>>
>> setthewidthoffld "fff" tothewidthofstack "PDF Printer"
>>
>> settheheightoffld "fff" totheheightofstack "PDF Printer"
>>
>> printcard 1
>>
>> setthewidthoffld "fff" to450
>>
>> settheheightoffld "fff" to560
>>
>> setthetopoffld "fff" to20
>>
>> settheleftoffld "fff" to20
>>
>> closeprinting
>>
>> setthelockScreentofalse
>>
>> endmouseUp
>>
>>
>> Richmond.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list