Sponsored Content
Operating Systems Linux Red Hat How to setup printer queues for multiple-trays? Post 302902196 by dluk on Monday 19th of May 2014 10:41:57 AM
Old 05-19-2014
Hi George,
I don't have the facilities to test your issue, but a quick search suggests reading the CUPS man pages.

Selecting the Media Size, Type, and Source

The -o media=xyz option sets the media size, type, and/or source:
  • lp -o media=Letter filename ENTER lp -o media=Letter,MultiPurpose filename ENTER lpr -o media=Letter,Transparency filename ENTER lpr -o media=Letter,MultiPurpose,Transparency filename ENTER
The available media sizes, types, and sources depend on the printer, but most support the following options (case is not significant):
  • Letter - US Letter (8.5x11 inches, or 216x279mm)
  • Legal - US Legal (8.5x14 inches, or 216x356mm)
  • A4 - ISO A4 (8.27x11.69 inches, or 210x297mm)
  • COM10 - US #10 Envelope (9.5x4.125 inches, or 241x105mm)
  • DL - ISO DL Envelope (8.66x4.33 inches, or 220x110mm)
  • Transparency - Transparency media type or source
  • Upper - Upper paper tray
  • Lower - Lower paper tray
  • MultiPurpose - Multi-purpose paper tray
  • LargeCapacity - Large capacity paper tray
Hope that might point you in the right direction.

David
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Local Printer Setup

Hi to all, A real virgin to unix, so sorry for such a basic question. Have a older unix terminal with crashed server. Software resides to terminal. Don't have network printing capabilities. I removed network printer and gone local, but don't know how to redirect the device for local... (3 Replies)
Discussion started by: Rogie
3 Replies

2. UNIX for Dummies Questions & Answers

HP-UX printer setup

Hi, not entirely sure if this should be here or IP networking for dummies... I am trying to set up a new printer remotely (large office). The people at the other end have no problems printing to it from a Microsoft environment (Word, Excel, etc). However, they are unable to print to it from Unix... (4 Replies)
Discussion started by: Ypnos
4 Replies

3. Solaris

Printer Setup

How do you add a HP network printer on a Sun Solaris Unix box? I have the IP address of the printer. I try using the admintool tool, but am confusing about setup the printer to connect to the IP address... (4 Replies)
Discussion started by: racquetbal
4 Replies

4. HP-UX

Printer Setup Issues

We have several printers setup to send the print file to a specific IP address and place in a specific folder based on printer selection (this is a Win2000 Server). The issue we are having is before sending the file, I do a lpstat for the printer and it shows ready and waiting. We send the job to... (4 Replies)
Discussion started by: kurt.renn@rmsna
4 Replies

5. UNIX Desktop Questions & Answers

printer/filter setup

trying to get my laserjet to print under FC5. Got APSFILTER; what to answer to question 'parallel or serial printer port when it is USB? Do I need an updated filter software? I tried 'parallel', get 'permission denied when I try lp or lpr command- thanks- Marshall (2 Replies)
Discussion started by: blann
2 Replies

6. AIX

Cannot setup a printer queue

So I've got this asc file that someone sent me for setting up a Zebra printer on AIX. When I use smit or the command line I get this error when I try to setup the printer up: File /usr/lib/lpd/pio/predef/master does not exist. The master file is there. This only happens when I setup a... (2 Replies)
Discussion started by: Hurmoth
2 Replies

7. Linux

Printer Setup(s)

I'm so frustrated. I have almost no experience with setting up printers and networking through Linux. That being said, I need some help. In fact, I don't even know if this setup is possible, and for all I know, I might need a Window's solution. I'm a hardcore Linux guy, so talk to me that... (0 Replies)
Discussion started by: drewrockshard
0 Replies

8. Red Hat

printer setup issue

I am a linux newbie who is in over his head.... We have a 3rd party company hosting our servers and they are running RHEL 4 (actaully is is OEL, but Oracle just rebranded RH) they installed a bunch of printers on the servers there. Our application prints but the formatt is off. When we had the... (0 Replies)
Discussion started by: jayjabour
0 Replies

9. HP-UX

Printer Setup - Model

Hi, I have set up an HP printer, model 2300, on an Integrity server running on HP-Ux B.11.31; using the Jetdirect Printer Installer For Unix, version E.10.34. This particular printer is printing the same job multiple times and I cannot figur out why that is. 1. Is there perhaps a flag in... (0 Replies)
Discussion started by: Koketso
0 Replies

10. Hardware

Printer Setup

Hi, I have set up an HP printer, model 2300, on an Integrity server sunning on HP-Ux B.11.31 using the Jetdirect Printer Installer For Unix, version E.10.34. This particular printer is printing the same job multiple times and I cannot figur out why that is. Is ther perhaps a flag in the... (1 Reply)
Discussion started by: Koketso
1 Replies
eject(1)							   User Commands							  eject(1)

NAME
eject - eject media such as CD-ROM and floppy from drive SYNOPSIS
eject [-dflqt] [ [device | nickname]] DESCRIPTION
The eject utility is used for those removable media devices that do not have a manual eject button, or for those that might be locked due to, for instance, being mounted. The device may be specified by its name or by a nickname. If no device is specified, the default device is used. Only devices that support eject under program control respond to this command. When eject is used on media that can only be ejected manually, it does everything except remove the media, including unmounting the file system if it is mounted. In this case, eject displays a message that the media can now be manually ejected. Do not physically eject media from a device that contains mounted file systems. eject automatically searches for any mounted file systems that reside on the device, and attempts to umount them prior to ejecting the media. See mount(1M). If the unmount operation fails, eject prints a warning message and exits. The -f option can be used to specify an eject even if the device contains mounted partitions. If you have inserted a floppy diskette, you might need to use volcheck(1) before ejecting the media to inform the system the floppy's pres- ence. OPTIONS
The following options are supported: -d Display the name of the default device to be ejected. -f Force the device to eject even if it is busy. -l Display paths and nicknames of ejectable devices. -q Query to see if the media is present. -t Issues the drive a CD-ROM tray close command. Not all devices support this command. OPERANDS
The following operands are supported: device Specifies which device to eject, by the name it appears in the directory /dev. nickname Specifies which device to eject, by its nickname as known to this command. Volume label or device type (for example, cdrom or floppy0) can be used as a nickname. EXAMPLES
Example 1 Ejecting Media The following example ejects media by its volume label: example> eject 'My Pictures' Example 2 Ejecting a Floppy Disk The following example ejects a floppy disk from the first floppy drive: example> eject floppy0 EXIT STATUS
The following exit codes are returned: 0 The operation was successful or, with the -q option, the media is in the drive. 1 The operation was unsuccessful or, with the -q option, the media is not in the drive. 2 Invalid options were specified. 3 An ioctl() request failed. 4 Manually ejectable media is now okay to remove. FILES
/dev/diskette0 default diskette file /dev/sr0 default CD-ROM file (deprecated) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
volcheck(1), mount(1M), rmmount(1M), ioctl(2), attributes(5) SunOS 5.11 18 Sep 2006 eject(1)
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy