Print a slip from screen data on SAVE
hi experts !
I have a senario wherein i'm taking inputs from user and on press of save i need to save those entries in database as well as print some of the entries.
can somebody throw expert advices on how exactly should i proceed??
thanks,
sachin
You can also try opening the PDF with preview, then doing a copy and paste to TextEdit and printing from there.
Adobe makes it easier, but you do have software to accomplish this.
Only download Adobe reader from this site, to avoid "fakes/spoofs/malware" that will cause damage to your machine.
http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
Hope this helps
Similar Messages
-
Hi,
From the ABAP program am getting the input and fetch the value from the table and passing to Screen painter by 'call screen' command. The screen have some standard formats, again I have to give some input value and validate against already fetch the value from the table. If the validation is correct means I have to print the screen as displaying in the screen.
But when I click the print icon at the output screen I can get the printout of input screen of the ABAP program.
How can I print the output from screen painter?
My program is as blow:
Parameters:
pr_wrk like vbrp-werks obligatory,
pr_vbl like vbrk-vbeln obligatory,
pr_mat like vbrp-matnr obligatory,
pr_lsz(10) type n.
select ..... from vbrk
where vkorg eq pr_wrk
and vbeln eq pr_vbl.
select ....
compute
call screen 103
module user_command_0103 input.
line_count = sy-loopc.
data : ok_code like sy-ucomm.
case ok_code.
when 'PRINT'.
call function 'GET_PRINT_PARAMETERS'
exporting
destination = 'LOCL'
copies = count
list_name = 'TEST'
list_text = 'PDI OS'
immediately = 'X'
release = 'X'
new_list_id = 'X'
expiration = days
line_size = 70
line_count = 55
layout = 'X_65_80'
sap_cover_page = 'X'
cover_page = 'X'
receiver = 'SAP*'
department = 'System'
sap_object = 'RS'
ar_object = 'TEST'
archive_id = 'XX'
archive_info = 'III'
archive_text = 'Description'
no_dialog = ' '
importing
out_parameters = params
out_archive_parameters = arparams
valid = valid.
if valid <> space.
submit zpdi_report using selection-set 'DATA' to sap-spool
spool parameters params
archive parameters arparams
without spool dynpro.
endif.
Kindly help me.
Regards,
S. JohnAssuming the call to 'GET_PRINT_PARAMETERS' is successful (you did not check the return code), then you need to use
IF VALID EQ 'X'. -
Does anyone know if it is possible to do the following in Java (It is step 2 that I need help with):
1) Load any third party application e.g Firefox
This will display part of a web page and the rest will only be made visible by using the scrollbar.
2) I want to access the text/images in the whole of the web page without using the scroll bar. e.g access off screen data and save it to something like a BufferedImage.(I guess it is similar to a screenshot but of data that is not currently visible on the screen).
I need this to be generic enough to work for any application that uses scroll bars.
Thanks1. Use Runtime.getRuntime().exec( <command> ) to run another program.
2. You can use ImageIO.read( <url> ) to read images and return a BufferedImage from the internet.
You can give this program I made a test drive as it shows how to run a separate process and load an image from the internet:
/* DynamicClasses.java
* @author scphan
* created: 12, May 2009
* tested successfully with jdk1.6.0_11
import java.lang.ref.*;
import java.util.*;
import javax.tools.*;
import java.io.*;
public class DynamicClasses
public static void main( String args[] )
DynamicClasses obj = new DynamicClasses();
obj.compileAndRun( new File( "CompileTest.java" ) );
public void compileAndRun( final File file )
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
StandardJavaFileManager filemanager = compiler.getStandardFileManager( null, null, null );
System.out.println( "Default Compiler: " + compiler.getClass().getName() + " toString(): " + compiler );
try
deleteClassFile( file );
try
Thread.sleep( 5000 );
catch ( InterruptedException e )
e.printStackTrace();
Iterable compilationUnits = filemanager.getJavaFileObjects( file );
compiler.getTask( null, filemanager, null, null, null, compilationUnits ).call();
filemanager.close();
run( file.getName().replaceAll(".java","") );
catch ( IOException e )
e.printStackTrace();
public void run( final String filenameNoExt )
throws IOException
Process proc = Runtime.getRuntime().exec( String.format( "java %s", filenameNoExt ) );
private void deleteClassFile( File file )
String fNameNoExt = file.getName().replaceAll( ".java", "" );
File xFile = new File( fNameNoExt+".class" );
if ( xFile.exists() )
xFile.delete();
/* CompileTest.java
* @author scphan
* created: 12, May 2009
* tested successfully with jdk1.6.0_11
import java.awt.*;
import java.awt.image.BufferedImage;
import javax.swing.*;
import java.net.URL;
import java.io.IOException;
import javax.imageio.ImageIO;
public class CompileTest
private static final String IMAGE_URL = "http://konohaleaf.info/images/stories/cherry_tree.png";
public static void main( String args[] )
final JOptionPane pane = new JOptionPane();
pane.showMessageDialog( null, "Greetings, compiling test successful!", "Compile Test Successful", JOptionPane.INFORMATION_MESSAGE );
final JFrame f = new JFrame( "Compile Test Successful" );
f.setDefaultCloseOperation( f.EXIT_ON_CLOSE );
final JLabel label = new JLabel();
final BufferedImage image = grabImage( CompileTest.IMAGE_URL );
if ( image != null )
label.setIcon( new ImageIcon(image) );
else
label.setText( "Image could not load, displaying alternative text instead..." );
f.getContentPane().add( label );
f.pack();
f.setVisible( true );
private static BufferedImage grabImage( String url )
BufferedImage image = null;
try
image = ImageIO.read( new URL( url ) );
catch ( IOException e )
e.printStackTrace();
return null;
return image;
}[http://konohaleaf.info/index.php?option=com_content&view=article&id=71:programmatically-compile-and-execute-in-java&catid=50:misc-example-programs&Itemid=64]
Just parse through the html code for any <img src... ".jpg", ".png", etc. and store the paths which will then be used to read the images with javax.imageio.ImageIO.
Edited by: scphan on May 13, 2009 1:09 PM -
When trying to print to PDF from a sales program we use it keeps throwing errors
When several people try to print to PDF from MAS90, it will save it and create a file as it normally does. However, it does not open in Acrobat 9 Pro as it normally does, and displays the famous error "Acrobat could not open 'xxxx.pdf' because it is either not a supported..." Yet when you manually open the file from the file system, it opens just fine.
So to rehash what I just said, when I print to pdf, it asks me where to save, the notification said the printing completed, adobe opens and displays error. If you click on the file, then the file opens just fine.
However several other people do not have this error while trying to print to file from mas90. Does anyone out there have any idea what could possibly be causing this error to be displayed?Hi ftd12300,
Are you saving the PDFs you're creating to a network drive or are they being saved locally?
Do you have this problem when creating PDFs from other applications such as Notepad?
-David -
When I print to pdf from ArcMap the file save as a pdf on my computer, but if I try to view the files from another computer on the network the files show up as .tmp files. Any suggestions? Is this an adobe issue or an arcmap issue?
Thanks,
SamPlease visit the Designjet Forums for appropriate help.
Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
Click on the BLUE KUDOS button on the left to say "Thanks"
I am an ex-HP Employee. -
No longer possible to save or print PDF files from browsers
I am suddenly having a problem saving or printing PDF files from the browser, but it extends to all browsers in OS X. I can view the PDF normally but if I try to print as PDF all it shows is two black pages. Then if I try to save as a PDF it tells me the document could not be exported. I just tried this with a PDF and the only way I could get it was via Windows running on Parallels. I've already tried resetting the printer by removing and adding it again with the alt key pressed but this made no difference.
This all started about a week or so ago and I just ignored it at first thinking it was something wrong with a particular file but now it's happening in all cases. I'm running the latest 10.7.3 on a new Mac Pro and everything is up to date. Does anybody know what might be causing this?
Thanks
AshleyQuit Safari.
Open the Library folder in your home folder as follows:
☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
Delete the following items from the Library folder:
Caches/com.apple.Safari/Cache.db
Preferences/com.apple.quicktime.plugin.preferences.plist
Preferences/QuickTime Preferences
Relaunch Safari and test. -
Download data from Screen to local disk
Hi all,
I have developed a Module pool program. I want to download the data from Screen to local disk in Word format.
Example :-
Name XYZ Surname ABC Date of Birth 00/00/9999
Address XXXXXXXXX
Number of Dependent
1) ABC LLL CCC 00/00/0000
2) XYZ ABC XXX 00/00/0000
3) ABC LLL CCC 00/00/0000
Is there any function module which does this
Thanks in AdvHi,
the simplest and easiest answer that I can think of is :
1. Press Ctrl Y.
2. Select the area of the screen you want.
3. Press Ctrl C
4. Press Ctrl V on your word document.
5. :-).
Regards,
Anand Mandalika.
P.S. Alternatively, you can use the print screen option on your keyboard. -
Will somebody provide me with a QBASIC 4.5 PROGRAM for Interfacing with an Anritsu make(model-MS710) RFspectrum analyser through GPIB ( NI-488.2 ) in DOS environment? I would like to aquire data from the instrument and save it in PC for printing purpose.
Hello,
Unfortunately I was unable to find a driver for this instrument. This leaves you with one of a couple options. First, I would like you to submit a request for this driver at:
http://www.ni.com/devzone/idnet/other.htm
We develop drivers in CVI and LabVIEW based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one. While this would not provide you with a QBASIC program, you may be able to create a DLL that you could call from QBASIC.
If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
http://www.ni.com/devzone/idnet/development.htm
We also have a syndica
te of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
http://www.ni.com/alliance
Good Luck,
Kim L.
Applications Engineer
National Instruments -
How can I capture the screen data sheet from netwrork analyzer?
Hi All!
Could you help help me this! I want to capture the screen data from network analyzer, and save it to my PC. How can I do that with LabVIEW 8.0?Hello,
Do you know if the 8722A is similar to the 8722B or C model? We have a LabVIEW driver for those, but the A model is not listed. Click here to go to the driver download site. Even though your instrument may not be on the list, the driver may still work with your instrument, so I recommend downloading and installing it to see if you get anything.
When you want to capture the whole screen, what exactly do you mean? Do you want to capture an actual screenshot of the display of the analyzer or do you just want to capture all the data in digital format and send it into LabVIEW? Do you need an excel type file? Are you seeing the display on the instrument itself or a user interface panel program on your computer? If on your computer, is it LabVIEW or a different software program? I am sorry, but I am not familiar with your instrument or how it works, but hopefully we can get this figured out for you!
Chris R.
Chris R.
Applications Engineer
National Instruments -
Do not use iOS 7. Attempting to install iOS 7 will cause your phone to require a factory reset, thus wiping all your data from the device. Save your data, do not attempt to install the new iOS 7.
My phone has been in the Preparaing Iphone for Restore mode for over 2 hrs. I have the following on the itunes page
Iphone Recovery Mode
Itunes is restoring the software on this Iphone.
I have the Itunes icon and the USB cord display on the iphone home screen
So I still have 3 hrs to go??? WOW -
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 youThere 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 -
I can't print using airprint from my iPhone 4. Everything with the phone and the printer and router are up to date. I can print from my iPad 2 with no problems. What's wrong with the iPhone 4?
I just wanted to leave a note that it's working now. I'm not sure if it was the latest iTunes update that got it working or that i decided to start a new library instead of using the one i had backed up on Windows 8 (it didn't occur to me to check using the old library when i re-installed iTunes). But if anyone is having this problem, it might be worth trying again with a new installation of iTunes to see if the latest update works for you, and if not, try using a fresh library instead of a backup (by fresh library i mean discard your old library completely and start a new library, not just restore as new iPhone, a whole new library).
-
When saving from the print menu to PDF to iBooks, it saves it as unnamed document.
When saving from the print menu to PDF to iBooks, it saves it as unnamed document.
Would like to be able to give it a name before saving it, or at least have a rename function in iBooks.
Can use Preview and rename it in Downloads and then move it to iBooks. Very cumbersome.
Thanks.When saving from the print menu to PDF to iBooks, it saves it as unnamed document.
Would like to be able to give it a name before saving it, or at least have a rename function in iBooks.
Can use Preview and rename it in Downloads and then move it to iBooks. Very cumbersome.
Thanks. -
How can i control NI-6115 to collect data from 2 channels and save as 2 files?
I want to program NI-6115 card to collect data from 2 channels and save the two data into two different filenames that i specified?
How do i write in labview codes?Calibur,
LabVIEW includes a number of examples that demonstrate how to acquire analog input data and write it to disk. Dependent upon the type of file you would like to use, I would suggest that you examine one of the following examples:
Cont Acq to File (binary).vi
Cont Acq to File (scaled).vi
Cont Acq to Spreadsheet File.vi
With regards to writing each channel's data to a separate file, you will need to use the Index Array function to generate two 1-D arrays, each containing data for one channel. These arrays can then be written to separate files using two Write File functions.
Good luck with your application.
Spencer S. -
Resume from Screen Saver Issues
Hey All,
Well...migrated from Leopard to Snow Leopard with minimal issues but
In Leopard, after waking from screen saver, a box would prompt for a password. I've gotten SL to do this, but there is no way to switch user.
I have multiple users and i'm unable to switch users from SL.
Any ideas??
KayleHey All,
Well...migrated from Leopard to Snow Leopard with minimal issues but
In Leopard, after waking from screen saver, a box would prompt for a password. I've gotten SL to do this, but there is no way to switch user.
I have multiple users and i'm unable to switch users from SL.
Any ideas??
Kayle
Maybe you are looking for
-
My Ipod Clasic is no longer working and I do not know why.
I have a 120gb Ipod classic that a friend gave me after purchasing an Ipod touch. I have had it in my possession for almost a year now and have not had a problem up until recently. I would be listening to a podcast or a song and it would randomly jum
-
Hi guys, i have a problem with accounts. I had an iphone 5 on which i changed apple id. Now i got a new device and when i connected it to my pc it backed up to an really old version which was running on old apple id. Now i cannot acces icloud because
-
Multicast in JMStudio??
Hi! I want to send a video stream to a multicasta address. I use JMStudio to transmit the stream. If I specify a unicast address everything works fine. But if I specify a multicast address (e.g. 192.168.100.0) the client does not receive anything. Do
-
How to replace a missing font in a presentation
There are free fonts who present different names (e.g. bauhaus and bauhaus 93), but are practically identical. In the previous version of Keynote, when opening a presentation made on another computer, there was a warning if a font used in that presen
-
How do i get hay day off my ipad - it is jamming it up
how do i get hay day off my ipad - it is jamming it up