• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adobe Embed Api Setting print options

New Here ,
Sep 13, 2021 Sep 13, 2021

Copy link to clipboard

Copied

Is there any way to control print setup options from this API? We have this need to route the output of our printed pages to specific printers, based on users settings and also set the page size that should be selected. This is a actually a very common and popular scenario in many vertical industries, but somehow all PDF viewer systems(in Chrome, Edge, Firefox), have issue with. I was hoping that this API can offer something in that regard. The scenario is very simple: Different PDF files are generated on the server side, depending on the form, the proper page size and the proper printer, must be selected. Once the user clicks on the print option, the print dialog must be initialized with suggested settings. It would be great if you could bypass the print dialog, but I believe that would be a security violation from browser's point of view.

TOPICS
PDF Embed API

Views

269

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 13, 2021 Sep 13, 2021

Copy link to clipboard

Copied

It sounds like what you need is a print server that can do the printing based on the parameters for each form. That would let you take the responsibility of printing off the browser and just use Embed API to get the file to the server. That would also bypass the print dialog. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 13, 2021 Sep 13, 2021

Copy link to clipboard

Copied

Thanks Joel. As I mentioned the pdf files are already generated on the server and we know the page size and the printer that they should go to. However, the UI is a page on a browser where the user can preview the form and then print it if they want. If they issue the print command from the browser, we want the right info to be populated in the print dialog box.

Does this Adobe Embed API provide a feature to initialize print parameters? 

thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

LATEST

Adobe PDF Embed API allows you to embed a PDF viewer in your web applications with only a few lines of code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources