Properies - Initial view
Want to produce a pdf that opens in full screen (so I can use transitions and have a clean presentation). But I also want to maintain a certain frame size (with black background filling the remainder of the screen). I go to File->Properties->Initial view and select a magnification of 75%. But it seems that opening in full screen mode overrides the selected magnification settings. Once in full screen mode however, you can hit "command -" to size down the frame (with black filling in the extra space behind it). Basically, I want to dictate the size of the content when in full-screen mode so things don't get blown up larger than I intended. Any thoughts?
One can not modify the doc open options with a simple JavaScript command. It is possible to use the "batch process" to set the open parameters or add an "execMenuItem()". Using the "execMenuItem()" has the principal drawback that Adobe changes the menu item names and the names displayed on the menu bar are not the names used in JavaScript. So you may need to code this action to include testing the version number and passing a different name based on the version of Acrobat/Reader. You will also have to pass quoted strings, not impossible, but problematic for many users.
Ok, running the script to find the menu command for the bookmark display is:
ShowHideBookmarks
Which toggles the bookmarks pane. I do not see any way to see the state of the bookmark pane so one must know the initial state of the navigation pane before using this command.
Similar Messages
-
Hi to all,
I'm new with oaf and in mi AM i have to VO that I use to find relative information to the one is shown to the user on a query region, after the user pressed the go buton the CO request the AM tho load both VO and those information are used to show in a popup region to display and update. the main problem is when the popup region closes it send a submit to the server an the error "View object may not have been properly initialized during Update." is displayed
The main page and the popup uses the same AM, the initM2mVo() and initTavleVo() are called by the CO at the processRequest of the main PG, the popup dosen´t have a CO.
This the AM that uses the main PG and the popup region
package tasc.oracle.apps.tasc.m2m.imei.server;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.server.OAViewObjectImpl;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class ActualizarImeiAMImpl extends OAApplicationModuleImpl {
/**This is the default constructor (do not remove)
public ActualizarImeiAMImpl() {
/*******************************USE FOR CUSTOM CODE****************************/
* Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
* @param taskNumber
public void loadImeiVo(String taskNumber) {
OAViewObject voTableQry = getTableQryVO1();
if (voTableQry != null) {
voTableQry.reset();
voTableQry.setWhereClause(null);
voTableQry.setWhereClauseParams(null);
voTableQry.setWhereClause("TASK_NUMBER = :1");
voTableQry.setWhereClauseParam(0, taskNumber);
voTableQry.executeQuery();
if (voTableQry.hasNext()) {
voTableQry.next();
String idActuacion =
(String)voTableQry.getCurrentRow().getAttribute("IdActuacion");
String dsM2m =
(String)voTableQry.getCurrentRow().getAttribute("DsM2m");
String imei =
(String)voTableQry.getCurrentRow().getAttribute("Imei");
if (idActuacion != null) {
OAViewObjectImpl m2mVo = (OAViewObjectImpl)this.getTascTransEqInstM2mVO1();
m2mVo.reset();
if (!m2mVo.isPreparedForExecution()) {
m2mVo.setMaxFetchSize(0);
m2mVo.executeQuery();
m2mVo.setWhereClause(null);
m2mVo.setWhereClauseParams(null);
m2mVo.setWhereClause("ID_ACTUACION = :1 AND DS_M2M = :2 AND IMEI = :3 ");
m2mVo.setWhereClauseParam(0, idActuacion);
m2mVo.setWhereClauseParam(1, dsM2m);
m2mVo.setWhereClauseParam(2, imei);
m2mVo.executeQuery();
if(m2mVo.hasNext()){
m2mVo.next();
* Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca
* el IMEI seleccionado.
public void loadImeiValuesList(String taskNumber) {
ViewObject viewobject = this.getImeiListVO1();
OAViewObject voTableQry = getTableQryVO1();
if (voTableQry != null && voTableQry.getCurrentRow() != null) {
String imeiType =
(String)voTableQry.getCurrentRow().getAttribute("Attribute17");
if (viewobject != null & imeiType != null) {
viewobject.setWhereClause(null);
viewobject.setWhereClauseParams(null);
viewobject.setWhereClause("TASK_NUMBER = :1 AND ATTRIBUTE17 = :2");
viewobject.setWhereClauseParam(0, taskNumber);
viewobject.setWhereClauseParam(1, imeiType);
viewobject.executeQuery();
/*******************************USE FOR CUSTOM CODE****************************/
/**Container's getter for TableVO1
public OAViewObjectImpl getTableVO1() {
return (OAViewObjectImpl)findViewObject("TableVO1");
/**Sample main for debugging Business Components code using the tester.
public static void main(String[] args) { /* package name */
/* Configuration Name */launchTester("tasc.oracle.apps.tasc.m2m.imei.server",
"ActualizarImeiAMLocal");
/**Container's getter for TascTransEqInstM2mVO1
public OAViewObjectImpl getTascTransEqInstM2mVO1() {
return (OAViewObjectImpl)findViewObject("TascTransEqInstM2mVO1");
/**Container's getter for ImeiListVO1
public OAViewObjectImpl getImeiListVO1() {
return (OAViewObjectImpl)findViewObject("ImeiListVO1");
/**Container's getter for TableQryVO1
public OAViewObjectImpl getTableQryVO1() {
return (OAViewObjectImpl)findViewObject("TableQryVO1");
this is the CO of the main PG
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package tasc.oracle.apps.tasc.m2m.imei.webui;
import java.io.Serializable;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
* Controller for ...
public class ActualizarImeiCO extends OAControllerImpl {
public static final String RCS_ID = "$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
super.processRequest(pageContext, webBean);
//get the handle to AM Attached to our Simple Page Region MainRegionRN
//The page is passed as parameter to this method, hence we can get handle
//to the AM quite easily
OAApplicationModule am = pageContext.getApplicationModule(webBean);
//verifica si la transaccion de creacion esta activa todavia
if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"ActualizarImeiM2m", false))
// deshace cambios y finaliza Txn
am.invokeMethod("rollback");
TransactionUnitHelper.endTransactionUnit(pageContext, "ActualizarImeiM2m");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext,
OAWebBean webBean) {
super.processFormRequest(pageContext, webBean);
//get the handle to AM Attached to our Simple Page Region MainRegionRN
//The page is passed as parameter to this method, hence we can get handle
//to the AM quite easily
OAApplicationModule am = pageContext.getApplicationModule(webBean);
//Detección del botón go de la región de query.
this.queryButonGO(pageContext, webBean, am);
this.updateImei(pageContext, am);
* Detección del botón go de la región de query
* @param pageContext
* @param webBean
* @param am
public void queryButonGO(OAPageContext pageContext, OAWebBean webBean,
OAApplicationModule am) {
OAQueryBean queryBean =
(OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
String idGo = queryBean.getGoButtonName();
if (pageContext.getParameter(idGo) != null) {
String tareaId = pageContext.getParameter("TaskNumberLovInput");
//Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
Serializable[] parameters2 = { tareaId };
Class[] paramTypes2 = { String.class };
am.invokeMethod("loadImeiVo", parameters2, paramTypes2);
//Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca el IMEI seleccionado.
Serializable[] parameters = { tareaId };
Class[] paramTypes = { String.class };
am.invokeMethod("loadImeiValuesList", parameters, paramTypes);
public void updateImei(OAPageContext pageContext, OAApplicationModule am){
if (pageContext.getParameter("ActualizarImei") != null){
String imei = pageContext.getParameter("ImeiPopup");
//TODO......
thanks to all.I thing I got the problem.
I have the following configuration:
One Main Page and external RN that is call as popup in main page
2 VO, queries by java code, one to capture some information that is used to query the 2 VO that I use to update information by the popup.
One AM that is map only in the Main Page. (Initially I had the external RN mapped to same AM as the main PG, but I remove it).
The solution was remove the mapping of the AM from the external region and in the messageimput of the external region set the View instance and view Attribute manually in this fields (http://screencast.com/t/uDTALEedCh do not use the wizard ) as the one instanced am the AM, so the problem it seem that was that defining an AM to the external region create a new instance, causing that it can not see the information that I load manually in the VO by query it them.
for this case there is not need to use the next code, because the Rows are load with information by the query in the java code, this only will have to be made when inserting a new row .
public void initM2mVo(){
//get a handle to the View Object that we wish to initialize
OAViewObject vo = (OAViewObject)this.getTascTransEqInstM2mVO1();
if (!vo.isPreparedForExecution()) {
vo.setMaxFetchSize(0);
vo.executeQuery();
//Create a blank Row
Row row = vo.createRow();
//Attach that blank row to the VO. Data will be fed into this row, when the user types into the fields
vo.insertRow(row);
//Set the status of the blank row to initialized. This tells OA Framework that record is blank and must not be included in DML
//Operations until changes are made to its underlying VO [via screen fields]
row.setNewRowState(Row.STATUS_INITIALIZED); -
WD -SALV- setting initial view
Hi everyone,
I saw some forums in SDN about setting the initial View in a SALV.
Someone suggested to use R_COMPONENT of type IF_SALV_WD_COMP_TABLE_PERS in order to call the method SET_STANDARD_VIEW.
But noone was able to indicate how r_component could be properly referenced. (Such Forums are anyhow marked as closed but unanswered).
I would be very pleased to know if someone managed to do it, and how.
Thank you so much.
Best Regards,
ChristianHi,
Please refer to this code and make changes accordingly as per the conditions -
METHOD wddoinit.
DATA:
lo_nd_mara TYPE REF TO if_wd_context_node,
lt_mara TYPE wd_this->elements_mara,
lo_cmp_usage TYPE REF TO if_wd_component_usage,
lo_interfacecontroller TYPE REF TO iwci_salv_wd_table ,
lo_api_interfacecontroller TYPE REF TO if_wd_controller,
lo_pers TYPE REF TO if_wd_personalization,
lv_value TYPE REF TO cl_salv_wd_config_table,
lt_var TYPE wdr_pers_variants,
wa_var TYPE wdr_pers_variant,
ls_config_key TYPE wdy_config_key.
* navigate from <CONTEXT> to <MARA> via lead selection
lo_nd_mara = wd_context->get_child_node( name = wd_this->wdctx_mara ).
* Get material master data
SELECT * FROM mara INTO TABLE lt_mara UP TO 10 ROWS.
* @TODO handle non existant child
IF lo_nd_mara IS NOT INITIAL.
lo_nd_mara->bind_table( new_items = lt_mara set_initial_elements = abap_false ).
ENDIF.
* Instantiate ALV
lo_cmp_usage = wd_this->wd_cpuse_alv_materials( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
* Get the interface controller of the component usage
lo_interfacecontroller = wd_this->wd_cpifc_alv_materials( ).
* Get the model object of ALV
IF lo_interfacecontroller IS NOT INITIAL.
lv_value = lo_interfacecontroller->get_model(
* Get the API reference
lo_api_interfacecontroller = lo_interfacecontroller->wd_get_api( ).
ENDIF.
* Get personalization obect
IF lo_api_interfacecontroller IS NOT INITIAL.
CALL METHOD lo_api_interfacecontroller->get_personalization_manager
RECEIVING
pers_manager = lo_pers.
ENDIF.
* Get variants
IF lo_pers IS NOT INITIAL.
CALL METHOD lo_pers->get_variants
RECEIVING
variants = lt_var.
ENDIF.
* Set the default variant
* Required variant is read
* READ statement can be modified as per the requirement.
* As this application holds only one user variant, first record is read.
##read the respective records based on your condition
IF lt_var IS NOT INITIAL.
READ TABLE lt_var INTO wa_var INDEX 1.
IF sy-subrc EQ 0.
ls_config_key-config_id = wa_var-config_id .
ls_config_key-config_type = wa_var-config_type.
ls_config_key-config_var = wa_var-config_var.
ENDIF.
TRY.
CALL METHOD lo_pers->set_default_variant
EXPORTING
config_key = ls_config_key
set = abap_true.
CATCH cx_wd_personalization .
ENDTRY.
* Get the variant information based on variant id
* Load the variant/ Set the default variant
CALL METHOD lo_pers->load_config_by_key
EXPORTING
config_key = ls_config_key
fetch_default_variant = abap_true.
ENDIF.
ENDMETHOD.
Regards,
Lekha. -
ViewObject may not have been properly initialized
Hi, sorry I am a newbie... please be patience with me...
I have a custom page to create rec, I have a CreateAM, CreateDetailVO, and also the CreatePG.
Tested and I can create a record.
Now in my CreatePG, I want to make an item to be a poplist.
So I created a popList.Server.SupplierVO
(I select View Row Class:SupplierVORowImpl to Generate Java File and Accessors),
and attached my SupplierVO to the CreateAM.
Make my field Style to "messageChoice",
and Picklist View Definition point to my SupplierVO,
Picklist View Instance = blank,
Picklist Display/value attribute to SupplierCd.
When I run the page, it came up fine, the poplist display values and I can select one,
but when I hit the apply button, it gave me the following error message
*Developer Mode Error: Stale Data
Cause:
The view object CreateAM.SupplierVO1 contained no record. The displayed
records may have been deleted, or the current record for the view object
may not have been properly initialized.
What am I missing? Any advise?
Thanks in advance!hi SWL
make sure that you intializing VO properly in the processrequest method of you CO
check against this one
OAViewObject vo = (OAViewObject)getEmployeeTab1();(your get method for VO)
if (!vo.isPreparedForExecution())
vo.executeQuery();
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
Regards,
kosal -
Hello Everybody,
I'm having a little problem with the initial view. Upon opening, my converted PDF document (Smart Draw) continues to open in Portrait instead of Landscape. Ive created the original document in landscape before I converted to PDF. I've tried various settings in Acrobat > File > Properties > Initial View...no luck, it keeps opening in portrait instead of landscape...any ideas.Document>Rotate Pages and then Save As
-
Is there any way to force the following initial view...
..."fit to page" + "two pages per screen - but only if there's room for two"?
In other words, I want the page to fit in the screen upon initial view, but I also see a lot of wasted real estate all around that could, most of the time, fit a second page. However, I don't want the two pages to count against the "fit" -- meaning, on narrower screens, the priority should go to fitting the first page (and not showing the 2nd) rather than fit both pages at all costs.
Is there any way to ask Acrobat to do this?The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to! -
When I save my word 2013 documents as Adobe PDF I have to open the PDF up, go to File>Properties>Initial View>Navigation Tab and then set the initial view as Bookmark Panel and Page; it gets pretty tedious.
I use Save as Adobe PDF rather than Print to Adobe PDF Printer because I like being able to have the security settings automatically set.
I just want to be able to save my word document as Adobe PDF with the initial view already set as Bookmark Panel and Page, and with security, so I can send it out immediately.
Is this possible?
Thank you.Use the Firefox Android Addon - Phony
*https://addons.mozilla.org/en-US/android/addon/phony
for more
*https://addons.mozilla.org/en-US/android/ -
Finder Cover Flow initial view
How can I set the initial view settings when using cover flow within finder-
the finder file/folder list at the bottom of the window is way too short and the cover flow file preview portion of the window is massive.
Appreciate?For me, I find that when I resize the window, it stays that way. If it doesn't stick for you, try resizing, and then pressing Command-J to open View Preferences, check the Always Open in Cover View box at the top, and the Use as Defaults at the bottom. They're not directly related, but I've found that the helped.
If those don't help, go to the folder ~/Library/Preferences (where ~ stands for you Home folder), and remove a couple of files:
com.apple.finder.plist
com.apple.systemuiserver.plist
In the ByHost folder, there will be one or more com.apple.HIToolbox.randomjunkthatdoesn'tmatter.plist file; remove all of them.
Log in/out, and see if that helps. -
Initial View - Default Setup (Acrobat 9.0 Pro)
Hi everyone,
This may be a dumb question but I just can't seem to find how to change the default page number in the "Initial View" tab - under Document Properties.
My pdfs are always opening up on page 4 (small thing - but annoying!). I can change the value to "1" for each pdf, but I don't want to have to do this everytime i generate a pdf.
There must be a way to change the default value from "4" to "1" (I hope).
Can anyone help with this?
Thank you,
TinaNever mind - I just found the option under "Save PDF" that allows me to select the page number.
Just didn't expect it to be there ... sorry about that !
tvb -
Hi,
I'm trying to batch create multiple pdf's from word files, and use the epilogue.ps file for setting the initial view and opening the bookmarks panel, but i keep getting no satisfying result.. i'm probably missing something fundamental.
I've read some forum posts and adobe help posts explaining this, so i'm pretty sure this would be possible?
Reference:
http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f0f.w .html see advanced panel options
http://help.adobe.com/en_US/acrobat/using/WS58a04a822e3e50102bd615109794195ff-7f14.w.html
System: Windows 7
Acrobat: Acrobat X professional
i've searched for and found a way to overwite the epilogue.ps file and have inserted the following:
% Insert your custom PostScript here...
[ /PageMode /UseThumbs
/Page 1 /View [/Fit ]
/DOCVIEW pdfmark
After that i checked my Adobe Acrobat preferences, and in the categorie 'Convert to Pdf' i selected 'Microsoft office word' in the select area 'Converting to pdf'.
Clicked 'Edit settings' to allow creating a joboptions file (field: 'adobe pdf settings') which has the option 'Use epiloque.ps and prologue.ps' checked in the advanced section.
So now i thought i would have everyting setup to create my pdf's, however, my view isn't changed to fit, nor are there any bookmarks or in this case thumbs (i used /useThumbs) visible.
Did i miss something obvious? Is there a better way to test this? Any help would be appreciated!i like it about that ok in how to open my site
-
Initial View set in PDF Document not working.
I have a PDF document w/Initial View in the Document Properties set to Navigation tab: 'Bookmarks panel and Page', and Open to page '1''. However, when I send this document out, the Initial View settings do not happen (The PDF opens to the page last accessed before the document was sent and the navigation pane does not display). Help - what am I missing or doing wrong when trying to distribute PDF?
I am using Acrobat X Pro.It might be the settings in Acrobat that is causing the problem. Edit – Preferences…, under Categories select Documents. Uncheck Restore last view settings when reopening documents.
-
Initial View is disabled on a Form created in LiveCycle ES2
Hi,
I am trying to change the preferences using the Initial View tool in Acrobat. I want to set it to open with bookmarks visible. However, the entire initial view page is disabled for me. The PDF is one that I created myself using LiveCycle Designer ES2. I am using Acrobat Pro X. Why would this functionality be disabled?
Thanks,
NicoleThank you for your link. Unfortunately, I am not a developer and that was like a foreign language to me. Is it possible to accomplish the same from a LiveCycle menu?
The view of a document can be set in manifold ways in Acrobat/Reader.
If single page, 2-up continious, with bookmarks panel, fit to width etc..
A lot is possible, but only with the menu.
JavaScript enables control of all these things from within a XFA-form.
Therefore the properties of the viewState object are used.
overViewMode controls the panels and full screen mode.
pageViewLayoutMode controls the page layout.
pageViewZoom controls the zoom level.
pageViewZoomType controls the zoom adaption to the application window.
This properties can be changes through a button script or the docReady:event of the form.
So you're able to control the initial view of the form.
event.target.viewState = {overViewMode:3};
event.target.viewState = {PageViewLayoutMode:1};
event.target.viewState = {PageViewZoom:0.75};
event.target.viewState = {PageViewZoomType:1}; -
Acrobat 7 Pro, Script to Automate "Initial View" Settings
Can you create an Applescript that let's you batch define Acrobat's 'Initial View' settings under the Document Properties of an existing PDF?
I am not familiar with scripting language and enable the UI feature of Script Editor, but it didn't seem to record my actions. Photoshop's Actions don't allow me to define these specific settings.
Dual 1.8 G5 Mac OS X (10.4.7)Thanks, Bernd. I forgot to mention in the original post that the "Restore last view settings when reopening documents" option IS disabled (unchecked), both in Acrobat and Reader. The behavior described occurs with this option disabled.
-
Action Wizard - modify "Initial View" settings
I am trying to figure out if there is a way to change the "Initial View" settings in the document properties using the Action Wizard.
For accessibility reasons I need the Document Properties > Initial View > Window Options > Show settings to "Document Title" as opposed to the default "File Name".
Any suggestions? i cant find a way to change this using the "Create New Action" options
Thanks.It's under Document Processing - Set Open Options - Display Document Title.
-
PDF through VBA: How to set Initial View?
- Adobe Acrobat 6.0 (sorry we're a bit out of date)
- MS Office 2003
- MS Windows XP Professional SP2
I am trying to automate the creation of PDFs from MS Word. I have succeeded. My VBA code works fine (have pasted it below). I can create a PDF, and give it a title and author.
The problem I am having is with the Initial View settings, i.e. how the document opens. I want to hardcode:
1. Show to "Page Only"
2. Page Layout to "Continuous"
3. Magnification to "Fit Width"
The first I have done, using AcroExch.PDDoc's SetPageMode() function (although it seems to default to that even without doing this). I cannot, for the life of me, find any reference to the second and third, though. This must be doable, right? Be kind of weird not to have access to this in the API.
Hours of Googling has thrown up three ideas I've discarded.
1. AcroExch.App's SetPreference() function. This would presumably change preferences on the machine making the PDF, not reading it. I don't want to fiddle with other people's preferences anyway.
2. AcroExch.AVPageView's ZoomTo() function. Ditto. I am not creating an app to view PDFs, just trying to configure the default for opening one I've created.
3. An "undocumented" SetOpenInfo() in AcroExch.PDDoc. This looked the most promising for Magnification, but nobody seems to be able to get it to work, and it does nothing for me either. Someone somewhere even suggested it had been deprecated in later versions of Acrobat.
So... what do I do?
Thanks in advance for any pointers.
jON
===============================================
Sub MakePDF(strFilename As String, strTitle As String, strAuthor As String)
Dim pdfD As PdfDistiller
Dim strPDFName As String
Dim strPSName As String
strPSName = strFilename & ".ps"
strPDFName = strFilename & ".pdf"
'... make PS
Application.ActivePrinter = myPDFPrinter
Application.PrintOut Filename:="", _
Range:=wdPrintAllDocument, _
Item:=wdPrintDocumentContent, _
Copies:=1, _
Pages:="", _
PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, _
Collate:=True, _
Background:=False, _
PrintToFile:=True, _
PrintZoomColumn:=0, _
PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0, _
OutputFileName:=strPSName, _
Append:=False
'... make PDF
Set pdfD = New PdfDistiller
pdfD.FileToPDF strPSName, strPDFName, ""
'... tag PDF
Set qq = CreateObject("AcroExch.PDDoc")
b = qq.Open(strPDFName)
b = qq.SetInfo("Title", strProperties_Title)
b = qq.SetInfo("Author", strProperties_Author)
b = qq.SetPageMode(1) '... 1 = PDUseNone
b = qq.Save(33, strPDFName) '... 33 = PDSaveFull (1) OR PDSaveCollectGarbage (32)
b = qq.Close
End SubI have the same problem. I need to change Initial View Settings configuring the following settings
2. Page Layout to "Single Page"
3. Magnification to "Fit Width"
My software configuration is as follows:
- Adobe Acrobat 7.9
- Microsoft Windows XP SP2
- Visual Basic 6
Has anyone worked with this attributes of Acrobat?
Maybe you are looking for
-
Can't get things off my external hard drive
When I purchased my Macbook, it had OS X 10.4.11. I upgraded to Leopard, and started backing up my files using Time Machine. My hard drive crashed, and when they fixed it, they but OS X back on my computer. I really want to get all of my files and se
-
Need to get rss/xml feed from itunes
I need to get an rss/xml feed of the albums I am selling on itunes -- to insert into an iphone app I am working on. Any one know how to get this feed?
-
Unable to restore Shuffle solution
Just recently I had a very aggravating experience with my first generation Shuffle that I was able to resolve. I post this in the hopes that it may also work for others experiencing my problem. I "Surprised Removed" my Shuffle from the USB port when
-
'Parts of the file seem to be corrupted'
I keep getting this same message when I try to download any video content lately. I have tried with apple to fix this through several emails but nothing is working - all they told me to do was to delete the corrupted file and try again (which I did)
-
Shell Script for Database access
Hi All, I am trying to retrieve a some data from database using the shell script. The script that I used is : #!/bin/sh sqlplus -s $uid/$password@database @c:/query.sql My query file contains : set heading off set feedback off set verify off set cols