How to print in a local printer

Hi, i was wondering if is there an option to show the button that allow the user to select the local printer to print the report generated by de JSP viewer. I only can print the report via PDF and that's not a good solution for my project. Can you help me, i'm new in crystal reports for Eclipse, i used to work with it in visualbasic and i only had to select the buttons to appear in the report navigation bar.

I'm trying to implement use of the ActiveX control but get an error message in compiling my jsp (which compiles & runs otherwise):
code snippet:
crystalReportPageViewer.setPrintMode(CrPrintMode.ActiveX);
compile error:
CrPrintMode cannot be resolved
I get the same error message regardless of whether I spell ActiveX this way or all upper case (as some examples show).
Anyone have any suggestions?
Thanks,
Bill

Similar Messages

  • How to print reports on local printer?

    We are using the rwservlet to print the reports using Oracle reports 10g release 2 report server.
    Is there any way to send the output to local printer directly instead of browser. The output is in PDF format.
    Any suggestion/link will be appricated.

    i have a group of reports, need to print at once. so planning to call the reports one by one from java using rwservlet as below..
    1.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abc1.rdf&cmdkey=abc
    2.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abc2.rdf&cmdkey=abc
    N.http://localhost:7778/reports/rwservlet?server=rep_barcode_frhome2&destype=Printer&printjob=yes&desformat=pdf&report=/tmp/abcN.rdf&cmdkey=abc
    Since it will have many pdf, so want to print directly to local printer to user. they will be accessing through Internet.
    Thanks in advance.

  • Counter Sales - Printing Receipt in Local Printer?

    Dear All,
    We have a Counter Sales scenario. We are using Quick Sale Order for that.
    We have around 14 branches in Dubai, Abhudhabi etc.
    When a customer comes to a counter, the sales person will book the order and print a invoice on a preprinted stationary in a dot matrix printer which will be located in each counter.
    Our issue is the time consumption of printing in the local printer as the every time a request is run, it will go to the server and comes back.
    For example, when a person in Abhudhabi prints a Receipt, the request will come to Dubai ( Since the server is in Dubai) and will print in the local printer.
    Is there any way to increase the speed of the printing request?
    Regards
    Merlin Rajesh

    The data in the invoice/receipt/order will always have to go from the server to your local printer across the network. Whether direct to your printer from the server, or through your client PC then to the printer.
    If the time consumption was inherently caused by the network, you would probably be having serious performance issues.
    So my guess is that you are submitting a job to the concurrent manager and the time delay is the time from when you submit the request to when the job actually starts (and completes) then spools to the printer, with the main delay being it waiting in the queue of pending requests. Otherwise it may be how long the print requests are taking to run.
    So you need to confirm where problem lies. Check this via the Date Submitted, Date Started and Date Completed on the current request.
    If the time delay is between the Date Submitted and Date Started then you could define a new concurrent manager specifically (and only) for handling the print jobs that are time critical via System Administrator > Concurrent Manager > Define (copy the Standard Manager), and create specialization rules that only include your print concurrent programs (Invoice, Receipt). Then on the work shift, change the sleep seconds down to a low value (say 5 or 10 seconds).
    PS. An alternative way to do this could be to create a "form" or front end component that gives you the report/format you need in real time, and print directory from your local machine ... but thats gonna take more than 5 minutes to create ;-)
    Gareth
    Blog: http://garethroberts.blogspot.com

  • Printing Problem at LOCAL  Printer

    Hello guru's,
    Through workflow after approval and release of Purchase order, it should print at a LOCAL printer. but it is not happening. Will anyone suggest me the reasons behind that.
    Full points for useful solution

    Hi,
    There're quite a number of steps between release of PO and the piece of paper appearing on the printer.
    Has a spool request been created?  What status does the spool request have?  Is there an error log for the spool request?
    Is the release happening in a background task or dialog?  If LOCAL is using SAPlpd on the user's PC it won't work in the background.
    Regards,
    Nick

  • How Do I Redirect LPT1 Printer Port to 'LOCAL Printer' in Windows 7

    I have previously redirected LPT1 Port to a 'Network Printer' as well as 'Print Server' with NO PROBLEMS. 
    However, I have NOT been able to redirect LPT1 Port to a 'LOCAL' PRINTER. I have already set up:
     - new HP Laser Printer (tested, no problem printing in Windows)
     - the printer is SHARED, shared name is "HPLaser" (tested by viewing Shared Printer Name and Computer Name in DOS)
     - bat file as --> Net
    use Lpt1 \\DkTop1\HPLaser /persistent:yes 
       (I checked to ensure the 'Computer
    Name' and the 'Shared
    Printer Name' are correct. Tested by running bat command, no
    error message)
    When printing in DOS and viewing "What's Printing" from Printer Icon, 
     - the DOS print job appears immediately as "spooling", 
     - then "printing" and "USB001" Port. 
    So, it appears to be printing from the DOS application, also
    note NO ERRORS from DOS Program or Windows but it does NOT print.
    The only difference between the 'Local Printer' setup and
    the 'Print Server Printer' setup is,
     the 'PRINT SERVER'
    goes to an "IP Address w/Standard TCP/IP Port"
    and the 'LOCAL PRINTER'
    goes to "USB001 Virtual Printer for . . .". 
    IS THERE A PROBLEM in
    SETTING UP THE 'LOCAL PRINTER'
    with 'USB001 VIRTUAL PRINTER' Port???
    If so, how do I resolve? If not, please note what is the problem(s) and resolution(s). Thanks.

    Hi,
    you install the new printer, which port you choose to use? What do you mean by saying "'USB001 VIRTUAL PRINTER' Port"
    here?
    As the printer is configured locally, there is no need to redirect the port to it.
    Install a printer
    http://windows.microsoft.com/en-hk/windows/install-printer#install-printer=windows-7
    Here for more information:
    http://windows.microsoft.com/en-hk/windows-vista/add-or-remove-a-printer
    If possible please take a try to delete the printers holding the Lpt1 port, then reconfigure the local printer following the instructions provided above.
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Printing in the local printer

    Hello all,
    We are converting an SQLForms 3 application(SCO unix DB Server) to web application(10g AS Linux, 9i DB SUN Solaris,10g Forms).
    We have to print a file stored in the AS/DB server in the local machine's printer.Searched a lot but in vain.
    Can anyone suggest a solution..?
    Thanks in advance..
    Jeneesh

    What i had tried, is just very simple,
    1) create a java class, PrintWrapperjava.java as
    package print;
    import oracle.forms.ui.*;
    import oracle.forms.properties.*;
    import java.io.FileOutputStream;
    public class PrintWrapperjava extends VBean
         private static final ID FILECONTENTS = ID.registerProperty("FILECONTENTS");
         private static final ID PRINTER = ID.registerProperty("PRINTER");
         private static final ID PRINT = ID.registerProperty("PRINT");
         private StringBuffer fileContents= new StringBuffer();;
         private String printerName;
         public boolean setProperty(ID id, Object value)
    try
    {  if (id == FILECONTENTS)
    fileContents.append(value.toString());
    System.out.println("File Contents : " + value.toString());
    return true;
    else if(id==PRINTER)          {
         System.out.println(" PRINTER : " + value.toString());
         printerName = value.toString();
    return true;     
    return super.setProperty(id, value);
    catch (Exception e)
    {   e.printStackTrace();
    return false;
    public Object getProperty(ID id)     {
         if (id == PRINT) {
              try{
                   FileOutputStream printerOutput = new FileOutputStream(printerName);
                   byte[] toByteArray = fileContents.toString().getBytes();
                   printerOutput.write(toByteArray);
                   printerOutput.flush();
                   printerOutput.close();
                   fileContents = new StringBuffer();
                   return (Object) "Printing Success";
                   catch(Exception e)     {
                   System.out.println("Exception has occured " + e.getMessage());
                   return (Object) "Printing Failure due to : "+ e.getMessage();
    return super.getProperty(id);
    2) Create a jar, and then sign it.
    3) From forms,
    you need to supply, the fileContents and the printerName, and Print, event will trigger the action.
    like
    1) create a bean area, set its impl class as print.PrintWrapperjava
    2)
    set_custom_property('BN_PRINT',1,'FILECONTENTS',v_file_contents);     
    set_custom_property('BN_PRINT',1,'PRINTER',v_share_printername_wrt_client);
    v_msg := GET_CUSTOM_PROPERTY('BN_PRINT',1,'PRINT');
    message(v_msg);
    message('');
    This has lots of limitations.. but could serve as just a starting point.
    All the best !!
    Regards
    Deepz : )

  • Printing Problem with Local printer

    Hi Experts,
    My clients has installed new HP LaserJet p2015dn printer in SAP.
    I have used the  font "HELVE" in my sap script, when i take the printout with HP leser jet 1022N it gives correct printout. where as when i take the printout with local (HP LaserJet p2015dn) Printer it give the printout in unreadbale format (no spaces between each alphabet)
    I can change the font and solve this proble but i have used same font in many forms and the client wish to take the printout with newly installed printer only.
    Please help.
    Thanks
    Ganesh

    dear ganesh ,
        whn client installed new Hp lajer jet  printer , for that client dowload some text file , is is not download in computer thats y  smartforms not coming properly
    so pls contact client administrator and download all this files which is supported that new printer . thn problem will solve
    regards ,
    nikhil.

  • Unable to print to local Printer over RDP - Windows Server 2008

    Hi,
    Windows 2008 Foundation R2.
    Started to have issues with printing to a Local printer over RDP.
    The problems started on Friday 11th April. The only possible issue I can identify is that around that time LogMeIn was updated on the server, including the LMIPrinter DLL's.  I have contacted Logmein for instructions on how to uninstall LMI completely
    and followed these but am still experiencing the problem.
    When attempting a Test Page print the confirmation that the Test Print has been sent to is displayed and the print appears then disappears in the Print queue but nothing appears on the Local PC print queue or event logs.
    On the server the Event Log shows the following error;
    The document Test Page, owned by admin, failed to print on printer Canon MG7100 series Printer (redirected 2/copy 1). Try to print the document again, or restart the print spooler.
    Data type: RAW. Size of the spool file in bytes: 142691. Number of bytes printed: 0. Total number of pages in the document: 1. Number of pages printed: 0. Client computer: \\ONESTAGE-TS01. Win32 error code returned by the print processor: 2147500037. Unspecified
    error
    I have searched for possible solutions to RDP printing problems and where relevant implemented them but no change.
    I have access to a second customer who uses RDP and am able to log onto that and print to my local printer so am pretty sure there is nothing wrong with the local printer or settings.  On the Server with the problem the problem affects all RDP users
    and all printers (including Adobe PDF printer and MS XPS printer).  All printers are defaulting to the EasyPrint Drivers.
    Grasping at straws I think the LMI update has banjaxed something with the RDP remote printing and an LMI uninstall hasn't fixed it.  Is there a way to reinstall the RDP Printing?  Would uninstalling & reinstalling .NET have that effect?

    Hi,
    Thank you for posting in Windows Server Forum.
    What’s your client OS and RDP version in your environment?
    First of all suggest you to run “sfc /scanow” with this link to check whether which file causing the issue. Check the RDP version on the RDP client computer as well as the .NET framework version with respect to the operating system used (as explained above).
    Also verify that the RD Session Host / Terminal Server role is installed if the host computer is running Windows Server 2008 R2 or Windows Server 2008.
    The setting “Use Remote Desktop Easy Print printer driver first” must be set to “Enabled” for Easy Print redirection, and it has to be “Disabled” for Legacy Print. For “Not configured”, Easy Print is chosen by default.
    Check The Remote Desktop Configuration Tool (tsconfig.msc) settings to ensure that the “Windows Printer” option is not disabled (it is not disabled by default). 
    Make sure that the “Printers” check box in the client (mstsc.exe) window on the “Local Resources” tab is checked. The corresponding setting in the associated RDP file is “redirectprinters:i:1”.
    More information:
    Using Remote Desktop Easy Print in Windows 7 and Windows Server 2008 R2
    http://blogs.msdn.com/b/rds/archive/2009/09/28/using-remote-desktop-easy-print-in-windows-7-and-windows-server-2008-r2.aspx?Redirected=true
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Not able to print to local printer on someone else's machine

    I have a user in our office who hooks up to the internet, but now has a new machine and did not hook up to our domain.  She uses Windows 8.1 and has a local printer for her advisors to use.  She used to be a part of the domain, and people(who are the domain) could print to her local printer.   Now that she is no longer part of the domain no can print to her and when you try to add her printer, it says access denied.   What's going on?
    This topic first appeared in the Spiceworks Community

    I have a user in our office who hooks up to the internet, but now has a new machine and did not hook up to our domain.  She uses Windows 8.1 and has a local printer for her advisors to use.  She used to be a part of the domain, and people(who are the domain) could print to her local printer.   Now that she is no longer part of the domain no can print to her and when you try to add her printer, it says access denied.   What's going on?
    This topic first appeared in the Spiceworks Community

  • Local Printer not working via Remote Link

    I have a problem with my remote desktop printing to my local printer.  I connect via RD on Windows 7 Home to Windows 7 Pro.  I have installed an HP Laserjet Pro CM1415fn printer.  All prints fine locally.  Also everything printed fine
    but have had to have a recent update to my Remote PC that I log into.  So the printer had to be reinstalled.
    All worked ok for about 6 print jobs then stopped working.  Nothing has changed.  I have changed the settings on the printer as it seemed to be when the printer went into 'Sleep' mode.  I have tried restarting the Printer Spooler in Services
    and rebooting the remote PC but no joy.
    Any ideas please.

    Hi,
    You mean after the reinstallation, the local printer worked for a while and then stopped working with nothing changed?
    Take a try with the printer troubleshooter:
    Open the Printer troubleshooter
    Also see if the below thread could help:
    Local Printing with
    Remote Desktop not working: Windows 7 Pro 32-bit & MS Server 2003
    Best regards
    Michael Shao
    TechNet Community Support

  • Local printer not showing up in RDP session

    Is the user RDP using the RDP shortcut saved or creates a new connection everytime? if using the save connection, have you tried deleting it and re-creating it and checking the local resources option again. It should show up a redirected printer in RDP session.

    Hi Spicepros,
    Situation: I've got a Windows 7 machine using RDP (let's call it Local) connected to a remote Windows 7 machine (Remote) which is hosted on an iMac in Boot Camp. It is a VPN connection. The printer, attached directly to the Local system is an HP LaserJet 400 M401 PCL6 connected via "USB001 Virtual Port".   But this printer does not show up on the remote Windows 7 machine.  
    The RDP connection has Local Resources turned on.
    My colleague was able to print to her local printer until she replaced her printer. Now we can't make it work.
    Any suggestions would be greatly appreciated!
    Warm regards,
    Dave
    This topic first appeared in the Spiceworks Community

  • How to set to print to a specific printer name

    Background:
    I have a form (one page) which has two hidden pages to it (front and back of certificate).  The details entered on form appear on certificate.  I have a hidden button on form which when pressed asks for a password and unhides certificate if correct password is entered as well as a button on form to print the certificate.  This button to print the certificate is preset to print only pages 2 and 3.
    Question:
    I would like to know if there is a way of setting the "print certificate" button to automatically select a printer name as forms can be printed on any local printer but the certificate needs to print to a specific printer which is colour and has card stock.
    The only code I have currently behind this print button is the following:
    xfa.host.print(1, (xfa.host.numPages -2).toString(), (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);

    Hi,
    I am fairly sure that you cannot do it using the xfa.host.print, but you may get a printParams working. See an example here https://acrobat.com/#d=Kuivy1SdOSbQnRs3kyeVDQ, in particular on page 2.
    Hope that helps,
    Niall

  • Printing dashboard with network printer

    Is there any way to send/print the dashboard page to physical network printer? i am having links to HTML print and PDF print. But i want to print with network printer. please give some suggetion.
    thanks

    Currently there is no out of the box solution. But with some amount of work you can make it very robust by using ibots and BI Publisher Java APIs. You need to basically call the delivery manager API from the ibot. You can pass the output of a dashboard to the API which can print to a local printer. I have an example in my blog entry here http://oraclebizint.wordpress.com/2008/02/01/oracle-bi-ee-101332-calling-bi-publisher-java-apis-from-ibots-storing-reports-in-file-system-using-delivers-and-bi-publisher-scheduler/. Though this talks about storing the reports in a file system, the idea is the same. Instead of a file-system destination use printer as the destination.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Getting Printer Destype for Report Printing

    Hi all
    I am using 9ids.
    On server side it works fine
         set_report_object_property(rep_id,REPORT_DESTYPE,PRINTER);
         set_report_object_property(rep_id,REPORT_DESNAME,'\\Admin1\NPR');
    Now i want from client side where report server is not loaded but printers are installed on client machines.
    I want from form to get that client printer and report output on client printer
    some ideas.

    Hi,
    actually three things need to be true for Reports Server to be able to print on a local printer.
    1. The local printer must be a network printer
    2. The network printer must be configured on the server that runs the Reports Service
    3. The Reports Services provess must run under a user that has network access privileges. This can be achieved by starting the HTTP server (e.g. OC4J in Oracle9iDS) while being logged in as such a user.
    You can use Java in Forms to get a list of printers configured on the client, but I haven't looked at this long enough to tell if there is a chance to determine whether or not a printer is a network printer.
    I think that downloading teh Reports as a PDF document in teh Browser and then using teh Acrobat Reader print option is a good alterantive (if not for mass printing)
    Fran

  • Printing barcode from locl printer

    Hi,
    We can print barcode from printers set up in sap but not from the same printer if we select locl. as per sap note 14561, Barcode printing is not supported directly with Frontend printing.
    It seems in order to print from locl printer, we need to buy some barcode.dll files. Has anyone able to print barcodes w/o using these dll files. These files are a bit expensive as they contain software to design barcodes also. In our case barcode is already designed in sap and we just want to print it. any suggestions?
    Thanks,
    Jassi

    Ashok,
    we are able to print barcodes on the printers that are set up in sap. Issue is when we print on the locl printer. To be more clear, I have a printer which is set up in sap as 'SAP-1'. The same printer is my local printer. While printing if I select 'SAP-1', it prints barcode, but if I select LOCL as printer(even though physically the printer is same), It does not print the barcode.
    We have some printers in field which can not be set up in sap. That's why we want some solution that can print barcodes on a locl printer.

Maybe you are looking for