LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 05-08-2019, 10:20 PM   #1
denghazali11
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
Smile Redhat print queue type which more better?


i want to ask any one who experiences with redhat print queue, which type print queue is more better to use generic post script or local raw print queue? then how can we check the print queue already exists used what type of print queue. is there any configuration file can we refer.
 
Old 05-09-2019, 03:52 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Welcome to LinuxQuesions.org. From reading your post, I'm not sure about what level of understanding you have about CUPS queues and *nix drivers. PostScript is a "device independent" page description language used by a lot of high-end printers, and was the native print job format prior to CUPS version 1.5 IIRC. A raw print queue would normally only be used to send print data from a CUPS client to a remote CUPS server, or for software that might talk directly with a specialised printer. So, completely different things. CUPS "device dependent" drivers are used to take a print job eg CUPS PDF file and process it via a filter chain into a format that the user's printer can understand (which may be a proprietary protocol).

Useful references:
https://en.wikipedia.org/wiki/CUPS
https://en.opensuse.org/Concepts_printing

Last edited by ferrari; 05-09-2019 at 03:58 AM.
 
Old 05-09-2019, 03:56 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Print queues explained (from the openSUSE wiki page)...

Quote:
For each print queue there is a PPD file which CUPS provides to application programs so that the printer-specific options are available in the printing dialogs.

In particular for non-PostScript printers CUPS runs the printer driver and sends its result to the printer device. To do this, CUPS must know which printer driver belongs to the printer device and how the printer device is connected to the computer so that CUPS can send printing data to the printer device.

Therefore "set up a printer" means to "set up a print queue" and tell CUPS for the particular queue:

How the printer device is connected to the computer
Which printer driver belongs to the printer device (via the PPD file)

To see what is already set up on a given host, the lpstat command can be useful
Code:
lpstat -t
and check the associated PPD file(s) in the /etc/cups/ppd/directory.

Last edited by ferrari; 05-09-2019 at 03:58 AM.
 
  


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 Print Queue Manager for Print Server Matir Linux - Software 11 03-30-2016 02:14 AM
Which is better for embedded Linux ipc: message queue vs socket david_8274 Linux - Newbie 3 03-11-2016 05:30 PM
Verify CUPS print queue file system type when mounted via C program code as tmpfs. djpeckma Linux - Newbie 0 05-27-2011 02:24 PM
Firefox, Okular don't put print job on the print queue (silently) pwabrahams Linux - Software 1 02-18-2011 07:39 AM
Deleted qmail queue /var/qmail/queue tris Linux - Software 0 10-24-2003 11:52 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:48 AM.

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