Change paper type (A4) via JavaScript

Hi all,
I want to change the paper type via Java Script to A4.
The hierarchy:
data  -->pageSet -->page1 (A4)
Is this the right syntax, if I want ot switch the page1 to A4? ...and which "Event" should I use? --->initialize?
data::initialize - (JavaScript, both) 
xfa.data.pageSet.page1.medium.stock = "A4";

Hi
Are you trying to change the size on the fly for different values for instance.
Or is this simply ensureing the page is formatted correctly when the document is opened?
I could not get your code to work
but this code appears to work OK
xfa.form.form1.pageSet.pageArea.medium.stock = "A4";
Hope this helps
Graham Spaull
DubDubDubDesigns.co.uk

Similar Messages

  • Cannot change paper type from Android ePrint app when printing photos

    I have the ePrint mobile app installed on my Android phone (Samsung Galaxy S4) and have a Photosmart 7520 printer at home. When I'm at home, I can see the same printer listed twice from ePrint mobile app on my phone, once via ePrint (with the printer's email address shown) and the other via wireless (with the printer's IP address shown). If I were to print a photo from ePrint mobile app, if I select my printer via wireless connection, I can see the option to change the paper type, i.e. either the plain paper or photo paper; but if I select the same printer via ePrint, the option to change paper type no longer appears in the app. When I'm on the go, I can only see my printer via ePrint and I cannot print a photo on plain paper due to the absence of the "paper type" option. However, if I were to print a document via ePrint mobile app, the option to change paper type does show up. So to sum it up: 1) Print photo from ePrint mobile app via wireless -- the "paper type" option is present;2) Print photo from ePrint mobile app via ePrint -- the "paper type" option is absent;2) Print document from ePrint mobile app via ePrint -- the "paper type" option is present. This cannot be by design, correct? Thanks.  

    Hi phibei!
    Thank you for posting.
    I have done some research on your post.
    You are correct, this is by design. This is due to the communication method being used. When using the ePrint app via ePrint it's sending the information via an email and limits the options available.
    Happytohelp01

  • Change paper type in QM03

    Hi,
    any one can please suggest how can I change paper type in the notification. its by default set to letter format. I want to change it to A4 size for a particular user. is there any way I can do this?

    Hi Bhanukishor,
    Try to set the default printer setting in your PCs --> Start --> Devices and Printers --> Right click on default printer --> Printing preferences --> Go on Tab Paper --> Changes the Print on = A4.
    I think it will resolved your problem.
    Sandip

  • How to change paper types

    I don;t seem to be able to change paper types using Pages 09,in Word I think I am right in saying you can change from various paper types in the print section. When I try this in Pages I do not get this option, I need to be able to print onto various Photo papers etc. Can YOU help.

    I assume that you get the "bare" Print dialog :
    If I am right, click the small black triangle pointed by the yellow arrow to get the 'complete' Print dialog.
    Yvan KOENIG (VALLAURIS, France) mardi 12 juillet 2011 14:46:04
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to Change Paper Type Using Java script

    HI ,
    We have a requirement , in which we have to change the paper type i.e. "A2" , "A3","A4" etc.  while printing using a JavaScript. I have written a code like this :
    xfa.form.form1.pageSet.Page1.medium.stock = "A2"; But this is not working. please help me out.
    Thanks,
    Bhaskar.

    That's the right object for choosing the page size at Design time. What event are you doing this on? Although you can change it in the form model, the form's page size is already determined from the template by the time you have a form to script against, so although you can change it via script after the fact in XFA, I don't believe it will have any impact. Even putting it on the layout ready event does not work.

  • Color laserjet 2605dn changing paper type does not make the change at printer

    I've had this printer for 2 years and have had this problem from time to time. This time I have not been able to find a cure. I'm running Win 7, 64 bit and the printer is on wired network.
    When I change the paper type in the driver page to photo paper, the printer should slow the paper feed to allow for extra thickness. It doesn't, but I can change the speed by using the printer control panel to set it to photo paper (a bit of a pain since the printer is in a different room and it must be switched back to plain paper the same way when done).
    I downloaded and installed the latest drivers (version 5.1.0.1), but this didn't help. The printer is still useable, but very inconvenient to use, so any help would be appreciated.
    Thanks for any assistance you can provide.
    Don

    Look's like there are 3 different Universal  print drivers (UPD) on the site.  PCL6, PS and PCL5.   I recommend testing the PCL5 driver if you haven't as yet.   It is bizarre that this happens from time to time, but you cannot get it going again using teh same methods.  Don't know if you have swapped out the network cable to see if that makes any difference.  You can also try installing via USB to see if the problem continues in that type of connection, then run the network install again. 
    Is it critical that the unit slow down for this particular paper thickness?  Have you noticed any print quality issues by leaving it unchanged?
    Good luck.
    Though I work for HP, My posts express MY opinion, and not those of HP.

  • Trouble changing paper type for printing

    I downloaded Photoshop Elements 11 to a new computer (with much more memory and speed that old computer) but now Photoshop does not work as well. When I  try to change the paper type for printing, the setting is stuck at "plain paper" and there are no other options available. Any ideas on how I can fix this problem?

    It sounds like a printer driver issue, not a PS issue. Can you update your printer driver on the new computer?

  • HP Deskjet 2645: how to change paper type while photo copying

    Currently use a HP Deskjet 2645. I used to be able to photo copy and change the paper type to either legal or 5x11. Now, when I try to photo copy a document, the only options are the three that's all A4. How can I fix the settings to be able to have the options I want back?

    hi docmy printer is always plug directly into a wall outleti did the resetbut the result still samebellow is the sample i tried     ori doc                                                                                                 photocopy doc 

  • Epson 3880 cannot change paper types in Acrobat Print dialog

    I use Adobe Acrobat as a RIP to print from on my Epson 3880. It looks like I might have to reconstruct all my printer presets since they've disappeared after the upgrade(?) to Yosemite 10.10.3. However the print dialog in Acrobat Pro X no longer allows me to create presets with different paper types. At least I haven't found it anywhere. Is this something that can be worked around or is this an "enhancement" to the new OS?
    Should I just give up and go back to Snow Leopard?

    Thanks a lot. Although i find it strange that every application sets this up individually. However, I did this in all Applications that I use for printing, now it works just fine.

  • Changing Paper type in Reports 2.5

    Hi,
    Can we define type of paper in report? I want to set the paper to A4 instead of Letter.
    Thanks a lot in advance.
    Warm Regards
    Vivek Bajaj

    Hi,
    Thanks for the reply.
    I've already defined the paper size as 11" x 8.5 " which is the size of A4 paper. first problem is that when I open the page setup page, neither the orientation is set to landscape (I've coded :orientation := 'Landscape'; in Before Parameter Form Trigger) nor the page is displayed as A4. Although when I print the report the printer prints in Landscape mode but the report is not properly aligned. If I manually select A4 paper instead of Letter the alignment is much much better. As far as I can remember, in 6i or even 6 and 5 versions of D2K, changing these properties usually changes the settings in the page setup page.
    Any Suggestions??
    Thanks in Advance.
    Warm Regards
    vivek Bajaj

  • How to updateControlValue of lookup custom type field via javascript (JSLink) ?

    I found in context - fieldSchema - Choices - array with lookup items, so i created new object with lookupid and lookupvalue and pushed into Choices. But after update control value i found what fieldValue: "1218;#"; while in  context
    - fieldSchema - Choices - array my Object [LookupId: 1218; LookupValue: "Dion"]; 
    Out of array LookupValue always null. Any idea?

    Hi,
    The following links would be helpful:
    Setting values of SharePoint Lookup field
    http://snipplr.com/view/30179/setting-values-of-sharepoint-lookup-field/
    Sharepoint 2013. Multivalue lookup field with JavaScript
    http://stackoverflow.com/questions/22694749/sharepoint-2013-multivalue-lookup-field-with-javascript
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]
    Unfortunatly it is not what i need. 
    Let me explain, i trying to make cross site lookup field. So for now i made javaScript file and overrided JSLInk parameter. 
    I want to made it clear for sharepoint and followed clientforms.debug.js practice. 
    in clientforms.debug.js they used updateControlValue method for update fieldValue. So, i use this method for insert my own lookup object to field value. And main problem - updating field value such as the string  "5233;#HelpMePlz". 
    Cuz after method updateControlValue sharepoint not save my own object.LookupValue  (HelpMePlz), sharepoint only save object.LookupId (5233). I
    need someone who has already done something similar and can explain the subtleties of working with a client side rendering (JSLink) & lookup field. If any know how to do it write plz here or mail me ([email protected]). its realy important to me,thx.

  • Where did the media type (paper type) controls go?

    I am running a Mac Book Pro with OSX 10.7.3 Lion.  My question pertains to color management in Photoshop CS5.  Where do I put my .icc file (Pro38 WCRW) for Photoshop’s use as a media type?  And where in the Photoshop CS5 print process does it give me the ability to change paper types (.icc files), etc?

    try this
    http://www.gballard.net/photoshop/epson/cs5/#workflow

  • How to change the paper type in printer settings?

    Does anyone know how to change the paper type in printer settings?  I'm trying to have the ability to change it to photo paper from Photoshop Elements.  I can't find the option in printer settings or through Elements.  I'm assuming I could save an additional printer setting for photo printing, but can't find how to even select a different paper type.
    thanks!

    It would help to know which OS you are running as the answer will be different if it's Lion or the previous OS's. You are not running iOS 5.0.1 on your MacBook Pro so provide the correct information.

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • I have Mac os10 yosemite and with photoshop elements 13 I cannot get a menu from Print to change the type of paper.  Where is that menu  The one that comes up only alows for paper size not type

    After clicking print the menu that comes up does not allow for a change in paper type.  Where can I change the paper type. OS 10.10 Yosemite with Photoshop Elements 13.  I have a windows computer with the same program and the print menu has a paper settings option but not on the the mac.  What gives.  Is the Elements 13 not compatible with the OS 10 Yosemite?  Thanks for any help

    If you delete all the Adobe Reader stuff it will probably fix this. For almost everything, the Apple pdf handling works better.

Maybe you are looking for

  • Adobe Reader X won't print

    When I click on either the printer icon or file-Print I getAdobe Reader has stopped working. The error in the event log is: Faulting application AcroRd32.exe, version 10.0.0.396, time stamp 0x4cc5e97b, faulting module ntdll.dll, version 6.0.6002.1800

  • Design Studio - Dashboards/webi Mobile compatibilty

    Dear friends, I have got a requirement of deploying few webi reports and Dashboards in mobile devices which could be of IOS/Android/Windows. I got to know about design studio where in we can develop the dashboards and reports and deploy it to any mob

  • HT1461 I get an error creating a partition

    In Boot camp and in disk utility, I cannot create a partition. I just get an error that it cannot create partition. Any ideas?

  • How to install MIDlet on Samsung phones?

    Hi friend ! Please tell me how can we install .jar file on Samsung devices? Generally I am using Nokia and sony ericsson handsets for testing. Now I have samsung SGH-D520 AND SGH C50 mobiles but I don't know How to install J2me application on samsung

  • Airport Express 802.11n and Dlink N wireless router

    Problem: Unable to connect Airport Express N to Dlink N router I have a Dlink G router and an Airport Express G in connected to that wireless network for a couple of years. I bought a new DlinkN router. I have been unable to connect the Airport Expre