Locked

use ppapi,can not print,very serious bug

New Here ,
Feb 15, 2019 Feb 15, 2019

Copy link to clipboard

Copied

var sprite:Sprite = new Sprite();
var tf:TextField = new TextField();
tf.text="中文123";
sprite.addChild(tf);

var job:PrintJob = new PrintJob();

if (print.start())
{
job.addPage(sprite);
job.send();
}

when use ppapi,npapi,text can not print,very serious bug!!!

flash.text.engine.TextLine,flash.text.engine.TextLine

has the same problem.

Please help me,help me!

Views

430

Likes

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
Most Valuable Participant ,
Feb 15, 2019 Feb 15, 2019

Copy link to clipboard

Copied

Versions, browsers, platforms?

Define "can not print"?

Likes

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 ,
Feb 15, 2019 Feb 15, 2019

Copy link to clipboard

Copied

WIN10,chrome v72,Adobe flash player 32.0.0.142,

var sprite:Sprite = new Sprite();
var tf:TextField = new TextField();
tf.text="abcd123";
sprite.addChild(tf);

var job:PrintJob = new PrintJob();

if (job.start())
{
job.addPage(sprite);
job.send();
}

textfield print blank,line can be print,but textfiled become blank.

IE work correctly. This bug appear long time ago,begin at ppapi v24.

Likes

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 ,
Feb 15, 2019 Feb 15, 2019

Copy link to clipboard

Copied

You can us chrome login my system,test anyone print work.

[Personal Information banned]

another server

[Personal Information banned]

And then use IE login,do anyone print work,to compare previous result.

Likes

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
Adobe Employee ,
Feb 19, 2019 Feb 19, 2019

Copy link to clipboard

Copied

Printing support in Chrome (via PPAPI) is very limited.  The PPAPI specification is frozen, and Google's agenda is to deprecate Flash support in the browser.  You're welcome to file a bug, but it's a browser limitation, and unlikely to get fixed.


My recommendation, given that it's 2019 and we're rapidly approaching the end of the Flash lifecycle, would be to render your output in HTML and JavaScript and print from there.  You could use ExternalInterface to invoke that activity from Flash, and JavaScript libraries targeting HTML5 Canvas for rendering complex graphics, barcodes, etc, or maybe assemble a ByteArray of what you want to print and push that over to JavaScript for rendering as an image.

Likes

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 ,
Feb 21, 2019 Feb 21, 2019

Copy link to clipboard

Copied

I don't agree with you because the line can be printed.

I suggest you test again. I think it's FLASH's BUG itself, not chrome's limitation.

Likes

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
Most Valuable Participant ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You have less than one year to find a complete alternative to Flash, so why are you worrying about this detail?

Likes

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
Advisor ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

@

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

Who are you?

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

Pig

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

what platform can instead RIA? SLIVERLIGHT?

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You mean FLASH will stop updating by 2020?

Likes

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 ,
Feb 21, 2019 Feb 21, 2019

Copy link to clipboard

Copied

I use ppapi v11.6 instead of v32.0.0.142 to test,Text can be printed.

360浏览器旧版下载_360浏览器历史版本列表_天极下载

360浏览器 7.1.1.550

I use this explorer to tested.

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

I want to ask you,why line can be printed?

Can you give me a satisfactory answer?

Please help me,please!

Likes

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
Advisor ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

The right answer was Jeromie's comment.

as Flash PPAPI is a chrome builtin API so you should contact Chrome google developers about your issue.

Likes

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
Most Valuable Participant ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You're welcome. Silverlight ceased development in 2013.  I believe that to have the smallest chance of this all happening again, HTML5 is the way to go, even if it limits inventiveness.

Likes

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
Advisor ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

HTML5 never been a substitute of Flash, it's HTML5 + JAVASCRIPT

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You fools, if you use FLASH to develop a set of ERP, you will earn more than SAP.

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

HTML5 can developing RIA management system, such as ERP System?You have a dream!!!!!

HTML5 can print account book to printer directly? No,it is Impossible!

Even if you stop developing, our system will use FLASH until the WINDOWST system does not exist.

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You fools, if you use FLASH to develop a set of ERP, you will earn more than SAP.

Likes

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
Most Valuable Participant ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

Flash will go away by 2020. Some browser makers have an earlier target. Adobe have no say in this now, the browser makers are blocking it one by one. Already they are making it difficult. Still think there is a fortune to be made?

Likes

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
Advisor ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

Life is made of miracles, why not on computers?

Likes

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 ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

FLASH stopped updating in 2020. Will the download server be turned off?

Likes

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
Most Valuable Participant ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

Miracles can happen. When they do I plan to seize them. But a plan to rely on them might prove hard to justify to stockholders.

Likes

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
Most Valuable Participant ,
Feb 23, 2019 Feb 23, 2019

Copy link to clipboard

Copied

Whether the download server is turned off is an interesting question. But would you keep running an old version if security problems are no longer fixed? Every hacker in the world will see you and your customers as an easy target.

But it is almost unimportant (for the developer making choices) whether the server is turned off because all major browsers will block Flash before the end. Most major browsers now auto update so users will simply not be able to choose to use Flash. 

Likes

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