Send the Base 64 binary string to printer
Hi All,
I get the base 64 binary data in a string from the file and I need to print a image from SAP.
I am able to decode the data and download the image into a jpeg file .
What I need is to send this as a print request to a label printer .
Could you please help me .
Thanks in advance
Raj
[http://forums.sun.com/thread.jspa?threadID=5427379&tstart=0|http://forums.sun.com/thread.jspa?threadID=5427379&tstart=0]
Double posting buttlicker!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Do you really think that you are the only to discover that there is more than one forum? Post in one place thankyou.
Similar Messages
-
Need a way to send a command control string to printer.
I am trying to print a USPS intelligent barcode (IBC) on a postcard size bill. The post card is approxiamtely 70 characters in width and 2-up. The command string that needs to be sent to the printer to print the IBC is 27 characters in length. The remaining data (data that actually needs to be barcoded) is 33 characters making the strin a total of 60 characters. My problem and questions is "How do I define a print field that will hold all 60 characters and allow me control over the area/position where the barcode is printed?". The IBC print position must conform to USPS Template Standards. Could someone please help me with this?
Hi,
Java card does not support string and char types. if you want to send string/chars for example 'Hello World' to the card and store them then you need to convert them into hex format and then send the converted hex string to the card.
The command APDU will be then,
CLA --- Your class byte, can be 80
INS --- Your Ins byte, can be 01
P1 --- Parameter P1 can be 00
P2 --- Parameter P2 can be 00
LC --- Length of Hello World hex string (0B)
Data --- Hellow World Hex String (48656c6c6f20576f726c64)
Le -- 00 -
How to send the entire binary file as Content in mail adapter
Hi,
I have the below scenario:
A binary file is there on the XI server and this is more than 1 lines.
This file needs to be sent across to certain email addresses via the XI interface.
I have made the design and config and now get the the mail but so far not been able to get the file contents.
The requiremnet is to send the entire file contents in the mail so that they appear in the body of the received mail.
How do i do it?
Can you please advice.
Regards,
ArchanaHi,
I am giving below the incoming mesasge details and the outgoing Mail message details.
Sender File Adapter:
Mesasge Content/Payload:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_Ack_Mail_In xmlns:ns="Urn:Serco-com:interface:Banking:HSBC:FileTransfer">
- <Content>
- <Mail>
<Details>UNBUNOA:3HEXAGON-ABCABC10268002081201:2152+692125127893</Details>
</Mail>
- <Mail>
<Details>UNH1CONTRL:2:2:UN:APACS</Details>
</Mail>
- <Mail>
<Details>UCI1000246720ABC10268002HEXAGON-ABC4+C09</Details>
</Mail>
- <Mail>
<Details>UNT31</Details>
</Mail>
- <Mail>
<Details>UNZ1692125127893</Details>
</Mail>
</Content>
</ns:MT_Ack_Mail_In>
Receiver Mail Adapter:
Message Content/Payload:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>ME-Acknowledgement</Subject>
<From>email of from</From>
<To>my email</To>
</ns1:Mail>
I need to map the contents of the incoming payload Contents/Mail/Details (all the 5 instance) to outgoing Missing Content (after To field).
If it can be in Mail body, then it would be best else please suggest what other option can I use?
Also, If i want the file name to be in the subject of the mail, is that possible to be picked up in the configuration?
Please help.
Regards,
Archana -
Sending the result of report to printer
hi friends,
i written code for my report and actually my requirement is to send the result of this report directly to the printer without displaying the list.
could u plz guide me how to go for this task.
regards,
malli.Check this ... yo will find an answer as this is a similar question thread
Printing report directly from printer;
Regards,
Santosh -
Hi,
When I use the instrument wizard in LabVIEW 5.0, to indentify a device (Neocera LTC-21 Temperature Controller), I receieve the following error:
Error.
There was an error sending this string.
VISA error code returned was:
-1073807339
Error -1073807339 occured at VISA Read.
Possible reasons:
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Although, the manual for this instrument states that the response should be a string of characters in the form of "Neocera Model LTC-21 version".
Also, I do not have a driver for this instrument, inspite of checking on the NI Instrument
Divers Network and the company website(www.Neocera.com).
I would truely appreciate if someone can help me.
Thanks,
Kunal.I could not find any drivers for that instrument. You may just have to make your own. As for getting the device to respond, there are a couple of things you can do. If you are using GPIB: First, you might want to just reset the device by turning it on and off. If there are other instruments on the same bus, make sure 2/3 of them have their power on. Try communicating with it through IBIC. Here is a page that will help.
http://www.ni.com/support/gpib/max/ibic.htm
IBIC communicates with the GPIB on a very base driver level and you set everything manually step by step, so you can see where the break down is. Also make sure you are entering the "*IDN?" and all other commands correctly. Check the device manual to see what commands it should respond to and if there ar
e any special settings you might need. If you are doing serial communication, you may want to check to see if you need a null modem cable for it to function. There also may be a dip switch on the device that switches between serial and GPIB communication. -
Imm. Help required . To Send the contents of a JFrame to printer
Hi All
I need to send the contents of a JFrame or JPanel to the system printer.
I need the java codings to send the contents of a JFrame to get printed in the default printer.
Pushparaj TI just posted a link to another thread that discusses making a transparent frame.
http://forum.java.sun.com/thread.jsp?forum=57&thread=490146
The basis for this concept can be used for sending the image (screen capture) to the printer.
Should you tackle the project and develop a working screenshot printing program, please post here. -
How to send the ALV GRID output to spool by using the print button in std t
How to send the ALV GRID output to spool by using the print button in standard tool bar.
We have created a button in the va02 transaction. If user click on the button the new screen will be display on that screen we are populating the alv grid output using the oops concept. But i am unable to send the output to spool using the print button in the standard tool bar.
I am able to display the Print parameter dialog box but i am not able to send it to spool.
Kindly help.
Thanks In Advance.
G.V.RamanaHi Shaik,
There is not properties button in my print screen.
MODULE user_command_0900 INPUT.
WHEN 'EXCEL'.
PERFORM excel_download.
WHEN 'PRI'.
PERFORM print_output.
form Print_output.
CALL FUNCTION 'RSPO_LIST_LAYOUT_FITS'
EXPORTING
columns = 80
device = 'ANY '
lines = 65
maxpenality = 1999
TABLES
layouts = lt_layouts1
EXCEPTIONS
unknown_device = 1
OTHERS = 2.
IF sy-subrc = 0.
LOOP AT lt_layouts1.
IF lt_layouts1-penality < 1000 AND
lt_layouts1-penality < l_min_penality.
l_layout = lt_layouts1-layout.
l_min_penality = lt_layouts1-penality.
ENDIF.
ENDLOOP.
IF NOT l_layout IS INITIAL.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
line_size = 80 "#EC *
new_list_id = l_new_list_id
no_dialog = l_no_dialog
layout = l_layout
IMPORTING
out_archive_parameters = rs_arc_params
out_parameters = rs_pri_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0. " INS SLIN
ENDIF. " INS SLIN
IF rs_pri_params-linsz LT 80 OR
rs_pri_params-linsz LT gt_stack-s_lprint-width.
gt_stack-print_line_break = 'X'.
ELSE.
CLEAR gt_stack-print_line_break.
ENDIF.
IF l_valid NE 'X'.
rs_pri_params = ls_pri_params_sav.
rs_arc_params = ls_arc_params_sav.
ENDIF.
ENDIF.
ENDIF.
endform. " Print_output
CALL METHOD gv_cost_tot_alv_grand->set_table_for_first_display
EXPORTING
is_layout = gs_layout_cost_tot_grand
CHANGING
it_fieldcatalog = gt_fcat_cost_tot_grand[]
it_outtab = gt_cost_tot_grand[].
Please check my code -
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"></tr><tr><td height="1" style="font-size: 1pt"></td></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>I initiate a CR XI from a C++ routine using ShellExecute command, the report file is opened and the C++ program continues to execute, this is working fine, now I need the following two things:</p><p>1. When the report is invoked I would like it to run and print the result either to a printer or to a file.</p><p>2. I need to send the report parameters since it will not prompt for it if it runs automatically.</p><p>Thanks in advance for your help.</p></td></tr><tr></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p> </p></td></tr></tbody></table></blockquote></blockquote>
Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly
-
When send the report directly to the printer from Oracle IDS 9i
Hi.....
I m using Oracle IDS 9i, Oracle AS 9i and Database 9i for my new project.But i m facing a problem when i m trying to show a report from oracle IDS 9i.When i send the report directly to the printer without showing it,then the printer connected to the application server is working.But the printer connected to with PC(From where a send the command) is not working but printer connected with AS is working,but not that one which one i m wanting.....Why this problem is happening?Can anyone help me?
KSINote:It is always better to have network based printers rather then PC shared printers. What that means is your printer is not connected to a PC. It has a direct connection to the network via NIC. You would then setup the printer on your AS in the printers setup. If the AS is rebooted you do not need to authenticate the printer shares again with a network based printer.
If I understand you correctly, you have a printer connected to your AS(application server) and a printer connected to your PC. You can submit a report direct to the printer connected to the AS but cannot send a report direct to your printer connected to your PC.
From the symptoms you described, the problem is usually associated with the AS not being able to see the printer shared on your PC. You either have the address to your printer address defined wrong or your AS is trying to direct a job to your printer but doesn't have rights to do it.
First, Try to print a notepad job to your printer attached to your PC from the AS. This will tell you if you have access to do so or not.
- If it can't, you need to figure out why? This has nothing to do with oracle.
Second, thing to check is your Oracle "Report Queue Manager" on the AS. Make sure that you can submit a report manually from the Report Queue Manager. If it fails the "Report Queue Manager" will give you useful errors as to why it failed. This will help you isolate the problem.
Third, Once you can submit a job from the reports queue manager manually to your shared printer you should be able to submit from your application direct. If it still does not work your address to the printer is incorrect. Try submitting manually through the reports queue manager again. When selecting printer you will be given a list of accessible printers from the AS. Select the one connected to your PC. Once selected the full network address will appear. Copy and use this as the printer location in your job submission through your application.
That's it... Where using this right now and it works great. Hope this helps.
Eric. -
We have tried to add a WPS Canon Pixma-Pro to our Airport Extreme network. However when we are in Utilities and try to access the Base Station drop down menu nothing is highlighted. Therefore we can not click on the Add WPS Printer title. I'm sure it is some user error that we are overlooking, but extremely frustrated. Any help will be greatly appreciated.
Open AirPort Utility
Click on the AirPort Extreme icon
Click Edit in the smaller window that appears
Now try the Base Station menu again -
Is there anyway to print an ibook -
was told I could add a link to the ibook that would send the customer to my web site where they could print it?
I was told a customer could not print an ibook that they purchased?
Trying to figure out a way for them to purchase a book that they need to fill in information.
or download to their computers and print.
Any suggestions.... I have called and emailed - but can't get an answer
I have 5 books I would like to do this with.
<E-mail Edited by Host>BlueEyesinLA wrote:
Is there anyway to print an ibook -
Not as such. You would have to put a pdf version on your web site for download, which the reader would then have to print for himself. A pdf version might look rather different than the epub or .ibooks version, you would have to try that yourself to see how much. -
In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .
Hi Srinath,
The below blog might be useful
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
regards,
Harish -
I cannot get my Vista laptop to print to the printer on the base station
I cannot get my laptop windows pc to wirelessly print to the printer on the base station. the mac have no problem with it. but not the pc vista laptop or xp running on boot camp on my imac Leopard.
How do you make this happen?
It's an HP business Inkjet 1200 bubble jet printer, hooked to my EBSTry resetting the printing system:
OS X Mavericks: Reset the printing system
Next try deleting the system and reinstall the printer..
BTW this is Mac Pro desktop forum -
How to send a file to a certain printer at the local network?
Hello,
Is there any Java API (standard or free packages) that allows to send a certain file from the filesystem to a certain printer at the local network, not necessarily the default one that the machine the code is running on is using? In case there is one, a code example could be nice...Hi Roy,
There is a library part of the standard java for printing and searching printers. Have a look at the package
javax.print
A google search with the package name will lead to tutorials and code samples I guess.
HTH
Peter -
Just started with this problem today. Go through the normal procedure of preparing an image to print on the Epson on 13x19 paper. Can view the image as it is supposed to print but what comes out is a print in 8 1/2x11 dimensions and cropped to the center of the image. Contacted Epson support and wen through the entire procedure several times with tech support with same results. We tried to print off Preview and the image printed as it is supposed to. Epson support said the problem was not with the printer but with Photoshop blocking the command. What gives?
Photoshop sends the full image to the printer, at the size you specified.
But the page size selected is up to the printer driver, and printing it correctly is up to the OS and printer driver.
And there is no command for Photoshop to "block" -- it sounds like Epson didn't understand the problem.
Maybe you are looking for
-
Ide.user.dir in Jdeveloper 12c
Hi Gurus, I am just installing Jdeveloper 12c 64 bit for windows. There is another Jdeveloper 10.1.3.3.0 already in placed which i want to keep for EBS R12 OAF extendsion development. Jdeveloper 10.1.3.3.0 was installed in D:\JDEV\1213\jdevhome\jdev
-
Uploading ipa through Application Loader on Mac
Hi, everyone I am new to Flash ipad development and so far I have followed through many steps and tutorials supplied by Adobe and online contributors. Long story short, I arrived at a problem when I tried to upload the *.ipa I exported from flash cs
-
Word printing problem snow leopard
When I print a Word document to my wireless HP 8600 printer, it will not print. It sits in the print queue and ties up the printer - but no printed output is produced. If I print from other MS applications such as Excel, they work fine. I usually
-
How to pushdown concate operations in BODS
Friends, I want to achieve full push down while concatenating two or more strings in BODS. For example, I have two fields First_Name and Last_Name and want to form a third field as Full_Name, concatenating First Name and Last Name. If I map this as F
-
I've tried to install my Adobe DreamWeaver on my Mac OS through Crossover and a couple of windows installers but it keeps saying "installer failed to initialize." What do I do?