Print html file with barcode from abap report
hi
i am printing html file from abap program using gui_execute.
i am using netscape.exe , its printing first time and when reprint its not working
basically html file contains gif file which has fedex barcode.
could you please let me know how to print html file from report
DGU wrote:
where to check RAW or TEXT? the print report vi only asks for file name and printer name.
When I print from notepad, everything just goes by default. This is a label printer, so I never need to specify printing parameter such as size, orientation, etc in the past
Famous last words go something like this: "...never had to do that before." Maybe you have to do that now. It's worth at least comparing the defaults settings for bothe generic drivers. It could save you a lot of headache if you notice something different.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Similar Messages
-
Populating HTML Page with fields from a Report
Greetings all,
I think I have finally figured out how to format my question about customizing reports
I am using the Sample Applicaiton and I created a simple report (PAGE 20) using the DEMO_CUSTOMER table. The simple report shows the CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME
I created a blank page (PAGE 21) with an HTML Region. In the HTML region I have created an HTML Table with Two Columns and 3 rows:
<table border="1">
<tr>
<td>CUSTOMER ID</td>
<td>rVALUE OF CUSTOMER ID</td>
</tr>
<tr>
<td>FIRST NAME</td>
<td>rVALUE OF CUST_FIRST_NAME</td>
</tr>
<tr>
<td>LAST NAME</td>
<td>rVALUE OF CUST_LAST_NAME</td>
</tr>
</table>
On my report page 20, I created a link from the Customer ID and I wanted to know if I could populate the Table I created on Page 21 with say a P21_CUSTOMER_ID field and when I click the link on page 20 it redirects to page 21 and P21_CUSTOMER_ID = #CUSTOMER_ID# just like I would do for a formatted report. I added items to page 21 called P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
but I don't know how to get their values into the table that I created. Do I have to make an html form element and reference it? Make fields hidden? Not sure How to populate the table I created with the values that are passed into page 21 and any help would be appreciated. I am sure however I identify the variable I could then just use that same formatting and use Styles and Divs to make the page look like I want and just reference the same way, but unsure of how to do that.
Any assistance you can provide would be very much appreciated. I am trying to create a report view that looks like a web page with images, and the passed data would be populated throughout the HTML and not in a structured Tabular Format if that makes sense.
Thanks in Advance
WallyHi,
There are more than one ways of doing this.
Extending what you have done , heres how
Assumption : You are getting values in P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
Edit your HTML table , and refer to the P21 items with &P21_CUSTOMER_ID. notation as follows
<table border="1">
<tr>
<td>CUSTOMER ID</td>
<td>&P21_CUSTOMER_ID.</td>
</tr>
<tr>
<td>FIRST NAME</td>
<td>&P21_CUST_FIRST_NAME.</td>
</tr>
<tr>
<td>LAST NAME</td>
<td>&P21_CUST_LAST_NAME.</td>
</tr>
</table>The other way is to create a Report with Single Row vertical layout template on Page 21 instead of the HTML region.
Regards -
Call WD Interactive Form with Values from ABAP Report
Hallo together,
i have a simple ABAP report with some values.
How to call a webdynpro passing these values and using them in Select-Statements to prefill the called Interactive Form
Thanks
PhilipHi Runal,
i tried this and i get the parameters in the defaulthandler event.
but now i need these values in the supply function of my node to get the values which should be display.
How to access from supply function to the defaulthandler event? I read some threads but none answered my question i think.
METHOD handledefault .
DATA: it_parameter TYPE tihttpnvp,
wa_parameter LIKE LINE OF it_parameter.
wdevent->get_data(
EXPORTING
name = if_wd_application=>all_url_parameters
IMPORTING
value = it_parameter ).
ENDMETHOD.
Thanks
Philip -
How can I print PDF attachments from ABAP report in transaction ME23N?
Hi,
Users attach PDF files using "services for objects" in transaction ME23N.
How can I print the PDF attachments from ABAP report ?
Thanks in advance,,Hi,
check this link,this might help you to solve your problem
/people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
Regards
Kiran Sure -
How to create .csv file from ABAP report
Hi
We have a requirement to generate .csv file from abap report.
Currently user saves data from abap report to spreadsheet(.xls format) in desktop. Then opens excel file and save as .csv format. Need option to save directly in .csv format instead of .xls format.
Please let me know, if there is any standard function module available to create .csv file.
Regards
UmaI tried with your code it's going to dump
REPORT ZTEMP101 message-id 00.
tables: lfa1.
types: begin of t_lfa1,
lifnr like lfa1-lifnr,
name1 like lfa1-name1,
end of t_lfa1.
data: i_lfa1 type standard table of t_lfa1,
wa_lfa1 type t_lfa1.
types truxs_t_text_data(4096) type c occurs 0.
data: csv_converted_table type table of TRUXS_T_TEXT_DATA.
select-options: s_lifnr for lfa1-lifnr.
select lifnr name1 from lfa1 into table i_lfa1
where lifnr in s_lifnr.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ';'
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
TABLES
I_TAB_SAP_DATA = I_LFA1
CHANGING
I_TAB_CONVERTED_DATA = csv_converted_table
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME =
'C:\Documents and Settings\ps12\Desktop\Test folder\exl.cvs'
FILETYPE = 'DAT'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = csv_converted_table
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
my version is 4.6c -
Help Editing code from a published html file with flash detection enabled from flash
hi guys ive publish a html file with flash detection enabled from flash
heres the code from the publish html:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>main</title>
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 45;
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
'width', '800',
'height', '600',
'src', 'main',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'main',
'bgcolor', '#ffffff',
'name', 'main',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'main',
'salign', ''
); //end AC code
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Adobe Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
<a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
</noscript>
</body>
</html>
now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th valign="middle" scope="col"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th height="600" bgcolor="#333333" scope="col"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','height','600','src','main','quality','high','pluginspage','http://www.adobe.com /shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','main' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600">
<param name="movie" value="main.swf">
<param name="quality" value="high">
<embed src="main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600"></embed>
</object></noscript></th>
</tr>
</table></th>
</tr>
<tr>
<td height="30" bgcolor="#990000"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><div align="left" class="style1">Copyright 2009 St. Paul of the Cross Parish. All Rights reserved.</div></th>
<th width="400" scope="col"><div align="right" class="style1">Usage outside our permissions guidelines requires our prior written consent.</div></th>
</tr>
</table></th>
</tr>
</table></td>
</tr>
</table>
Tnx in advance!Hi
Can you tell me which version of dreamweaver you are using (and flash pro, if you have it), as the code you provided has element of a number of different versions (e.g. your js flash files are reasonably new, but your flash inserted into the html body is old, but with the cs3 version of flash player indicated!). Also the detect flash file is no longer required.
PZ -
Print html file via share intent
Hello HP
I'm a developer, I trying to print html file to HP Printer via share intent. Here is my code:
Intent intent = new Intent("org.androidprinting.intent.action.PRINT");
Uri uri = Uri.parse(path);
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setDataAndType(uri, "ePrintWebContent/*");
startActivity(intent);
Nothing happen when I share this intent. Please show me right way to print html file.
Thank you!!Did you look in the LabVIEW Help? http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/reg_hndl_ax_evnts/
You right-click on that parameter and select Create Callback VI. This will automatically create a VI with the required inputs and outputs. This is the VI that will be called when the event occurs. If you need the callback VI to update any front panel controls of the main VI, then you can pass in control references via the User Parameter input.
Attached is a modification of the shipping example that handles the Navigate and DocumentComplete events.
Attachments:
Navigate Callback Example.vi 24 KB
Navigate Callback.vi 15 KB
DocumentComplete Callback.vi 15 KB -
How can I print a file with mixed page orientation in windows 8.1?
I have a win 7 and a win 8.1 computer. I have a file which contains both landscape and portrait pages. The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc.
I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pcส่งจาก จดหมายของ Windows
จาก: Pat Willener
ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
ถึง: thang dinhvan
How can I print a file with mixed page orientation in windows 8.1?
reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion
I have a win 7 and a win 8.1 computer. I have a file which contains both landscape and portrait pages. The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc.
I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
Printing PDF files with smb/cups not possible // SLPReg status -20!
Hello *,
i am running SAMBA 3.6.1-1 and CUPS 1.5.0-1 on a dedicated system. Printer: Canon Pixma IP4500 (USB).
The problem is that all Windows 7 clients are not able to print PDF files (since few months) on that printer while printing these files with Linux software is no problem. The PDF files are neither encrypted nor forbidden to print.
I tried to print with Adobe Acrobat Reader X (latest) and Foxit Reader. Both are preparing the pages to be printed and close their printing dialog after processing. Windows printing queue does not show any jobs (which it even does not when printing simple images with MS Paint, which is not a problem).
Windows systems are using the Canon Inkjet 4500 and Canon iP 4500 driver (manually installed). Printing images works with both drivers.
I searched for "SLPReg […] failed with status -20!" but found no helpful information.
/var/log/cups/error_log
D [24/Dec/2011:23:05:35 +0100] Report: clients=0
D [24/Dec/2011:23:05:35 +0100] Report: jobs=499
D [24/Dec/2011:23:05:35 +0100] Report: jobs-active=0
D [24/Dec/2011:23:05:35 +0100] Report: printers=2
D [24/Dec/2011:23:05:35 +0100] Report: printers-implicit=0
D [24/Dec/2011:23:05:35 +0100] Report: stringpool-string-count=199735
D [24/Dec/2011:23:05:35 +0100] Report: stringpool-alloc-bytes=14344
D [24/Dec/2011:23:05:35 +0100] Report: stringpool-total-bytes=3718136
D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
D [24/Dec/2011:23:05:36 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
E [24/Dec/2011:23:05:36 +0100] SLPReg of "IP4500" failed with status -20!
D [24/Dec/2011:23:05:48 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
E [24/Dec/2011:23:05:48 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
D [24/Dec/2011:23:06:07 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
E [24/Dec/2011:23:06:07 +0100] SLPReg of "IP4500" failed with status -20!
D [24/Dec/2011:23:06:19 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
E [24/Dec/2011:23:06:19 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
D [24/Dec/2011:23:06:35 +0100] Report: clients=0
D [24/Dec/2011:23:06:35 +0100] Report: jobs=499
D [24/Dec/2011:23:06:35 +0100] Report: jobs-active=0
D [24/Dec/2011:23:06:35 +0100] Report: printers=2
D [24/Dec/2011:23:06:35 +0100] Report: printers-implicit=0
D [24/Dec/2011:23:06:35 +0100] Report: stringpool-string-count=199735
D [24/Dec/2011:23:06:35 +0100] Report: stringpool-alloc-bytes=14344
D [24/Dec/2011:23:06:35 +0100] Report: stringpool-total-bytes=3718136
D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
D [24/Dec/2011:23:06:38 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
E [24/Dec/2011:23:06:38 +0100] SLPReg of "IP4500" failed with status -20!
D [24/Dec/2011:23:06:50 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
E [24/Dec/2011:23:06:50 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
/etc/samba/smb.conf
load printers = yes
printing = cups
printcap = cups
[printers]
path = /var/spool/samba
printable = yes
public = yes
writable = no
/etc/cups/printers.conf
# Printer configuration file for CUPS v1.5.0
# Written by cupsd on 2011-12-24 22:25
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer IP4500>
UUID urn:uuid:f9850f70-d898-39ad-4e0a-9edfecf4977b
Info Canon iP4500 series
Location Keller
MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
DeviceURI usb://Canon/iP4500%20series?serial=42E635
State Idle
StateTime 1306084752
Type 45084
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
DenyUser xy
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer IP4500_Duplex>
UUID urn:uuid:14fcd3ca-2118-380e-5033-79beb09bb3b7
Info Canon iP4500 series (Duplex)
Location Keller
MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
DeviceURI usb://Canon/iP4500%20series?serial=42E635
State Idle
StateTime 1324761079
Type 45084
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>Hi,
I can, unfortanetly, confirm this problem for me with a Brother HL-2030 and an HP Officejet 5600 series.
cups error log
D [03/May/2012:21:42:46 +0200] Report: printers=3
D [03/May/2012:21:42:46 +0200] Report: printers-implicit=0
D [03/May/2012:21:42:46 +0200] Report: stringpool-string-count=10577
D [03/May/2012:21:42:46 +0200] Report: stringpool-alloc-bytes=13088
D [03/May/2012:21:42:46 +0200] Report: stringpool-total-bytes=192536
D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
D [03/May/2012:21:43:48 +0200] Report: clients=0
D [03/May/2012:21:43:48 +0200] Report: jobs=233
D [03/May/2012:21:43:48 +0200] Report: jobs-active=0
D [03/May/2012:21:43:48 +0200] Report: printers=3
D [03/May/2012:21:43:48 +0200] Report: printers-implicit=0
D [03/May/2012:21:43:48 +0200] Report: stringpool-string-count=10577
D [03/May/2012:21:43:48 +0200] Report: stringpool-alloc-bytes=13088
D [03/May/2012:21:43:48 +0200] Report: stringpool-total-bytes=192536
D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
D [03/May/2012:21:44:50 +0200] Report: clients=0
D [03/May/2012:21:44:50 +0200] Report: jobs=233
D [03/May/2012:21:44:50 +0200] Report: jobs-active=0
D [03/May/2012:21:44:50 +0200] Report: printers=3
D [03/May/2012:21:44:50 +0200] Report: printers-implicit=0
D [03/May/2012:21:44:50 +0200] Report: stringpool-string-count=10577
D [03/May/2012:21:44:50 +0200] Report: stringpool-alloc-bytes=13088
D [03/May/2012:21:44:50 +0200] Report: stringpool-total-bytes=192536
printers.conf
# Printer configuration file for CUPS v1.5.0
# Written by cupsd on 2011-12-24 13:14
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer CUPS-PDF>
UUID urn:uuid:ad99f5dd-2577-355f-759c-6b2941a88d34
Info Virtual PDF Printer
Location Zion
MakeModel Generic CUPS-PDF Printer
DeviceURI cups-pdf:/
State Idle
StateTime 1309396700
Type 8450124
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer HL2030>
UUID urn:uuid:1b453a5d-ade0-3ddb-45e4-c5bcfe1feabd
Info Brother HL-2030 series
Location Zion
MakeModel Brother HL-2030 Foomatic/hl1250 (recommended)
DeviceURI usb://Brother/HL-2030%20series?serial=G6J274210
State Idle
StateTime 1324728260
Type 8433668
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer HP5600>
UUID urn:uuid:8d882659-3c7e-319f-5072-38d14683cfaf
Info HP Officejet 5600
Location
MakeModel HP Officejet 5600 Series, hpcups 3.11.10
DeviceURI hp:/usb/Officejet_5600_series?serial=CN838F31ZQ04B2
State Idle
StateTime 1324728896
Type 8425484
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
smb.conf
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = no
printable = yes
Did you find a solution in the meantime? -
IP - Is it possible to call exit planning function from ABAP Report..
Hi All,
Greetings.
Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
Or if somebody has done in BPS, appreciate if it can be shared too .
Thanks a lot and have a good day,
Best regards,
Daniel N.Hi.
You can achive this as suggested by Mattias in your previous post.
Lets say you have next data structure:
CostCenter | Amount | PercentForDistibution |
Create input ready query in this format. Restrict cost center by variable type range.
Create WAD with analysis item.
When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
I assume you have data only for 101004 in your cube (lets say 1000).
You will see only one record in your webpage.
CostCenter | Amount | PercentForDistibution |
101004 | 1000 | NOTHING
When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
Just add 6 new records:
CostCenter | Amount | PercentForDistibution |
101005 | NOTHING| 10
101006 | NOTHING| 30
101007 | NOTHING| 20
101008 | NOTHING| 25
101009 | NOTHING| 5
101010 | NOTHING| 10
Then run planning FOX function like this:
FOREACH Z_COST_CENTER.
IF {Amount, Z_COST_CENTER} <> 0
Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
ENDIF.
ENDFOR.
FOREACH Z_COST_CENTER.
IF {PercentForDistibution Z_COST_CENTER} <> 0.
{Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
ENDIF.
ENDFOR.
It is not perfect FOX, but as an idead, it should work.
Regards. -
Possible to print PO file attachments on the PO report? (R12)
Hi All,
Metalink Note:436308.1 (Do Text File Attached To Purchase Order Print on Purchase Order Report?) promises that functionality for printing PO file attachments on the PO report would be available in R12.
Does anyone know if this functionality has been implemented, and if so, where is it documented? I have been looking but not finding. Grateful for your help, as always.
Best Regards, Matilda SmedsNagmohan, Matilda:
The attachment documents with category "To Supplier" are being emailed .... but I cannot see the PO+Contract terms in the attachments on I-Supplier. I can see the PO+Contract terms in the View PDf functionality.
When there are no attachment documents, I see the PO+Contract terms in the attachments as well as the View PDF. Why is this ?
Is there anything else that needs to be setup here ?
Yesh -
Can I batch print PDF files with Adobe Acrobat Reader X
can I batch print PDF files with Adobe Acrobat Reader X? I have tried from Windows Exploer (Windows XP) and it looks like the files are opening but they do not print.
PatVery strange! What is your installed Reader version?
Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)]. -
Problem Printing html page with JEditorPane...
Hello All,
I Have a problem in printin html file with JEditorPane...
My Html file contains a Table on it..
Problem is that JEditorPane displays the html file correctly but
it prints the file without print that Table..
So pls help me...
Thanx in advance,..
Amit
[email protected]I think you would know how to retrieve content of an HTML page using the URL object. Just in case.
My apology if this short note doesn't help you at all. -
Calling custom Infotype method from ABAP report
Hi Experts,
I am working on an application where i need to call a method of a custom defined infotype.
I have done this -->
1. Create a custom infotype 9111
2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111
3. Inside this method there are few inherited method which provide me functionality of insert , update , delete
i want to call methods IF_HRPA_INFTY_BL~MODIFY,
IF_HRPA_INFTY_BL~INSERT
However when i call these method from abap report this method does not work.
where as when i try to insert an entry using PA30 transaction it works.
Does anyone know why does this happen and what is the solution?
Regards,
Ashish ShahHi,
This is the code we are using. Just calling the read and modify methods of the check class. Very simple actually .. we just want once update/insert to work but it does not.
<CODE>
REPORT ZTESTRAD_WD.
FIELD-SYMBOLS <p9106> TYPE p9106.
DATA : infty_container_tab TYPE hrpad_infty_container_tab ,
message_list TYPE REF TO cl_hrpa_message_list,
w_ok type boole_d ,
ref_class TYPE REF TO ZCL_HRPA_INFOTYPE_9106,
container TYPE REF TO if_hrpa_infty_container,
it9106_container TYPE REF TO cl_hrpa_infotype_container,
p9106_ref TYPE REF TO data,
busilog type ref to if_hrpa_masterdata_bl.
CREATE OBJECT message_list.
TRY.
CREATE OBJECT ref_class
EXPORTING
tclas = 'A'
infty = '9106'.
CATCH cx_hrpa_violated_assertion .
write :/ 'Error during initialization'.
ENDTRY.
call method cl_hrpa_masterdata_bl=>get_instance
importing
masterdata_bl = busilog.
TRY.
CALL METHOD ref_class->IF_HRPA_INFTY_BL~read
EXPORTING
tclas = 'A'
pernr = 'XXXXXXXX'
infty = '9106'
begda = sy-datum
endda = sy-datum
no_auth_check = abap_true
message_handler = message_list
IMPORTING
container_tab = infty_container_tab
is_ok = w_ok.
CATCH cx_hrpa_violated_assertion .
WRITE :/ 'Infotype could not be read'.
ENDTRY.
*" Fill the local structure with container data:
loop at infty_container_tab into container.
it9106_container ?= container.
TRY.
CALL METHOD it9106_container->primary_record_ref
IMPORTING
pnnnn_ref = p9106_ref.
CATCH cx_hrpa_violated_assertion .
ENDTRY.
ASSIGN p9106_ref->* to <p9106>.
write :/ <p9106> .
endloop.
*" Just change some field values of the record
<p9106>-C1name2 = 'Test name'.
<p9106>-C2name2 = 'Test name 2 3 4'.
data : return TYPE BAPIRETURN1,
return1 TYPE BAPIRETURN1.
*CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = <p9106>-pernr
IMPORTING
RETURN = return1
*PERFORM do_nothing(sapfp50p).
The container itself is modified
container ?= it9106_container->modify_primary_record( <p9106> ).
CREATE OBJECT message_list.
the invocation - errors are always fatal !!!
DATA : lx_exception TYPE REF TO cx_root,
update_mode type HRPAD_UPDATE_MODE,
massn type massn,
massg type massg.
TRY.
CALL METHOD ref_class->IF_HRPA_INFTY_BL~MODIFY(
EXPORTING
old_container = it9106_container
massn = massn
massg = massg
update_mode = update_mode
no_auth_check = 'X'
message_handler = message_list
IMPORTING
is_ok = w_ok
CHANGING
container = container
CATCH cx_hrpa_violated_assertion INTO lx_exception.
RAISE EXCEPTION TYPE cx_wd_no_handler
EXPORTING previous = lx_exception.
ENDTRY.
</CODE>
I have also tried by instantiating the cl_hrpa_masterdata_bl and then calling the methods on that object...... makes no difference.
I used this link to proceed with the modifications:
http://help.sap.com/saphelp_erp2005/helpdata/en/43/21d2254bba2bebe10000000a1553f7/frameset.htm
The funny thing is that the WHOLE logic executes without any error messages or dumps or anything. I have now debugged almost every line of code that these methods call. PA30 works just fine. HR_INFOTYPE_OPERATION does not .. that's a whole differnt story. -
Printing HTML Docs with JPS ???
Hello!
How can I print a HTML-File with Java Printing Service (not the source, but the view of it) ???
Some experience???
kind regards
pedros25I'm currently trying to do just that. My problem is
that in order to get a lengthy HTML document to
print, you have to have an object that
implements the Pageable interface. The two methods
I'm having trouble with are
getNumberOfPages()
This returns the number of pages in the Print job.
How do I calculate the number of pages in an HTML
document?
getPrintable(int pageIndex)
For this part, I just rerturn a reference to the JScrollPane which contains the JEditorPane. However,
I also have to get it to scroll to the appropriate
page. Right now I'm using the following:
public void goPage(int pageIndex)
int block = pane.getScrollableBlockIncrement(scroller.getViewport().getViewRect() ,SwingConstants.VERTICAL,1);
int newVal = block*pageIndex;
//scroller.getVerticalScrollBar().setValue(newVal);
scroller.getViewport().scrollRectToVisible(new Rectangle(0,newVal,this.getSize().width,block));
But this seems to be causing a few lines to be skipped
between each page. Any ideas on how to implement the
pageable interface for a JScrollPane that contains a
JEditorPane which contains an HTMLDocument?
Maybe you are looking for
-
Error Message: "The iPod... cannot be synced because there is not enough free space to hold all of the items in the iTunes library (additional 21.62 GB required)." I moved my iTunes library FROM a Win 7 32bit HD to a new Win 7 32bit HD. On the old HD
-
IPod nano charges but is not recognized
Good morning. Im writing this topic, because I saw all the topics about this same problem, and none of them solved mine. I hope you can help me on this, so here is the thing: When I connect my iPod to the 2.0 usb port, the ipod lights its screen, cha
-
Please Help! FaceTime playing up
Every time I'm on FaceTime to someone either the sound goes or the sound goes weird on in fact the picture goes all jumpy. Can anyone tell what is wrong?
-
Module pool screen modification
Hi, I have developed a screen. In that, the listbox gets filled up with some values for eg. customer. after user selects the customer from the listbox, the label field should get the customer name after pressing enter key. how to do it? rgrds Madhuri
-
Problems while using FM Gui_download.
Hi, When we use FM GUI_DOWNLOAD it saves internal table into excel file in a 'Text-Tab delimited format' . Is there any FM which will store the contents in MICROSOFT EXCEL WORKBOOK format??