Sponsored Content
Top Forums UNIX for Advanced & Expert Users Printing to Windows and maintaining control Post 302155553 by effigy on Friday 4th of January 2008 01:27:16 PM
Old 01-04-2008
Question Printing to Windows and maintaining control

I'm new at the entire spectrum of printing in Unix, and especially when--as I understand it--the printers are on a Windows server. At work we have a variety of printers and printing from Windows, or from Unix via lp or lpr works fine.

The initial problem: Our users will be printing up to 20 copies of 200+ page postscript files. I'm told that sending all of these at once occasionally makes the printers unhappy, causing them to output a dump.

My approach: The printing runs through a script on Unix; therefore, I can use commands (lpq, lpstat) to check the queues/status and add some delay.

The new problem: lpq does not see the printers and lpstat tells me they are in an "unknown state." I assume this is because the printers are hosted from a Windows server? If so, is it possible to check their queues and/or cancel their jobs from Unix? Is this a configuration issue, or simply my lack of knowledge?

Much appreciated.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printing control characters

using c-shell, does anyone know how to send control characters to the printer before the job? I need to set a printer to print in condensed mode HELP (1 Reply)
Discussion started by: mglinsk
1 Replies

2. UNIX for Advanced & Expert Users

Disable printing control file

When my users print they all receive an extra page with the following info: User Oracle Host sol02 Class sol02 Job standart input The printer has the following /etc/lp/printers/PRINTER/configuration file: Banner: off Content types: postscript Device: /dev/null Interface:... (1 Reply)
Discussion started by: cpuhl
1 Replies

3. UNIX for Advanced & Expert Users

FTP from windows to Unix maintaining timestamp

Hi, Is it possible to Ftp the files from Windows to Unix while maintaining their timestamp Gaurav (1 Reply)
Discussion started by: gauravgoel
1 Replies

4. HP-UX

Printing from unix to windows.

Hi, This issue is killing me. I'm looking to get advise on setting up a remote printer in unix "HP-UX" which will print to a printer which sits remotely connected to a windows 2000 server. I guess I'm looking for an idiots guide - any assistance you may offer will be gratefully received. ... (2 Replies)
Discussion started by: pmaths
2 Replies

5. AIX

Printing from AIX 5.0 to windows

Dear All, I just want to know how we can print a report from unix server to that printer which has installed on windows. As from UNIX i can use below command to print ,but what set-up i need to do . lpr -P<printer name> <report Name> Pls suggest me. Thanks Arpit (2 Replies)
Discussion started by: Arpitmitm
2 Replies

6. UNIX for Advanced & Expert Users

Maintaining different version Control account

How can I maintain different version control account(any common unix based version control like CVS,RCS,SCCS..) from a single UNIX Login Account. Many programmers share a common UNIX user/login account.How do they maintain separate Version Control Account. (1 Reply)
Discussion started by: johnbach
1 Replies

7. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

8. UNIX for Advanced & Expert Users

CUPS printing and control escape codes

I ported application from SysV to Linux and run into troubles with printing. Application uses lp and HP JetDirect-based printers, it inserts HP control codes in the file and uses plain lp -d dest doc-file command to print it. The Linux (Ubuntu 8) has CUPS system, which I am not familiar... (0 Replies)
Discussion started by: migurus
0 Replies

9. Solaris

Printer printing control codes

Solaris 10: Having some trouble with a new printer printing control codes. This is an HP MFP M632. Tried a few ppd files and without a ppd file using commands similar to the follow: lpadmin -p L4102A -v /dev/null -m netstandard -n... (1 Reply)
Discussion started by: kuliksco
1 Replies
lpstat(1)						      Easy Software Products							 lpstat(1)

NAME
lpstat - print cups status information SYNOPSIS
lpstat [ -E ] [ -a [ destination(s) ] ] [ -c [ class(es) ] [ -d ] [ -h server ] [ -l ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] [ -W [ which-jobs ] ] DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued by the user. Other options include: -E Forces encryption when connecting to the server. -a [printer(s)] Shows the accepting state of printer queues. If no printers are specified then all printers are listed. -c [class(es)] Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed. -d Shows the current default destination. -h server Specifies the CUPS server to communicate with. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed. -r Shows whether or not the CUPS server is running. -R Shows the ranking of print jobs. -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the "-d", "-c", and "-p" options. -t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-d", "-v", "-a", "-p", and "-o" options. -u [user(s)] Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user. -v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed. -W [which-jobs] Specifies which jobs to show, completed or not-completed (the default). COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and class names are not case-sensitive. The "-h" option is not a standard System V option. The Solaris "-f", "-P", and "-S" options are silently ignored. The "-W" option is unique to CUPS. SEE ALSO
cancel(1), lp(1), CUPS Software Users Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 2 October 2002 Common UNIX Printing System lpstat(1)
All times are GMT -4. The time now is 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy