Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Is there any possibility to change the page size from letter to A4 to FIREFOX PDF VIEWER from javascript ?

  • 6 件の返信
  • 6 人がこの問題に困っています
  • 2 回表示
  • 最後の返信者: so_owy

more options

By default the page size is letter, and I need to change the size to A4 from code beyond, like javascript. Is there any posibility. Thank you

By default the page size is letter, and I need to change the size to A4 from code beyond, like javascript. Is there any posibility. Thank you

すべての返信 (6)

more options

I do not know the answer, but I am not even sure what it is that you are asking.

Are you talking about the display on your computer, or are you asking about the printouts.

Are you referring to pages generated by some arbitrary website and not something you are producing yourself ?

more options

I was asking about printouts. Let me explain you. I'm working on a web application that generates pdfs and you can print them directly from browser. But In Firefox there is a problem because . When I click the print button the print window open ( FIREFOX PDF VIEWER WINDOW) and if I print with default settings it prints the document on letter, because that's the default setting, and I need to print that on a A4. Or this is a setting for every with a printer that will have to made or I can set the default to A4 somehow ? Thank you and sorry for my English.

more options

I admit I do not know the answer, but I suspect that whilst you may define the pdf size you may not be able to change the user's print settings.

I would also point out that in practice individual users may have only one size of paper loaded in their printer. In Europe even in a commercial office it is probably almost universal to have A4 available but it is probably extremely rare for even printers with multiple size paper to include American/imperial letter/foolscap sizes.

You may get someone knowledgeable give you an answer here but there are possibly better places to ask. Try for instance

more options

Thank you.

more options

If you do ask elsewhere and get an answer resolving this post back here as the information may help others with the same problem.

more options

I will . Thanks