Remove Headers from CKEditor Print/Preview - header

I have a CKEditor on my website, and I would like it so that when the user clicks on the printer icon, the headers don't print and only the text inside of the editor is printed on the page.
This is the site: http://strawberrycv.com/4.php
For example, if you go to the site and click print, the top will say "Rich Text Editor, editor1" (in the left corner) and the date/time (in the right corner). Is there a way to remove these?

These are browser-specific headers, not added by CKEditor. You can't really control the browser-specific print headers I'm afraid, see this for futher details and a weird workaround: Remove the default browser header and footer when printing HTML

Related

edit custom content in bigcommerce stencil

As we're currently moving from Blueprint to Stencil, we would like to add some blocks of custom content to our home page.
A block of custom content would contain an image, a line of text, as well as a link to a product, a brand, or a page.
Is there a way to add a text block (text input field) in the Stencil Theme Editor in order to edit a line or block of text (besides just (background) colors, image size dropdown, etc.) without having to upload a new version of the theme?
An option would be to use the language file (en.json) to store the content. Is there a way to modify the en.json file without having to upload a new version of the theme for every update?
Or, is there another way to deal with custom content blocks in Stencil?
To give more context, the user/client should be able to replace a background image, (promotional) content, links etc. through the Theme Editor without having to "hand-code"... to make it more like a WYSIWYG "WordPress"-style.
The problem we first encountered was that the option "Edit Theme Files" from within the Theme Editor didn't do anything.
The answer to the problem is to go to "Storefront Design" > "My Themes" > "Edit Theme Files".
This option opens up the editor allowing us to edit the "en.json" file that contains the actual content for the handlebars we added to the html file.

How to delete header and footer of pdf in xpdf

As the Title said,I get the data of PDF in xpdf(pdftotext),but it contains header and footer.Now I want to delete both of header and footer.How to make it ?
Thank You.
How to Delete a Header or Footer
To delete header or footer information, you’ll initially need to ‘show’ Infix PDF Editor the position of the data you want to remove. It will then extrapolate this across the entire document.
You’ll select the header or footer using the Object (arrow) tool Then, click the header data , Creating this selection gives Infix PDF Editor the coordinates of the item you want to remove.
Then, in the Edit menu, click Delete Across Pages. In the dialog box that opens, you can choose whether to delete on all pages, selected pages, or odd/ even pages only.

Safari remove header and footer for print pdf file.

Hi I have a problem I need to print PDF file in safari with removing header and footer. I already have find some solutions but they didn't worked for me.
http://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print
http://stackoverflow.com/questions/1960939/disabling-browser-print-options-headers-footers-margins-from-page
https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/OtherStandardCSS3Features.html
I have tried all of this but I always get printed URL into the header of PDF file also as footer.
Does any one have already have had this problem and some solution about this problem.
in "Print" page of Safri browser, you can find "show details", then you can unclick the option to "print header and footers" .. but I did not find the way to change header/footer.

Change PDF title in browser window

I have a pdf file that I am putting on a website for a client. It is located here...
http://www.optiphysicaltherapy.com/dev/wp-content/uploads/2014/02/OPTI_NewPatientForms.pdf
The title should be OPTI New Patient Forms but if you look at the tab in the browser and the name at the top of the browser window it says "Coury And..."
Where can I go to change this?
The website is using Wordpress 3.8.1 and I am not sure if it is in Wordpress or in the actual pdf file.
Thank you,
Matt
Ok, So I found out how to change the meta-data in a .pdf form here: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7c63.w.html (dead link; archived version here)
Sure enough the Title in the Meta Data within the .pdf was "Coury And..."
Once I changed this the Tab and the Title in Firefox web browser changed to have the title that I wanted.
This shows us that the meta-data in the .pdf does show in Firefox as if it were the meta-title of the webpage when displaying a .pdf within the browser.
Open the PDF with Notepad++ and search (CTRL+F) for /Title
Change title between brackets (and leave the brackets)
For instance:
Change "/Title (OLD TITLE)" into "/Title (This is my new title)"
Save the PDF and Voila
If you have access to the Word document in which the PDF is based, you can define the title when you save the file.
Whatever was on that link, I did it opening the PDF with a hex editor (HxD) and searching Title, so I found /Title (untitled) somewhere and just edited it (changed the value between parentheses, here untitled).
no need to change in meta of pdf. just to following change in iframe url
http://localhost:8080/getDataPDF//?patientId=145. use // to solve this problem it can hide your title.
Open the PDF document in Adobe Acrobat Pro: (OR use google chrome extension)
(1) Go to Select File > Properties
(2) Select the Description tab to view the metadata in the document, including the document information dictionary
(3) Modify the Title field to add or change the document's Title entry
When you open pdf in chrome you can hit print and save as pdf. As file name write what you want as title in browser, it should be the same now.
Open File > Properties, then in the box labeled 'Title', add your title.
Click on the 'Initial View' tab, where it says Show:, make sure the drop down says 'Document Title' instead of 'File Name'. This works for Chrome, but sadly not IE yet.
For change my pdf tittle I just open it on nano terminal, or with another text editor that open the raw, and I edit the Title field.
The title can be changed inside MS Office or LibreOffice if you have access to the source by going to file/properties/description.
As another answer suggested, printing as a PDF works here if you have the source document. What the other answer perhaps got wrong was that there is an option to add a title in the print dialog.
You can also use this online pdf editor to change metadata of a pdf file.
The title does not come from the pdf. it comes from the word file you export it from.
Right click on the word file, go to details. change the title and export again
Good luck

Printing pdf without opening

I want to open a PDF-print dialog (not regular browser dialog) without visually opening the document so that I can print a pdf without having the header and footer information from a regular webpage print.
I know this is possible, because I have seen it in the past on a postal service website for printing postage labels, but cannot remember where.
As far as I know, printing it from an iframe doesnt work, as it only opens regular browser print dialog and gives me ugly page and url information:
frames['name'].focus();
frames['name'].print();
I found this:
http://www.fpdf.org/en/script/script36.php
I embedded that in an invisible iframe. It prints onload, and the PDF stays invisible.