Need a script to display print dialog
FrameMaker 2022. Should be simple, but I couldn't find an example.
I don't want to use File>Save as PDF. Some of our authors don't have the Adobe PDF printer and it errors out, and I've also had it hang sometimes.
I don't want to use Doc.SilentPrintDoc() b/c we don't always use the defaults, and also the selected printer might be Adobe PDF, Power PDF, Microsoft Print to PDF, and that might NOT be the default printer on the users system.
I thought Fcodes([FCodes.KbdPrint]); would at least bring up the menu, but it doesn't seem to.
Ideallly, what I want is to display the menu with the following settings:
- Page Range - All
- Do Not Skip Blank Pages
- Do Not Print to File
- Do Not Generate Acrobat Data
- User will select the correct printer
- Also - some of our documents use an odd paper size (8x5 inches). The documents should be printed at this size. I think the default menu picks this up from the document settings, and if not, I think it would need to be from the printer settings, but we can work around this if necessary.
Example attached:
