Find Jobs
Hire Freelancers

Using mpdf in PHP, open print dialog box in a new tab

₹600 INR

クローズ
投稿日: 6年近く前

₹600 INR

完了時にお支払い
I am creating a report in PHP using mPDF Library. Till now the output is saved as a pdf file which I need to print out manually by opening the auto downloaded file. What I need is as soon as I click on Print button on my PHP Web page, mPDF should create the output and immediately print the document using default printer. I even donot need any intermediate dialog box that would again get a confirmation to print. Simply, clicking on PHP based web page button should send the print command to the default printer. I have tried the following code: $mpdf->SetJS('[login to view URL]();'); This solution comes up with two problems: 1. It still opens a dialog for print confirmation. 2. It opens the print preview and the dialog box in my current tab which means that on clicking print, I cannot get the same interface on which I was working before clicking Print. For that, I have to click on back button on the browser which is not a good solution. Another task is to launch the php project as a desktop application instead of running it from a browser.
プロジェクト ID: 16965280

プロジェクトについて

4個の提案
リモートプロジェクト
アクティブ 6年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に4人のフリーランサーが、平均₹888 INRで入札しています
ユーザーアバター
A proposal has not yet been provided
₹600 INR 1日以内
5.0 (44 レビュー)
4.8
4.8
ユーザーアバター
Hi, I'm Himanshu from The Highsense Technologies. we are expertise in developing such websites and applications as well as Softwares. we will help you to solve your issues regarding Printing. we send code for it! we hope to here you soon! thank you.
₹850 INR 2日以内
5.0 (1 レビュー)
0.0
0.0
ユーザーアバター
A proposal has not yet been provided
₹850 INR 10日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

INDIAのフラグ
Kurukshetra, India
4.9
21
お支払い方法確認済み
メンバー登録日:9月 8, 2015

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。