LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-07-2011, 11:42 AM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
manage paper and trays with CUPS on network printer


The Situation:
I have a printer with two paper trays and use HPLIPS with CUPS to print from my linux workstations. The printer is network connected and shared among several workstation ... including win-dose boxes.

I sometimes print using special papers for photos, brochures, postal cards, envelopes, and such.

The Problem(s):
How do I tell CUPS and HPLIPS that I have special papers and to block print jobs that don't use those papers?

Related Issues:
How do I tell my printer that it has special papers available vs. plain paper? The hardware is an HP OfficeJet 8500 All-in-One. The printer "detects" some papers but not everything. (I know this is a hardware issue, but this is an important part of the overall solution.) I will keep digging here.

Since the printer is a network resource, it makes decisions about whether to accept jobs from workstations. Win-dose printing and CUPS+HPLIPS printing have their own protocols for this negotiation. Until I solve the printer paper issue, win-doze print jobs may still step on special papers. (I know that I can configure a server for the printer and then direct win-doze printing to that server.)

Thanks in advance,
~~~ 0;-Dan
 
Old 09-08-2011, 04:55 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Seems like if there are two paper trays then you need to set up two print queues. Jobs coming out of each queue can be prefaced with the PCL command to select the right tray. If you have the queues on Linux, you might be able to use Samba to allow Windows to print to the queues instead of directly to the printer, although this blocks some of the useful feedback that you get if you connect directly. My printer is always trying to sell me ink cartridges -- I'd really miss that.
 
Old 09-09-2011, 11:55 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Documents (through LibreOffice and OpenOffice) have embedded paper stock -- what mainframe folks used to call "forms" -- settings. CUPS and HPLIPS can report which paper stock is involved in a print job when you inspect the printer queues.

One thing I don't find is any sort of user interface such that if a print job wants a specific paper, there is some way to ask the end-user to change the paper or at least be aware that the installed paper does not match what is attached to the print job.

In ancient times, one would queue print jobs with whichever "forms" were required. The print queue -- we called it the "spooler" -- knew which "form" was mounted to the printer. All the jobs for the current "form" were completed before a message appeared at the console asking for a paper change. Someone -- we called them an "operator" -- would set-up the printer with the different form and tell the spooler of that change.

A lot of this went away when we shifted from preprinted multi-part "forms" to documents that could be drawn by a lazer or ink-jet printer. Now any sort of "form" details could be printed at the same time as the data content.

We still use "forms" for things like photo paper, glossy paper, linen or rag paper (resume stock), special sizes (5x7, labels, letter, legal, etc). Have we lost the ability to handle unique and custom papers with risking putting a draft spreadsheet onto photo or label paper?

Stumped,
~~~ 0;-Dan
 
  


Reply



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
[cups] "no printers found" - printer isn't recognized by CUPS over network Majin_Buu Linux - Server 3 06-18-2009 10:25 AM
cups to cups printing through network on usb printer checkmate3001 Linux - Server 2 02-16-2009 12:12 PM
Question re: HP8100 paper trays judge_neo Linux - Newbie 2 05-01-2006 11:35 PM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 10:20 PM
Users can't manage print jobs on CUPS/Samba printer tisource Linux - Networking 8 04-21-2005 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:08 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
Open Source Consulting | Domain Registration