Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


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

Rep: Reputation: 103Reputation: 103
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, 07:29 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,504
Blog Entries: 16

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211
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, 11:49 AM   #3
Registered: Dec 2012
Location: South Devon, UK
Distribution: PCLinuxOS, Suse, Mint, Puppy.
Posts: 66

Rep: Reputation: 17
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.
But there are many other add on's worth trying.
1 members found this post helpful.
Old 08-20-2013, 11:06 AM   #4
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,534
Blog Entries: 3

Original Poster
Rep: Reputation: 103Reputation: 103
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

Another resource that deals with printing and linux can be found at Open Printing. This used to be known as

An important resource found here is Foomatic. That page describes Foomatic as follows.
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.

~~~ 0;-Dan

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


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 05:42 PM
Can't open saved web pages just saved by web browser... JeanBrownHarrel General 2 04-06-2008 11:52 AM
KDE Konqueror Web browser sporadically loads pages javaaddict Linux - Software 4 05-25-2005 01:49 AM
browser cant find web pages vance Linux - Networking 0 05-06-2002 09:10 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:22 PM.

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