User Tools

Site Tools


printing:howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
printing:howto [2010/05/06 11:11] damirprinting:howto [2014/02/07 12:20] (current) damir
Line 4: Line 4:
  
 ===== Apple Os X ===== ===== Apple Os X =====
-Apple Os X users rely on the advanced graphical interface of their computers, to access the printers. In reality this is just a frontend for the same CUPS subsystem that we use with Linux. As for the Linux workstations, Os X users connected to the  network by wire can browse the list of printers available without intervention. By selecting the printer from the menu //Shared printers// in the print dialog box this will be installed automatically. The options for printing can be selected in the different section of the print dialog box. click on **pages & copies** to see all the sections at your disposal+Os X users connected to the  network by wire can browse the list of printers available automatically. The options for printing can be selected in the different section of the print dialog box. click on **pages & copies** to see all the sections at your disposal.
-As Os X is developed over the FreeBSD subsystem, all the options you can use for linux ([[printing:lpr|Basic]] and  [[printing:lpr:advanced|Advanced Printing Command]]) can be used even in this ambient, from a command line, without modifications.+
  
 <note tip> <note tip>
Line 15: Line 14:
 ===== Windows ===== ===== Windows =====
  
-<note warning> +In Windows XP and above, most programs will let you print from the File menu. Go to Start->Control Panel->Printers & Faxes to see the printers available. Machines managed by staff will have all network printers automatically added to this list. Users that have Windows laptops connected to the network by wire should go to Start->Run and enter **"\\melpomene.epfl.ch"** (without quotes), right click on the printer they want to use, and select connect. This will add that printer to the Printers & Faxes List.
-To access Shared printers Windows Users have to ask the permission to Administrators. +
-</note> +
- +
-In Windows, most programs will let you print from the File menu. Go to Start->Control Panel->Printers & Faxes to see the printers available. Machines managed by staff will have all network printers automatically added to this list. Users that have Windows laptops connected to the network by wire should go to Start->Run and enter **"\\melpomene.epfl.ch"** (without quotes), right click on the printer they want to use, and select connect. This will add that printer to the Printers & Faxes List.+
  
 <note tip> <note tip>
Line 28: Line 23:
 ===== Linux Workstations ===== ===== Linux Workstations =====
 To use one or more of the **[[printing:maps|printers]]**, users of linux workstations of the labs needs only to select it from the printer dialog box of the graphical applications they're using. To use one or more of the **[[printing:maps|printers]]**, users of linux workstations of the labs needs only to select it from the printer dialog box of the graphical applications they're using.
-The subsystem that manage the print of documents (CUPS for friends) understands a variety of formats including text, PostScript, and PDF. It's possible to print directly from command line using the **lpr** or **lp** commands. [[printing:lpr|Here]] you will find a short memo about the most useful parameters for these commands. [[printing:lpr:advanced|Go there]] if you want see a list of the advanced options.+The subsystem that manage the print of documents understands a variety of formats including text, PostScript, and PDF. It's possible to print directly from command line using the **lpr** or **lp** commands. [[printing:lpr|Here]] you will find a short memo about the most useful parameters for these commands. [[printing:lpr:advanced|Go there]] if you want see a list of the advanced options.
  
-<note> 
-** GTKLP **\\ 
-The use of this program is preferable when you don't want to use the standard options of printer queues. 
-To use this program just launch it from the menu **Applications->System Tools->GtkLP**, load the file you want print and select the option you desire. 
-</note> 
  
 <note tip> <note tip>
-  * Users of laptops connected to the wired network have to start the //cups// daemon in order to see the shared printers.+  * Users of laptops connected to the wired network have to start the //cups// daemon and open the port 631/tcp and 631/udp on their personal firewall, in order to see the shared printers.
   * Users of laptops connected to the wireless network please refer to [[printing:wireless:short|instructions]] to install the printers.   * Users of laptops connected to the wireless network please refer to [[printing:wireless:short|instructions]] to install the printers.
 </note> </note>
  
 +===== Unix command line (Linux/Mac) =====
 +A brief but useful documentation can be found [[http://www.cups.org/documentation.php/options.html|here]].
 +
 +Usefull commands are:
 +  * //lp//: for printing
 +  * //lpstat//: for checking the print queues
 +  * //lpoptions//: for settings (default) printer options and checking what are the available options on printers
 +
 +==== Some usage examples ====
 +
 +=== Reduce Waster of Paper ===
 +If possible always print double sided and eventually even fit more than a single document page on each paper side. The following command prints two document pages on each of the two sides of the paper:
 +<code>
 +  lp -o sides=two-sided-long-edge -o number-up=2 file.pdf
 +</code>
 +You can even print only given pages of a document:
 +<code>
 + lp -o sides=two-sided-long-edge -o number-up=2 -o page-ranges=1-4,54,70-120 document_file.ps 
 +</code>
 +
 +=== Media Selection ===
 +Check the options on a given printer (//lpoptions -p PRINTER_NAME -l//)
 +<code>
 +# lpoptions -p cloud -l 
 +
 +PageSize/Media Size: Card3x5 Hagaki Photo4x6 A6 Photo5x7 Card5x8 Oufuku A5 B5 JB5 Executive 16k Letter *A4 ExecutiveJIS FLSA Legal EnvA2 EnvC6 EnvChou4 EnvMonarch EnvDL Env10 EnvChou3 EnvC5 EnvB5 Custom.WIDTHxHEIGHT
 +Duplex/Double-Sided Printing: *DuplexNoTumble DuplexTumble None
 +InputSlot/Media Source: *Auto PhotoTray Upper Lower Envelope LargeCapacity Manual MPTray
 +ColorModel/Output Mode: *Gray
 +MediaType/Media Type: *Plain
 +OutputMode/Print Quality: *Normal Draft Best
 +OptionDuplex/Duplexer Installed: False *True
 +
 +# lpoptions -p algo_nat -l 
 +OptionTrays/Number of Input Trays: 1Trays *2Trays
 +PageSize/Media Size: Letter Legal Executive *A4 A4Long A5 A6 Env10 EnvMonarch EnvDL EnvDLRotated EnvC5 EnvISOB5 EnvISOB6 B5 FanFoldGermanLegal 2.75x3 Bible Statement OrgM 3x5 Postcard Custom.WIDTHxHEIGHT
 +BRMediaType/Media Type: *Plain Recycled Thin Thick ThickPaper2 BOND Env EnvThick EnvThin Label PostCard
 +InputSlot/Media Source: *AutoSelect Tray1 Tray2 MPTray
 +ManualFeed/ManualFeed: True *False
 +Duplex/Duplex: DuplexTumble *DuplexNoTumble None
 +BRJobHold/Job Spooling: *None Private
 +BRJobPIN/Password: *HoldKey0 HoldKey1 HoldKey2 HoldKey3 HoldKey4 HoldKey5 HoldKey6 HoldKey7 HoldKey8 HoldKey9
 +BRUser/User Name: *UserSystem
 +BRJobName/Job Name: *JobNameSystem JobName1 JobName2 JobName3 JobName4 JobName5 JobName6 JobName7 JobName8 JobName9
 +CAPT/Print Quality: *Fine SuperFine
 +TonerSaveMode/Toner Save: *Off On
 +BRPrintQuality/Color/Mono: *Auto Color Black
 +BRGammaValue/Gamma Correction: G18 *G22 Off
 +BRColorMode/Color Mode: True *False
 +BRImprovedGray/Improve Gray Color: True *False
 +UCRGCRForImage/Enhance Black Printing: True *False
 +ScreenLock/Halftone Screen Lock: *True False
 +BRReducedImage/High Quality Image Printing: True *False
 +BRLanguageLevel/BR-Script Level: L1 L2 *L3
 +</code>
 +
 +Now that we know that printer //algo_nat// has a multi-porpouse manual feeder 
 +(//InputSlot/Media Source: *AutoSelect Tray1 Tray2 MPTray//) and after figuring out that that feeder is called //MPTray//, we can print our single sided label sheet on a4 lalbel paper that we will manually feed to the printer:
 +<code>
 +lp -d algo_nat -o sides=one-sided -o media=a4,MPTray file.pdf
 +</code>
 +Note that the //-o media=...// is used for selecting any combination of //Media Size//, //Media Source//, and/or //Media Type//. Multiple parameters can be given separated by comma. Examples: 
 +<code>
 +lp ... -o media=a4 ...
 +lp ... -o media=letter,Tray2 ...
 +lp ... -o media=a4,Manual,Transparency ...
 +</code>
 +where //a4// and //letter// are Media Sizes, //Tray2// and //Manual// are Media Sources, and //Transparency// is a Media Type.
 +
 +... TODO ...
printing/howto.1273137089.txt.gz · Last modified: 2010/05/06 11:11 by damir