Formatting for print

I have read about using CSS for printing out your pages so
that you dont
have to create 2 copies of each page you want printed.. but i
cant find how
to actually put it to use..
I have added the necessary code to my CSS file.
I have changed the media type to media="print"
and all i keep reading is that this allows you to have the
same page
formatted for print..
But how exactly do i call the same page for print? do i add a
link to the
page saying click here to print? if so what woudl the link
actually point
to?
or by just including the right code, when the end-user choses
to click print
within there browser that knows to display the same page
using the
print.css?

"DC" <[email protected]> wrote in message
>I have read about using CSS for printing out your pages
so that you dont
>have to create 2 copies of each page you want printed..
but i cant find how
>to actually put it to use..
>
> I have added the necessary code to my CSS file.
> I have changed the media type to media="print"
>
> and all i keep reading is that this allows you to have
the same page
> formatted for print..
>
> But how exactly do i call the same page for print? do i
add a link to the
> page saying click here to print? if so what woudl the
link actually point
> to?
>
> or by just including the right code, when the end-user
choses to click
> print within there browser that knows to display the
same page using the
> print.css?
>
The browser display will always be the same, whether you have
a print CSS
option or not.
The arrangement is -
You have one style sheet for your screen layout say
"screenstyle.css" and
one for your print layout say "printstyle.css"
You ad both style sheets to your page code -
<link href="screenstyle.css" rel="stylesheet"
type="text/css" media="screen"
/>
<link href="printstyle.css" rel="stylesheet"
type="text/css" media="print"
/>
When a user views your page on their screen it is laid out
according to your
screenstyle.css style sheet.
When the user prints the page, the printed output is laid out
according to
you printsyle.css style sheet.
Hope this helps
Regards
Phill
P&M Software
www.pmsoftware.co.uk

Similar Messages

  • Hw can I generate XY graphs directly in a vector data format for printing ie pdf

    A further question re. Printing of Graphs
    There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
    "Developer exchange forums have been moved" and a pointer to the new
    site, unfort it was hard to find or guess the rest of the link.
    So here is my angle on this problem;
    So far I have tried;
    Using property node: "App.  Printing.Default Printer" to select the printer to use, then
    Using Report Functions to print controls;
    New Report, to generate a new report reference
    Set Report Orientation
    Set Report Margins
    Set Report Font
    Set Report Header Text
    Set Report Font
    Set Report Footer Text
    loop for each page
    Set Report Footer Text,     With page number
    Append Control Image to Report,      several times
    New Report Page
    Until the end of the last page
    Print Report
    Dispose Report
    Initially using existing XY-Graph controls from the front panel.  These
    are on a page of a Tab control to hide these controls while not in use
    and allow them to be hidden while generating the printout. 
    Unfortunately when this page is hidden any graph scales set to
    autoscale don't, (normally don't need to and would otherwise be a waste
    of processor time), resulting in graph plots going off scale or
    becoming a line along the axis.
    An issue is that what is printed appears to be read from the screen, so resolution is much
    lower than required for for printing, resulting in rather pixellated
    printed versions. These prints will usually be emailed, so tried the
    pdf995 "printer driver" but the resulting pdf file size is rather large.
     Currently trying Plot-XY on a much larger picture so as to get
    adequate resolution for printing, however suspect this will result in
    much larger pdf files and probably cause other problems. 
    The preferred solution in this case will probably be to generate print
    output, instead of based on raster images (ie jpg or png), but on a
    vector format, maybe via postscript or directly in pdf format.
    Similar graphs currently printed from Excel via pdf995
    (or OpenOffice) result in files around 20 kb per page. these can be printed at any size
    (at least upto 64 times) without becoming pixellated, so assume these
    are vector based.
    Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
    page but resolution is poor and overcoming that may push file size up
    to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
    Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
    Cheers
    Darryl

    Hi Darryl,
    I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
    Please try incorporating this solution into your application and see if it reduces your file sizes.
    Thanks and have a good evening!
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
    Attachments:
    print_XY Graph.vi ‏23 KB

  • PNG colour profiles - and this format for print

    I know it's taboo to talk about PNG for printing.
    But I can't find and I've searched the forums - there was a post made about embedding colour profiles a while ago.
    I know PNG is a RGB only format, but I'm 36.8% sure I read something about embedding either RGB or ... wait for it CMYK profiles into PNG files.
    If anyone can shed any light on this - and how about PNG for print - I've been against it for a long time - but it is a lossless format, it can carry 64 bit data.
    I know I know - but I thought I'd ask anyway - see what people think.

    You can't save a PNG with a profile out of Photoshop, but it looks like you can embed one via the image events scripts that ship with OSX (/Library/Scripts/ColorSync/embed). Unfortunately ID ignores the embedded profile and uses the document's assigned profile instead. PNGs do respond to ID's RGB profile and the RGB profile will have an effect on the CMYK separation when it happens.
    Here's ProPhoto and sRGB:
    From your ID document you can also assign a profile, which conflicts with the doc's profile, by selecting the png and choosing Image Color Settings.... So, you could assign AdobeRGB as your doc's profile and assign sRGB to all your pngs.

  • Export file in specified format for printing labels etc (BOnewbee question)

    Hello to all,
    has anyone experiences with generating a export file in special text-format to a directory???.
    Is ist possible to generate this file after some action in BO?? (Printing delivery form and after that generate file for printing barcodelabel in special application???)
    Sorry, but i dont have any programming experiences in BO - only in SAP R/3 with ABAP.
    Thanks in advance for your replies!

    There are a number of ways to do this.  You could use the SDK to trap an event and then automate your barcode printing from .net.  You could also use middleware (iBolt, K2, biztalk, etc) You might also write a SQL DTS job with an associated trigger to save out a text file.
    I guess the answer to your question depends on how big your company is, how spread out your IT resources are and what technical resources you have to dedicate to the project.

  • Creating Formats for Printing

    I've created a report that the output is 66 x 110 and is only one page.  When printing this report, it is defaulted to 65x132 which prints it in Landscape.
    I'd like to create a format that will allow the 66x110 in Portrait and use a smaller font.
    Thanks in advance.

    Hello
    You should use transaction SPAD -> tab Device Types -> Format Types. Then, if the format that you wish doesn't exists, you can create it.

  • How do we create a custom format for printed contact information?

    We are trying to create a custom family directory for genealogical purposes.  Family members are individually saved as Outlook 2010 contacts with a special number field that (when parsed) designates their generation, birth order,
    and relationship to parents.  The directory listing is by family and needs to indent names, addresses, emails, and other information by generation. In other words, children's names follow parent names and are indented.  Likewise, grandchildren are
    listed under their parents, but also indented from parents.
    Do we need to create a custom display form, some type of custom print template, or do we need to program a merge of some sort?  Any help would be appreciated.

    Hi,
    From the description, you want to print the contacts in Outlook using a custom display form, so that you can use it to create a custom family directory, correct?
    If this is the case, I'm afraid there is no direct way to print forms as they appear on the custom display form. Outlook can only print forms with the options that are available in the Print window. While you can customize the Print Style settings using
    the various options Outlook provides in its user interface, you cannot alter the basic way that Outlook prints by using custom Print Styles.
    To work around this limitation, you can either use another program to print Outlook information, or you can download a ActiveX control or Outlook extension to create a custom form printing solution.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • What is the best format for printing?

    Hi,
    I want to print my work. my destination is laser printer in RGB mode. I confused rather I should use Photoshop PDF or TIFF. As I understand PDF includes lots of feature that are not relevant to Photoshop. TIFF in the other hand is a simple and none compressive format that should make the job well.
    Any input will be welcome.
    S

    Not to start an argument but I'll give my opinion.  Majority of my work is portraits and weddings.  As I work on files I save as psd's.  Once I'm POSITIVE I'm finished I save as jpgs, highest quality.  Those I save to CD and external hard-drive.  In the event that I need to do additional work on one of those jpg's, at a later date, I again work it as a psd until finished.  I then save it as a tif to avoid any further degrading of that file.
    My point, right or wrong, is that I don't see any degrading of files saved once  at highest quality jpg.  That said, I never (never say never) save as a jpg twice.

  • Exporting Flash vector art for print

    I would like to export art created in Flash as a vector
    format for print. Exporting as either AI or EPS from Flash seems to
    have many limitations: no support for masks, alpha transparency, or
    editable text with fonts embedded. Has anyone found a workflow to
    create print-ready vector art using Flash?
    I have tried many combinations of Flash, Freehand, and
    Illustrator with no success. (Freehand will open SWF files, but it
    rasterizes the vector art when exporting as either EPS or PDF).
    Working in Flash Pro 8, but from the Flash CS3 documentation
    it doesn't look like there are additional options for file export.
    Is it true that any vector art exported from Flash loses font info,
    masking, and transparency?

    Has anyone found a good solution for this? I need to export character art from Flash to use for print and consumer product items. Qualtity vectors are required.
    The "best" solution I've found so far is to "Print" as either a .PDF or .PS file, then open that file in Illustrator. It expands all the gradients, and creates very complex vectors, but it's better than the standard export to .AI function, which gives offending operator "bg" errors. Still, it is a sub-par result, and I end up having to recreate art anyway.
    (I'm using Flash CS4.)
    Dear Adobe, this should be a no-brainer ... Please introduce a true vector export feature from Flash to Illustrator that generates art we can actually use.

  • 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

  • When saving a document as a PDF for printing, I lose pages, clip art, and my orginal format. Help!

    I have created some forms for our congregation to fill in with answers on adobe forms central. When I go to turn it into a PDF for printing for a hard copy, (not all our members have internet) when i save it to a PDF, it doesn't save all the pages and formats it differently then show on the screen i programmed it onto. How do I fix this issue?

    Hi;
    In the "Feature Tutorials/Help" linked from the top of the main page of the Forums: Feature Tutorials / Help
    There is a Tutorial on "Creating and distributing fillable PDF Forms": Tutorial: Creating and distributing fillable PDF forms
    The main thing to look at is the "View" setting and for PDF set it to "Page View", the page breaks you define in Page View will be used in the PDF, there are also "implicit" page breaks added automatically based on the page size.
    For the issue with clip art see this FAQ: Image does not show up in PDF 
    Thanks,
    Josh

  • Can I print a document formatted for a smaller page size on larger paper?

    I have a document that is formatted for a small size for a booklet using a customer paper size setup, 21 x 24 cm. I want to print this on A4 paper for proofreading. But when I do so, the printer (a Brother laser printer) spits out giant pages enlarged to A4. When I try to reduce the scale percentage, it reduces down to the right font size, but reflowed into the A4 size.
    Is there a way to just have it print in its true size in the middle of the A4 sheet?

    You could change the percent in File > Page Setup. But I think fruhulda's suggestion of using PDF would probably result in better resolution although any enlarging will likely cause some loss.

  • File format for professional printing

    (In case it's relevant I'm using CS2, but I think it probably doesn't matter.)
    I have some logos that I'm publishing for people to use for a variety of purposes. I want to keep the number of file formats to as few as reasonably possible in order not to confuse everyone. My question is, what vector-based format should I use for professional printers?
    I originally assumed that .ai would be too narrowly supported (for instance, I'm advised that Quark can't read .ai files) so I opted for .eps, thinking that this would be recognised by virtually every graphics program. However, I've since discovered that eps doesn't handle a critical graphical element as I'd thought it would:
    For the sake of simplicity (rather than getting too involved in the actual logo design), imagine a white circle with a standard drop shadow outside it fading smoothly away the further you get from the circle's edge. This is supposed to sit on any coloured background, with the parts of the shadow gradient that aren't grey (if that makes sense) being transparent. The trouble is that, apparently, in Quark (and maybe other programs for all I know), this shaded area comes out with a white background. I've mocked up an approximate comparison - attached - of how it ought to look and how it actually comes out.
    The upshot of all that is that, as far as I can tell, eps is not the right format. So I come back to my request: can anyone recommend a file format which Illustrator can produce that is:
    - vector-based
    - compatible with all common graphics programs
    - able to handle faded drop shadows correctly?
    Thanks,
    Giles.

    Aarmed wrote:
    CMYK is always preferred, as there's no such thing as a printer that uses RGB inks.  Switching color spaces can end badly.
    Agreed for printing CMYK is preferred but, i gather that there are some digital printers that prefer RGB files... hence my caveat.
    however rips with color precise elements that can hit things like PMS colors require vector art with embedded swatches.
    Whatever the method, if you have a tiff file, you're safe. But, it's not flexible except for downscaling.
    A pdf is generally preferred, as even if the sender forgets to convert the fonts, you can always open the file in Photoshop and have the file be read accurately.
    Forget to convert fonts? In a tiff? What are you talking about?

  • Changing print format for the Shop papers -External service operations

    Hi Friends ,
    We want print outs for the external service operations in our PM orders .
    The standard format available with shop papers is displayed with some extra info .
    We want to remove those info and add some extra info .
    Can we change the printing format for these and how much effort it rquires .
    Regards
    AM

    Hi,
    In OIDF, define the Shop Paper specially designed for External Service Operations.
    In Order, in Print option, go to Operation Selection, select the required operation & select the print layout which is designed for External Service, so that, you can get the print out according to additional fields requirements.
    regards,
    Maheswaran.

  • Correct Image File Format For Magazine Printing

    I am using InDesign CS4 and I would like to know if it's ok to use JPG or JPEG images for printing magazines ?  If not, can you please tell me the correct image file format I should use with InDesign for designing and printing a magazine ?  Also what would be the best way to convert the image files from JPEG to that correct image file format ?

    Use what ever format you like, I perfer .tiff with LSW compression or .eps. If you don't know what you are doing just include the original image when you send you project to the printer and link the image in InDesign don't embedded it.  When you furnish the original image the prepress department can set it up correctly.
    I perfer 300 dpi with image is at 100% of the final size, if the image is printing 150 line screen when printed. 200 dpi is ok for 133 line screen.  I would even perfer a 100 dpi image over a .jpg image that has be over compressed.

  • Can I use png format images when sending an iphoto book for printing?

    Writing an iPhoto book, I want to use some photographs taken by friends, and these photos are in png format.  Will they work when I upload them for printing?

    Dear Larry
    Thank you very much for the information.  I hate pressing buttons when I am not sure of what will happen!
    Many thanks
    Chris

Maybe you are looking for