Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Print to File Name Parameter

(0) ShareShare
ReportReport
Posted on by

Hello, i'm looking for a way to name the output file in the Print To File Parameter Window.  Do you a way to do this?  Dynamics SL7

Thanks

Charles

*This post is locked for comments

  • Suggested answer
    Apps Mexico Profile Picture
    1,090 on at
    RE: Print to File Name Parameter

    This is the code to export a report to a file.

    Call ApplSetParmValue(PRMSECTION_VBRDT, "", "03CKI/RUN")

    Call ApplSetParmValue(PRMSECTION_VBRDT, "", "03CKI/FORMAT")

    Call ApplSetParmValue(PRMSECTION_VBRDT, "", "apcheck.curycheckamt>0/WHERE")

    Call ApplSetParmValue(PRMSECTION_VBRDT, "", "c:\COPIES.pdf/EXPFILENAME")

    Call ApplSetParmValue(PRMSECTION_VBRDT, "", "0/EXPFORMAT")

    Call CallApplicWait("ROI", "")

    0/EXPFORMAT = PDF format

    A/EXPFORMAT = RTF Format

    B/EXPFORMAT = CSV Format

    w/EXPFORMAT = DOC Format

    X/EXPFORMAT = XML Format

    Juan Carlos Navarro Ramírez | Developer | Apps Mexico | ( + 52 (33) 3954-8269 | › jnavarro@appsmexico.mx

  • Community Member Profile Picture
    on at
    RE: Print to File Name Parameter

    Hi Charles,

    If you are in the screen where you want to print to a file,  chose Printer Options. Select print to file and then the Setup tab.  Here you can assign the file name, location and file type. Also, you can select to have the file auto opened with associated .application

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,069 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans