Printing w 8.5x11" .png form
There is a specialized pdf official form that saved in full size as a .png file. After that I used absolute positioning to place many dynamic fields in the right position.
The problem is that when I either save as pdf or print the page - various browsers do different things and often in will end up as 2 pages not 1.
ex: safari adds a header (title and date) and footer (url) - which I do not want that takes up space
ex: when I save in safari - I can scale to 95% and that makes 1 page but not in other browsers.... etc.
So - best option is to print at 100% and not have extra headers and footers and or control the % scale for the user - that type of thing...
I really would rather NOT have to resize the original doc and have to reposition everything.
Also : I'm a newbie at CSS so try to keep it simple...
Q: What is the best way to solve this problem?
A few questions...
in terms of printing
goal - to print 8.5x11 " pic as 1 page (where I put the dynamic text on top)
Q: to print 1 relatively high quality page from the web - what would the size of the graphic be in pixels for best results?
Q: would you ever make a larger graphic 1150 wide x 1900 h - then use img width % to reduce for layout - the reason is that maybe the original graphic is better quality - or something like that?
As you can see I'm confused by 72 dpi screen - and 300 dpi for printing and sizes etc... - is there a URL to explain printing 1 page documents from a web page.... (with dynamic text...)?
Similar Messages
-
How to print page numbers in adobe form
Hi,
Can anybody tell me how to print page numbers in adobe form.
Thanks in advance
ChaitanyaHi,
Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
My requirement is to have the user control on current page. For Example:
Example for a Invoice with 5 PO items (stands on 2 pages) :
1st page is the letter : no page number
2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
I have used the follwing java scripting:
this.rawValue = wv_pages - xfa.layout.page(this)
where wv_pages is total no of pages calculated from print program.
Please help me in this regard with some formcal or java scripting conditions.
Thank You,
Regards,
Naresh. -
Print Charts/Graphs on Smart Forms
Hi Seniors,
Here is a requirement on Smart Forms:
I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
I have tried executing transaction GRAL(demo reports for SAP graphics) too.
I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
Thanks in Advance,
Chaitanya.Dear Bouman,
Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
Regards,
Chaitanya.C.N -
Hi Guru's,
I have requirement to print some hindi text in SAP Form , please advise how to do that. I have gone through several posts which were posted for the same requirement but somehow don't see any concrete solution on it.
As hindi language is not available in SAP, Is it possible to print in Hindi on SAP Forms by uploading hindi fornt !! I need to print both variable and constant values.
Please advise.
Regards,
Anoopcheck this sap note 895560
-
Very Urgent! Print Report output to local printer on button click in form
In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
Environment: Apps 11.5.10.2, Forms 6i
Here is the code that i am using in my custom.pll.
if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
l_order_header_id := Name_In('ORDER.header_id');
select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
select a.profile_option_value
into v_printer_name
from fnd_profile_option_values a
, fnd_profile_options b
, fnd_profile_options_tl c
, fnd_user fu
where a.profile_option_id = b.profile_option_id
and c.profile_option_name = b.profile_option_name
and fu.user_id (+) = a.level_value
and c.language = 'US'
and c.user_profile_option_name='Printer'
and a.level_id = 10003 ;
if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
then
l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
chr(0), '', '', '', '', '', '', '', '', '', '',
end if;
fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
fnd_message.show;
copy('NULL','parameter.ACTIONS');
IF (l_new_request_id = 0) THEN
FND_MESSAGE.RETRIEVE;
FND_MESSAGE.ERROR;
else
l_commit_result := APP_FORM.QuietCommit;
END IF;
I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
Thanks,
SrinivasI solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.
-
How to print the contents of a form(window)
I'm devloping visitors application in java. After the data entry, I need to display the selected information from database along with the photo and take a printout so that it looks like a card.
I know how to display the contents in a form. How do I print the contents of the form?
-Thanx
Hanein JComponent there is a method called print(Graphics g)
you can use that with a Printable class
read bout the java.print package in the java doc -
How to print BIP reports from Oracle Forms?
Hi all,
I have a question in regards to printing BIP reports from Oracle Forms... We are aiming for a server installation of BIP with integration to Oracle Forms using SSO to handle security. We use Forms built-in web.show_document to render and view the report in PDF/Excel etc... We would like to by pass the viewing and print some of these reports directly to the printer.
Any idea/suggestions how we can go about this?
Thanks in advance for your time.
YahyaYahya,
via HTTP it's not possible to send a report directly to the printer. You had to go via the Scheduler, which is able to do that. With the WebService API you can call a report with the Scheduler and Execute Immediate.
Regards
Rainer -
When I try to print an jpeg or png from Photoshop all it does is convert the image to a PDF & plop it on my desktop- it won't print the image. Any suggestions as to how to fix this?
Yes, the printer is on, it’s selected in Printer Set-Up & I’ve never had this problem before. It’s definitely a Photoshop issue as every other type of file prints fine. I’ve uninstalled Pshop & am now reinstalling. Hope that will do the trick.
-
View History of Print Jobs alongside w/ corresponding Form Name and Printer
Hi guys,
Just a small question. I have to do a particualr investigtion of a particular Job Order(Service). One of them includes checking the print history of its corresponding form name(sapscript), and printer device used for it.
Is there a SAP table or TCode where this can be accessed?
Thanks again and good day.Hi,
SP01 transaction gives the details about printer and the spool. If you are able to recollect the scripts name by checking the spool output then this transaction will help you.
In SP01 transaction, there are two tabs - Output request and spool request. Check both.
The data of spool output and printer is stored in table from TSP01 till TSP09. But i dont think you would get the script or form name. You can only get the spool output from which you should determine the script/smartform used.
Best regards,
Prashant -
How can print a file PDF from form
Hi to all,
I need to print a file PDF from form (developer 6i), Is IT POSSIBLE?
Thank you
Silvia"Print" probably won't work for a pdf file. As the HOST command try:
host('<path_to>/AcroRd32.exe /t pathname "printername" "drivername" "portname"');See "How do I use the Windows command line with Acrobat and Adobe Reader?" in:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf -
Printing Chinese Characters in Smart Forms
Hi,
Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols.
I have researched and implemented for some possible solutions posted in the forum like:
a.) Setting the regional language control panel.
b.) Activating the multi-byte function in I18N.
c.) Checked the output device is SWINCF.
d.) Control parameter language is ZH (Chinese).
Unfortunately it still doesnu2019t solve the problem. Any input is highly appreciated.
With regards,
MarcRemark following basics:
Forms:
Language of the form must be: "ZH".
Due to a SAPNOTE only font family CN* (CNSONG etc.) is mapped.
For frontend print, you must install chinese true type on you local PC and print via "CNSAPWIN" .
For backend print, you must install neccesaary fonts in your printer to the resident fonts. You must use a printer like "CNHPL4" or so.
For PDF archiving, you must upload truetype fonts to application server -> basis guys.
Cascading Fonts:
If you mix different subfonts to unicode areas, you must use CNSAPWINCF.
Until now, only frontend printing is available.
Note:
Spool created for back end print with print preview is only a simulation of getting a picture of the output created with front end technology. So it can differ, when the printer does not have the resident fonts.
Regards,
Christian -
How can i print currency symbol in smart form?
how can i print currency symbol in smart form?
i want to print the currency symbol with grant total based on the vendor currency.
pls hepl............Hi,
think You can't print the symbols for currency like $ and Pound etc
see this doc if needed
A variable in SAPscript is called a symbol. There are the following types.
System symbol (e.g. the number of the current page)
Standard symbol (usable in any document)
Program symbol (value from the print program)
Text symbol (local variable)
The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
goto any PAGEWINDOW's Text elements in Script (SE71)
from the Menu-> INSERT-> Symbols
you find all symbols here
System symbols
System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
1. General system symbols
See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
2. SAPscript system symbols
See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
3. ABAP system symbols
For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. http://SYST is the dictionary structure for ABAP system fields.
Sample code:
User: &SYST-UNAME&
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
Standard symbols
Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
Tools
Form Printout
Administration
Settings
Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
Standard symbols complicate searching a SAPscript form, since text like Charity registration 211581 may be hiding in a standard symbol.
Text symbols
A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
/: DEFINE &COMP_NAME& = University of Warwick
/: DEFINE &WS_RATE& = &TAX_SUMM_C&
Reward points for useful Answers
Regards
Shiva Kumar -
Functionality in SAP to allow you to print multiple copies of a form
I've been asked by a SD functional team member how to:
This is the table and field names for Number of Messages functionality in SAP which should allow you to print multiple copies of a form at one time.
Program Name:SAPMV13B
Screen #:0211
Transparent Table: NACH
Field Name: ANZAL
Data Element: NA_ANZAL
How do I go about setting up this functionalilty?
Thanks,
LaurieHi Laurie,
There are three possible ways -
1. Predefined number of copies - You can define number of copies in the print parameters while creating condition record. Ask you functional team member how they are setting up condition records. You have an option to setup print parameters on condition record screen. This is the only option if you are using output determination.
2. If you have an isolated print program then you can choose to let user enter print parameters by using parameter " DIALOG = ' ' " in "open_form".
3. If you have an isolated print program and do not want to let user control other print parameters you can take input from user ( or hard code ) number of copies and use that in parameter " OPTIONS " in "open_form".
Cheers,
Sanjeev -
I've tried using the print icon on the downloaded form and also control P, but only get a blank page. I've even changed printers, but it didn't help. My print menu looks the same and I do not have trouble printing anything else, only with downloaded files.
If you cannot see any content on pages you printed or in print preview, the cause might be margins which are set too high.
#In order to check the margins, we need to go to ''File'' > ''Page Setup''.
#Once this is done, switch to the ''Margins & Header/Footer'' tab.
#Check what's set there under ''Margins''.
The following are the default values for ''Margins'':
'''Right''': 12.7
'''Top''': 12.7
'''Left''': 12.7
'''Bottom''': 12.7
Check these values accordingly and change them if necessary. -
Hi,
Can you pls tell me how to print bar code in smart form?Hi,
You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
○ Start transaction SE73, and choose System Bar Codes ® Change.
○ If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
If you have only changed the bar code, continue with the next step.
3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
4. You can then print the bar code.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
Check the pdf below..
http://www.sap-press.com/downloads/h955_preview.pdf
Regards
Kiran
Edited by: Kiran Sure(skk) on Apr 10, 2008 11:01 AM
Maybe you are looking for
-
Error when loggong on for external ID "": Error during SAML 2.0 logon
Hi, I'm getting be below error when trying to use SAML SSO for a ABAP Webdynpro page on a NW 7.4 system. When I access the page, it redirects to the identity provider, comes back to the page and it shows the logon page. I'm looking for any ideas of t
-
Editing video or audio in increments LESS than 1 frame?
Case #0183085485 Updated Wednesday, March 21, 2012 7:59:24 PM PDT Opened Thursday, March 15, 2012 4:54:02 PM PDT Status Open - Pending Adobe Response Product Production Premium 5.5 Support contract Adobe Support Program Subject Premiere Pro CS5.5: Ed
-
I am using an Aux track to monitor external audio. Any chance it is possible to create some sort of environment setting to allow me to record a track directly from there?
-
How do i get rid of 20,000 emails that have just downloaded onto my new 5s
hi can anyone tell me how to get rid of 20,000 emails that have just downloaded onto my new 5s thanks
-
Transferring images from Photoshop to Imageready (color problem)
Hi, I've noticed that when I place one of my Photoshop images in Imageready (to create a new web page), the color is different when the image is in Imageready. It seems to lose vivrancy and saturation. The photos are of my artwork, so I really care a