Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

automatically set filename to print a layout to a .pdf file


This topic is 6810 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi there;

can anyone help me with a maybe simple question.

I'd like to print a layout to a .pdf file and have the filename i.e. "customerID & date/time".

Thanks Rick

Posted

When scripting the saving of records as PDF you can specify the output file as a script variable.

So before the Save Record As PDF step put a Set Variable step and set that variable, $path in this example, to the path of the PDF including the name.

For example, "filewin:/C:/" & name_Record

Then type "$path" into the Specify Output File dialog box in the Save Record As PDF step.

Posted

Rick -

I am unfamiliar with the syntax you used(file://c:/). What is the significance of using that syntax?

I am familiar with "filewin://" syntax for specifying a path to a Windows share, but would be very interested in what your syntax does.

This topic is 6810 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.