Can I programmatically change the printer paper size from ActionScript?

Hi,
I'm a newbie Flash/ActionSript developer and I have been searching for answers for a while with no luck. I wonder if I can get some pointers from this forum.
I'm trying to programmatically print a movie clip to 8.5" x 11" plain paper regardless of the current paper size setting in the printer. e.g if the user's printer is currently set to use paper size A4, can I change the setting to Letter (8.5" x 11") from ActionScript at runtime? I use PrintJob class for printing the movieclip.
According to the ActionScript online API spec ( http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context =LiveDocs_Parts&file=00002066.html), I can only READ the paper size setting after the call to PrintJob.start. I can't believe that we are not allowed to change the setting. Maybe I missed something here. Can somebody help me out?
Thanks in advance!

check your duplicate thread.
and, please don't cross-post.

Similar Messages

  • Can I programmatically change printer paper size from ActionScript?

    Hi,
    I'm a newbie Flash/ActionSript developer and I have been searching for answers for a while with no luck. I wonder if I can get some pointers from this forum.
    I'm trying to programmatically print a movie clip to 8.5" x 11" plain paper regardless of the current paper size setting in the printer. e.g if the user's printer is currently set to use paper size A4, can I change the setting to Letter (8.5" x 11") from ActionScript at runtime? I use PrintJob class for printing the movieclip.
    According to the ActionScript online API spec ( http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context =LiveDocs_Parts&file=00002066.html), I can only READ the paper size setting after the call to PrintJob.start. I can't believe that we are not allowed to change the setting. Maybe I missed something here. Can somebody help me out?
    Thanks in advance!

    you can't change the paper size used in client side printer.

  • How do I change the default paper size from "Letter" to "A4 "on an P1006 (Windows 7)

    I have just reformatted my computer (Window 7 Professional - 64 bits) computer and then re-installed my HP Laserjet P1006 (downloading the driver from HP website) Even though I have changed the settings EVERYWHERE to A4 format - including the measurements to show millimeters - and even though all settings indicate that the format has been changed correctly, printed documents still come out as if printed in Letter format.The only place in printer settings and preferences that I can find where it still says Letter is under in the "General" tab (right click the default printer > "Printer Properties") where it under the heading "Paper available" says "Letter".  And...I don't know where/how to change that setting. However on my second printer of the same model that I am using for another computer , the settings also show Letter in this place, and that computer can - despite that - still print in A4 format....so this may not be the problem. Can anyone PLEASE help !  

    Hi Gemini02 ! Thanks for trying to help, but that is not solving it.
     And actually, I found out how to resolve the problem already:
     1) Open up aq Word Doc + go to...  FILE > Options > Advance > Print
     2)  UN-tick the following item:   "Scale content for A4 or 8,5 x 11" paper sizes" + OK
     I know it doesn't make sense, but it works.
      / Hans

  • How do I change the default paper size from letter to A4 on an F2480 attached to a Windows 7 system?

    I have an F2480 attached to a Windows 7 machine.  I have used the Solution Center to check that I have the latest printer driver installed.  How do I get the software to understand that the paper loaded in the printer is A4 not letter, and always will be?  I found an earlier question about this on this board where DexterM suggested going in through Printing Preferences.  I have done that but it won't let me save A4 as the paper size for all future use.  Also in that conversation HPPooper suggests editing the Registry, but the keyword he references ("DsDriver") does not exist on my system.

    Hi bobellina,
    I did some testing and think I may have found a solution:
    1. Open Devices and Printers
    2. Right click the printer and select Printing Preferences
    3. Click on Features tab
    4. Click on Sizes and choose "More"
    5. Choose "Metric" or "English" at the top (depending on the size options you want available)
    6. Select the paper size you want as default, then click OK
    7. Click Apply, then OK on the remaining window
    8. Right click the printer again and select "Set as Default"
    This should make whatever paper size you select be "default" in whatever application you are printing from (unless the application has a default override). Paint and Notepad left the printer defaults, but Word 2010 overrode them.
    If I have helped in any way, just click the Kudos star on the left. Also, if your issue has been resolved, don't forget to select Accept as Solution

  • How do I change the default paper size in Firefox if Printer Properties does nothing?

    I print on different including a receipt printer with roll paper.
    I had to reset Firefox yesterday because of a bug, and then changed the Printer Properties to be able to print again in the right format on the receipt paper. But now everything I print from Firefox (even when I change the paper size to Letter on the Printer properties for the regular printer) is in the receipt paper format (long and narrow.) When I do Print Preview, I can see that the paper looks like the roll paper, even if I'm trying to print on letter size.
    I tried resetting both printers with about:config, I tried changing in the printer properties for both printers and nothing works.
    Is there a way to change the default paper size in Firefox?

    Hello,
    My understanding is that Firefox uses the global printer settings. I am not familiar with the Windows 8 interface, but can you change the printer settings in its Devices and Printers and see if it changes the default for Firefox as well?

  • How do I change the printed text size.

    How do I change the printed text size?  This happens on everything I print out.  The text is so small I can just about read it.  I use a magnifying glass.  Please help.  Thank you.

    This appears to help.  I have been dealing with system preferences which only offers limited help.  I recently upgraded from an older macbook, but now my macbook air text is so microscopic that it doesn't seem right.

  • How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    Please keep in mind that Aperture is not an enhanced iPhoto, it is a different application with a different philosophy and a different intended audience. If you approach it with that in mind you will have a lot less frustration as you learn Aperture.
    Aperture adds a layer of complexity that is not needed by many.  iPhoto is a very powerful application and fits the needs of many amateur photographers.
    As for your original issue, as I said I am surprised that iPhoto allows you do switch countries like that and am not surprised that Aperture doesn't. If this is something you really need to do working in Aperture but using iPhoto to order the prints is a good work around and will not be all that difficult to do once you get the hang of it.
    As for your new question, the books in iPhoto and Aperture are different enough that the code that created the book in iPhoto wouldn't work in Aperture. What happens when you import an iPhoto library into Aperture is that the images in the book are combined into an album in Aperture with the same name as the iPhoto book. You will need to re-create the book in Aperture uaing the images in this album.
    Hope this helps, post back if you have anymore questions.
    regards

  • How do I change the default paper size for printing?

    I am running Firefox 3.6.3. Recently, the default paper size for printing unexpectedly changed to a user-defined size of 3.00" x 4.57". It used to be letter size (8.5 x 11). The default paper size is 8.5 x 11 for everything else. I have tried changing the size in the preferences dialog box and then clicking "default", but after I close Firefox or if Firefox opens a new window, the default size switches back to 3.00" x 4.57". Does anyone know how to fix this?
    == This happened ==
    Every time Firefox opened
    == About 2 weeks ago

    In "mine" dutch firefox 3.6.12 there is no option to change paper-size see
    "about:config" Promise to be careful (and be!) Enter "print.postscript.paper_size" gives a empty screen
    "paper_size" gives a few results
    What about the numbers 4259872, 4784247 and what is the meaning of
    paper_size, paper_size_type , paper_size_unit

  • Can I Programmatically Change the Active Group on a Hypertrend in DSC?

    I would like to know how to programmatically change the active group of a hypertrend in Labview DSC.  I saw a link which said it can be done in Lookout.  But in the DSC module, the active group is read only.
    I know of a hard way to do it.  I could save the hypertrend settings as xmlSettings to a temporary file.  The active group is one of the settings.  I could then change the active group in this text file to point to the new group and then reload the settings.  But this is not a clean way of dong it.
    Anyone know if there is a easy way?
    Solved!
    Go to Solution.

    I found a way to do it but its not very clean.  I dont know why there is not a function to change the current group.
    Here is how I did it.

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

    Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    table.vi ‏33 KB

  • How can I programmatically change the fill color Settings of the Cwslide ActiveX Controls

    In design mode (Visual Studio 6.0),I want to programmatically change the fill color in properties of  cwslide  ActiveX Controls.what's the command?
    Attachments:
    cwslide.JPG ‏11 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • How can I programmatically change the colour of tab pages? If not, when?

    I have found that in LabVIEW 6.0.2 the "Dialog" tab control cannot be coloured, but the other type of tab control one can be coloured by the paintbrush tool. I cannot find any property node to programmtically set the colour of the enitre tab control or individual pages. When will these properties be available in LabVIEW?

    The dialog controls and indicators are designed
    specifically for use in dialog boxes. These controls inherit their color from the colors you set in Control Panel >> Display. Because of this you will not be able to programmatically change their color.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • How can I programmatically change the voltage range settings in a DAQ Assistant

    Hi,
    First post here.  
    I need to be able to change the voltage range properties of a daqmx DAQ Assistant based on user input.  My hardware, an SCXI-1102C does not allow changing this property on a running task, so I'd like to either set the analog input voltage range before the DAQ Assistant activates, or pause the DAQ Assistant immediately after it starts, set the values and then resume.
    I don't know how to edit the task ahead of time because the DAQ assistant creates the task when it runs, and there is no task before that.
    In the attached picture, I have a conditional section, set to run only if the while loop iteration is 0.  I take the task from the Daq assistant, send it to a stop task vi, set the property, and then send the task on to the start task vi. I can watch it run with the debug light on, and everything seems to work correctly, but on the second (and all the other) iteration of the loop, I read out AI.Max and it seems like the DAQ Assistant has re set it back to 5V.  Can anyone see what is going wrong here?
    BTW, this is continuous acquisition and the code does not produce error messages when it runs.
    I did come across a similar question that someone posted here back in 2006, but his question was specifically aimed at a Labview API (VB, I think), and not an actual G solution.
    Attached are the actual vi in question and a png image of the block diagram.
    Thanks! 
    Ruby K
    Solved!
    Go to Solution.
    Attachments:
    Labview_question.PNG ‏14 KB
    Sample_AIV.vi ‏91 KB

    First, if you want to start getting beyond the basics with DAQ, you are going to have to stop using the DAQ assistant and do it with lower level DAQmx VI's.  There are hundreds of examples in the example finder.  You can even right click on the DAQ assistant and select open front panel.  That will create a subVI that you can open and see what is going on behind the scenes.  Do it.  I think you'll find the DAQ task is being recreated on each (though I'm not 100% of how the settings are established or maintained in each section of that subVI).
    The second problem is you have a bit of a race condition on iteration 0.  Those two DAQ property nodes are running at the same time.  So when you read the AI.Max, it may be happening before or after the AI.Max is set in your case structure.
    Third, make sure you wire up your error wires.

  • Can I programmatically change the VI Search Path?

    I'm writing a simple program to periodically mass compile certain directories of my source code.  In my directory structure I try to enforce rules about what is allowed to depend on what, so I want to programatically enforce this during the mass compile.   To do this, I'd need to modify the VI search path before each directory is compiled.  Is there any property or method available for changing the VI Search Path?

    There is, but it's a private property, so it's not documented, and its behavior and/or availability can change with subsequent releases of LabVIEW:
    Message Edited by smercurio_fc on 10-24-2007 05:24 PM
    Attachments:
    Example_BD.png ‏2 KB

  • How can I change the printer page orientation from vertical to horizontal?

    I cannot seem to find a way to get the desired page to print horizontally instead of vertically as it normally does. Can I do this; how?
    Currently, Family Tree Maker is the app in which I'm having this problem. I want to print a census report in "landscape" instead of "portrait."

    @sambrack
    Try the '''Preview''' button at the bottom of the Print dialog window and see if there are Portrait / Landscape buttons at the top of the Print Preview window. ''(Those buttons are there on Linux & Windows versions of Firefox, and most likely on Mac, too.)''
    If so, select Landscape and then Print from that Preview window.

Maybe you are looking for

  • Word to pdf conversion failure

    Hi I cannot get ms word document to convert to pdf, either with ms word plugin or using acrobat file-open. It appears to get someway through the conversion then disappears without error message when using the plugin or gives an error failure when usi

  • How do i connect my ipod

    I'ce had my iPod Nano generation 6 for about 2-3 years now. I've never had a problem connecting my iPod to itunes before. I do now. I have followed the instruction on apples website, but it's still not working. I don't understand how/why this happene

  • Link between COPA and FI documents

    Hello, I am working on one object in which I am selecting records from CE1NROC table based on some selection criteria and posting these records using FB01 transaction. The requirement is - There should not be any duplicate posting for the Sales Order

  • Dynamic tab content

    Hi All, I have a tabNavigator with only one tab and i am creating a new tab whenever user clicks "Add New Tab" button. I want to create a DataGrid inside the newly created tabs. I have created a grid.mxml file which contains my DataGrid . Now the pro

  • Save as file dialog can't browse

    I'm a Snow Leopard newbie. When I save a file (e.g. OpenOffice 'save as'), I get a file dialog where I can only choose between a few 'places' to save the file. I don't get to choose a new directory that I'd like to save to. Help would be greatly appr