Printer Setup for HTML reports (Landscape)

I'm trying to print an HTML report in Landscape, the Report Orientation VI only works with Standard Reports, and I can't find anything that will let me modify the "Printer Setup"
Anyone done this?

Jeff,
To print an HTML report it first has to be rendered. To render HTML, you need a browser. For example, you can render HTML in either Internet Explorer or Firefox or Opera, and all three might render the same data slightly differently. To simplify the situation let's say that you're using IE. Once IE renders the HTML, you then have to get it to send the rendered output to the printer. So you can see why it isn't time or cost-effective for NI to try and necessarily support these functions. For the end user however, I'd guess that quite a few people have had this problem.
I have had to do a lot of digging around to get HTML reports to print right. My solution has been to use an ActiveX container with an IWebBrowser2 object (Internet Explorer). This will let you load and print HTML reports programatically however (glancing back over some old code) I don't see immediately how you can print a report in Landscape. With an ActiveX container however you can call the IE print preview function which will let you (the user) modify the report printing to Landscape. It's not a programmatic solution since you have to interact with the GUI but it works. Also, once you set the setting to Landscape, everything printed afterwards using your ActiveX container will also print in Landscape.
Something else which may not apply to you (but maybe--I'll at least mention it) is printing a landscape single image... that's usually why I needed to print landscape... to print out a full page screenshot of a graph or something. I do this in portrait mode by just attaching the control image but rotating it first and adding the HTML code to make it 100% of the vertical page.
Last but not least, if you are 100% set on using a programmatic implementation to print a landscaped report (no user interaction), the best thing to do would be to build on an ActiveX implementation so that your report is being loaded and printed from an embedded IWebBrowser2 object. With the IWebBrowser2 object there is an option for using a pre-defined print template. This option is NOT for the faint of heart and requires you basically to re-program the whole IE print-preview functionality. However, it's not impossible either, it just takes the time of learning basically how the IE print preview interface works and then adapting it to your application (in this case, landscaped printouts). This is also the ONLY way to change HTML report headers and footers. The print preview interface in IE is written entirely in javascript--you can get details on msdn (search for "print preview templates"). However, there isn't really enough info there to do things with any ease. So....
If you get to the point where you get an ActiveX container working and want to fool with the IE print preview javascript templates, let me know. I have extracted the entire template and associated images from the windows DLL it is stored in so I could adapt it and change the headers and footers for my reports and things of that nature.
Now that I mention it, I believe that is the only way also to actually set landscape or portrait--by programmatically changing the printing margins (so it prints 11x8.5 instead of vice versa).
Anyway, hope that helps...

Similar Messages

  • HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i

    HOWTO: Control Printer Attributes for a Report at Run Time
    Like page width , height etc
    my problem is i had installed a printer and it is set for
    printing different reports ( like invoice slips , legal size ,
    A3 etc ) each time i have to manually set the page settup from
    printer folder .instead if there is an option to set the printer
    attributes from Reports 6i it is great
    rajesh

    All the Printer Setup(Page Height and Page Width) must be set in
    the Reprot Program. These can be set at the Layout-Main Section
    in the Object Navigator.
    hth

  • Printer Setup for Aperture and Epson R1800

    After installing the upgrade to 1.5, something went wrong with my printer setup for both my R1800 and my PictureMate Deluxe.
    I've done the following:
    Reset the printer system.
    Reinstalled the Drivers
    Attempted to Print from Aperture using about 30 + combinations of settings.
    I'm still getting colors that are off and overall dark photos.
    Best Setting appears to be
    Printer Settings
    Print Settings
    Media Type: Premium Glossy Photo Paper
    Color: Color
    Mode: Advanced (Photo, High Speed, Finest Detail, Off)
    Color Management
    Off (No Color Adjustment)
    ColorSync Profile: SPR1800 PrmGlsy Photo.icc
    Black Point Compensation = Checked
    Gamma 1.10
    The resulting pictures appear to be about 1 f-stop or so underexposed and the colors are off (I'm color blind, so I can't say exactly how). I know that it is the setup of the printer settings. If I print the same pictures from Nikon Capture on my Windows computer, the print is perfect. I prefer to use Aperture for my photo work.
    Epson doesn't have Aperture and doesn't understand all of the settings. The Apple Care support tech stated that he is not qualified to answer and said to call back when the Aperture team is working. I've got a ton of Christmas gifts to print out!
    Assistance would be greatly appreciated.
    Thanks,
    -William

    william:
    you don't state in your original posting whether or not you've calibrated your monitors, especially to a 2.2 Gamma. in order to get the most accurate screen->print matching you have to hardware calibrate your monitors. this is by far the single most significant improvement i've made in my workflow. prior to calibration my monitors were set to a gamma of 1.8 which is much brighter than 2.2 and this causes you to NOT correct your images with the additional exposure required for proper printing. my prints were always too dark prior to calibration.
    the spyder 2 from color vision is an excellent choice.
    scott
    PowerMac G5 2.5GHz   Mac OS X (10.4.8)   MacBook Pro 2.0GHz

  • Printer setup for cost centre reports

    Hello SAP Gurus
    We need to print them at the month end to review the costs with the Departmental Managers
    If we use the icon ''customising local layout'' + ''hardcopy'' the print uses portrait ,therefore does not  completely print the end column ''available''
    If we use the  print icon ,we additionally have to click the next three ''green ticks''.This adds up to 4 x 80 = over 320  clicks to get the cost centres all printed
    (using excel download takes even longer)
    Any solution to this?
    Thanks

    Set up printer to have validity settings for all reports and opting to print all variants in seperate spool request.

  • Open & print an existing HTML report

    I want to open a previously created, saved & closed HTML report for printing.  I don't see any thing in the Report Generation vi group for opening existing reports and wasn't sure how to go about it (if at all possible) using the standard file open options to get to a report.  Any ideas?  Thanks.

    Hello,
    To print and view an HTML report you have already saved to disk, just create a new report, and use the "Append User Formatted HTML to Report.vi" to append the entire HTML content of the report to a new report.  Then use the "Print Report.vi" and "Open HTML Report in Browser.vi" to print and view it.  This is the easiest way I can think of...here is a screenshot showing what I mean:
    Hope this helps,
    -D
    Message Edited by Darren on 04-18-2006 01:31 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    print_and_save_report.jpg ‏84 KB

  • AP Check printing setups for printing checks on your own

    HI
    I am wondering if there a good document which deals with AP check printing with MICR and signature on your own check stock
    thanks

    Recently we started to deal with AP check printing in our organizatin. It was a daunting task with the information and resources scattered all over and missing critical pieces of information to make sense out of the whole process flow. We attempted to go through the AP check printing internally and succeded.
    I decided to post the information for the benefit of people about the our experience
    Check Printing Basics and Beyond for Printing Checks on Your Own
    by
    Sarma Chilukuri
    This article deals with what is needed to get your own checks printed. It is a first attempt to uncover all the hidden rules that one should be aware to get your own checks printed. The first section deals with the basic AP check printing setup, while the 2nd half explores some of the flow of events that make it possible to print the check.
    Part I – Basic Setup
    AP Setup for check printing
    There are multiple steps in the AP check printing. First set of steps deal with the AP side setups. The second step is to get the System side setups. The system side setup deals with printer setup and program options setups. The last step would be to make the print format files configured with the vendor provided escape sequences in the laser print format file.
    Step 1: login as Payable Manager
    Step 2: Bank Setup: Navigate to Setup: Payments > Banks
    1.     Make sure the Bank # etc are present
    2.     Tab to “Bank Accounts”, and make sure your account # has been setup
    3.     On the Bank Accounts screen, tab to the “Payables Documents” and verify that Payment format (E.g., COK Laser Format) has been entered. This “Payment format links to next section where we associate it to the right payment program.
    Fig 1. AP Payment Bank Setup Screen
    Step 3: Program Setup (Setup: Payments > Programs)
    As we know there are only 5 formats 3 of which are “Ever Green Laser” (APXPBFE G|L|F) which are explained in the AP Users Guide. For your own form printing, you have to associate the format to APXPFEL (laser format) program. Also, the APXPBFEL or APXPBFEF call the APXPBFEG, which is the base program that pulls the data from oracle base tables. APXPBFEL is the one which allows us to print the checks with MICR and signature on a plain paper not on a pre printed stationery.
    Fig. 2 AP Payment Format Setup Screen
    Printer Styles, Drivers setup
    The above process summarizes the AP Setup. As a DBA, the printer setup needs to be validated. The base install provides the right setup to some extent. But the differences in printers and print queues may add some complexity to the final configuration. The following section discusses the set up the base install provides and changes as needed.
    Step 1. Login as system Administrator
    Step 2: Style (Install : Printer > Style)
    Look for the “PORTRAITHPLJ4LASCHECK”. This one is associated with the SRW Driver Called, “APLASP” (AP Laser printer format).
    Step 3: Driver (Install : Printer > Driver).
         1. The “PORTRAITHPLJ4LASCHECK” is associated with a “User Driver” of PORTRAIT for HPLJ4 and and a SRW driver of “APLASP”
         2. Also notice that there is an Initialization string at the bottom of it. This initialization string gets called as pre-report trigger for the APXPBFEG program (APXPBFEG.rdf) file. It sets the kind of format it should be. Please see the Appendix A for details on these printer pcl code translations. The Initialization string was as follows:
    Initialization: /eE/e&l0o2a7C/e(s0P/e(8U
    Step 4: Printer type (Install : Printer > Register)
    Each printer type is associated with a set of styles. Make sure the printer that was selected has the above style and its associated driver listed against that.
    Fig. 3 System Administrator Printer Seups
    Step 5: Program Setup (Concurrent > Program > Define)
    This step holds the key for check printing. It is necessary to define whether you need the check on top followed by the Stub or the other way around. The way it is controlled is based on the APXPBFEG.rdf, the report definition file and the APLASP.prt (Printer Style associate with the Portrait laser check format SRW driver). The APLASP.prt file ($FND_TOP/reports) has two identical setups called the 100 series and the 200 series. Those identical sets of setups define where the MICR and signature print on the check. The following table lists the some of the codes in the 100 series. Please refer to Doc ID #146452.1 for complete details.
    Fig. 4 System Administrator Concurrent Program Definitions
    CODE #     Code Definition
    100     Electronic check activation string
    101     1st Check #
    102     2nd Check #
    104     Deactivate check number mode string
    111     Activate MICR line
    112     MICR Deactivation / reset the printer head position
    121     1st Signature
    122     2nd Signature
    141     Address font activation string
    199     Return to default state string
    Table 1. APLASP.prt -- MICR Activation Codes
    The above code block repeats itself the same way in the 200 series. The decision to activate one way or the other controls the Check printing.
    Step 2: Setting up the Option block
    In the concurrent program definition for the APXPBFEL, there is an Options block in the middle. You need to list the codes that you want to activate. Please refer to Doc ID # 186640.1 for some explanation on these.
    E.g.,
    p_printer_code_mask="201,211,221,241" p_sig2_amount="" p_sig3_amount="" p_sig1_vendnum="" p_sig2_vendnum="" p_sig3_vendnum="" p_country_to_ignore="US" p_continuous_stationery="N"
    Step 3: Output format is Text
    Text format is sufficient, as the printer will pick up these escape sequences anyway.
    Fig. 5 System Administrator Concurrent Program APXPBFEL Options Definition
    UIPRINT.TXT, UIFONTS.ALI
    One needs to be aware of a few more pieces in this puzzle. The UIPRINT.TXT identifies to the Oracle Applications the print queues that were setup. This file is needed to set your PCL / Post Script printer definitions. I did not have to really tinker with these files other than identifying the PCL and Post Script Q’s that were setup on the UNIX box.
    Part II: Integrating all the pieces
    The above setups are all documented in various articles. We need to understand a few more steps to see how all these pieces come together.
    What you need to know about APXPBFEG.rdf
    APXPBFEG (.rdf) is the report file which when called pulls the data from Oracle. If you open the APXPBFEG.rdf in the Oracle reports, there is initialization to the report called, SRW.Init. This will bring in the initialization string associated with the PORTRAITHPLJ4LASCHECK driver definition file. Also, please be very careful with this report format file. When you open it, there is small tiny empty block. in the first block which calls the printer initialization code 100/200 under the Format Mask (from APLASP.prt). If this portion gets changed or messed up, one can end up with some unexpected results. Each of those blocks like MICR, CHECK etc… have associated format triggers and printer codes.
    Please make sure that the printer mask is properly handled. I noticed that the 200 series MICR (211) and Signature (221) printer masks were tied to 111 and 121 respectively. These should have been 211 and 221. The other place you need to be careful was the printer code before and after is proper.
    For E.g.,
    For the MICR, the ”printer code before and after columns “ should be 111 and 112 (or 211 / 212) respectively while Format Trigger should reference to 111 (211).
    Fig. 6 APXPBFEG rdf file printer mask and Format Triggers
    The escape sequences in the APLASP.prt file for these codes will play the crucial role in getting our format around the report output that gets generated from the APXPBFEG program. Please refer to the explanation of these escape sequence codes in the APPENDIX A.
    At this point when you run the program, you will see that the formatted output report file will have all the initialization strings and the output associated with that. You can compare the fields and verify the results. Let us closely examine the parts of the 111 and 121 where the micr and signature prints. The key to this to code the escape sequences the right way to get the associate MICR and signature print out correctly.
    Fig. 7 APXPBFEG rdf file MICR printer mask and Format Triggers
    Code 111 and Code 112 from the APLASP.prt file.
    I broke the line into pieces to illustrate the exact escape sequence code.
    Code "211"
    Part 1: esc "&f0S" esc "&f0y0X" esc "&l0E" esc "&a0L"
    Part 2: esc "(8M" esc "(s0p8.00h8.0v0s0b80T" --- This will be provided by the ROM
    Cartridge provider
    Part 3: esc "&k15H" esc "*p3215Y" esc "&a13.8C"
    code "212"
    Part 1 : esc "&f1x3x8X"
    Part 2 : esc "&f1S"
    Let us go over these 2 sets of codes carefully.
    Escape Code     Meaning     Comment
    esc "&f0S"      Push Cursor Position     
    esc "&f0y0X"     Define Macro ID 0 and Start Macro Definition     
    esc "&l0E"      Define Top Margin at 0 Lines     
    esc "&a0L"      Define Left Margin at Column 0     
    esc "(8M"     8M Symbol SetNote : As per pcl codes this happens to be Font Primary JIS Math 8 symbol     MICR Part 1 : Provided by the Vendor from where you the ROM cartridge
    esc "(s0p8.00h8.40s0b0T"     {Fixed Pitch}{pitch 8.00 cpi}{Font Style 8.40}{Medium Weight}{Typeface 0}     MICR Part 2 : Provided by the Vendor
    esc "&k15H" esc "*p907Y"     Set HMI = 15/120" Vert position = 907 Dots     
    esc "&a13.8C"     Move to Column 13.8     
         CODE 112     
    esc "&f1x3x8X"     {End Macro Definition}{Call Macro}{Delete Macro ID}     
    esc "&f1S"     {Pop Cursor Position}     At this point, the MICR gets printed
    Table 2. Escape Sequences in APLAP.prt file Explanation
    Fig. 8 APXPBFEG rdf file Signature printer mask and Format Triggers
    The signature piece (221) has also similar meaning.
    Escape Code     Meaning     Comment
    esc "&f0S"     Push Cursor Position     
    esc "*t300R"     300 DPI Graphics resolution     
    esc "*p1500X"     Horiz position = 1500 Dots     
    esc "*p650Y"     Vert position = 470 Dots     
    esc "(4B" esc "(s1p53v0s0b102T"esc "&f0S!"     Symbol SetProportionalPoint Size 53UprightMedium WeightTypeface 102Push Cursor Position!     Vendor gave the us esc "(4B"esc"(s1p53v0s0b102T!"Note: the ! when the it pushes the ! and that is where it prints the signature piece. The first part forms the symbol set , say (4B and the later part forms the signature font and ! is the piece. I took the ! from the above and let it stay with the 3rd part of it so that signature does not print twice.
    esc "&f1S"      Pop Cursor Position     
    esc "*p+121Y"     Move down 121 Dots     
    esc "&f1S"     Pop Cursor Position     
    Table 3. Escape Sequences for Signature in APLAP.prt file and Explanation
    Summary
    One can print their own checks using the above steps. This can work as a cost effective solution for small organizations where the budgetary constraints are tighter. We are successful in getting the AP Checks printed using the above method.
    References
    Metalink Doc ID # 186640.1, Different Payment Formats …
    Metalink Doc ID # 60936.1, Step by Step Guide to Setup a Printer in Oracle Applications
    Metalink Doc ID # 250543.1, How to Create An Initialization String for a Payable Check Format
    Metalink Doc ID # 48680.1, Accounts Payable FAQ – Payment Batch, Check
    Metalink Doc ID # 1074792.6, Exclamation Point (!) Prints On Check When Using APXPBFEL And Cartridge
    Metalink Doc ID # 158486.1, APXPBFEL Evergreen (Long Laser)
    Metalink Doc ID # 146452.1, Listing of p_printer_code_mask Default Values for APXPBFEL
    Chapter 2, Oracle Payables user guide
    Appendix A
    APLASP.prt printer codes explanation
    code "200" esc "&l0o2a6d66p8.000c2e1x0l63f1H" esc "&k12.00H" esc "(8U"
    esc "(s0p10.00h12.00v0s0b3T" esc "&k11.75H" esc "&a1l0R" control(M) esc"&f3005y4X"
    {Portrait}
    {Letter}
    {6 LPI}
    {Define Page Length to 66 Lines}
    {Set VMI = 8.000/48"}
    {Define Top Margin at 2 Lines}
    {Select 1 Copies}
    {Disable Perf Skip}
    {Define Text Length as 63 Lines}
    {Feed from Tray 1 (upper)}
    0.1 esc "&k12.00H"
    {Set HMI = 12.00/120"}
    0.2 esc "(8U"
    {Roman-8 Symbol Set}
    0.3 esc "(s0p10.00h12.00v0s0b3T"
    {Fixed Pitch}
    {pitch 10.00 cpi}
    {Point Size 12.00}
    {Upright}
    {Medium Weight}
    {Typeface 3}
    0.4 esc "&k11.75H"
    {Set HMI = 11.75/120"}
    0.5 esc "&a1l0R"
    {Define Left Margin at Column 1}
    {Move to Row 0}
    control(M)
    0.6 esc"&f3005y4X"
    {Define Macro ID 3005}
    {Enable Overlay}
    code "201" esc "&f0S" esc "&a1.25r70C" esc "(8U" esc "(s1p14v0s3b4148T"
    {Push Cursor Position} esc "&f0S"
    1.1 esc "&a1.25r70C"
    {Move to Row 1.25}
    {Move to Column 70}
    1.2 esc "(8U"
    {Roman-8 Symbol Set}
    1.3 esc "(s1p14v0s3b4148T"
    {Proportional}
    {Point Size 14}
    {Upright}
    {Bold}
    {Typeface 4148}
    code "202" esc "&f0S" esc "&a20.25r70C" esc "(8U" esc "(s1p14v0s3b4148T"
    {Push Cursor Position}
    2.1 esc "&a20.25r70C"
    {Move to Row 20.25}
    {Move to Column 70}
    2.2 esc "(8U"
    {Roman-8 Symbol Set}
    2.3 esc "(s1p14v0s3b4148T"
    {Proportional}
    {Point Size 14}
    {Upright}
    {Bold}
    {Typeface 4148}
    code "211" esc "&f0S" esc "&f0y0X" esc "&l0E" esc "&a0L"
    esc "(0Q" esc "(s0p8.00h8.40s0b0T" esc "&k15H" esc "*p907Y" esc "&a13.8C"
    {Push Cursor Position}
    11.1 esc "&f0y0X"
    {Define Macro ID 0}
    {Start Macro Definition}
    11.2 esc "&l0E"
    {Define Top Margin at 0 Lines}
    11.3 esc "&a0L"
    {Define Left Margin at Column 0}
    11.4 esc "(0Q"
    {0Q Symbol Set}
    11.5 esc "(s0p8.00h8.40s0b0T"
    {Fixed Pitch}
    {pitch 8.00 cpi}
    {Font Style 8.40}
    {Medium Weight}
    {Typeface 0}
    11.6 esc "&k15H" esc "*p907Y"
    {Set HMI = 15/120"}
    {Vert position = 907 Dots}
    11.7 esc "&a13.8C"
    {Move to Column 13.8}
    code "212" esc "&f1x3x8X" esc "&f1S"
    {End Macro Definition}
    {Call Macro}
    {Delete Macro ID}
    12.1 esc "&f1S"
    {Pop Cursor Position}
    code "221" esc "&f0S" esc "*t300R" esc "*p1500X" esc "*p470Y"
    esc "(30C" esc "(4B" esc "(s1p53v0s0b102T!"
    esc "&f0S!" esc "&f1S" esc "*p+121Y" esc "&f1S"
    esc "&f0S"
    {Push Cursor Position}
    21.1 esc "*t300R"
    {300 DPI Graphics resolution}
    21.2 esc "*p1500X"
    {Horiz position = 1500 Dots}
    21.3 esc "*p470Y"
    {Vert position = 470 Dots}
    21.4 esc "(30C"
    {30C Symbol Set}
    21.5 esc "(4B"
    {4B Symbol Set}
    21.6 esc "(s1p53v0s0b102T!"
    {Proportional}
    {Point Size 53}
    {Upright}
    {Medium Weight}
    {Typeface 102}
    21.7 esc "&f0S!"
    {Push Cursor Position}
    21.8 esc "&f1S"
    {Pop Cursor Position}
    21.9 esc "*p+141Y"
    {Move down 121 Dots}
    21.10 esc "&f1S"
    {Pop Cursor Position}
    code "222" esc "&f0S" esc "*t300R" esc "*p1500X" esc "*p650Y"
    esc "(30A" esc "(s0p.426h35.25v0s0b128T" esc "&f0S!"
    esc "&f1S" esc "*p+141Y" esc "&f1S"
    {Push Cursor Position}
    22.1 esc "*t300R"
    {300 DPI Graphics resolution}
    22.2 esc "*p1500X"
    {Horiz position = 1500 Dots}
    22.3 esc "*p650Y"
    {Vert position = 650 Dots}
    22.4 esc "(30A
    {30A Symbol Set}
    22.5 esc "(s0p.426h35.25v0s0b128T"
    {Fixed Pitch}
    {pitch .426 cpi}
    {Point Size 35.25}
    {Upright}
    {Medium Weight}
    {Typeface 128}
    22.6 esc "&f0S!"
    {Push Cursor Position}
    22.7 esc "&f1S"
    {Pop Cursor Position}
    22.8 esc "*p+141Y"
    {Move down 141 Dots}
    22.9 esc "&f1S"
    {Pop Cursor Position}
    code "241" esc "&a-100V" esc "&l5.8C" esc "(8U" esc "(s0p12.00h10.00v0s3b3T" esc "&k11.75H"
    41.0 esc "&a-100V"
    {Move up 100 Decipoints}
    41.1 esc "&l5.8C"
    {Set VMI = 5.8/48"}
    41.2 esc "(8U"
    {Roman-8 Symbol Set}
    41.3 esc "(s0p12.00h10.00v0s3b3T"
    {Fixed Pitch}
    {pitch 12.00 cpi}
    {Point Size 10.00}
    {Upright}
    {Bold}
    {Typeface 3}
    41.4 esc "&k11.75H"
    {Set HMI = 11.75/120"}
    code "299" esc "(8U" esc "(s0p10.00h12.00v0s0b3T" esc "&k11.75H" esc "&l6D"
    {Roman-8 Symbol Set}
    99.1 esc "(s0p10.00h12.00v0s0b3T"
    {Fixed Pitch}
    {pitch 10.00 cpi}
    {Point Size 12.00}
    {Upright}
    {Medium Weight}
    {Typeface 3}
    99.2 esc "&k11.75H"
    {Set HMI = 11.75/120"}
    99.3 esc "&l6D"
    {6 LPI}

  • How to save print setup for pdf file so that every user can open and print w/o manually performing?

    Can is there a way to configure the print settings (i.e. paper size, orientation, etc.) and save this setting as part of the pdf file? I would like the users of pdf files to be able to open the file and simply print, without having to manually configure the print settings.

    Not sure if this will help. I got this information from the built-in help under Acrobat 9.
    Advanced
    Lists PDF settings, print dialog presets, and reading options for the document.In the PDF settings for Acrobat, you can set a base Uniform Resource Locator (URL) for web links in the document. Specifying a base URL makes it easy for you to manage web links to other websites. If the URL to the other site changes, you can simply edit the base URL and not have to edit each individual web link that refers to that site. The base URL is not used if a link contains a complete URL address.
    You can also associate a catalog index file (PDX) with the PDF. When the PDF is searched with the Search PDF window, all of the PDFs that are indexed by the specified PDX file are also searched.
    You can include prepress information, such as trapping, for the document. You can define print presets for a document, which prepopulate the Print dialog box with document-specific values. You can also set reading options that determine how the PDF is read by a screen reader or other assistive device.
    Create print presets
    A PDF can contain a set of print presets, a group of document-specific values that is used to set basic print options. By creating a print preset for a document, you can avoid manually setting certain options in the Print dialog box each time you print the document. It’s best to define print settings for a PDF at the time that you create it, but print presets provide a means to add basic print settings to a PDF at any time.
    Choose File > Properties, and click the Advanced tab.
    In the Print Dialog Presets section, set options and click OK.
    The next time you open the Print dialog box, the values will be set to the print preset values. These settings are also used when you print individual documents in a PDF Portfolio.
    Note: To retain a print preset for a PDF, you must save the PDF after creating the print preset.
    Print Dialog Presets
    Page Scaling
    Prepopulates the Page Scaling option in the Print dialog box with the option you choose:
    Default
    Uses the application default setting, which is Shrink To Printable Area.
    None
    Prevents automatic scaling to fit the printable area. This setting is useful for preserving the scale of page content in engineering documents, or for ensuring that documents print at a particular point size to be legal.
    DuplexMode
    For best results, the selected printer should support duplex printing if you select a duplex option.
    Simplex
    Prints on one side of the paper.
    Duplex Flip Long Edge
    Prints on both sides of the paper; the paper flips along the long edge.
    Duplex Flip Short Edge
    Prints on both sides of the paper; the paper flips along the short edge.
    Paper Source By Page Size
    Selects the option by the same name in the Print dialog box. Uses the PDF page size to determine the output tray rather than the page setup option. This option is useful for printing PDFs that contain multiple page sizes on printers that have different-sized output trays.
    Print Page Range
    Prepopulates the Pages box in the Print Range section of the Print dialog box with the page ranges you enter here. This setting is useful in a workflow where documents include both instruction pages and legal pages. For example, if pages 1–2 represent instructions for filling out a form, and pages 3–5 represent the form, you can set up your print job to print multiple copies of only the form.
    Number Of Copies
    Prepopulates the Copies box in the Print dialog box. Choose a number from 2 to 5, or choose Default to use the application default, which is one copy. This limitation prevents multiple unwanted copies from being printed.
    Thanks.

  • APEX Print Attributes for Interactive Reports versus Reports

    The Print Attirbutes tab for Interactive Reports does not have the Enable Report Printing option that the same tab does for Reports. The Enable Reports option when set to Yes" puts a print link on the Reports page. Since, the option doesn't appear for under the Print Attributes tab for Interactive Reports, how can I get a print link appear on an Interactive Report page?

    Hi,
    Those links are visible to end user in action menu -> Download
    Br, Jari

  • Setup for Crystal Report

    Hi,
    I had to build setup for my VB.Net add-on, which has crystal report in it.
    I built the setup using Crystal merge modules.
    But, when I install the add on for the first time, it pops the message- "There is another version of the program which is already installed"
    I tried building it N different times, with N different names for Add-ons, exe.
    Nothing worked out. I tried cleaning up the add-on folder, registry, but the problem is not solved.
    Appreciate your help!
    Thanks in advance.

    Hi Geetha,
    Are you using the B1DE to create your addon installer? If so, try changing the Product Code property of the Setup project.
    Kind Regards,
    Owen
    P.S. You might be better asking this question on the development forum rather than here (as this is application focused).

  • Print preview for crystal report

    hi kings,
    I have one problem . I Designed userform that form have print button when i press the print button the crystal report Open and show the data. but the report is not open when i press the button.Please any one help me out of this issue
    the error Shows-Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    Dim oForm As SAPbouiCOM.Form
                        oForm = gonAppApplication.Forms.Item("Emr_NewNCMR")
                        Dim Docnum As String = ""
                        Docnum = oForm.Items.Item("txtDocNo").Specific.value
                        Dim cr As New CRAXDDRT.Report
                        Dim apcr As New CRAXDDRT.Application
                        Dim myCrystalReportViewer As CrystalActiveXReportViewerLib102.CrystalActiveXReportViewer
                        Dim RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                        RptDoc.Load(System.Windows.Forms.Application.StartupPath & "\Ncmr.rpt")
                        RptDoc.SetDatabaseLogon("sa", "Sa@123", gonComCompany.Server, gonComCompany.CompanyDB)
                        RptDoc.SetParameterValue("@Docnum", Docnum)
                        myCrystalReportViewer.rptViewer.ReportSource = RptDoc
                        myCrystalReportViewer.rptViewer.Refresh()
                        myCrystalReportViewer.ShowDialog()
    thanks regards
    B.lakshmi Narayanan

    THANKS

  • Enhancing print functionality for ALV report

    Our client requires a special Print at click button in few reports and screens in such a way that there is no effort in setting page sizes etc. 
    For one particular report, there are many columns.  When I try to use List -> Print, only first few columns are printed.  I want that all the columns are printed in landscape manner in different pages and the first column is repeated in both pages (it is frozen in report). 
    How to make these happen?

    HI,
    You can try following steps,
    1) Goto transaction SPAD and create Page formate according to your requirement.
    2) Create format and copy action from standard format.
    3) create device type
    4) assign that device type to custamize output type.
    When ever you take print out of that ALV use your custamize Output Type

  • Printer issues for HTML document.

    Hello,
    We are facing a critical problem.In our project we are using sql server 2005,from one of the SP we are generating an HTML document.Ideally this document should be printed in 2 pages.When we print that with Laser JET 2430 printer it gets printed in two pages but when we print that with other version printer it gets printed in four pages.Our client has different version printer due to which they get that document printed in four pages which they want to be in two pages only.
    Workflow of this Document generation is as foloows:
    1)When this SP is executed it generates a HTML document and places at some shared folder.
    2)Then we open the document and apply follwing settings to document in order to view and print it properly as:
    View>>Text Size>>Medium.
    Also check if the size is A4 and margins are set to default values by doing the following.
    Go to
    File>>Page Setup
    Size: A4
    Left: 0.166 Right: 0.166
    Top: 0.166 Bottom: 0.266
    And then click on Print Preview.
    When the document is previwed it should be on two pages only.
    Basically here problem is that document gets printed perfectly when its Top margin is set to 0.166 but each printer has its own minimum Top margin settings due to which in different printers it takes different Top margin values for e.g when we print the document with HP Laser Jet P3005x its minimum Top margin are 0.196 then that document expands to 3 pages.Even we try to set this to 0.166 it gets overwritten with 0.196.
    Can you please tell us what changes should be done to SP which is generating the HTML so that its setting doesnt change printer wise and document gets printed in two pages only.Or else can you please suggest the links of forums where we can discuss this issue.

    Hi
    Quest_RG,
    This is actually very simple question, but it is an CSS question and not sql :-) once you open the HTML document the part of the SQL is over.
    You can use CSS to configure the printing way. using page-break-before and
    page-break-after you can insert CSS breaks where ever you want. for example:
    content here
    <DIV style="page-break-after:always"></DIV>
    content here
    I Hope this will help you,
    [Personal Site] [Blog] [Facebook]

  • How to set the default print format for the report

    Hi,
    In ALV report , i want to defalut specific print format and printer for background processing .
    Any clues!!!!!!!!!
    Regards
    Swatantra

    Hi
    Please check below code:
    DATA: PRIPAR TYPE PRI_PARAMS,
          ARCPAR TYPE ARC_PARAMS,
          LAY    TYPE PRI_PARAMS-PAART,
          LINES  TYPE PRI_PARAMS-LINCT,
          ROWS   TYPE PRI_PARAMS-LINSZ.
    DATA: val(1).
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LOCL'   " <--- Printer Name
        no_dialog              = 'X'
        immediately            = ' '
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *** Specifying the page formats
        pripar-linct = 65.
        pripar-linsz = 190.
        pripar-paart = 'X_65_132'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters  = arcpar
        in_parameters          = pripar
        no_dialog              = 'X'
    *      list_name              = 'Testing Purpose Only' "l_list
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc EQ 0.
      NEW-PAGE PRINT ON
      NEW-SECTION
      PARAMETERS pripar
      ARCHIVE PARAMETERS arcpar
      NO DIALOG.
    ELSE.
      write:/ 'Unable to create spool'.
    ENDIF.
    So now a spool is created with the required print parameters...
    The list that is created from here will be in the spool.
    Once the list is completed, close it with NEW-PAGE PRINT OFF.
    Hope this helps.
    Regards
    Eswar

  • Print settings for ALV report

    I have a ALV report output with LINE-SIZE 1023.  But when I try to execute the report in background the output row is not coming in one line but in 2 lines. When we run the report in background I gave the printer as 'LOCL' (local) and displayed in spool.  In the PRINT SETTINGS I don't see FORMAT for 65 X 1023. Do I need to create one? If yes, how to create it? Or if there is any other way go get all the cloumns in one row of a ALV output.
    Thank you.

    Hi,
    <b>Change the font on the X_65_255 paper size :-</b>
    This tip was taken from the SAP-R3 mailing list, <b>and is by Sheila Tichener</b>.
    If you need to use a large line-size to get all your data in I know the sap version of X_65_255 for hp laser jet 4 gives an unnecessarily small font . You can change it in SPAD (or copy to Y_65_255) as follows.
    <b>Example:</b>
    Choose Device formats, Change
    hplj4
    x_65_255
    Execute
    Double click on printer initialisation
    Change from:-
    # select Courier 16.67 CPI normal font
    e(s0p16.67h0s0b4099T
    to:-
    # select arial 24 cpi 15 point normal
    e(s0p24h15v0s0b16602T
    Also bold as follows:-
    # select arial 24 cpi 15 point bold
    e(s0p24h15v0s3b16602T
    Also the error you get when changing a format in the output screen is only a warning and can be overidden by pressing the green tick.
    If the sap standard formats don't fit your requirements you can create your own eg Y_65_170 . It seems to be the numbers in the name that somehow triggers which one the abap chooses
    Regards
    Sudheer

  • CRVS2010 Beta - Print functionality  for Crystal Report in VS 2010

    I want to print crystal report documrnt without loading in Reportviewer(in ASP.NET 4.0), just print the report document.
    I have used ReportDocument.PrintToPrinter(1, false, 0, 0);This server-based method .One limitation of this method is that a printer name must be specified.  I can set the default printer at design time in the report, and I can change the printer name at run time by setting the ReportDocument.PrintOptions.PrinterName property.this method prints from the server itself, not from the client machine.  This means that any printer I wish to use must be accessible from the server.  I cannot print to a client's desktop printer using this method unless that printer is shared on the network and mapped to the server.
        But I want to print from client machine(in ASP.NET 4.0) which is not accessible from server.
    I need solution and suggessions.
    Than You
    Hrushikesh Patel

    I don't think that this is a Crystal Reports issue as such. All client / server web apps will behave the same way. See [this|http://support.microsoft.com/kb/184291/en-us] MS Kbase for more details and possible solution.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

Maybe you are looking for