Sponsored Content
Full Discussion: Print to ps2pdf print queue
Operating Systems Solaris Print to ps2pdf print queue Post 302141332 by Sean_69 on Thursday 18th of October 2007 05:08:21 PM
Old 10-18-2007
Tools Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and convert them to pdf format using ps2pdf, but I would like this to be automatic. How do I set up a pseudo printer to output the files in pdf format in a specified directory?

Thanks,
Cheers,
Sean.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Print Queue Problems

Hi All Does anyone know what is meant by PRINTER STATUS CONNECT concerning print queues? At work we run a Perle/Connectix JetStream 8500 (RJ45 Model) to connect our dot matrix printers and often we get the Connect Status. Nobody I speak to knows what the status means. When the printer... (0 Replies)
Discussion started by: nickbungus
0 Replies

2. UNIX for Dummies Questions & Answers

Problem with print queue

I have a problem with a print queue that keeps going down on me every couple of days. When it happens I run an 'enable' and all is fine for a few more days. Can anyone can tell me where to start looking to debug this problem as i am new to UNIX Thanx (1 Reply)
Discussion started by: carell
1 Replies

3. AIX

AIX 5 print queue

I have setup a printer and queue using SMIT and I have set the default tray to 4. What I am trying to find out is if there is a way to set the next tray it trys to use if tray 4 is empty to tray 3, then tray 2, then tray 1. (0 Replies)
Discussion started by: chefsride
0 Replies

4. UNIX for Dummies Questions & Answers

Print to a ps2pdf print queue.

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies

5. Shell Programming and Scripting

Print Queue Montior

I am very new to scripting could use some assistance polishing up my script. I have had issues with a print queue going down and needing some TLC to get it going again, however currently I have to wait for a user to complain about the issue. I have written a little script to monitor the print queue... (0 Replies)
Discussion started by: tdiYUZER
0 Replies

6. Shell Programming and Scripting

print queue monitoring

Hi Guys, I am new to this forum. i need your help. I am trying to wirte a script for queue monitoring under aix.I would like to get status of each queue and number of jobs on each queue.Can you please guide me?. Thanks, Sag (3 Replies)
Discussion started by: shahbaz430
3 Replies

7. Shell Programming and Scripting

print queue jobs

Hi, I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance sagii (2 Replies)
Discussion started by: sagii
2 Replies

8. Shell Programming and Scripting

print queue jobs

Hi, i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks sagii (2 Replies)
Discussion started by: sagii
2 Replies

9. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

10. AIX

Print queue problems

I am using AIX 5. Just swapped over an HP printer. The old printer was on a JetDirect box. The new printer connects directly to the network. Using the same IP address to print to, so the only alteration I made was to edit the etc/qconfig file to alter the port setting from 9103 to 9100. I can... (2 Replies)
Discussion started by: charding
2 Replies
cups(1) 							    Apple Inc.								   cups(1)

NAME
cups - a standards-based, open source printing system DESCRIPTION
CUPS is the software you use to print from applications like word processors, email readers, photo editors, and web browsers. It converts the page descriptions produced by your application (put a paragraph here, draw a line there, and so forth) into something your printer can understand and then sends the information to the printer for printing. Now, since every printer manufacturer does things differently, printing can be very complicated. CUPS does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then CUPS can often figure things out on its own. HOW DOES IT WORK? The first time you print to a printer, CUPS creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configura- tion. Regardless of where the queue points, it will look like any other printer to you and your applications. Every time you print something, CUPS creates a job which contains the queue you are sending the print to, the name of the document you are printing, and the page descriptions. Job are numbered (queue-1, queue-2, and so forth) so you can monitor the job as it is printed or can- cel it if you see a mistake. When CUPS gets a job for printing, it determines the best programs (filters, printer drivers, port monitors, and backends) to convert the pages into a printable format and then runs them to actually print the job. When the print job is completely printed, CUPS removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways. WHERE DO I BEGIN? The easiest way to start is by using the web interface to configure your printer. Go to "http://localhost:631" and choose the Administra- tion tab at the top of the page. Click/press on the Add Printer button and follow the prompts. When you are asked for a username and password, enter your login username and password or the "root" username and password. After the printer is added you will be asked to set the default printer options (paper size, output mode, etc.) for the printer. Make any changes as needed and then click/press on the Set Default Options button to save them. Some printers also support auto-configuration - click/press on the Query Printer for Default Options button to update the options automatically. Once you have added the printer, you can print to it from any application. You can also choose Print Test Page from the maintenance menu to print a simple test page and verify that everything is working properly. You can also use the lpadmin(8) and lpinfo(8) commands to add printers to CUPS. Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer. HOW DO I GET HELP? The CUPS web site (http://www.CUPS.org) provides access to the cups and cups-devel mailing lists, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice. ENVIRONMENT
CUPS commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs: CUPS_ANYROOT Whether to allow any X.509 certificate root (Y or N). CUPS_CACHEDIR The directory where semi-persistent cache files can be found. CUPS_DATADIR The directory where data files can be found. CUPS_ENCRYPTION The default level of encryption (Always, IfRequested, Never, Required). CUPS_EXPIREDCERTS Whether to allow expired X.509 certificates (Y or N). CUPS_GSSSERVICENAME The Kerberos service name used for authentication. CUPS_SERVER The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port). CUPS_SERVERBIN The directory where server helper programs, filters, backend, etc. can be found. CUPS_SERVERROOT The root directory of the server. CUPS_STATEDIR The directory where state files can be found. CUPS_USER Specifies the name of the user for print requests. HOME Specifies the home directory of the current user. IPP_PORT Specifies the default port number for IPP requests. LOCALEDIR Specifies the location of localization files. LPDEST Specifies the default print queue (System V standard). PRINTER Specifies the default print queue (Berkeley standard). TMPDIR Specifies the location of temporary files. FILES
~/.cups/client.conf ~/.cups/lpoptions CONFORMING TO
CUPS conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands. SEE ALSO
cancel(1), client.conf(7), cupsctl(8), cupsd(8), lp(1), lpadmin(8), lpinfo(8), lpoptions(1), lpr(1), lprm(1), lpq(1), lpstat(1), CUPS Online Help (http://localhost:631/help), CUPS Web Site (http://www.CUPS.org), PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 16 April 2014 CUPS cups(1)
All times are GMT -4. The time now is 12:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy