Quando mando imprimir um texto, a impressão Fica com fundo cinza.( Área do Sprite )
Alguém sabe como resolver?
O cod:
var container:Sprite = new Sprite();
var tField:TextField = new TextField();
tField.wordWrap=true;
tField.width=150;
tField.textColor = 0X000000;
tField.autoSize = TextFieldAutoSize.LEFT;
tField.background = false;
tField.text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
container.addChild(tField);
var options: PrintJobOptions = new PrintJobOptions ();
Pergunta
João Carlos C.
Saudações!!!
Quando mando imprimir um texto, a impressão Fica com fundo cinza.( Área do Sprite )
Alguém sabe como resolver?
O cod:
var container:Sprite = new Sprite();
var tField:TextField = new TextField();
tField.wordWrap=true;
tField.width=150;
tField.textColor = 0X000000;
tField.autoSize = TextFieldAutoSize.LEFT;
tField.background = false;
tField.text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
container.addChild(tField);
var options: PrintJobOptions = new PrintJobOptions ();
options.printAsBitmap = false;
impressao = new PrintJob();
impressao.start(); impressao.addPage(container, null,options)
impressao.send();
Desde já agradeço.
Abraços.
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.