Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2009, 02:56 PM
Junior Member
 
Join Date: Jan 2009
Posts: 1
Question Change paperwidth and height to a custom value

Hello,

i'm using a pdf-printer and i want to set a custom papersize. I tried it like this:

Code:
var fp:FlashPlayer=new FlashPlayer();
fp.showPrintDlg=false;
var printprop = new Object;
printprop.pageHeight = 100;
printprop.pageWidth = 100;
fp.printerProperties = printprop;
				
var pj:PrintJob=new PrintJob();
pj.start();
pj.addPage(slider);
pj.send();
but it didn't work. Is there any way to do this?

Best wishes,

Peter
Reply With Quote
  #2 (permalink)  
Old 01-18-2009, 12:59 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

Please try the "fp.printerProperties.paperSize" property. You can get more details of it from the help page of the "Printer.paperSize" property in the help file.
Reply With Quote
Reply

Was this information helpful?    Yes No



Tags
custom, page, paper, printing, size

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.