Reports output to a file and printer/previewer

Group,
It's been a while since I messed with reports, but I have been given the requirement to somehow save a copy of a generated report, so that it could be reprinted at some later date exactly as it was originally printed. My initial thought was to save a copy of the report in pdf format at the time it was printed. Uses a unique file name and record that in our app.
My questions are is that technically possible, ie save to unique (to that printing) named pdf file at the same time it is printed? Or would they have to run the report twice? Once for the printer and once for the pdf file?
Are there any better alternative methods?
We are currently using forms/reports 6i, soon to be moving to 10g. But the requirement for this feature is required before we move to 10g. This would be required to work on several different reports.
Thanks for any advice.
--pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

6i client server. Calling reports from forms.
So the save to file first then print with host is an option. Will that work with previewer?
thanks.
--pat                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to generate report output in csv file and send it to user email inbox

    Hi All,
    We have requiremnt to generate the csv file from the report (Bex query)automatically and need to send that file automatically to user email address every week.
    It should be done automatically and one more thing the file name should contain that particuar date
    for example if we generate file automatically today the file name should be like below.
    US_04_15_2009.CSV
    Any one have any ideas?
    Regards,
    Sirisha

    Hi Arun Varadarajan.
    Thanks for your reply.We are in BI 7.0.Can you tell me how to  broadcast the query as CSV.Please let me know  if there is any possiblity to display or change the file name dynamically  based on system date.
    Regards,
    Sirisha
    Edited by: sirisha Nekkanti on Apr 16, 2009 4:08 AM

  • Issue : Read a text file and print the same

    Hi, My requirement is to read a text file and print it the same way.
    import java.io.BufferedReader;
    import java.io.FileReader;
    public class CatFile {
    public static void main(String[] args) throws Exception
         FileReader file = new FileReader("D:/Test/Allfiles.txt");
         BufferedReader reader = new BufferedReader(file);
         String text = "";
         String line = reader.readLine();
         while (line != null)
              text += line;
              line = reader.readLine();
         System.out.println(text);
    The text file i used contains
    A
    B
    C
    but my output is ABC.
    What change should be made to print it the same way in the txt file ?

    Hi EJP,
    I modified the code based on your suggestion and now its working as expected. Thanks
    Modified code :
    import java.io.BufferedReader;
    import java.io.FileReader;
    public class CatFile {
    public static void main(String[] args) throws Exception
         FileReader file = new FileReader("D:/Test/Allfiles.txt");
         BufferedReader reader = new BufferedReader(file);
         String text = "";
         String line = reader.readLine();
         while (line != null)
              System.out.println(line);
              line = reader.readLine();
              text += line;
    }

  • Event id related to the removal of the file and print sharing for networks

    Hi ,
    Recently print team has migrated the print server from the physical old server A to the VM server A-new .After the migration ,  the server A-new is retained with the name server A shutting down the old server .
    But the clients are reporting that they are not be able to print because we found that due to this print team migrated the old print server to the new print server with the duplicated entries which reflected in AD. This our server team came to know once
    the complaint raised  by the site person to us saying that their printers are not working at all.
    While checking the issue only then we found that the duplicated entries are found in the AD for the printer objects published in the AD.Print team has done the improper migration and left to server team saying that it is our responsibility to solve the issues.
    And I suspect that somebody has  removed the file and print for networks in the network portion of the windows.We came to know only when we try to take any share either file share or print from the particular server to file server.
    After enabling that option in the network portion , everything got resolved as the duplicate entries removed from the AD and published one instance of the printers.
    I need to find the event in which this action has been triggered to remove that component and from that to identify who has done that..
    Any help is greatly appreciated
    Thanks & Regards S.Swaminathan Live & let others live!!!

    There are some print events on the Domain Controller if one of the DC "pruned" the old print objects.  Unfortunately these are information events logged to Print-Service Operational channel which is not enabled by default.  You might
    be lucky and someone had these events enabled. 
    Check if the channel is enabled on all your domain controllers. 
    http://social.technet.microsoft.com/wiki/contents/articles/13308.troubleshooting-windows-server-2012-printing.aspx
    Alan Morris formerly with Windows Printing Team

  • Problem with file and printer sharing

    I just installed a Linksys WRT54G to replace a D-Link wireless router and cannot reestablish my file and printer sharing since replacing the router.  I had file and printer sharing working fine before installing the WRT54G.   All of the computers are running either XP Pro or 2000 Pro.  I have two printers attached to one of my computers that I was previously sharing with all of the other computers on our home network.  One is attached via a parallel port, the other via a USB port.  
    Here's what I've tried so far without success.
    1.  The IP of the WRT54G is 192.168.1.1, and the IP's it assigns to my LAN computers begin 192.168.1.XXX.  The old IP of the D-Link was 192.168.0.1 and its LAN IPs were 192.168.0.XXX, so I've gone into my firewall and changed the settings for the range of trusted computers to correspond to the WRT54G's IP addresses.
    2.   I've tried uninstalling the printers and reinstalling them, including reinitializing printer sharing.
    3.  When I try to use the Windows  "Add printer" wizard to add a networked printer, it can see the computer that has the printers attached, but it does not see the printers.
    4.  I haven't fooled around with the file sharing settings, but they've all be lost too, so I suspect there is a common problem for both printer and file sharing.
    Any suggestions would be most welcome.  I don't know what would be different about the WRT54G that would cause this problem.

    Try this to Enable File and Printer Sharing...Turn Off the Router Firewall...Make sure the Windows Firewall is also Off...

  • File and Printer Sharing problem

    Message Edited by bartman_60042 on 11-13-2007 05:47 AM

    Oops...somehow submitted without any text.
    My set-up: Linksys Cable Modem with Linksys Wireless Router.  2 Desktop Computers (Black and Grey) and 1 Laptop.  Windows XP SP2 with all current upgrades on each.
    While setting up File and Printer Sharing, I have the following:
    1) The Black computer can file/printer share from both the Grey computer and Laptop.
    2) The Grey computer can only file/printer share from the Laptop; not from the Black computer.
    3) The Laptop can only file/printer share from the Grey computer; not from the Black computer.
    All 3 computers were configured the same as far as I can tell.  The only difference I notice is that the Black computer boots without the XP 'login' screen (no password required), could this be causing the problem?  If this is the issue, how would I change the settings to 'login' to the Black computer?  Any thing else which may be wrong?

  • File and Printer Sharing Problem with WRT54G

    I am currently having problems sharing files over my network. My setup consists of:
    3 laptops (wireless)
    1 desktop (wired)
    WRT54G V6.0 router with firmware version 1.00.9.
    All of the computers have File and Printer Sharing enabled, unique names, and are on the same workgroup. However none of the computers can see one another. When I try to view workgroup computers for my network places, the explorer window stops responding for about 30 sec. and then spits out a dialog with the error:
    "Workgroup is not accessable. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
    The list of servers for this workgroup is not currently available."
    I think that this problem has something to do with the router, as I have been successfuly sharing files and a printer with these settings using a microsoft 802.11b router for over a year. After purchasing the linksys and swapping it out with my old router, filesharing no longer functions.
    I have spent a little time browsing the forums and have seen other posts from people with simmiler problems, but was unable to find any solutions.
    Any help would be much appreciated.
    Thanks.

    I'm having the same problems as you are, I have 2 computers on wired the other wireless the router is in between and I can't access from either side, although I can ping and remote connect but just cannot share files across the network. I have looked all over the forums too and there saying to ditch linksys and do something else.
    Its not you thats caused this it is the firmware and the router that have the problems.
    My Specs:
    WRT-54G
    v5.0
    That new firmware update 1.00.9 just isn't working right. I might downgrade my fireware to fix this problem.
    Message Edited by justin2006 on 09-26-200612:24 PM

  • File and printer sharing for Microsoft Networks on Windows server 2008

    Hi Expert,
    I found that the properties of File and printer sharing for Microsoft Networks service disabled after I install the windows server 2008 64bits. I tried to install that service via adding the file and printer sharing services in the properties of local area connection, but it doesn't contain any service in the popup box.  Also, no such service file available in the disk when I tried to install the service from installation disk of windows server 2008 64bits. Is the file "sacsrv.dll" corresponding to the service name of file and printer sharing? I found it is in the directory of "Windows\system32".  I have no idea about where is the problem? Do I miss some components? Please tell me what can I do for it? Thanks!
    Best Wishes,

    Do any experts know the reason of this problem?  Thanks!

  • E3000 file and printer sharing issues

    Yes, there is at least one other thread on this but it looked a bit stale.
    Last Friday I replaced my BEFSR41 router and WRT54G wireless access point (which had gone brick on me) with an E3000.The E3000 is configured as a DHCP server at 192.168.168.65 with a scope of 66-115. The only other non-default setting is that I opened up the custom port for my slingbox.
    Prior to making the switch, I had several network shares on an XP desktop that I used frequently from my Vista laptop. Now, however, I can no longer even "see" any other computer from any of the computers on the network, much less access their shared folders. In other words, if I view the network from any of these machines, the only machine that shows up is the machine itself. Everything else (internet access, slingbox, a print server) is working just fine.
    One of the suggestions in the other thread was to turn off Norton Internet Security, which is of course not a viable option. However I did check the settings, relaxed the network default to "Shared", and raised the XP desktop to "Full Trust". This had no effect.
    I pinged the various computers, and was able to do so by their IP addresses, but not by their computer names (that worked with the old router). On a hunch, I tried creating a mapped drive, and that also worked when I used the IP address, but not when I used the computer name.
    So - there's nothing wrong with the network configuration, or with how the shares are set up, and Norton isn't the problem. The only problem seems to be that names aren't being resolved, which could be affecting windows discovery, too. Did the BEFSR41 provide some local DNS functionality by default, and the E3000 doesn't? Is there an option I need to enable? If so, I can't find it. Perhaps I should explicitly add the E3000's internal IP address as a third nameserver??
    A note on the "support" I tried to get before I turned to the forums: The "Chat agent" asked a bunch of questions, misunderstood my configuration and my problem, and once he finally did understand said "we don't support file and printer sharing". It took me several more questions to learn that he really meant that the Chat facility isn't the place for these questions - I had to call the 800 number. I did that, and after several minutes on hold, reached an agent. After going through everything again, and with the rep going on hold several times to "speak to his supervisor", he said it was "beyond his competence". I was eventually told I had to call another FEE-BASED service. I told him that was unacceptable.

    Ok, another update and possibly some clues.
    I was curious why at one point, when all the computers were in Workgroup2, that "Workgroup" still showed up in Explorer under the list of networks, but only on the two XP machines. Netscan showed this group association as well, which I then realized was the E3000 itself, in its role as a [I]potential[/I] NAS server. However there was no storage device attached.
    Could this in itself cause the access error? If so, should users be advised that if they don't plan to host any storage, that they should to go to the E3000 Storage Administration page and change the workgroup name to something other than their actual workgroup name?
    In my case, I changed it to "Workgroupx", though perphaps something like "StorageGroup" would be more meaningful, especially if the Workgroup computers could still access any storage I might install in the future.
    Anyway, I repeated my original approach (after the above change and a router reboot), and at least got my original Workgroup reestablished to the point where the XP machines not longer get access errors, and most machines can access the shares on the XP desktop. The steps I used on each machine were:
    remove any shares I had set up on any folders
    uninstalled the File and Printer Sharing service
    Accessed Computer Name properties page to change the workgroup name
    Shut Down
    After all 4 were done, I reversed the process:
    Started computer (now coming up in new Workgroup)
    Reinstalled File and Printer Sharing service
    Checked visibility
    At this point, the XP machines could see each other, and the Win7 and Vista machines could see each other, but initially these two cliques wouldn't interact.
    Next I re-added the shared folders on the XP desktop, and the XP netbook could see and access them. After about an hour, the Win7 machine joined this clique, and could also access the shares. But six hours later, the Vista machine is still clueless. Netscan shows everything of course, and I used it to set up a mapped drive on the Vista machine to one of the shared folders.
    Other possibly relevant facts:
    The was all working fine with the BEFRS41/WAP54G combo
    I can ping all machines by IP address, but not by name
    On the Vista machine I can set up mapped drives to the XP's shared folders, but again, only by IP address.
    At one point I removed NWLink from the XP desktop. Now, nbtstat -r only shows the printserver's name being resolved.
    The two XP machines, being SP3, lack the LLTD responder.
    So,
    Is it possible the NetBIOS in NWLink was providing some kind of name caching? If so, should I reinstall the protocol driver (I don't think it is available on Win7)?
    Should I request and apply the KB922120 hotfix to get LLTD onto the XP machines?
    Perhaps in the morning, "by name" access will have returned, as it did on my first go-round. Needless to say this has been a real pain, what with all the reboots required. At least now I remember to hit F8 so I can select Safe Mode with Networking...

  • REPORT output to possible files formats

    Hi Folks
    How can we tranasfer a REPORT output to any file like( .XLS, .XML, or to anyother possible file). Can u give all the possible file procedures.
    Thanks in advance.
    I wont forget to reward points.
    Regards,
    Ram

    Hi Ram,
    Use can very well use the function module 'GUI_DOWNLOAD'.
    The below code clarifies your doubt as how to mention the path in the selection screen.
    tables: mara.
    data: itab type standard table of mara.
    select-options: s_matnr for mara-matnr.
    parameters: filename like rlgrap-filename default 'C:\materail_details.xls'.        " download filename
    start-of-selection.
    select *
    from mara
    into table itab
    where matnr in s_matnr.
    perform file_download.
    *&      Form  file_download
          text
    -->  p1        text
    <--  p2        text
    form file_download .
    data: filename1 type string.
    filename1 = filename.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = filename1
       FILETYPE                        = 'DAT'
      tables
        data_tab                        = itab
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " file_download
    Here C:\material_details.xls is the path to save your file. In the same way you can save a text file also.
    Hope this clarifies your doubt.
    Regards
    Sayee

  • Lenovo Thinkvanta​ge Access Connection​s prevents Microsoft File and Printer Sharing

    We have several Think pad laptops deployed in our company, including G41, T61, and T500 models.  We are using Numara's Track It software to inventory our workstations and laptops.  The auditing process needs to have Microsoft File and Printer Sharing turned on in order to work.  We have enabled a group policy to set this to on by default.  However, the Thinkavntage Access connections manager for the LAN connection overrides the GP and turns off the File and Printer Sharing by default.  What's worse, with it off, we can't remotely manage the machine's services or even access the registry.  We know that his is the issue, because reconfiguring the access connections manager to allow the file and printer sharing will allow all of our remote administration tools to work, insluding the inventory audit.
    Does anyone know how to disable the access connection manager from running remotely?  or does anyone know how to change the settings remotely to all for the microsoft file and printer sharing to be enabled by default.  I would hate to have to visit each user individually just to turn off a setting. 
    anyone else run into headaches because of this "security feature"? 
    Jason

    1.Find snetcfg.exe on internet
    2.Create batch who runs snetcfg with this commnads from network locations
    (this setting enable  File and Printer Sharing)
    snetcfg -u MS_Server
    snetcfg -c s -i MS_Server
    3. Deploy and run batch on laptops (GPO)
    4. Deploy new AC profiles settings  (.loa)
    done
    sorry for my english

  • Script to install and enable file and printer sharing windows 7

    Hello
    I posted this question on the Microsoft Partner Windows 7 forum and the support person told me that I should post it here.
    I have a Customer that was running Novell.  We will migrate them to Active Directory.
    The question I have is.  they did remove the file and printer sharing service on their Windows 7 workstations.
    Is is possible to have a command line or a script to install and enable the file and printer sharing for Microsoft Network?
    We need this enable in order to install the SCCM client remotely
    Greetings
    Gaetan Labrecque

    How are you going to connect to the workstations?
    File and print sharing are not needed for Group Policy to work.  GP can be used to re-enable file and Print Sharing.
    You will also  need to start by joining the machines to the domain.  That will be very difficult unless all have PowerShell and are configured for WinRM.
    This can be somewhat accomplished by using VBScript remotely but will require a very sophisticated admin to set up and debug in your environment.  I recommend hiring a consultant who has experience in conversions or is a master VBScripter in a domain.
    There is no easy answer.  It is not about File Sharing.
    Here is how to add roles and features with PowerShell:
    http://technet.microsoft.com/en-us/library/hh831809.aspx
    ¯\_(ツ)_/¯

  • T61 XP-pro Microsoft file and printer sharing unchecks on Intel(R) 82566M NIC after reboot

    I check Microsoft file and printer sharing but after reboot it is unchecked for Intel(R) 82566M NIC connection profile.
    Anyone else seen this or fixed?
    Message Edited by jbaaremartin on 07-18-2008 11:11 PM
    Solved!
    Go to Solution.

    Problem was setting in security section for the profile in Thinkvantage Access Connections; it was set to cancel Microsoft File and Printer sharing.

  • Windows 7 GPO Script - Enable file and printer sharing

    Hello,
    I'm trying to activate the Advanced File and Network sharing bia script (as there is no GPO option to do this)
    The script is simple : 
    netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
    netsh advfirewall firewall set rule group="network discovery" new enable=yes
    netsh advfirewall set currentprofile state on
    in .bat and .ps1 it works fine when logged in to a computer with admin rights. I want to run this script on the computer level via GPO. The GPO applies properly, but the settings aren't changed. Any ideas on getting this to work?
    Environment is the following : 
    DC is WinServ 2008 R2, test machines : Win 7 Pro x64
    Test OU with Inheritance disabled, GPO for testing enforced with no other parameters apart from this Computer Startup script. User and Computer account are in the Test OU.
    gpresult shows the GPO is applied, but no data is available under Computer or User configuration. the script is stored in the correct sysvol location.

    Hi,
    Checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/b193e8a9-9b2a-4993-bd74-836c65c51dc3/gpo-with-a-startup-script-is-not-working
    Regards,
    Gopi
    www.jijitechnologies.com

  • File and Printer Sharing

    Running XpHomeSp2. Just purchased a WRT150N to replace a failing SMC wireless router. Was able to share files and printers before replacement, now cannot. Microsoft Windows Network recognizes Local network by name after long, slow delay, but does not list any computers or shared locations or devices there when access attempted from main computer, but, oddly, list is possible from another network computer, but only the shares it offers to the network are accessible.
    Only difference between now and prior is the router and that WPA security is invoked. Access is not granted when security is disabled. Have found no support for this issue anywhere. Also now note that Xp no longer lists Simple File Sharing in Folder Options, not that I'd used it in original sharing setup.
    Anyone experiencing similar issues able to offer resolution?

    Your computer software firewall may be blocking the file and printer sharing. It was for me. You changed from a 'Trusted' network physical address to a new network physical address. Go into your software firewall 'Trust' settings and change the new address to 'Trusted'.
    I had previously just disabled the firewall. Apparently that's not totally effective.
    Hope this helps.

Maybe you are looking for