How to specify a printer?

I have a coldfusion application that's used by a collection of users who are all using the same type of label printer.
One thing the app does is use cfdocument to generate a pdf sized for this label printer.  It also generates a series of forms that are printed on a regular printer - these vary, and are the default printer on each client's machine.
Here's what I need to know - when the label is generated, they press the print button and the print dialogue opens, how can I make the label printer (not the default printer) the printer that's selected?  So all users have to do is click "print" --> "ok" and the page prints, without needing to choose a printer.
Like I said, I know the exact printer all my users are using.
I know this can be done as one of my users sent me screen capture of another web app doing this.  I didn't catch which scripting language they were using but will try to find out.
So, obviously this is possible with some combination of web scripting / javascript / vbscript / something.  Can anyone offer ANY ideas?  I don't even mind if it's a browser-specific solution in this case.
Thanks much,
Joe

Thanks Tclaremont for the link.
I did look at cfprint and getprinters.  Thing is, I keep reading (in your link too) that they're for server-side printing only.  That's the opposite of what I'm trying to do.  My users are a series of independent businesses strung across the U.S., who all happen to perform the same function and therefore all use the same specialized printer type to do it.  They are all using the same TYPE of printer, but every business has their own, in their own building.  These places are definitely NOT on a network as many of them are competitors.
I don't need to determine the types of printers available on each client's network.  I KNOW which printer I want to specifiy, and I know they all use it.  I just need a way to specify that printer - instead of the default printer, which is usually an office laser printer / copier / fax - in the print page dialogue that I'll probably open with javascript.  I'm trying to avoid forcing the users to select the specialty printer instead of the default every time they print from my system.  It's not a real big deal but you know how that goes: people get in a hurry and you've got print jobs going to the wrong printer, wasting paper, toner, and time.
I've read this isn't possible, but like I said, I've seen another web app that does it.  It's definitely possible that they've "tactfully" installed something on the user's computers to do this, and I'll stop short of that.  But if there's ANY combination of web-based scripting languages that can do it, I'd love to learn.
Thanks...
Joe

Similar Messages

  • How to Specify and Particular Printer?

    I have a simple one page form with a print button (that was or originally created in LiveCycle) that we have been using with Acrobat (For distribution pruposes).
    What I'd like to do it specify a particular network printer for output when a user clicks the "Print Form" button. The form resides internally, so all users have access & permission to this network printer.
    My Question? Is there someway to specify a printer, default to a printer or only allow access to a particular printer in Acrobat (or even LiveCycle for that matter)?
    Thanks VERY Much!

    Thanks very much - I think you have me pointed in the right direction.
    I did some reading and research on JavaScript in the API Reference. From what I understand you add/edit commands under 'Advanced>>Document Processing>>Batch Processing'. I added a new sequence using the printParams method stated in the reference:
          var pp = this.getPrintParams();
          pp.interactive = pp.constants.interactionLevel.automatic;
          pp.printerName = "OrderDesk";
          this.print(pp);
    It all looks good - unfortunately when I use the PRINT putton on the document - it is still asking me to print to my default printer.
    Perhaps I am not adding the method correctly?
    Thanks for your attention!
    (note :: 'OrderDesk' is the comman name of our network printer)

  • How to use Linux Print queue in client_text_io.fopen to print from Windows

    We have a forms application deploed on LINUX (Oracle application server 10g).
    I have to print a file from local windows PC to a linux Print Queue from forms
    I have the following code
    PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
    ,i_network_printer IN VARCHAR2) IS
    l_line VARCHAR2(2000);
    l_fileid_output client_text_io.file_type;
    l_fileid_print client_text_io.file_type;
    BEGIN
    l_fileid_output := client_text_io.fopen (i_filename_output,'R');
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    WHILE 1 = 1 LOOP
    client_text_io.get_line (l_fileid_output, l_line);
    client_text_io.put_line (l_fileid_print, l_line);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    client_text_io.fclose (l_fileid_output);
    client_text_io.fclose (l_fileid_print);
    END file_to_printer;
    Everything works fine if I use a windows printer like \\machine\printer.
    I want to use a Linux printer and specified the print queue as
    \\machine\print_queue_name. It's not working
    and I get error ORA-302000 on the following line
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    and if I give only the queue name no error but it's not printing.
    Could you please tell me how to use a Linux/Unix print queue in this situation

    the simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
    run per print job where stdin has your print data, and stdout is going to your print device. You can just
    send the output to a file instead (assuming you can create a file in the windows directory from the solaris
    box). If it's a network share, you could use smbclient.
    -r

  • How to Set up Print As Image Registry Default.

    This is a response to the archived post at:
    martin hrubes, "How to customize printing by registry - print as image" #, 6 Nov 2007 2:28 am
    I was trying to find out how to set the "Print As Image" advanced setting to be enabled by default. Here is what I discovered through trial and error.
    1. The setting is stored per user and per printer. (i.e. it has to be set for each printer for each user.)
    2. The registry setting is stored in the following key:
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\General\cPrintAsImage]
    3. In this key, each printer has a separate binary value named s0, s1, s2, etc. The number increments by 1 for each printer added. If you open the value data, you will see it contains the name of the printer encoded in hex. (ex. hex coded for \\Server\Printer1)
    My recomendation is to open a pdf file in reader, go to File -> Print ->Select Desired Printer -> Click "Advanced" Options -> Enable "Print As Image" -> Click OK - Click OK again. Repeat for each printer you want to
    change.
    **NOTE** If you don't click OK both times (i.e. cancel the print dialog), the change will not be saved. You have to actually print something to the printer. If you don't want to print something, make sure the printer is offline or not accessible (unplug the network, usb, parallel, serial cable) first. Once the printer has been changed, it will keep the setting until to you change it.
    After you have set-up all of the desired printers, open RegEdit and navigate to the above key. Right click on it, and export it. Note the file name and location you are saving to. Close RegEdit. "Edit" (Right Click) the file just exported ("Opening" the file will just import it back into the registry.). Once opened, highlight and copy the registry key and all of the registry values. Paste the key and values at the end of the file. In one of the keys change "HKEY_CURRENT_USER\" to "HKEY_USERS\.DEFAULT\". Save and exit the file.
    When imported this file will enable the "Print As Image" setting for the currently logged in user plus add the setting to the default users profile so any new users to the machine will have it enabled by default also. However, it will not add it to any other user profiles that already exist on the computer. To do this, either use a login script for domain computers or add the reg file to the "All Users Startup" folder.
    It would be nice to have a setting in the deployment custimazation wizard to handle this, but for now we're stuck with enabling it the hard way.

    Yes Spyla, please see this link http://www.404techsupport.com/2008/09/09/make-adobe-reader-and-adobe-acrobat-use-print-as- image-setting-by-default-2/comment-page-1/#comment-3112.
    Allan, many thanks for your post, it certainly helped point me in the right direction.  what I found though is that you do not need to tick the print as image box at any point during the setting up of this.  All you need to do is add the registry key for whichever version of Adobe you are using for this to work.  So basically. what you are saying for each instance of Adobe is regardless of whether or not the print as image is selected, the registry key is saying always print as image for the printer as specified by the hex code. I have found that for network printers, you have to include the full path i.e. \\<servername>\<printername> e.g \\testserver\printer1 and convert all of that to hex. With later versions (9 up over), they have allowed for the string name of the printer so that it is just plain text which also makes life easier.
    What I do is apply this registry entry via Group Policy on a per room basis so that we only ever need to add one printer to the list.  you could do this globally by adding all printers sequentially using s0, s1, s2 or t0, t1, t2 etc depending on which version you are using.  The screenshot shows the registry key for 1 printer for Adobe Reader 8.
    The value data is the binary code for the actual full printer name
    This works a treat.
    Hope this helps
    Thanks

  • How to create 2 print buttons on a sql report ?

    hello,
    i work on apex 4 and database 11GR2, i configure bipublisher for advanced printing.
    On a sql report i want to have an excel Button and a Pdf button with redirect URL.
    I don't know how to specify in the URL the format output.
    I see in the help
    "use the output format derived from item option and include the item name and value in your Print URL."
    but i look for an example of URL.
    Best regards
    Jean marc

    So, you have to specify a hidden item which contains the value, then specify in print attributes the item name (mine is P5000_TYPE)
    Then you would have button redirect URLs of:
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:PDF') ;and
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:XLS')
    to print in pdf and xls respectively.
    Ta,
    Trent
    Edited by: trent on Dec 10, 2010 11:29 PM

  • The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    Is the Paper Size: set to US Letter and Scale: set to 100%
    Dennis

  • How to connect a printer to Airport in WIFI with Windows

    Hi,
    I just would like to know how to connect my printer (Samsung) to my Airport network through WIFI (My computer is working with Windows).
    Thanks

    Well the easiest would be to plug your printer directly into your extreme using either the USB or Ethernet connection.
    Make sure you then install bonjour and use the printer wizard to convert your printer...
    Bonjour Print Services for Windows v2.0.2
    http://support.apple.com/kb/DL999

  • I upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures? iPhone 5

    i upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures?
    iPhone 5

    How does iPhoto play a part in this?  You're in the iPhoto forum.  Shouldn't you be asking your question in the iPhone forum?  I'll ask the powers to be to move you question to the iPhone forum.
    OT

  • How to restrict pdf printing on a condition

    Hello,
    We generate the pdf and distribute it to the user immediately. I've a business requirement to allow the user to print the pdf a maximum of 3 times. I was able to add the javascript to the pdf to make a webservice call that would keep a track of prints(by getting the pdf blessed by the livecycle readerextensions). Now, I've two questions :
    1.How can I disable printing on the pdf document when max number of reprints is reached?
    2.The pdf throws security warning when it makes the webservice call. Is there anyway to supress it?
    Thanks in advance for the responses.
    Feroz.

    Thanks Neerava. I tried compiling the project in the link you provided and I'm getting the following error:
    build-project:
         [copy] Copying 1 file to C:\ExternalAuthorization 2\output
         [echo] ExternalAuthorization: C:\ExternalAuthorization 2\build.xml
        [javac] C:\ExternalAuthorization 2\build.xml:46: warning: 'includeantruntime' was not set, defaulting to build.syscl
    asspath=last; set to false for repeatable builds
        [javac] Compiling 2 source files to C:\ExternalAuthorization 2\output
        [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\BootstrapImpl.java:3: error: package
    com.adobe.idp.dsc.component does not exist
        [javac] import com.adobe.idp.dsc.component.Bootstrap;
        [javac]                                   ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\BootstrapImpl.java:4: error: package
    com.adobe.idp.dsc.component does not exist
        [javac] import com.adobe.idp.dsc.component.BootstrapContext;
        [javac]                                   ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\BootstrapImpl.java:6: error: cannot
    find symbol
        [javac] public class BootstrapImpl implements Bootstrap {
        [javac]                                       ^
        [javac]   symbol: class Bootstrap
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\BootstrapImpl.java:8: error: cannot
    find symbol
        [javac]     private BootstrapContext m_ctx;
        [javac]             ^
        [javac]   symbol:   class BootstrapContext
        [javac]   location: class BootstrapImpl
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\BootstrapImpl.java:10: error: cannot
    find symbol
        [javac]     public void setBootstrapContext(BootstrapContext aCtx) {
        [javac]                                     ^
        [javac]   symbol:   class BootstrapContext
        [javac]   location: class BootstrapImpl
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:3: error:
    package com.adobe.edc.server.spi.authorization does not exist
        [javac] import com.adobe.edc.server.spi.authorization.*;
        [javac] ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:4: error:
    package com.adobe.idp does not exist
        [javac] import com.adobe.idp.Context;
        [javac]                     ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:5: error:
    package com.adobe.idp.dsc.clientsdk does not exist
        [javac] import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
        [javac]                                   ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:6: error:
    package com.adobe.livecycle.rightsmanagement.client does not exist
        [javac] import com.adobe.livecycle.rightsmanagement.client.RightsManagementClient;
        [javac]                                                   ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:7: error:
    package com.adobe.livecycle.rightsmanagement.client does not exist
        [javac] import com.adobe.livecycle.rightsmanagement.client.EventManager;
        [javac]                                                   ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:8: error:
    package com.adobe.livecycle.rightsmanagement.client.infomodel does not exist
        [javac] import com.adobe.livecycle.rightsmanagement.client.infomodel.Event;
        [javac]                                                             ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:9: error:
    package com.adobe.livecycle.rightsmanagement.client.infomodel does not exist
        [javac] import com.adobe.livecycle.rightsmanagement.client.infomodel.EventSearchFilter;
        [javac]                                                             ^
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:19: error
    : cannot find symbol
        [javac] public class PrintServiceSPISample implements ExternalAuthorizer
        [javac]                                               ^
        [javac]   symbol: class ExternalAuthorizer
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:21: error
    : cannot find symbol
        [javac]     private EventManager           _evt_manager = null;
        [javac]             ^
        [javac]   symbol:   class EventManager
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:22: error
    : cannot find symbol
        [javac]     private ServiceClientFactory   _sc_factory  = null;
        [javac]             ^
        [javac]   symbol:   class ServiceClientFactory
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:23: error
    : cannot find symbol
        [javac]     private RightsManagementClient _rm_client   = null;
        [javac]             ^
        [javac]   symbol:   class RightsManagementClient
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:25: error
    : cannot find symbol
        [javac]     public ExternalAuthPropertyDTO[] getProviderProperties()
        [javac]            ^
        [javac]   symbol:   class ExternalAuthPropertyDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:30: error
    : cannot find symbol
        [javac]     public ExternalAuthResultDTO evaluate( ExternalAuthDTO auth_info )
        [javac]                                            ^
        [javac]   symbol:   class ExternalAuthDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:30: error
    : cannot find symbol
        [javac]     public ExternalAuthResultDTO evaluate( ExternalAuthDTO auth_info )
        [javac]            ^
        [javac]   symbol:   class ExternalAuthResultDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:27: error
    : cannot find symbol
        [javac]     return new ExternalAuthPropertyDTO[0];
        [javac]                ^
        [javac]   symbol:   class ExternalAuthPropertyDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:32: error
    : cannot find symbol
        [javac]     ExternalAuthResultDTO ret_val = new ExternalAuthResultDTO();
        [javac]     ^
        [javac]   symbol:   class ExternalAuthResultDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:32: error
    : cannot find symbol
        [javac]     ExternalAuthResultDTO ret_val = new ExternalAuthResultDTO();
        [javac]                                         ^
        [javac]   symbol:   class ExternalAuthResultDTO
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:54: error
    : cannot find symbol
        [javac]         Context context = (Context)auth_info.getContext();
        [javac]         ^
        [javac]   symbol:   class Context
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:54: error
    : cannot find symbol
        [javac]         Context context = (Context)auth_info.getContext();
        [javac]                            ^
        [javac]   symbol:   class Context
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:102: erro
    r: cannot find symbol
        [javac]         EventSearchFilter print_search = new EventSearchFilter();
        [javac]         ^
        [javac]   symbol:   class EventSearchFilter
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:102: erro
    r: cannot find symbol
        [javac]         EventSearchFilter print_search = new EventSearchFilter();
        [javac]                                              ^
        [javac]   symbol:   class EventSearchFilter
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:118: erro
    r: cannot find symbol
        [javac]         Event[] out_events = _evt_manager.searchForEvents( print_search, 10 );
        [javac]         ^
        [javac]   symbol:   class Event
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:148: erro
    r: cannot find symbol
        [javac]         _sc_factory  = ServiceClientFactory.createInstance();
        [javac]                        ^
        [javac]   symbol:   variable ServiceClientFactory
        [javac]   location: class PrintServiceSPISample
        [javac] C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java:149: erro
    r: cannot find symbol
        [javac]         _rm_client   = new RightsManagementClient( _sc_factory );
        [javac]                            ^
        [javac]   symbol:   class RightsManagementClient
        [javac]   location: class PrintServiceSPISample
        [javac] Note: C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java use
    s or overrides a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: C:\ExternalAuthorization 2\com\adobe\livecycle\samples\rightsmanagement\PrintServiceSPISample.java use
    s unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 29 errors
        [javac] 1 warning
    BUILD FAILED

  • How to see the print preview of outgoing excise invoice.

    Hi Experts,
    How to see the print preview of outgoing excise invoice.
    Thanks,
    srinivas.

    Dear Sreeni,
    Just go to J1IIN, click on "Exc.inv for delivery -- Display" where you input delivery reference and execute. If you have generated excise invoice, you can see the corresponding excise invoice for that delivery / billing document.
    Preethi.

  • How to specify -preview when launching via AppleScript

    I have an InDesign Server CS5.5.I have a shell script that waits for xml files to be placed into a certain directory on the server. When it sees a file in the folder it launches an applescript that controls InDesign Server. I need to know how to specify the -preview option for the InDesign Server binary so the files generated by the server will have previews when they are opened in InDesign client. The apple scripts look like this:
    tell application "InDesign Server"
         -- do some stuff
    end tell
    Where/how would I specify the -preview option. I see nothing referring to the -preview option in the Library for indesign.

    There's two ways to set it:
    1) in command line when you launch the executable, there's a preview option. I don't remember off hand the exact syntax.
    2) In the script itself (using Javascript syntax -- Applescript would be similar) app.serverSettings.imagePreview = true;
    Harbs

  • How to use the print option for photos?

    How to use the print option for photos.  I have a wireless printer but how do I set it up?

    http://www.apple.com/support/iphone/assistant/airprint/

  • How Can I Share Printer with 2 Older Macs?

    I would appreciate detailed guidance on how to set up printer sharing for two older Macs - assuming that this is even possible in this case. I have the following Macs that work very well independently as well as through a router for internet access.
    1. MacMini, 1.5 GHz, Bluetooth+Airport Extreme (approx. 3 yrs old) running OS X 10.5.2 and using Airport for internet access.
    2. Power Mac G4, 466 MHz (approx. 7 yrs old) running OS X 10.3.9 and connected directly to the router for internet access.
    An HP Deskjet 5940 printer was used exclusively with the MacMini, and a Lexmarl Z53 was used exclusively with the G4. The Z53 just reached the end of its life, and thus I disconnected the 5940 from the MacMini and connected it to the G4 where it now works fine.
    In spite of all attempts with various settings at each Mac, I have not been able to get any printing done from the MacMini. What detailed settings/connections do I need to make so that I can use that 5940 printer from the MacMini?
    Thanks for your response.

    Please note that I reposted my question to the following category where I have already received suggestions:
    Mac OS X v10.3 Panther & earlier > Printing & Faxing > "Can I Share a Printer Between OS X 10.3.9 and 10.5.2?"

  • How to specify a variable in the script logic

    I want to pass a variable from the process chain using the prompt statement.
    I  want to refer to the variable name in the script. When I used the following statement in the script file, I got an error when validating the statement below:
    //Increase Wage and Salary & Personnel Exp. by entered percentage
    [P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
    Syntax error:Reference Error: $WS_PERCT$  is not defined
    One of the how-to guides indicated that I should use the dollar sign before and after the variable name.
    Can someone explain how to specify a variable name in the script.
    Thanks.

    Thanks, Pravin.
    I tried using the syntax with the # sign (as shown below) but when I validate the code I get an error. The message indicates there is an issue with $WS_PERCT$.
    Syntax error:Reference Error: $WS_PERCT$ is not defined
    P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
    Can you please advise if am missing something here in the code.
    Edited by: Sanjay Kumar on Sep 24, 2009 10:06 PM
    Edited by: Sanjay Kumar on Sep 24, 2009 10:08 PM

  • How to take the print out of the entire data from the waveform chart

    i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
    also how can i take print out of the data between given interval??
    please reply me
    thank you

    There are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
    Jonathan Hildyard
    Applications Engineer
    National Instruments
    Attachments:
    DAQ_with_Print.llb ‏115 KB

Maybe you are looking for

  • Multiple ISA's in a single file while batching outbounds

    Hi, Here is a peculiar scenario. We have few customers which send PO through a third-party TP. Though we get these files from a third-party vendor, the orders will still contain the acutal customer sender id's. So we have configured a single Trading

  • How to insert more than 32k xml data into oracle clob column

    how to insert more than 32k xml data into oracle clob column. xml data is coming from java front end if we cannot use clob than what are the different options available

  • Table extension not being saved

    Hi, I have implemented Table extension at item level for SC and from the config perspective all looks fine. 1) Created Append struture with required fields First step: appending the field to the correct structure in SE11 or via transaction SPRO. Stru

  • Displaying Long text of hierarchy in variable cell

    Hi, What I'm trying to do is get the profit center node variable to show the medium/long text description of the node within the Layout->Display Text Elements section(SAPBEXheaderItem) of the query. I tried playing around with both the display and BE

  • Slow execution, flickering graphics, and too many threads, oh my!

    i wrote a little game called Aim, Fire! just to screw around. its immense complexity involves shooting little targets that fly across the screen. you can see it at http://www.brianmaissy.com/applets/aimfire i made a class representing a target that p