Our application runs on oracle 10g. When we want to print a report after filling the oracle form fields we do the following process:
1. save the file (when it is saved it opens in a new tab)
2. hit control+p (print preview is shown)
3. hit enter (command goes to printer)
Now we want to directly send command to the printer so that the print preview is not shown at all.
You can accomplish this by using the ORARRP utility. Unfortunately, you must have access to Oracle Support to view this support document.
Note that the bottom of the support document specifies a change to orarrp.ini to prevent the print preview from showing.
https://support.oracle.com/rs?type=doc&id=277431.1
Related
I have a microsoft Teams tab application. I would like to print an svg image from this tab (generated on the client)
Normally, this is done by opening a new window and constructing a document to print there (I want to print a generated svg picture)
But in teams client, this option is disabled as opening popups is prohibited by the client.
I have tried some workarounds to open popups mentioned here to no avail:
using microsoftTeams.tasks.startTask to open a popup and try printing from there (does not load because the file is not located on the server at all, it is generated on the client). Maybe this can be still done somehow?
microsoftTeams.authentication.authenticate to open a new window. Downloads the content instead of opening it.
We have methods to enable print for the entire tab. You can use the following- microsoftTeams.enablePrintCapability() and microsoftTeams.print().
I'm working on a robot that will work on a 5250 terminal IBM Mainframe.
Using application modeller I am able to identify specific fields that needs to be filed whit text(userId) numbers(function number) but I cant accept those values by pressing an "Enter".
How can I send in key to Terminal via Blue Prism??? When I'm using an action step in Object Studio, all I can do whit identified elements is "verify" them.
You have to use Navigate Stage. Action will be "Global Send keys".
The text is "[ENTER]".
If you want to use Function 1-12, then you have to use Text: "[pf1-12]".
I am trying to write simple program in Visual FoxPro, I am using built in Help, but cannot find an answer there. There are dozens of samples but they all work with forms, and I just need something like console.out() or printf().
While looking for some samples on internet, found this:
? 2 + 2
This line supposed to print 4, but nothing happens when the program is run from the menu or tool bar.
In the command window, type "set device to screen"
You can create a program, may be called "start.prg" including the line above in the program. This is run everytime Foxpro is started from Desktop.
Click on Tools, Options, File locations, Startup Program,then "modify"
and enter the location of the "start.prg", for example, C:\Program Files\Microsoft Visual Foxpro 9\start.prg
******to print to paper *********************************************
set device to printer
set printer to &&& turn off all open print commands
???" " &&& open printer in raw mode
p_Landscape_On =chr(27)+"&l1O"
p_Landscape_Off =chr(27)+"&l0O"
n_Row=2
#n_Row, 1 say (p_Landscape_On) +(p_Draft)+(p_14inPaper)
n_Row=n_Row+1
******end of printing*****************************
#n_Row,n_Col_fav say (p_Landscape_Off)+(p_12CharPerInch)+p_Portrait)
set printer to
set device to screen
Type this into the Command text box and press Enter. Close all opened tables (if any) in order to see 4.
? is the correct way to display on screen. It will display on the next line of the current main window.
If you are getting no results try SET CONSOLE ON before your ?2+2
Another option, depending on your needs, is to use a WAIT WINDOW, ie WAIT WINDOW 'test'
You can also try ACTIVATE SCREEN prior to printing your text.
Problem: Need to read/capture the text of Windows pop-up messages that is generated by non-VB applications.
Situation:
I've a VB6 app, part of which requires processing an excel workbook. A non vb-6 pop-up window (as attached screen) "FILE CONVERSION IN PROGRESS" comes up, while opening an new version of excel-sheet from an old MS Excel app. And automatically it closes alos.
Requirement: I want to capture that pop-up occurance in the code. And then write a conditional statement code for the 'cancel' button click event of that non vb-6 pop-up.
Can anyone suggest something?
You can access other applications with the following APIs:
FindWindow() to locate the main window of what you're looking for
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633499%28v=vs.85%29.aspx
GetWindow() to navigate through the HWNDs of the application so you can get to the button
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633515%28v=vs.85%29.aspx
GetWindowText() to access the text from a control (it cannot be an Edit control)
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633520%28v=vs.85%29.aspx
You'll want to use Spy++ (which can be downloaded) to see what the class name you're looking for when it comes up and to figure out the hierarchy to navigate properly.
You'll need to use the API Text Viewer to get the API declarations so you can use them in VB6 properly.
I am using VS express 2012 to run a code that display content of many files. I found that first files content do not show and when I debug step by step I found that the content show on the console window and disappear when other results show, which means they get pushed out of the window. of course I scroll up and I find the latest files only not all. Is there any option control this feature? and how can I see all results?
To avoid this you should convert your console application to a Windows Forms one and put all the output on a TextBox. Just execute the command on the Form load and redirect all the output to the TextBox.
It's not much work IMHO.
This is the nature of a console application, no different than if you were to echo data to the Windows command prompt. If there is too much data then of course it will scroll off the visible screen.