Srw.set_printer_tray and PDF

I am trying to set the printer tray for a report in 9ids 9.0.2 with the output being pdf. Does srw.set_printer_tray work when the output is PDF or does in only work with postscript files output.

Hi,
It will work only when you use DESTYPE=printer. When you output to say PDF, it cannot store the information about the printer tray in the PDF document. Also see Builder Help on "SRW.SET_PRINTER_TRAY" for usage notes, and restrictions.
Navneet.

Similar Messages

  • Printing Header and Footer once in HTML and on all pages in RTF and PDF using one RDF

    Hi,
    I am using a single RDF to generate reports in HTML,PDF and RTF.
    For printing the header only on the first page I used the
    following trigger
    begin
    srw.get_page_num (page_num);
    IF upper(:P_FORMAT) = 'HTML' THEN
    if page_num = 1 then
    return(true);
    else
    return (FALSE);
    end if;
    ELSE
    return (TRUE);
    END IF;
    end;
    I alo require to print the footer once on the last page in case
    of HTML and on all pages for RTF and PDF.Is there any way I can
    get the total number of pages or is there any other way to
    acheive this. ???
    Any help would be appreaciated .
    Thanks,
    Alka

    Generally, one template can not create nice output in all formats. In your case, you would need a format parameter to suppress headers/footers if it's value is 'EXCEL'. The problem is (I wish someone would correct me on this) that we can not refer the standard parameter already there and have to create another, user-defined parameter.

  • SRW.SET_PRINTER_TRAY in Report 10g...Urgent help please

    I am facing problem in getting printout from desired tray in reports 10g.I have below beforereport trigger written:
    function BeforeReport return boolean is
    begin
    SRW.SET_PRINTER_TRAY(' Tray 3');
    return (TRUE);
    end;The same is working good in report 6i.I run printerdrivertest and it has only one error :
    **** DT112: DRIVER ERROR: Color has changed
    I don't think this is related to any tray selection.
    Please help me.I need to do it very soon.Lookong for expert's help..

    Rejesh
    I dn't have any printer without space in name.Is that space issue?It is printing good if i run it in paper layout but it is not working in browser.
    Thanks

  • SRW.SET_PRINTER_TRAY    ----- Urgent

    Hello
    This procedure specifies the name of a valid printer tray and can be used to switch to different printer tray.
    I have done in the Beforereport-Trigger:
    Function BeforeReport return boolean is
    Begin
    srw.set_printer_tray('Upper Paper Tray');
    return (True);
    End;
    Now my question:
    SRW.SET_PRINTER_TRAY('myTRAY')
    myTRAY is the name of a vilid printer tray and can be used to switch to different printer. Now where can I read the information for myTRAY and how have I it to call?
    In the system-settings (printer) of Windwos XP the properties from the printer tray shows me: Fach 1, Fach 2, Fach 3, automatisch. Where is the necessary information which I have to write in place 'myTray' and how must it be?
    Many thanks for your help!
    René

    Rejesh
    I dn't have any printer without space in name.Is that space issue?It is printing good if i run it in paper layout but it is not working in browser.
    Thanks

  • How do I check that a printer tray exists before using srw.set_printer_tray

    Due to printer firmware issues I cannot know in advance whether the printer's tray number has a space in front of it.
    Ex: '2' vs. ' 2'
    I have introduced this code to production, but if the tray value passed in does not exist, then an error is thrown when setting the printer tray.
    If I cannot determine this in advance, then I would like the code not to fail and simply skip the assignment. The printer tray selection is only a convenience to the end user. This is important becasue I have hundreds of printers to which a report may be printed.
    function BetweenPage return boolean is
    begin
    IF :PLABLE_TRAY IS NOT NULL AND :PLABLE_TRAY <> '' THEN
         srw.set_printer_tray(:PLABLE_TRAY);
    return (TRUE);
    END IF;
    return (TRUE);
    end;
    Thx in advance,
    Gary

    high-Q wrote:
    It's an autonomous test station with various measurement instruments. I'm closing the bus after reciving the string from each instrument.
    Again, that makes no sense.  Part of the command over the bus is the address.  So if you know all of your instruments' addresses, you just supply that when you iteract with that instrument.  There is no reason to constantly open and close your bus.
    The problem with checking to see if data is available is that you have to send a querry to the instrument.  You are the master of the bus.  Nobody else can send data without you letting them.  So you have to keep you bus open and send querries to check to see if the oscilloscope is ready to send data.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Web Clipping portlet and pdf files

    Hi,
    I have created a web clipping portlet which just includes a set of links to HTML and pdf files. When I try to open a link to a pdf file the web clipping portlet fails, but links to the html content work fine
    Is it possible using web clipping to open the links to the pdf files and display them in the web clipping portlet ?
    Thanks,

    Hi,
    I have created a web clipping portlet which just includes a set of links to HTML and pdf files. When I try to open a link to a pdf file the web clipping portlet fails, but links to the html content work fine
    Is it possible using web clipping to open the links to the pdf files and display them in the web clipping portlet ?
    Thanks,

  • How to add Images and PDFs in MDM iView

    Hello!
    We use SAP Portal as interfase to access SAP MDM repository tables.We use MDM Record Set and MDM Item Detail iViews to display and operate with main table content.
    There is a field in the qualified table, which is the lookup to the Images table. And the other field is the lookup to the PDFs table. Both fields are qualifiers.
    In the main table there is a field, which is the lookup to the qualified table. When we try to add values to this field using Item Detail iView, we get a window, where we can fill all values of the qualified table, except Image field and PDF field - they are disabled. So, can we add Images and PDFs to the table using Item Datail iView? Or what is the other way to add them?
    Thanks,
    Vika
    Message was edited by:
            Viktoria Demina

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file work intermittently.

    SUMMARY
    Hyperlinks to XLS, DOC, and PDF files that are included in a
    .chm file (and the Baggage Files) only work intermittently. The
    only solution appears to be deleting the Temporary Internet Files.
    PROBLEM
    1. I place the XLS, DOC, or PDF file in the Windows
    sub-directory that corresponds to the RoboHelp project sub-folder
    where the topic in which I’ll place the hyperlink exists.
    2. I open the help project in RoboHelp HTML.
    3. I right-click on the project’s Baggage Files
    sub-folder that corresponds to the Windows sub-directory in which I
    placed the XLS, DOC, or PDF file (in step 1).
    4. I import the XLS, DOC, or PDF file.
    5. I open the topic in which I’m going to place the
    hyperlink in the WYSIWYG editor.
    6. I “drag and drop” the Baggage File into the
    topic (in the WYSIWYG editor) to create a link to it.
    7. I save the changes and then generate HTML (.chm) help.
    8. I open the .chm file and click the hyperlink. The XLS,
    DOC, or PDF file may or may not open.
    9. When the hyperlink works correctly, for DOC and XLS files,
    a “File Download – Security Warning” dialog box
    appears asking, “Do you want to open or save this
    file?”. The buttons that are available are
    “Open”, “Save”, and “Cancel”.
    These buttons work then as one would expect. (When the hyperlink
    works correctly for a PDF file, it simply opens the PDF file in a
    new window; there’s no prompt to save, open, or cancel.)
    10. When a hyperlink does NOT work, for DOC, XLS, and PDF
    files, no dialog box or other visual message is displayed. Instead,
    the sound that is associated with the “Exclamation”
    program event is played (the “Windows XP
    Exclamation.wav” file is the WinXP default).
    Other Notes:
    - The hyperlinks ALWAYS work when I view a topic using the
    “View Selected Item” function (Ctrl+W) in the RoboHelp
    HTML project.
    - Once a hyperlink stops working, it will not start working
    again until I delete all the Temporary Internet Files.
    - A hyperlink will stop working even if Internet Explorer
    (iexplore.exe) is closed the entire time.
    WORKAROUND
    Through trial and error, I have discovered that if a
    hyperlink stops working, I can get it to work again using the
    following steps:
    1. Leave the .chm file open.
    2. Open Internet Explorer.
    3. Click Tools>Internet Options….
    4. From the “Internet Options” dialog box, select
    the “General” tab.
    5. Under the “Temporary Internet Files” section,
    click the “Delete Files…” button.
    6. From the “Delete Files” dialog box, select
    “Delete all offline content” and then click
    “OK”. The files are deleted and the “Delete
    Files” dialog box closes.
    7. Click “OK” to close the “Internet
    Options” dialog box.
    8. Without closing Internet Explorer and without re-starting
    the .chm file, all the hyperlinks that didn’t work before
    will now work.
    GENERAL SYSTEM INFORMATION
    - Windows XP Pro, SP2
    - Internet Explorer 6.0.2900.2180
    - RoboHelp X5, 5.0.2 Build 801
    - HTML (.chm) help project files exist on my local machine
    - HTML (.chm) help file is run from my local machine
    - Project is under RoboSource version control
    TEMPORARY INTERNET SETTINGS
    - “Check for newer versions of stored pages” is
    set to “Automatically”
    - “Current location” for the Temporary Internet
    files folder is set to “C:\Documents and Settings\My
    Username\Local Settings\Temporary Internet Files\”
    - “Amount of disk space to use” is set to
    “594” MB
    “View Files…”
    - An XLS or DOC file will be listed here if I click its
    hyperlink and then click either “Open” or
    “Save” from the “File Download – Security
    Warning” dialog box.
    - A file will appear here even if I click “Save”
    and then click “Cancel” from the subsequent “Save
    As” dialog box.
    - If I click “Cancel” from the “File
    Download – Security Warning” dialog box, the file does
    not appear in the Temporary Internet Files folder.
    - When a file does appear in the Temporary Internet Files
    folder, its Internet Address is displayed similar to the following:
    “ms-its:C:\PrimaryProjectFolder\ProjectName.chm::/SubFolderName/FileName.xls”
    “View Objects…”
    Here’s a list of all the program files that appear:
    - “Microsoft Office Template and Media Control”
    (Last Accessed 12/13/06) (Version 12,0,6024,0)
    - “Shockwave ActiveX Control” (Last Accessed
    12/14/06) (Version 10,1,4,20)
    - “Shockwave Flash Object” (Last Accessed
    12/18/06) (Version 9,0,28,0)
    - “Windows Genuine Advantage Validation Tool”
    (Last Accessed 12/14/06) (Version 1,5,722,0)
    - “WUWebControl Class” (Last Accessed 12/13/06)
    (Version 5,8,0,2469)
    Today is 12/18/06 so the only program file that is listed as
    having been “Last Accessed” today is the
    “Shockwave Flash Object”.
    REQUEST FOR HELP
    I really want to include certain PDF, DOC, and XLS files in
    their native format in a .chm file. However, I need a better
    solution to my problem than the one I discovered. What I really
    want is to avoid the entire problem altogether.
    Have anyone seen this before or have any suggestions?

    You wont be able to do that. The embedded objects would appear as images only.

  • I'm trying to get organized and I just added a bunch of books and pdfs to my itunes library. They were all added immediately to my ipad and iphone even though, itunes automatically putting books on my idevices

    I'm trying to get organized and I just added a bunch of books and pdfs to my itunes library. They were all added immediately to my ipad and iphone even though I did not want this. I added them to itunes using add to library and I have both devices set to sync only selected books.
    How do I do this in the future so this doesnt happen? Its a lot of work to now manually erase them from each device and it sent my phone over capacity.
    thanks

    I dont see the difference in the posts. I dont think theres anything inaccurate or misleading about what I wrote. The items were immediately added to my ipad and my iphone, even though I have them both set to sync only select items. As soon as I added new titles to my itunes library, they were immediately added to the devices. Not on the next sync. Immediately. Both devices were plugged into the computer at the time. Sorry if I failed to mention they were plugged in but I dont see the signifigance youre making out of it. The problem persists anyway.
    Now that I did a test without the devices plugged in, the new items were still added as soon as I plugged my devices into the computer ( I do not have them set to sync over wifi).
    Since I have both devices set to manually select items to sync, of course I want to manually select new items to sync. For instance, I am not going to read any of these magazines or books on my phone, ever, and I dont want to waste valuable space with them.
    So I'm trying your advice:
    I just tried deselecting sync books. It erased all content from ibooks on my device. I then dragged
    one title onto the device, and it just goes back to syncing select books, with the one title selected.
    It appears that wont work to solve my issue. The next time I add something to itunes it will be put on my phone. Is this really something most people want? To select to manualy control what content is synced, but then have things automatically added. It seems inconsistent to me.

  • Tall report in both HTML and PDF

    Hi,
    I have a report in 10.1.2.0.2 with three logical parts; a header (logo, column titles), a body (actual data) and footer (column sums, some texts). At the moment I'm just using the main section (not header/trailer) but I'm willing to change.
    Depending on the parameters the report will give 1-20 pages (if I was to print them) of output.
    I would like to offer both HTML and PDF output but I'm having some issues.
    If I set the height of the main section to 25 centimeters/10 inches and run the reports with parameters that produce 2 pages of output, I will get two pages i the PDF perfectly. The HTML will then get a seam (empty row) after 25cm/10In and then continue. The problem is that the second part of data is in a separate html table, making the columns not aligned to the first part.
    So, PDF OK, HTML ugly.
    If I set the height of the main section to 250 centimeters/100 inches and run the report again the HTML is fine. One long table and therefore consistent columns.
    Now the PDF consists of only one page. It looks fine but after the last row I can scroll down much more as the PDF "page" is really tall now.
    So, PDF ugly, HTML OK.
    Any suggestions for acheiving a nice result in both PDF and HTML?
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

    Many thanks Denis, worked perfectly!
    Now the customer has decided that they want the header on each page...
    So now I don't need to use your solution but it's good to know how to solve it.
    Fortunately (?) I've got a new problem now.
    If the output spans two pages I now get one head, the first part of data, head again, rest of data and foot. Fine.
    The problem is that the columns of head and data on page two are not aligned with the ones on page one.
    So head and data always align, but only withing the page. Page two might be much wider than page one.
    This is is HTML output and the frames are set to horizontally fixed.
    Seems to be the footer. Didn't help putting it in a horizontally fixed frame of it's own.
    Suggestions?
    Kind regards
    Tomas

  • Can I use word and PDF on my iPad with icloud

    Can I use microsoft word and pdf files from my PC on my iPhone and iPad if I'm using iCloud?

    Microsoft does Not make an iPad compatible version of their Office programs such as Word and Excel.  But as Johnthe AppleFan pointed out, you can use Apple's Pages to to open Word Files.
    Hope this helps

  • I have iCloud set up on my iMac,iPhone and iPad. How do I use the storage in iCloud? Can I upload Word and pdf files?docs?

    My iPad and iPhone have iCloud icons. How do I access iCloud from my iMac?
    How do I take advantage of the free storage? Can I upload photos,Word and PDF docs?

    Open contacts on your phone and check your groups.  Do your contacts belong to any non-iCloud groups such as On My iPhone, a Gmail, Yahoo or Exchange account, or anything else?  Also check Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section).  What is selected as your default account?

  • How can I embed files of word, excel, and pdf format in a pdf document

    I have a word document of the product, which I am updating for next product release. However, there are some excel, word, and pdf files embedded within a word document. When I double click these embedded files in word, these files open in a new window. However, we deliver documentation to the customer in the pdf format. Therefore, when I am converting the word document in the pdf format, only an icon of the embedded file is displayed and the files do not open in a new window. Can someone let me know how can I embed these files (in word, excel, and pdf format) in a pdf document?

    You must attach them to the PDF file after it is created. You cannot embed file attachments onto a page as you can with Word.

  • I am unable to open the microsoft word and excel and pdf files after upgratding to 4.3.3 os version

    I am unable to open the microsoft word and excel and pdf files after upgratding to 4.3.3 os version. I was able to access them in 4.3.1 .
    Can anybody tell when is this getting resolved.

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    Your old Profile is located here in Vista & Win7: <br />
    ''drive'':\Users\''Windows login user name''\AppData\Roaming\Mozilla\Firefox\Profiles\''profile_name''

  • Is there a way to merge Static PDF files and PDF Forms

    Hi All,
    The issue I am facing is this: 1200+ PDF forms that employees
    will need to sign. The docs are being created in MS Word, and all
    have a standard signature block. We have prototyped using LiveCycle
    Designer 8 to add fields to static PDF files (print Word files into
    Acrobat, import into LiveCycle and paste in fields) but this is
    pretty labor-intensive to use with a minimum of 1200 forms per
    quarter.
    The employee forms go into a CF8/Oracle library app (stored
    as BLOBs) and served up for 7,000 or so employees to sign. Posted
    data goes back into database.
    Here is the issue:
    Does anyone know any way to use some combination of cfpdf /
    cfpdfform / cfdocument that will allow us to create ONE generic
    signature block form, 1200 static PDF files, and merge them on the
    fly?
    <cfdocument> apparently does not allow PDF data to be
    included with a <cfpdfform>, as I have tried outputting PDF
    variables, toBinary(PDF variable), PDF served by <cfcontent>
    and various other combinations.
    (If the non-form data were HTML, we could easily output in a
    <cfdocumentsection> of the cfdocument, and add the
    <cfpdfform source="#genericForm#" action="populate"> and be
    done with it. But, we can't.)
    <cfpdf action="merge"> with a combination of a static
    PDF file and a populated form results in a flattend PDF file with
    no form data.
    I am acutely aware that LiveCycle 8 uses the XFA schema, and
    regular PDF documents use a different schema. And, this may
    prohibit what we want to do.
    If anyone has experience with CF8 PDFs and PDF forms, or has
    any helpful thoughts, I would be appreciatively gross. Needless to
    say, this is a six month project that must be live at the end
    November.
    Thanks!
    Jim Bates
    Verizon Business

    As I mentioned on the other thread, the forms need to be
    flattened. CFPDF cannot flatten LiveCycle forms, only Acrobat
    Forms. The suggested solution was to use LiveCycle ES
    http://www.adobeforums.com/webx/.3c052176

Maybe you are looking for