WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: using cups printer  (Read 3804 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
using cups printer
« on: August 22, 2009, 09:32:48 PM »
Maybe everyone else knows this already, but I had to figure it out.
To print files using a cups printer (mine is samba networked) from the command line:

"lp myfile"

To print from within the vim editor:


To print a pdf from gsview:

set Device to: pdfwrite
set Queue to: lp

Open Office, geany, etc., works by default

edit: One other point.  When your smb networked printer won't stop printing endless pages of trash, it's because of the queue on the networked printer, not the computer from which you're printing.  For a linux client connected to a windows server, that means going into the control panel and deleting the print job....nothing else works (unplugging and throwing the  printer against the wall doesn't work either...what's left of it will resume printing as soon as you plug it back in.) 
« Last Edit: August 23, 2009, 12:09:19 AM by jpeters »

Offline Hamzah

  • Newbie
  • *
  • Posts: 2
Re: using cups printer
« Reply #1 on: March 20, 2010, 04:04:29 AM »