LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 08-16-2013, 04:15 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,368
Blog Entries: 3

Rep: Reputation: 86
seeking howto -- print pages within a web browser


I have two questions about printing from within a web browser.

1. Are there any good tools, plug-ins, etc that help to create better looking output when printing within a browser?

2. What are web page programming (HTML, CSS, etc) tricks that make for better output when the page gets printed?

With option #1, I'd like control over page breaks, selection and separation of content from menu-items and sidebar "pogs" and adverts.

With option #2, I'm not talking about any sort of printer friendly edition of the page in question. I'm asking about markup and similar within the native page such that the browser's "print page" output is more useful, more often.

Merci D'avance,
~~~ 0;-Dan
 
Old 08-16-2013, 08:29 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,230

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
As regards item 1, you could try using your own style sheet.

I know that Opera allows you to select a custom CSS to override the one for the page (Opera-->Page-->Style-->Author Mode|User Mode) and I suspect that other browsers offer this facility either natively or through plug-ins.

I suspect that, in the long run, given that many pages are poorly written and laden with scripts, it would be more trouble than its worth.

As regars item 2, I'm still learning.
 
1 members found this post helpful.
Old 08-19-2013, 12:49 PM   #3
trevoratxtal
Member
 
Registered: Dec 2012
Location: South Devon, UK
Distribution: PCLinuxOS, Suse, Mint, Puppy.
Posts: 41

Rep: Reputation: 3
ref seeking howto -- print pages within a web browser

Ref seeking howto -- print pages within a web browser.
Firefox has a number of add on's that alow editing of Web page either before printing or when in print prevue.
If you have not tried them it may be what you are after.
I mostly use page hacker 1.2 before saving or printing.
http://nicopensource.free.fr/dotclea...ic/Page-Hacker
But there are many other add on's worth trying.
Trev
 
1 members found this post helpful.
Old 08-20-2013, 12:06 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,368
Blog Entries: 3

Original Poster
Rep: Reputation: 86
I found the following page, Dissecting the CUPS Filtering System. This article explains what goes on behind the scenes:
  • after your application creates the data it wants on paper
  • before any bits get sent to the printer device
  • conversions among various data formats
  • sending the bits to the printer device

When talking about "printing" with a linux workstation, one eventually needs to understand the Common Unix Printing System (CUPS) package of software.

In short, CUPS takes responsibility for:
  • knowing details about over 3,000 devices and the bits they need to put data onto paper
  • knowing details about all sorts of application data formats using the MIME-type of that data
  • converting from MIME-type to whatever the target device needs and wants
  • managing the connections with the target printer devices
  • accepting, spooling, queueing, managing and dispersing print jobs

Follow-up:
Another resource that deals with printing and linux can be found at Open Printing. This used to be known as http://www.linuxprinting.org.

An important resource found here is Foomatic. That page describes Foomatic as follows.
Quote:
Foomatic is a database-driven system for integrating free software printer drivers with common spoolers under Unix. It supports CUPS, LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing with every free software printer driver known to us and every printer known to work with these drivers.


Cordialement,
~~~ 0;-Dan

Last edited by SaintDanBert; 08-20-2013 at 01:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print web pages with a cron job Exutable Linux - Server 16 07-03-2008 06:42 PM
Can't open saved web pages just saved by web browser... JeanBrownHarrel General 2 04-06-2008 12:52 PM
KDE Konqueror Web browser sporadically loads pages javaaddict Linux - Software 4 05-25-2005 02:49 AM
browser cant find web pages vance Linux - Networking 0 05-06-2002 10:10 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration